]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
pthread_setaffinity (Linux variant): Rewrite to use VLA instead of alloca
[thirdparty/glibc.git] / ChangeLog
CommitLineData
98734cc5
FW
12015-03-23 Florian Weimer <fweimer@redhat.com>
2
3 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4 (__determine_cpumask_size): Replace extend_alloca with a
5 variable-length array. Do not treat res == 0 as an error.
6
2b028564
FW
72015-03-23 Florian Weimer <fweimer@redhat.com>
8
9 [BZ #18100]
10 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11 and integer overflow.
12 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13 (main): Add integer overflow tests.
14 * manual/pattern.texi (Calling Wordexp): Document additional use
15 for WRDE_SYNTAX.
16
59261ad3
AM
172015-03-23 Alan Modra <amodra@gmail.com>
18
19 * config.h.in: Remove HAVE_ASM_PPC_REL16.
20 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21 and false branch of conditional.
22 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23 Likewise.
24
d583531a
ST
252015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
26
27 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28 libc-modules.h
868df0f9
ST
29 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30 unused declaration of _hurd_intr_rpc_msg_in_trap.
31 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32 defined instead of whether it is non-zero.
33 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34 input constraint instead of both input and output constraint. Use ecx
35 clobber instead of %ecx.
36 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37 mutex_unlock): Use a statement expression instead of an expression list.
38 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
39 type to vm_size_t instead of vm_address_t.
40 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
41 defined instead of whether it is non-zero.
42 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
43 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
44 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
45 comparisons with mapaddr.
46 * nscd/nscd-client.h: Include <time.h>.
47 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
48 9th parameter to __vm_region instead of int.
661a7dba 49 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
50 * scripts/check-local-headers.sh (exclude): Add device/,
51 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
52 cthreads.h.
d583531a 53
298e5d56
RM
542015-03-19 Roland McGrath <roland@hack.frob.com>
55
56 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
57 to account for alignment padding.
58 * sysdeps/arm/memmove.S: Likewise.
59
becb26b8
CM
602015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
61
62 * sysdeps/unix/sysv/linux/generic/README: New file.
63
c2f5813a
JM
642015-03-18 Joseph Myers <joseph@codesourcery.com>
65
66 [BZ #18138]
67 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
68 (futex_abstimed_wait)
69 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
70 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
71 of lll_futex_timed_wait.
72
ed6b0fe7
BH
732015-03-18 Brad Hubbard <bhubbard@redhat.com>
74
75 [BZ #17542]
76 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
77
f8aeae34
AO
782015-03-17 Alexandre Oliva <aoliva@redhat.com>
79
80 [BZ #17090]
81 [BZ #17620]
82 [BZ #17621]
83 [BZ #17628]
84 * NEWS: Update.
85 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
86 entries with Static TLS too. Skip entries past the end of the
87 allocated DTV, from Alan Modra.
88 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
89 Static TLS DTV entry set up from...
90 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
91 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
92 * nptl/allocatestack.c (init_one_static_tls): ... and here...
93 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
94 for Static TLS.
95 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
96 that the slot we find is associated with the given map before
97 using its generation count.
98 * nptl_db/db_info.c: Include ldsodefs.h.
99 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
100 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
101 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
102 (link_map::l_tls_offset): New struct field.
103 (dtv_t::counter): Likewise.
104 (rtld_global): New struct.
105 (_rtld_global): New rtld variable.
106 (dl_tls_dtv_slotinfo_list): New rtld global field.
107 (dtv_slotinfo_list): New struct.
108 (dtv_slotinfo): Likewise.
109 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
110 (td_lookup): Rename to...
111 (td_mod_lookup): ... this. Use new mod parameter instead of
112 LIBPTHREAD_SO.
113 * nptl_db/td_thr_tlsbase.c: Include link.h.
114 (dtv_slotinfo_list, dtv_slotinfo): New functions.
115 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
116 addresses even if the DTV is out of date or missing them.
117 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
118 index zero-length arrays.
119 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
120 (td_lookup): Make it a macro implemented in terms of...
121 (td_mod_lookup): ... this declaration.
122 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
123 (DB_MAIN_VARIABLE): Likewise.
124
b97eb2bd
L
1252015-03-16 H.J. Lu <hongjiu.lu@intel.com>
126
127 [BZ #18134]
128 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
129
cb219290
PE
1302015-03-15 Paul Eggert <eggert@cs.ucla.edu>
131
132 * stdlib/setenv.c (__add_to_environ): Revert previous change.
133
a3905fd9
AS
1342015-03-14 Andreas Schwab <schwab@linux-m68k.org>
135
136 [BZ #18128]
137 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
138 (atomic_add, atomic_increment_and_test)
139 (atomic_decrement_and_test): Fix 64-bit arithmetic.
140
2ecccaed
PE
1412015-03-13 Paul Eggert <eggert@cs.ucla.edu>
142
143 * stdlib/setenv.c (__add_to_environ):
144 Dump core quickly if setenv (..., NULL, ...) is called.
145
cdaf79d0
RM
1462015-03-13 Roland McGrath <roland@hack.frob.com>
147
148 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
149 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
150 all the necessary asm magic in one place.
151 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
152 using those.
153
cf9313e7
CD
1542015-03-13 Carlos O'Donell <carlos@redhat.com>
155
156 [BZ #14906]
157 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
158 traced file mtime. Use consistent log message.
159 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
160 (register_traced_file): Call install_watches. Always set mtime.
161 (invalidate_cache): Iterate over all trace files. Call install_watches.
162 (inotify_check_files): Don't inline. Handle watching parent
163 directories and configuration file movement in and out.
164 (handle_inotify_events): New function.
165 (main_loop_poll): Call handle_inotify_events.
166 (main_loop_epoll): Likewise.
167 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
168 (struct traced_file): Use array of inotify fds. Add parent directory,
169 and basename.
170 (struct database_dyn): Remove unused file_mtime.
171 (init_traced_file): New inline function.
172 (define_traced_file): New macro.
173 * nss/nss_db/db-init.c: Use define_traced_file.
174 (_nss_db_init): Use init_traced_file.
175 * nss/nss_files/files-init.c: Use define_traced_file.
176 (_nss_files_init): Use init_traced_file.
177
7d67a196
JM
1782015-03-12 Joseph Myers <joseph@codesourcery.com>
179
180 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
181 [_LIBC]: Do not include <stdlib.h>.
182 [!_LIBC] (abort): Remove declaration.
183 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
184 _FP_STATIC_ASSERT instead of conditionally calling abort.
185 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
186 (_FP_EXTEND_CNAN): Likewise.
187 (FP_TRUNC): Likewise.
188 (__FP_CLZ): Likewise.
189 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
190
af85ebcd
YS
1912015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
192
193 * manual/string.texi (XPG basename): Fix prototype.
194
2e807f29
SL
1952015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
196
197 [BZ #18080]
198 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
199 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
200 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
201 (__setcontext): Likewise.
202 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
203 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
204 Call rt_sigprocmask syscall one time to set new signal mask
205 and retrieve the current signal mask instead of two calls.
206 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
207 (__swapcontext): Likewise.
208 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
209 * stdlib/tst-setcontext2.c: New file.
210
1b2bebe6
SL
2112015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
212
213 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
214
6a1cf708
AJ
2152015-03-11 Aurelien Jarno <aurelien@aurel32.net>
216
217 [BZ #18093]
218 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
219 the wrong size.
220
a2d4cf72
PP
2212015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
222
223 [BZ #18043]
224 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
225
5ca10a0c
AZ
2262015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
227
228 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
229 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
230 Remove define.
231 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
232 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
233 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
234 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
235 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
236 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
237 define.
238 * nptl_db/td_symbol_list.c (td_lookup): Remove
239 HAVE_ASM_GLOBAL_DOT_NAME code.
240 * sysdeps/powerpc/powerpc64/configure.ac: Remove
241 HAVE_ASM_GLOBAL_DOT_NAME check.
242 * sysdeps/powerpc/powerpc64/configure: Regenerate.
243 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
244 (DOT_LABEL): Remove define.
245 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
246 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
247 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
248 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
249 (__TLS_GET_ADDR): Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
251 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
252
e4363cfb
CD
2532015-03-11 Carlos O'Donell <carlos@redhat.com>
254
255 [BZ #18111]
256 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
257 (_FPU_SETCW): Initialize cw from fpsr before storing.
258 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
259 (fesetexceptflag): Rewrite using fpu_control.h.
260 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
261
fae1aa8d
JDA
2622015-03-11 John David Anglin <danglin@gcc.gnu.org>
263
264 [BZ #18110]
265 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
266 asms.
267 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
268
068a6274
JM
2692015-03-11 Joseph Myers <joseph@codesourcery.com>
270
271 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
272 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
273 abort.
274 (_FP_FMA): Likewise.
275 (_FP_DIV): Likewise.
276
d3821ab0
RM
2772015-03-10 Roland McGrath <roland@hack.frob.com>
278
44a6213c
RM
279 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
280 with 0 in that case.
281 * Makefile (summarize-tests): New canned sequence, factored out of
282 commands for targets tests and xtests. Display summary lines that
283 don't start with PASS: or XFAIL: rather than ones that do start with
284 ERROR: or FAIL:. Make the commands fail if any summary lines fail
285 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
286 do start with ERROR: or FAIL:.
287 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
288 (except for [$(build-shared) = yes]).
289 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
290 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
291 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
292 * nptl/Makefile: Revert 2015-03-04 changes.
293 [$(CXX) empty] (tests-unsupported): New variable.
294 * debug/Makefile: Likewise.
295
d3821ab0
RM
296 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
297 gnulib file. Replace __attribute with __attribute__ throughout.
298
85ca85ae
CD
2992015-03-10 Carlos O'Donell <carlos@redhat.com>
300
301 * sysdeps/hppa/fpu/libm-test-ulps: Update.
302
6411f81d
JM
3032015-03-10 Joseph Myers <joseph@codesourcery.com>
304
305 [BZ #18104]
306 * math/auto-libm-test-in: Add another test of pow.
307 * math/auto-libm-test-out: Regenerated.
308
d421868b
AZ
3092015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310
311 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
312 $(config-cflags-nofma).
313
a2f8be9c
JM
3142015-03-10 Joseph Myers <joseph@codesourcery.com>
315
316 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
317 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
318 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
319 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
320 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
321 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
322 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
323 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
324 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
325 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
326 Add comment on closing #endif.
327
01d032e0
PP
3282015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
329
330 * posix/wordexp.c (CHAR_IN_SET): New macro.
331 (parse_param): Use it.
332
d439bc56
AZ
3332015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
334
335 * sysdeps/powerpc/fpu/libm-test-ulps: update.
336
5f85a4bf
PP
3372015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
338
339 [BZ #18043]
340 * posix/wordexp.c (parse_param): Fix buffer overflow.
341 * posix/wordexp-test.c (test_case): Add test case.
342
f8ba70e9
PP
3432015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
344
345 [BZ #18042]
346 * posix/wordexp.c (parse_backtick): Fix off-by-one.
347 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
348
36103ba2
PP
3492015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
350
351 [BZ #18043]
352 * posix/wordexp-test.c (test_case): Add test for BZ #18043
353 (do_bz18043): Delete.
354 (at_page_end): New.
355 (testit): Refactor to have words at the edge of unreadable page.
356
18d26750
PP
3572015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
358
359 [BZ #16734]
360 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
361 Cleanup read-only streams as well.
362 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
363
9f95dc5d
ST
3642015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
365
366 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
367 <bits/libc-lockP.h>
368
b838844b
JM
3692015-03-07 Joseph Myers <joseph@codesourcery.com>
370
371 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
372 on [__KERNEL__].
373 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
374 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
375 * soft-fp/op-common.h (_FP_DECL): Likewise.
376
e0ed2fb4
L
3772015-03-06 H.J. Lu <hongjiu.lu@intel.com>
378
379 * elf/ifuncdep2.c (global): Replace
380 __attribute__((visibility("protected"))) with
381 asm (".protected global").
382 * elf/ifuncmod1.c (global): Likewise.
383 * elf/ifuncmod5.c (global): Likewise.
384
fa9dda64
JM
3852015-03-06 Joseph Myers <joseph@codesourcery.com>
386
387 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
388 <asm/sfp-machine.h> instead of <sfp-machine.h>.
389
4acc27ed
RM
3902015-03-06 Roland McGrath <roland@hack.frob.com>
391
392 * manual/install.texi (Configuring and compiling):
393 Document test-wrapper-env-only.
394 * INSTALL: Regenerated.
395
895c30cb
PP
3962015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
397
398 [BZ #18043]
399 * posix/wordexp.c (parse_param): Fix buffer overflow.
400 * posix/wordexp-test.c (do_bz18043): Add test case.
401
5df56c7e
VB
4022015-03-06 Vincent Bernat <vincent@bernat.im>
403
404 * time/tst-strptime2.c (do_test): Ensure failing tests are
405 reported correctly.
406 * time/tst-strptime3.c (do_test): Likewise.
407
1cdf2ea1
ST
4082015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
409
410 Fix aio_error thread-safety.
1cdf2ea1
ST
411 * sysdeps/pthread/aio_error.c: New file
412 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
413 synchronization.
414
d176a41a
FW
4152015-03-06 Florian Weimer <fweimer@redhat.com>
416
417 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
418 (group_number, vfprintf): Use it.
1597b744
FW
419 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
420 (JUMP, REF): Use it.
421 (WORK_BUFFER_SIZE): New enum constant.
422 (process_arg, vfprintf): Use it.
d176a41a 423
7e7af349
RJ
4242015-03-06 Rical Jasan <ricaljasan@pacific.net>
425
426 * manual/errno.texi (Error Messages): Complete example function
427 by adding missing #define.
428 (program_invocation_name): Add statement indicating GNU
429 extension and reference which header file declares the variable.
430 (program_invocation_short_name): Likewise.
431
4ca8ddfb
MF
4322015-03-06 Mike Frysinger <vapier@gentoo.org>
433
434 * manual/errno.texi (Error Messages): Delete strerror ISO C89
435 compatibility note.
436
9162c01d
RM
4372015-03-05 Roland McGrath <roland@hack.frob.com>
438
439 * Makeconfig (test-wrapper-env-only): New variable.
440 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
441 then use that with $(test-wrapper-env-only) rather than using
442 $(test-wrapper-env) $(run-program-env) $($*-ENV).
443
209826bc
L
4442015-03-05 H.J. Lu <hongjiu.lu@intel.com>
445
446 [BZ #18082]
447 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
448 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
449 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
450 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
451 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
452 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
453 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
454 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
455 Likewise.
456 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
458 Likewise.
459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
460 Likewise.
461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
462 Likewise.
463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
464 Likewise.
465 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
467 Likewise.
468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
469 Likewise.
470 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
471 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
472
2cfe32bc
RM
4732015-03-04 Roland McGrath <roland@hack.frob.com>
474
8bff5aab
RM
475 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
476 (ETH_ALEN): New macro.
477 (struct ether_addr): Use it for length of ether_addr_octet.
478
2752f338
RM
479 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
480 (setdb): Don't call __nss_configure_lookup for "rpc".
481 (do_test): Don't call test_rpc.
482 (output_rpcent, test_rpc): Functions moved ...
483 * sunrpc/test-rpcent.c: ... to this new file.
484 * sunrpc/Makefile (tests): Add it.
485
2cfe32bc
RM
486 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
487 __xpg_sigpause.
488 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
489 * nptl/tst-signal6.c: Likewise.
490 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
491 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
492
e4693aa7
RM
493 * configure.ac (libc_cv_cxx_link_ok): New check.
494 Reset CXX to empty if it fails to link.
495 * configure: Regenerated.
496 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
497 bug-atexit3-lib only if $(CXX) is nonempty.
498 * nptl/Makefile (tests): Likewise for tst-cancel24.
499 (tests, tests-static): Likewise for tst-cancel24-static.
500 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
501 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
502 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
503 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 504
8e2e833a
AS
5052015-03-04 Andreas Schwab <schwab@suse.de>
506
507 [BZ #17631]
508 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
509 for non-GCC compilers.
510 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
511 Likewise.
512
85b29045
AZ
5132015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
514
515 [BZ #17776]
516 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
517 integer before bitwise and assembly operations.
518 (feclearexcept): Likewise.
519 * math/test-fenvinline.c: New file.
520 * math/Makefile: Add test-fenvinline test.
521
a0af371c
AM
5222015-03-03 Alan Modra <amodra@gmail.com>
523
524 [BZ #16512]
525 * scripts/localplt.awk: Strip off symbol version.
526 * NEWS: Mention bug fix.
527
47465629
RM
5282015-03-02 Roland McGrath <roland@hack.frob.com>
529
530 * sysdeps/pthread/timer_routines.c
531 (timer_free_list, thread_free_list, thread_active_list): Make static.
532
6d08b022
JM
5332015-03-02 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #17779]
536 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
537 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
538 Undefine.
539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
540 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
541 Likewise.
542 * sysdeps/unix/sysv/linux/sh/kernel-features.h
543 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
544 Likewise.
545
c2c6d39f
PP
5462015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
547
548 [BZ #18036]
549 * posix/fnmatch_loop.c (END): Detect invalid pattern.
550 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
551
e8b6be00
AS
5522015-03-02 Andreas Schwab <schwab@suse.de>
553
554 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
555 variable name.
556
1a2d98af
FW
5572015-03-02 Florian Weimer <fweimer@redhat.com>
558
559 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
560 Return error status.
561
e7f07af5
AO
5622015-02-27 Alexandre Oliva <aoliva@redhat.com>
563
564 [BZ #15969]
565 * locale/findlocale.c (_nl_find_locale): Introduce const
566 version of loc_name and drop unsafe type casts.
567
c7b19ca9
RM
5682015-02-27 Roland McGrath <roland@hack.frob.com>
569
570 * dlfcn/tststatic2.c (main): Converted to ...
571 (do_test): ... this.
572 (TEST_FUNCTION): New macro.
573 Include test-skeleton.c.
574
ef4ad06f
L
5752015-02-27 H.J. Lu <hongjiu.lu@intel.com>
576
577 [BZ #17711]
578 * elf/Makefile (tests): Add vismain only if PIE is enabled.
579 (tests-pie): Add vismain.
580 (CFLAGS-vismain.c): New.
581 * elf/vismain.c: Add comments for PIE requirement.
582
2ca725c5
JM
5832015-02-27 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #18046]
586 [BZ #18047]
587 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
588 0x1p-56L as threshold for just returning the argument.
589 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
590 0x1p-32L as threshold for just returning the argument.
591 * math/auto-libm-test-in: Add more tests of atanh.
592 * math/auto-libm-test-out: Regenerated.
593 * sysdeps/i386/fpu/libm-test-ulps: Update.
594 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
595
af96be34
WD
5962015-02-27 Wilco Dijkstra wdijkstr@arm.com
597
598 * string/bcopy.c (bcopy): Call memmove for performance.
599
ddcf6798
WD
6002015-02-27 Wilco Dijkstra wdijkstr@arm.com
601
602 * string/bzero.c (__bzero): Call memset for performance.
603
49f476f4
JDA
6042015-02-27 John David Anglin <dave.anglin@bell.net>
605
b42e14ff 606 [BZ #18068]
49f476f4
JDA
607 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
608 to 00100000.
609
f8ab5d38
JM
6102015-02-27 Joseph Myers <joseph@codesourcery.com>
611
612 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
613
380bd0fd
JM
6142015-02-26 Joseph Myers <joseph@codesourcery.com>
615
31331a07
JM
616 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
617 (__kernel_standard): Use CSTR macro when setting exc.name.
618 * sysdeps/ieee754/Makefile [$(subdir) = math]
619 (CFLAGS-k_standard.c): Remove variable.
620
09220e66
JM
621 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
622 setting p and q from "else if" to "else".
623 (qzero): Likewise.
624 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
625 (qone): Likewise.
626 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
627 (qzerof): Likewise.
628 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
629 (qonef): Likewise.
630 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
631 (qzero): Likewise.
632 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
633 (qone): Likewise.
634
1d9ab20c
JM
635 [BZ #18038]
636 [BZ #18039]
637 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
638 return pi/2 for arguments below 0x1p-113L.
639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
640 return pi/2 for arguments below 0x1p-106L.
641 * math/auto-libm-test-in: Add more tests of acos.
642 * math/auto-libm-test-out: Regenerated.
643
ec0ce0d3
JM
644 [BZ #16351]
645 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
646 (MO): New macro.
647 (__ieee754_asin): Force underflow exception for results with small
648 absolute value.
649 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
650 (MO): New macro.
651 (__ieee754_asinf): Force underflow exception for results with
652 small absolute value.
653 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
654 (__ieee754_asin): Force underflow exception for results with small
655 absolute value.
656 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
657 (__ieee754_asinf): Force underflow exception for results with
658 small absolute value.
659 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
660 (__ieee754_asinl): Force underflow exception for results with
661 small absolute value.
662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
663 (__ieee754_asinl): Force underflow exception for results with
664 small absolute value.
665 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
666 (__ieee754_asinl): Force underflow exception for results with
667 small absolute value.
668 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
669 Include <math.h>.
670 * math/auto-libm-test-in: Do not mark underflow exceptions as
671 possibly missing for bug 16351.
672 * math/auto-libm-test-out: Regenerated.
673
380bd0fd
JM
674 [BZ #18030]
675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
676 of power of 2 down when low part has opposite sign.
677 * math/libm-test.inc (logb_test_data): Add more tests.
678
4a28f4d5
AS
6792015-02-26 Andreas Schwab <schwab@suse.de>
680
681 [BZ #18032]
682 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
683 over collating symbol inside a bracket expression. Minor cleanup.
684 * posix/tst-fnmatch3.c (do_test): Add test case.
685
524ae9ea
JM
6862015-02-26 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #18029]
689 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
690 Adjust exponent of power of 2 down when low part has opposite
691 sign.
692 * math/libm-test.inc (ilogb_test_data): Add more tests.
693
23d43090
AO
6942015-02-26 Alexandre Oliva <aoliva@redhat.com>
695
696 [BZ #15969]
697 * locale/findlocale.c (_nl_find_locale): Fix constness error in
698 the previous change.
0d822a01
AO
699
700 [BZ #15969]
701 * locale/findlocale.c (_nl_find_locale): Retry archive search
702 after alias expansion.
703
d19df6ac
RM
7042015-02-25 Roland McGrath <roland@hack.frob.com>
705
ca681b7b
RM
706 * iconv/tst-iconv3.c (main): Converted to ...
707 (do_test): ... this.
708 (TEST_FUNCTION): New macro.
709 Include test-skeleton.c.
710
fd1f2f1c
RM
711 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
712 (convert): Make function static.
713 (test_unalign): Likewise. Add const to argument pointee types.
714 (main): Replace with static function do_test.
715 Print "Succeeded." only if RET is zero.
716 (TEST_FUNCTION): New macro.
717 Include test-skeleton.c.
718
d19df6ac
RM
719 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
720 returns a null pointer.
721
115e0de7
AZ
7222015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
725 to __memcpy_ppc only for static builds.
726
137cef7d
JM
7272015-02-25 Joseph Myers <joseph@codesourcery.com>
728
729 [BZ #18020]
730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
731 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
732 * math/auto-libm-test-in: Add more tests of asinh.
733 * math/auto-libm-test-out: Regenerated.
734 * sysdeps/i386/fpu/libm-test-ulps: Update.
735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
736
cb43bb0d
CW
7372015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
738
739 [BZ #15850]
740 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
741 and ip6_mtuinfo definitions here.
742 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
743 in this define too. Update comment.
744
9be1052b
BS
7452015-02-24 Benno Schulenberg <bensberg@justemail.net>
746
747 * elf/sprof.c (load_shobj): Tweak error message to match others.
748
6807b1db
KE
7492015-02-24 Kevin Easton <kevin@guarana.org>
750
751 [BZ #16145] (partial fix)
752 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
753 to reduce lock contention.
754
b433df00
ML
7552015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
756
757 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
758 (struct timex): Update time comment.
759 (ADJ_SETOFFSET): Define.
760
440169d6
JM
7612015-02-24 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #18019]
764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
765 2**56 not 2**28 as threshold for log (2x) formula.
766 * math/auto-libm-test-in: Add more tests of acosh.
767 * math/auto-libm-test-out: Regenerated.
768 * sysdeps/i386/fpu/libm-test-ulps: Update.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770
ba7d2c54
MF
7712015-02-24 Mike Frysinger <vapier@gentoo.org>
772
773 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
774 parenthesis around the buf assignment.
775 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
776
9438b237
JM
7772015-02-24 Joseph Myers <joseph@codesourcery.com>
778
779 [BZ #16783]
780 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
781 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
782 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
783 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
784 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
785 * math/libm-test.inc (scalb_test_data): Add more tests.
786
6909d276
PP
7872015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
788
789 [BZ #17916]
790 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
791 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
792
65f6f938
ER
7932015-02-24 Eric Rannaud <e@nanocritical.com>
794
795 [BZ #17523]
796 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
797 * io/bits/fcntl2.h (open): Use it.
798 (openat): Likewise.
799 * io/open.c (__libc_open): Likewise.
800 * io/open64.c (__libc_open64): Likewise.
801 * io/open64_2.c (__open64_2): Likewise.
802 * io/open_2.c (__open_2): Likewise.
803 * io/openat.c (__openat): Likewise.
804 * io/openat64.c (__openat64): Likewise.
805 * io/openat64_2.c (__openat64_2): Likewise.
806 * io/openat_2.c (__openat_2): Likewise.
807 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
808 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
809 * sysdeps/posix/open64.c (__libc_open64): Likewise.
810 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
811 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
812 (__open_nocancel): Likewise.
813 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
814 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
815 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
816
3e3002ff
SP
8172015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
818
819 [BZ #14841]
820 * resolv/gethnamaddr.c (getanswer): Skip logging if
821 RES_USE_DNSSEC is set.
822 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
823
9813dd58
MF
8242015-02-24 Mike Frysinger <vapier@gentoo.org>
825
826 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
827
7b1ec6a0
AO
8282015-02-23 Alexandre Oliva <aoliva@redhat.com>
829
830 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
831 201304L, for Unicode 7.
832
d49499c1
L
8332015-02-23 H.J. Lu <hongjiu.lu@intel.com>
834
835 [BZ #17836]
836 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
837 shared library. Add gmon-start.os otherwise.
838 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
839 $(objpfx)gmon-start.os if builing shared library.
840 ($(objpfx)g$(static-start-installed-name)): Likewise.
841
51225803
AS
8422015-02-23 Andreas Schwab <schwab@suse.de>
843
844 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
845
bdf1ff05
PP
8462015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
847
848 [BZ #17269]
849 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
850 (enlarge_userbuf): Likewise.
851
95296112
CLT
8522015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
853
854 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
855 * math/atest-exp.c (TIMEOUT): Adjust to 200.
856 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
857 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
858
e4a399dc
JM
8592015-02-20 Joseph Myers <joseph@codesourcery.com>
860
861 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
862 expression inside statement expression.
863
7133957f
SL
8642015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
865
866 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
867 <sysdeps/nptl/lowlevellock.h> and remove macros and
868 functions that are now defined there.
869 (SYS_futex): Remove.
870 (lll_compare_and_swap): Remove.
871 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
872
40176158
JM
8732015-02-19 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #17999]
876 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
877 instead of scandirat.
878 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
879 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
880 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
881 __scandirat.
882 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
883 (__scandirat): Declare. Use libc_hidden_proto.
884 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
885 Remove variable.
886 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
887
4629c866
JM
8882015-02-18 Joseph Myers <joseph@codesourcery.com>
889
890 [BZ #15319]
891 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
892 (MO): New macro.
893 (__ieee754_atan2): For results with small absolute value, force
894 underflow exception and remove excess range and precision from
895 return value.
896 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
897 (MO): New macro.
898 (__ieee754_atan2f): For results with small absolute value, force
899 underflow exception and remove excess range and precision from
900 return value.
901 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
902 (MO): New macro.
903 (__atan): For results with small absolute value, force underflow
904 exception and remove excess range and precision from return value.
905 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
906 (MO): New macro.
907 (__atanf): For results with small absolute value, force underflow
908 exception and remove excess range and precision from return value.
909 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
910 <math.h>.
911 (__ieee754_atan2): Force underflow exception for results with
912 small absolute value.
913 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
914 <math_private.h>.
915 (atan): Force underflow exception for results with small absolute
916 value.
917 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
918 (__atanf): Force underflow exception for results with small
919 absolute value.
920 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
921 <math.h>.
922 (__atanl): Force underflow exception for results with small
923 absolute value.
924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
925 (__atanl): Force underflow exception for results with small
926 absolute value.
927 * sysdeps/x86/fpu/bits/mathinline.h
928 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
929 (__ieee754_atan2): Only define inline for long double.
930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
931 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
932 * math/auto-libm-test-in: Do not mark underflow exceptions as
933 possibly missing for bug 15319. Add more tests of atan2.
934 * math/auto-libm-test-out: Regenerated.
935 * math/libm-test.inc (casin_test_data): Do not mark underflow
936 exceptions as possibly missing for bug 15319.
937 (casinh_test_data): Likewise.
938 * sysdeps/i386/fpu/libm-test-ulps: Update.
939
9ee16d8b
SE
9402015-02-18 Steve Ellcey <sellcey@imgtec.com>
941
942 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
943 * sysdeps/mips/bits/endian.h: Fix comments.
944
4ffb1771
JM
9452015-02-18 Joseph Myers <joseph@codesourcery.com>
946
947 [BZ #17996]
948 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
949 (hdestroy_r): Likewise.
950 (hsearch_r): Likewise.
951 (__hcreate_r): Declare and use libc_hidden_proto.
952 (__hdestroy_r): Likewise.
953 (__hsearch_r): Likewise.
954 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
955 (hcreate): Call __hcreate_r instead of hcreate_r.
956 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
957 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
958 as weak alias of __hcreate_r.
959 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
960 __hdestroy_r.
961 (hsearch_r): Rename to __hsearch_r and define as weak alias of
962 __hsearch_r.
963 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
964 Remove variable.
965 (test-xfail-XPG4/search.h/linknamespace): Likewise.
966 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
967 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
968 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
969
94c5a52a
SP
9702015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
971
972 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
973 arena_lock into a single arena_get.
974
8a35c3fe
CD
9752015-02-17 Carlos O'Donell <carlos@redhat.com>
976
977 * dl-reloc.c: Inlucde libc-internal.h.
978 (_dl_try_allocate_static_tls): Call ALIGN_UP.
979 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
980 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
981 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
982 (grow_heap): Likewise.
983 * malloc/malloc.c: Include libc-internal.h.
984 (do_check_malloc): Call powerof2.
985 (sysmalloc): Use pagesize. Call ALIGN_UP.
986 (systrim): Use pagesize.
987 (mremap_chunk): Use pagesize. Call ALIGN_UP.
988 (__libc_valloc): Use pagesize.
989 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
990
1a2325c0
JM
9912015-02-17 Joseph Myers <joseph@codesourcery.com>
992
993 [BZ #17991]
994 * include/sys/resource.h (__getrlimit64): Declare. Use
995 libc_hidden_proto.
996 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
997 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
998 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
999 getrlimit64.
1000 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1001 __getrlimit64.
1002 [!getrlimit64] (getrlimit64): Define as weak alias of
1003 __getrlimit64. Use libc_hidden_weak.
1004 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1005 using __getrlimit64 not __new_getrlimit64.
1006 (__GI_getrlimit64): Likewise.
1007 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1008 Likewise.
1009 (__GI_getrlimit64): Likewise.
1010 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1012 (getrlimit): Add __getrlimit64 alias.
1013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1014 Likewise.
1015 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1016 Remove variable.
1017 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1018 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1019
8ae4bb5a
PP
10202015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1021
1022 * libio/fileops.c: Add missing sys/mman.h
1023 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1024
18a218b7
JM
10252015-02-17 Joseph Myers <joseph@codesourcery.com>
1026
1027 * manual/math.texi (Errors in Math Functions): Clarify goals
1028 regarding inexact and underflow exceptions.
1029
e72ad0ef
SE
10302015-02-17 Steve Ellcey <sellcey@imgtec.com>
1031
1032 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1033 * sysdeps/mips/memset.S: Ditto.
1034
2caa4099
SE
10352015-02-17 Steve Ellcey <sellcey@imgtec.com>
1036
1037 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1038
f20bfc9b
SL
10392015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1040
1041 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1042 (__v1longjmp): Remove versioned symbol.
1043 (__v1siglongjmp): Remove alias and versioned symbol.
1044 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1045 (__v2siglongjmp): Likewise.
1046
71c06b69
TR
10472015-02-16 Torvald Riegel <triegel@redhat.com>
1048
1049 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1050
a9a05adb
MF
10512015-02-16 Mike Frysinger <vapier@gentoo.org>
1052
1053 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1054
ce8fc784
JM
10552015-02-16 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #17987]
1058 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1059 zero result does not depend on the sign resulting from
1060 subtraction.
1061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1062 Likewise.
1063 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1064 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1066 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1067 * math/libm-test.inc (remquo_test_data): Add more tests.
1068
0d7036bd
PE
10692015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1070
1071 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1072 Problem reported by J William Piggott.
1073
86c56b16
JM
10742015-02-16 Joseph Myers <joseph@codesourcery.com>
1075
a820f9b3
JM
1076 [BZ #17978]
1077 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1078 products 4 * y and 2 * y where those would overflow.
1079 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1080 Likewise.
1081 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1082 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1084 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1085 * math/libm-test.inc (remquo_test_data): Add more tests.
1086
be802953
JM
1087 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1088
e5e72fe9
JM
1089 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1090 [defined _COMPILING_NEWLIB].
1091 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1092 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1093
86c56b16
JM
1094 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1095 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1096
35264d14
TR
10972015-02-16 Torvald Riegel <triegel@redhat.com>
1098
1099 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1100 acquired.
1101
6f49e32a
MF
11022015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1103
1104 [BZ #17792]
1105 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1106 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1107 HOST_STACK_END_ADDR): Likewise.
1108
e525154e
SE
11092015-02-13 Steve Ellcey <sellcey@imgtec.com>
1110
1111 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1112 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1113 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1114
4ab770b7
RM
11152015-02-13 Roland McGrath <roland@hack.frob.com>
1116
1117 * sysdeps/generic/c++-types.data: New file.
1118 * sysdeps/generic/ld.abilist: New file.
1119 * sysdeps/generic/libBrokenLocale.abilist: New file.
1120 * sysdeps/generic/libanl.abilist: New file.
1121 * sysdeps/generic/libc.abilist: New file.
1122 * sysdeps/generic/libcrypt.abilist: New file.
1123 * sysdeps/generic/libdl.abilist: New file.
1124 * sysdeps/generic/libm.abilist: New file.
1125 * sysdeps/generic/libpthread.abilist: New file.
1126 * sysdeps/generic/libresolv.abilist: New file.
1127 * sysdeps/generic/librt.abilist: New file.
1128
d9afe48d
JM
11292015-02-13 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #17569]
1132 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1133 Compute absolute value of x as modified by fmod, not original
1134 value of x.
1135 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1136 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1137 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1138 RUN_TEST_ffI_f1_mod8.
1139 (remquo_test_data): Add more tests.
1140
3846188b
RM
11412015-02-13 Roland McGrath <roland@hack.frob.com>
1142
1143 * sysdeps/init_array/pt-crti.S: New file.
1144
95c26233
JM
11452015-02-13 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #17967]
1148 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1149 __builtin_fmaf instead of relying on contraction of a * b + c.
1150
3f293d61
WP
11512015-02-12 J William Piggott <elseifthen@gmx.com>
1152
1153 [BZ #17969]
1154 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1155 node.
1156
e8bd5286
JM
11572015-02-12 Joseph Myers <joseph@codesourcery.com>
1158
1159 [BZ #17964]
1160 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1161 __builtin_fma instead of relying on contraction of a * b + c.
1162
04f5a636
RM
11632015-02-12 Roland McGrath <roland@hack.frob.com>
1164
96a15749
RM
1165 * Makeconfig (ASFLAGS): Add -Werror=undef.
1166 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1167 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1168 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1169
04f5a636
RM
1170 * Makeconfig (after-link): New variable.
1171 (+link-pie, +link-pie-tests): Use it.
1172 (+link-static, +link-static-tests): Likewise.
1173 (+link, +link-tests): Likewise.
1174 * Makerules (build-module, build-module-asneeded): Likewise.
1175 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1176 Likewise.
1177 * elf/Makefile ($(objpfx)ld.so): Likewise.
1178
87a629c5
RS
11792015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1180
1181 [BZ #17965]
1182 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1183 both struct timeval and struct timespec.
1184
03d95bd4
JM
11852015-02-12 Joseph Myers <joseph@codesourcery.com>
1186
1187 [BZ #16560]
1188 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1189 and redefine.
1190 (__ieee754_exp2l): Do not multiply small fractional parts by
1191 M_LN2l.
1192 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1193 small argument.
1194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1195 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1196 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1197 * math/auto-libm-test-in: Add more tests of exp2.
1198 * math/auto-libm-test-out: Regenerated.
1199
98408b95
RS
12002015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1203 unaligned path.
1204
6f741503
AZ
12052015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206
1207 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1208 little endian.
1209
2868e070
AS
12102015-02-12 Andreas Schwab <schwab@suse.de>
1211
1212 [BZ #15790]
1213 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1214 Filter out elision flags from value returned in kind.
1215 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1216 * nptl/tst-pthread-mutexattr.c: New file.
1217
ebf27d12
ST
12182015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1219
1220 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1221 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1222 into gnu-gnu, and update comment to refer to abi-tags.
1223
d435569c
JM
12242015-02-11 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #15467]
1227 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1228 (__sincos): Set errno to EDOM for infinite argument.
1229 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1230 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1231 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1232 (__sincosl): Set errno to EDOM for infinite argument.
1233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1234 (__sincosl): Set errno to EDOM for infinite argument.
1235 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1236 (__sincosl): Set errno to EDOM for infinite argument.
1237 * math/libm-test.inc (sincos_test_data): Test errno setting.
1238
d35273f2
LH
12392015-02-11 Leonhard Holz <leonhard.holz@web.de>
1240
1241 * string/strxfrm_l.c: Remove #define STRCMP.
1242 * string/strcoll_l.c: Remove #define STRLEN.
1243 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1244 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1245
306bc0d1
JM
12462015-02-10 Joseph Myers <joseph@codesourcery.com>
1247
1248 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1249 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1250 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1251 * sysdeps/mips/mips64/Makefile: ... here.
1252 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1253 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1254 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1255 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1256 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1257 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1258 * sysdeps/mips/mips64/n64/Implies: Likewise.
1259
92b67e8d
RM
12602015-02-10 Roland McGrath <roland@hack.frob.com>
1261
1262 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1263 <sys/time.h>, <string.h>, and <errno.h>.
1264 (dest_offset, dest_address, value, zero): Remove unused variables.
1265 (ldouble): Remove typedef.
1266 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1267 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1268 1). Fix code style.
1269 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1270 (check): Function removed.
1271 (CHECK): New macro.
1272 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1273 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1274 Don't call set_sigaction_FP and remove_sigaction_FP here.
1275 (ldouble_test): Just use 'long double' as macro argument, no need for
1276 the 'ldouble' typedef.
1277 (do_test): Set up SIGFPE handler at start, using plain signal rather
1278 than sigaction. Fix code style.
1279
132a1328
EF
12802015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1281
1282 [BZ #17949]
1283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1284 jump label.
1285
3001e54c
AZ
12862015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1287
bc0cdc49
AZ
1288 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1289 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1290
83658961
AZ
1291 * sysdeps/powerpc/configure.ac: Remove file.
1292 * sysdeps/powerpc/configure: Likewise.
1293
10169938
AZ
1294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1295 [sysdep_routines]: Remove wordcopy-power6 object.
1296 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1297 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1298 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1299 (__memmove_ppc32): Likewise.
1300 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1301 file.
1302 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1304 Remove preprocessor.
1305
8548a53d
AZ
1306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1307 [sysdep_routines]: Remove wide chars objects.
1308 [wcsmbs]: New rule for wide char objects.
1309
b2692114
AZ
1310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1311 Remove wordcopy-power6 obejct.
1312 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1313 Use local call for wordcopy and memcpy symbols.
1314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1316 implementation for loader.
1317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1318
18e270aa
AZ
1319 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1320 Remove wordcopy-power7 object.
1321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1322 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1323 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1324 (_wordcopy_fwd_dest_aligned): Likewise.
1325 (_wordcopy_bwd_aligned): Likewise.
1326 (_wordcopy_bwd_dest_aligned): Likewise.
1327
6f0993a6
AZ
1328 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1329 Rewrite to call __memmove_ppc instead of include default
1330 implementation.
1331
3001e54c
AZ
1332 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1333 Remove wide chars objects.
1334 [wcsmbs]: New rule for wide char objects.
1335
59b61c82
AS
13362015-02-09 Andreas Schwab <schwab@suse.de>
1337
1338 [BZ #17912]
1339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1340 in terms of __O_DIRECTORY.
1341
ebd7aede
ST
13422015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1343
1344 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1345 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1346 call PTR_MANGLE.
1347 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1348 PTR_DEMANGLE.
ebd7aede 1349
3999d26e
PE
13502015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1351
1352 Add ersatz _Static_assert on older C hosts
1353 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1354 pre-C11 C platform that is not known to support _Static_assert.
1355
e9a5bc1c
ST
13562015-02-07 Richard Braun <rbraun@sceen.net>
1357
1358 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1359 sigstate.
e86c5b64 1360 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1361
e2049d17
ST
13622015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1363
1364 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1365 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1366 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1367 instead of int.
1368 * misc/fchflags.c (fchflags): Likewise.
1369 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1370 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1371 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1372 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1373 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1374 Declare macros.
1375 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1376 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1377 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1378 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1379 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1380 45.
a9a002fb
ST
1381 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1382 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1383 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1384 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1385 * hurd/hurd/signal.h (_hurd_self_sigstate,
1386 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1387 Explicit casts from void *.
4fc81a77 1388 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1389 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1390
f05826f0
ST
1391 [BZ #4719]
1392 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1393 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1394 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1395 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1396 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1397 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1398
a5eb23de
ST
1399 [BZ #17944]
1400 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1401 duplicates ADDR->sun_path with sockaddr LEN limitation.
1402 * sysdeps/mach/hurd/connect.c: Include <string.h>
1403 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1404 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1405 * sysdeps/mach/hurd/sendto.c: Likewise.
1406 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1407 implementing it by hand.
1408
ac9e0e5e
RM
14092015-02-06 Roland McGrath <roland@hack.frob.com>
1410
f8d1bb4c
RM
1411 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1412 Use sfi_breg on ldr.
1413 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1414 Likewise.
1415
022f4812
RM
1416 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1417 it's defined.
1418 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1419 Test SIGSETXID only if it's defined.
1420
1ac074e6
RM
1421 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1422
f50ad78b
RM
1423 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1424 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1425
9e7265f4
RM
1426 * nptl/tst-align2.c: Moved ...
1427 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1428 * nptl/Makefile (tests): Remove tst-align2.
1429 * sysdeps/unix/sysv/linux/Makefile
1430 [$(subdir) = nptl] (tests): Add tst-align-clone.
1431 * nptl/tst-getpid1.c: Moved ...
1432 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1433 * nptl/tst-getpid2.c: Moved ...
1434 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1435 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1436 * sysdeps/unix/sysv/linux/Makefile
1437 [$(subdir) = nptl] (tests): ... here.
1438 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1439 * sysdeps/unix/sysv/linux/Makefile
1440 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1441
62ad2abc
RM
1442 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1443 Drop trailing \n from perror argument. Use return rather than exit.
1444
cfa69b0b
RM
1445 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1446 on [SA_SIGINFO].
1447 * nptl/tst-cancel21.c (do_test): Likewise.
1448 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1449 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1450 [!SA_SIGINFO]: Make it a stub test.
1451
82727806
RM
1452 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1453 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1454
da3a1594
RM
1455 * posix/tst-getlogin.c: Move to ...
1456 * login/tst-getlogin.c: ... here.
1457 * posix/Makefile (tests): Move tst-getlogin to ...
1458 * login/Makefile (tests): ... here.
1459
b65c0ff9
RM
1460 * libio/tst-atime.c (do_test): Move local variables SV and E
1461 inside [ST_NOATIME] conditional.
1462
56606ab3
RM
1463 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1464
ebf7d6ee
RM
1465 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1466
ca0e0675
RM
1467 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1468 (wait_code): New function replaces macro.
1469 Call nanosleep rather than syscall.
1470
8c28bbc6
RM
1471 * nptl/pt-system.c: Rewritten. Put everything under
1472 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1473 Use IFUNC to redirect when possible.
1474
ec2a88b3
RM
1475 * nptl/pt-longjmp.c: Rewritten. Put everything under
1476 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1477 Use IFUNC to redirect when possible.
1478
beff1d13
RM
1479 * nptl/pt-fork.c: Rewritten. Put everything under
1480 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1481 Use IFUNC to redirect when possible.
1482 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1483
ea02c6b8
RM
1484 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1485 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1486 unconditionally nowadays. This included the only reference to
1487 __vdso_clock_gettime that appears outside libc proper.
1488 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1489 Remove version set (containing only __vdso_clock_gettime).
1490 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1491 Add attribute_hidden.
1492 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1493 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1494 libc_hidden_data_def.
1495 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1497
a1309c2b
RM
1498 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1499 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1500 setrpcent, and getrpcport to ...
1501 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1502 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1503 getrpcbynumber_r, and getrpcent_r to ...
1504 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1505 * inet/getrpcbyname.c: Moved ...
1506 * sunrpc/getrpcbyname.c: ... here.
1507 * inet/getrpcbyname_r.c: Moved ...
1508 * sunrpc/getrpcbyname_r.c: ... here.
1509 * inet/getrpcbynumber.c: Moved ...
1510 * sunrpc/getrpcbynumber.c: ... here.
1511 * inet/getrpcbynumber_r.c: Moved ...
1512 * sunrpc/getrpcbynumber_r.c: ... here.
1513 * inet/getrpcent.c: Moved ...
1514 * sunrpc/getrpcent.c: ... here.
1515 * inet/getrpcent_r.c: Moved ...
1516 * sunrpc/getrpcent_r.c: ... here.
1517 * inet/Makefile (routines): Move those to ...
1518 * sunrpc/Makefile (routines): ... here.
1519 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1520 the $(subdirs) list.
1521 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1522 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1523 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1524 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1525
ac9e0e5e
RM
1526 * elf/Makefile (routines): Include $(all-dl-routines), not just
1527 $(dl-routines).
1528 (rtld-routines): Likewise. Use = rather than :=.
1529 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1530 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1531 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1532 * sysdeps/arm/Makefile: Likewise.
1533 * sysdeps/i386/Makefile: Likewise.
1534 * sysdeps/x86_64/Makefile: Likewise.
1535 * sysdeps/hppa/Makefile [$(subdir) = elf]
1536 (sysdep_routines, sysdep-rtld-routines): Don't add
1537 $(sysdep-dl-routines) to these.
1538 * sysdeps/ia64/Makefile: Likewise.
1539 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1540 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1541 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1542 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1543 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1544 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1545 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1546 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1547 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1548 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1549 these; sysdep-dl-routines alone is enough.
1550
639e42eb
JM
15512015-02-06 Joseph Myers <joseph@codesourcery.com>
1552
1c7a4a51
JM
1553 [BZ #17932]
1554 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1555 where multiplication results in zero and third argument is finite
1556 and nonzero.
1557 * math/auto-libm-test-in: Add more tests of fma.
1558 * math/auto-libm-test-out: Regenerated.
1559
61f006c1
JM
1560 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1561 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1562 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1563 (_FP_CMP_EQ): Likewise.
1564 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1565
639e42eb
JM
1566 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1567 extra argument CHECK_NAN. Redefine as wrapper around
1568 _FP_EXTEND_CNAN.
1569
3c0c543b
CD
15702015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1571
4e42b5b8
CD
1572 * version.h (RELEASE): Set to "stable".
1573 (VERSION): Set to "2.21"
1574 * include/features.h (__GLIBC_MINOR__): Set to 21.
1575
3c0c543b
CD
1576 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1577
5bd80bfe 15782015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1579 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1580
1581 [BZ #16618]
1582 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1584 size in bytes. Store needed elements in wpmax. Use needed size
1585 in bytes for extend_alloca.
1586
3f823f48
CD
15872015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1588
04cb913d
CD
1589 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1590 binutls 2.25, and texinfo 5.2.
1591 * INSTALL: Regenerate.
1592 * sysdeps/nios2/configure: Regenerate.
1593 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1594 * manual/contrib.texi: Update.
1595 * po/be.po: Update.
1596 * po/bg.po: Update.
1597 * po/ca.po: Update.
1598 * po/cs.po: Update.
1599 * po/da.po: Update.
1600 * po/de.po: Update.
1601 * po/el.po: Update.
1602 * po/eo.po: Update.
1603 * po/es.po: Update.
1604 * po/fi.po: Update.
1605 * po/fr.po: Update.
1606 * po/gl.po: Update.
1607 * po/hr.po: Update.
1608 * po/hu.po: Update.
1609 * po/ia.po: Update.
1610 * po/id.po: Update.
1611 * po/it.po: Update.
1612 * po/ja.po: Update.
1613 * po/ko.po: Update.
1614 * po/lt.po: Update.
1615 * po/nb.po: Update.
1616 * po/nl.po: Update.
1617 * po/pl.po: Update.
1618 * po/pt_BR.po: Update.
1619 * po/ru.po: Update.
1620 * po/rw.po: Update.
1621 * po/sk.po: Update.
1622 * po/sl.po: Update.
1623 * po/sv.po: Update.
1624 * po/tr.po: Update.
1625 * po/uk.po: Update.
1626 * po/vi.po: Update.
1627 * po/zh_CN.po: Update.
1628 * po/zh_TW.po: Update.
1629
3f823f48
CD
1630 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1631 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1632 * sysdeps/hppa/dl-irel.h: Remove #warning.
1633 * sysdeps/hppa/entry.h: Provide prototype for
1634 __canonicalize_funcptr_for_compare and cast argument.
1635 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1636 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1637 * sysdeps/hppa/sotruss-lib.c: New file.
1638 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1639 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1640 (atomic_compare_and_exchange_bool_acq): Likewise.
1641 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1642 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1643
1644 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1645 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1646 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1647
34c56048
CLT
16482015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1649
1650 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1651 called function in non-PIC case.
1652
d4abeca5
DM
16532015-01-31 David S. Miller <davem@davemloft.net>
1654
edac0a60
DM
1655 * sysdeps/sparc/sparc32/bits/atomic.h
1656 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1657 unlock not after it.
1658 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1659 volatile register usage warnings from the compiler.
1660
d4abeca5
DM
1661 * sysdeps/sparc/nptl/sem_init.c: Delete.
1662 * sysdeps/sparc/nptl/sem_post.c: Delete.
1663 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1664 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1665 * sysdeps/sparc/sparc32/sem_init.c: New file.
1666 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1667 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1668 padding explicitly initialized.
1669 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1670 padding for in-semaphore spinlock.
1671 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1672 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1673 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1674 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1675 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1677 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1678 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1679 version.
1680 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1681 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1682
5f3d0b78
L
16832015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 [BZ #17801]
1686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1687 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1688 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1689 New.
1690 (index_AVX_Fast_Unaligned_Load): Likewise.
1691 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1692 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1693 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1694 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1695 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1696 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1697 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1698 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1699 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1700
b658fdd8
AS
17012015-01-29 Andreas Schwab <schwab@suse.de>
1702
1703 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1704
3cb26316
SP
17052015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1706
1707 [BZ #17892]
1708 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1709
527de9e4
MS
17102015-01-28 Martin Sebor <msebor@redhat.com>
1711
1712 * math/README.libm-test: Clarify. Add "How to read the test output."
1713
06991eb8
CM
17142015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1715
1716 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1717 Define to 0.
1718
df341342
JM
17192015-01-28 Joseph Myers <joseph@codesourcery.com>
1720
1721 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1722 (__HAVE_64B_ATOMICS): Define to 0.
1723
08cee2a4
AZ
17242015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1725
d4d0ecb2
AZ
1726 [BZ #17885]
1727 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1728 value to set as new flag.
1729
08cee2a4
AZ
1730 [BZ #16576]
1731 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1732 and use _ARCH_PPCSQ instead.
1733 (__ieee754_sqrt): Likewise.
1734 (__ieee754_sqrtf): Likewise.
1735 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1736 _ARCH_PPCSQ is defined.
1737 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1738 fsqrt instruction.
1739 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1740 _ARCH_PPCSQ is defined.
1741 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1742 fsqrts instruction.
1743 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1744
5fe8e359
AK
17452015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1746
1747 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1748 bug (GCC BZ #64739).
1749
24bb7432
AS
17502015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1751
fa20da31
AS
1752 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1753 Mark _retval as used.
1754 (lll_futex_wake_unlock): Likewise.
1755 (lll_futex_timed_wait_requeue_pi): Likewise.
1756
45819cbc
AS
1757 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1758 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1759 register variables.
1760
403cc231
AS
1761 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1762 libm_hidden_def.
1763
24bb7432
AS
1764 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1765 (__bswap_64): Mark as __always_inline.
1766
9317ea65
B
17672015-01-25 Bram <bug_rh@spam.wizbit.be>
1768
1769 [BZ #15378]
1770 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1771 when none of the search directories exist.
1772
0e87343e
AZ
17732015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1774
bea58013
AZ
1775 [BZ #17869]
1776 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1777 power8 in .machine directive.
1778
0e87343e
AZ
1779 [BZ #17868]
1780 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1781 set dependency from opd value.
1782
ede0236c
L
17832015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1784
1785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1786 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1787 architecture.
ede0236c 1788
22971c35
L
17892015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 [BZ #17870]
1792 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1793 with uint64_t.
1794 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1795 (uint64_t) 1.
e0da28a1 1796 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1797 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1798 Replace 1UL with (uint64_t) 1.
1799 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1800 int with uint64_t.
1801
da5bf245
RM
18022015-01-23 Roland McGrath <roland@hack.frob.com>
1803
2ec2d703
RM
1804 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1805 (if_freenameindex): Likewise.
1806
da5bf245
RM
1807 * resource/getrlimit64.c: Add missing libc_hidden_def.
1808
d7423856
JM
18092015-01-22 Joseph Myers <joseph@codesourcery.com>
1810
1811 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1812 __label__.
1813 (_FP_FMA): Likewise.
1814 (_FP_TO_INT_ROUND): Likewise.
1815 (_FP_FROM_INT): Likewise.
1816
6b2ba95b
AZ
18172015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818
1819 [BZ #16418]
1820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1821 Make code racy and cancel safe.
1822
ccdb048d
CD
18232015-01-21 Carlos O'Donell <carlos@redhat.com>
1824
191220b3
CD
1825 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1826 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1827 attribution.
1828
0897c551
CD
1829 * pwd/tst-getpw.c: Rewrite.
1830
ccdb048d
CD
1831 [BZ #17702]
1832 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1833 (modules-names): Add moddummy1 and moddummy2.
1834 ($(objpfx)tst-rec-dlopen): Define.
1835 * dlfcn/moddummy1.c: New file.
1836 * dlfcn/moddummy2.c: New file.
1837 * dlfcn/tst-rec-dlopen.c: New file.
1838 * elf/dl-cache.c (_dl_load_cache_lookup):
1839 Return char*. Copy result with alloca/strcpy/strdup.
1840 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1841 returns char*. Free cached. If not saving realname
1842 free cached.
1843 * elf/dl-open.c (dl_open_worker): Do not assert that
1844 _r_debug->r_state is RT_CONSISTENT.
1845 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1846 returns char*.
1847
042e1521
CD
18482015-01-21 Torvald Riegel <triegel@redhat.com>
1849 Carlos O'Donell <carlos@redhat.com>
1850
1851 [BZ #12674]
1852 * nptl/sem_waitcommon.c: New file.
1853 * nptl/sem_wait.c: Include sem_waitcommon.c.
1854 (__sem_wait_cleanup, do_futex_wait): Remove.
1855 (__new_sem_wait): Adapt.
1856 (__new_sem_trywait): New function.
1857 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1858 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1859 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1860 (sem_timedwait): Adapt.
1861 * nptl/sem_post.c (__new_sem_post): Adapt.
1862 (futex_wake): New function.
1863 (__old_sem_post): Add release MO fence.
1864 * nptl/sem_open.c (sem_open): Adapt.
1865 * nptl/sem_init.c (__new_sem_init): Adapt.
1866 (futex_private_if_supported): New function.
1867 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1868 (__old_sem_getvalue): Add using previous code.
1869 * sysdeps/nptl/internaltypes.h: Adapt.
1870 * nptl/tst-sem13.c (do_test): Adapt.
1871 * nptl/tst-sem11.c (main): Adapt.
1872 * nptl/sem_trywait.c: Remove.
1873 * nptl/DESIGN-sem.txt: Remove.
1874 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1875 (gen-as-const-headers): Remove structsem.sym.
1876 * nptl/structsem.sym: Remove.
1877 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1878 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1879 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1880 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1881 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1882 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1883 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1884 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1885 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1886 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1887 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1888 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1889 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1890 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1891 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1892 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1893 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1894 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1895 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1896 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1897 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1898 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1899
fe0e85af
CD
19002015-01-20 Carlos O'Donell <carlos@redhat.com>
1901
a8db092e
CD
1902 * INSTALL: Regenerated.
1903
fe0e85af
CD
1904 * po/libc.pot: Regenerated.
1905
522e6ee3
CLT
19062015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1907 Sandra Loosemore <sandra@codesourcery.com>
1908 Andrew Jenner <andrew@codesourcery.com>
1909 Joseph Myers <joseph@codesourcery.com>
1910 Nathan Sidwell <nathan@codesourcery.com>
1911
1912 * NEWS: Mention new Nios II port.
1913 * sysdeps/nios2/Implies: New file.
1914 * sysdeps/nios2/Makefile: New file.
1915 * sysdeps/nios2/Subdirs: New file.
1916 * sysdeps/nios2/Versions: New file.
1917 * sysdeps/nios2/__longjmp.S: New file.
1918 * sysdeps/nios2/abort-instr.h: New file.
1919 * sysdeps/nios2/backtrace.c: New file.
1920 * sysdeps/nios2/bits/endian.h: New file.
1921 * sysdeps/nios2/bits/fenv.h: New file.
1922 * sysdeps/nios2/bits/link.h: New file.
1923 * sysdeps/nios2/bits/setjmp.h: New file.
1924 * sysdeps/nios2/bsd-_setjmp.S: New file.
1925 * sysdeps/nios2/bsd-setjmp.S: New file.
1926 * sysdeps/nios2/configure: New generated file.
1927 * sysdeps/nios2/configure.ac: New file.
1928 * sysdeps/nios2/crti.S: New file.
1929 * sysdeps/nios2/crtn.S: New file.
1930 * sysdeps/nios2/dl-init.c: New file.
1931 * sysdeps/nios2/dl-machine.h: New file.
1932 * sysdeps/nios2/dl-sysdep.h: New file.
1933 * sysdeps/nios2/dl-tls.h: New file.
1934 * sysdeps/nios2/dl-trampoline.S: New file.
1935 * sysdeps/nios2/gccframe.h: New file.
1936 * sysdeps/nios2/gmp-mparam.h: New file.
1937 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1938 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1939 * sysdeps/nios2/ldsodefs.h: New file.
1940 * sysdeps/nios2/libc-tls.c: New file.
1941 * sysdeps/nios2/libm-test-ulps: New file.
1942 * sysdeps/nios2/machine-gmon.h: New file.
1943 * sysdeps/nios2/math-tests.h: New file.
1944 * sysdeps/nios2/math_private.h: New file.
1945 * sysdeps/nios2/memusage.h: New file.
1946 * sysdeps/nios2/nptl/Makefile: New file.
1947 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1948 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1949 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1950 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1951 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1952 * sysdeps/nios2/nptl/tls.h: New file.
1953 * sysdeps/nios2/preconfigure: New file.
1954 * sysdeps/nios2/s_fma.c: New file.
1955 * sysdeps/nios2/s_fmaf.c: New file.
1956 * sysdeps/nios2/setjmp.S: New file.
1957 * sysdeps/nios2/sfp-machine.h: New file.
1958 * sysdeps/nios2/sotruss-lib.c: New file.
1959 * sysdeps/nios2/stackguard-macros.h: New file.
1960 * sysdeps/nios2/stackinfo.h: New file.
1961 * sysdeps/nios2/start.S: New file.
1962 * sysdeps/nios2/sysdep.h: New file.
1963 * sysdeps/nios2/tls-macros.h: New file.
1964 * sysdeps/nios2/tst-audit.h: New file.
1965 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1966 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1967 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1968 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1969 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1970 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1971 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1972 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1973 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1974 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1975 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1976 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1977 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1978 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1979 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1980 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1981 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1982 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1983 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1984 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1985 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1986 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1987 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1988 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1989 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1990 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1991 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1992 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1993 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1994 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1995 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1996 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1997 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1998 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1999 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2000 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2001 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2002 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2003 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2004 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2005 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2006 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2007 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2008 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2009
026eb207
SL
20102015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2011
2012 [BZ #17844]
2013 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2014 (getutent): Use weak_alias in non SHARED case
2015 and default_symbol_version in SHARED case.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2017 (getutent_r, pututline): Likewise.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2019 (getutid): Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2021 (getutid_r): Likewise.
2022 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2023 (getutline): Likewise.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2025 (getutline_r): Likewise.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2027 (updwtmp): Likewise.
2028
1d532483
SL
20292015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2030
2031 [BZ #17848]
2032 * sysdeps/s390/s390-32/memcmp.S
2033 (memcmp_g5): Rename to __memcmp_g5.
2034 * sysdeps/s390/s390-32/memcpy.S
2035 (memcpy_g5): Rename to __memcpy_g5.
2036 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2037 (memcpy_mvcle) Rename to __memcpy_mvcle.
2038 * sysdeps/s390/s390-32/memset.S
2039 (memset_g5): Rename to __memset_g5.
2040 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2041 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2042 and use prefixed functions.
2043 * sysdeps/s390/s390-32/multiarch/memcmp.S
2044 (memcmp_z196): Rename to __memcmp_z196.
2045 (memcmp_z10): Rename to __memcmp_z10.
2046 (memcmp): Set alias to __memcmp_g5.
2047 (bcmp): Set alias to __memcmp_g5.
2048 * sysdeps/s390/s390-32/multiarch/memcpy.S
2049 (memcpy_z196): Rename to __memcpy_z196.
2050 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2051 (memcpy_z10): Rename to __memcpy_z10.
2052 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2053 (memcpy): Set alias to __memcpy_g5.
2054 * sysdeps/s390/s390-32/multiarch/memset.S
2055 (memset_z196): Rename to __memset_z196.
2056 Jump to __memset_mvcle instead of memset_mvcle.
2057 (memset_z10): Rename to __memset_z10.
2058 Jump to __memset_mvcle instead of memset_mvcle.
2059 (memset_mvcle) Rename to __memset_mvcle.
2060 (memset): Set alias to __memset_g5.
2061 * sysdeps/s390/s390-64/memcmp.S
2062 (memcmp_z900): Rename to __memcmp_z900.
2063 * sysdeps/s390/s390-64/memcpy.S
2064 (memcpy_z900): Rename to __memcpy_z900.
2065 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2066 (memcpy_mvcle) Rename to __memcpy_mvcle.
2067 * sysdeps/s390/s390-64/memset.S
2068 (memset_z900): Rename to __memset_z900.
2069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2070 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2071 and use prefixed functions.
2072 * sysdeps/s390/s390-64/multiarch/memcmp.S
2073 (memcmp_z196): Rename to __memcmp_z196.
2074 (memcmp_z10): Rename to __memcmp_z10.
2075 (memcmp): Set alias to __memcmp_z900.
2076 (bcmp): Set alias to __memcmp_z900.
2077 * sysdeps/s390/s390-64/multiarch/memcpy.S
2078 (memcpy_z196): Rename to __memcpy_z196.
2079 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2080 (memcpy_z10): Rename to __memcpy_z10.
2081 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2082 (memcpy): Set alias to __memcpy_z900.
2083 * sysdeps/s390/s390-64/multiarch/memset.S
2084 (memset_z196): Rename to __memset_z196.
2085 Jump to __memset_mvcle instead of memset_mvcle.
2086 (memset_z10): Rename to __memset_z10.
2087 Jump to __memset_mvcle instead of memset_mvcle.
2088 (memset_mvcle) Rename to __memset_mvcle.
2089 (memset): Set alias to __memset_z900.
2090
53fbd169
JM
20912015-01-14 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #17748]
2094 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2095 __fesetenv instead of fesetenv.
2096
d639a363
SP
20972015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2098
2099 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2100 macro.
2101
d3b00f46
AZ
21022015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103
ce6615c9
AZ
2104 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2105 regression on LE.
2106
d3b00f46
AZ
2107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2108 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2110 strncmp-power8 object.
2111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2112 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2113 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2114 * NEWS: Update.
2115
72607db0
RS
21162015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2117 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118
2119 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2120 trailing byte check.
2121
54dc5461
DM
21222015-01-13 David S. Miller <davem@davemloft.net>
2123
2124 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2125
1c6e6f23
RM
21262015-01-13 Roland McGrath <roland@hack.frob.com>
2127
2128 * login/logout.c (logout): Use memset rather than bzero.
2129 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2130 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2131 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2132 (_gethtbyaddr): Likewise.
2133 * locale/programs/simple-hash.c (bcopy): Macro removed.
2134
96d6fd6c
AZ
21352015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
8bedcb5f
AZ
2137 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2138 Add strcmp-power8 object.
2139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2140 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2141 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2142 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2143 __strcmp_power8 implementation.
2144 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2145 * NEWS: Update.
2146
f06a4faf
AZ
2147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2148 Add strncpy-power8 and stpncpy-power8 objects.
2149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2150 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2151 implementations.
2152 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2153 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2154 __stpncpy_power8 implementation.
2155 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2156 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2157 __strncpy_power8 implementation.
2158 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2159 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2160 * NEWS: Update.
2161
9f2f36e5
AZ
2162 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2163 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2164 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2165
96d6fd6c 2166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2167 strncat-power8 object.
2168 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2169 __strcat_power8 implementation.
2170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2171 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2172 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2173 optimized strcat for power8.
2174
2175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2176 strcpy-power8 and stpcpy-power8 objects.
2177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2178 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2179 implementations.
2180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2181 multiarch stpcpy implementation for POWER8.
2182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2183 multiarch strcpy implementation for POWER8.
2184 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2185 __strcpy_power8 function.
2186 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2187 stpcpy for POWER8.
2188 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2189 strcpy for POWER8.
2190 * NEWS: Update.
2191
0f9e5854
LH
21922015-01-13 Leonhard Holz <leonhard.holz@web.de>
2193
2194 [BZ #16009]
2195 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2196 weights and rules. Use do_xfrm_cached if data fits in cache,
2197 do_xfrm otherwise. Moved former main loop to...
2198 * (do_xfrm_cached): New function.
2199 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2200 find_idx, find_position and stack_push.
2201 * (find_idx): New function.
2202 * (find_position): Likewise.
2203 * localedata/sort-test.sh: Added test run for do_xfrm.
2204 * localedata/xfrm-test.c (main): Added command line option
2205 -nocache to run the test with strings that are too large for
2206 the STRXFRM cache.
2207
c60ec0e0
TR
22082015-01-13 Torvald Riegel <triegel@redhat.com>
2209
2210 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2211 variable to lll_futex_wake call, not the value itself.
2212
34e93d6c
JM
22132015-01-12 Joseph Myers <joseph@codesourcery.com>
2214
5a9e4c09
JM
2215 [BZ #17803]
2216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2217 twom64. Adjust value to 0x1p-64L.
2218 (__scalblnl): Only return standard underflowing result for K <=
2219 -64 not K <= -63; adjust exponent for underflowing result by 64
2220 not 63.
2221 * math/libm-test.inc (scalbn_test_data): Add more tests.
2222 (scalbln_test_data): Likewise.
2223
34e93d6c
JM
2224 [BZ #17834]
2225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2226 0x1p63L.
2227 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2228 not HX.
2229 * math/libm-test.inc (scalbn_test_data): Add more tests.
2230 (scalbln_test_data): Likewise.
2231
ca677d3c
AZ
22322015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2233 Stefani Seibold <stefani@seibold.net>
2234
2235 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2236 (sysdep_routines): Add dl-vdso here, ...
2237 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2238 (sysdep_routines): ... not here.
2239 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2240 fallback when vDSO is not presented.
2241 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2242 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2243 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2244 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2245 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2246 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2247 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2248 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2249 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2251 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2252 fallback configurable symbol when vDSO is not available.
2253 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2254 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2255 be able to redefine fallback symbol when vDSO is not available.
2256 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2257 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2258
49a9f6ab 22592015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2260
56cf2763
AZ
2261 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2262 (TLS_INIT_TP): Add tm_capable initialization.
2263 (TLS_DEFINE_INIT_TP): Likewise.
2264 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2265 TCB.
2266 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2267 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2268 calculation.
2269 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2270 transactoion is lock elision is built and TCB tm_capable is set.
2271 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2273 (INTERNAL_SYSCALL_NCS): Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2275 (INTERNAL_SYSCALL_NCS): Likewise.
2276 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2277
4b45943a
AZ
2278 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2279 for powerpc.
2280 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2281 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2282 and remove it for 32 bits case.
2283 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2284 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2285 initialization.
2286 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2287 Disable lock elision with rdlocks if elision is not available.
2288
8d2c0a59
AZ
2289 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2290 (sysdep_routines): Add lock elision objects.
2291 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2292 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2293 [pthread_mutex_t] (__elision): Add field.
2294 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2295 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2296 elision definitions for powerpc.
2297 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2298 implementation of lock elision for powerpc.
2299 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2300 implementation of timed lock elision for powerpc.
2301 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2302 implementation of trylock with lock elision for powerpc.
2303 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2304 implementaion of unlock for lock elision for powerpc.
2305 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2306 automatic enable lock elision for mutexes.
2307 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2308 transaction execution definitions for powerpc.
2309 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2310 definitions.
2311 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2312 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2315 * NEWS: Update.
2316
bc0ed9f7
RM
23172015-01-09 Roland McGrath <roland@hack.frob.com>
2318
2319 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2320 for #include of <shm-directory.h>.
2321
585d9c18
CLT
23222015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2323
2324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2325 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2326
aee6626c
MF
23272015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2328
2329 [BZ #17791]
2330 * NEWS: Mention bug fix.
2331 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2332 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2333 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2334
9e560f48
TR
23352015-01-09 Torvald Riegel <triegel@redhat.com>
2336
2337 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2338
e1cfbd0c
TR
23392015-01-09 Torvald Riegel <triegel@redhat.com>
2340
2341 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2342
cf71e44f
DH
23432015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2344
2345 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2346 pointer and cast to uintptr_t.
2347
b360ee62
DH
23482015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2349
2350 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2351 removed.
2352 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2353
caff764e
DH
23542015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2355
2356 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2357 of 0.
2358
59ff172f
RM
23592015-01-08 Roland McGrath <roland@hack.frob.com>
2360
c97d27f1
RM
2361 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2362 <nptl/pthreadP.h> instead.
2363 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2364
08734ccd
RM
2365 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2366 already defined.
2367 [__SIGRTMIN] (init): Function removed.
2368 [__SIGRTMIN] (initialized): Variable removed.
2369 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2370 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2371 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2372 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2373 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2374 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2375 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2376 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2377 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2378 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2379 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2380 * sysdeps/nptl/allocrtsig.c: New file.
2381 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2382 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2383 * sysdeps/generic/testrtsig.h: File removed.
2384
7b052e33
RM
2385 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2386 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2387
cc40d25e
RM
2388 * nptl/nptl-init.c (pthread_functions): Conditionalize
2389 .ptr__nptl_setxid initialization on [SIGSETXID].
2390
9287adf0
RM
2391 * sysdeps/nptl/sys/procfs.h: New file.
2392 * nptl_db/Makefile (headers): Add it.
2393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2394
59ff172f
RM
2395 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2396 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2397 * nptl/pthread_attr_setaffinity.c: Include it.
2398 * nptl/pthread_setattr_default_np.c: Likewise.
2399 * nptl/check-cpuset.h: New file.
2400
b9205857
RH
24012015-01-08 Richard Henderson <rth@redhat.com>
2402
2403 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2404 (CFLAGS-tst-execstack-prog.c): Likewise.
2405 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2406
1a0a8d15
CLT
24072015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2408 Sandra Loosemore <sandra@codesourcery.com>
2409 Andrew Jenner <andrew@codesourcery.com>
2410 Joseph Myers <joseph@codesourcery.com>
2411 Nathan Sidwell <nathan@codesourcery.com>
2412
2413 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2414 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2415 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2416 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2417 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2418 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2419 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2420 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2421 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2422 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2423 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2424 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2425 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2426 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2427 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2428 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2429 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2430
dd6e8af6
AZ
24312015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432
2433 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2434 timespec struct member in syscall macro.
2435 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2436 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2437 first timeval struct member in syscall macro.
2438 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2439
8116321f
JM
24402015-01-07 Joseph Myers <joseph@codesourcery.com>
2441
2442 [BZ #17748]
2443 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2444 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2445 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2446 __feupdateenv and define as weak alias of __feupdateenv. Use
2447 libm_hidden_weak.
2448 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2449 libm_hidden_def.
2450 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2451 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2452 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2453 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2454 libm_hidden_def.
2455 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2456 __feupdateenv and define as weak alias of __feupdateenv. Use
2457 libm_hidden_weak.
2458 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2459 libm_hidden_def.
2460 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2461 __feupdateenv and define as weak alias of __feupdateenv. Use
2462 libm_hidden_weak.
2463 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2464 libm_hidden_def.
2465 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2466 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2467 (__feupdateenv): Likewise.
2468 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2469 __feupdateenv and define as weak alias of __feupdateenv. Use
2470 libm_hidden_weak.
2471 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2472 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2473 libm_hidden_def.
2474 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2475 function.
2476 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2477 libm_hidden_def.
2478 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2479 __feupdateenv instead of feupdateenv.
2480 (default_libc_feupdateenv_test): Likewise.
2481 (libc_feresetround_ctx): Likewise.
2482
882dfe18
AZ
24832015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484
2485 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2486 prototype.
2487
39a12f8d
CM
24882015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2489
2490 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2491 COLL_SYM in a couple of places to avoid uninitialized variable
2492 wanings on tilegx gcc 4.8.2.
2493
dc400d7b
RE
24942015-01-07 Richard Earnshaw <rearnsha@arm.com>
2495
2496 * sysdeps/aarch64/strcpy.S: New file.
2497 * sysdeps/aarch64/stpcpy.S: New file.
2498 * NEWS: Updated.
2499
ec582ca0
RE
25002015-01-07 Richard Earnshaw <rearnsha@arm.com>
2501
2502 * sysdeps/aarch64/strrchr.S: New file.
2503 * NEWS: Updated.
2504
d5b1c5ed
EB
25052015-01-07 Eric Biggers <ebiggers3@gmail.com>
2506
2507 [BZ #17658]
2508 * stdlib/setenv.c: Fix memory leak when setting large,
2509 duplicate string.
2510
fb87ee96
VN
25112015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2512
60f046a8 2513 [BZ #17273]
fb87ee96
VN
2514 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2515 and tabs from buffer before parsing fstab entry.
2516 * misc/tst-mntent.c (main): Add test for mount entry with
2517 trailing spaces and tabs.
2518
cd42798a
JM
25192015-01-06 Joseph Myers <joseph@codesourcery.com>
2520
01238691
JM
2521 [BZ #17748]
2522 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2523 * math/fesetround.c (fesetround): Rename to __fesetround and
2524 define as weak alias of __fesetround. Use libm_hidden_weak.
2525 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2526 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2527 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2528 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2529 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2530 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2531 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2532 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2533 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2534 __fesetround_inline.
2535 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2536 __fesetround_inline instead of __fesetround.
2537 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2538 __fesetround and define as weak alias of __fesetround. Use
2539 libm_hidden_weak. Call __fesetround_inline instead of
2540 __fesetround.
2541 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2542 __fesetround and define as weak alias of __fesetround. Use
2543 libm_hidden_weak.
2544 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2545 Likewise.
2546 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2547 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2548 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2549 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2550 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2551 __fesetround and define as weak alias of __fesetround. Use
2552 libm_hidden_weak.
2553 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2554 __fesetround instead of fesetround.
2555 (default_libc_feholdexcept_setround): Likewise.
2556 (libc_feholdsetround_ctx): Likewise.
2557 (libc_feholdsetround_noex_ctx): Likewise.
2558
cd42798a
JM
2559 [BZ #17748]
2560 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2561 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2562 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2563 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2564 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2565 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2566 define as weak alias of __fesetenv. Use libm_hidden_weak.
2567 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2568 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2569 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2570 define as weak alias of __fesetenv. Use libm_hidden_weak.
2571 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2572 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2573 define as weak alias of __fesetenv. Use libm_hidden_weak.
2574 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2575 libm_hidden_def.
2576 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2577 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2578 Likewise.
2579 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2580 define as weak alias of __fesetenv. Use libm_hidden_weak.
2581 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2582 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2583 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2584 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2585 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2586 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2587 __fesetenv instead of fesetenv.
2588 (libc_feresetround_noex_ctx): Likewise.
2589 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2590 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2591 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2592 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2593 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2594 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2595 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2597 (__feupdateenv): Likewise.
2598 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2599 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2600 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2601 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2602
38949026
AJ
26032015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2604
1cf98e27 2605 [BZ #17806]
38949026
AJ
2606 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2607 addresses have been freed.
2608
5fe55e9c
AJ
26092015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2610
2611 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2612 and nservall.
2613
dc8ab018
OB
26142015-01-06 Ondřej Bílka <neleai@seznam.cz>
2615
2616 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2617 Clean up check_pf allocation pattern. addresses
2618
14bb4e57
AZ
26192015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2620
2621 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2622 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2623 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2624 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2625 * nptl/pthread_join.c (pthread_join): Likewise.
2626 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2627 * sysdeps/posix/waitid.c (__waitid): Likewise.
2628 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2629 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2630 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2631 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2632 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2633 Likewise.
2634 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2635 (__libc_pread64): Likewise.
2636 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2637 (__libc_pwrite): Likewise.
2638 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2639 (__libc_pwrite64): Likewsie.
2640 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2641 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2642 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2643 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2644 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2645 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2646 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2650 (__libc_pread64): Likewise.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2652 Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2654 (__libc_pwrite64): Likewise.
2655 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2656 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2657 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2658 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2659 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2660 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2661 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2662 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2663 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2664 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2665 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2666 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2667 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2668 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2669 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2671 Likewise.
2672
10a5e112
AS
26732015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2674
2675 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2676 (CFLAGS-test-double.c): Likewise.
2677 (CFLAGS-test-ldouble.c): Likewise.
2678 (CPPFLAGS-test-ifloat.c): Likewise.
2679 (CPPFLAGS-test-idouble.c): Likewise.
2680 (CPPFLAGS-test-ildoubl.c): Likewise.
2681 (CFLAGS-test-test-fenv.c): Remove variable.
2682 (CFLAGS-test-misc.c): Likewise.
2683
57ada0e7
L
26842015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 [BZ #17797]
2687 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2688 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2689 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2690 CLOCKS_PER_SEC == 1000000.
2691 * time/clocktest.c (main): Replace %ld with %jd and cast to
2692 intmax_t.
2693
46abb64d
RM
26942015-01-05 Roland McGrath <roland@hack.frob.com>
2695
2696 * sysdeps/generic/unwind-resume.h: New file.
2697 * sysdeps/gnu/unwind-resume.c: Include it.
2698 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2699 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2700 argument list.
2701 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2702 global rather than static.
2703 (_Unwind_Resume): Update user.
2704 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2705 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2706 rather than static. Add __attribute__ ((cold)).
2707 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2708 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2709 * sysdeps/arm/arm-unwind-resume.S: New file.
2710 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2711 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2712 * sysdeps/arm/Makefile [$(subdir) = csu]
2713 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2714 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2715 Add rt-arm-unwind-resume.
2716 [$(subdir) = nptl]
2717 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2718 Add pt-arm-unwind-resume.
2719 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2720 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2721
ef9faf13
JM
27222015-01-05 Joseph Myers <joseph@codesourcery.com>
2723
2724 [BZ #17748]
2725 * include/fenv.h (__feholdexcept): Declare. Use
2726 libm_hidden_proto.
2727 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2728 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2729 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2730 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2731 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2732 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2733 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2734 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2735 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2736 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2737 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2738 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2739 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2740 (feholdexcept): Likewise.
2741 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2742 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2743 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2744 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2745 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2746 __feholdexcept instead of feholdexcept.
2747 (default_libc_feholdexcept_setround): Likewise.
2748
295a453e
SE
27492015-01-05 Steve Ellcey <sellcey@imgtec.com>
2750
2751 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2752 to avoid using stl/str to align destination.
2753
882c4b9f
SE
27542015-01-05 Steve Ellcey <sellcey@imgtec.com>
2755
2756 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2757
ac4c11f5
JM
27582015-01-05 Joseph Myers <joseph@codesourcery.com>
2759
2760 [BZ #17796]
2761 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2762 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2763 Define as weak alias not strong alias.
2764
03403e30
SE
27652015-01-05 Steve Ellcey <sellcey@imgtec.com>
2766
2767 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2768 bltzal with addiupc.
2769 (RTLD_START): Ditto.
2770
1dca195e
CM
27712015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2772
00b8b9ba
SP
2773 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2774 for __vdso_* functions in declarations.
2775 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2776 definitions.
2777 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2778 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2779
1dca195e
CM
2780 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2781 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2782 function with cast from llround().
2783 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2784 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2785 Define.
2786
a287953a
JM
27872015-01-05 Joseph Myers <joseph@codesourcery.com>
2788
ab70da77
JM
2789 [BZ #17793]
2790 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2791 Define as weak alias not strong alias.
2792
b8986484
JM
2793 [BZ #17635]
2794 * ctype/ctype-c99.c: New file. isblank implementation moved from
2795 ...
2796 * ctype/ctype-extn.c: ... here.
2797 (__isblank_l): Move to ...
2798 * ctype/ctype-c99_l.c: ... here. New file.
2799 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2800 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2801 Remove variable.
2802 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2803 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2804 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2805 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2806 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2807
a287953a
JM
2808 [BZ #17777]
2809 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2810 (posix_fadvise64): Define as weak alias not strong alias.
2811 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2812 (posix_fallocate64): Likewise.
2813 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2814 Remove variable.
2815 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2816 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2817 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2818 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2819 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2820
b1efe3bb
MF
28212015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2822
2823 [BZ #16191]
2824 * NEWS: Mention bug fix.
2825 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2826 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2827 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2828 (HOST_STACK_END_ADDR): Likewise.
2829
9706dc5f
JM
28302015-01-02 Joseph Myers <joseph@codesourcery.com>
2831
b93c2205
JM
2832 [BZ #17748]
2833 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2834 * math/fegetround.c (fegetround): Rename to __fegetround and
2835 define as weak alias of __fegetround. Use libm_hidden_weak.
2836 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2837 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2838 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2839 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2840 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2841 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2842 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2843 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2844 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2845 Undefine after rather than before function definition; use
2846 parentheses around function name in definition.
2847 (__fegetround): Also undefine macro after function definition.
2848 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2849 __fegetround and define as weak alias of __fegetround. Use
2850 libm_hidden_weak. Do not undefine as macro.
2851 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2852 Likewise.
2853 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2854 __fegetround and define as weak alias of __fegetround. Use
2855 libm_hidden_weak.
2856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2857 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2858 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2859 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2860 __fegetround and define as weak alias of __fegetround. Use
2861 libm_hidden_weak.
2862 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2863 __fegetround instead of fegetround.
2864
253a59cc
JM
2865 [BZ #17782]
2866 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2867 Condition macro definition on [__USE_MISC].
2868
27dae011
JM
2869 [BZ #17781]
2870 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2871 (struct sigaction): Change type of sa_flags field to int.
2872
172019c0
JM
2873 [BZ #17780]
2874 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2875 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2876 __glibc_reserved0.
2877
522ad1d6
JM
2878 * nptl/version.c (banner): Use single year in copyright notice.
2879
9706dc5f
JM
2880 * NEWS: Update copyright dates.
2881 * catgets/gencat.c (print_version): Likewise.
2882 * csu/version.c (banner): Likewise.
2883 * debug/catchsegv.sh: Likewise.
2884 * debug/pcprofiledump.c (print_version): Likewise.
2885 * debug/xtrace.sh (do_version): Likewise.
2886 * elf/ldconfig.c (print_version): Likewise.
2887 * elf/ldd.bash.in: Likewise.
2888 * elf/pldd.c (print_version): Likewise.
2889 * elf/sotruss.sh: Likewise.
2890 * elf/sprof.c (print_version): Likewise.
2891 * iconv/iconv_prog.c (print_version): Likewise.
2892 * iconv/iconvconfig.c (print_version): Likewise.
2893 * locale/programs/locale.c (print_version): Likewise.
2894 * locale/programs/localedef.c (print_version): Likewise.
2895 * login/programs/pt_chown.c (print_version): Likewise.
2896 * malloc/memusage.sh (do_version): Likewise.
2897 * malloc/memusagestat.c (print_version): Likewise.
2898 * malloc/mtrace.pl: Likewise.
2899 * manual/libc.texinfo: Likewise.
2900 * nptl/version.c (banner): Likewise.
2901 * nscd/nscd.c (print_version): Likewise.
2902 * nss/getent.c (print_version): Likewise.
2903 * nss/makedb.c (print_version): Likewise.
2904 * posix/getconf.c (main): Likewise.
2905 * scripts/test-installation.pl: Likewise.
2906 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2907
b8607aac
WN
29082015-01-02 Will Newton <will.newton@linaro.org>
2909
2910 * sysdeps/arm/armv7/configure: Removed.
2911 * sysdeps/arm/armv7/configure.ac: Likewise.
2912
b168057a
JM
29132015-01-02 Joseph Myers <joseph@codesourcery.com>
2914
2915 * All files with FSF copyright notices: Update copyright dates
2916 using scripts/update-copyrights.
2917 * intl/plural.c: Regenerated.
2918 * locale/programs/charmap-kw.h: Likewise.
2919 * locale/programs/locfile-kw.h: Likewise.
2920
b217c15f
SP
29212015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2922
2923 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2924
73a268c7
JM
29252014-12-31 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #17748]
2928 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2929 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2930 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2931 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2932 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2933 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2934 define as weak alias of __fegetenv. Use libm_hidden_weak.
2935 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2936 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2937 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2938 define as weak alias of __fegetenv. Use libm_hidden_weak.
2939 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2940 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2941 define as weak alias of __fegetenv. Use libm_hidden_weak.
2942 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2943 libm_hidden_def.
2944 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2945 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2946 Likewise.
2947 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2948 define as weak alias of __fegetenv. Use libm_hidden_weak.
2949 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2950 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2951 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2952 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2953 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2954 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2955 __fegetenv instead of fegetenv.
2956 (libc_feholdsetround_noex_ctx): Likewise.
2957
0bd95672
MF
29582014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2959
2960 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2961 (Elf_MIPS_ABIFlags_v0): New structure.
2962 (EF_MIPS_FP64): Define.
2963 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2964 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2965 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2966 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2967 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2968 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2969 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2970 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2971 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2972 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2973 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2974 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2975 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2976 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2977 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2978 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2979 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2980 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2981 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2982 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2983 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2984 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2985 field.
2986 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2987 EF_MIPS_FP64.
2988 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2989 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2990 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2991 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2992 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2993 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2994 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2995 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2996 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2997 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2998 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2999 record the current FP ABI extension.
3000 (mips-mode-switch): Define to show if kernel headers support mode
3001 switching.
3002 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3003 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3004 supported SYSV ABI version to 3.
3005 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3006 feature.
3007
f59ad976
RS
30082014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3009 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010
3011 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3012 path.
3013 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3014
4a3d3999
JM
30152014-12-31 Joseph Myers <joseph@codesourcery.com>
3016
3017 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3018 __fegetround and redefine to call __fegetround. Remove condition
3019 on [!__NO_MATH_INLINES].
3020 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3021 function.
3022 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3023 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3024 Remove macro.
3025 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3026 instead of <fenv_libc.h>.
3027 (__llrintl): Call fegetround instead of __fegetround.
3028 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3029 instead of <fenv_libc.h>.
3030 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3031 (__lrintl): Call fegetround instead of __fegetround.
3032 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3033 instead of <fenv_libc.h>.
3034 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3035 (__rintl): Call fegetround instead of __fegetround.
3036
195f3afc
SP
30372014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3038
3039 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3040 arrays.
3041
7062bd42
L
30422014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3043
3044 [BZ #17775]
3045 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3046 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3047 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3048
07256e18
AS
30492014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3050
3051 * sysdeps/i386/tls-macros.h: Include <features.h>.
3052 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3053 (TLS_IE): Likewise.
3054 (TLS_LD): Likewise.
3055 (TLS_GD): Likewise.
3056 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3057 define for GCC >= 5.0.
3058
1ff950ad
CM
30592014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3060
3061 * math/test-fenv.c (test_single_exception, set_single_exc,
3062 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3063 feexcp_mask_test, feenable_test, fe_single_test): Add
3064 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3065 case where they are not used.
3066 * math/libm-test.inc: Likewise.
3067 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3068 unused in the absence of FP rounding/exception support.
3069 * stdio-common/tst-printf-round.c: Likewise.
3070 * stdlib/tst-strtod-round.c: Likewise.
3071 * stdlib/tst-strtod-underflow.c: Likewise.
3072
0747f818
JM
30732014-12-30 Joseph Myers <joseph@codesourcery.com>
3074
3075 [BZ #17723]
3076 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3077 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3078 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3079 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3080 libm_hidden_weak.
3081 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3082 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3083 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3084 libm_hidden_def.
3085 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3086 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3087 libm_hidden_weak.
3088 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3089 Likewise.
3090 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3091 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3092 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3093 libm_hidden_weak.
3094 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3095 libm_hidden_def.
3096 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3098 (__feraiseexcept): Likewise.
3099 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3100 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3101 libm_hidden_weak.
3102 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3103 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3104 libm_hidden_def.
3105 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3106 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3107 Use libm_hidden_def.
3108 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3109 libm_hidden_def.
3110 (feraiseexcept): Define as weak not strong alias. Use
3111 libm_hidden_weak.
3112 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3113 New inline function. Factored out of ...
3114 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3115 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3116 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3117 feraiseexcept.
3118 * math/w_acos.c (__acos): Likewise.
3119 * math/w_asin.c (__asin): Likewise.
3120 * math/w_ilogb.c (__ilogb): Likewise.
3121 * math/w_j0.c (y0): Likewise.
3122 * math/w_j1.c (y1): Likewise.
3123 * math/w_jn.c (yn): Likewise.
3124 * math/w_log.c (__log): Likewise.
3125 * math/w_log10.c (__log10): Likewise.
3126 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3127 * sysdeps/aarch64/fpu/math_private.h
3128 (libc_feupdateenv_test_aarch64): Likewise.
3129 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3130 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3131 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3132 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3133 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3134 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3135 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3137 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3138 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3139
8d2b2763
L
31402014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3141
3142 [BZ #17732]
3143 * io/test-utime.c (main): Replace %ld with %jd and cast to
3144 intmax_t.
41fad830 3145 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3146 * nptl/tst-mutex5.c: Include <stdint.h>.
3147 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3148 * posix/tst-regex.c (run_test): Likewise.
3149 (run_test_backwards): Likewise.
5d619de4
L
3150 * rt/tst-clock.c: Include <stdint.h>.
3151 (clock_test): Replace %ld with %jd and cast to intmax_t.
3152 * rt/tst-cpuclock1.c: Include <stdint.h>.
3153 (do_test): Replace %lu with %ju and cast to uintmax_t.
3154 * rt/tst-cpuclock2.c: Include <stdint.h>.
3155 (do_test): Replace %lu with %ju and cast to uintmax_t.
3156 * rt/tst-mqueue1.c: Include <stdint.h>.
3157 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3158 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3159 intmax_t.
3160 * rt/tst-mqueue4.c (do_test): Likewise.
3161 * rt/tst-timer4.c: Include <stdint.h>.
3162 (check_ts): Replace %ld with %jd and cast to intmax_t.
3163 (do_test): Likewise.
ad86fbc3
L
3164 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3165 and cast to intmax_t.
37f46900 3166 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3167 * time/clocktest.c (main): Likewise.
3168 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3169 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3170
8b4416d8
AS
31712014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3172 H.J. Lu <hongjiu.lu@intel.com>
3173
3174 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3175 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3176 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3177 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3178 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3179 version if bit_Fast_Unaligned_Load is set.
3180 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3181 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3182 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3183 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3184 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3185 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3187 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3188 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3189 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3190 to 4.
3191 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3192 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3193 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3194 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3195
e47b8d3b
CM
31962014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3197
6d6d7fde
CM
3198 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3199 instead of #if to avoid a Wundef warning.
3200 * stdlib/tst-limits.c (do_test): Likewise.
3201
cd2c37c9
CM
3202 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3203 parallel other exception macros.
3204 (fegetenv): Convert from macro to extern inline so that it applies
3205 retroactively to inline functions already seen by the compiler.
3206 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3207
e47b8d3b
CM
3208 * posix/Makefile (before-compile): Use $(objpfx) for
3209 posix-conf-vars-def.h.
3210
4a6aca7b
SP
32112014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3212
7910c2ae
SP
3213 * posix/getconf.c (main): Use size_t for type of I.
3214 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3215 NSPEC.
3216
50cbbaa9
SP
3217 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3218 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3219 * posix/posix-envs.def: Likewise.
3220 * sysdeps/posix/sysconf.c: Likewise.
3221 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3222 (specs): Remove array.
3223 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3224 array.
3225
3b566046
SP
3226 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3227 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3228 (__sysconf): Use CONF_IS_* macros.
3229
4a6aca7b
SP
3230 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3231 ($(objpfx)posix-conf-vars-def.h): New target.
3232 * posix/posix-conf-vars.list: New file.
3233 * posix/posix-conf-vars.h: New file.
3234 * posix/confstr.c: Include posix-conf-vars.h.
3235 (confstr): Use CONF_IS_* macros.
3236 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3237 CONF_IS_* macros.
3238 * scripts/gen-posix-conf-vars.awk: New file.
3239
7c1395a7
CM
32402014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3241
0025b4cc
CM
3242 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3243 fegetround): Add no-op macros to avoid linknamespace issues.
3244
d8aaf74b
CM
3245 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3246 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3247
5d24aa60
CM
3248 * sysdeps/unix/sysv/linux/tile/sysdep.h
3249 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3250 assembly-specific section to avoid a redefinition warning.
3251
7c1395a7
CM
3252 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3253 long before casting to pointer to avoid a cast warning.
3254
3c87c616
CM
32552014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3256
3257 * sysdeps/tile/tilegx/Implies: New file.
3258
f559d8cf
RE
32592014-12-23 Richard Earnshaw <rearnsha@arm.com>
3260
3261 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3262
7d81e8d6
FW
32632014-12-23 Florian Weimer <fweimer@redhat.com>
3264
3265 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3266
90aa3d09
JM
32672014-12-22 Joseph Myers <joseph@codesourcery.com>
3268
3269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3270 not define.
3271 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3272 <kernel-features.h>.
3273 (__utimes) [__NR_utimes]: Make code unconditional.
3274 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3275 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3276 (__ASSUME_UTIMES): Do not undefine.
3277 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3278 (__ASSUME_UTIMES): Likewise.
3279 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3280 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3281 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3282 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3283
4c0c0e2a
SE
32842014-12-22 Steve Ellcey <sellcey@imgtec.com>
3285
3286 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3287
0dacd7a3
CM
32882014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3289
b638f96a
CM
3290 [BZ #17747]
3291 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3292 alias to weak alias for j0l, y0l.
3293 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3294 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3295
0dacd7a3
CM
3296 [BZ #17746]
3297 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3298 conversion.
3299
528479c4
SE
33002014-12-22 Steve Ellcey <sellcey@imgtec.com>
3301
3302 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3303 to zero if not already defined.
3304
f56f9124
JM
33052014-12-22 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #17724]
3308 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3309 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3310 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3311 (char *) casts added.
3312 * sysdeps/ieee754/k_standardf.c: New file.
3313 * sysdeps/ieee754/k_standardl.c: Likewise.
3314 * math/Makefile (libm-support): Remove k_standard.
3315 (libm-calls): Add k_standard.
3316
8622d556
WD
33172014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3318
3319 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3320 Optimize to avoid an unnecessary FPCR read.
3321
f3806bdb
WD
33222014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3323
3324 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3325 Optimize to reduce FPCR/FPSR accesses.
3326
9b47df58
WD
33272014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3328
3329 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3330 Call libc_fetestexcept_aarch64.
3331
97be3cac
WD
33322014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3333
3334 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3335 Call libc_fesetround_aarch64.
3336
935ab817
JM
33372014-12-22 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #17733]
3340 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3341 (__bind): Do not define as weak alias.
3342 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3343 define.
3344 (__getsockname): Do not define as weak alias.
3345
cc8623f1
WN
33462014-12-22 Will Newton <will.newton@linaro.org>
3347
3348 * manual/install.texi: Document that we require bison 2.7
3349 or above.
3350 * INSTALL: Regenerate.
3351 * configure.ac: Use AC_CHECK_PROG_VER instead of
3352 AC_PATH_PROG when checking for bison and check for
3353 version 2.7 or above.
3354 * configure: Regenerate.
3355
a19ca65a
CM
33562014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3357
92901170 3358 [BZ #17745]
e969965a
CM
3359 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3360 * sysdeps/tile/ffsll.c (ffsll): To here.
3361
a19ca65a
CM
3362 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3363
050f7298
L
33642014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3367 if not defined.
3368 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3369 definition.
3370 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3371 hidden ___tls_get_addr.
3372 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3373 hidden __tls_get_addr.
3374 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3375 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3376 Likewise.
3377
6df5547e
AS
33782014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3379
3380 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3381 _dl_init call.
3382
7432d613
L
33832014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3384
3385 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3386 from "call _dl_init@PLT".
3387 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3388
98fe149e
AK
33892014-12-21 Anders Kaseorg <andersk@mit.edu>
3390
3391 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3392 guarantees.
3393
d12455f5
CM
33942014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3395
3396 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3397
95dee05f
CM
33982014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3399
92901170 3400 [BZ #17744]
95dee05f
CM
3401 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3402 strnlen.
3403
2ef4b74a
SE
34042014-12-19 Steve Ellcey <sellcey@imgtec.com>
3405
3406 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3407 of multu on MIPSr6.
3408 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3409 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3410 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3411 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3412 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3413
34142014-12-19 Steve Ellcey <sellcey@imgtec.com>
3415
3416 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3417 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3418 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3419 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3420 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3421 mips32r6/mips64r6.
3422 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3423
3eb38795
OB
34242014-12-19 Ondřej Bílka <neleai@seznam.cz>
3425
3426 * string/strncat.c (STRNCAT): Simplify implementation.
3427
6d4188dd
DM
34282014-12-19 David S. Miller <davem@davemloft.net>
3429
0d4ba8be
DM
3430 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3431 access the quad as both a long double and as a series of 4 words.
3432
6d4188dd
DM
3433 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3434 link_map->l_info array access.
3435
4ef91cdc
CM
34362014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3437
804c54f7
CM
3438 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3439
4ef91cdc
CM
3440 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3441 * math/atest-exp2.c (TIMEOUT): Likewise.
3442 * math/atest-sincos.c (TIMEOUT): Likewise.
3443
afd176d6
L
34442014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3447 -Wno-error with -fno-builtin-lround.
3448
a4a43a90
TR
34492014-12-19 Torvald Riegel <triegel@redhat.com>
3450
3451 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3452 Contains futex constants and functions moved over from ...
3453 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3454 <lowlevellock-futex.h>.
3455 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3456 (lll_timedwait_tid): Add comments and parentheses around macro
3457 arguments.
3458
76f71081
TR
34592014-12-19 Torvald Riegel <triegel@redhat.com>
3460
3461 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3462 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3463 (__lll_private_flag): Remove.
3464 (lll_futex_wait): Likewise.
3465 (lll_futex_timed_wait): Likewise.
3466 (lll_futex_wake): Likewise.
3467 (lll_futex_requeue): Likewise.
3468 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3469 (__lll_timedwait_tid): Spell out argument names.
3470 (lll_timedwait_tid): Add comments and parentheses around macro
3471 arguments.
3472 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3473 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3474
6b814909
TR
34752014-12-19 Torvald Riegel <triegel@redhat.com>
3476
3477 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3478 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3479 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3480 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3481 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3482 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3483 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3484 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3485 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3487 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3488 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3490 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3491 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3492 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3493 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3494 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3495 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3496
9cd4d4ab
L
34972014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 * sysdeps/x86_64/x32/Makefile: New file.
3500
c9c1a2d0
L
35012014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3504 1L with (mp_limb_t) 1.
3505
af102d95
RM
35062014-12-17 Roland McGrath <roland@hack.frob.com>
3507
dd690454
RM
3508 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3509 * nptl/libc_pthread_init.c: ... here.
3510 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3511 * nptl/register-atfork.c: ... here.
3512
74eb826c
RM
3513 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3514 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3515 Use assert_perror to check its return value.
3516 (__gai_create_helper_thread): Likewise.
3517
c9ce306b
RM
3518 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3519
af102d95
RM
3520 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3521
8ac5a76a
JM
35222014-12-17 Joseph Myers <joseph@codesourcery.com>
3523
ea41469b
JM
3524 [BZ #17725]
3525 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3526 __profil_counter.
3527 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3528 Likewise.
3529 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3530 Likewise.
3531 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3532 Likewise.
3533 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3534 (profil_counter): Likewise.
3535 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3536 (profil_counter): Likewise.
3537 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3538 Likewise.
3539 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3540 Likewise.
3541 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3542 (profil_counter): Likewise.
3543 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3544 Likewise.
3545 [!__profil_counter] (profil_counter): Define as weak alias of
3546 __profil_counter.
3547 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3548 (profil_counter): Rename to __profil_counter.
3549 [!__profil_counter] (profil_counter): Define as weak alias of
3550 __profil_counter.
3551 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3552 (profil_counter): Rename to __profil_counter.
3553 [!__profil_counter] (profil_counter): Define as weak alias of
3554 __profil_counter.
3555 * sysdeps/posix/profil.c: Update comment referring to
3556 profil_counter.
3557 (__profil): Use __profil_counter instead of profil_counter.
3558 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3559 __profil_counter. Use __profil_counter_ushort and
3560 __profil_counter_uint in definitions.
3561 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3562 instead of profil_counter_uint and profil_counter_ushort.
3563
8ac5a76a
JM
3564 [BZ #17722]
3565 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3566 define as weak alias of __inet_makeaddr.
3567 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3568 as weak alias of __inet_addr.
3569 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3570 as weak alias of __inet_pton. Use libc_hidden_weak.
3571 * include/arpa/inet.h (__inet_pton): Declare. Use
3572 libc_hidden_proto.
3573 (inet_makeaddr): Don't use libc_hidden_proto.
3574 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3575 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3576 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3577 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3578 Remove variable.
3579 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3580 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3581
66ce3cb1
SE
35822014-12-17 Steve Ellcey <sellcey@imgtec.com>
3583
3584 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3585
d22ce01b
SL
35862014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3587
3588 * stdio-common/bug-vfprintf-nargs.c (do_test):
3589 Cast value to intptr_t to avoid format warning
3590 for usage with PRIdPTR printing macro.
3591
eca2772b
SL
35922014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3593
3594 * libio/tst-widetext.c (do_test):
3595 Use format type %td instead of %Zd for ptrdiff_t
3596 in order to avoid format warning.
3597
bdf079da
AS
35982014-12-17 Andreas Schwab <schwab@suse.de>
3599
3600 * nscd/mem.c (gc): Add size_t cast to match printf format.
3601
3eb5d2fc
RM
36022014-12-16 Roland McGrath <roland@hack.frob.com>
3603
3604 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3605 (init): Apply PTR_MANGLE to pointers before storing them.
3606 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3607 before using them.
3608
d003ada2
JM
36092014-12-16 Joseph Myers <joseph@codesourcery.com>
3610
380292ba
JM
3611 [BZ #17719]
3612 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3613 define as weak alias of __memrchr.
3614 (__memrchr): Do not define as strong alias of memrchr.
3615 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3616 Remove variable.
3617 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3618 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3619 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3620
9a44d530
JM
3621 [BZ #17717]
3622 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3623 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3624 (if_indextoname): Rename to __if_indextoname and define as weak
3625 alias of __if_indextoname. Use libc_hidden_weak.
3626 (if_freenameindex): Rename to __if_freenameindex and define as
3627 weak alias of __if_freenameindex.
3628 (if_nameindex): Rename to __if_nameindex and define as weak alias
3629 of __if_nameindex.
3630 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3631 __if_nametoindex and define as weak alias of __if_nametoindex.
3632 Use libc_hidden_weak.
3633 (if_freenameindex): Rename to __if_freenameindex and define as
3634 weak alias of __if_freenameindex.
3635 (if_nameindex): Rename to __if_nameindex and define as weak alias
3636 of __if_nameindex.
3637 (if_indextoname): Rename to __if_indextoname and define as weak
3638 alias of __if_indextoname. Use libc_hidden_weak.
3639 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3640 __if_nametoindex and define as weak alias of __if_nametoindex.
3641 Use libc_hidden_weak.
3642 (if_freenameindex): Rename to __if_freenameindex and define as
3643 weak alias of __if_freenameindex. Use libc_hidden_weak.
3644 (if_nameindex_netlink): Use __if_freenameindex instead of
3645 if_freenameindex.
3646 (if_nameindex): Rename to __if_nameindex and define as weak alias
3647 of __if_nameindex. Use libc_hidden_weak.
3648 (if_indextoname): Rename to __if_indextoname and define as weak
3649 alias of __if_indextoname. Use libc_hidden_weak.
3650 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3651 libc_hidden_proto.
3652 [!_ISOMAC] (__if_freenameindex): Likewise.
3653 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3654 if_nametoindex.
3655 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3656 variable.
3657 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3658 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3659 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3660 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3661 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3662 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3663 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3664
d003ada2
JM
3665 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3666 Remove variable.
3667 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3668 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3669
a0d424ef
SP
36702014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
0cd85520
SP
3672 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3673 subscript above bounds'
3674
a0d424ef
SP
3675 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3676 bounds.
3677
0e426475
AS
36782014-12-16 Arjun Shankar <arjun.is@lostca.se>
3679
8b460906
AS
3680 * libio/tst-fopenloc.c: Use test-skeleton.c.
3681
fa13e15b
AS
3682 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3683 (entry): Rename to ITEM.
3684 (do_test, comp): Adjust.
3685
0e426475
AS
3686 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3687
4f646bce
TR
36882014-12-16 Torvald Riegel <triegel@redhat.com>
3689
3690 * string/tester.c: Include <libc-internal.h>.
3691 (test_memset): Ignore -Wmemset-transposed-args.
3692
a07c4427
TR
36932014-12-16 Torvald Riegel <triegel@redhat.com>
3694
3695 * misc/tst-mntent2.c (do_test): Fix warning.
3696
1469f466
TR
36972014-12-16 Torvald Riegel <triegel@redhat.com>
3698
3699 * elf/tst-unique4lib.cc(a): Mark as used.
3700
11e3417a
FW
37012014-12-16 Florian Weimer <fweimer@redhat.com>
3702
3703 [BZ #17630]
3704 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3705 names.
3706
ae61fc7b
AM
37072014-12-16 Allan McRae <allan@archlinux.org>
3708
3709 * stdio-common/Makefile (tests): Re-add bug26.
3710
363a9899
OB
37112014-12-15 Ondřej Bílka <neleai@seznam.cz>
3712
3713 [BZ #17657]
3714 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3715 static array.
3716
d52c62df
TR
37172014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3718
3719 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3720 (__lll_lock_wait): Likewise.
3721 (__lll_timedlock_wait): Likewise.
3722 (__lll_timedwait_tid): Likewise.
3723 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3724 (__lll_robust_timedlock_wait): Likewise.
3725 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3726 (lll_cond_trylock): Likewise.
3727 (__lll_lock): Likewise.
3728 (__lll_robust_lock): Likewise.
3729 (__lll_cond_lock): Likewise.
3730 (lll_robust_cond_lock): Likewise.
3731 (__lll_timedlock): Likewise.
3732 (__lll_robust_timedlock): Likewise.
3733 (__lll_unlock): Likewise.
3734 (__lll_robust_unlock): Likewise.
3735 (lll_wait_tid): Likewise.
3736 (lll_timedwait_tid): Likewise.
3737
045a6bcd
TR
37382014-12-15 Torvald Riegel <triegel@redhat.com>
3739
3740 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3741
7f786dc1
TR
37422014-12-15 Torvald Riegel <triegel@redhat.com>
3743
3744 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3745
e7e21cba
AZ
37462014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3747
3748 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3749 * stdio-common/tst-sprintf.c: Likewise.
3750
bc89c0fc
TR
37512014-12-15 Torvald Riegel <triegel@redhat.com>
3752
3753 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3754
a5357b7c
JL
37552014-12-15 Jeff Law <law@redhat.com>
3756
3757 [BZ #16617]
3758 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3759 on the heap. (CVE-2012-3406)
3760 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3761 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3762 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3763
3a12c70f
WN
37642014-12-15 Will Newton <will.newton@linaro.org>
3765
3766 * manual/install.texi: Bump required version of texinfo
3767 to 4.7 from 4.5.
3768 * INSTALL: Regenerated.
3769 * configure.ac: Check for makeinfo version 4.7 and above.
3770 * configure: Regenerated.
3771
e4f639e4
RM
37722014-12-12 Roland McGrath <roland@hack.frob.com>
3773
3774 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3775 PREFIX, string constant to insert between directory and name.
3776 * sysdeps/posix/shm_open.c: Update caller.
3777 * sysdeps/posix/shm_unlink.c: Likewise.
3778 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3779 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3780 (SEM_SHM_PREFIX): New macro.
3781 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3782 [$(have-thread-library) = no].
3783 * nptl/Makefile (libpthread-routines): Add shm-directory.
3784 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3785 * sysdeps/nptl/shm-directory.h: New file.
3786 * sysdeps/posix/shm-directory.c
3787 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3788 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3789 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3790 INTERNAL_SYSCALL.
3791 (__where_is_shmfs): Function removed.
3792 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3793 Variables removed.
3794 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3795 Use SHM_GET_NAME.
3796 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3797
3798 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3799 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3800 unconditional for use inside libpthread.
3801 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3802
439c43f6
RM
38032014-12-12 Roland McGrath <roland@hack.frob.com>
3804
c76d1ff5
RM
3805 * nptl/pthread_getaffinity.c: New file.
3806 * nptl/pthread_setaffinity.c: New file.
3807 * nptl/pthread_getname.c: New file.
3808 * nptl/pthread_setname.c: New file.
3809
439c43f6
RM
3810 * nptl/pthread_create.c (START_THREAD_DEFN)
3811 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3812
48e435cd
SL
38132014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3814 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815
3816 * resolv/res_send.c (send_vc): Disable warning resplen may
3817 be used uninitialized.
3818
9d9c0019
SL
38192014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3820
3821 * nptl/tst-mutex6.c
3822 (ATTR_NULL): New define checks ATTR against NULL.
3823 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3824 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3825
9173840b
JL
38262014-12-11 James Lemke <jwlemke@codesourcery.com>
3827
3828 [BZ #17581]
3829 * malloc/hooks.c
3830 (mem2mem_check): Revert my previous change.
3831 (malloc_check_get_size): Revert my previous change.
3832 (mem2chunk_check): Revert my previous change.
3833
78e21c5d
RM
38342014-12-11 Roland McGrath <roland@hack.frob.com>
3835
3836 * sysdeps/posix/shm-directory.c: New file.
3837 * sysdeps/posix/shm-directory.h: New file.
3838 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3839 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3840 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3841 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3842 Transmute EPERM to EACCES.
3843 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3844 from ...
3845 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3846 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3847
f82c43af
KK
38482014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3849
3850 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3851 pointer and cast to uintptr_t.
3852 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3853 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3854 Add cast to avoid warning.
3855 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3856
fc00cf7b
JM
38572014-12-11 Joseph Myers <joseph@codesourcery.com>
3858
3859 * nptl/semaphore.h: Move to ...
3860 * sysdeps/pthread/semaphore.h: ... here.
3861 * Makefile (installed-headers): Change nptl/semaphore.h to
3862 sysdeps/pthread/semaphore.h.
3863
1c4053db
RM
38642014-12-11 Roland McGrath <roland@hack.frob.com>
3865
73b0c1a1
RM
3866 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3867 generated error format strings.
3868
1c4053db
RM
3869 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3870 -Wformat-extra-args warnings for scanf formats.
3871 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3872 test of zero-length format (duh).
3873 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3874 corner-case scanf format test.
3875 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3876 generated fprintf format string.
3877 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3878 corner-case sprintf format tests.
3879 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3880 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3881 -Wformat-extra-args warnings throughout.
3882 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3883 (CFLAGS-scanf4.c): Likewise.
3884 (CFLAGS-scanf7.c): Likewise.
3885 (CFLAGS-tst-sprintf.c): Likewise.
3886 (CFLAGS-tst-printf.c): Likewise.
3887 (CFLAGS-tst-printfsz.c): Likewise.
3888
47d51f4f
JM
38892014-12-11 Joseph Myers <joseph@codesourcery.com>
3890
a1edbf3c
JM
3891 * include/cpio.h: New file.
3892 * include/fmtmsg.h: Likewise.
3893
47d51f4f
JM
3894 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3895 corresponding format argument to size_t.
3896 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3897 arguments.
3898 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3899 corresponding format argument to size_t.
3900 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3901 arguments.
3902 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3903 corresponding format argument to size_t.
3904 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3905 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3906 (CFLAGS-tst-mbswcs2.c): Likewise.
3907 (CFLAGS-tst-mbswcs3.c): Likewise.
3908 (CFLAGS-tst-mbswcs4.c): Likewise.
3909 (CFLAGS-tst-mbswcs5.c): Likewise.
3910 (CFLAGS-tst-trans.c): Likewise
3911
e9813cfb
RM
39122014-12-11 Roland McGrath <roland@hack.frob.com>
3913
3914 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3915 rather than assuming they won't contain any '%'s.
3916
f627ca82
CM
39172014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3918
3919 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3920 inhibit_loop_to_libcall to avoid recursive calls.
3921 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3922 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3923
7f296942
AZ
39242014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3925
3926 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3927 prototype.
3928
d0276e18
SE
39292014-12-11 Steve Ellcey <sellcey@imgtec.com>
3930
3931 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3932 integer value instead of boolean.
3933
fc56e970
SE
39342014-12-11 Steve Ellcey <sellcey@imgtec.com>
3935
3936 * malloc/malloc.c: Fix powerof2 check.
3937
40e53917
SL
39382014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3939
3940 * locale/programs/locfile.h (maybe_swap_uint32):
3941 Remove inline and add unused attribute.
3942
1ea166df
SL
39432014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3944
9d9c0019 3945 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3946 Truncating assembler expression to a .long expression.
3947
acf869f4
AS
39482014-12-11 Andreas Schwab <schwab@suse.de>
3949
3950 * elf/rtld.c (struct map_args): Constify str member.
3951 (do_preload): Constify fname argument.
3952
9d969099
AZ
39532014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3954
3955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3956 constants definition.
3957
da5bcaa4
AS
39582014-12-11 Andreas Schwab <schwab@suse.de>
3959
b0a3c164
AS
3960 [BZ #16657]
3961 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3962 FORCE_ELISION instead of DO_ELISION.
3963 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3964 Remove.
3965 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3966 Likewise.
3967
da5bcaa4
AS
3968 * iconvdata/gconv-modules: Remove duplicate entry.
3969
6d248857
WN
39702014-12-11 Will Newton <will.newton@linaro.org>
3971
3972 Merge gettext 0.19.3 into intl/.
3973
3974 This involves a number of cosmetic changes to comments
3975 and ANSI function definitions and prototypes throughout
3976 all the files. The gettext copyright header is used but
3977 with the date ranges taken from the glibc copy.
3978
3979 * NEWS: Add gettext merge to 2.21.
3980 * intl/bindtextdom.c: Switch to gettext copyright.
3981 Use ANSI definitions and prototypes.
3982 Use gl_* locking primitives rather than __libc_* ones.
3983 Use __builtin_expect rather than __glibc_likely/unlikely.
3984 * intl/dcgettext.c: Switch to gettext copyright.
3985 Use ANSI definitions and prototypes.
3986 * intl/dcigettext.c: Switch to gettext copyright.
3987 Use ANSI definitions and prototypes.
3988 (INTDIV0_RAISES_SIGFPE): New define.
3989 Use gl_* locking primitives rather than __libc_* ones.
3990 Include eval-plural.h instead of plural-eval.c.
3991 Use __builtin_expect rather than __glibc_likely/unlikely.
3992 * intl/dcngettext.c: Switch to gettext copyright.
3993 Use ANSI definitions and prototypes.
3994 * intl/dgettext.c: Likewise.
3995 * intl/dngettext.c: Likewise.
3996 * intl/plural-eval.c: Renamed to...
3997 * intl/eval-plural.h: ...this.
3998 * intl/explodename.c: Switch to gettext copyright.
3999 Use ANSI definitions and prototypes.
4000 (_nl_explode_name): Use strchr instead of __rawmemchr.
4001 * intl/finddomain.c: Switch to gettext copyright.
4002 Use ANSI definitions and prototypes.
4003 Use gl_* locking primitives rather than __libc_* ones.
4004 (_nl_find_domain): Use malloc rather than alloca for
4005 allocation of temporary locale name.
4006 * intl/gettext.c: Switch to gettext copyright.
4007 Use ANSI definitions and prototypes.
4008 * intl/gettextP.h: Switch to gettext copyright.
4009 Use ANSI definitions and prototypes.
4010 Use gl_* locking primitives rather than __libc_* ones.
4011 * intl/gmo.h: Switch to gettext copyright.
4012 (struct sysdep_string): Move struct segment_pair outside of
4013 struct definition.
4014 * intl/hash-string.c: Use ANSI definitions and prototypes.
4015 * intl/hash-string.h: Switch to gettext copyright.
4016 Use ANSI definitions and prototypes.
4017 * intl/l10nflist.c: Switch to gettext copyright.
4018 Use ANSI definitions and prototypes.
4019 (_nl_normalize_codeset): Avoid integer overflow.
4020 * intl/loadinfo.h: Switch to gettext copyright.
4021 Use ANSI definitions and prototypes.
4022 (LIBINTL_DLL_EXPORTED): New define.
4023 (PATH_SEPARATOR): New define.
4024 * intl/loadmsgcat.c: Switch to gettext copyright.
4025 * intl/localealias.c: Switch to gettext copyright.
4026 Use ANSI definitions and prototypes.
4027 (_nl_expand_alias): Use PATH_SEPARATOR.
4028 * intl/ngettext.c: Switch to gettext copyright.
4029 Use ANSI definitions and prototypes.
4030 * intl/plural-exp.c: Likewise.
4031 * intl/plural-exp.h: Switch to gettext copyright.
4032 Use ANSI definitions and prototypes.
4033 (struct expression): Move definition of enum operator outside
4034 of struct definition.
4035 * intl/plural.c: Regenerate.
4036 * intl/plural.y: Switch to gettext copyright.
4037 Use ANSI definitions and prototypes.
4038 Port to bison 3.0.
4039 * intl/textdomain.c: Switch to gettext copyright.
4040 Use ANSI definitions and prototypes.
4041 Use gl_* locking primitives rather than __libc_* ones.
4042
48c43298
SE
40432014-12-10 Steve Ellcey <sellcey@imgtec.com>
4044
4045 * debug/warning-nop.c: Add used atrribute.
4046
2b89bce9
JM
40472014-12-10 Joseph Myers <joseph@codesourcery.com>
4048
c153ac9f
JM
4049 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4050
2b89bce9
JM
4051 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4052 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4053 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4054
2cfbdb9a
JM
40552014-12-10 Joseph Myers <joseph@codesourcery.com>
4056 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4057
4058 [BZ #17634]
4059 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4060 Undefine after defining function. Define as weak alias of
4061 __wcschr. Use libc_hidden_weak.
4062 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4063 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4064 (libc_hidden_def): Also define __GI___wcschr alias.
4065 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4066 __wcschr and define as weak alias of __wcschr.
4067 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4068 __wcschr.
4069 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4070 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4071 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4072 libc_hidden_weak. Do not use libc_hidden_def.
4073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4074 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4075 __GI___wcschr alias.
4076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4077 [IS_IN (libc)] (wcschr): Define as macro expanding to
4078 __redirect_wcschr.
4079 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4080 [IS_IN (libc)] (__wcschr_power6): Likewise.
4081 [IS_IN (libc)] (__wcschr_power7): Likewise.
4082 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4083 instead of wcschr.
4084 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4085 __libc_wcschr.
4086 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4087 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4088 __wcschr and define as weak alias of __wcschr. Use
4089 libc_hidden_builtin_def.
4090 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4091 as weak alias of __wcschr. Use libc_hidden_weak.
4092 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4093 wcschr.
4094 * time/era.c (_nl_init_era_entries): Likewise.
4095 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4096 variable.
4097 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4098 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4099
1b8bf351
JM
41002014-12-10 Joseph Myers <joseph@codesourcery.com>
4101
4102 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4103 format for long int variable.
4104
f5f46d51
AK
41052014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4106
4107 [BZ #10672]
07008f7d 4108 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4109 qsort stable.
4110
217a74a8
AS
41112014-12-10 Andreas Schwab <schwab@suse.de>
4112
4113 [BZ #12847]
4114 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4115 user-controlled locks.
4116
aa76a5c7
RE
41172014-12-10 Richard Earnshaw <rearnsha@arm.com>
4118
4119 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4120 register.
4121
2084e7ca
JM
41222014-12-10 Joseph Myers <joseph@codesourcery.com>
4123
a4ecc9eb
JM
4124 * configure.ac (--disable-werror): New configure option.
4125 (enable_werror): New AC_SUBST.
4126 * configure: Regenerated.
4127 * config.make.in (enable-werror): New variable.
4128 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4129 -Wno-error=undef.
4130 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4131 * manual/install.texi (Configuring and compiling): Document
4132 --disable-werror.
4133 * INSTALL: Regenerated.
4134 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4135 (CFLAGS-tst-chk2.c): Likewise.
4136 (CFLAGS-tst-chk3.c): Likewise.
4137 (CFLAGS-tst-chk4.cc): Likewise.
4138 (CFLAGS-tst-chk5.cc): Likewise.
4139 (CFLAGS-tst-chk6.cc): Likewise.
4140 (CFLAGS-tst-lfschk1.c): Likewise.
4141 (CFLAGS-tst-lfschk2.c): Likewise.
4142 (CFLAGS-tst-lfschk3.c): Likewise.
4143 (CFLAGS-tst-lfschk4.cc): Likewise.
4144 (CFLAGS-tst-lfschk5.cc): Likewise.
4145 (CFLAGS-tst-lfschk6.cc): Likewise.
4146
0f88636c
JM
4147 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4148 (main): Disable -Wdeprecated-declarations around calls to
4149 register_printf_function.
4150
c81e9deb
JM
4151 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4152 (do_test): Disable -Wdiv-by-zero around some calls to
4153 fwrite_unlocked and fread_unlocked.
4154
2084e7ca
JM
4155 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4156 (DIAG_POP_NEEDS_COMMENT): Likewise.
4157 (_DIAG_STR1): Likewise.
4158 (_DIAG_STR): Likewise.
4159 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4160 * stdio-common/bug21.c: Include <libc-internal.h>.
4161 (do_test): Disable -Wformat around call to sscanf.
4162 * stdio-common/scanf14.c: Include <libc-internal.h>.
4163 (main): Disable -Wformat around some calls to scanf functions.
4164
df7ecc6b
TR
41652014-12-09 Torvald Riegel <triegel@redhat.com>
4166
4167 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4168
2aa3862e
AZ
41692014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4170
4171 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4172 stack variable alignment.
4173
c5c2b7c3
JM
41742014-12-06 Joseph Myers <joseph@codesourcery.com>
4175
4176 [BZ #17682]
4177 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4178 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4179 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4180 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4181 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4182 __getrlimit instead of getrlimit.
4183 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4184 __gettimeofday instead of gettimeofday.
4185 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4186 Likewise.
4187 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4188 Likewise.
4189 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4190 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4191 Remove variable.
4192 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4193 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4194
9752c3cd
AZ
41952014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196
4197 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4198 for wide-character tests.
4199
4bee4cd9
RM
42002014-12-04 Roland McGrath <roland@hack.frob.com>
4201
4202 * io/openat64.c: #include <libc-internal.h>
4203 (__openat64): Prototypify. Use ignore_value on MODE.
4204 * io/openat.c: Likewise.
4205 * misc/reboot.c: #include <libc-internal.h>
4206 (reboot): Prototypify. Use ignore_value on HOWTO.
4207 * misc/ptrace.c: #include <libc-internal.h>
4208 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4209
84dbedb6
JM
42102014-12-04 Joseph Myers <joseph@codesourcery.com>
4211
4212 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4213 XPG4, UNIX98 and XOPEN2K.
4214 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4215 Remove variable.
4216 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4217
b7a3e1c4 42182014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4219
af50dfc1 4220 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4221 * libio/iofopen.c: Likewise.
4222 * libio/wfileops.c: Likewise.
4223
fe8b4d98
SP
4224 [BZ #17653]
4225 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4226 offset on EOF.
4227 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4228 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4229 (fgets_func): Function pointer to fgets and fgetws.
4230 (do_ftell_test): Add test to verify ftell value after read
4231 EOF.
4232 (do_test): Set fgets_func.
4233
61b4f792
SP
4234 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4235 O_TRUNC flag for w and w+ modes.
4236 (do_rewind_test): Likewise.
4237 (do_ftell_test): Likewise.
4238 (do_write_test): Likewise.
4239
be349d70
SP
4240 [BZ #17647]
4241 * libio/fileops.c (do_ftell): Seek only when there are
4242 unflushed writes.
4243 * libio/wfileops.c (do_ftell_wide): Likewise.
4244 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4245 test case.
4246 (do_one_test): Call it.
4247
e3d6dba5
JM
42482014-12-03 Joseph Myers <joseph@codesourcery.com>
4249
4250 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4251 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4252 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4253 Remove variable.
4254 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4255 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4256 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4257
7f994279
JM
42582014-12-02 Joseph Myers <joseph@codesourcery.com>
4259
28a91e8f
JM
4260 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4261 Remove variable.
4262 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4263
7f994279
JM
4264 [BZ #17668]
4265 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4266 as weak alias of __getifaddrs. Use libc_hidden_weak.
4267 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4268 __freeifaddrs. Use libc_hidden_weak.
4269 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4270 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4271 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4272 __freeifaddrs. Use libc_hidden_weak.
4273 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4274 __getifaddrs and define as weak alias of __getifaddrs. Use
4275 libc_hidden_weak.
4276 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4277 __freeifaddrs. Use libc_hidden_weak.
4278 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4279 Remove variable.
4280 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4281 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4282
bbe4c142
PJ
42832014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4284
4285 [BZ #17601]
4286 * sysdeps/mips/start.S (__start): Use indirect jump to call
4287 __libc_start_main.
4288
66cadc05
JM
42892014-12-02 Joseph Myers <joseph@codesourcery.com>
4290
909e16d9
JM
4291 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4292
4e0b9016
JM
4293 * nptl/tst-mutex1.c: Include <stdbool.h>.
4294 [!ATTR] (ATTR_NULL): New macro.
4295 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4296 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4297 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4298
b1aff6a4
JM
4299 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4300 to char *.
4301
266865c0
JM
4302 [BZ #17665]
4303 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4304 Change conditional to [__USE_MISC].
4305
84e5e756
JM
4306 [BZ #17664]
4307 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4308 fgets_unlocked.
4309 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4310 __fgets_unlocked.
4311 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4312 fgets_unlocked.
4313 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4314 Remove variable.
4315 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4316 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4317 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4318 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4319 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4320 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4321 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4322 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4323 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4324
66cadc05
JM
4325 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4326
2e8a2de2 43272014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4328
4329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4330 Remove strpbrk objects.
4331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4332 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4333 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4334 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4335 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4336 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4337
bb2542e0
AZ
4338 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4339 Remove strcspn objects.
4340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4341 (__libc_ifunc_impl_list): Remove strcspn implementation.
4342 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4343 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4344 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4345 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4346
4347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4348 Remove strspn objetcs.
4349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4350 (__libc_ifunc_impl_list): Remove strspn implementation.
4351 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4352 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4353 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4354 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4355
08f1e1d2
JL
43562014-12-01 James Lemke <jwlemke@codesourcery.com>
4357
4358 [BZ #17581]
4359 * malloc/hooks.c
4360 (mem2mem_check): Add a terminator to the chain of checking blocks.
4361 (malloc_check_get_size): Use it here.
4362 (mem2chunk_check): Ditto.
4363
a8a7d7d2
RS
43642014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4365
4366 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4367 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4368
97114a38
CD
43692014-11-29 Carlos O'Donell <carlos@redhat.com>
4370
c8dc1727
CD
4371 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4372
6d03458e
CD
4373 * nptl/nptl-init.c: Include libc-internal.h.
4374 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4375
97114a38
CD
4376 * elf/ldconfig.c (search_dir): Expand comment.
4377
0e7e69ba
JM
43782014-11-29 Joseph Myers <joseph@codesourcery.com>
4379
4380 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4381 variable.
4382 (linknamespace-symlist-stdlibs-tests): Likewise.
4383 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4384 instead of $(objpfx)symlist-stdlibs.
4385 (linknamespace-libs-isoc): New variable.
4386 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4387 (linknamespace-libs-ISO): New variable.
4388 (linknamespace-libs-ISO99): Likewise.
4389 (linknamespace-libs-ISO11): Likewise.
4390 (linknamespace-libs-XPG3): Likewise.
4391 (linknamespace-libs-XPG4): Likewise.
4392 (linknamespace-libs-POSIX): Likewise.
4393 (linknamespace-libs-UNIX98): Likewise.
4394 (linknamespace-libs-XOPEN2K): Likewise.
4395 (linknamespace-libs-POSIX2008): Likewise.
4396 (linknamespace-libs-XOPEN2K8): Likewise.
4397 ($(objpfx)symlist-stdlibs): Replace by
4398 $(linknamespace-symlist-stdlibs-tests). Use
4399 $(linknamespace-libs-$*) as set of libraries.
4400 ($(linknamespace-header-tests)): Update dependencies. Use
4401 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4402 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4403 * conform/linknamespace.pl: Remove comment about considering
4404 definitions of symbols from irrelevant libraries.
4405
d8dd0080
L
44062014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 [BZ #13862]
4409 * elf/dl-tls.c: Include <atomic.h>.
4410 (oom): Remove #ifdef SHARED/#endif.
4411 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4412 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4413 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4414 big enough.
4415 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4416 * nptl/Makefile (tests): Add tst-stack4.
4417 (modules-names): Add tst-stack4mod.
4418 ($(objpfx)tst-stack4): New.
4419 (tst-stack4mod.sos): Likewise.
4420 ($(objpfx)tst-stack4.out): Likewise.
4421 ($(tst-stack4mod.sos)): Likewise.
4422 (clean): Likewise.
4423 * nptl/tst-stack4.c: New file.
4424 * nptl/tst-stack4mod.c: Likewise.
4425
167da422
B
44262014-11-27 J. Brown <jb999@gmx.de>
4427
4428 * sysdeps/x86/bits/string.h: Add recent CPUs.
4429
9114625b
JM
44302014-11-27 Joseph Myers <joseph@codesourcery.com>
4431
6b5189eb
JM
4432 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4433 sigblock.
4434
49051f8e
JM
4435 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4436 feof.
4437
9114625b
JM
4438 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4439 variable.
4440
e7300fef
SL
44412014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4442
4443 * nscd/connections.c: Include libc-internal.h because of macro
4444 usage ignore_value.
4445
1721f0a4
SP
44462014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4447
4448 * string/bits/string3.h (__warn_memset_zero_len): Don't
4449 declare for gcc newer than 5.0.
4450 (memset): Don't test for zero-length __LEN for gcc newer than
4451 5.0.
4452
be970916
JM
44532014-11-27 Joseph Myers <joseph@codesourcery.com>
4454
d88548f4
JM
4455 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4456 size_t for %zu format.
4457
be970916
JM
4458 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4459 difference, not %ju.
4460
3b20fd5c
JM
44612014-11-26 Joseph Myers <joseph@codesourcery.com>
4462
8915eace
JM
4463 * include/libc-internal.h (ignore_value): New macro.
4464 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4465 with ignore_value.
4466
f1a5a0e3
JM
4467 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4468 definition.
4469
59ef1715
JM
4470 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4471 pthread_cleanup_push to void *.
4472
a6f3079b
JM
4473 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4474 Undefine.
4475
706688aa
JM
4476 [BZ #16619]
4477 [BZ #16740]
4478 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4479 instead of 1L << 52.
4480
12da14a5
JM
4481 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4482 * libio/bug-rewind2.c (do_test): Likewise.
4483
bd5dadac
JM
4484 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4485 * debug/test-strcpy_chk-ifunc.c: Likewise.
4486 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4487 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4488 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4489 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4490 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4491 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4492 * Rules [$(multi-arch) = no] (tests): Do not filter out
4493 $(tests-ifunc).
4494 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4495 * debug/Makefile (tests-ifunc): Remove variable.
4496 (tests): Do not add $(tests-ifunc).
4497 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4498 (tests): Do not add $(tests-ifunc).
4499 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4500 [TEST_IFUNC]: Remove conditionals.
4501 * string/test-string.h (TEST_IFUNC): Remove macro.
4502 [TEST_IFUNC]: Remove conditionals.
4503
3b20fd5c
JM
4504 * string/test-strchr.c [!WIDE] (L): New macro.
4505 [WIDE] (L): Likewise.
4506 (check1): Use CHAR instead of char. Use L on string and character
4507 constants.
4508
704f7947
AZ
45092014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4510
4511 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4512 tests.
4513 * sysdeps/powerpc/bits/atomic.h
4514 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4515 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4516 (atomic_exchange_and_add_acq): Likewise.
4517 (atomic_exchange_and_add_rel): Likewise.
4518 * sysdeps/powerpc/powerpc32/bits/atomic.h
4519 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4520 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4521 * sysdeps/powerpc/powerpc64/bits/atomic.h
4522 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4523 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4524
cdcb42d7
TR
45252014-11-26 Torvald Riegel <triegel@redhat.com>
4526
4527 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4528 Change synchronization of __sched_fifo_min_prio and
4529 __sched_fifo_max_prio.
4530 * nptl/pthread_mutexattr_getprioceiling.c
4531 (pthread_mutexattr_getprioceiling): Likewise.
4532 * nptl/pthread_mutexattr_setprioceiling.c
4533 (pthread_mutexattr_setprioceiling): Likewise.
4534 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4535 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4536 Likewise.
4537
c82f5c0c
JM
45382014-11-26 Joseph Myers <joseph@codesourcery.com>
4539
4540 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4541 void.
4542
439e1ad6
JM
45432014-11-25 Joseph Myers <joseph@codesourcery.com>
4544
4545 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4546 third argument const.
4547
b1eda10e
PE
45482014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 fnmatch: work around GCC compiler warning bug with uninit var
4551 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4552 This works around a bug with x86-64 GCC 4.9.2 and earlier
4553 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4554 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4555 used uninitialized in this function [-Wmaybe-uninitialized]".
4556
bde2667a
JM
45572014-11-25 Joseph Myers <joseph@codesourcery.com>
4558
4559 * posix/bug-regex31.c (main): Return RES not 0.
4560
5fbb5691
AB
45612014-11-25 Anton Blanchard <anton@samba.org>
4562
4563 * sysdeps/powerpc/bits/atomic.h
4564 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4565
467fec0b
BM
45662014-11-24 Sterling Augustine <saugustine@google.com>
4567
4568 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4569
e9ff8efb
RC
45702014-11-24 Ryan Cumming <etaoins@gmail.com>
4571
4572 [BZ #17608]
4573 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4574
9744496f
JM
45752014-11-24 Joseph Myers <joseph@codesourcery.com>
4576
4577 [BZ #17633]
4578 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4579 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4580 variable.
4581 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4582 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4583
6423d475
WD
45842014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4585
4586 * string/strncpy.c (strncpy): Improve performance by using memset.
4587
45882014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4589
4590 * string/strcpy.c (strcpy):
4591 Improve performance by using strlen and memcpy.
4592
5d178c37
LH
45932014-11-24 Leonhard Holz <leonhard.holz@web.de>
4594
4595 * string/strcoll_l.c (get_next_seq): __always_inline.
4596 * string/strcoll_l.c (do_compare): __always_inline.
4597
279bc5b3
SP
45982014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4599
7a9ebfa1
SP
4600 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4601 defined.
4602 * include/mqueue.h: Likewise.
4603 * include/stdlib.h: Likewise.
4604
4f41c682
SP
4605 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4606 (get_null_defines): Adjust.
4607 * sunrpc/Makefile: Adjust comment.
4608 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4609 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4610 (CFLAGS-interp.c): Likewise.
4611 (CFLAGS-ldconfig.c): Likewise.
4612 (CPPFLAGS-.os): Likewise.
4613 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4614 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4615 * extra-modules.mk (extra-modules.mk): Likewise.
4616 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4617 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4618 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4619 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4620 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4621 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4622 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4623 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4624 * iconvdata/Makefile (CPPFLAGS): Likewise.
4625 (cpp-srcs-left): Add libof for all iconvdata routines.
4626 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4627 * include/assert.h: Likewise.
4628 * include/ctype.h: Likewise.
4629 * include/errno.h: Likewise.
4630 * include/libc-symbols.h: Likewise.
4631 * include/math.h: Likewise.
4632 * include/netdb.h: Likewise.
4633 * include/resolv.h: Likewise.
4634 * include/stdio.h: Likewise.
4635 * include/stdlib.h: Likewise.
4636 * include/string.h: Likewise.
4637 * include/sys/stat.h: Likewise.
4638 * include/wctype.h: Likewise.
4639 * intl/l10nflist.c: Likewise.
4640 * libidn/idn-stub.c: Likewise.
4641 * libio/libioP.h: Likewise.
4642 * nptl/libc_multiple_threads.c: Likewise.
4643 * nptl/pthreadP.h: Likewise.
4644 * posix/regex_internal.h: Likewise.
4645 * resolv/res_hconf.c: Likewise.
4646 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4647 * sysdeps/arm/memmove.S: Likewise.
4648 * sysdeps/arm/sysdep.h: Likewise.
4649 * sysdeps/generic/_itoa.h: Likewise.
4650 * sysdeps/generic/symbol-hacks.h: Likewise.
4651 * sysdeps/gnu/errlist.awk: Likewise.
4652 * sysdeps/gnu/errlist.c: Likewise.
4653 * sysdeps/i386/i586/memcpy.S: Likewise.
4654 * sysdeps/i386/i586/memset.S: Likewise.
4655 * sysdeps/i386/i686/memcpy.S: Likewise.
4656 * sysdeps/i386/i686/memmove.S: Likewise.
4657 * sysdeps/i386/i686/mempcpy.S: Likewise.
4658 * sysdeps/i386/i686/memset.S: Likewise.
4659 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4660 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4661 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4662 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4663 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4664 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4665 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4666 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4669 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4670 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4671 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4672 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4673 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4676 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4706 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4715 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4716 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4717 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4718 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4719 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4721 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4722 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4723 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4724 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4725 * sysdeps/posix/closedir.c: Likewise.
4726 * sysdeps/posix/opendir.c: Likewise.
4727 * sysdeps/posix/readdir.c: Likewise.
4728 * sysdeps/posix/rewinddir.c: Likewise.
4729 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4730 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4731 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4732 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4733 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4734 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4735 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4736 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4737 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4738 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4740 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4741 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4743 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4744 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4745 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4746 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4748 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4750 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4751 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4752 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4754 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4757 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4765 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4766 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4769 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4770 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4774 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4775 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4777 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4778 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4779 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4780 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4781 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4786 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4788 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4789 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4790 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4791 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4793 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4795 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4796 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4797 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4798 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4800 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4801 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4803 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4804 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4805 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4806 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4808 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4809 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4810 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4811 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4812 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4813 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4814 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4815 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4816 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4817 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4818 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4819 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4820 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4821 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4825 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4826 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4827 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4828 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4829 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4830 * sysdeps/unix/alpha/sysdep.S: Likewise.
4831 * sysdeps/unix/alpha/sysdep.h: Likewise.
4832 * sysdeps/unix/make-syscalls.sh: Likewise.
4833 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4834 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4835 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4836 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4837 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4838 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4839 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4840 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4841 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4842 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4843 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4844 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4845 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4846 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4847 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4848 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4849 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4850 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4851 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4852 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4853 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4854 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4855 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4856 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4857 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4858 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4862 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4863 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4867 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4868 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4871 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4872 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4873 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4874 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4875 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4876 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4883 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4884 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4885 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4886 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4887 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4888 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4889 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4891 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4892 * sysdeps/x86_64/memcpy.S: Likewise.
4893 * sysdeps/x86_64/memmove.c: Likewise.
4894 * sysdeps/x86_64/memset.S: Likewise.
4895 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4896 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4897 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4898 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4899 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4905 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4907 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4912 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4913 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4914 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4915 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4916 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4919 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4920 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4921 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4922 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4923 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4924 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4925 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4926 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4927 * sysdeps/x86_64/strcmp.S: Likewise.
4928
76ca86a5
SP
4929 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4930
a3848485
SP
4931 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4932 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4933 * elf/rtld-Rules: Likewise.
4934 * elf/setup-vdso.h: Likewise.
4935 * include/assert.h: Likewise.
4936 * include/bits/stdlib-float.h: Likewise.
4937 * include/errno.h: Likewise.
4938 * include/sys/stat.h: Likewise.
4939 * include/unistd.h: Likewise.
4940 * sysdeps/aarch64/setjmp.S: Likewise.
4941 * sysdeps/alpha/setjmp.S: Likewise.
4942 * sysdeps/arm/__longjmp.S: Likewise.
4943 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4944 * sysdeps/arm/setjmp.S: Likewise.
4945 * sysdeps/arm/sysdep.h: Likewise.
4946 * sysdeps/generic/_itoa.h: Likewise.
4947 * sysdeps/generic/dl-sysdep.h: Likewise.
4948 * sysdeps/generic/ldsodefs.h: Likewise.
4949 * sysdeps/i386/dl-tls.h: Likewise.
4950 * sysdeps/i386/setjmp.S: Likewise.
4951 * sysdeps/m68k/setjmp.c: Likewise.
4952 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4953 * sysdeps/mach/hurd/opendir.c: Likewise.
4954 * sysdeps/posix/getcwd.c: Likewise.
4955 * sysdeps/posix/opendir.c: Likewise.
4956 * sysdeps/posix/profil.c: Likewise.
4957 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4959 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4960 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4961 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4963 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4964 * sysdeps/s390/dl-tls.h: Likewise.
4965 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4966 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4967 * sysdeps/sh/sh3/setjmp.S: Likewise.
4968 * sysdeps/sh/sh4/setjmp.S: Likewise.
4969 * sysdeps/unix/alpha/sysdep.h: Likewise.
4970 * sysdeps/unix/arm/sysdep.S: Likewise.
4971 * sysdeps/unix/i386/sysdep.S: Likewise.
4972 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4973 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4974 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4975 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4976 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4978 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4979 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4980 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4981 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4982 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4983 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4987 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4988 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4991 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4992 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4995 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4996 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5000 * sysdeps/x86_64/setjmp.S: Likewise.
5001
a109996e
SP
5002 * include/math.h: Use IS_IN instead of IS_IN_libm.
5003 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5014 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5015 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5016 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5021 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5023 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5024 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5025 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5026 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5027 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5028 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5029 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5030 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5031 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5032 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5033 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5035 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5037 Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5039 Likewise.
5040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5041 Likewise.
5042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5043 Likewise.
5044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5045 Likewise.
5046 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5048 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5050 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5051 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5057 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5059 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5060 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5062 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5063 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5064 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5065 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5066 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5067 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5068 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5070 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5072 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5073
ce9f10f7
SP
5074 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5075 * nptl/pthreadP.h: Likewise.
5076 * nptl_db/structs.def: Likewise.
5077 * sysdeps/arm/sysdep.h: Likewise.
5078 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5079 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5080 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5081 * sysdeps/unix/alpha/sysdep.h: Likewise.
5082 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5083 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5085 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5086 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5088 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5089 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5090 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5091 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5092 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5093 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5094 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5095 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5103 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5104 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5105 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5106 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5108
016afc75
SP
5109 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5110 * nptl/pthreadP.h: Likewise.
5111 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5112 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5113 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5114 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5115 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5116 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5117 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5119 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5120 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5121 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5122 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5124 Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5126 Likewise.
5127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5132 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5133 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5134 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5135
9b42a0b3
SP
5136 * dlfcn/dladdr.c: Use IS_IN.
5137 * dlfcn/dladdr1.c: Likewise.
5138 * dlfcn/dlclose.c: Likewise.
5139 * dlfcn/dlerror.c: Likewise.
5140 * dlfcn/dlinfo.c: Likewise.
5141 * dlfcn/dlmopen.c: Likewise.
5142 * dlfcn/dlopen.c: Likewise.
5143 * dlfcn/dlsym.c: Likewise.
5144 * dlfcn/dlvsym.c: Likewise.
5145
85f36372
SP
5146 * include/ifaddrs.h: Use IS_IN.
5147 * inet/check_pf.c: Likewise.
5148 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5149 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5150
fb6784e3
SP
5151 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5152 IS_IN_ldconfig.
5153 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5154 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5155
2886d2d1
SP
5156 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5157 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5158 IS_IN (libc).
5159
9a484857
SP
5160 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5161
a10178bd
SP
5162 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5163 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5164 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5165 * include/libc-symbols.h (IS_IN_LIB): New macro.
5166 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5167 * include/netdb.h: Likewise.
5168 * include/stap-probe.h: Remove all uses of IN_LIB.
5169
279bc5b3
SP
5170 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5171 instead of IN_MODULE.
5172 * include/libc-symbols.h (IN_MODULE): Define using
5173 MODULE_NAME.
5174 (PASTE_NAME, PASTE_NAME1): New macros.
5175 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5176 of IN_LIB.
5177 (STAP_PROBE_ASM): Likewise.
5178
e0cfa510
ST
51792014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5180
5181 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5182 __mach_init in dlopened libc.
5183
34d97d87
MF
51842014-11-22 Mike Frysinger <vapier@gentoo.org>
5185
5186 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5187 * sysdeps/arm/preconfigure: Regenerate.
5188
33cd1f74
RM
51892014-11-21 Roland McGrath <roland@hack.frob.com>
5190
5191 * nptl/pthread_create.c (__pthread_create_2_1): Set
5192 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5193 when copying values from IATTR into PD.
5194
8c230039
WN
51952014-11-21 Will Newton <will.newton@linaro.org>
5196 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5197
6d3db89b
AP
5198 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5199 Refactor inline-asm. Also add comment.
5200
01194ba1
WN
5201 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5202 ElfW macro instead of hardcoded Elf64 types.
5203 (la_aarch64_gnu_pltenter): Likewise.
5204 * sysdeps/aarch64/dl-machine.h
5205 (elf_machine_runtime_setup): Use ElfW(Addr).
5206
8c230039
WN
5207 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5208 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5209 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5210 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5211 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5212 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5213 (R_AARCH64_TLS_DTPMOD): This.
5214 (R_AARCH64_TLS_DTPREL64): Rename to ...
5215 (R_AARCH64_TLS_DTPREL): This.
5216 (R_AARCH64_TLS_TPREL64): Rename to ...
5217 (R_AARCH64_TLS_TPREL): This.
5218 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5219 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5220 R_AARCH64_TLS_TPREL64.
5221 (elf_machine_rela): Likewise.
5222
0d79fa53
TR
52232014-11-21 Torvald Riegel <triegel@redhat.com>
5224
5225 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5226 by setting it to 0. 64b atomics are not supported currently.
5227
b59d114b
AO
52282014-11-21 Alexandre Oliva <aoliva@redhat.com>
5229
5230 [BZ #16469]
5231 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5232 search domain names.
5233
f3d945d5
AO
52342014-11-21 Alexandre Oliva <aoliva@redhat.com>
5235
5236 [BZ #16469]
5237 * NEWS: Update.
5238 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5239 trailing dot.
5240 * posix/tst-getaddrinfo5.c: New.
5241 * posix/Makefile (tests): Add it.
5242
49698902
AO
52432014-11-21 Alexandre Oliva <aoliva@redhat.com>
5244
5245 [BZ #14498]
5246 * NEWS: Fixed.
5247 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5248 after parsing line but before break_if_match.
5249 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5250 if there is a protocol mismatch.
5251
81959214
MS
52522014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5253
5254 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5255 because the potential race is on the user-supplied stream.
5256
7729e0e9
AO
52572014-11-21 Alexandre Oliva <aoliva@redhat.com>
5258
5259 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5260 string literal if not passed a buffer.
5261 * manual/job.texi (ctermid): Update reasoning, note deviation
5262 from posix, suggest mtasurace when not passed a buffer, for
5263 future non-preliminary safety notes.
5264
a4ea5e28
AO
52652014-11-21 Alexandre Oliva <aoliva@redhat.com>
5266
5267 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5268 of not passing it a buffer.
5269 Reported by Peng Haitao.
5270
a2b581cb
AO
52712014-11-21 Alexandre Oliva <aoliva@redhat.com>
5272
5273 * manual/Makefile ($(objpfx)stamp-summary): Require
5274 check-safety.sh to pass.
5275 * manual/check-safety.sh: Wish for verification that every
5276 @deftypefn and @deftypefun is followed by a @safety remark.
5277
f214ff74
RM
52782014-11-20 Roland McGrath <roland@hack.frob.com>
5279
7f0dfae0
RM
5280 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5281
2f531bbb
RM
5282 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5283 PTHREAD_CANCEL_ASYNCHRONOUS.
5284 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5285 send SIGCANCEL.
5286
f214ff74
RM
5287 * nptl/default-sched.h: New file.
5288 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5289 * nptl/pthread_create.c: Include it.
5290 (__pthread_create_2_1): Use collect_default_sched instead of making
5291 Linux syscalls here directly.
5292
e37c91d4
TR
52932014-11-20 Torvald Riegel <triegel@redhat.com>
5294
5295 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5296 __pthread_once): Use C11 atomics.
5297
1eccfecd
TR
52982014-11-20 Torvald Riegel <triegel@redhat.com>
5299
5300 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5301
ff871426
TR
53022014-11-20 Torvald Riegel <triegel@redhat.com>
5303
5304 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5305 atomic_thread_fence_acquire, atomic_thread_fence_release,
5306 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5307 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5308 atomic_compare_exchange_weak_relaxed,
5309 atomic_compare_exchange_weak_acquire,
5310 atomic_compare_exchange_weak_release,
5311 atomic_exchange_acquire, atomic_exchange_release,
5312 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5313 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5314 atomic_fetch_and_acquire,
5315 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5316
1ea339b6
TR
53172014-11-20 Torvald Riegel <triegel@redhat.com>
5318
5319 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5320 USE_ATOMIC_COMPILER_BUILTINS): Define.
5321 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5323 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5325 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5327 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5328 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5329 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5331 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5333 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5334 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5335 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5336 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5337 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5338 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5339 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5340 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5341 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5342 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5343 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5344 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5345 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5346 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5347 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5348 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5349 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5350 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5351 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5352 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5353 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5354 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5355 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5356 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5357 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5358 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5359 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5360 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5361
cbd463e2
RM
53622014-11-19 Roland McGrath <roland@hack.frob.com>
5363
d960211f
RM
5364 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5365 the sched_priority value here. It was already checked when the user
5366 called pthread_attr_setschedparam.
5367
cbd463e2
RM
5368 * nptl/tst-bad-schedattr.c: New file.
5369 * nptl/Makefile (tests): Add it.
5370
a39208bd
CD
53712014-11-19 Carlos O'Donell <carlos@redhat.com>
5372 Florian Weimer <fweimer@redhat.com>
5373 Joseph Myers <joseph@codesourcery.com>
5374 Adam Conrad <adconrad@0c3.net>
5375 Andreas Schwab <schwab@suse.de>
5376 Brooks <bmoses@google.com>
5377
5378 [BZ #17625]
5379 * wordexp-test.c (__dso_handle): Add prototype.
5380 (__register_atfork): Likewise.
5381 (__app_register_atfork): New function.
5382 (registered_forks): New global.
5383 (register_fork): New function.
5384 (test_case): Add 3 new tests for WRDE_CMDSUB.
5385 (main): Call __app_register_atfork.
5386 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5387 fork count is non-zero fail the test.
5388 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5389 is set.
5390 (parse_dollars): Remove check for WRDE_NOCMD.
5391 (parse_dquote): Likewise.
5392
9cd47470
SP
53932014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5394
130ac68c
SP
5395 * Makeconfig (built-modules): List non-library modules to be
5396 built.
5397 (module-cppflags): Include libc-modules.h for
5398 everything except shlib-versions.v.i.
5399 (CPPFLAGS): Use it.
5400 (before-compile): Add libc-modules.h.
5401 ($(common-objpfx)libc-modules.h,
5402 $(common-objpfx)libc-modules.stmp): New targets.
5403 (common-generated): Add libc-modules.h and libc-modules.stmp.
5404 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5405 * include/libc-symbols.h: Don't include libc-modules.h.
5406 * include/libc-modules.h: Remove file.
5407 * scripts/gen-libc-modules.awk: New script to generate
5408 libc-modules.h.
5409 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5410 Depend on libc-modules.stmp.
5411
286663c3
SP
5412 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5413
9cd47470
SP
5414 * Makeconfig (in-module): Get value of libof set for the
5415 translation unit.
5416 (CPPFLAGS): Use $(in-module).
5417 * Makerules: Don't suffix routine names for nonlib.
5418 * include/libc-modules.h: New file.
5419 * include/libc-symbols.h: Include libc-modules.h
5420 (IS_IN): New macro to replace IS_IN_* macros.
5421 * elf/Makefile: Set libof-* for each routine.
5422 * elf/rtld-Rules: Likewise.
5423 * extra-modules.mk: Likewise.
5424 * iconv/Makefile: Likewise.
5425 * iconvdata/Makefile: Likewise.
5426 * locale/Makefile: Likewise.
5427 * malloc/Makefile: Likewise.
5428 * nss/Makefile: Likewise.
5429 * sysdeps/gnu/Makefile: Likewise.
5430 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5431 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5432 * sysdeps/s390/s390-64/Makefile: Likewise.
5433 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5434 CPPFLAGS for nscd instead of nonlib.
5435
32fed10f
RM
54362014-11-18 Roland McGrath <roland@hack.frob.com>
5437
d71035bd
RM
5438 * nptl/createthread.c: New file.
5439
6540b991
RM
5440 * nptl/createthread.c: Moved ...
5441 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5442
32fed10f
RM
5443 * nptl/createthread.c: Add proper top-line comment.
5444 (do_clone): Folded into ...
5445 (create_thread): ... here. Take new arguments STOPPED_START and
5446 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5447 increment __nptl_threads, do event-reporting logic, do
5448 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5449 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5450 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5451 just send SIGCANCEL.
5452 * nptl/pthread_create.c: Forward-declare create_thread before
5453 including createthread.c.
5454 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5455 declaration, and new macro START_THREAD_SELF to replace argument.
5456 Remove return statement.
5457 (report_thread_creation): New function.
5458 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5459 synchronization logic, and __nptl_nthreads increment here, around
5460 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5461 PD->parent_cancelhandling here, before create_thread. When
5462 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5463 __deallocate_stack, and ENOMEM translation here.
5464
107a5bf0
JM
54652014-11-18 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #17616]
5468 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5469 (mptwo): Rename to __mptwo.
5470 (__inv): Use __mptwo instead of mptwo.
5471 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5472 (mptwo): Rename to __mptwo.
5473 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5474 of mpone and __mptwo instead of mptwo.
5475 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5476 instead of mpone.
5477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5478 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5479 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5480 of mpone and __mptwo instead of mptwo.
5481 (__mpranred): Use __mpone instead of mpone.
5482 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5483 variable.
5484 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5485 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5486 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5487 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5488 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5489 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5490 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5491 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5492 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5493 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5494 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5495 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5496 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5497 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5498 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5499 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5500 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5501 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5502 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5503
3b679ab3
TV
55042014-11-18 Tom de Vries <tom@codesoucery.com>
5505
5506 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5507 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5508
55092014-11-17 Richard Henderson <rth@redhat.com>
5510
5511 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5512 (_FP_PACK_RAW_2): Remove.
5513 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5514 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5515 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5516 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5517 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5518 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5519 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5520 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5521 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5522 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5523 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5524 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5525 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5526 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5527 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5528 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5529
0781a777
RM
55302014-11-14 Roland McGrath <roland@hack.frob.com>
5531
5532 * signal/signal.h [__USE_MISC]
5533 (struct sigvec): Remove type.
5534 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5535 (sigvec): Remove declaration.
5536 * sysdeps/posix/sigvec.c: Moved ...
5537 * signal/sigvec.c: ... here, replacing old file.
5538 (struct sigvec): New type, copied from old signal.h definition.
5539 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5540 (__sigvec): Convert definition to prototype.
5541 (sigvec): Replace weak_alias with compat_symbol.
5542 * signal/Versions (libc: GLIBC_2.21): New version set.
5543 * include/signal.h: Remove __sigvec declaration.
5544 * sysdeps/unix/bsd/sigvec.c: Remove file.
5545 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5546 * manual/signal.texi (BSD Handler): Remove subsection.
5547 Move siginterrupt up to ...
5548 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5549 (Blocking in BSD): Fold subsection into its parent.
5550 * NEWS: Mention sigvec removal.
5551
a4733812
JM
55522014-11-14 Joseph Myers <joseph@codesourcery.com>
5553
5ae4fe60
JM
5554 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5555 (DLA_FMS): Make definition conditional only on [__FMA4__].
5556 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5557 definition.
5558
6a0dd472
JM
5559 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5560 Make definition conditional only on [PROF].
5561 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5562 definition.
5563 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5564 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5565
a4733812
JM
5566 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5567 !__GNUC__].
5568 * include/signal.h (__sigpause): Move declaration above call to
5569 libc_hidden_proto.
5570 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5571 variable.
5572 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5573 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5574
cf7246dd
DM
55752014-11-14 David S. Miller <davem@davemloft.net>
5576
5577 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5578 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5579
c1b0aadc
JM
55802014-11-14 Joseph Myers <joseph@codesourcery.com>
5581
4863355a
JM
5582 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5583 * configure: Regenerated.
5584 * manual/install.texi (Tools for Compilation): Document a
5585 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5586 compiler verified to work.
5587 * INSTALL: Regenerated.
5588
c1b0aadc
JM
5589 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5590 redeclare with asm name.
5591 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5592 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5593 including <string.h>.
5594 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5595 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5596 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5598 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5599 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5600 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5601
2a1cfd94
JM
56022014-11-13 Joseph Myers <joseph@codesourcery.com>
5603
bf438382
JM
5604 * stdlib/strtol.c (__strtol): Use prototype definition.
5605
2a1cfd94
JM
5606 [BZ #17594]
5607 * stdlib/strtol.c (SYM__): New macro.
5608 (SYM__1): Likewise.
5609 (__strtol): Likewise.
5610 (strtol): Rename to __strtol and define as weak alias of
5611 __strtol. Use libc_hidden_weak.
5612
20ed0d26
SL
56132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5614
5615 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5616 Use numbered labels in inline assembly.
5617
53244a4e
SL
56182014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5619
5620 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5621 Add setjmp LIBC_PROBE.
5622 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5623 Likewise.
5624 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5625 Add longjmp, longjmp_target LIBC_PROBE.
5626 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5627 Likewise.
5628
47df8251
SL
56292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5630
5631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5632 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5633 to get rid of unused variable warning.
5634
618cebef
SL
56352014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5636
5637 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5638 Check for unwind_backtrace == NULL only in SHARED case.
5639 (__backchain_backtrace): Compile only in SHARED case.
5640 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5641 Likewise.
5642 (__backchain_backtrace): Declare as static.
5643
c6aab2cb
RM
56442014-11-12 Roland McGrath <roland@hack.frob.com>
5645
5646 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5647 (__libc_multiple_threads_ptr): Variable moved ...
5648 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5649
5a6fa4d7
JM
56502014-11-12 Joseph Myers <joseph@codesourcery.com>
5651
24f4f825
JM
5652 * conform/GlibcConform.pm: New file.
5653 * conform/conformtest.pl: Use GlibcConform module.
5654 * conform/linknamespace.pl: New file.
5655 * conform/list-header-symbols.pl: Likewise.
5656 * conform/Makefile (linknamespace-symlists-base): New variable.
5657 (linknamespace-symlists-tests): Likewise.
5658 (linknamespace-header-base): Likewise.
5659 (linknamespace-header-tests): Likewise.
5660 (tests-special): Add new tests.
5661 ($(linknamespace-symlists-tests)): New rule.
5662 (linknamespace-libs): New variable.
5663 ($(objpfx)symlist-stdlibs): New rule.
5664 ($(linknamespace-header-tests)): Likewise.
5665 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5666 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5667 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5668 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5669 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5670 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5671 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5672 (test-xfail-ISO/math.h/linknamespace): Likewise.
5673 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5674 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5675 (test-xfail-ISO/time.h/linknamespace): Likewise.
5676 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5677 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5678 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5679 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5680 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5681 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5682 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5683 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5684 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5685 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5686 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5687 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5688 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5689 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5690 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5691 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5692 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5693 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5694 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5695 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5696 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5697 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5698 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5699 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5700 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5701 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5702 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5703 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5704 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5705 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5706 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5707 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5708 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5709 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5710 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5711 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5712 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5713 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5714 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5715 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5716 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5717 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5718 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5719 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5720 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5721 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5722 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5723 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5724 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5725 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5726 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5727 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5728 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5729 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5730 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5731 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5732 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5733 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5734 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5735 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5736 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5737 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5738 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5739 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5740 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5741 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5742 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5743 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5744 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5745 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5746 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5747 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5748 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5749 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5750 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5751 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5752 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5753 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5754 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5755 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5756 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5757 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5758 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5759 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5760 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5761 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5762 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5763 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5764 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5765 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5766 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5767 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5768 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5769 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5770 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5771 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5772 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5773 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5774 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5775 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5776 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5777 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5778 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5779 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5780 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5781 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5782 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5783 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5784 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5785 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5786 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5787 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5788 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5789 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5790 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5791 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5792 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5793 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5794 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5795 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5796 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5797 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5798 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5799 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5800 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5801 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5802 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5803 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5804 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5805 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5806 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5807 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5808 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5809 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5810 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5811 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5812 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5813 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5814 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5815 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5816 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5817 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5818 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5819 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5820 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5821 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5822 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5823 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5824 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5825 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5826
cc67478e
JM
5827 [BZ #17589]
5828 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5829 of fgets_unlocked.
5830
9975e3d3
JM
5831 [BZ #17585]
5832 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5833 (memmem): Rename to __memmem and define as weak alias of
5834 __memmem. Use libc_hidden_weak.
5835 (__memmem): Use libc_hidden_def.
5836 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5837 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5838 memmem.
5839
c4eae752
JM
5840 [BZ #17582]
5841 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5842 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5843 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5844 and define as weak alias of __fgets_unlocked. Use
5845 libc_hidden_weak.
5846 (__fgets_unlocked): Use libc_hidden_def.
5847 * include/stdio.h (__fgets_unlocked): Declare. Use
5848 libc_hidden_proto.
5849 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5850 __fgets_unlocked instead of fgets_unlocked.
5851 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5852 (GET_NPROCS_CONF_PARSER): Likewise.
5853 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5854 (GET_NPROCS_CONF_PARSER): Likewise.
5855
01cad84e
JM
5856 [BZ #17574]
5857 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5858 weak alias of __wmemset. Use libc_hidden_weak.
5859 (__wmemset): Use libc_hidden_def.
5860 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5861 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5862 of wmemset.
5863
939da411
JM
5864 [BZ #17573]
5865 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5866 with asm name __mempcpy.
5867 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5868
293d9a41
JM
5869 [BZ #17572]
5870 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5871 and define as weak alias of __rawmemchr.
5872 (__rawmemchr): Do not define as strong alias of rawmemchr.
5873
bef8fd60
JM
5874 [BZ #17571]
5875 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5876 alias of __qsort_r.
5877 (qsort): Call __qsort_r instead of qsort_r.
5878 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5879 (__qsort_r): Declare. Call libc_hidden_proto.
5880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5881 instead of qsort_r.
5882 * nscd/gai.c (__qsort_r): Define to qsort_r.
5883 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5884 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5885 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5886
c52ff39e
JM
5887 [BZ #17570]
5888 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5889 define as weak alias of __malloc_info.
5890
2f5c1b00
JM
5891 [BZ #17584]
5892 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5893 as weak alias of __rewinddir. Don't use libc_hidden_def.
5894 (__rewinddir): Use libc_hidden_def.
5895 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5896 as weak alias of __rewinddir. Don't use libc_hidden_def.
5897 (__rewinddir): Use libc_hidden_def.
5898 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5899 weak alias of __rewinddir. Don't use libc_hidden_def.
5900 (__rewinddir): Use libc_hidden_def.
5901 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5902 (__rewinddir): Use libc_hidden_proto.
5903 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5904 rewinddir.
5905 (__getcwd): Use __rewinddir instead of rewinddir.
5906
5a6fa4d7
JM
5907 [BZ #17583]
5908 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5909 alias of __fileno. Use libc_hidden_weak.
5910 (__fileno): Use libc_hidden_def.
5911 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5912 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5913 alias of __ftello.
5914 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5915 __ftello.
5916 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5917 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5918 libc_hidden_def.
5919 (fread_unlocked): Don't use libc_hidden_ver.
5920 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5921 and define as weak alias of __fread_unlocked. Don't use
5922 libc_hidden_def.
5923 (__fread_unlocked): Use libc_hidden_def.
5924 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5925 (ftello): Don't use libc_hidden_proto.
5926 (__ftello): Declare. Use libc_hidden_proto.
5927 (fread_unlocked): Don't use libc_hidden_proto.
5928 (__fread_unlocked): Declare. Use libc_hidden_proto.
5929 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5930 and __ftello instead of fileno, fread_unlocked and ftello.
5931
2581b98e
SP
59322012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5933
5934 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5935 GOT12.
5936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5937 Likewise.
5938 (_dl_start_user): Likewise.
5939 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5940
533bb7c2
SP
59412014-11-12 Carlos O'Donell <carlos@redhat.com>
5942 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5944 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5945 Move argv and envp down instead of moving argc up.
5946 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5947
fffa1cf8
LH
59482014-11-12 Leonhard Holz <leonhard.holz@web.de>
5949
5950 [BZ #17506]
5951 * test-skeleton.c (main): Return successful if one of
5952 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5953 * string/tst-strcoll-overflow.c: Define expected status.
5954
fb89b46d
TU
59552014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5956
5957 [BZ #17475]
5958 * locale/iso-639.def: Define Bhili and Tulu language codes.
5959
5c40c3ba
AH
59602014-11-11 Alan Hayward <alan.hayward@arm.com>
5961
5962 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5963
b17fe01b 59642014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5965
5966 [BZ #17555]
5967 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5968
bd805071
AS
59692014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5970
5971 * configure.ac: Updated check of minimal required version to
5972 2.22.
5973 * manual/install.texi (Tools for Compilation): Updated version
5974 number.
5975 * configure: Regenerated.
5976 * INSTALL: Likewise.
5977
1400983e
AS
59782014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5981 __tls_get_addr.
5982
2c46a66a
JM
59832014-11-07 Joseph Myers <joseph@codesourcery.com>
5984
5985 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5986 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5987 (__waitpid): Don't define as alias. Use libc_hidden_def not
5988 libc_hidden_weak.
5989 (waitpid): Define as alias of __waitpid.
5990 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5991 __waitpid.
5992 (__waitpid): Don't define as alias. Use libc_hidden_def not
5993 libc_hidden_weak.
5994 (waitpid): Define as alias of __waitpid.
5995 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5996 __libc_waitpid alias.
5997 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5998 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5999 Likewise.
6000 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6001 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6002 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6003 alias.
6004 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6005 __waitpid.
6006 (__waitpid): Don't define as alias. Use libc_hidden_def not
6007 libc_hidden_weak.
6008 (waitpid): Define as alias of __waitpid.
6009
da53d6db
CD
60102014-11-06 Carlos O'Donell <carlos@redhat.com>
6011
a2887bdb
CD
6012 * manual/llio.texi: Add comment that write safety has been
6013 fixed in Linux.
6014
da53d6db
CD
6015 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6016 (localplt-build-dso): Add elf/ld.so.
6017 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6018 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6019 and free for ld.so.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6021 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6023 Likewise.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6025 Likewise.
6026 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6027 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6028 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6029 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6030 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6031 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6032 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6033 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6034 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6037
9cf27b8d
JM
60382014-11-05 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #14132]
6041 * include/libc-symbols.h (INTUSE): Remove macro.
6042 (INTDEF): Likewise.
6043 (INTVARDEF): Likewise.
6044 (_INTVARDEF): Likewise.
6045 (INTDEF2): Likewise.
6046 (INTVARDEF2): Likewise.
6047 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6048 rtld_hidden_def instead of INTVARDEF.
6049 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6050 (_dl_starting_up_internal): Remove declaration.
6051 (_dl_starting_up): Use rtld_hidden_proto.
6052 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6053 declaration.
6054 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6055 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6056 _dl_starting_up.
6057 * elf/dl-writev.h (_dl_writev): Likewise.
6058 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6059 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6060 _dl_starting_up_internal.
6061
af83568d
AZ
60622014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063
6064 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6065 test-skeleton.c.
6066
b01ee67c
WN
60672014-11-05 Will Newton <will.newton@linaro.org>
6068
6069 * benchtests/Makefile: (bench-malloc): Add malloc thread
6070 scalability benchmark.
6071 * benchtests/bench-malloc-threads.c: New file.
6072
be9d4ccc
RE
60732014-11-05 Richard Earnshaw <rearnsha@arm.com>
6074
6075 * sysdeps/aarch64/strchrnul.S: New file.
6076
7110166d
AZ
60772014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6080 definition.
6081 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6082 Likwise.
6083 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6084 Likewise.
6085 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6086 Likewise.
6087 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6088 Likewise.
6089 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6090 Likewise.
6091
60922014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6093
6094 * catgets/test-gencat.c: Use test-skeleton.c.
6095 * catgets/tst-catgets.c: Likewise.
6096 * csu/tst-empty.c: Likewise.
6097 * elf/tst-audit2.c: Likewise.
6098 * elf/tst-global1.c: Likewise.
6099 * elf/tst-pathopt.c: Likewise.
6100 * elf/tst-piemod1.c: Likewise.
6101 * elf/tst-tls10.c: Likewise.
6102 * elf/tst-tls11.c: Likewise.
6103 * elf/tst-tls12.c: Likewise.
6104 * gnulib/tst-gcc.c: Likewise.
6105 * iconvdata/tst-e2big.c: Likewise.
6106 * iconvdata/tst-loading.c: Likewise.
6107 * iconv/tst-iconv1.c: Likewise.
6108 * iconv/tst-iconv2.c: Likewise.
6109 * inet/test-inet6_opt.c: Likewise.
6110 * inet/tst-gethnm.c: Likewise.
6111 * inet/tst-network.c: Likewise.
6112 * inet/tst-ntoa.c: Likewise.
6113 * intl/tst-codeset.c: Likewise.
6114 * intl/tst-gettext2.c: Likewise.
6115 * intl/tst-gettext3.c: Likewise.
6116 * intl/tst-ngettext.c: Likewise.
6117 * intl/tst-translit.c: Likewise.
6118 * io/test-stat.c: Likewise.
6119 * libio/test-fmemopen.c: Likewise.
6120 * libio/tst-freopen.c: Likewise.
6121 * libio/tst-sscanf.c: Likewise.
6122 * libio/tst-ungetwc1.c: Likewise.
6123 * libio/tst-ungetwc2.c: Likewise.
6124 * libio/tst-widetext.c: Likewise.
6125 * localedata/tst-ctype.c: Likewise.
6126 * localedata/tst-digits.c: Likewise.
6127 * localedata/tst-leaks.c: Likewise.
6128 * localedata/tst-mbswcs1.c: Likewise.
6129 * localedata/tst-mbswcs2.c: Likewise.
6130 * localedata/tst-mbswcs3.c: Likewise.
6131 * localedata/tst-mbswcs4.c: Likewise.
6132 * localedata/tst-mbswcs5.c: Likewise.
6133 * localedata/tst-setlocale.c: Likewise.
6134 * localedata/tst-trans.c: Likewise.
6135 * localedata/tst-wctype.c: Likewise.
6136 * localedata/tst-xlocale1.c: Likewise.
6137 * login/tst-grantpt.c: Likewise.
6138 * malloc/tst-calloc.c: Likewise.
6139 * malloc/tst-malloc.c: Likewise.
6140 * malloc/tst-mallocstate.c: Likewise.
6141 * malloc/tst-mcheck.c: Likewise.
6142 * malloc/tst-mtrace.c: Likewise.
6143 * malloc/tst-obstack.c: Likewise.
6144 * math/atest-exp2.c: Likewise.
6145 * math/atest-exp.c: Likewise.
6146 * math/atest-sincos.c: Likewise.
6147 * math/test-matherr.c: Likewise.
6148 * math/test-misc.c: Likewise.
6149 * math/test-powl.c: Likewise.
6150 * math/tst-definitions.c: Likewise.
6151 * misc/tst-dirname.c: Likewise.
6152 * misc/tst-efgcvt.c: Likewise.
6153 * misc/tst-fdset.c: Likewise.
6154 * misc/tst-hsearch.c: Likewise.
6155 * misc/tst-mntent2.c: Likewise.
6156 * nptl/tst-sem7.c: Likewise.
6157 * nptl/tst-sem8.c: Likewise.
6158 * nptl/tst-sem9.c: Likewise.
6159 * nss/test-netdb.c: Likewise.
6160 * posix/tst-fnmatch.c: Likewise.
6161 * posix/tst-getlogin.c: Likewise.
6162 * posix/tst-gnuglob.c: Likewise.
6163 * posix/tst-mmap.c: Likewise.
6164 * pwd/tst-getpw.c: Likewise.
6165 * resolv/tst-inet_ntop.c: Likewise.
6166 * rt/tst-timer.c: Likewise.
6167 * stdio-common/test-fseek.c: Likewise.
6168 * stdio-common/test-popen.c: Likewise.
6169 * stdio-common/test-vfprintf.c: Likewise.
6170 * stdio-common/tst-cookie.c: Likewise.
6171 * stdio-common/tst-fileno.c: Likewise.
6172 * stdio-common/tst-gets.c: Likewise.
6173 * stdio-common/tst-obprintf.c: Likewise.
6174 * stdio-common/tst-perror.c: Likewise.
6175 * stdio-common/tst-sprintf2.c: Likewise.
6176 * stdio-common/tst-sprintf3.c: Likewise.
6177 * stdio-common/tst-sprintf.c: Likewise.
6178 * stdio-common/tst-swprintf.c: Likewise.
6179 * stdio-common/tst-tmpnam.c: Likewise.
6180 * stdio-common/tst-unbputc.c: Likewise.
6181 * stdio-common/tst-wc-printf.c: Likewise.
6182 * stdlib/tst-environ.c: Likewise.
6183 * stdlib/tst-fmtmsg.c: Likewise.
6184 * stdlib/tst-limits.c: Likewise.
6185 * stdlib/tst-rand48-2.c: Likewise.
6186 * stdlib/tst-rand48.c: Likewise.
6187 * stdlib/tst-random2.c: Likewise.
6188 * stdlib/tst-random.c: Likewise.
6189 * stdlib/tst-strtol.c: Likewise.
6190 * stdlib/tst-strtoll.c: Likewise.
6191 * stdlib/tst-tls-atexit.c: Likewise.
6192 * stdlib/tst-xpg-basename.c: Likewise.
6193 * string/test-ffs.c: Likewise.
6194 * string/tst-bswap.c: Likewise.
6195 * string/tst-inlcall.c: Likewise.
6196 * string/tst-strtok.c: Likewise.
6197 * string/tst-strxfrm.c: Likewise.
6198 * sysdeps/x86_64/tst-audit10.c: Likewise.
6199 * sysdeps/x86_64/tst-audit3.c: Likewise.
6200 * sysdeps/x86_64/tst-audit4.c: Likewise.
6201 * sysdeps/x86_64/tst-audit5.c: Likewise.
6202 * time/tst-ftime_l.c: Likewise.
6203 * time/tst-getdate.c: Likewise.
6204 * time/tst-mktime3.c: Likewise.
6205 * time/tst-mktime.c: Likewise.
6206 * time/tst-posixtz.c: Likewise.
6207 * time/tst-strptime2.c: Likewise.
6208 * time/tst-strptime3.c: Likewise.
6209 * wcsmbs/tst-btowc.c: Likewise.
6210 * wcsmbs/tst-mbrtowc.c: Likewise.
6211 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6212 * wcsmbs/tst-wchar-h.c: Likewise.
6213 * wcsmbs/tst-wcpncpy.c: Likewise.
6214 * wcsmbs/tst-wcrtomb.c: Likewise.
6215 * wcsmbs/tst-wcsnlen.c: Likewise.
6216 * wcsmbs/tst-wcstof.c: Likewise.
6217
2004e7fb
JM
62182014-11-04 Joseph Myers <joseph@codesourcery.com>
6219
ab97ee8f
JM
6220 [BZ #14132]
6221 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6222 INTDEF.
6223 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6224 declaration.
6225 (_dl_mcount): Use rtld_hidden_proto.
6226 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6227 _dl_mcount.
6228 * elf/rtld.c (_rtld_global_ro): Likewise.
6229
c5684fdb
JM
6230 [BZ #14132]
6231 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6232 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6233 of _dl_init_internal.
6234 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6235 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6236 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6237 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6238 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6239 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6240 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6241 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6242 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6243 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6244 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6245 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6246 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6247 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6248 * sysdeps/tile/dl-start.S (_start): Likewise.
6249 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6250 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6251
4243cbea
JM
6252 [BZ #14132]
6253 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6254 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6255 (rtld_progname): Make macro definition unconditional.
6256 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6257 INTDEF.
6258 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6259 (dl_main): Likewise.
6260 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6261 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6262 instead of _dl_argv_internal.
6263 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6264 __GI__dl_argv instead of INTUSE(_dl_argv).
6265 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6266 __GI__dl_argv instead of _dl_argv_internal.
6267
2004e7fb
JM
6268 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6269 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6270 macro.
6271 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6272 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6273 New macro.
6274 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6275 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6276 macro.
6277 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6278 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6279
97827bfc
AS
62802014-11-04 Andreas Schwab <schwab@suse.de>
6281
6282 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6283
5e4df284
AZ
62842014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285
6286 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6287 mtvsrd instruction in binary form.
6288
04b76b5a
AS
62892014-11-03 Andreas Schwab <schwab@suse.de>
6290
6291 [BZ #17522]
6292 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6293 for less than MB_LEN_MAX use a local buffer of that size.
6294 * libio/tst-fputws.c: New file.
6295 * libio/Makefile (tests): Add tst-fputws.
6296
4c6da7da
JM
62972014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6298
6299 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6300 the size of the fpu_fr.fpu_dregs[] array.
6301
1679ba8e
JM
63022014-11-01 Joseph Myers <joseph@codesourcery.com>
6303
6304 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6305 (__nanosleep): Do not define as alias.
6306 (nanosleep): Define as alias of __nanosleep.
6307 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6308 __libc_nanosleep name.
6309
2626c183
JM
63102014-10-31 Joseph Myers <joseph@codesourcery.com>
6311
6312 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6313 install.texi in comment.
6314
7f981fc2
TR
63152014-10-31 Torvald Riegel <triegel@redhat.com>
6316
6317 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6318 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6319 ... add here and use lwsync or sync ...
6320 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6321 ... and add here using lwsync.
6322
d6f373d2
MF
63232014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6324
6325 * elf/dl-machine-reject-phdr.h: New file.
6326 * elf/dl-load.c: #include that.
6327 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6328 if that returned true.
6329
67c37987
RM
63302014-10-31 Roland McGrath <roland@hack.frob.com>
6331
6332 [BZ #17496]
6333 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6334 gen-as-const-headers chunk. Add a big scare comment after the last
6335 safe place to touch before-compile.
6336
94a42455 63372014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6338
f3f5d895
JM
6339 * manual/install.texi (Tools for Compilation): Update autoconf
6340 version requirements.
6341 * INSTALL: Regenerated.
6342
f62ff286
JM
6343 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6344 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6345 (__libc_pselect): Likewise.
94a42455
JM
6346
6347 [BZ #14138]
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6352
ff9dbdc0
TR
63532014-10-31 Torvald Riegel <triegel@redhat.com>
6354
6355 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6356 correct barrier instruction.
6357 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6358 Likewise.
6359 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6360 Likewise.
6361
b4f66884
RM
63622014-10-30 Roland McGrath <roland@hack.frob.com>
6363
6364 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6365 after defining inlines. Instead, just use parens to defeat macro
6366 expansion of __isctype in its declaration.
6367
e19c95fd
JM
63682014-10-30 Joseph Myers <joseph@codesourcery.com>
6369
6370 * include/sys/uio.h (__libc_readv): Remove declaration.
6371 (__libc_writev): Likewise.
6372 * misc/readv.c (__libc_readv): Rename to __readv.
6373 (__readv): Do not define as alias.
6374 (readv): Define as alias of __readv.
6375 * misc/writev.c (__libc_writev): Rename to __writev.
6376 (__writev): Do not define as alias.
6377 (writev): Define as alias of __writev.
6378 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6379 (__readv): Do not define as alias.
6380 (readv): Define unconditionally as alias of __readv.
6381 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6382 (__writev): Do not define as alias.
6383 (writev): Define unconditionally as alias of __writev.
6384 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6385 name.
6386 (writev): Do not define __libc_writev name.
6387
65b00b6c
RM
63882014-10-30 Roland McGrath <roland@hack.frob.com>
6389
6390 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6391 (convert_charseq): New function, broken out of ...
6392 (use_from_charmap): ... here. Call it.
6393 (use_to_charmap): Use convert_charseq and free instead of duplicating
6394 its code with a variable-length stack struct.
6395
d4e157aa
JM
63962014-10-30 Joseph Myers <joseph@codesourcery.com>
6397
6398 * include/fcntl.h (__libc_creat): Remove declaration.
6399 * io/creat.c (__libc_creat): Rename to creat.
6400 (creat): Do not define as alias.
6401 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6402 of creat instead of __libc_creat.
6403 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6404 to creat.
6405 (creat): Do not define as alias.
6406 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6407 __libc_creat.
6408 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6409 __libc_creat name.
6410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6411 Likewise.
6412
0c6891a0
CD
64132014-10-29 Carlos O'Donell <carlos@redhat.com>
6414
6415 * manual/llio.texi: Add comments discussing why write() may be
6416 considered MT-unsafe on Linux.
6417
cc00cece
CD
64182014-10-28 Carlos O'Donell <carlos@redhat.com>
6419
6420 * dl-load.c (local_strdup): Remove.
6421 (expand_dynamic_string_token): Use __strdup.
6422 (decompose_rpath): Likewise.
6423 (_dl_map_object): Likewise.
6424
51e623f2
JM
64252014-10-28 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #14132]
6428 * sysdeps/generic/unwind-dw2-fde.c
6429 (__register_frame_info_bases_internal): Do not declare.
6430 (__register_frame_info_table_bases_internal): Likewise.
6431 (__deregister_frame_info_bases_internal): Likewise.
6432 (__register_frame_info_bases): Declare and use hidden_proto before
6433 definition. Use hidden_def instead of INTDEF.
6434 (__register_frame_info_table_bases): Likewise.
6435 (__deregister_frame_info_bases): Likewise.
6436 (__register_frame_info): Do not use INTUSE.
6437 (__register_frame): Likewise.
6438 (__register_frame_info_table): Likewise.
6439 (__register_frame_table): Likewise.
6440 (__deregister_frame_info): Likewise.
6441 (__deregister_frame): Likewise.
6442
03d41216
GC
64432014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6444
6445 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6446 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6447 not undefine.
6448 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6449 Likewise.
6450 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6451 Likewise.
6452
a4b3624d
JM
64532014-10-27 Joseph Myers <joseph@codesourcery.com>
6454
6455 [BZ #14138]
6456 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6457 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6458 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6459 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6460 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6461 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6462 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6463 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6464 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6465 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6467 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6468 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6469 syscall.
6470 (setfsuid): Likewise.
6471 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6472 (setfsuid): Likewise.
6473 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6474 (setfsuid): Likewise.
6475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6476 Likewise.
6477 (setfsuid): Likewise.
6478 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6479 (setfsuid): Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6481 Likewise.
6482 (setfsuid): Likewise.
6483
3574f2fd
AS
64842014-10-27 Andreas Schwab <schwab@suse.de>
6485
6486 [BZ #17501]
6487 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6488 check for Slow_SSE4_2 feature bit.
6489 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6490 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6491 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6492 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6493
70996a37
RM
64942014-10-24 Roland McGrath <roland@hack.frob.com>
6495
461a7b1e
RM
6496 * configure.ac: Validate compiler version with a empirical test of
6497 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6498 $CC -v output.
6499 * configure: Regenerated.
6500
70996a37
RM
6501 * inet/htons.c (htons): Prototypify.
6502 * inet/htonl.c (htonl): Likewise.
6503
e80514b5
WD
65042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6505
6506 * string/strncat.c (strncat): Improve performance by using strlen.
6507
6e46de42
WD
65082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6509
6510 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6511
6a9ad2fa
WD
65122014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6513
6514 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6515 Call libc_fetestexcept_aarch64.
6516
1c8810ed
WD
65172014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6518
6519 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6520 Call libc_feholdexcept_aarch64.
6521
8b1af712
WD
65222014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6523
6524 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6525 Call get_rounding_mode.
6526
a7b00c11
WD
65272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6528
6529 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6530 Simplify logic.
6531
3a84f1a6
WD
65322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6533
6534 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6535 Simplify logic.
6536
48eb7a94
JM
65372014-10-24 Joseph Myers <joseph@codesourcery.com>
6538
c8bc4038
JM
6539 [BZ #14138]
6540 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6541 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6542 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6543 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6544 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6545 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6546 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6547 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6548 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6549 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6550 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6551 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6552 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6553 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6554 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6555 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6556 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6557 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6558 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6559 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6560 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6561 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6562 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6568 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6569 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6570 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6571 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6572 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6573 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6574 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6577 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6580 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6581 syscall.
6582 (geteuid): Likewise.
6583 (getgid): Likewise.
6584 (getuid): Likewise.
6585 (getresgid): Likewise.
6586 (getresuid): Likewise.
6587 (getgroups): Likewise.
6588 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6589 (geteuid): Likewise.
6590 (getgid): Likewise.
6591 (getuid): Likewise.
6592 (getresgid): Likewise.
6593 (getresuid): Likewise.
6594 (getgroups): Likewise.
6595 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6596 (geteuid): Likewise.
6597 (getgid): Likewise.
6598 (getuid): Likewise.
6599 (getresgid): Likewise.
6600 (getresuid): Likewise.
6601 (getgroups): Likewise.
6602 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6603 Likewise.
6604 (geteuid): Likewise.
6605 (getgid): Likewise.
6606 (getuid): Likewise.
6607 (getresgid): Likewise.
6608 (getresuid): Likewise.
6609 (getgroups): Likewise.
6610 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6611 (geteuid): Likewise.
6612 (getgid): Likewise.
6613 (getuid): Likewise.
6614 (getresgid): Likewise.
6615 (getresuid): Likewise.
6616 (getgroups): Likewise.
6617 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6618 Likewise.
6619 (geteuid): Likewise.
6620 (getgid): Likewise.
6621 (getuid): Likewise.
6622 (getgroups): Likewise.
6623
48eb7a94
JM
6624 [BZ #14138]
6625 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6626 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6627 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6631 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6632 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6633 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6634 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6638 __chown.
6639 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6640 (lchown): Likewise.
6641 (fchown): Likewise.
6642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6643 Likewise.
6644 (lchown): Likewise.
6645 (fchown): Likewise.
6646 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6647 (lchown): Likewise.
6648 (fchown): Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6650 Likewise.
6651 (lchown): Likewise.
6652 (fchown): Likewise.
6653
ea9a7c8b
WD
66542014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6655
6656 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6657 Simplify logic.
6658
e226de33
WD
66592014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6660
6661 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6662 Cleanup logic.
6663
6e3d8ed3
WD
66642014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6665
6666 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6667 Remove unused include.
6668
eb04247d
WD
66692014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6670
6671 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6672 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6673 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6674 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6675
13d84554
CD
66762014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6677 Helge Deller <deller@gmx.de>
6678
6679 [BZ #17508]
6680 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6681 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6682 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6683
15f9c5df
JM
66842014-10-23 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #14132]
6687 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6688 Remove macro definition.
6689 (__ashrdi3_v_glibc20): Likewise.
6690 (__lshrdi3_v_glibc20): Likewise.
6691 (__cmpdi2_v_glibc20): Likewise.
6692 (__ucmpdi2_v_glibc20): Likewise.
6693 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6694 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6695 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6696 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6697 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6698 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6699
c6dfed24
RM
67002014-10-22 Roland McGrath <roland@hack.frob.com>
6701
6702 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6703 old GNU extension [0] syntax.
6704 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6705 alloca rather than an array member with variable length.
6706 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6707 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6708 (parse_opt): ... here. Likewise use alloca there.
6709 Validate the -i argument before checking for rootness.
6710 (send_shutdown): New function, broken out of ...
6711 (parse_opt): ... here.
6712
8c2b1ed8
RM
67132014-10-22 Roland McGrath <roland@hack.frob.com>
6714
6715 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6716 macro to get at the _rt_local_ro field.
6717 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6718 ([PIC] case) or _dl_hwcap ([!PIC] case).
6719 * sysdeps/arm/setjmp.S: Likewise.
6720
6721 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6722 * sysdeps/arm/configure.ac: New check to define it.
6723 * sysdeps/arm/configure: Regenerated.
6724 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6725 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6726 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6727 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6728 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6729 Use move/movt pair instead of a load.
6730 (LDST_GLOBAL): Macro removed.
6731 (LDR_GLOBAL): New macro replaces it.
6732 (LDR_HIDDEN): New macro.
6733 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6734 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6735
6736 * setjmp/tst-setjmp-static.c: New file.
6737 * setjmp/Makefile (tests): Add it.
6738 (tests-static): New variable.
6739
b5af9297
MR
67402014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6741
6742 [BZ #17485]
6743 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6744
a13d0d74
JM
67452014-10-21 Joseph Myers <joseph@codesourcery.com>
6746
6747 [BZ #14132]
6748 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6749
f05e73f6
RM
67502014-10-21 Roland McGrath <roland@hack.frob.com>
6751
6752 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6753
6ab1d1ea
RM
67542014-10-20 Roland McGrath <roland@hack.frob.com>
6755
6756 * io/fts.c (dirent_not_directory): New function.
6757 (fts_build): Call it.
6758
ab49e763
RM
67592014-10-20 Roland McGrath <roland@hack.frob.com>
6760
e436eb79
RM
6761 * nptl/version.c (__nptl_main): Use normal __write rather than
6762 INTERNAL_SYSCALL.
6763 (banner): Update copyright years.
6764
6af246cf
RM
6765 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6766 gettimeofday.
6767 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6768 * nptl/pthread_cond_timedwait.c: Likewise.
6769 * nptl/pthread_mutex_timedlock.c: Likewise.
6770 * nptl/sem_timedwait.c: Likewise.
6771
ab49e763
RM
6772 * sysdeps/nptl/bits/libc-lock.h
6773 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6774 (__libc_lock_init_recursive): Return void, not 0.
6775 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6776 (__libc_rwlock_init): Likewise.
6777 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6778
f50277c1
TR
67792014-10-20 Torvald Riegel <triegel@redhat.com>
6780
6781 [BZ #15215]
6782 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6783 (__pthread_once_slow): ... here.
6784 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6785 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6786
63668b70
TR
67872014-10-20 Torvald Riegel <triegel@redhat.com>
6788
6789 [BZ #15215]
6790 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6791 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6792 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6793 * nptl/pthread_once.c (__pthread_once): Likewise.
6794 Update comments.
6795
42b7f5d4
JM
67962014-10-20 Joseph Myers <joseph@codesourcery.com>
6797
6798 [BZ #14138]
6799 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6800 name.
6801 (writev): Use __libc_writev as strong name.
6802 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6803 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6804
b0643088
RM
68052014-10-17 Roland McGrath <roland@hack.frob.com>
6806
114c4e09
RM
6807 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6808
674b8978
RM
6809 * sysdeps/i386/nptl/tls.h
6810 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6811 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6812 New macros.
6813 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6814 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6815 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6816 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6817 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6818 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6819
184ee940
RM
6820 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6821 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6822 on [__NR_futex].
6823 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6824 broken out of ...
6825 (__pthread_mutex_init): ... here. Call it.
6826 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6827 Conditionalize PI cases on [__NR_futex].
6828 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6829 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6830 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6831
327ae257
RM
6832 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6833 conditional on [SIGSETXID].
6834 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6835 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6836 is defined. Likewise for SIGSETXID.
6837 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6838 Conditionalize definitions on [SIGSETXID].
6839 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6840 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6841 unblocking on [SIGCANCEL].
6842
b0643088
RM
6843 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6844 [__NR_set_robust_list].
6845
33cc770b
SP
68462014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6847
6848 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6849 (do_compare): Likewise.
6850
0742aef6
LH
68512014-10-17 Leonhard Holz <leonhard.holz@web.de>
6852
6853 [BZ #15884]
6854 * string/strcoll_l.c: Don't include stdio.h.
6855 (coll_seq): Remove members idxarr and rulearr.
6856 (get_next_seq_cached): Remove function.
6857 (get_next_seq): Likewise.
6858 (get_next_seq_nocache): Rename to get_next_seq.
6859 (do_compare): Remove function.
6860 (do_compare_nocache): Rename to do_compare.
6861 (STRCOLL): Remove weight and rules cache.
6862
ee54ce44
RM
68632014-10-16 Roland McGrath <roland@hack.frob.com>
6864
6865 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6866 * sysdeps/arm/sfp-machine.h: ... to here.
6867 * sysdeps/arm/Implies: Remove arm/soft-fp.
6868
a75d3b02
JM
68692014-10-14 Joseph Myers <joseph@codesourcery.com>
6870
6871 * conform/data/sys/utsname.h-data (*_t): Allow.
6872 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6873 [POSIX] (WEXITED): Do not expect constant.
6874 [POSIX] (WSTOPPED): Likewise.
6875 [POSIX] (WNOHANG): Likewise.
6876 [POSIX] (WNOWAIT): Likewise.
6877 [POSIX] (siginfo_t): Do not expect type or elements.
6878 [POSIX] (pid_t): Do not expect type.
6879 [POSIX] (signal.h): Do not allow header.
6880 [POSIX] (sys/resource.h): Likewise.
6881 [POSIX] (si_*): Do not allow pattern.
6882 [POSIX] (W*): Likewise.
6883 [POSIX] (P_*): Likewise.
6884 [POSIX] (BUS_*): Likewise.
6885 [POSIX] (CLD_*): Likewise.
6886 [POSIX] (FPE_*): Likewise.
6887 [POSIX] (ILL_*): Likewise.
6888 [POSIX] (POLL_*): Likewise.
6889 [POSIX] (SEGV_*): Likewise.
6890 [POSIX] (SI_*): Likewise.
6891 [POSIX] (TRAP_*): Likewise.
6892 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6893 variable.
6894
fda389c8
SP
68952014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6896
6897 [BZ #12926]
6898 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6899 infinite loop when __recvmsg returns 0.
6900
6bc6bd3b
JM
69012014-10-10 Joseph Myers <joseph@codesourcery.com>
6902
fcb32af1
JM
6903 * CANCEL-FCT-WAIVE: Remove file.
6904 * CANCEL-FILE-WAIVE: Likewise.
6905
6bc6bd3b
JM
6906 [BZ #14132]
6907 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6908 instead of INTVARDEF.
6909 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6910 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6911 rtld_hidden_data_def instead of INTVARDEF.
6912 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6913 * elf/dl-deps.c (expand_dst): Likewise.
6914 * elf/dl-load.c (_dl_dst_count): Likewise.
6915 (_dl_dst_substitute): Likewise.
6916 (decompose_rpath): Likewise.
6917 (_dl_init_paths): Likewise.
6918 (open_path): Likewise.
6919 (_dl_map_object): Likewise.
6920 * elf/rtld.c (dl_main): Likewise.
6921 (process_dl_audit): Likewise.
6922 (process_envvars): Likewise.
6923 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6924 Remove declaration.
6925 (__libc_enable_secure): Use rtld_hidden_proto.
6926
b8c80a7e
KS
69272014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6928
6929 * elf/dl-load.c
6930 (add_path): New function broken out of _dl_rtld_di_serinfo.
6931 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6932
ff12c11f
JM
69332014-10-09 Joseph Myers <joseph@codesourcery.com>
6934
5c0508a3
JM
6935 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6936 parentheses around macro arguments.
6937 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6939 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6940 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6941 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6942 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6943 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6944 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6945 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6946 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6947 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6948 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6949 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6950 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6951 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6952 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6953 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6954 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6955 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6957 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6958 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6959 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6960 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6962 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6963 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6964 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6966 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6967 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6968 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6969 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6970 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6971 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6972 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6973 Likewise.
6974 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6975 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6976 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6977 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6978 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6979 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6980 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6981 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6982 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6983 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6984 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6985 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6986 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6987 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6988 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6989 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6990 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6991 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6992 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6993 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6994 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6995 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6996 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6997 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6998 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6999 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7000 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7001 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7002 (_FP_FRAC_SRS_1): Likewise.
7003 (_FP_FRAC_CLZ_1): Likewise.
7004 (_FP_MUL_MEAT_1_imm): Likewise.
7005 (_FP_MUL_MEAT_1_wide): Likewise.
7006 (_FP_MUL_MEAT_1_hard): Likewise.
7007 (_FP_SQRT_MEAT_1): Likewise.
7008 (_FP_FRAC_ASSEMBLE_1): Likewise.
7009 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7010 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7011 (__FP_CLZ_2): Likewise.
7012 (_FP_MUL_MEAT_2_wide): Likewise.
7013 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7014 (_FP_MUL_MEAT_2_gmp): Likewise.
7015 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7016 (_FP_SQRT_MEAT_2): Likewise.
7017 (_FP_FRAC_ASSEMBLE_2): Likewise.
7018 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7019 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7020 (_FP_FRAC_CLZ_4): Likewise.
7021 (_FP_MUL_MEAT_4_wide): Likewise.
7022 (_FP_MUL_MEAT_4_gmp): Likewise.
7023 (_FP_SQRT_MEAT_4): Likewise.
7024 (_FP_FRAC_ASSEMBLE_4): Likewise.
7025 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7026 * soft-fp/op-common.h (_FP_CMP): Likewise.
7027 (_FP_CMP_EQ): Likewise.
7028 (_FP_CMP_UNORD): Likewise.
7029 (_FP_TO_INT): Likewise.
7030 (_FP_FROM_INT): Likewise.
7031 [!__FP_CLZ] (__FP_CLZ): Likewise.
7032 (_FP_DIV_HELP_imm): Likewise.
7033 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7034 Likewise.
7035 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7036 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7037 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7038 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7039 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7040 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7041 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7042 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7043 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7044 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7045 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7046 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7047 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7048 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7049 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7050 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7051 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7052 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7053 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7055 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7056 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7057 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7058 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7059 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7060 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7061 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7062 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7063 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7064 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7065 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7066 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7067 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7068 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7069 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7070 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7071 (FP_UNPACK_RAW_SP): Likewise.
7072 (FP_PACK_RAW_S): Likewise.
7073 (FP_PACK_RAW_SP): Likewise.
7074 (FP_UNPACK_S): Likewise.
7075 (FP_UNPACK_SP): Likewise.
7076 (FP_UNPACK_SEMIRAW_S): Likewise.
7077 (FP_UNPACK_SEMIRAW_SP): Likewise.
7078 (FP_PACK_S): Likewise.
7079 (FP_PACK_SP): Likewise.
7080 (FP_PACK_SEMIRAW_S): Likewise.
7081 (FP_PACK_SEMIRAW_SP): Likewise.
7082 (_FP_SQRT_MEAT_S): Likewise.
7083 (FP_CMP_S): Likewise.
7084 (FP_CMP_EQ_S): Likewise.
7085 (FP_CMP_UNORD_S): Likewise.
7086 (FP_TO_INT_S): Likewise.
7087 (FP_FROM_INT_S): Likewise.
7088
a736ec37
JM
7089 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7090
ff12c11f
JM
7091 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7092 (FP_EX_INVALID_IMZ): Likewise.
7093 (FP_EX_INVALID_IMZ_FMA): Likewise.
7094 (FP_EX_INVALID_ISI): Likewise.
7095 (FP_EX_INVALID_ZDZ): Likewise.
7096 (FP_EX_INVALID_IDI): Likewise.
7097 (FP_EX_INVALID_SQRT): Likewise.
7098 (FP_EX_INVALID_CVI): Likewise.
7099 (FP_EX_INVALID_VC): Likewise.
7100 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7101 "invalid" exceptions.
7102 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7103 (_FP_ADD_INTERNAL): Likewise.
7104 (_FP_MUL): Likewise.
7105 (_FP_FMA): Likewise.
7106 (_FP_DIV): Likewise.
7107 (_FP_CMP_CHECK_NAN): Likewise.
7108 (_FP_SQRT): Likewise.
7109 (_FP_TO_INT): Likewise.
7110 (FP_EXTEND): Likewise.
7111
b6dcfe8c
AM
71122014-10-09 Allan McRae <allan@archlinux.org>
7113
7114 * po/fr.po: Update French translation from translation project.
7115
2d6a47ba
JM
71162014-10-09 Joseph Myers <joseph@codesourcery.com>
7117
cb831245
JM
7118 [BZ #14132]
7119 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7120 of INTDEF.
7121 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7122 (__cxa_atexit): Use libc_hidden_proto.
7123 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7124
5deeb190
JM
7125 [BZ #14132]
7126 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7127 declaration.
7128 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7129 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7130 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7131 [!_ISOMAC] (__iswctype_internal): Likewise.
7132 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7133 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7134 alias.
7135 (fcntl): Remove __fcntl_internal alias.
7136 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7137 __connect_internal alias.
7138 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7139 Likewise.
7140
454ac701
JM
7141 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7142 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7143 FP_DENORM_ZERO.
7144 (_FP_CHECK_FLUSH_ZERO): New macro.
7145 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7146 (_FP_CMP): Likewise.
7147 (_FP_CMP_EQ): Likewise.
7148 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7149 FP_DENORM_ZERO.
7150 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7151 (FP_TRUNC): Likewise.
7152
0022e688
JM
7153 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7154 treated as invalid conversion, not as normal exponent.
7155
73e28d9c
JM
7156 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7157 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7158 (_FP_CMP_EQ): Likewise.
7159 (_FP_CMP_UNORD): Likewise.
7160 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7161 (FP_CMP_EQ_D): Likewise.
7162 (FP_CMP_UNORD_D): Likewise.
7163 * soft-fp/extended.h (FP_CMP_E): Likewise.
7164 (FP_CMP_EQ_E): Likewise.
7165 (FP_CMP_UNORD_E): Likewise.
7166 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7167 (FP_CMP_EQ_Q): Likewise.
7168 (FP_CMP_UNORD_Q): Likewise.
7169 * soft-fp/single.h (FP_CMP_S): Likewise.
7170 (FP_CMP_EQ_S): Likewise.
7171 (FP_CMP_UNORD_S): Likewise.
7172 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7173 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7174 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7175 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7176 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7177 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7178 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7179 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7180 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7181 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7182 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7183 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7184 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7185 to FP_CMP_Q.
7186 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7187 FP_CMP_Q.
7188 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7189 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7190 FP_CMP_EQ_Q.
7191 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7192 FP_CMP_Q.
7193 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7194 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7195 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7196 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7197 FP_CMP_EQ_Q.
7198 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7199 FP_CMP_Q.
7200 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7201 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7202 FP_CMP_EQ_Q.
7203 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7204 FP_CMP_Q.
7205 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7206 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7207 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7208 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7209 FP_CMP_EQ_Q.
7210
43059f42
JM
7211 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7212 a subnormal result, set the underflow exception if trapping on
7213 underflow is enabled.
7214 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7215 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7216 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7217 redefine to 0.
7218 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7219 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7220 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7221 * soft-fp/extendxftf2.c (__extendxftf2): Use
7222 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7223
2d6a47ba
JM
7224 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7225 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7226 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7227 FP_HANDLE_EXCEPTIONS.
7228 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7229 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7230 FP_HANDLE_EXCEPTIONS.
7231 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7232 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7233 FP_HANDLE_EXCEPTIONS.
7234 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7235 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7236 FP_HANDLE_EXCEPTIONS.
7237
620f462e
JM
72382014-10-08 Joseph Myers <joseph@codesourcery.com>
7239
7240 [BZ #14132]
7241 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7242 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7243 use INTUSE.
7244 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7245 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7246 Remove alias.
7247 (__adjtimex): Define using libc_hidden_ver.
7248 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7249 Remove declaration.
7250 (ntp_gettime): Call __adjtimex directly.
7251 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7252 Remove declaration.
7253 (ntp_gettimex): Call __adjtimex directly.
7254 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7255 __adjtimex_internal alias.
7256
c763c5d2
RM
72572014-10-08 Roland McGrath <roland@hack.frob.com>
7258
7259 [BZ #17460]
7260 * nscd/nscd.c (more_help): Rewrite list of tables collection
7261 using xstrdup and asprintf.
7262
7263 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7264
7b8fb2b8
RM
72652014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7266 Roland McGrath <roland@hack.frob.com>
7267
7268 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7269 (do_lookup_unique): ... local function 'enter' here; update callers.
7270
abb280f7
JM
72712014-10-06 Joseph Myers <joseph@codesourcery.com>
7272
f7b42517
JM
7273 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7274 compat_symbol calls on [SHARED].
7275 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7276 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7277 Remove.
7278 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7279 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7280 (oldsetrlimit): Remove.
7281 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7283 (lchown): New syscall entry.
7284 (oldsetrlimit): Remove.
7285 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7287 (oldsetrlimit): Remove.
7288 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7289
abb280f7
JM
7290 [BZ #14138]
7291 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7292 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7293 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7294 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7295 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7296 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7297 (fchown): Likewise.
7298 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7299 (fchown): Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7301 Likewise.
7302
47d46237
AZ
73032014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7304
7305 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7306 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7307 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7308 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7309 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7310 Likewise.
7311 (__old_sem_post): Likewise.
7312
73132014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7314
845a7343
CM
7315 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7316 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7317 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7318 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7319 Use INLINE_VSYSCALL macro.
7320 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7321 __vdso_clock_gettime.
7322 * sysdeps/unix/sysv/linux/tile/init-first.c
7323 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7324 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7325 __vdso_clock_gettime.
7326
83d641ef
CM
7327 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7328 to set up frame more cleanly.
7329
d9cd52e6
CM
7330 * sysdeps/tile/memcmp.c: New file.
7331
4b68ea11
CM
7332 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7333
c86f7b80
CM
7334 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7335 * sysdeps/tile/tilegx/strcasestr.c: New file.
7336 * sysdeps/tile/tilegx/strnlen.c: New file.
7337 * sysdeps/tile/tilegx/strstr.c: New file.
7338
1c4c1a6f
CM
7339 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7340
99d86ea3
AS
73412014-10-06 Arjun Shankar <arjun.is@lostca.se>
7342
7343 * nptl/tst-setuid3.c: Write errors to stdout.
7344
06210a44
KS
73452014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7346
7347 * elf/dl-deps.c
7348 (preload): New functions broken out of _dl_map_object_deps.
7349 (_dl_map_object_deps): Remove a nested function. Update call sites.
7350
6268f532
JM
73512014-10-01 Joseph Myers <joseph@codesourcery.com>
7352
7353 [BZ #14138]
7354 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7355 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7356
b925285f
SE
73572014-10-01 Steve Ellcey <sellcey@mips.com>
7358
7359 * sysdeps/mips/strcmp.S: New.
7360
754a15c6
JM
73612014-09-30 Joseph Myers <joseph@codesourcery.com>
7362
7363 [BZ #14138]
7364 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7365 (linkat): Likewise.
7366 (mkdirat): Likewise.
7367 (readlinkat): Likewise.
7368 (renameat): Likewise.
7369 (symlinkat): Likewise.
7370 (unlinkat): Likewise.
7371 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7372 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7373 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7374 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7375 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7376 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7377 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7378
85bb81c9
WN
73792014-09-30 Will Newton <will.newton@linaro.org>
7380
dc6fe23b
WN
7381 * math/math.h: Define long double math functions if
7382 _LIBC_TEST is defined.
7383 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7384
85bb81c9
WN
7385 * localedata/Makefile: Move assignment to tests-special
7386 into an ifdef testing run-built-tests.
7387 * timezone/Makefile: Likewise.
7388
b7e02da4
JM
73892014-09-29 Joseph Myers <joseph@codesourcery.com>
7390
7391 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7392 with $(BASH) not $(SHELL).
7393
62058ce6
CD
73942014-09-29 Carlos O'Donell <carlos@redhat.com>
7395 Matthew LeGendre <legendre1@llnl.gov>
7396
7397 [BZ #17411]
7398 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7399 l_reloc_result.
7400
8e257a29
KS
74012014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7402
7403 * stdio-common/printf_fp.c
7404 (hack_digit): New function, broken out of ...
7405 (__printf_fp): ... local function here. Update call sites.
7406 hack_digit now takes an additional parameter that is a pointer
7407 to a struct of the referenced locals. Those locals moved inside
7408 the struct and references updated.
7409
f4a58f0d
L
74102014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7411
7412 * aclocal.m4: Require autoconf 2.69.
7413 * configure: Regenerated.
7414 * sysdeps/aarch64/configure: Likewise.
7415 * sysdeps/alpha/configure: Likewise.
7416 * sysdeps/arm/armv7/configure: Likewise.
7417 * sysdeps/arm/configure: Likewise.
7418 * sysdeps/ia64/configure: Likewise.
7419 * sysdeps/mach/configure: Likewise.
7420 * sysdeps/mips/configure: Likewise.
7421 * sysdeps/s390/configure: Likewise.
7422 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7424
7425 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7426 file.
7427 * sysdeps/ia64/configure.ac: Likewise.
7428
93ae1eba
JM
74292014-09-26 Joseph Myers <joseph@codesourcery.com>
7430
1810d3ab
JM
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7432 specify symbol version for ld.so. Do not include entry for
7433 libpthread.
7434 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7435 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7436 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7437
93ae1eba
JM
7438 [BZ #14171]
7439 * Makeconfig [$(build-shared) = yes]
7440 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7441 makefiles.
7442 [$(build-shared) = yes && $(soversions.mk-done) = t]
7443 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7444 [$(build-shared) = yes && $(soversions.mk-done) = t]
7445 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7446 to Makerules.
7447 [$(build-shared) = yes && $(soversions.mk-done) = t]
7448 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7449 here.
7450 [$(build-shared) = yes && $(soversions.mk-done) = t]
7451 (common-generated): Don't append gnu/lib-names.h and
7452 gnu/lib-names.stmp here.
7453 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7454 (lib-names-h-abi): New variable.
7455 [$(build-shared) = yes && $(soversions.mk-done) = t]
7456 (lib-names-stmp-abi): Likewise.
7457 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7458 abi-variants] (before-compile): Append
7459 $(common-objpfx)$(lib-names-h-abi).
7460 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7461 abi-variants] (common-generated): Append gnu/lib-names.h.
7462 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7463 abi-variants] (install-others-nosubdir): Depend on
7464 $(inst_includedir)/$(lib-names-h-abi).
7465 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7466 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7467 [$(build-shared) = yes && $(soversions.mk-done) = t]
7468 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7469 [$(build-shared) = yes && $(soversions.mk-done) = t]
7470 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7471 [$(build-shared) = yes && $(soversions.mk-done) = t]
7472 (common-generated): Append $(lib-names-h-abi) and
7473 $(lib-names-stmp-abi).
7474 * scripts/lib-names.awk: Do not handle multi being set.
7475 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7476 Remove variable.
7477 (abi-lp64_be-ld-soname): Likewise.
7478 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7479 Likewise.
7480 (abi-hard-ld-soname): Likewise.
7481 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7482 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7483 Remove variable.
7484 (abi-o32_hard-ld-soname): Likewise.
7485 (abi-o32_soft_2008-ld-soname): Likewise.
7486 (abi-o32_hard_2008-ld-soname): Likewise.
7487 (abi-n32_soft-ld-soname): Likewise.
7488 (abi-n32_hard-ld-soname): Likewise.
7489 (abi-n32_soft_2008-ld-soname): Likewise.
7490 (abi-n32_hard_2008-ld-soname): Likewise.
7491 (abi-n64_soft-ld-soname): Likewise.
7492 (abi-n64_hard-ld-soname): Likewise.
7493 (abi-n64_soft_2008-ld-soname): Likewise.
7494 (abi-n64_hard_2008-ld-soname): Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7496 Likewise.
7497 (abi-64-v2-ld-soname): Likewise.
7498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7499 ld.so entries.
7500 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7501 variable.
7502 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7503 entry.
7504 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7505 variable.
7506 (abi-64-ld-soname): Likewise.
7507 (abi-x32-ld-soname): Likewise.
7508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7509 entry.
7510 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7511
68870f12
JM
75122014-09-23 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #14138]
7515 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7516 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7517 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7518 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7519 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7520 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7521 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7522 syscall entry for GLIBC_2.2 symbol version.
7523 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7524 Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7526 (setrlimit): Likewise.
7527 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7528 Likewise.
7529
ea58f202
WN
75302014-09-23 Will Newton <will.newton@linaro.org>
7531
7532 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7533 _LINUX_ARM_SYSDEP_H include guard too.
7534 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7535 define.
7536
69eb9a18
RV
75372014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7538
7539 * sysdeps/unix/sysv/linux/eventfd.c:
7540 Make first argument unsigned.
7541 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7542 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7543
20e5a5f7
OB
75442014-09-20 Ondřej Bílka <neleai@seznam.cz>
7545
7546 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7547 * socket/sys/socket.h: Likewise
7548 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7549
d3c827e7
AK
75502014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7551
7552 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7553
fe1cc35a
AS
75542014-09-17 Arjun Shankar <arjun.is@lostca.se>
7555
7556 * time/tst-ftime.c: New test.
7557 * time/Makefile (tests): Add tst-ftime.
7558
4e8afe69
JM
75592014-09-17 Joseph Myers <joseph@codesourcery.com>
7560
c4fe3ea7
JM
7561 * soft-fp/extended.h: Fix comment formatting.
7562 * soft-fp/op-1.h: Likewise.
7563 * soft-fp/op-2.h: Likewise.
7564 * soft-fp/op-4.h: Likewise.
7565 * soft-fp/op-8.h: Likewise.
7566 * soft-fp/op-common.h: Likewise.
7567 * soft-fp/soft-fp.h: Likewise.
7568
4e8afe69
JM
7569 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7570
af296fcd
JM
75712014-09-16 Joseph Myers <joseph@codesourcery.com>
7572
7573 [BZ #6652]
7574 * Makeconfig (soversions-default-setname): Remove variable.
7575 ($(common-objpfx)soversions.i): Don't pass default_setname to
7576 soversions.awk.
7577 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7578 oldest_abi to abi-versions.awk.
7579 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7580 * config.make.in (oldest-abi): Remove variable.
7581 * configure.ac (--enable-oldest-abi): Remove configure option.
7582 * configure: Regenerated.
7583 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7584 text.
7585 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7586 * scripts/soversions.awk: Do not handle default_setname variable.
7587 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7588 variable.
7589 * sysdeps/mach/hurd/configure: Regenerated.
7590 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7591 variable.
7592 * sysdeps/unix/sysv/linux/configure: Regenerated.
7593
545583d6
SP
75942014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7595
d330b980
SP
7596 * elf/Makefile (CFLAGS-interp.c): Remove.
7597 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7598 path string.
7599 * elf/interp.c: Include generated runtime-linker.h
7600
02657da2
SP
7601 * Makerules (lib%.so): Don't include $(+interp) in
7602 prerequisites.
7603 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7604 * dlfcn/eval.c: Remove file.
7605
653b1080
SP
7606 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7607 macros.
7608
602f80ec
SP
7609 [BZ #17266]
7610 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7611 4.2 and newer.
7612
545583d6
SP
7613 [BZ #17370]
7614 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7615
884ddc50
SP
76162014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7617 Jakub Jelinek <jakub@redhat.com>
7618
7619 [BZ #17266]
7620 * libio/stdio.h: Check definition of __fortify_function
7621 instead of __extern_always_inline to include bits/stdio2.h.
7622 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7623 check if __extern_always_inline is defined.
7624 [__USE_MISC || __USE_XOPEN]: Likewise.
7625 [__USE_ISOC99] Likewise.
7626 * misc/sys/cdefs.h (__fortify_function): Define only if
7627 __extern_always_inline is defined.
7628 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7629 __extern_always_inline and __extern_inline only for g++-4.3
7630 and newer or a compatible gcc.
7631
a7b87268
AS
76322014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 [BZ #17371]
7635 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7636 last change to handle zero prefix length.
7637
3f41521d
SP
76382014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7639
61fe374a
SP
7640 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7641 _SC_REGEX_VERSION.
7642
3f41521d
SP
7643 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7644 _POSIX_RAW_SOCKETS.
7645
d8f879ee
AM
76462014-09-13 Allan McRae <allan@archlinux.org>
7647
7648 * po/ru.po: Update Russian translation from translation project.
7649
c079afb7
RM
76502014-09-12 Roland McGrath <roland@hack.frob.com>
7651
a62b3c15
RM
7652 * locale/programs/locale.c (show_locale_vars): Inline local function
7653 into its sole call site. Clean up some style nits.
7654 (print_item): New function, broken out of ...
7655 (show_info): ... local function here. Clean up style nits.
7656
d7e49b19
RM
7657 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7658 out of ...
7659 (set_class_defaults): ... local function set_default here.
7660 Define set_default as a macro locally to pass constant parameters.
7661 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7662 rather than a shared local.
7663
c079afb7
RM
7664 * stdlib/rpmatch.c (try): New function, broken out of ...
7665 (rpmatch): ... local function here. Also, prototypify definition.
7666
0bd72468
JM
76672014-09-12 Joseph Myers <joseph@codesourcery.com>
7668
ba90e050
JM
7669 * scripts/soversions.awk: Do not handle configuration names.
7670 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7671 vendor and os variables to soversions.awk.
7672 * configure.ac: Do not modify gnu-* host_os.
7673 * configure: Regenerated
7674 * shlib-versions: Remove first column with configuration names.
7675 * nptl/shlib-versions: Likewise.
7676 * nptl_db/shlib-versions: Likewise.
7677 * sysdeps/hppa/shlib-versions: Likewise.
7678 * sysdeps/m68k/shlib-versions: Likewise.
7679 * sysdeps/mach/hurd/shlib-versions: Likewise.
7680 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7681 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7682 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7683 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7684 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7685 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7686 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7687 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7689 Likewise.
7690 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7691 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7692 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7693 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7695 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7696 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7697 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7698
73a39112
JM
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7700 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7702 Regenerated.
7703 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7705 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7706
c729e7c1
JM
7707 * shlib-versions: Remove OS-specific entries. Moved to files in
7708 sysdeps.
7709 * sysdeps/mach/hurd/shlib-versions: New file.
7710 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7711
dc932a24
JM
7712 * nptl/shlib-versions: Remove architecture-specific entries.
7713 Moved to files in sysdeps.
7714 * shlib-versions: Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7716 file.
7717 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7718 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7721
0bd72468
JM
7722 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7723 (UDP_NO_CHECK6_RX): Likewise.
7724
920238e0
SP
77252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7726
7727 * sysdeps/posix/sysconf.c (__sysconf): Spell
7728 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7729
ba7b4d29
FW
77302014-08-12 Florian Weimer <fweimer@redhat.com>
7731
7732 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7733 loading.
7734 * iconv/Versions (__gconv_transliterate): Export for use from
7735 gconv modules.
7736 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7737 (struct __gconv_trans_data, __gconv_trans_fct,
7738 __gconv_trans_context_fct, __gconv_trans_query_fct,
7739 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7740 definitions.
7741 (struct __gconv_step_data): Remove __trans member.
7742 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7743 longer hidden. Remove unused trans_data argument.
7744 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7745 (__gconv_translit_find): Remove declaration.
7746 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7747 prototype.
7748 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7749 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7750 trans_data argument. Add hidden definition.
7751 (__gconv_translit_find): Remove.
7752 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7753 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7754 * iconv/skeleton.c: Remove transliteration initialization.
7755 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7756 __gconv_step_data initialization.
7757 * libio/iofwide.c (__libio_translit_): Remove.
7758 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7759 * wcsmbs/btowc.c (__btowc): Likewise.
7760 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7761 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7762 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7763 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7764 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7765 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7766 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7767 * wcsmbs/wctob.c (wctob): Likewise.
7768
5379aebd
SP
77692014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7770
7771 [BZ #16194]
7772 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7773 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7774 register usage.
7775 * sysdeps/x86/Makefile: Adjust.
7776
8c0ab919
RM
77772014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7778 Roland McGrath <roland@hack.frob.com>
7779
7780 * locale/weight.h: Add include guard.
7781 (findidx): Make static rather than auto; take new parameters
7782 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7783 * locale/weightwc.h: Likewise.
7784 * posix/fnmatch_loop.c
7785 (FCT): Change type of EXTRA from int32_t to wint_t.
7786 Don't include either header inside the function.
7787 Call FINDIDX rather than findidx, and pass new arguments.
7788 #undef FINDIDX at the end of the file.
7789 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7790 FINDIDX before including fnmatch_loop.c for the non-wide version.
7791 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7792 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7793 for the wide version.
7794 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7795 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7796 Pass new arguments to findidx.
7797 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7798 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7799 Don't #include it inside the function. Pass new arguments to findidx.
7800 * posix/regex_internal.h
7801 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7802 (re_string_elem_size_at): Don't #include it inside the function.
7803 Pass new arguments to findidx.
7804 * string/strcoll_l.c: #include WEIGHT_H at top level.
7805 (get_next_seq): Don't #include it inside the function.
7806 Pass new arguments to findidx.
7807 (get_next_seq_nocache): Likewise.
7808 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7809 (STRXFRM): Don't #include it inside the function.
7810 Pass new arguments to findidx.
7811
52ffbdf2
FW
78122014-09-11 Florian Weimer <fweimer@redhat.com>
7813
7814 [BZ #17344]
7815 * malloc/malloc.c (unlink): Turn asserts into a call to
7816 malloc_printerr.
7817
984c0ea9
TL
78182014-09-11 Tim Lammens <tim.lammens@gmail.com>
7819
7820 [BZ #17370]
7821 * libio/wfileops (do_ftell_wide): Free OUT.
7822
3daee107
CM
78232014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7824
7825 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7826
58b930ae
SP
78272014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7828
7829 [BZ #17363]
7830 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7831 group if the current group is empty.
7832
3b473fec
AZ
78332014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834
71ae8647
AZ
7835 * benchtests/bench-memset.c (test_main): Add more test from size
7836 from 32 to 512 bytes.
7837 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7838 Add POWER8 memset object.
7839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7840 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7841 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7842 implementation.
7843 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7844 Likewise.
7845 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7846 multiarch POWER8 memset optimization.
7847 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7848 POWER8 memset optimization.
7849
3b473fec
AZ
7850 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7851 Remove bzero multiarch objects.
7852 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7853 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7854 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7855 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7856 Remove define.
7857 [__bzero]: Redefine to specific name.
7858 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7859 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7860 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7861 define.
7862 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7863 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7864
e6fb9587
FW
78652014-09-10 Florian Weimer <fweimer@redhat.com>
7866
7867 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7868 warnings into errors.
7869
7870 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7871 __cxa_thread_atexit_impl prototype.
7872
9d3a350b
SE
78732014-09-09 Steve Ellcey <sellcey@mips.com>
7874
7875 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7876 Fix capitalization of error message.
7877
0febba23
SE
78782014-09-09 Steve Ellcey <sellcey@mips.com>
7879
7880 * sysdeps/mips/preconfigure: Modify ABI tests.
7881
645a0e9c
CD
78822014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7883
7884 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7885
d83f0734
CD
78862014-09-07 Roland McGrath <roland@hack.frob.com>
7887 Carlos O'Donell <carlos@systemhalted.org>
7888
7889 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7890 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7891 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7892 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7893 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7894 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7895 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7896 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7897 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7898 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7899 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7900 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7901 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7902 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7903 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7904 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7905 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7906 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7907 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7908 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7909 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7910 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7911 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7912 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7913 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7914 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7915 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7916 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7917 Deconditionalize the code that was previously under [RESET_PID].
7918 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7919 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7920 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7921 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7922 include sysdep.h.
7923
21c83793
AM
79242014-09-08 Allan McRae <allan@archlinux.org>
7925
7926 * version.h (RELEASE): Set to "development".
7927 (VERSION): Set to "2.20.90"
7928
1cd9b65c
AM
79292014-09-07 Allan McRae <allan@archlinux.org
7930
b8079dd0
AM
7931 * version.h (RELEASE): Set to "stable".
7932 (VERSION): Set to "2.20"
7933 * include/features.h (__GLIBC_MINOR__): Set to 20.
7934
c46303ef
AM
7935 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7936 Liebler.
7937
1cd9b65c
AM
7938 * po/ko.po: Update Korean translation from translation project.
7939
8622092d
CM
79402014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7941
7942 [BZ #17354]
7943 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7944 macro for handling signed relocations.
7945
41488498
FW
79462014-09-03 Florian Weimer <fweimer@redhat.com>
7947
7948 [BZ #17325]
7949 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7950 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7951 assert.
7952 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7953 * iconvdata/ibm935.c (BODY): Likewise.
7954 * iconvdata/ibm937.c (BODY): Likewise.
7955 * iconvdata/ibm939.c (BODY): Likewise.
7956 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7957 assert.
7958 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7959 script.
7960 * iconvdata/run-iconv-test.sh: New test loop for checking for
7961 decoder crashers.
7962
a78b712d
KR
79632014-09-02 Khem Raj <raj.khem@gmail.com>
7964
7965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7966 libm_hidden_ver.
7967
cb08abc6
AM
79682014-09-01 Allan McRae <allan@archlinux.org>
7969
2c31e102
AM
7970 * po/eo.po: Update Esperanto translation from translation project.
7971
cb08abc6
AM
7972 * po/ca.po: Update Catalan translation from translation project.
7973
17a62de1
ST
79742014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7975
7976 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7977 __proc_dostop call.
7978
9570bc53
MW
79792014-08-27 Mark Wielaard <mjw@redhat.com>
7980
7981 [BZ #17319]
7982 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7983 to call set_thread_area instead of hand written asm.
7984 (__NR_set_thread_area): Removed define.
7985 (TLS_FLAG_WRITABLE): Likewise.
7986 (__ASSUME_SET_THREAD_AREA): Remove check.
7987 (TLS_EBX_ARG): Remove define.
7988 (TLS_LOAD_EBX): Likewise.
7989
b0f955c9
ST
79902014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7991
7992 Simplify atomicity of socket creation in bind.
7993
7994 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7995 looking up the name after linking the file.
7996
529bf515
AM
79972014-08-27 Allan McRae <allan@archlinux.org>
7998
7999 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8000
a1a6a401
FW
80012014-08-26 Florian Weimer <fweimer@redhat.com>
8002
8003 [BZ #17187]
8004 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8005 trans_compare, open_translit, __gconv_translit_find):
8006 Remove module loading code.
8007
686ab290
AM
80082014-08-26 Allan McRae <allan@archlinux.org>
8009
e4e7cfd2
AM
8010 * po/vi.po: Update Vietnamese translation from translation project.
8011
6aa09f71
AM
8012 * po/uk.po: Update Ukrainian translation from translation project.
8013
edc0660e
AM
8014 * po/fr.po: Update French translation from translation project.
8015
7eea72ac
AM
8016 * po/ru.po: Update Russian translation from translation project.
8017
93c49eff
AM
8018 * po/pl.po: Update Polish translation from translation project.
8019
46acaf63
AM
8020 * po/cs.po: Update Czech translation from translation project.
8021
a9f5ce98
AM
8022 * po/de.po: Update German translation from translation project.
8023
373f2b78
AM
8024 * po/bg.po: Update Bulgarian translation from translation project.
8025
e7548bd8
AM
8026 * po/sv.po: Update Sweedish translation from translation project.
8027
c526bf4d
AM
8028 * po/nl.po: Update Dutch translation from translation project.
8029
686ab290
AM
8030 * po/es.po: Update Spanish translation from translation project.
8031
eb72478a
SP
80322014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8033
dd763fdb
SP
8034 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8035
318c7a58
SP
8036 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8037 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8038 (CPPFLAGS-iconvconfig): Likewise.
8039 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8040
eb72478a
SP
8041 * include/libc-symbols.h: Remove unnecessary check for
8042 NOT_IN_libc.
8043 * nptl/pthreadP.h: Likewise.
8044 * sysdeps/aarch64/setjmp.S: Likewise.
8045 * sysdeps/alpha/setjmp.S: Likewise.
8046 * sysdeps/arm/sysdep.h: Likewise.
8047 * sysdeps/i386/setjmp.S: Likewise.
8048 * sysdeps/m68k/setjmp.c: Likewise.
8049 * sysdeps/posix/getcwd.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8052 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8053 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8054 * sysdeps/sh/sh3/setjmp.S: Likewise.
8055 * sysdeps/sh/sh4/setjmp.S: Likewise.
8056 * sysdeps/unix/alpha/sysdep.h: Likewise.
8057 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8059 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8060 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8068 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8070 * sysdeps/x86_64/setjmp.S: Likewise.
8071
d44a052c
JM
80722014-08-13 Joseph Myers <joseph@codesourcery.com>
8073
8074 [BZ #17263]
8075 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8076 <stdint.h>.
8077 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8078 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8079
508ce3ac
SP
80802014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8081
e44c8b0e
SP
8082 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8083
508ce3ac
SP
8084 [BZ #17262]
8085 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8086 and __x86_64__ when disabling x87 inline functions.
8087
b4acef1f
L
80882014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8089
8090 [BZ #17259]
8091 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8092 asm statement with __cpuid_count.
8093
61b1ef6e
MF
80942014-08-12 Mike Frysinger <vapier@gentoo.org>
8095
8096 * configure.ac: Change __ehdr_start code to dereference the struct.
8097 Run readelf on the output to look for relocations.
8098 * configure: Regenerated.
8099
898c62f4
JM
81002014-08-12 Joseph Myers <joseph@codesourcery.com>
8101
8102 [BZ #17261]
8103 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8104 value to 0.
8105 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8106
9a8a5720
RM
81072014-08-12 Roland McGrath <roland@hack.frob.com>
8108
8109 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8110
4e75751c
BO
81112014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8112
8113 [BZ #16892]
8114 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8115 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8116
bb2ce416
SA
81172014-08-12 Sean Anderson <seanga2@gmail.com>
8118
8119 * malloc/malloc.c: Fix typo in comment.
8120
7950a4ee
AM
81212014-08-09 Allan McRae <allan@archlinux.org>
8122
8123 * Regenerate libc.po.
8124
f469c49f
MF
81252014-08-08 Mike Frysinger <vapier@gentoo.org>
8126
8127 * intl/tst-gettext2.sh: Check every lang file for creation.
8128
656b84c2
WD
81292014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8130
8131 * sysdeps/aarch64/fpu/math_private.h
8132 (libc_feholdsetround_noex_aarch64_ctx): New function.
8133
538e9e45
W
81342014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8135
8136 * sysdeps/arm/armv6/strcpy.S (strcpy):
8137 Fix performance issue in misaligned cases.
8138
d4795e4a
AZ
81392014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8142 Move definition from termios.h.
8143 (struct termio): Likewise.
8144 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8145 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8146 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8147 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8148 Likewise.
8149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8150 Move definition to ioctl-types.h
8151 (struct termio): Likewise.
8152 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8153 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8154 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8155 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8156 Likewise.
8157
64accb62
RH
81582014-08-05 Richard Henderson <rth@redhat.com>
8159
27bb6dc0
RH
8160 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8161 exceptions.
8162 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8163 Add fraiseexcpt.
8164 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8165 Use __feraiseexcept.
8166 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8167 Protect libm symbols with IS_IN_libm.
8168
64accb62
RH
8169 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8170
e5292691
BO
81712014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8172
8173 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8174
5b4bd2d4
WN
81752014-08-04 Will Newton <will.newton@linaro.org>
8176
8177 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8178 file.
8179
fcadaeef
MF
81802014-08-04 Mike Frysinger <vapier@gentoo.org>
8181
8182 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8183 variants for each function.
8184
43a94c64
RM
81852014-08-04 Roland McGrath <roland@hack.frob.com>
8186
8187 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8188 appended ...
8189 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8190 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8191 appended ...
8192 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8193 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8194 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8195 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8196 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8197 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8198 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8199 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8200 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8201 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8212 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8216 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8217 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8218 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8219 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8220 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8221 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8222 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8224 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8225 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8226 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8228 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8229 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8230 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8231 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8232 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8233 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8234 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8235 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8236 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8237 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8238 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8239 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8240 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8241 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8242 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8243 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8244 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8245 Update #include.
8246 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8247 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8248
8f3c1fa4
RM
82492014-08-04 Roland McGrath <roland@hack.frob.com>
8250
8251 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8252 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8253 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8254 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8255 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8256 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8257
ca08746f
RM
82582014-08-04 Roland McGrath <roland@hack.frob.com>
8259
8260 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8261 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8262 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8263 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8264
9c925ff9
RM
82652014-08-04 Roland McGrath <roland@hack.frob.com>
8266
8267 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8268 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8269 (__libc_vfork): Define function under this name.
8270 (__vfork): Define as an alias.
8271 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8272 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8273
e641054c
RM
82742014-08-04 Roland McGrath <roland@hack.frob.com>
8275
8276 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8277 that was previously under [RESET_PID].
8278 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8279
dacdc867
AS
82802014-08-04 Andreas Schwab <schwab@suse.de>
8281
8282 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8283
41f725ff
MF
82842014-08-03 Mike Frysinger <vapier@gentoo.org>
8285
8286 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8287 (main): Likewise.
8288
277cfb31
RM
82892014-08-01 Roland McGrath <roland@hack.frob.com>
8290
8291 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8292
4896f049
RH
82932014-08-01 Richard Henderon <rth@redhat.com>
8294
8295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8296 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8297 typo in exact zero test.
8298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8301
6f64e7d7
RM
83022014-08-01 Roland McGrath <roland@hack.frob.com>
8303
8304 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8305 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8306 * sysdeps/arm/sysdep.h: ... here.
8307 [!__ASSEMBLER__]: Include <stdint.h>.
8308
3f3dd810
SP
83092014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8310
a476ac4b
SP
8311 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8312 (HAVE_WCTYPE_H): Likewise.
8313 (HAVE_ISWCTYPE): Likewise.
8314 (ENABLE_NLS): Likewise.
8315 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8316 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8317
78dd658a
SP
8318 * posix/regex_internal.c: Check if DEBUG is defined and is
8319 set.
8320
3f3dd810
SP
8321 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8322 (HAVE_MBSRTOWCS): Likewise.
8323 * posix/fnmatch.c: Include string.h unconditionally.
8324
95ee7fb1
SL
83252014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8326
8327 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8328 reversal.
8329
23fe486b
RM
83302014-07-31 Roland McGrath <roland@hack.frob.com>
8331
f61a113f
RM
8332 * sysdeps/generic/safe-fatal.h: New file.
8333 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8334 * nptl/forward.c: Include it.
8335 (__pthread_unwind): Use __safe_fatal as default action, rather
8336 than a bogus use of INTERNAL_SYSCALL that could never work.
8337
9fe7e787
RM
8338 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8339 * configure.ac (libc_cv_builtin_trap): New test.
8340 * configure: Regenerated.
8341 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8342 (ABORT_INSTRUCTION): Define using __builtin_trap.
8343
23fe486b
RM
8344 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8345 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8346 * sysdeps/nptl/nptl-signals.h: New file.
8347 * nptl/pthreadP.h: Include <nptl-signals.h>.
8348
f349489e
SL
83492014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8350
8351 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8352 (ONE_DIRECTION): Define.
8353 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8354 (ONE_DIRECTION): Define.
8355 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8356 (ONE_DIRECTION): Define.
8357
2f438e20
SL
83582014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8359
8360 * sysdeps/s390/Makefile: Delete file.
8361 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8362 * sysdeps/s390/__longjmp.c: Delete file.
8363 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8364 Remove fields __flags and __reserved.
8365 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8366 and add versioning.
8367 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8368 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8369 * sysdeps/s390/rtld-setjmp.S: Likewise.
8370 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8371 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8372 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8373 * sysdeps/s390/s390-32/setjmp.S: ... here.
8374 Add versioning.
8375 (__sigsetjmp): Remove setting __flags field.
8376 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8377 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8378 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8379 * sysdeps/s390/s390-64/setjmp.S: ... here.
8380 Add versioning.
8381 (__sigsetjmp): Remove setting __flags field.
8382 * sysdeps/s390/setjmp.S: Delete file.
8383 * sysdeps/s390/sigjmp.c: Likewise.
8384 * sysdeps/s390/v1-longjmp.c: Likewise.
8385 * sysdeps/s390/v1-setjmp.h: Likewise.
8386 * sysdeps/s390/v1-sigjmp.c: Likewise.
8387 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8388 Remove v1-longjmp_chk.
8389 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8390 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8391 Include debug/longjmp_chk.c and add versioning.
8392 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8393 Include nptl/pt-longjmp.c and add versioning.
8394 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8395 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8396 Include __longjmp.c.
8397 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8398 Move to ...
8399 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8400 (__getcontext): Remove setting __flags field.
8401 Add versioning.
8402 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8403 Don't restore upper high grps.
8404 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8405 Likewise.
8406 (__swapcontext): Remove setting uc_flags field.
8407 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8408 Delete file.
8409 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8410 Include __longjmp.c.
8411 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8412 Move to ...
8413 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8414 (__getcontext): Remove setting __flags field.
8415 Add versioning.
8416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8417 (__swapcontext): Remove setting uc_flags field.
8418 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8419 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8420 Remove fields uc_high_gprs and __reserved.
8421 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8422 New file with reverted content.
8423 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8424 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8425 Regenerated.
8426 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8427 Regenerated.
8428
6c9578a2
AS
84292014-07-31 Andreas Schwab <schwab@suse.de>
8430
8431 * config.h.in (HAVE_IFUNC): Define to 0.
8432 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8433 definedness.
8434
05f3633d
LM
84352014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8436
8437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8438 memmove-avx-unaligned, memcpy-avx-unaligned and
8439 mempcpy-avx-unaligned.
8440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8441 Add tests for AVX memcpy functions.
8442 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8443 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8444 memcpy_chk.
8445 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8446 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8447 memmove_chk.
8448 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8450 mempcpy_chk.
8451 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8452 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8453 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8454
a53fbd8e
AZ
84552013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8456
8457 [BZ #17213]
8458 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8459 powerpc64le.
8460
0961f7e1
JL
84612014-07-29 Jeff Layton <jlayton@poochiereds.net>
8462
8463 [BZ #16839]
8464 * manual/llio.texi: Add section about open file description locks.
8465 * manual/examples/ofdlocks.c: Example of open file description
8466 lock usage.
8467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8468 F_OFD_SETLK, and F_OFD_SETLKW.
8469
cc5fb300
AM
84702014-07-23 Allan McRae <allan@archlinux.org>
8471
8472 * po/es.po: Update Spanish translation from translation project.
8473
23329dca
AS
84742014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8475
8476 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8477
9c82da17
MR
84782014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8479
8480 [BZ #17078]
8481 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8482 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8483 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8484
29c4f53e
JM
84852014-07-17 Joseph Myers <joseph@codesourcery.com>
8486
831b9896
JM
8487 [BZ #17088]
8488 * math/fesetenv.c (__fesetenv)
8489 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8490 * math/feupdateenv.c (__feupdateenv)
8491 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8492
b21c2d50
JM
8493 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8494 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8495 (__ASSUME_SOCKETCALL): Do not define.
8496
067764ef
JM
8497 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8498 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8499 (__ASSUME_SOCKETCALL): Do not define.
8500 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8501 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8502 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8503 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8504 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8505 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8507 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8508
642530c1
JM
8509 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8510 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8511 (__ASSUME_SOCKETCALL): Do not define.
8512 (__ASSUME_IPC64): Define unconditionally.
8513 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8514 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8515 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8516 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8517 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8518 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8519 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8520 Likewise.
8521
03f77315
JM
8522 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8523 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8524 (__ASSUME_SOCKETCALL): Do not define.
8525 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8526 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8527 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8528 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8529 (__ASSUME_REQUEUE_PI): Define unconditionally.
8530 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8531 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8532 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8533 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8534 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8535 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8536
083b1f7c
JM
8537 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8538 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8539 (__ASSUME_SOCKETCALL): Do not define.
8540 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8541 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8542 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8543 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8544 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8545 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8546
5be44ea6
JM
8547 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8548 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8549 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8550 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8551 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8552 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8553 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8554 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8555 (__ASSUME_GETCPU_SYSCALL): Likewise.
8556
d95ffd4c
JM
8557 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8558 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8559 cases for individual architectures.
8560 * sysdeps/gnu/configure: Regenerated.
8561 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8562 LIBC_SLIBDIR_RTLDDIR.
8563 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8564 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8565 LIBC_SLIBDIR_RTLDDIR.
8566 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8568 LIBC_SLIBDIR_RTLDDIR.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8570 Regenerated.
8571 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8572 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8573 file.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8575 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8576 file.
8577 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8578 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8579 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8580 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8581
29c4f53e
JM
8582 * sysdeps/aarch64/shlib-versions: Move to ...
8583 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8584 * sysdeps/alpha/shlib-versions: Move to ...
8585 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8586 * sysdeps/arm/shlib-versions: Move to ...
8587 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8588 * sysdeps/hppa/shlib-versions: Move all contents except for
8589 libgcc_s entry to ...
8590 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8591 entry from ...
8592 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8593 * sysdeps/ia64/shlib-versions: Move to ...
8594 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8595 entry from ...
8596 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8597 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8598 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8599 * sysdeps/microblaze/shlib-versions: Move to ...
8600 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8601 * sysdeps/mips/shlib-versions: Move to ...
8602 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8603 entry from ...
8604 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8605 * sysdeps/tile/shlib-versions: Move to ...
8606 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8607 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8608 from ...
8609 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8610 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8611 entry from ...
8612 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8613
32bead5b
WN
86142014-07-17 Will Newton <will.newton@linaro.org>
8615
57977c4b
WN
8616 * sysdeps/arm/bits/atomic.h
8617 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8618 (__arch_compare_and_exchange_bool_16_int): Likewise.
8619 (__arch_compare_and_exchange_bool_64_int): Likewise.
8620
32bead5b
WN
8621 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8622 into an #else block.
8623
37fccd41
RM
86242014-07-16 Roland McGrath <roland@hack.frob.com>
8625
8626 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8627 just Linux configurations. Test empirically that the compiler sets
8628 __ARM_EABI__, rather than using the tuple to decide.
8629 * sysdeps/arm/preconfigure: Regenerated.
8630 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8631 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8632 contents appended ...
8633 * sysdeps/arm/configure.ac: ... here.
8634 * sysdeps/arm/configure: Regenerated.
8635
b365f3ec
RM
86362014-07-15 Roland McGrath <roland@hack.frob.com>
8637
8badf496
RM
8638 * nptl/pthread_kill.c: New file.
8639 * nptl/pthread_sigmask.c: New file.
8640 * nptl/pthread_sigqueue.c: New file.
8641
3df6f22e
RM
8642 * sysdeps/nptl/lowlevellock.h: New file.
8643 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8644 * sysdeps/nptl/lowlevellock-futex.h: New file.
8645
b365f3ec
RM
8646 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8647 Remove dead declarations.
8648
f2fef657
L
86492014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8652 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8653 config-cflags-avx2.
8654 * sysdeps/x86_64/configure.ac: Likewise.
8655 * sysdeps/i386/configure: Regenerated.
8656 * sysdeps/x86_64/configure: Likewise.
8657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8658 memset-avx2 only if config-cflags-avx2 is yes.
8659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8660 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8661 defined.
8662 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8663 only if HAVE_AVX2_SUPPORT is defined.
8664 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8665
f6c44d47
AM
86662014-07-14 Alan Modra <amodra@gmail.com>
8667
8668 [BZ #17153]
8669 * elf/elf.h (DT_PPC64_NUM): Correct value.
8670 * NEWS: Add to fixed bug list.
8671
7ee03f00
JM
86722014-07-13 Jim Meyering <meyering@fb.com>
8673
8674 [BZ 17150]
8675 regex: don't deref NULL upon heap allocation failure
8676 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8677 failure in one more place.
8678 To trigger the segfault, configure grep -with-included-regex,
8679 build it, and run these commands:
8680 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8681
9d39d517
AS
86822014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8683
8684 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8685
a75b89b7
RH
86862014-07-11 Richard Henderson <rth@redhat.com>
8687
8688 * sysdeps/aarch64/libm-test-ulps: Update.
8689
771eb141
FW
86902014-07-10 Florian Weimer <fweimer@redhat.com>
8691
8692 [BZ #17135]
8693 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8694 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8695 (__nptl_setxid): Initialize error member. Call
8696 __nptl_setxid_error.
8697 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8698 * nptl/descr.h (struct xid_command): Add error member.
8699 * nptl/tst-setuid3.c: New file.
8700 * nptl/Makefile (tests): Add it.
8701
bc1da176
AZ
87022014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8703
8704 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8705 New define.
8706 (__lll_trylock): Use __lll_base_trylock.
8707 (__lll_cond_trylock): Likewise.
8708
887865fc
RM
87092014-07-10 Roland McGrath <roland@hack.frob.com>
8710
c0c6bac9
RM
8711 * nptl/pthread_create.c (start_thread): Use atomic_or and
8712 lll_futex_wake directly rather than lll_robust_dead.
8713 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8714 (lll_robust_dead): Macro removed.
6a42be57 8715 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8716 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8717 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8718 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8720 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8721 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8722 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8723 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8725 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8726 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8727 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8728 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8729 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8730
887865fc
RM
8731 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8732 Use atomic_compare_and_exchange_val_acq directly rather than
8733 lll_robust_trylock.
8734 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8735 (__lll_robust_trylock, lll_robust_trylock): Removed.
8736 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8737 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8738 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8739 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8740 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8741 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8742 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8743 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8744 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8745 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8746 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8747 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8748 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8749 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8750
58536726
FW
87512014-07-02 Florian Weimer <fweimer@redhat.com>
8752
8753 * manual/locale.texi (Locale Names): New section documenting
8754 locale name syntax. Adjust menu and node chaining accordingly.
8755 (Choosing Locale): Reference Locale Names, Locale Categories.
8756 Mention setting LC_ALL=C. Reflect that name syntax is now
8757 documented.
8758 (Locale Categories): New section title. Reference Locale Names.
8759 LC_ALL is an environment variable, but not a category.
8760 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8761 description, now in Locale Name. Reference that section. Locale
8762 name syntax is now documented.
8763
4e8f95a0
FW
87642014-07-02 Florian Weimer <fweimer@redhat.com>
8765
8766 [BZ #17137]
8767 * locale/findlocale.c (name_present, valid_locale_name): New
8768 functions.
8769 (_nl_find_locale): Use the loc_name variable to store name
8770 candidates. Call name_present and valid_locale_name to check and
8771 validate locale names. Return an error if the locale is invalid.
8772
d1836456
FW
87732014-07-02 Florian Weimer <fweimer@redhat.com>
8774
8775 * locale/setlocale.c (setlocale): Use strdup for allocating
8776 composite name copy.
8777
d69b7f5a
SP
87782014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8779
888c679b
SP
8780 Sync up with gnulib.
8781 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8782 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8783 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8784 and _GL_ARG_NONNULL.
8785 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8786 [!_LIBC]: Include code for Windows and Cygwin.
8787 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8788 Include prototype for int strerror_r.
8789 [!_LIBC] (is_open): New function.
8790 (flush_stdout): New function.
8791 (print_errno_message): Use it.
8792 (error): Likewise.
8793 (error_at_line): Likewise.
8794 (error_tail) Add function attribute macros. Use
8795 __builtin_expect.
8796
180e0e4b
SP
8797 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8798
d22f1fe2
SP
8799 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8800
12f2254b
SP
8801 * io/ftw.c: Include sys/param.h unconditionally.
8802
c3c7c360
SP
8803 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8804
d62aa75a
SP
8805 [BZ #17125]
8806 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8807 libc_freeres_ptr.
8808 (freecache): New function to free CACHE on exit.
8809
d69b7f5a
SP
8810 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8811 initialization.
8812
5efe06a1
DM
88132014-07-09 David S. Miller <davem@davemloft.net>
8814
8815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8816
7000d82e
DM
8817 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8818 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8819 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8820 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8821 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8822 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8823 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8824 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8825 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8826 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8827 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8828 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8829 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8830
c213442d
AS
88312014-07-09 Andreas Schwab <schwab@suse.de>
8832
4a2552c3
AS
8833 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8834 output.
8835 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8836 (do_test): Likewise.
8837
c213442d
AS
8838 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8839
82374e65
WN
88402014-07-09 Will Newton <will.newton@linaro.org>
8841
8842 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8843 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8844 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8845 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8846 * sysdeps/hppa/start.S (_start): Likewise.
8847
6680738a
SP
88482014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8849
6ee3eab4
SP
8850 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8851
6680738a
SP
8852 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8853 defined.
8854
80b5c505
SP
88552014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8856
e35c53e3
SP
8857 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8858 after checking that it is non-NULL.
8859
80b5c505
SP
8860 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8861
91f4b564
AZ
88622014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8863
27b75f56
AZ
8864 * sysdeps/powerpc/memmove.c: Remove file.
8865 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8866 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8867 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8868 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8869 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8870 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8872 string memmove instead of removed powerpc one.
8873
e7f95bb5
AZ
8874 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8875 [weak_alias]: Fix compiler warning due trailing data.
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8877 [weak_alias]: Likewise.
8878 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8879 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8880
91f4b564
AZ
8881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8882 (__libc_ifunc_impl_list): Add memmove functions.
8883
7c33f1e5
SP
88842014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8885
8886 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8887 Remove code.
8888 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8889 Likewise
8890 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8891 Likewise
8892 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8893 Likewise
8894 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8895 Likewise
8896 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8897 Likewise
8898 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8899 Likewise
8900 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8901 Likewise
8902 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8903 Likewise
8904 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8905 Likewise
8906 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8907 Likewise
8908 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8909 Likewise
8910 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8911 Likewise
8912 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8913 Likewise
8914 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8915 Likewise
8916 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8917 Likewise
8918 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8919 Likewise
8920
3f17b03b
AZ
89212014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8922
87868c24
AZ
8923 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8924 to avoid alignment traps in non-cacheable memory.
8925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8926
07aedd78
AZ
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8928 multiarch objects.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8930 file: multiarch power7 memmove.
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8932 multiarch default memmove.
8933 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8934 multiarch memove for powerpc32/power4.
8935
17762f66
AZ
8936 * string/bcopy.c: Use full path to include memmove.c.
8937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8938 multiarch objects.
8939 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8940 bcopy for powerpc64.
8941 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8942 bcopy for powerpc64.
8943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8944 and memmove implementations.
8945 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8946 optimized multiarch memmove for POWER7/powerpc64.
8947 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8948 default multiarch memmove for powerpc64.
8949 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8950 multiarch for powerpc64.
8951 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8952 for POWER7/powerpc64.
8953 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8954 memmove for POWER7/powerpc64.
8955
d6f68bbe
AZ
8956 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8957 glibc default one.
8958
3f17b03b
AZ
8959 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8960 __ELF_NATIVE_CLASS equal to 64.
8961
08192659
RM
89622014-07-07 Roland McGrath <roland@hack.frob.com>
8963
f4c4021b
RM
8964 * sysdeps/nptl/lowlevellock.h: File removed.
8965
f083450f
RM
8966 * NEWS: NPTL is no longer an add-on!
8967 * nptl/internaltypes.h: Moved ...
8968 * sysdeps/nptl/internaltypes.h: ... here.
8969 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8970 * sysdeps/nptl/fork.c: Likewise.
8971 * sysdeps/nptl/gai_misc.h: Likewise.
8972 * sysdeps/nptl/librt-cancellation.c: Likewise.
8973 * sysdeps/nptl/jmp-unwind.c: Likewise.
8974 * sysdeps/nptl/setxid.h: Likewise.
8975 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8976 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8977 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8978 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8979 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8980 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8981 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8982 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8983 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8984 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8985 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8986 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8987 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8988 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8989 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8990 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8992 * nptl/Makeconfig: Moved ...
8993 * sysdeps/nptl/Makeconfig: ... here.
8994 * nptl/configure: File removed.
8995 * nptl/ANNOUNCE: File removed.
8996 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8997 * sysdeps/unix/sysv/linux/configure: Regenerated.
8998
08192659
RM
8999 * nptl/Makefile (routines): Add libc_pthread_init,
9000 libc_multiple_threads, register-atfork and unregister-atfork.
9001 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9002 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9003 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9004 pthread-pi-defines.sym, structsem.sym.
9005 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9006 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9007 [$(subdir) = nptl] (tests): Add tst-setgetname.
9008 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9009 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9010 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9011 [!LIBC_SIGACTION]: Remove aliases.
9012 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9013 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9014 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9015 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9016 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9017 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9018 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9020 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9021 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9022 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9023 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9024 __libc_allocate_rtsig_private.
9025 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9026 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9027 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9028 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9029 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9030 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9031 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9032 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9033 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9034 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9035 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9036 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9037 * nptl/internaltypes.h: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9039 * sysdeps/nptl/jmp-unwind.c: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9041 * nptl/libc-lowlevellock.c: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9043 * nptl/libc_multiple_threads.c: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9045 * nptl/libc_pthread_init.c: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9047 * nptl/lowlevelbarrier.sym: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9049 * nptl/lowlevelcond.sym: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9051 * nptl/lowlevellock.c: ... here.
9052 * nptl/lowlevellock.h: Moved ...
9053 * sysdeps/nptl/lowlevellock.h: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9055 * nptl/lowlevelrobustlock.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9057 * nptl/lowlevelrobustlock.sym: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9059 * nptl/lowlevelrwlock.sym: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9061 * nptl/pt-fork.c: ... here.
9062 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9063 * nptl/pthread-pi-defines.sym: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9065 * nptl/pthread_attr_getaffinity.c: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9067 * nptl/pthread_attr_setaffinity.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9069 * nptl/pthread_mutex_cond_lock.c: ... here.
9070 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9071 Update #include.
9072 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9073 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9074 * nptl/pthread_once.c: ... here, replacing old file.
9075 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9076 * nptl/pthread_yield.c: ... here.
9077 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9078 * nptl/register-atfork.c: ... here.
9079 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9080 * nptl/sem_post.c: ... here.
9081 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9082 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9083 * nptl/sem_timedwait.c: ... here.
9084 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9085 * nptl/sem_trywait.c: ... here.
9086 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9087 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9088 * nptl/sem_wait.c: ... here.
9089 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9090 * nptl/structsem.sym: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9092 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9093 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9094 * nptl/unregister-atfork.c: ... here.
9095 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9096 * nptl/unwindbuf.sym: ... here.
9097 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9098 * sysdeps/nptl/fork.c: ... here.
9099 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9100 * sysdeps/nptl/fork.h: ... here.
9101 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9102 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9103 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9104 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9105 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9106 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9107 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9108 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9109 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9111 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9112 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9113 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9114 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9115 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9116 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9117 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9118 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9119 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9120 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9121 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9122 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9123 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9124 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9125 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9126 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9127 * sysdeps/unix/sysv/linux/raise.c: ... here.
9128 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9129 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9130 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9131 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9132 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9133 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9134 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9135 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9136 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9137 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9138 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9139 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9140 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9141 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9142 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9143
96baf6ff
SP
91442014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9145
9146 * sysdeps/generic/memcopy.h: Add comment for
9147 MEMCPY_OK_FOR_FWD_MEMMOVE.
9148
6b7b14b2
WN
91492014-07-04 Will Newton <will.newton@linaro.org>
9150
1570a72b
WN
9151 * string/memchr.c: Merge from gnulib.
9152 [_LIBC]: Remove conditionals.
9153 (__ptr_t): Remove define.
9154 (LONG_MAX_32_BITS): Likewise.
9155 (LONG_MAX): Likewise.
9156 (MEMCHR): Use ANSI prototype and optimize algorithm.
9157
6b7b14b2
WN
9158 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9159
38851324
SP
91602014-07-03 Roland McGrath <roland@hack.frob.com>
9161
3d9eb57c
RM
9162 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9163 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9164
78b984ae
RM
9165 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9166 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9167 in a bare environment with no <stdlib.h> installed.
9168 * sysdeps/nptl/configure: Regenerated.
9169
2d5976a5
RM
9170 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9171
c1f5acd4
RM
9172 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9173 AC_EGREP_CPP for kernel header checks, so they only succeed if
9174 including <linux/version.h> actually works right.
9175 * sysdeps/unix/sysv/linux/configure: Regenerated.
9176
4d614fe5
RM
9177 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9178 value so it's not diagnosed as unused.
9179
38851324
SP
9180 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9181 thing) with "ifeq ($(subdir),rt)".
9182
b3ec00e5
RH
91832014-07-03 Richard Henderson <rth@redhat.com>
9184
69862e25
RH
9185 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9186 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9187 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9188
d5e16ade
RH
9189 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9190 (math_force_eval): New.
9191
ca7b945c
RH
9192 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9193 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9194
cd1175a3
RH
9195 * sysdeps/alpha/fpu/s_round.c: Remove file.
9196 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9197
b3ec00e5
RH
9198 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9199 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9200 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9201 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9202 (_dl_start, print_statistics): Likewise.
9203 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9204 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9205
9206 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9207 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9208 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9209 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9210 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9211 (HP_SMALL_TIMING_AVAIL): Define.
9212 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9213 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9214 (HP_SMALL_TIMING_AVAIL): Define.
9215 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9216 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9217
9218 * sysdeps/aarch64/hp-timing.h: New file.
9219
9220 * sysdeps/generic/hp-timing.h: Remove dead comment.
9221 * sysdeps/generic/hp-timing-common.h: New file.
9222 * sysdeps/alpha/hp-timing.h: Include it.
9223 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9224 * sysdeps/i386/i686/hp-timing.h: Likewise.
9225 * sysdeps/ia64/hp-timing.h: Likewise.
9226 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9229 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9230 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9231 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9232 (hp_timing_t): New.
9233
9234 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9235 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9236 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9237 * elf/rtld.c (_dl_start_final): Likewise.
9238 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9239 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9240 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9241 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9242 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9244 (HP_TIMING_DIFF_INIT): Remove.
9245 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9246 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9247 (HP_TIMING_DIFF_INIT): Remove.
9248 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9249 * sysdeps/i386/i686/hp-timing.c: Remove file.
9250 * sysdeps/x86_64/hp-timing.c: Remove file.
9251 * sysdeps/ia64/hp-timing.c: Remove file.
9252 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9253 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9255 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9256
9257 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9258 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9259 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9260 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9262 (HP_TIMING_ACCUM): Remove.
9263 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9265 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9266
9267 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9268 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9269 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9270 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9272 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9274 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9275
9276 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9277
225f410f
MR
92782014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9279
9280 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9281
3247f285
SP
92822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9283
9284 Sync up with gettext.
9285 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9286 [_MSC_VER]: Include malloc.h
9287 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9288 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9289 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9290 TEMP_FAILURE_RETRY. Cast return of alloca.
9291 [!_LIBC] Call gl_rwlock_init.
9292 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9293
d12704c7
SP
92942014-07-02 Roland McGrath <roland@hack.frob.com>
9295
9296 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9297 before checking its value.
9298
99f8dc92
SP
92992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9300
05fdac77
SP
9301 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9302
99f8dc92
SP
9303 * debug/memcpy_chk.c: Don't include pagecopy.h.
9304 * debug/mempcpy_chk.c: Likewise.
9305 * string/memcpy.c: Likewise.
9306 * string/memmove.c: Likewise.
9307 * sysdeps/powerpc/memmove.c: Likewise.
9308 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9309 definition of PAGE_COPY_FWD_MAYBE here...
9310 * sysdeps/generic/pagecopy.h: ... from here.
9311 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9312
bc8ea385
VR
93132014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9314 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9315
9316 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9318 optimizations.
9319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9320 (__libc_ifunc_impl_list): Likewise.
9321 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9322 multiarch strcat for PPC64.
9323 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9324 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9325
fe5f34e4
RM
93262014-07-02 Roland McGrath <roland@hack.frob.com>
9327
9328 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9329
256aa665
SP
93302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9331
d4eb8195
SP
9332 * intl/loadmsgcat.c: Remove declaration of
9333 get_sysdep_segment_value.
9334 (get_sysdep_segment_value): Use ISO C style.
9335 (_nl_load_domain): Use ISO C style. Get rid of redundant
9336 semicolon. Fix typo and formatting in comment.
9337 (_nl_unload_domain): Use ISO C style.
9338
256aa665
SP
9339 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9340
b100f9aa
WN
93412014-07-02 Will Newton <will.newton@linaro.org>
9342
9343 * malloc/obstack.c: Merge from gnulib master.
9344 [HAVE_CONFIG_H]: Remove conditional code.
9345 [!_LIBC]: Include config.h.
9346 [!ELIDE_CODE]: Don't include inttypes.h, include
9347 stdint.h unconditionally.
9348 (print_and_abort): Mark as _Noreturn.
9349 (_obstack_allocated_p): Mark as __attribute_pure__.
9350 (obstack_free): Rename to __obstack_free.
9351 [!__attribute__]: Remove conditional code.
9352 * malloc/obstack.h: Merge from gnulib master.
9353 [__cplusplus]: Move conditional down.
9354 [!__attribute_pure__]: Define __attribute_pure__ here
9355 if it is not already defined.
9356 (_obstack_memory_used): Mark as __attribute_pure__.
9357 [!__obstack_free]: Define as obstack_free.
9358 [__GNUC__]: Remove check for ancient NeXT gcc.
9359
c4c41244
PE
93602014-07-02 Will Newton <will.newton@linaro.org>
9361 Paul Eggert <eggert@cs.ucla.edu>
9362
9363 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9364
e1e041c4
SP
93652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9366
9367 * resolv/gethnamaddr.c: Add comment warning that the file is
9368 not maintained.
9369
ccf431ff
CD
93702014-07-01 Carlos O'Donell <carlos@redhat.com>
9371
d34570a6
CD
9372 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9373 entries.
9374
ccf431ff
CD
9375 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9376 entry for aio_cancel and aio_cancel64.
9377 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9378 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9379 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9380 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9381 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9382 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9383 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9384 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9385 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9386 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9387 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9388 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9389 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9390
ca06321d
RM
93912014-07-01 Roland McGrath <roland@hack.frob.com>
9392
9393 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9394 * nptl/pthread_mutex_lock.c: Likewise.
9395 * nptl/pthread_mutex_timedlock.c: Likewise.
9396 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9397
a1ac3184
RH
93982014-07-01 Richard henderson <rth@redhat.com>
9399
631021e0
RH
9400 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9401 (__isnan, __isnanl): Remove.
9402 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9403
a1ac3184
RH
9404 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9405
0c1d731f
SL
94062014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9407
9408 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9409
76985d3e
SP
94102014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9411
9412 * resolv/nss_dns/dns-host.c (getanswer_r)
9413 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9414
b0cb3096
JM
94152014-07-01 Joseph Myers <joseph@codesourcery.com>
9416
9417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9418 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9419 undefine.
9420 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9421 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9422
4d76cb39
RM
94232014-07-01 Roland McGrath <roland@hack.frob.com>
9424
9425 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9426 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9427
9428 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9429 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9430
9431 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9432 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9433 ... here.
9434 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9435 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9436
9437 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9438 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9439 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9440 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9441
9442 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9443 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9444 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9447 Moved ...
9448 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9449 ... here.
9450 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9453 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9454 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9455 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9456 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9457 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9459 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9460 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9461 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9462 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9463 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9464 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9465 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9470 ... here.
9471 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9472 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9474 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9475 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9476 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9477 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9478 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9479
0cdcad17
DH
94802014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9481
9482 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9483 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9484 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9485 Add sysdep.
9486
9b71d0e3
AZ
94872014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9488
9489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9490
665390c2
JM
94912014-06-30 Joseph Myers <joseph@codesourcery.com>
9492
ae05a9d7
JM
9493 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9494 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9495
a7672a2f
JM
9496 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9497
665390c2
JM
9498 * sysdeps/arm/libm-test-ulps: Regenerated.
9499
d7a05d07
MR
95002014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9501 Roland McGrath <roland@hack.frob.com>
9502
9503 * test-skeleton.c (signal_handler): Kill the whole process group
9504 before killing the child individually.
9505 (main): Report any failure on `setpgid'.
9506
46f1d8a6
RM
95072014-06-30 Roland McGrath <roland@hack.frob.com>
9508
9509 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9510 from _TLS_H to _ARM_NPTL_TLS_H.
9511 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9512 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9513
9c37ec0b
JM
95142014-06-30 Joseph Myers <joseph@codesourcery.com>
9515
ce9c5b3e
JM
9516 [BZ #16539]
9517 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9518 (__expm1l): Return argument unchanged when small but not
9519 subnormal.
9520
3a6e9887
JM
9521 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9522 include macro name.
9523 (_FP_UNPACK_RAW_1_P): Likewise.
9524 (_FP_PACK_RAW_1): Likewise.
9525 (_FP_PACK_RAW_1_P): Likewise.
9526 (_FP_MUL_MEAT_1_wide): Likewise.
9527 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9528 (_FP_MUL_MEAT_1_hard): Likewise.
9529 (_FP_DIV_MEAT_1_imm): Likewise.
9530 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9531 (_FP_DIV_MEAT_1_udiv): Likewise.
9532 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9533 (_FP_UNPACK_RAW_2): Likewise.
9534 (_FP_UNPACK_RAW_2_P): Likewise.
9535 (_FP_PACK_RAW_2): Likewise.
9536 (_FP_PACK_RAW_2_P): Likewise.
9537 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9538 (_FP_MUL_MEAT_2_wide): Likewise.
9539 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9540 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9541 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9542 (_FP_MUL_MEAT_2_gmp): Likewise.
9543 (_FP_DIV_MEAT_2_udiv): Likewise.
9544 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9545 (_FP_FRAC_SRL_4): Likewise.
9546 (_FP_FRAC_SRST_4): Likewise.
9547 (_FP_FRAC_SRS_4): Likewise.
9548 (_FP_UNPACK_RAW_4): Likewise.
9549 (_FP_UNPACK_RAW_4_P): Likewise.
9550 (_FP_PACK_RAW_4): Likewise.
9551 (_FP_PACK_RAW_4_P): Likewise.
9552 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9553 (_FP_MUL_MEAT_4_wide): Likewise.
9554 (_FP_MUL_MEAT_4_gmp): Likewise.
9555 (umul_ppppmnnn): Likewise.
9556 (_FP_DIV_MEAT_4_udiv): Likewise.
9557 (__FP_FRAC_ADD_4): Likewise.
9558 (__FP_FRAC_SUB_3): Likewise.
9559 (__FP_FRAC_SUB_4): Likewise.
9560 (__FP_FRAC_DEC_3): Likewise.
9561 (__FP_FRAC_DEC_4): Likewise.
9562 (__FP_FRAC_ADDI_4): Likewise.
9563 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9564 (_FP_FRAC_SRL_8): Likewise.
9565 (_FP_FRAC_SRS_8): Likewise.
9566
9c37ec0b
JM
9567 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9568 include macro name.
9569 (FP_UNPACK_RAW_EP): Likewise.
9570 (FP_PACK_RAW_E): Likewise.
9571 (FP_PACK_RAW_EP): Likewise.
9572 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9573 (_FP_ISSIGNAN): Likewise.
9574 (_FP_ADD_INTERNAL): Likewise.
9575 (_FP_FMA): Likewise.
9576 (_FP_CMP): Likewise.
9577 (_FP_SQRT): Likewise.
9578 (_FP_TO_INT): Likewise.
9579 (_FP_FROM_INT): Likewise.
9580 (FP_EXTEND): Likewise.
9581 (_FP_DIV_MEAT_N_loop): Likewise.
9582
2125f674
MR
95832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9584
9585 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9586 throughout.
9587
edea4028
JM
95882014-06-29 Joseph Myers <joseph@codesourcery.com>
9589
9590 [BZ #17097]
9591 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9592 result with correct sign in case of exponents that produce
9593 overflow except for X very close to 1.
9594
dd0ba018
PE
95952014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9596
9597 mktime: merge #if/#ifdef usage from glibc
9598 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9599 as that works with both Glibc's and Gnulib's style.
9600 See thread starting at Siddhesh Poyarekar's bug report at:
9601 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9602
64df73c2
SP
96032014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9604
9605 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9606 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9607 * sysdeps/tile/tilegx/memmove.c: Remove file.
9608
f1eafb41
JM
96092014-06-27 Joseph Myers <joseph@codesourcery.com>
9610
9611 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9612 abi-name definition.
9613 * scripts/soversions.awk: Do not handle or generate ABI lines.
9614 * shlib-versions: Remove ABI entries.
9615 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9616 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9617
58eb0862
RM
96182014-06-27 Roland McGrath <roland@hack.frob.com>
9619
37caf178
RM
9620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9621 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9622 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9629 ... here.
9630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9643 Moved ...
9644 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9646 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9648 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9650 Moved ...
9651 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9653 Moved ...
9654 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9656 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9658 Moved ...
9659 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9661 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9665 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9667 Moved ...
9668 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9672 Moved ...
9673 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9675 Moved ...
9676 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9678 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9680 Moved ...
9681 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9682 ... here.
9683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9684 Identical file removed.
9685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9686 Moved ...
9687 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9689 Identical file removed.
9690 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9691 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9693 Moved ...
9694 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9696 Identical file removed.
9697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9698 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9700 Identical file removed.
9701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9702 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9703 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9704 Identical file removed.
9705 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9706 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9708 Identical file removed.
9709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9710 Moved ...
9711 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9713 Identical file removed.
9714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9715 Moved ...
9716 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9720 Identical file removed.
9721 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9722 Moved ...
9723 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9724 ... here.
9725 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9726 Identical file removed.
9727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9731 Identical file removed.
9732 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9733 Moved ...
9734 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9735 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9743 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9744
58eb0862
RM
9745 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9746 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9747 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9748 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9749 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9750
6f12d062
AS
97512014-06-27 Arjun Shankar <arjun.is@lostca.se>
9752
9753 [BZ #17092]
9754 * nscd/nscd.c (monitor_child): Return exit status of child
9755 instead of return value from wait syscall.
9756
be254932
JM
97572014-06-27 Joseph Myers <joseph@codesourcery.com>
9758
cb403c34
JM
9759 * configure.ac (libc_commonpagesize): Remove variable.
9760 (libc_relro_required): Likewise.
9761 (libc_cv_z_relro): Remove configure test.
9762 * configure: Regenerated.
9763 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9764 variable.
9765 (libc_relro_required): Likewise.
9766 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9767 (libc_relro_required): Likewise.
9768 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9769 (libc_relro_required): Likewise.
9770 * sysdeps/arm/preconfigure: Regenerated.
9771 * sysdeps/ia64/preconfigure: Remove file.
9772 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9773 variable.
9774 (libc_relro_required): Likewise.
9775
be254932
JM
9776 [BZ #16561]
9777 [BZ #16562]
9778 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9779 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9780 recompute overflowing results in original rounding mode.
9781 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9782 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9783 recompute overflowing results in original rounding mode.
9784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9785 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9786 recompute overflowing results in original rounding mode.
9787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9788 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9789 recompute overflowing results in original rounding mode.
9790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9791 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9792 recompute overflowing results in original rounding mode.
9793 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9794 (libc_feholdsetround_ctx): New macro.
9795 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9796 * sysdeps/i386/fpu/libm-test-ulps: Update.
9797 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9798
b351d85a
JM
97992014-06-26 Joseph Myers <joseph@codesourcery.com>
9800
9801 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9802 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9803 corresponding .cpsetup call.
9804
3cb4de47
RM
98052014-06-26 Roland McGrath <roland@hack.frob.com>
9806
9807 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9808 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9809 * sysdeps/arm/Makefile [$(subdir) = csu]
9810 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9811 (static-only-routines): Add aeabi_read_tp here.
9812 (shared-only-routines): Add libc-aeabi_read_tp here.
9813 (CFLAGS-libc-start.c): Add -fexceptions here.
9814 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9815 (sysdep_routines, static-only-routines, shared-only-routines):
9816 Don't add to these here.
9817 (CFLAGS-libc-start.c): Likewise.
9818
9819 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9820 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9821 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9822 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9823 * sysdeps/arm/Makefile [$(subdir) = rt]
9824 (librt-sysdep_routines, librt-shared-only-routines):
9825 Append rt-aeabi_unwind_cpp_pr1 here.
9826 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9827 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9828 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9829 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9830 Append nptl-aeabi_unwind_cpp_pr1 here.
9831 (tests): Filter out tst-cleanupx4 here.
9832 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9833 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9834 Don't do those here.
9835
354426bb
JM
98362014-06-26 Joseph Myers <joseph@codesourcery.com>
9837
9838 * scripts/list-sources.sh: Do not handle ports specially.
9839
28b0a8c9
RM
98402014-06-26 Roland McGrath <roland@hack.frob.com>
9841
a3dd035d
RM
9842 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9843 * sysdeps/arm/feupdateenv.c: Likewise.
9844
28b0a8c9
RM
9845 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9846
e66a8203
JM
98472014-06-26 Joseph Myers <joseph@codesourcery.com>
9848
9849 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9850 trailing whitespace removed.
9851 * scripts/config.guess: Update to version 2014-03-23.
9852 * scripts/config.sub: Update to version 2014-05-01
9853 * scripts/install-sh: Update to version 2013-12-25.23.
9854 * scripts/move-if-change: Update from gnulib.
9855
74171115
SP
98562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9857
b97c9ce5
SP
9858 * debug/memmove_chk.c: Remove pagecopy.h include.
9859
4000f892
SP
98602014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9861
74171115
SP
9862 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9863 identical to gnulib mktime.
9864
a8779c28
JM
98652014-06-26 Joseph Myers <joseph@codesourcery.com>
9866
e64708de
JM
9867 * configure.ac: Do not test for machine being rs6000. Do not test
9868 for powerpc*-*soft.
9869 * configure: Regenerated.
9870
6a9350c8 9871 [BZ #11505]
a8779c28
JM
9872 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9873 test.
9874 * configure: Regenerated.
9875 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9876 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9877 Remove configure test.
9878 * sysdeps/arm/configure: Regenerated.
9879 * sysdeps/nptl/configure.ac: Do not check
9880 libc_cv_asm_cfi_directives.
9881 * sysdeps/nptl/configure: Regenerated.
9882 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9883 * sysdeps/x86_64/nptl/configure: Remove generated file.
9884 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9885 unconditional.
9886 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9887
2aac0a86
SP
98882014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9889
059bf913
SP
9890 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9891 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9892 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9893 it is defined.
9894
4cf5b6d0
SP
9895 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9896 instead of whether it is defined.
9897 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9898 * sysdeps/hppa/dl-machine.h: Likewise.
9899 * sysdeps/ia64/dl-machine.h: Likewise.
9900 * sysdeps/m68k/dl-machine.h: Likewise.
9901 * sysdeps/microblaze/dl-machine.h: Likewise.
9902 * sysdeps/mips/dl-machine.: Likewise.
9903 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9904 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9905 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9906 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9907 * sysdeps/sh/dl-machine.h: Likewise.
9908 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9909 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9910 * sysdeps/tile/dl-machine.h: Likewise.
9911 * sysdeps/x86_64/dl-machine.h: Likewise.
9912
2aac0a86
SP
9913 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9914 code.
9915 (verify_persistent_db): Likewise.
9916
6ad2df0b
RM
99172014-06-26 Roland McGrath <roland@hack.frob.com>
9918
d8a483f3
RM
9919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9920 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9924 Moved ...
9925 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9926 ... here.
9927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9930 Identical file removed.
9931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9934 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9942 Moved ...
9943 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9945 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9947 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9949 Moved ...
9950 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9954 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9956 Identical file removed.
9957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9958 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9962 Moved ...
9963 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9964 ... here.
9965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9976 Moved ...
9977 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9979 Moved ...
9980 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9984 Moved ...
9985 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9987 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9988
52ae23b4
RM
9989 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9990 folded into ...
9991 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9992 * sysdeps/unix/sysv/linux/s390/Versions
9993 (libpthread: GLIBC_2.19): New version set.
9994 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9995 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9996 (librt: GLIBC_2.3.3): New version set.
9997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9998 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9999 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10000 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10001 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10002 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10003 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10004 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10005 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10006 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10007 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10009 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10011 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10013 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10015 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10016 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10017 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10018 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10019 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10020 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10021 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10022 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10023 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10024 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10025 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10027 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10028 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10033 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10035 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10037 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10039 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10041 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10042
39507e4a
RM
10043 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10044 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10045 (__libc_vfork): Define the function under this name.
10046 [!NOT_IN_libc] (__vfork): Make this an alias.
10047 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10048 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10049 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10050 (__libc_vfork): Define the function under this name.
10051 [!NOT_IN_libc] (__vfork): Make this an alias.
10052 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10053 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10054 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10056 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10057 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10058
e549ee56
RM
10059 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10060 code that was previously under [RESET_PID].
10061 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10062 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10063 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10064
6ad2df0b
RM
10065 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10066 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10067 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10068 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10069 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10070 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10071 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10072 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10073 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10074 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10075 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10076 Moved ...
10077 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10079 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10080 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10081 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10082 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10083 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10088 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10089 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10090 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10091 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10092 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10093 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10095 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10096 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10097 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10098 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10099 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10100 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10101 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10102 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10103 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10104 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10105 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10106
7c1c1d8e
RM
101072014-06-25 Roland McGrath <roland@hack.frob.com>
10108
10109 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10110 that was previously under [RESET_PID].
10111 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10112
3e239be6
JM
101132014-06-25 Joseph Myers <joseph@codesourcery.com>
10114
74385da5
JM
10115 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10116 not undefine and redefine.
10117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10118 [O_CLOEXEC]: Make code unconditional.
10119 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10121 <kernel-features.h>.
10122 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10123 conditional variable definition.
10124 (shm_open) [O_CLOEXEC]: Make code unconditional.
10125 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10126 code.
10127
c2570a0b
JM
10128 * configure.ac (USE_REGPARMS): Don't define here.
10129 * configure: Regenerated.
10130 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10131 * sysdeps/i386/configure: Regenerated.
10132
11b076bb
JM
10133 * nptl/createthread.c: Don't include kernel-features.h.
10134 * nptl/pthread_cancel.c: Likewise.
10135 * nptl/pthread_condattr_setclock.c: Likewise.
10136 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10137 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10138 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10139 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10140 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10141 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10142 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10143 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10144 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10145 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10146 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10147 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10148 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10149 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10150 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10151 * nscd/gai.c: Likewise.
10152 * nss/nss_db/db-open.c: Likewise.
10153 * sysdeps/generic/ldsodefs.h: Likewise.
10154 * sysdeps/sh/nptl/tls.h: Likewise.
10155 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10156 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10157 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10158 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10159 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10160 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10161 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10162 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10164 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10165 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10166 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10167 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10168 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10169 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10170 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10171 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10172 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10173 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10174 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10175 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10176 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10177 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10178 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10180 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10181 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10182 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10183 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10184 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10185 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10186 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10187 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10188 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10189 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10190 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10191 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10192 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10193 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10194 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10195 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10196 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10197 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10198 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10199 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10200 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10201 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10202 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10203 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10204 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10205 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10206 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10207 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10208 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10209 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10210 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10211 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10235 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10236 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10237 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10238 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10239 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10241 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10243 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10244 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10245 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10246 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10247 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10248 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10249 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10250 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10252 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10253 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10254 * sysdeps/unix/sysv/linux/system.c: Likewise.
10255 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10256 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10257 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10258 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10259 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10261 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10262
92072d57
JM
10263 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10264 * configure: Regenerated.
10265 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10266
3e239be6
JM
10267 * configure.ac (base_machine): Do not set specially for particular
10268 machines here.
10269 * configure: Regenerated.
10270 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10271 settings from configure.ac.
10272 * sysdeps/i386/preconfigure: New file.
10273 * sysdeps/s390/preconfigure: Likewise.
10274 * sysdeps/sh/preconfigure: Likewise.
10275 * sysdeps/sparc/preconfigure: Likewise.
10276
06d50baa
RM
102772014-06-25 Roland McGrath <roland@hack.frob.com>
10278
74836003
RM
10279 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10280 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10281 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10282 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10283 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10284 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10285 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10286 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10287 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10288 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10289 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10290 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10291 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10292 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10293 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10294 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10295 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10296 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10297 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10298
10299 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10300 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10301 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10302 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10303 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10304 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10305 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10306 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10307 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10308 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10309 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10310 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10311 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10312 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10313 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10314 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10315 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10316 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10317 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10318 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10320 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10321 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10322 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10323 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10324 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10326 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10327 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10328 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10329 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10330 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10331 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10332 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10333 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10334 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10335 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10336 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10337
06d50baa
RM
10338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10339 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10343 Moved ...
10344 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10345 ... here.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10351 Moved ...
10352 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10354 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10358 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10360 Moved ...
10361 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10363 Moved ...
10364 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10366 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10368 Moved ...
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10373 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10375 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10379 Moved ...
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10381 ... here.
10382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10387 Moved ...
10388 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10392 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10396 Moved ...
10397 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10399 Moved ...
10400 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10404 Moved ...
10405 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10407 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10409 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10410
a4ccbc9b
JM
104112014-06-25 Joseph Myers <joseph@codesourcery.com>
10412
0828edbf
JM
10413 * timezone/checktab.awk: Update from tzcode 2014e.
10414 * timezone/private.h: Likewise.
10415 * timezone/tzfile.h: Likewise.
10416 * timezone/zdump.c: Likewise.
10417 * timezone/zic.c: Likewise.
10418
a4ccbc9b
JM
10419 * sysdeps/unix/sysv/linux/kernel-features.h
10420 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10422 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10423 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10424 Remove conditional code.
10425
9aea0cb8
WN
104262014-06-25 Will Newton <will.newton@linaro.org>
10427
10428 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10429 (_dl_arm_cap_flags): Add HWCAP2 values.
10430 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10431 (_DL_HWCAP_COUNT): Increase to 37.
10432 (_DL_HWCAP_LAST): New define.
10433 (_DL_HWCAP2_LAST): New define.
10434 (_dl_procinfo): Add support for printing
10435 AT_HWCAP2 entries.
10436 (_dl_string_hwcap): Use _dl_hwcap_string.
10437
6eaa65ce
AZ
104382014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439
10440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10441
0f5b7185
JM
104422014-06-25 Joseph Myers <joseph@codesourcery.com>
10443
cfd2ea50
JM
10444 * README: Do not mention ports directory.
10445
cecf2ed4
JM
10446 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10447 Remove macro.
10448 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10449 <kernel-features.h>.
10450 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10451 conditional variable definition.
10452 (__futimes): Update comment.
10453 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10454 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10455
a638de82
JM
10456 [BZ #16560]
10457 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10458 arguments close to 0.
10459 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10460 Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10462 Likewise.
10463 * math/auto-libm-test-in: Add more tests of exp10.
10464 * math/auto-libm-test-out: Regenerated.
10465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10466
0f5b7185
JM
10467 * sysdeps/unix/sysv/linux/kernel-features.h
10468 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10469 * sysdeps/unix/sysv/linux/readv.c: Do not include
10470 <kernel-features.h>.
10471 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10472 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10473 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10474 unconditional.
10475 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10476 conditional code.
10477 * sysdeps/unix/sysv/linux/writev.c: Do not include
10478 <kernel-features.h>.
10479 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10480 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10481 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10482 unconditional.
10483 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10484 conditional code.
10485
c7aec4be
WN
104862014-06-25 Will Newton <will.newton@linaro.org>
10487
10488 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10489 comment changes throughout the file. Remove checks
10490 for HAVE_*_H definitions that are not required.
10491 (__gen_tempname): Call abort if an unknown kind value is
10492 passed.
10493
c5241f95
AS
104942014-06-25 Andreas Schwab <schwab@suse.de>
10495
10496 [BZ #17086]
10497 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10498 scalbln, scalblnf, scalblnl in libc.
10499
911422da
SP
105002014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10501
10502 [BZ #17086]
10503 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10504 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10505 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10506
0d749bbe
RM
105072014-06-24 Roland McGrath <roland@hack.frob.com>
10508
10509 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10510 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10511 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10512 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10513 Update #include.
10514 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10515 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10516 Update #include.
10517 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10518 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10519 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10520 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10521 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10522 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10523 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10524 * sysdeps/x86/bits/semaphore.h: ... here.
10525 * sysdeps/x86/nptl/elide.h: Moved ...
10526 * sysdeps/x86/elide.h: ... here.
10527 * sysdeps/x86_64/nptl/Implies: File removed.
10528 * sysdeps/i386/nptl/Implies: File removed.
10529
0ea5d373
JM
105302014-06-24 Joseph Myers <joseph@codesourcery.com>
10531
4060283d
JM
10532 [BZ #16539]
10533 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10534 return the argument for normal arguments with exponent below -64.
10535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10536 Likewise.
10537 * math/auto-libm-test-in: Add another test of expm1.
10538 * math/auto-libm-test-out: Regenerated.
10539
e7dd3c8c
JM
10540 [BZ #16287]
10541 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10542 calling __erfcl for arguments at least 16.
10543 * math/auto-libm-test-in: Add more tests of erf.
10544 * math/auto-libm-test-out: Regenerated.
10545
0ea5d373
JM
10546 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10547 individual architectures.
10548 * sysdeps/unix/sysv/linux/configure: Regenerated.
10549 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10550 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10551 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10552 (ldd_rewrite_script): Define variable.
10553 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10555 file.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10557 generated file.
10558 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10559 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10560 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10561 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10562 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10563 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10564 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10565 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10566
2307e126
SP
105672014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10568
10569 [BZ #17084]
10570 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10571 Rename member __data.d to __data.__elision_data.
10572
c0a4ed77
W
105732014-06-24 Wilco <wdijkstr@arm.com>
10574
10575 * NEWS: Add 16918 to fixed bug list.
10576
b8c00573
W
105772014-06-24 Wilco <wdijkstr@arm.com>
10578
10579 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10580
b5570d92
W
105812014-06-24 Wilco <wdijkstr@arm.com>
10582
10583 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10584 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10585 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10586 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10587 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10588 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10589 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10590 Use _FPU_MASK_RM.
10591
947bdca2
W
105922014-06-24 Wilco <wdijkstr@arm.com>
10593
10594 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10595
00f669ed
W
105962014-06-24 Wilco <wdijkstr@arm.com>
10597
10598 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10599 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10600 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10601 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10602
db59bad3
W
106032014-06-24 Wilco <wdijkstr@arm.com>
10604
10605 [BZ #16918]
10606 * sysdeps/arm/feupdateenv.c (feupdateenv):
10607 Rewrite to reduce FPSCR accesses and fix return value.
10608
001f7b77
W
106092014-06-24 Wilco <wdijkstr@arm.com>
10610
10611 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10612 Optimize to avoid unnecessary FPSCR writes.
10613 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10614 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10615 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10616 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10617
4841e6a6
W
106182014-06-24 Wilco <wdijkstr@arm.com>
10619
10620 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10621 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10622 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10623 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10624 Call libc_fetestexcept_vfp.
10625 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10626 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10627 __SOFTFP__ ifdef so that they can be built for softfp.
10628
0813022c
SP
106292014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10630
08e5862f
SP
10631 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10632 argument type signed char.
10633
0813022c
SP
10634 * Makerules (check-abi): Dump diff of symlist if the test
10635 fails.
10636
3fc7236a
RM
106372014-06-23 Roland McGrath <roland@hack.frob.com>
10638
aba8ef95
RM
10639 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10640 using abort.
10641
3fc7236a
RM
10642 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10643 Remove unused variable ST.
10644
4da6db51
JM
106452014-06-23 Joseph Myers <joseph@codesourcery.com>
10646
4648909d
JM
10647 [BZ #16354]
10648 [BZ #17061]
10649 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10650 small arguments before calling __expm1.
10651 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10652 small arguments before calling __expm1f.
10653 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10654 small arguments before calling __expm1l.
10655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10656 Likewise.
10657 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10658 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10659 spurious underflow for some cosh tests.
10660 * math/auto-libm-test-out: Regenerated.
10661 * sysdeps/i386/fpu/libm-test-ulps: Update.
10662
46a3d3c7
JM
10663 [BZ #17050]
10664 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10665 (__ieee754_y1): Set errno if return value overflows.
10666 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10667 (__ieee754_y1f): Set errno if return value overflows.
10668 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10669 (__ieee754_y1l): Set errno if return value overflows.
10670 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10671 (__ieee754_y1l): Set errno if return value overflows.
10672 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10673 * math/auto-libm-test-out: Regenerated.
10674
863893ec
JM
10675 * math/gen-auto-libm-tests.c: Document use of
10676 ignore-zero-inf-sign.
10677 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10678 (input_flags): Add ignore-zero-inf-sign.
10679 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10680 * math/gen-libm-test.pl (generate_testfile): Handle
10681 ignore-zero-inf-sign.
10682 * math/auto-libm-test-in: Mark some cpow tests with
10683 ignore-zero-inf-sign and some with xfail-rounding.
10684 * math/auto-libm-test-out: Regenerated.
10685 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10686 * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10688
4da6db51
JM
10689 [BZ #16315]
10690 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10691 overflowing or underflowing operations take place with sign of
10692 result.
10693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10695 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10696 (__ieee754_pow): Recompute overflowing and underflowing results in
10697 original rounding mode.
10698 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10699 (__powl_helper): Allow negative argument X and scale negated value
10700 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10701 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10702 overflowing or underflowing operations take place with sign of
10703 result.
10704 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10705 Include <math.h>.
10706 * math/auto-libm-test-in: Add more tests of pow.
10707 * math/auto-libm-test-out: Regenerated.
10708 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10709 (pow_tonearest_test_data): Remove.
10710 (pow_test_tonearest): Likewise.
10711 (pow_towardzero_test_data): Likewise.
10712 (pow_test_towardzero): Likewise.
10713 (pow_downward_test_data): Likewise.
10714 (pow_test_downward): Likewise.
10715 (pow_upward_test_data): Likewise.
10716 (pow_test_upward): Likewise.
10717 (main): Don't call removed functions.
10718 * sysdeps/i386/fpu/libm-test-ulps: Update.
10719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720
5686b236
RM
107212014-06-23 Roland McGrath <roland@hack.frob.com>
10722
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10724 Moved ...
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10727 Moved ...
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10730 Moved ...
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10733 Moved ...
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10736 File removed.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10738 File removed.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10740 File removed.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10742 File removed.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10744 File removed.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10746 File removed.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10748 File removed.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10750 File removed.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10752 File removed.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10754 File removed.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10756 File removed.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10758 File removed.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10760 Moved ...
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10763 Moved ...
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10765 ... here.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10767 Moved ...
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10770 Moved ...
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10773 Moved ...
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10776 Moved ...
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10779 Moved ...
10780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10782 Moved ...
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10785 Moved ...
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10789 ... here.
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10791 Moved ...
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10794 Moved ...
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10796 ... here.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10798 Moved ...
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10800 ... here.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10802 Moved ...
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10804 ... here.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10806 Moved ...
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10814 Moved ...
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10816 ... here.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10818 Moved ...
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10820 ... here.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10822 Moved ...
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10825 Moved ...
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10828 Moved ...
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10831 Moved ...
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10834 Moved ...
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10836 ... here.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10838 Moved ...
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10841 Moved ...
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10844 Moved ...
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10847 Moved ...
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10852 Moved ...
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10855 Moved ...
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10858 Moved ...
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10860 ... here.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10862 Moved ...
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10864 ... here.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10866 Moved ...
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10868 ... here.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10870 Moved ...
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10873 Moved ...
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10876 Moved ...
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10879 Moved ...
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10881 ... here.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10883 Moved ...
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10885 ... here.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10887 Moved ...
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10889 ... here.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10891 Moved ...
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10894 Moved ...
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10896
e6d90d67
WD
108972014-06-23 Will Newton <will.newton@linaro.org>
10898 Wilco <wdijkstr@arm.com>
10899
10900 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10901 implementation. Include get-rounding-mode.h.
10902 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10903 [!libc_feholdsetround_noex_ctx]: Define
10904 libc_feholdsetround_noex_ctx.
10905 [!libc_feholdsetround_noexf_ctx]: Define
10906 libc_feholdsetround_noexf_ctx.
10907 [!libc_feholdsetround_noexl_ctx]: Define
10908 libc_feholdsetround_noexl_ctx.
10909 (libc_feholdsetround_ctx): New function.
10910 (libc_feresetround_ctx): New function.
10911 (libc_feholdsetround_noex_ctx): New function.
10912 (libc_feresetround_noex_ctx): New function.
10913
d42df555
RM
109142014-06-23 Roland McGrath <roland@hack.frob.com>
10915
88a46474
RM
10916 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10917 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10918 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10919 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10920 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10921 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10922
15bed472
RM
10923 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10924 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10925 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10926 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10927 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10928 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10930 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10932 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10933 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10934 Moved ...
10935 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10936 ... here.
10937 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10938 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10939 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10940 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10942 Moved ...
10943 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10951 Moved ...
10952 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10954 Moved ...
10955 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10957 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10958 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10959 Moved ...
10960 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10964 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10965 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10966 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10970 Moved ...
10971 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10972 ... here.
10973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10986 Moved ...
10987 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10991 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10993 Moved ...
10994 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10998 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10999
d42df555
RM
11000 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11001 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11002 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11005 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11007 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11013 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11017 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11018 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11019 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11025 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11026 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11028
76e5216e
JM
110292014-06-23 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11032 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11033 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11034 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11035 (IPV6_PMTUDISC_INTERFACE): Likewise.
11036 (IPV6_PMTUDISC_OMIT): Likewise.
11037
7a81cbcc
AS
110382014-06-23 Andreas Schwab <schwab@suse.de>
11039
11040 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11041 Remove unused errout label.
11042
db224009
AZ
110432014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11044
11045 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11046 macro: hardware supports Vector Crypto instructions.
11047
f393b4aa
WN
110482014-06-23 Will Newton <will.newton@linaro.org>
11049
cc7d0447
WN
11050 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11051 rather than __builtin_expect.
11052
d6d06225
WN
11053 * elf/dl-lookup.c (undefined_msg): Remove variable.
11054 (_dl_lookup_symbol_x): Replace undefined_msg with string
11055 literal.
11056
f393b4aa
WN
11057 * elf/dl-lookup.c (do_lookup_unique): New function.
11058 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11059 to a separate function.
11060
ac60763e
AS
110612014-06-23 Andreas Schwab <schwab@suse.de>
11062
11063 [BZ #17079]
11064 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11065 before reading the next line.
11066
c5c13355
WN
110672014-06-23 Will Newton <will.newton@linaro.org>
11068
11069 * test-skeleton.c (signal_handler): Use printf and %m
11070 rather than perror. Use printf rather than fprintf to
11071 stderr. Use puts rather than fputs to stderr.
11072 (main): Likewise.
11073
bd3675f9
LC
110742014-06-22 Ludovic Courtès <ludo@gnu.org>
11075
11076 * nscd/nscd.c (thread_info_t): Remove typedef.
11077 (thread_info): Remove variable.
11078
d03efb2f
AM
110792014-06-21 Allan McRae <allan@archlinux.org>
11080
11081 * NEWS: Mention CVE-2014-4043.
11082
bc4a86fa
RM
110832014-06-20 Roland McGrath <roland@hack.frob.com>
11084
dc9a54f8
RM
11085 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11086 * nptl/smp.h: ... here.
11087
bd7022c4
RM
11088 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11089
26ffd5e6
RM
11090 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11091 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11092 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11093 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11094
93a6d082
RM
11095 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11096 * nptl/stack-aliasing.h: New file.
11097 * sysdeps/i386/i686/stack-aliasing.h: New file.
11098 * sysdeps/i386/i686/nptl/Makefile: File removed.
11099 * sysdeps/x86_64/stack-aliasing.h: New file.
11100 * sysdeps/x86_64/nptl/Makefile
11101 (CFLAGS-pthread_create.c): Variable removed.
11102
bc4a86fa
RM
11103 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11104 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11105 old file.
11106 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11107 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11108 old file.
11109
2272ffc1
JM
111102014-06-21 Joseph Myers <joseph@codesourcery.com>
11111
11112 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11113 (__ASSUME_SIGFRAME_V2): Remove macro.
11114 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11115 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11116 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11117 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11118 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11119 Declare as function. Remove conditional macro definitions.
11120 (__default_rt_sa_restorer): Likewise.
11121 (__default_sa_restorer_v1): Remove declaration.
11122 (__default_sa_restorer_v2): Likewise.
11123 (__default_rt_sa_restorer_v1): Likewise.
11124 (__default_rt_sa_restorer_v2): Likewise.
11125 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11126 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11127 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11128
4b88139b
RM
111292014-06-20 Roland McGrath <roland@hack.frob.com>
11130
11131 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11132 (libpthread-routines): Add sysdep.
11133 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11134 * sysdeps/unix/sysv/linux/sparc/Versions
11135 (libpthread: GLIBC_2.3.3): New version set.
11136 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11137 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11138 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11140 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11141 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11142 Moved ...
11143 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11144 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11145 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11147 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11149 * sysdeps/sparc/nptl/sem_init.c: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11151 * sysdeps/sparc/nptl/sem_post.c: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11153 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11155 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11157 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11158 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11159 (libpthread-routines): Add cpu_relax.
11160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11161 File removed.
11162 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11163 (librt: GLIBC_2.3.3): New version set.
11164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11165 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11166 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11167 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11170 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11172 Moved ...
11173 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11175 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11177 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11179 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11181 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11183 Moved ...
11184 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11185 Update #include.
11186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11187 Moved ...
11188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11189 Update #include.
11190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11191 Moved ...
11192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11193 Update #include.
11194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11195 Moved ...
11196 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11197 Update #include.
11198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11199 Moved ...
11200 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11201 Update #include.
11202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11203 Moved ...
11204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11205 Update #include.
11206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11207 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11213 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11217 Moved ...
11218 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11222 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11223
d7109027
JM
112242014-06-20 Joseph Myers <joseph@codesourcery.com>
11225
9bc6103d
JM
11226 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11227 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11228 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11229 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11230 * nscd/nscd.c: Likewise.
11231 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11232 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11233 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11234 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11235
d7109027
JM
11236 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11237 <kernel-features.h>.
11238 (init_mq_netlink): Remove conditional have_sock_cloexec
11239 definitions. Remove code conditional on have_sock_cloexec < 0.
11240 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11241 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11242 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11243 <kernel-features.h>.
11244 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11245 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11246
d92d8f8a
L
112472014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11250 Add tests for memset_chk and memset.
11251
11252 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11253 with AVX2_Usable.
11254
4e6d2347
MR
112552014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11256
257ce712
MR
11257 [BZ #16046]
11258 * elf/tst-dl-iter-static.c: New file.
11259 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11260
4e6d2347
MR
11261 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11262 error.
11263
a2a76afe
JM
112642014-06-20 Joseph Myers <joseph@codesourcery.com>
11265
7fd00f99
JM
11266 * sysdeps/unix/sysv/linux/kernel-features.h
11267 (__ASSUME_F_GETOWN_EX): Remove macro.
11268 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11269 <kernel-features.h>.
11270 (miss_F_GETOWN_EX): Remove variable or macro.
11271 (do_fcntl): Do not check miss_F_GETOWN_EX.
11272 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11273
4a103975
JM
11274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11275 Remove macro.
11276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11277 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11278 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11279
a2a76afe
JM
11280 * sysdeps/unix/sysv/linux/kernel-features.h
11281 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11282 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11283 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11284 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11285
90e5dd48
MR
112862014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11287
11288 [BZ #17075]
11289 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11290 Fix calculation of the symbol's value.
11291 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11292 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11293 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11294 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11295 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11296 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11297 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11298 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11299 (modules-names): Add `tst-armtlsdescmod',
11300 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11301 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11302 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11303 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11304 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11305 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11306 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11307 ($(objpfx)tst-armtlsdescloc): New dependency.
11308 ($(objpfx)tst-armtlsdescextnow): Likewise.
11309 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11310 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11311 TLS scheme support.
11312 * sysdeps/arm/configure: Regenerate.
11313
809fdf0d
JM
113142014-06-20 Joseph Myers <joseph@codesourcery.com>
11315
11316 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11317 (__atfct_seterrno_2): Likewise.
11318 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11319 <kernel-features.h>.
11320 (__ASSUME_ATFCTS): Do not undefine and redefine.
11321 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11322 (__have_atfcts): Remove conditional definition.
11323 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11324 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11325 unreachable if [__ASSUME_ATFCTS].
11326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11327 not undefine and redefine.
11328 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11329 <kernel-features.h>.
11330 (faccessat) [__NR_faccessat]: Make code unconditional.
11331 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11332 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11333 <kernel-features.h>.
11334 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11335 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11336 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11337 <kernel-features.h>.
11338 (fchownat) [__NR_fchownat]: Make code unconditional.
11339 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11340 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11341 <kernel-features.h>.
11342 (futimesat) [__NR_futimesat]: Make code unconditional.
11343 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11344 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11345 <kernel-features.h>.
11346 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11347 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11348 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11349 <kernel-features.h>.
11350 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11351 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11352 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11353 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11354 <kernel-features.h>.
11355 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11356 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11357 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11358 <kernel-features.h>.
11359 (linkat) [__NR_linkat]: Make code unconditional.
11360 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11361 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11362 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11363 <kernel-features.h>.
11364 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11365 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11366 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11367 <kernel-features.h>.
11368 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11369 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11370 * sysdeps/unix/sysv/linux/openat.c: Do not include
11371 <kernel-features.h>.
11372 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11373 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11374 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11375 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11376 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11377 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11378 <kernel-features.h>.
11379 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11380 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11381 result of INLINE_SYSCALL directly, not via int variable.
11382 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11383 <kernel-features.h>.
11384 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11385 (renameat) [__NR_renameat]: Make code unconditional.
11386 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11387 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11388 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11389 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11391 (__ASSUME_ATFCTS): Do not undefine and redefine.
11392 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11393 <kernel-features.h>.
11394 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11395 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11396 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11397 <kernel-features.h>.
11398 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11399 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11400 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11401 (__ASSUME_ATFCTS): Do not undefine and redefine.
11402 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11403 <kernel-features.h>.
11404 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11405 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11406 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11407 <kernel-features.h>.
11408 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11409 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11410
224c6c51
L
114112014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11412
11413 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11414
aa6ec754
AS
114152014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11416
11417 [BZ #17069]
11418 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11419 constructed tree before returning error.
11420 * posix/bug-regexp36.c: Expand test case.
11421
d8c2869d
SL
114222014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11423
3ef6b850
SL
11424 [BZ #6803]
11425 * math/libm-test.inc (scalbln_test_date):
11426 Add errno expectations.
11427 * math/w_scalblnf.c: New File.
11428 Add wrapper which checks for setting errno to ERANGE.
11429 Add weak_alias for corresponding scalbln function.
11430 * math/w_scalbln.c: Likewise.
11431 * math/w_scalblnl.c: Likewise.
11432 * math/Makefile (libm-calls): Add w_scalbln.
11433 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11434 Remove weak_alias for corresponding scalbln function.
11435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11439 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11440 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11441 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11442 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11443 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11444 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11445 Remove long_double_symbol for scalblnl function in libm, libc.
11446 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11447 Add wrapper which checks for setting errno to ERANGE.
11448 Add long_double_symbol for scalblnl function in libm, libc.
11449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11450 Remove long_double_symbol for scalblnl in libm.
11451 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11452 Add wrapper which checks for setting errno to ERANGE.
11453 Add long_double_symbol for scalblnl function in libm.
11454 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11455 Do not use wrapper because of own implementation.
11456
c8daec5c
L
114572014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11458
11459 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11460 3 bytes for __pad1 for x32.
11461 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11462
5c74e47c
LM
114632014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11464 H.J. Lu <hongjiu.lu@intel.com>
11465
11466 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11467 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11468 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11469 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11470 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11471
4d43ef1e
AS
114722014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11473
11474 [BZ #17069]
11475 * posix/regcomp.c (parse_expression): Deallocate partially
11476 constructed tree before returning error.
11477 * posix/Makefile.c (tests): Add bug-regex36.
11478 (generated): Add bug-regex36.mtrace.
11479 (tests-special): Add $(objpfx)bug-regex36-mem.out
11480 (bug-regex36-ENV): New variable.
11481 ($(objpfx)bug-regex36-mem.out): New rule.
11482 * posix/bug-regex36.c: New file.
11483
51a7380b
WN
114842014-06-19 Will Newton <will.newton@linaro.org>
11485
11486 * malloc/malloc.c (systrim): If extra is zero then return
11487 early.
11488
91b84fe5
SP
114892014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11490
11491 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11492
f940b965
RE
114932014-06-19 Richard Earnshaw <rearnsha@arm.com>
11494
11495 * sysdeps/aarch64/strchr.S: New file.
11496
4ba7a00f
JM
114972014-06-18 Joseph Myers <joseph@codesourcery.com>
11498
11499 [BZ #17022]
11500 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11501 from arguments -2 or below.
11502 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11503 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11504
b3a9f56b
AS
115052014-06-18 Andreas Schwab <schwab@suse.de>
11506
11507 [BZ #17062]
11508 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11509 of a bracket expr not to run off the end of the string.
11510 * posix/Makefile (tests): Add tst-fnmatch3.
11511 * posix/tst-fnmatch3.c: New file.
11512
85d89278
JM
115132014-06-18 Joseph Myers <joseph@codesourcery.com>
11514
11515 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11516 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11517 [$(cross-compiling) = no]: Likewise.
11518 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11519 [$(cross-compiling) = no]: Likewise.
11520
754c5a08
RS
115212014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11522
11523 [BZ #17031]
11524 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11525 double, adjusted for any remainder from the high double.
11526 * math/libm-test.inc (nearbyint): Add tests.
11527 (rint): Likewise.
11528
556f529d
AZ
115292014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11530
11531 * nptl/sysdeps/powerpc/Makefile: Moved ...
11532 * sysdeps/powerpc/nptl/Makefile: ... here.
11533 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11534 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11535 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11536 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11537 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11538 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11539 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11540 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11541 * nptl/sysdeps/powerpc/tls.h: Moved ...
11542 * sysdeps/powerpc/nptl/tls.h: ... here.
11543
91c03c53
JM
115442014-06-16 Joseph Myers <joseph@codesourcery.com>
11545
11546 [BZ #16681]
11547 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11548 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11549 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11550 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11551 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11552 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11553 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11554 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11555 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11556
a76e63c5
AS
115572014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11558
11559 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11560
f2f6d82f
AS
115612014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11562
ea8a15f6
AS
11563 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11564 defined operator.
11565
f2f6d82f
AS
11566 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11567 $TIMEOUTFACTOR.
11568
a7291117
FW
115692014-06-16 Florian Weimer <fweimer@redhat.com>
11570
11571 [BZ #17058]
11572 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11573 non-executed part of the test.
11574
3d7c00e3
AS
115752014-06-16 Andreas Schwab <schwab@suse.de>
11576
11577 * string/bits/string2.h (strdup, strndup): Update feature guard.
11578
6957fb31
DM
115792014-06-14 David S. Miller <davem@davemloft.net>
11580
11581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11582
11b9e55b
AS
115832014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11584
1d2a0492
AS
11585 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11586 that was previously under [RESET_PID].
11587 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11588
11b9e55b
AS
11589 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11590 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11591 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11592 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11593 (__libc_vfork): New strong alias.
11594 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11595
0f6901d0
AK
115962014-06-14 Andi Kleen <ak@linux.intel.com>
11597
11598 * sysdeps/generic/elide.h: New file.
11599
38bbbb9f
SL
116002014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11601
11602 * Makefile (installed-headers): Adjust path of pthread.h header.
11603
45193bb8
RM
116042014-06-13 Roland McGrath <roland@hack.frob.com>
11605
9a25fd1e
RM
11606 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11607 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11609 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11610
4004f7e4
RM
11611 * nptl/sysdeps/s390/Makefile: Moved ...
11612 * sysdeps/s390/nptl/Makefile: ... here.
11613 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11614 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11615 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11616 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11617 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11618 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11619 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11620 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11621 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11622 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11623 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11624 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11625 * nptl/sysdeps/s390/tls.h: Moved ...
11626 * sysdeps/s390/nptl/tls.h: ... here.
11627
45193bb8
RM
11628 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11629 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11630
f6fdf533
DM
116312014-06-13 David S. Miller <davem@davemloft.net>
11632
11633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11636 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11640 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11641 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11642 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11643 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11644 Remove RESET_PID cpp guards.
11645 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11646 Remove RESET_PID cpp guards.
11647 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11648
f5d71e14
AS
116492014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11650
11651 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11652 __sp to uintptr_t.
11653
b7aa8caa
AK
116542014-06-13 Andi Kleen <ak@linux.intel.com>
11655
4b266200
AZ
11656 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11657 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11658 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11659 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11660 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11661 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11662 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11663 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11664 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11665 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11666 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11667 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11668 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11669 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11670 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11671 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11672 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11673 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11674 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11675 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11676
11677 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11678 (pthread_rwlock_rdlock): Add elision.
11679 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11680 (pthread_rwlock_wrlock): Add elision.
11681 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11682 (pthread_rwlock_trywrlock): Add elision.
11683 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11684 (pthread_rwlock_tryrdlock): Add elision.
11685 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11686 (pthread_rwlock_tryrdlock): Add elision unlock.
11687 * nptl/sysdeps/pthread/pthread.h:
11688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11689 (PTHREAD_RWLOCK_INITIALIZER,
11690 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11691 Handle new elision field.
11692 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11693 * sysdeps/arm/nptl/bits/pthreadtypes.h
11694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11695 * sysdeps/sh/nptl/bits/pthreadtypes.h
11696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11697 * sysdeps/tile/nptl/bits/pthreadtypes.h
11698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11699 * sysdeps/a/nptl/bits/pthreadtypes.h
11700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11701 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11703 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11705 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11707 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11708 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11709 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11710 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11711 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11712 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11713 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11714 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11715 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11716 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11717 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11718 (elision_init): Set try_xbegin to zero when no RTM.
11719 * sysdeps/x86/nptl/bits/pthreadtypes.h
11720 (pthread_rwlock_t): Change __pad1 to __rwelision.
11721 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11722
a832bdd3
AK
117232014-06-13 Andi Kleen <ak@linux.intel.com>
11724
11725 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11726 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11727 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11728 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11729
995a46bb
MI
117302014-06-13 Meador Inge <meadori@codesourcery.com>
11731
11732 [BZ #16996]
03ed7738 11733 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11734 that the cached result has been set before returning it.
11735
45262aee
RM
117362014-06-12 Roland McGrath <roland@hack.frob.com>
11737
febf6cc5
RM
11738 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11739 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11740 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11741 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11742 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11743 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11744
e2682246
RM
11745 * nptl/sysdeps/sparc/Makefile: Moved ...
11746 * sysdeps/sparc/nptl/Makefile: ... here.
11747 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11748 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11749 * nptl/sysdeps/sparc/tls.h: Moved ...
11750 * sysdeps/sparc/nptl/tls.h: ... here.
11751 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11752 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11753 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11754 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11755 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11756 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11757 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11758 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11759 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11760 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11761 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11762 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11763 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11764 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11765 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11766 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11767 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11769 Update #include.
11770 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11771 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11772 Update #include.
11773 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11775 Update #include.
11776 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11777 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11778 Update #include.
11779
b0725f43
RM
11780 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11781
b14368b8
RM
11782 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11783 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11784
c5620eb3
RM
11785 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11786 (struct list_links): Type removed.
11787 (struct thread_node, struct timer_node): Replace struct list_links
11788 with struct list_head.
11789 (list_unlink_ip): Likewise.
11790 * sysdeps/pthread/timer_routines.c
11791 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11792 (list_append, list_insbefore): Likewise.
11793 (list_init): Function removed.
11794 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11795 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11796 * sysdeps/pthread/Makefile: ... here, new file.
11797
11798 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11799 * sysdeps/nptl/Implies: ... here.
11800 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11801 * nptl/sysdeps/pthread/list.h: Moved ...
11802 * include/list.h: ... here.
11803 * nptl/sysdeps/pthread/createthread.c: Moved ...
11804 * nptl/createthread.c: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11806 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11807 * nptl/pt-longjmp.c: ... here.
11808 * nptl/sysdeps/pthread/Makefile: Moved ...
11809 * sysdeps/nptl/Makefile: ... here.
11810 * nptl/sysdeps/pthread/Subdirs: Moved ...
11811 * sysdeps/nptl/Subdirs: ... here.
11812 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11813 * sysdeps/nptl/aio_misc.h: ... here.
11814 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11815 * sysdeps/nptl/bits/libc-lock.h: ... here.
11816 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11817 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11818 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11819 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11820 * nptl/sysdeps/pthread/configure: Moved ...
11821 * sysdeps/nptl/configure: ... here.
11822 * nptl/sysdeps/pthread/configure.ac: Moved ...
11823 * sysdeps/nptl/configure.ac: ... here.
11824 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11825 * sysdeps/nptl/gai_misc.h: ... here.
11826 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11827 * sysdeps/nptl/librt-cancellation.c: ... here.
11828 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11829 * sysdeps/nptl/malloc-machine.h: ... here.
11830 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11831 * sysdeps/nptl/pthread-functions.h: ... here.
11832 * nptl/sysdeps/pthread/pthread.h: Moved ...
11833 * sysdeps/nptl/pthread.h: ... here.
11834 * nptl/sysdeps/pthread/setxid.h: Moved ...
11835 * sysdeps/nptl/setxid.h: ... here.
11836 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11837 * sysdeps/nptl/sigfillset.c: ... here.
11838 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11839 * sysdeps/nptl/tcb-offsets.h: ... here.
11840 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11841 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11842 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11843 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11844 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11845 * sysdeps/pthread/allocalim.h: ... here.
11846 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11847 * sysdeps/pthread/bits/sigthread.h: ... here.
11848 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11849 * sysdeps/pthread/flockfile.c: ... here.
11850 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11851 * sysdeps/pthread/ftrylockfile.c: ... here.
11852 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11853 * sysdeps/pthread/funlockfile.c: ... here.
11854 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11855 * sysdeps/pthread/posix-timer.h: ... here.
11856 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11857 * sysdeps/pthread/timer_create.c: ... here.
11858 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11859 * sysdeps/pthread/timer_delete.c: ... here.
11860 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11861 * sysdeps/pthread/timer_getoverr.c: ... here.
11862 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11863 * sysdeps/pthread/timer_gettime.c: ... here.
11864 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11865 * sysdeps/pthread/timer_routines.c: ... here.
11866 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11867 * sysdeps/pthread/timer_settime.c: ... here.
11868 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11869 * sysdeps/pthread/tst-timer.c: ... here.
11870 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11871 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11872
e876b090
RM
11873 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11874 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11875
f6b07b3d
RM
11876 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11877 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11878 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11879 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11880 Update #include target.
11881 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11882 * sysdeps/i386/i686/nptl/Makefile: ... here.
11883 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11884 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11885 Update #include target.
11886 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11887 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11888 * nptl/sysdeps/i386/Makefile: Moved ...
11889 * sysdeps/i386/nptl/Makefile: ... here.
11890 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11891 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11892 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11893 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11894 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11895 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11896 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11897 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11898 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11899 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11900 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11901 * nptl/sysdeps/i386/tls.h: Moved ...
11902 * sysdeps/i386/nptl/tls.h: ... here.
11903
45262aee
RM
11904 * sysdeps/sh/Makefile [$(subdir) = csu]
11905 (gen-as-const-headers): Add tcb-offsets.sym.
11906 * nptl/sysdeps/sh/Makefile: File removed.
11907 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11908 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11909 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11910 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11911 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11912 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11913 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11914 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11915 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11916 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11917 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11918 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11919 * nptl/sysdeps/sh/tls.h: Moved ...
11920 * sysdeps/sh/nptl/tls.h: ... here.
11921 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11922 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11923 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11924 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11925 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11926 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11927 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11928 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11929 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11930 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11932 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11934 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11936 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11937 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11938 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11939 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11940 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11941 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11942 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11943 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11946 Moved ...
11947 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11948 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11949 Moved ...
11950 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11952 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11953 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11954 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11955 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11956 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11958 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11959 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11960 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11961 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11962 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11963 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11964 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11965 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11966 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11967 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11968 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11969
35a5e3e3
SL
119702014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11971
11972 * posix/spawn_faction_addopen.c: Include string.h.
11973
14642b85
RM
119742014-06-11 Roland McGrath <roland@hack.frob.com>
11975
11976 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11977 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11978 * nptl/sysdeps/x86_64/Makefile: Moved ...
11979 * sysdeps/x86_64/nptl/Makefile: ... here.
11980 * nptl/sysdeps/x86_64/configure: Moved ...
11981 * sysdeps/x86_64/nptl/configure: ... here.
11982 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11983 * sysdeps/x86_64/nptl/configure.ac: ... here.
11984 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11985 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11986 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11987 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11988 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11989 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11990 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11991 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11992 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11993 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11994 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11995 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11996 * nptl/sysdeps/x86_64/tls.h: Moved ...
11997 * sysdeps/x86_64/nptl/tls.h: ... here.
11998 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11999 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12000 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12001 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12002
12003 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12004
31c44fea
AZ
120052014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12006
12007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12008
e81a4f9a
JM
120092014-06-11 Joseph Myers <joseph@codesourcery.com>
12010
12011 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12012 type.
12013 [POSIX] (off_t): Likewise.
12014 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12015 [POSIX] (S_ISBLK): Require macro.
12016 [POSIX] (S_ISCHR): Likewise.
12017 [POSIX] (S_ISDIR): Likewise.
12018 [POSIX] (S_ISFIFO): Likewise.
12019 [POSIX] (S_ISREG): Likewise.
12020 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12021 optional-macro.
12022 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12023 type.
12024 [POSIX] (time_t): Likewise.
12025 [POSIX] (timer_t): Likewise.
12026
89e435f3
FW
120272014-06-11 Florian Weimer <fweimer@redhat.com>
12028
12029 [BZ #17048]
12030 * posix/spawn_int.h (struct __spawn_action): Make the path string
12031 non-const to support deallocation.
12032 * posix/spawn_faction_addopen.c
12033 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12034 * posix/spawn_faction_destroy.c
12035 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12036 path in all spawn_do_open actions.
12037 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12038 posix_spawn_file_actions_addopen.
12039
c3a2ebe1
CM
120402014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12041
12042 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12043 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12044 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12045 conditional code always true.
12046 (__libc_vfork): New alias.
12047
9503784a
RM
120482014-06-11 Roland McGrath <roland@hack.frob.com>
12049
c9cab3d2
RM
12050 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12051 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12052
d3996c79
RM
12053 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12054
ba5ec611
RM
12055 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12056 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12057
f12b4814
RM
12058 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12059 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12060
9503784a
RM
12061 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12062 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12063
e23d3d26
VR
120642014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12065
12066 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12067 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12068 multiarch strcmp for PPC64.
12069 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12072 multiarch optimizations.
12073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12074 (__libc_ifunc_impl_list): Likewise.
12075
42b1161e
SP
120762014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12077
12078 * benchtests/scripts/validate_benchout.py: New script.
12079 * benchtests/Makefile (bench-func): Call it.
12080 * benchtests/scripts/benchout.schema.json: New file.
12081
2d0fc4dc
CM
120822014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12083
4a594c34
AZ
12084 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12085 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12086 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12087 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12088 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12089 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12090 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12091 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12092 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12093 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12094 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12095 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12096 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12097 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12098 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12099 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12101 Moved ...
4a594c34 12102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12103 ... here.
4a594c34 12104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12105 Moved ...
4a594c34
AZ
12106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12108 Moved ...
4a594c34 12109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12110 ... here.
4a594c34 12111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12112 Moved ...
4a594c34 12113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12114 ... here.
4a594c34 12115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12116 Moved ...
4a594c34
AZ
12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12119 Moved ...
4a594c34 12120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12121 ... here.
4a594c34 12122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12123 Moved ...
4a594c34 12124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12125 ... here.
4a594c34 12126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12127 Moved ...
4a594c34
AZ
12128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12130 Moved ...
4a594c34 12131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12132 ... here.
4a594c34 12133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12134 Moved ...
4a594c34 12135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12136 ... here.
4a594c34 12137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12138 Moved ...
4a594c34 12139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12140 ... here.
4a594c34 12141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12142 Moved ...
4a594c34
AZ
12143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12145 Moved ...
4a594c34 12146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12147 ... here.
4a594c34 12148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12149 Moved ...
4a594c34 12150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12151 ... here.
4a594c34 12152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12153 Moved ...
4a594c34 12154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12155 ... here.
4a594c34 12156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12157 Moved ...
4a594c34
AZ
12158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12160 Moved ...
4a594c34 12161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12162 ... here.
4a594c34 12163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12164 Moved ...
4a594c34 12165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12166 ... here.
4a594c34 12167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12168 Moved ...
4a594c34
AZ
12169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12171 Moved ...
4a594c34 12172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12173 ... here.
4a594c34 12174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12175 Moved ...
4a594c34
AZ
12176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12178 Moved ...
4a594c34
AZ
12179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12181 Moved ...
4a594c34 12182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12183 ... here.
4a594c34 12184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12185 Moved ...
4a594c34 12186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12187 ... here.
4a594c34 12188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12189 Moved ...
4a594c34 12190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12191 ... here.
4a594c34 12192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12193 Moved ...
4a594c34
AZ
12194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12196 Moved ...
4a594c34 12197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12198 ... here.
4a594c34 12199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12200 Moved ...
4a594c34 12201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12202 ... here.
4a594c34
AZ
12203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12204 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12208 Moved ...
4a594c34 12209 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12210 ... here.
4a594c34
AZ
12211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12212 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12214 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12215 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12216 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12217 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12218 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12219 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12220 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12222 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12223 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12224 Moved ...
4a594c34
AZ
12225 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12227 Moved ...
4a594c34
AZ
12228 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12229 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12230 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12231 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12232 Moved ...
4a594c34
AZ
12233 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12234 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12235 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12236 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12237 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12238 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12239 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12240
0570cfed
W
122412014-06-10 Wilco <wdijkstr@arm.com>
12242
12243 * math/test-fenv-return.c: New file.
12244 * math/Makefile: Add new test test-fenv-return.
12245
f8ba1b56
JM
122462014-06-10 Joseph Myers <joseph@codesourcery.com>
12247
12248 [BZ #17042]
12249 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12250 when x - 1 is zero.
12251 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12252 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12253 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12254 0.0L for an argument of 1.0L.
12255 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12256 Likewise.
12257 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12258 value when x - 1 is zero.
12259 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12262
2c3520d9
BO
122632014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12264
12265 [BZ #15119]
12266 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12267
acaa4d24
RM
122682014-06-09 Roland McGrath <roland@hack.frob.com>
12269
12270 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12271 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12272
962b744d
RM
122732014-06-09 Roland McGrath <roland@hack.frob.com>
12274
d752f0cc
RM
12275 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12276 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12277
34eda6d1
RM
12278 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12279 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12280
50f0a637
RM
12281 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12282 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12283
08f41f04
RM
12284 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12285 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12286
962b744d
RM
12287 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12288 if not already defined.
12289 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12290 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12291 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12292 (TLS_INIT_TP): Use it.
12293 (TLS_DEFINE_INIT_TP): New macro.
12294 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12295
09f19b05
JM
122962014-06-09 Joseph Myers <joseph@codesourcery.com>
12297
12298 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12299 constant.
12300 [POSIX] (IXANY): Likewise.
12301 [POSIX] (OLCUC): Likewise.
12302 [POSIX || POSIX2008] (CBAUD): Do not allow.
12303 [POSIX || POSIX2008] (DEFECHO): Likewise.
12304 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12305 [POSIX || POSIX2008] (ECHOKE): Likewise.
12306 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12307 [POSIX || POSIX2008] (EXTA): Likewise.
12308 [POSIX || POSIX2008] (EXTB): Likewise.
12309 [POSIX || POSIX2008] (FLUSHO): Likewise.
12310 [POSIX || POSIX2008] (LOBLK): Likewise.
12311 [POSIX || POSIX2008] (PENDIN): Likewise.
12312 [POSIX || POSIX2008] (SWTCH): Likewise.
12313 [POSIX || POSIX2008] (VDISCARD): Likewise.
12314 [POSIX || POSIX2008] (VDSUSP): Likewise.
12315 [POSIX || POSIX2008] (VLNEXT): Likewise.
12316 [POSIX || POSIX2008] (VREPRINT): Likewise.
12317 [POSIX || POSIX2008] (VSTATUS): Likewise.
12318 [POSIX || POSIX2008] (VWERASE): Likewise.
12319 (B*): Change to B[0123456789]*.
12320 * conform/data/time.h-data [POSIX || UNIX98]
12321 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12322 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12323 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12324 [POSIX] (tm_*): Do not allow.
12325
686554bf
JM
123262014-06-07 Joseph Myers <joseph@codesourcery.com>
12327
12328 * Makefile (install): Don't set LANGUAGE.
12329 * Makefile.in (install): Likewise.
12330 * assert/Makefile (test-assert-ENV): Remove variable.
12331 (test-assert-perr-ENV): Likewise.
12332 * elf/Makefile (neededtest4-ENV): Likewise.
12333 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12334 [$(cross-compiling) = no]: Don't set LANGUAGE.
12335 * io/ftwtest-sh (LANG): Remove variable.
12336 * libio/Makefile (tst-widetext-ENV): Likewise.
12337 * manual/install.texi (Running make install): Don't refer to
12338 environment settings for make install.
12339 * INSTALL: Regenerated.
12340 * nptl/tst-tls6.sh: Don't set LANG.
12341 * posix/globtest.sh (LANG): Remove variable.
12342 * string/Makefile (tester-ENV): Likewise.
12343 (inl-tester-ENV): Likewise.
12344 (noinl-tester-ENV): Likewise.
12345 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12346 [$(cross-compiling) = no]: Don't set LANGUAGE.
12347 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12348 without explicit environment settings.
12349
68e6b6b1
RM
123502014-06-06 Roland McGrath <roland@hack.frob.com>
12351
12352 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12353 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12354 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12355 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12356
4d3ae034
CM
123572014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12358
12359 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12360 other files in the crypt directory.
12361 * crypt/crypt.c: Remove duplicate includes.
12362 * crypt/crypt-entry.c: Likewise.
12363 * crypt/crypt_util.c: Likewise.
12364
8540f6d2
JM
123652014-06-06 Joseph Myers <joseph@codesourcery.com>
12366
12367 * Makeconfig (run-program-env): New variable.
12368 (run-program-prefix-before-env): Likewise.
12369 (run-program-prefix-after-env): Likewise.
12370 (run-program-prefix): Define in terms of new variables.
12371 (built-program-cmd-before-env): New variable.
12372 (built-program-cmd-after-env): Likewise.
12373 (built-program-cmd): Define in terms of new variables.
12374 (test-program-prefix-before-env): New variable.
12375 (test-program-prefix-after-env): Likewise.
12376 (test-program-prefix): Define in terms of new variables.
12377 (test-program-cmd-before-env): New variable.
12378 (test-program-cmd-after-env): Likewise.
12379 (test-program-cmd): Define in terms of new variables.
12380 * Rules (make-test-out): Use $(run-program-env).
12381 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12382 (help): Do not mention environment variables. Mention
12383 --timeoutfactor option.
12384 (timeoutfactor): New variable.
12385 (blacklist_exports): Remove function.
12386 (exports): Remove variable.
12387 (command): Do not include ${exports}.
12388 * manual/install.texi (Configuring and compiling): Do not mention
12389 test wrappers preserving environment variables. Mention that last
12390 assignment to a variable must take precedence.
12391 * INSTALL: Regenerated.
12392 * benchtests/Makefile (run-bench): Use $(run-program-env).
12393 * catgets/Makefile ($(objpfx)test1.cat): Use
12394 $(built-program-cmd-before-env), $(run-program-env) and
12395 $(built-program-cmd-after-env).
12396 ($(objpfx)test2.cat): Do not specify environment variables
12397 explicitly.
12398 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12399 $(run-program-env) and $(built-program-cmd-after-env).
12400 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12401 $(run-program-env) and $(test-program-cmd-after-env).
12402 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12403 explicitly.
12404 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12405 run_program_env and test_program_cmd_after_env arguments.
12406 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12407 * elf/tst-pathopt.sh: Use run_program_env argument.
12408 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12409 $(test-wrapper-env) and $(run-program-env).
12410 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12411 run_program_env arguments.
12412 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12413 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12414 $(test-program-prefix-before-env), $(run-program-env) and
12415 $(test-program-prefix-after-env).
12416 ($(objpfx)tst-gettext2.out): Likewise.
12417 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12418 run_program_env and test_program_prefix_after_env arguments.
12419 * intl/tst-gettext2.sh: Likewise.
12420 * intl/tst-gettext4.sh: Do not set environment variables
12421 explicitly.
12422 * intl/tst-gettext6.sh: Likewise.
12423 * intl/tst-translit.sh: Likewise.
12424 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12425 $(test-program-prefix-before-env), $(run-program-env) and
12426 $(test-program-prefix-after-env).
12427 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12428 run_program_env and test_program_prefix_after_env arguments.
12429 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12430 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12431 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12432 explicitly with each use of ${test_wrapper_env}.
12433 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12434 $(test-program-prefix-before-env), $(run-program-env) and
12435 $(test-program-prefix-after-env).
12436 * posix/tst-getconf.sh: Do not set environment variables
12437 explicitly.
12438 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12439 run_program_env and test_program_prefix_after_env arguments.
12440 * stdio-common/tst-printf.sh: Do not set environment variables
12441 explicitly.
12442 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12443 $(test-program-prefix-before-env), $(run-program-env) and
12444 $(test-program-prefix-after-env).
12445 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12446 run_program_env and test_program_prefix_after_env arguments.
12447 Split $test calls into $test_pre and $test.
12448 * timezone/Makefile (build-testdata): Use
12449 $(built-program-cmd-before-env), $(run-program-env) and
12450 $(built-program-cmd-after-env).
12451
ed36bfa1
AZ
124522014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453
12454 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12455 strlen for non SHARED builds.
12456
fc75bf46
SP
124572014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12458
12459 * nptl/allocatestack.c (check_list): Inlined function...
12460 (__reclaim_stacks): ... here.
12461
d89b3d80
OB
124622014-06-05 Ondřej Bílka <neleai@seznam.cz>
12463
12464 [BZ #15698]
12465 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12466 memory overrun.
12467
2bf18041
JM
124682014-06-05 Joseph Myers <joseph@codesourcery.com>
12469
12470 * Rules (make-test-out): Include
12471 LOCPATH=$(common-objpfx)localedata in default environment.
12472 * debug/Makefile (tst-chk1-ENV): Remove variable.
12473 (tst-chk2-ENV): Likewise.
12474 (tst-chk3-ENV): Likewise.
12475 (tst-chk4-ENV): Likewise.
12476 (tst-chk5-ENV): Likewise.
12477 (tst-chk6-ENV): Likewise.
12478 (tst-lfschk1-ENV): Likewise.
12479 (tst-lfschk2-ENV): Likewise.
12480 (tst-lfschk3-ENV): Likewise.
12481 (tst-lfschk4-ENV): Likewise.
12482 (tst-lfschk5-ENV): Likewise.
12483 (tst-lfschk6-ENV): Likewise.
12484 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12485 (tst-iconv7-ENV): Likewise.
12486 * intl/Makefile (LOCPATH-ENV): Likewise.
12487 (tst-codeset-ENV): Likewise.
12488 (tst-gettext3-ENV): Likewise.
12489 (tst-gettext5-ENV): Likewise.
12490 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12491 (tst-fopenloc-ENV): Likewise.
12492 (tst-fgetws-ENV): Remove variable.
12493 (tst-ungetwc1-ENV): Likewise.
12494 (tst-ungetwc2-ENV): Likewise.
12495 (bug-ungetwc2-ENV): Likewise.
12496 (tst-swscanf-ENV): Likewise.
12497 (bug-ftell-ENV): Likewise.
12498 (tst-fgetwc-ENV): Likewise.
12499 (tst-fseek-ENV): Likewise.
12500 (tst-ftell-partial-wide-ENV): Likewise.
12501 (tst-ftell-active-handler-ENV): Likewise.
12502 (tst-ftell-append-ENV): Likewise.
12503 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12504 (tst-regexloc-ENV): Likewise.
12505 (bug-regex1-ENV): Likewise.
12506 (tst-regex-ENV): Likewise.
12507 (tst-regex2-ENV): Likewise.
12508 (bug-regex5-ENV): Likewise.
12509 (bug-regex6-ENV): Likewise.
12510 (bug-regex17-ENV): Likewise.
12511 (bug-regex18-ENV): Likewise.
12512 (bug-regex19-ENV): Likewise.
12513 (bug-regex20-ENV): Likewise.
12514 (bug-regex22-ENV): Likewise.
12515 (bug-regex23-ENV): Likewise.
12516 (bug-regex25-ENV): Likewise.
12517 (bug-regex26-ENV): Likewise.
12518 (bug-regex30-ENV): Likewise.
12519 (bug-regex32-ENV): Likewise.
12520 (bug-regex33-ENV): Likewise.
12521 (bug-regex34-ENV): Likewise.
12522 (bug-regex35-ENV): Likewise.
12523 (tst-rxspencer-ENV): Likewise.
12524 (tst-rxspencer-no-utf8-ENV): Likewise.
12525 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12526 (tst-sscanf-ENV): Likewise.
12527 (tst-swprintf-ENV): Likewise.
12528 (tst-swscanf-ENV): Likewise.
12529 (test-vfprintf-ENV): Likewise.
12530 (scanf13-ENV): Likewise.
12531 (bug14-ENV): Likewise.
12532 (tst-grouping-ENV): Likewise.
12533 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12534 (tst-strtod3-ENV): Likewise.
12535 (tst-strtod4-ENV): Likewise.
12536 (tst-strtod5-ENV): Likewise.
12537 (testmb2-ENV): Likewise./
12538 * string/Makefile (tst-strxfrm-ENV): Likewise.
12539 (tst-strxfrm2-ENV): Likewise.
12540 (bug-strcoll1-ENV): Likewise.
12541 (test-strcasecmp-ENV): Likewise.
12542 (test-strncasecmp-ENV): Likewise.
12543 * time/Makefile (tst-strptime-ENV): Likewise.
12544 (tst-ftime_l-ENV): Likewise.
12545 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12546 (tst-mbrtowc-ENV): Likewise.
12547 (tst-wcrtomb-ENV): Likewise.
12548 (tst-mbrtowc2-ENV): Likewise.
12549 (tst-c16c32-1-ENV): Likewise.
12550 (tst-mbsnrtowcs-ENV): Likewise.
12551
cd1fb604
OB
125522014-06-05 Ondřej Bílka <neleai@seznam.cz>
12553
12554 * manual/resource.texi (How to get information about the memory
12555 subsystem?): Fix typo.
12556 Reported by Peon de la Parra Ivan <peon@keba.com>
12557
b42eca7d
GY
125582014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12559
12560 [BZ #16882]
12561 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12562 (pthread_spin_lock): Branch out of spin loop to proper location.
12563 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12564 (pthread_spin_lock): Likewise.
12565
902b71f9
DM
12566 * nptl/tst-spin4.c: New test.
12567 * nptl/Makefile (tests): Add tst-spin4.
12568
f9d2d032
AS
125692014-06-03 Andreas Schwab <schwab@suse.de>
12570
12571 [BZ #15946]
12572 * resolv/res_send.c (send_dg): Reload file descriptor after
12573 calling reopen.
12574
cf7bfd28
SL
125752014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12576
12577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12578
111cc714
RH
125792014-06-03 Richard Henderson <rth@redhat.com>
12580
89b4bd6b
RH
12581 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12582 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12583 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12584 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12585 in the SAVE_PID block.
12586 (__libc_vfork): New alias.
71840409 12587 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12588
111cc714
RH
12589 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12590 child in registers, not on the stack. Remove RESET_PID conditionals.
12591 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12592
ccc39911
MS
125932014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12594
12595 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12596
693096cc
W
125972014-06-03 Wilco <wdijkstr@arm.com>
12598
12599 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12600 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12601 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12602 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12603 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12604 Likewise.
12605
0b4366bc
W
126062014-06-03 Wilco <wdijkstr@arm.com>
12607
12608 * sysdeps/aarch64/fpu/math_private.h
12609 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12610 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12611 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12612 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12613 Fix declarations.
12614
8747cd03
KS
126152014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12616
12617 * crypt/crypt-private.h: Include ufc-crypt.h.
12618 (__b64_from_24bit): Declare extern.
12619 * crypt/crypt_util.c(__b64_from_24bit): New function.
12620 (b64t): New static const variable.
12621 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12622 (b64t): Remove variable.
12623 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12624 * crypt/sha256-crypt.c: Include crypt-private.h.
12625 (b64t): Remove variable.
12626 (__sha256_crypt_r): Remove b64_from_24bit and replace
12627 with __b64_from_24bit.
12628 * crypt/sha512-crypt.c: Likewise.
12629
d936d379
RM
126302014-06-02 Roland McGrath <roland@hack.frob.com>
12631
12632 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12633 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12634 Label the code __libc_vfork rather than __vfork.
12635 [!NOT_IN_libc] (vfork): Define as weak alias.
12636 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12637 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12638 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12639
9fa76613
SP
126402014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12641
12642 * malloc/malloc.c (malloc_info): Fix format specifier for
12643 n_mmaps.
12644
a88dadbe
W
126452014-06-02 Wilco <wdijkstr@arm.com>
12646
12647 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12648 FPCR write.
12649
c95b3011
W
126502014-06-02 Wilco <wdijkstr@arm.com>
12651
12652 [BZ #17009]
12653 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12654 Rewrite to reduce FPCR/FPSR accesses.
12655
6b4d7a90
DM
126562014-06-01 David S. Miller <davem@davemloft.net>
12657
12658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12659
30f3d07c
DM
126602014-05-31 David S. Miller <davem@davemloft.net>
12661
12662 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12663 to occur in round to nearest mode when |x| >= 2.0
12664
74f31c18
RH
126652014-05-30 Richard Henderson <rth@twiddle.net>
12666
f0712b54
RH
12667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12668 (PSEUDO_RET_NOERRNO): Remove.
12669 (ret): Don't redefine.
12670 (ret_NOERRNO): Define in terms of ret.
12671 (ret_ERRVAL): Likewise.
12672
74f31c18
RH
12673 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12674 use of PSEUDO_RET; perform the error check directly.
12675
30477995
MM
126762014-05-30 Marko Myllynen <myllynen@redhat.com>
12677
12678 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12679 with __int128_t.
12680
62a58816
SP
126812014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12682
12683 * malloc/malloc (malloc_info): Fix formatting.
12684
4d653a59
SP
126852014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12686 Roland McGrath <roland@hack.frob.com>
12687
12688 * malloc/malloc (malloc_info): Also print mmapped statistics.
12689
5190c17f
RM
126902014-05-30 Roland McGrath <roland@hack.frob.com>
12691
12692 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12693 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12694
987c0269
OB
126952014-05-30 Ondřej Bílka <neleai@seznam.cz>
12696
12697 * malloc/malloc.c (malloc_info): Inline mi_arena.
12698
af4e8ef9
RH
126992014-05-29 Richard Henderson <rth@twiddle.net>
12700
1670e207
RH
12701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12702 Remove comma before expanding ASM_ARGS_##nr.
12703 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12704 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12705 of ASM_ARGS_##nr.
12706 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12707 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12708 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12709 (ASM_ARGS_1): Add leading comma.
12710
11a28aee
RH
12711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12712 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12713 to __errno_location.
12714 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12715 Remove the expected plt for __errno_location.
12716
a17e5ffb 12717 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12718 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12719 call to __read_tp.
12720
b5be4597
RH
12721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12722 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12723 it and break it down.
12724 (DOCARGS_0, DOCARGS_1): Do nothing.
12725 (DOCARGS_2): Update to store into the new stack frame.
12726 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12727 (UNDOCARGS_1): Update to restore from the new stack frame.
12728 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12729 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12730
645d44ab
RH
12731 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12732 (SINGLE_THREAD_P): New parameter for result regno.
12733 (PSEUDO): Update to match; use cbz instead of beq.
12734
a8b4f04a
RH
12735 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12736 Use ENTRY to define the _nocancel entry point. Share the syscall
12737 and syscall error check paths with the cancel path.
12738 (PSEUDO_END): New.
12739
af4e8ef9
RH
12740 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12741 whitespace; tabs before and after asm mnemonics.
12742
26b0d2e1
EW
127432014-05-29 Eric Wong <normalperson@yhbt.net>
12744
12745 [BZ #15132]
12746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12747 Call fstat64 or stat64 internally, depending on arguments passed.
12748 Replace stat buffer argument with file descriptor argument.
12749 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12750 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12751 Pass fd to __internal_statvfs instead of calling fstat64.
12752 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12753 Pass fd to __internal_statvfs64 instead of calling fstat64.
12754 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12755 Pass -1 to __internal_statvfs instead of calling stat64.
12756 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12757 Pass -1 to __internal_statvfs64 instead of calling stat64.
12758
1efe2bd9
RM
127592014-05-28 Roland McGrath <roland@hack.frob.com>
12760
0d3b7a19
RM
12761 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12762 that was previously under [RESET_PID].
12763 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12764
1efe2bd9
RM
12765 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12766 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12767
a6bea3ca
RM
127682014-05-27 Roland McGrath <roland@hack.frob.com>
12769
30b6629e
RM
12770 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12771
a6bea3ca
RM
12772 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12773 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12774
3dfb9a5c
OB
127752014-05-27 Ondřej Bílka <neleai@seznam.cz>
12776
12777 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12778
774f9285
AS
127792014-05-27 Andreas Schwab <schwab@suse.de>
12780
12781 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12782 TLS_INIT_TP macro.
12783 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12784 * elf/rtld.c (init_tls, dl_main): Likewise.
12785 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12786 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12787 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12788 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12789 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12790 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12791 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12792 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12793 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12794 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12795 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12796 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12797 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12798 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12799 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12800 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12801 * sysdeps/generic/tls.h: Update description.
12802
36ffe739
WN
128032014-05-27 Will Newton <will.newton@linaro.org>
12804
12805 [BZ #16990]
12806 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12807 and restore r2 rather than just restoring.
12808
2482ae43
SP
128092014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12810
12811 [BZ #16724]
12812 * libio/tst-ftell-append.c: New test case.
12813 * libio/Makefile (tests): Add test case.
12814 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12815 append mode.
12816 * libio/wfileops.c (do_ftell_wide): Likewise.
12817
3d1024e8
AZ
128182014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12819
bab90016
AZ
12820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12821
c7a8d667
AZ
12822 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12823 ...
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12826 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12827 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12829 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12830 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12831 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12833 Moved ...
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12836 Moved ...
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12839 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12841 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12843 ...
12844 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12845 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12846 Moved ...
12847 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12848 here.
12849 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12850 ...
12851 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12852 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12853 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12854
daee7851
AZ
12855 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12856 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12857 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12858 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12859
50a40819
AZ
12860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12861 merge into ...
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12864 ...
12865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12867 ...
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12870 Moved ...
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12872 here.
12873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12874 Moved ...
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12876 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12877 Moved ...
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12879
8464c2a1
AZ
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12881 conditional [RESET_PID].
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12883 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12884 removed.
12885 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12886 removed.
12887
3d1024e8
AZ
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12889 <tcb-offsets.h>.
12890 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12891 (__libc_vfork): New strong alias.
12892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12893 removed.
12894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12895 Removed.
12896
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12898 <tcb-offsets.h>.
12899 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12900 (__libc_vfork): New strong alias.
12901 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12902 removed.
12903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12904 removed.
12905
fdfd175d
CD
129062014-05-26 Carlos O'Donell <carlos@redhat.com>
12907
12908 * malloc/malloc.c (mi_arena): New function.
12909 (malloc_info): Remove nested function mi_arena. Call non-nosted
12910 function mi_arena.
12911
d298c416
AZ
129122014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12913
12914 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12915 by insrwi.
12916 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12917 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12918 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12919 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12921 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12922 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12923
b60ea6ff
AS
129242014-05-26 Andreas Schwab <schwab@suse.de>
12925
12926 [BZ #16984]
12927 * locale/programs/repertoire.c (repertoire_read): Add slash
12928 between I18NPATH element and file name.
12929 * locale/programs/locfile.c (locfile_read): Likewise.
12930
67365926
SL
129312014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12932
12933 * nptl/pthread_mutexattr_settype.c
12934 (__pthread_mutexattr_settype):
12935 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12936
f8bdf1f0
SL
129372014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12938
12939 * nptl/tst-mutex5 (do_test):
12940 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12941
15eaf6ff
SP
129422014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
12944 * benchtests/README: Document 'init' directive.
12945 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12946 BENCH_INIT.
12947 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12948 (parse_file): Recognize 'init' directive.
12949
75f11331
KM
129502014-05-26 Kyle McMartin <kyle@redhat.com>
12951
12952 [BZ #16796]
12953 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12954 alignment of struct pthread.
12955
c3ec475c
SP
129562014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12957
12958 [BZ #16878]
12959 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12960 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12961 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12962 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12963
82aab97c
RH
129642014-05-25 Richard Henderson <rth@twiddle.net>
12965
aa2f176d
RH
12966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12967 (SINGLE_THREAD_P_PIC): Remove.
12968 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12969 (SINGLE_THREAD_P_PIC): Remove.
12970
ca3cfa40
RH
12971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12972 branch to syscall error ...
12973 (PSEUDO): ... here.
12974 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12975 from __local_syscall_error to .Lsyscall_error.
12976 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12977 (SYSCALL_ERROR): Update label name.
12978
6e6c2d01
RH
12979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12980 Do not use DOARGS/UNDOARGS.
12981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12982 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12983 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12984 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12985 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12986
c69abcee
RH
12987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12988 block comment.
12989
82aab97c
RH
12990 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12991 define if !NOT_IN_libc.
12992 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12993 define with non-default symbol versions.
12994
8820e3ac
RH
129952014-05-23 Richard Henderson <rth@twiddle.net>
12996
900e445f
RH
12997 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12998 (vfork, __vfork): Define via compat_symbol.
12999
8820e3ac
RH
13000 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13001 [!HAVE_IFUNC] (vfork_compat): Remove.
13002 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13003
e59252a5
JM
130042014-05-23 Joseph Myers <joseph@codesourcery.com>
13005
13006 [BZ #16978]
13007 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13008 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13009 variable.
13010
132c7f5f
RH
130112014-05-23 Richard Henderson <rth@twiddle.net>
13012
bc89e962
RH
13013 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13014 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13015 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13016 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13017
13018 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13019 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13020 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13021 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13022 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13023 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13024 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13025 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13026 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13027 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13028 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13029 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13030 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13031 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13033 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13034 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13045 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13049 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13050 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13051 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13052 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13053 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13055 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13056 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13057 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13058 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13059 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13060 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13061 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13062 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13063 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13065 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13066 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13067 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13068 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13069 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13070 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13071 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13072 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13073 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13074
e2fa4bc2
RH
13075 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13076 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13077 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13078 before exiting on error.
13079 (__libc_vfork): New strong alias.
13080 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13081 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13082
279b24e2
RH
13083 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13084 that was previously under [RESET_PID].
13085 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13086
132c7f5f
RH
13087 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13088
b72592e7
JM
130892014-05-23 Joseph Myers <joseph@codesourcery.com>
13090
13091 [BZ #16977]
13092 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13093 value when x - 1 is zero.
13094 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13095 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13096 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13097 0.0L for an argument of 1.0L.
13098 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13099 Likewise.
13100 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13101 value when x - 1 is zero.
13102 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13103 * sysdeps/i386/fpu/libm-test-ulps: Update.
13104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13105
2302d679
RV
131062014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13107
13108 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13109 alphasort and versionsort.
13110
32999d63
AZ
131112014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13112
13113 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13114 macro.
13115 [copysignf]: Likewise.
13116
019324d0
SP
131172014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13118
13119 * crypt/md5-crypt.c: Fix formatting.
13120
34fff5c2
KS
131212014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13122
13123 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13124 (b64_from_24bit): New function.
13125
3d2badac
AZ
131262014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13127
13128 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13129 libc_hidden_builtin_def to ifunc.
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13131 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13132
f7bb179f 131332014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13134
13135 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13136 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13137
4134b50d
JM
131382014-05-21 Joseph Myers <joseph@codesourcery.com>
13139
bb7d0337
JM
13140 * nscd/Depend (linuxthreads): Remove.
13141 (nptl): Add.
13142 * resolv/Depend (linuxthreads): Remove.
13143 * rt/Depend (linuxthreads): Remove.
13144
4134b50d
JM
13145 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13146 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13147 $(common-objpfx)elf/.
13148 (link-libc-before-gnulib): Likewise.
13149 (elfobjdir): Remove variable.
13150 * Makefile (install): Use $(elf-objpfx) instead of
13151 $(common-objpfx)elf/.
13152 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13153 $(elfobjdir)/.
13154 (link-libc-deps): Likewise.
13155 ($(common-objpfx)libc.so): Likewise.
13156 ($(common-objpfx)linkobj/libc.so): Likewise.
13157 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13158 instead of $(common-objpfx)elf/.
13159 (symbolic-link-list): Likewise.
13160 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13161 [$(cross-compiling) = no]: Likewise.
13162 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13163 $(elfobjdir)/.
13164 (static-gnulib-arch): Likewise.
13165 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13166 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13167 $(common-objpfx)elf/.
13168
3612eb8f
RH
131692014-05-21 Richard Henderson <rth@redhat.com>
13170
a6b3657b
RH
13171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13172 (SINGLE_THREAD_P): Use the correct width load. Fold
13173 into the ldr offset.
13174
3612eb8f
RH
13175 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13176 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13177
175cef41
JM
131782014-05-20 Joseph Myers <joseph@codesourcery.com>
13179
13180 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13181 (libgcc_s_resume): Use __attribute_used__.
13182 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13183 Likewise.
13184
e13bccd3
AZ
131852014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13186
13187 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13188 optimization when used with float constants.
13189
7c112a38
AZ
13190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13191
ae75a883
AJ
131922014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13193
13194 [BZ #16915]
13195 * locale/nl_langinfo_l.c: Make direct reference to every
13196 _nl_current_CATEGORY symbol.
13197 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13198 (tests-static): Add tst-langinfo-static.
13199 (tests-special): Add tst-langinfo-static.out.
13200 ($(objpfx)tst-langinfo.out): Redirect output.
13201 ($(objpfx)tst-langinfo-static.out): New.
13202 * localedata/tst-langinfo.sh: Send output to stdout.
13203 * localedata/tst-langinfo-static.c: New file.
13204
4406c41c
AJ
13205 [BZ #16965]
13206 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13207 when the shift amount is modulo the limb size.
13208
4c0a1e63
RH
132092014-05-20 Richard Henderson <rth@redhat.com>
13210
de9d8f20
RH
13211 [BZ #16967]
13212 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13213 Change type of sa_flags from unsigned int to int.
13214
4c0a1e63
RH
13215 [BZ #16966]
13216 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13217
13218 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13219
a60339aa
WN
132202014-05-20 Will Newton <will.newton@linaro.org>
13221
13222 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13223 Test the return value of the system call in the nocancel case.
13224
7d05a816
YR
132252014-05-20 Will Newton <will.newton@linaro.org>
13226 Yvan Roux <yvan.roux@linaro.org>
13227
13228 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13229 #include of asm/ptrace.h.
13230 (PTRACE_GET_THREAD_AREA): Remove #undef.
13231 (PTRACE_GETHBPREGS): Likewise.
13232 (PTRACE_SETHBPREGS): Likewise.
13233 (struct user_regs_struct): New structure.
13234 (struct user_fpsimd_struct): New structure.
13235 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13236 #include of asm/ptrace.h and second #include of sys/user.h.
13237 (PTRACE_GET_THREAD_AREA): Remove #undef.
13238 (PTRACE_GETHBPREGS): Likewise.
13239 (PTRACE_SETHBPREGS): Likewise.
13240 (ELF_NGREG): Use new struct user_regs_struct.
13241 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13242
af121e37
AZ
132432014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13244
13245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13246 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13247
834caf06
JM
132482014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13249
13250 [BZ #16958]
13251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13252 membar to avoid block loads/stores to overlap previous stores.
13253
e184a918
RH
132542014-05-17 Richard Henderson <rth@redhat.com>
13255
13256 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13257 Create the __##syscall_name##_nocancel entry point.
13258 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13259 Remove; let the sysdep-cancel.h code create it.
13260
f56c7a6a
DM
132612014-05-17 David S. Miller <davem@davemloft.net>
13262
13263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13264 Protect with __USE_GNU.
13265 (TIOCSET_TEMPT): Likewise.
13266 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13267 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13268 these are already provided in bits/ioctl-types.h
13269
f75616b2
RM
132702014-05-16 Roland McGrath <roland@hack.frob.com>
13271
3edeca86
RM
13272 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13273 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13274
f75616b2
RM
13275 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13276 Use wait4 regardless of [__NR_waitpid].
13277
deb0f7f6
MR
132782014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13279
13280 PR libgcc/60166
13281 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13282 (_FP_NANSIGN_Q): Set the quiet bit.
13283
79520f4b
JM
132842014-05-16 Joseph Myers <joseph@codesourcery.com>
13285
13286 * benchtests/Makefile
13287 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13288 not $(common-objpfx)math/libm.so.
13289 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13290 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13291 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13292 $(common-objpfx)dlfcn/libdl.so.
13293 ($(objpfx)tst-audit8): Depend on $(libm), not
13294 $(common-objpfx)math/libm.so.
13295 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13296 not $(common-objpfx)dlfcn/libdl.so.
13297 * math/Makefile
13298 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13299 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13300 [$(build-shared) = yes].
13301 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13302 $(common-objpfx)nptl/libpthread.so.
13303 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13304 $(common-objpfx)math/libm.so$(libm.so-version) or
13305 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13306 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13307 $(common-objpfx)dlfcn/libdl.so.
13308 * setjmp/Makefile (link-libm): Remove variable.
13309 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13310 * stdio-common/Makefile (link-libm): Remove variable.
13311 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13312 * stdlib/Makefile (link-libm): Remove variable.
13313 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13314 ($(objpfx)tst-strtod-round): Likewise.
13315 ($(objpfx)tst-tininess): Likewise.
13316 ($(objpfx)tst-strtod-underflow): Likewise.
13317 ($(objpfx)tst-strtod6): Likewise.
13318 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13319 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13320 $(common-objpfx)dlfcn/libdl.so.
13321
026b0fe4
AZ
133222014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13323
13324 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13325 BSD terminal modes definitions.
13326
def4bcb2
RM
133272014-05-16 Roland McGrath <roland@hack.frob.com>
13328
fe39b021
RM
13329 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13330 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13331
1d1fc46e 13332 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13333 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13334 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13335 Don't do #include_next.
13336 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13337 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13338 Don't do #include_next.
13339 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13340 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13341 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13342 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13343
c72399fb
AM
133442014-05-16 Allan McRae <allan@archlinux.org>
13345
d51d659d
AM
13346 * po/sv.po: Update Swedish translation from translation project.
13347
c72399fb
AM
13348 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13349 in sed expression.
13350
d0583c40
AJ
133512014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13352
13353 [BZ #16917]
13354 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13355 errno if the TIOCGPTN ioctl fails with an error different than
13356 EINVAL.
13357 * login/tst-ptsname.c: New file.
13358 * login/Makefile (tests): Add tst-ptsname.
13359
d16e6ec7
AJ
13360 [BZ #16943]
13361 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13362 and prlimit64.
13363
cf26a0cb
SP
133642014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13365
13366 [BZ #16849]
13367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13368 herrno to return EAI_AGAIN.
13369
5675da1e
RM
133702014-05-14 Roland McGrath <roland@hack.frob.com>
13371
a5d87b3d
RM
13372 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13373 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13374 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13375 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13379 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13381 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13385 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13395 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13396 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13397 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13398 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13401 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13403 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13405 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13407 Moved ...
13408 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13410 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13414 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13416 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13428 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13430 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13432 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13436 Moved ...
13437 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13441 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13443 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13445 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13447 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13449 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13455 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13457 Moved ...
13458 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13460 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13461
039890a6
RM
13462 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13463 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13464 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13465 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13466 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13468 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13470 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13472 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13473 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13474 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13475 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13476 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13477 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13478 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13479 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13480 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13481 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13482 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13484 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13486 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13488 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13490 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13492 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13493
65c89320
RM
13494 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13495 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13496
348f8e8c
RM
13497 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13498 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13499 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13500 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13501 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13502 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13503 Moved ...
13504 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13506 Moved ...
13507 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13509 Moved ...
13510 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13512 Moved ...
13513 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13514 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13515 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13516 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13517 Moved ...
13518 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13519 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13520 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13522 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13523 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13524 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13525 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13526 Moved ...
13527 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13529 Moved ...
13530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13531 ... here.
13532 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13533 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13535 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13537 Moved ...
13538 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13539 ... here.
13540 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13541 Moved ...
13542 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13543 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13544 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13545 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13546 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13547 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13548 Moved ...
13549 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13551 Moved ...
13552 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13554 Moved ...
13555 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13557 Moved ...
13558 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13559 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13560 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13561 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13562 Moved ...
13563 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13564 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13565 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13566 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13567 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13568 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13569 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13571 Moved ...
13572 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13574 Moved ...
13575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13576 ... here.
13577 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13578 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13579 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13580 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13581 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13582 Moved ...
13583 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13584 ... here.
13585 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13586 Moved ...
13587 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13588 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13589 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13590 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13591 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13593 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13594 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13595 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13596 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13597 Moved ...
13598 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13600 Moved ...
13601 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13603 Moved ...
13604 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13606 Moved ...
13607 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13608 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13609 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13610 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13611 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13613 Moved ...
13614 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13615 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13616 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13617 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13618 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13619 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13620 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13621 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13622 Moved ...
13623 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13625 Moved ...
13626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13627 ... here.
13628 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13629 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13630 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13631 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13633 Moved ...
13634 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13635 ... here.
13636 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13637 Moved ...
13638 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13639 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13640 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13641 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13642 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13643 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13644 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13645 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13646 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13647 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13648 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13649
5085af05
RM
13650 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13651 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13652
708f0813
RM
13653 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13654 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13655
c96067bc
RM
13656 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13657 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13658 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13659 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13660 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13662 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13663 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13664 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13666 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13667 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13668 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13669 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13670 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13672 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13674 Moved ...
13675 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13677 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13678 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13679 Moved ...
13680 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13682 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13684 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13688 Moved ...
13689 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13691 Moved ...
13692 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13693 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13694 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13696 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13697 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13698 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13699 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13700 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13701 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13702 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13704 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13706 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13708 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13709
ec136444
RM
13710 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13711 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13712 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13713 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13714 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13715
2fbdf533
RM
13716 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13717 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13719 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13720 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13721 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13722 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13723 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13724 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13725 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13726
4c68138b
RM
13727 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13728 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13729
4eaae765
RM
13730 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13731 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13732 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13733 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13734 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13735 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13736 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13737 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13738 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13739 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13740 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13741 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13742 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13743 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13745 Update #include.
13746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13747 Likewise.
13748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13749 Likewise.
13750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13751 Likewise.
13752 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13753 Likewise.
13754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13755 Likewise.
13756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13757 Likewise.
13758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13759 Likewise.
13760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13761 Likewise.
13762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13763 Likewise.
4ef6befa
RM
13764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13767 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13769 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13770 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13771 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13772 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13774 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13775 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13776 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13777 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13778 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13779
941d7dfd
RM
13780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13781 that was previously under [RESET_PID].
13782 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13783 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13784 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13785
1b731c35
RM
13786 * sysdeps/i386/nptl/Implies: New file.
13787 * sysdeps/x86_64/nptl/Implies: New file.
13788 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13789 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13791 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13792
e2787137
RM
13793 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13794 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13795 (__libc_vfork): New strong alias.
13796 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13797 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13798
13799 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13800 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13801 (__libc_vfork): New strong alias.
13802 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13803 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13804
5675da1e
RM
13805 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13806 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13807 (__libc_vfork): New strong alias.
13808 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13809 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13810 * nptl/pt-vfork.c: New file.
13811 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13812 (libpthread: GLIBC_2.20): New version set (empty).
13813
4f02e2b8
WN
138142014-05-14 Will Newton <will.newton@linaro.org>
13815
13816 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13817 rather than #if.
13818
0bf061d3
JM
138192014-05-14 Joseph Myers <joseph@codesourcery.com>
13820
1a84c3d6
JM
13821 [BZ #16564]
13822 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13823 arguments with exponent 65 or above.
13824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13825 arguments 0x1p113L or above.
13826 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13827 to arguments 0x1p107L or above.
13828 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13829 positive arguments with exponent 65 or above.
13830 * math/auto-libm-test-in: Add more tests of log1p.
13831 * math/auto-libm-test-out: Regenerated.
13832
01dbacd2
JM
13833 [BZ #16928]
13834 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13835 non-finite arguments is +0.
13836 * math/s_cacosf.c (__cacosf): Likewise.
13837 * math/s_cacosl.c (__cacosl): Likewise.
13838 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13839 * sysdeps/i386/fpu/libm-test-ulps: Update.
13840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13841
913d03c8
JM
13842 [BZ #16927]
13843 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13844 value.
13845 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13846 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13847 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13848 for explicit high bit of mantissa when testing for argument equal
13849 to 1.
13850 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13853
0bf061d3
JM
13854 [BZ #16516]
13855 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13856 (__erf): Scale by 16 instead of 8 in potentially underflowing
13857 case. Ensure exception if result actually underflows.
13858 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13859 (__erff): Scale by 16 instead of 8 in potentially underflowing
13860 case. Ensure exception if result actually underflows.
13861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13862 (efx8): Remove variable.
13863 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13864 case. Ensure exception if result actually underflows.
13865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13866 (efx8): Remove variable.
13867 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13868 case. Ensure exception if result actually underflows.
13869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13870 (efx8): Remove variable.
13871 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13872 case. Ensure exception if result actually underflows.
13873 * math/auto-libm-test-in: Add more tests of erf.
13874 * math/auto-libm-test-out: Regenerated.
13875
73ba67cb
AS
138762014-05-14 Andreas Schwab <schwab@suse.de>
13877
3d8c8bff
AS
13878 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13879 Remove code conditionalized on USE___THREAD.
13880
73ba67cb
AS
13881 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13882 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13883 not definedness.
13884
5c521ecd
JM
138852014-05-14 Joseph Myers <joseph@codesourcery.com>
13886
5e7698c6
JM
13887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13888 Define unconditionally.
13889 (__ASSUME_O_CLOEXEC): Likewise.
13890 (__ASSUME_SOCK_CLOEXEC): Likewise.
13891 (__ASSUME_IN_NONBLOCK): Likewise.
13892 (__ASSUME_PIPE2): Likewise.
13893 (__ASSUME_EVENTFD2): Likewise.
13894 (__ASSUME_SIGNALFD4): Likewise.
13895 (__ASSUME_DUP3): Likewise.
13896 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13897 (__ASSUME_DUP3): Do not define.
13898 (__ASSUME_EVENTFD2): Likewise.
13899 (__ASSUME_IN_NONBLOCK): Likewise.
13900 (__ASSUME_O_CLOEXEC): Likewise.
13901 (__ASSUME_PIPE2): Likewise.
13902 (__ASSUME_SIGNALFD4): Likewise.
13903 (__ASSUME_SOCK_CLOEXEC): Likewise.
13904 (__ASSUME_UTIMES): Undefine.
13905 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13906 (__ASSUME_UTIMES): Do not define.
13907 (__ASSUME_O_CLOEXEC): Likewise.
13908 (__ASSUME_SOCK_CLOEXEC): Likewise.
13909 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13910 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13911 0x020621].
13912 (__ASSUME_PIPE2): Likewise.
13913 (__ASSUME_EVENTFD2): Likewise.
13914 (__ASSUME_SIGNALFD4): Likewise.
13915 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13916 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13917 Do not define.
13918 (__ASSUME_EVENTFD2): Likewise.
13919 (__ASSUME_SIGNALFD4): Likewise.
13920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13921 (__ASSUME_32BITUIDS): Likewise.
13922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13923 (__ASSUME_IPC64): Likewise.
13924 (__ASSUME_ST_INO_64_BIT): Likewise.
13925 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13926 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13928 (__ASSUME_UTIMES): Do not define.
13929 (__ASSUME_PSELECT): Likewise.
13930 (__ASSUME_PPOLL): Likewise.
13931 (__ASSUME_O_CLOEXEC): Likewise.
13932 (__ASSUME_SOCK_CLOEXEC): Likewise.
13933 (__ASSUME_IN_NONBLOCK): Likewise.
13934 (__ASSUME_PIPE2): Likewise.
13935 (__ASSUME_EVENTFD2): Likewise.
13936 (__ASSUME_SIGNALFD4): Likewise.
13937 (__ASSUME_DUP3): Likewise.
13938 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13939 (__ASSUME_UTIMES): Likewise.
13940 (__ASSUME_O_CLOEXEC): Likewise.
13941 (__ASSUME_SOCK_CLOEXEC): Likewise.
13942 (__ASSUME_IN_NONBLOCK): Likewise.
13943 (__ASSUME_PIPE2): Likewise.
13944 (__ASSUME_EVENTFD2): Likewise.
13945 (__ASSUME_SIGNALFD4): Likewise.
13946 (__ASSUME_DUP3): Likewise.
13947 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13948 (__ASSUME_UTIMES): Likewise.
13949 (__ASSUME_O_CLOEXEC): Likewise.
13950 (__ASSUME_SOCK_CLOEXEC): Likewise.
13951 (__ASSUME_IN_NONBLOCK): Likewise.
13952 (__ASSUME_PIPE2): Likewise.
13953 (__ASSUME_EVENTFD2): Likewise.
13954 (__ASSUME_SIGNALFD4): Likewise.
13955 (__ASSUME_DUP3): Likewise.
13956 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13957 Likewise.
13958 (__ASSUME_UTIMES): Likewise.
13959 (__ASSUME_EVENTFD2): Likewise.
13960 (__ASSUME_SIGNALFD4): Likewise.
13961 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13962 (__ASSUME_O_CLOEXEC): Likewise.
13963 (__ASSUME_SOCK_CLOEXEC): Likewise.
13964 (__ASSUME_IN_NONBLOCK): Likewise.
13965 (__ASSUME_PIPE2): Likewise.
13966 (__ASSUME_EVENTFD2): Likewise.
13967 (__ASSUME_SIGNALFD4): Likewise.
13968 (__ASSUME_DUP3): Likewise.
13969 (__ASSUME_UTIMES): Undefine.
13970
5c521ecd
JM
13971 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13972 feclearexcept. Remove symbol versioning code.
13973 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13974 symbol versioning code.
13975 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13976 symbol versioning code.
13977 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13978 feupdateenv. Remove symbol versioning code.
13979 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13980 fegetexceptflag. Remove symbol versioning code.
13981 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13982 fesetexceptflag. Remove symbol versioning code.
13983 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13984 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13985 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13986 (__posix_fadvise64_l32): Remove prototype.
13987 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13988 code.
13989
5da9dfad
RM
139902014-05-13 Roland McGrath <roland@hack.frob.com>
13991
13992 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13993 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13994 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13995 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13996
893b4f37
SK
139972014-05-13 Sami Kerola <kerolasa@iki.fi>
13998
13999 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14000 current working directory
14001
e0db6517
RM
140022014-05-13 Roland McGrath <roland@hack.frob.com>
14003
58aa195d
RM
14004 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14005 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14006 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14007 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14008 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14009 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14010 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14011 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14013 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14014 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14015 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14016 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14017 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14018 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14019 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14020 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14021 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14022 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14023 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14024 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14025 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14026 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14027 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14028 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14029 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14030 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14031 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14032 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14033 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14034 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14035 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14036 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14037 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14038 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14039 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14040 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14042 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14043 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14044 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14045 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14046
8c6d01f0
RM
14047 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14048 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14049
14050 * sysdeps/unix/sysv/linux/arm/Makefile
14051 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14052 Add rt-aeabi_unwind_cpp_pr1.
14053 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14054 Add nptl-aeabi_unwind_cpp_pr1.
14055 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14056 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14057 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14058 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14059 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14060 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14061
14062 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14063 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14064 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14065 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14066
bba6da4e
RM
14067 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14068 Deconditionalize the code that was previously under [RESET_PID].
14069 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14070
e0db6517
RM
14071 * sysdeps/generic/exit-thread.h: New file.
14072 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14073 * include/unistd.h (__exit_thread): Remove declaration.
14074 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14075 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14076 * csu/libc-start.c: Include <exit-thread.h>.
14077 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14078 * nptl/pthread_create.c: Include <exit-thread.h>.
14079 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14080 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14081 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14082 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14083 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14084 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14085 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14086 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14087 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14088 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14089 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14090 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14091 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14092 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14093 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14094 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14095 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14096
01eb16fd
AS
140972014-05-13 Andreas Schwab <schwab@suse.de>
14098
14099 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14100
637461d9
JM
141012014-05-12 Joseph Myers <joseph@codesourcery.com>
14102
14103 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14104 (__ASSUME_UTIMES): Do not condition on kernel version.
14105 (__ASSUME_PSELECT): Define unconditionally.
14106 (__ASSUME_PPOLL): Likewise.
14107 (__ASSUME_ATFCTS): Likewise.
14108 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14109 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14110 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14111 (__ASSUME_UTIMENSAT): Define unconditionally.
14112 (__ASSUME_PRIVATE_FUTEX): Likewise.
14113 (__ASSUME_FALLOCATE): Likewise.
14114 (__ASSUME_O_CLOEXEC): Likewise.
14115 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14116 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14117 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14118 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14119 (__ASSUME_IN_NONBLOCK): Likewise.
14120 (__ASSUME_PIPE2): Likewise.
14121 (__ASSUME_EVENTFD2): Likewise.
14122 (__ASSUME_SIGNALFD4): Likewise.
14123 (__ASSUME_DUP3): Likewise.
14124 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14125 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14126 (__ASSUME_AT_RANDOM): Likewise.
14127 (__ASSUME_PREADV): Likewise.
14128 (__ASSUME_PWRITEV): Likewise.
14129 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14130 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14131 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14132 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14133 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14134 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14135 (__ASSUME_O_CLOEXEC): Define unconditionally.
14136 (__ASSUME_PSELECT): Do not undefine conditionally.
14137 (__ASSUME_PPOLL): Likewise.
14138 (__ASSUME_ATFCTS): Likewise.
14139 (__ASSUME_SET_ROBUST_LIST): Likewise.
14140 (__ASSUME_UTIMENSAT): Likewise.
14141 (__ASSUME_FDATASYNC): Define unconditionally.
14142 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14143 (__ASSUME_SIGFRAME_V2): Likewise.
14144 )__ASSUME_EVENTFD2): Likewise.
14145 (__ASSUME_SIGNALFD4): Likewise.
14146 (__ASSUME_PSELECT): Do not undefine conditionally.
14147 (__ASSUME_PPOLL): Likewise.
14148 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14149 (__ASSUME_PSELECT): Define unconditionally.
14150 (__ASSUME_PPOLL): Likewise.
14151 (__ASSUME_O_CLOEXEC): Likewise.
14152 (__ASSUME_SOCK_CLOEXEC): Likewise.
14153 (__ASSUME_IN_NONBLOCK): Likewise.
14154 (__ASSUME_PIPE2): Likewise.
14155 (__ASSUME_EVENTFD2): Likewise.
14156 (__ASSUME_SIGNALFD4): Likewise.
14157 (__ASSUME_DUP3): Likewise.
14158 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14159 (__ASSUME_O_CLOEXEC): Likewise.
14160 (__ASSUME_SOCK_CLOEXEC): Likewise.
14161 (__ASSUME_IN_NONBLOCK): Likewise.
14162 (__ASSUME_PIPE2): Likewise.
14163 (__ASSUME_EVENTFD2): Likewise.
14164 (__ASSUME_SIGNALFD4): Likewise.
14165 (__ASSUME_DUP3): Likewise.
14166 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14167 (__ASSUME_EVENTFD2): Likewise.
14168 (__ASSUME_SIGNALFD4): Likewise.
14169 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14170
315eb1d8
AS
141712014-05-12 Andreas Schwab <schwab@suse.de>
14172
14173 [BZ #16932]
14174 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14175 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14176 than maximum RPC packet size.
14177 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14178 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14179 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14180 (_nss_nis_getservbyport_r): Likewise.
14181
91df99f7
WN
141822014-05-12 Will Newton <will.newton@linaro.org>
14183
14184 * malloc/Makefile (tests): Add tst-mallopt.
14185 * malloc/tst-mallopt.c: New file.
14186
0a982a29
RM
141872014-05-09 Roland McGrath <roland@hack.frob.com>
14188
14189 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14190 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14191
0ded08a5
AZ
141922014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14193
14194 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14195 (tst-tlsmod6.so): Likewise.
14196
55d4d550
RM
141972014-05-09 Roland McGrath <roland@hack.frob.com>
14198
14199 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14200
77d08aca
JM
142012014-05-09 Joseph Myers <joseph@codesourcery.com>
14202
14203 [BZ #16064]
14204 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14205 and <dl-procinfo.h>.
14206 (__fegetenv): Save SSE state in envp->__eip if supported.
14207 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14208 envp->__eip if supported.
14209 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14210 and <dl-procinfo.h>.
14211 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14212 __data_offset and __data_selector in environment to 0. Set SSE
14213 state if supported.
14214 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14215 test-fenv-sse.
14216 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14217 -mfpmath=sse.
14218 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14219
28162f4d
WN
142202014-05-09 Will Newton <will.newton@linaro.org>
14221
14222 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14223 and libc_relro_required for ARM.
14224 * sysdeps/arm/preconfigure: Regenerate.
14225
5a414ff7
DV
142262014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14227 Stefan Liebler <stli@linux.vnet.ibm.com>
14228
14229 * config.make.in (enable-lock-elision): New Makefile variable.
14230 * configure.ac: Likewise.
14231 * configure: Regenerate.
14232 * sysdeps/s390/configure.ac:
14233 Add check for gcc transactions support.
14234 * sysdeps/s390/configure: Regenerate.
14235 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14236 Build elision files if enabled.
14237 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14238 Add lock elision support for s390.
14239 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14240 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14241 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14242 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14243 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14244 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14245 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14246 Likewise.
14247 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14248 Likewise.
14249 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14250 Likewise.
14251 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14252 Likewise.
14253 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14254 (__lll_timedlock_elision, __lll_lock_elision)
14255 (__lll_unlock_elision, __lll_trylock_elision)
14256 (lll_timedlock_elision, lll_lock_elision)
14257 (lll_unlock_elision, lll_trylock_elision): Add.
14258 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14259 (pthread_mutex_t): Add lock elision support for s390.
14260
1a2f40e5
W
142612014-05-14 Wilco <wdijkstr@arm.com>
14262
14263 * sysdeps/arm/fclrexcpt.c: Cleanup.
14264 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14265 * sysdeps/arm/feenablxcpt.c: Cleanup.
14266 * sysdeps/arm/fegetenv.c: Cleanup.
14267 * sysdeps/arm/fegetexcept.c: Cleanup.
14268 * sysdeps/arm/fegetround.c: Cleanup.
14269 * sysdeps/arm/feholdexcpt.c: Cleanup.
14270 * sysdeps/arm/fesetenv.c: Cleanup.
14271 * sysdeps/arm/fesetround.c: Cleanup.
14272 * sysdeps/arm/feupdateenv.c: Cleanup.
14273 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14274 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14275 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14276 * sysdeps/arm/ftestexcept.c: Cleanup.
14277 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14278 * sysdeps/arm/setfpucw.c: Cleanup.
14279
f63c86fe
WN
142802014-05-09 Will Newton <will.newton@linaro.org>
14281
14282 * sysdeps/arm/armv7/strcmp.S: New file.
14283 * NEWS: Mention addition of ARMv7 optimized strcmp.
14284
7a1a51b5
RM
142852014-05-08 Roland McGrath <roland@hack.frob.com>
14286
95afbbe5
RM
14287 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14288 look for %.ac rather than %.in.
14289
14290 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14291 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14292 * sysdeps/mach/hurd/configure: Regenerated.
14293 * sysdeps/unix/sysv/linux/configure: Regenerated.
14294
7a1a51b5
RM
14295 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14296
5057ad3b
SE
142972014-05-07 Steve Ellcey <sellcey@mips.com>
14298
14299 [BZ# 16922]
14300 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14301 (LONG_SUB): Ditto.
14302 (PTR_SUB): Ditto.
14303
8dc97517
AS
143042014-05-07 Andreas Schwab <schwab@suse.de>
14305
14306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14307 when skipping over non-matching result from nscd.
14308
ce0c5b8f
OB
143092014-05-07 Ondřej Bílka <neleai@seznam.cz>
14310
14311 [BZ #16876]
14312 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14313
a1189263
OB
14314 [BZ #16877]
14315 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14316 nscd security class.
ce0c5b8f 14317
0f58d252
RM
143182014-05-06 Roland McGrath <roland@hack.frob.com>
14319
14320 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14321 * sysdeps/arm/unwind.h: ... here.
14322
83df9ad0
AJ
143232014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14324
ce0c5b8f
OB
14325 [BZ# 16916]
14326 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14327 Define.
83df9ad0 14328
f360f94a
VR
143292014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14330
14331 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14332 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14333 multiarch strncpy for PPC64.
14334 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14335 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14337 multiarch optimizations.
14338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14339 (__libc_ifunc_impl_list): Likewise.
14340 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14341 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14342 multiarch stpncpy for PPC64.
14343 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14344 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14345
978a41c3
AS
143462014-05-06 Andreas Schwab <schwab@suse.de>
14347
14348 [BZ #16912]
14349 * gmon/mcount.c (_MCOUNT_DECL): Use
14350 atomic_compare_and_exchange_bool_acq instead of
14351 catomic_compare_and_exchange_bool_acq.
14352
eb1ed03d
RM
143532014-05-05 Roland McGrath <roland@hack.frob.com>
14354
fe658845
RM
14355 * elf/Makefile (others, install-bin): Remove pldd.
14356 (pldd-modules): Variable removed.
14357 ($(objpfx)pldd): Target removed.
14358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14359 (others, install-bin): Append pldd here.
14360 ($(objpfx)pldd): New target.
14361
eb1ed03d
RM
14362 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14363 to 0, so the first #if test emitted later doesn't see it undefined.
14364 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14365 * sysdeps/gnu/errlist.c: Regenerated.
14366
19c4bec0
AZ
143672014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14368
14369 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14370 [libc_hidden_builtin_def]: Define to empty value.
14371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14372 [libc_hidden_builtin_def]: Likewise.
14373 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14374 [libc_hidden_builtin_def]: Likewise.
14375 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14376 [libc_hidden_builtin_def]: Likewise.
14377 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14378 __redirect_memcpy and define ifunc as default hidden symbol.
14379 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14380 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14381
7776e669
AC
143822014-05-04 Adam Conrad <adconrad@0c3.net>
14383
14384 * locale/iso-4217.def: Reintroduce XDR currency.
14385
d69aeb12
AM
143862014-05-04 Allan McRae <allan@archlinux.org>
14387
14388 * po/eo.po: Update Esperanto translation from translation project.
14389
8f1df5cf
CD
143902014-05-02 Carlos O'Donell <carlos@redhat.com>
14391
14392 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14393 and FEATURE_INDEX_MAX to 1.
14394 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14395
13e402e7
SE
143962014-05-01 Steve Ellcey <sellcey@mips.com>
14397
14398 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14399 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14400 * iconvdata/big5.c (ONE_DIRECTION): Define.
14401 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14402 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14403 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14404 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14405 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14406 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14407 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14408 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14409 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14410 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14411 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14412 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14413 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14414 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14415 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14416 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14417 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14418 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14419 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14420 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14421 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14422 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14423 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14424 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14425 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14426 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14427 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14428 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14429 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14430 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14431 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14432 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14433 * iconvdata/johab.c (ONE_DIRECTION): Define.
14434 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14435 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14436 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14437 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14438 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14439 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14440 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14441 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14442 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14443 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14444
c727f032
RM
144452014-05-01 Roland McGrath <roland@hack.frob.com>
14446
8f2f08d0
RM
14447 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14448 (_IO_JUMPS_OFFSET): Define to 0.
14449
c727f032
RM
14450 * nptl/sysdeps/pthread/bits/libc-lock.h
14451 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14452 (__libc_lock_define_initialized_recursive): Always define using
14453 initializer. Modern compilers treat uninitialized (implicit zero) and
14454 explicit zero initializers the same (i.e. put the datum in bss).
14455
a849e800
AS
144562014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14457
14458 * nscd/nscd-client.h: Include <string.h>.
14459
5331255b
DM
144602014-05-01 David S. Miller <davem@davemloft.net>
14461
14462 [BZ #16885]
14463 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14464 multiple zero bytes exist at the end of a string.
14465 Reported by Aurelien Jarno <aurelien@aurel32.net>
14466
14467 * string/test-strcmp.c (check): Add explicit test for situations where
14468 there are multiple zero bytes after the first.
14469
4fdfe821
AS
144702014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14471
14472 [BZ #16890]
14473 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14474 when compiling wprintf.
14475 * stdio-common/tstdiomisc.c (t3): New function.
14476 (main): Call it.
14477
0cdddc25
SE
144782014-05-01 Steve Ellcey <sellcey@mips.com>
14479
14480 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14481 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14482 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14483 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14484
6426d77e
SE
144852014-05-01 Steve Ellcey <sellcey@mips.com>
14486
14487 * stdlib/longlong.h: Updated from GCC.
14488
6d96f5e4
WN
144892014-05-01 Will Newton <will.newton@linaro.org>
14490 Bernard Ogden <bernie.ogden@linaro.org>
14491
7470db0c
WN
14492 * NEWS: Update fixed bug list.
14493
6d96f5e4
WN
14494 [BZ #15119]
14495 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14496
211d653c
DM
144972014-04-30 David S. Miller <davem@davemloft.net>
14498
4fa262fa
DM
14499 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14500 (libc_feholdexcept_setround_sparc_ctx): New function.
14501 (libc_fesetenv_sparc_ctx): Likewise.
14502 (libc_feupdateenv_sparc_ctx): Likewise.
14503 (libc_feholdsetround_sparc_ctx): Likewise.
14504 (libc_feholdexcept_setround_ctx): Define.
14505 (libc_feholdexcept_setroundf_ctx): Likewise.
14506 (libc_feholdexcept_setroundl_ctx): Likewise.
14507 (libc_fesetenv_ctx): Likewise.
14508 (libc_fesetenvf_ctx): Likewise.
14509 (libc_fesetenvl_ctx): Likewise.
14510 (libc_feupdateenv_ctx): Likewise.
14511 (libc_feupdateenvf_ctx): Likewise.
14512 (libc_feupdateenvl_ctx): Likewise.
14513 (libc_feresetround_ctx): Likewise.
14514 (libc_feresetroundf_ctx): Likewise.
14515 (libc_feresetroundl_ctx): Likewise.
14516 (libc_feholdsetround_ctx): Likewise.
14517 (libc_feholdsetroundf_ctx): Likewise.
14518 (libc_feholdsetroundl_ctx): Likewise.
14519
1d3d93ef
DM
14520 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14521 with __USE_GNU instead of XOPEN cpp guards.
14522
8aa583c3
DM
14523 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14524 0.
14525
211d653c
DM
14526 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14527 with XOPEN cpp guards.
14528
60c8f1f6
JB
145292014-04-30 Julian Brown <julian@codesourcery.com>
14530
14531 [BZ #16888]
14532 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14533 handling.
14534
9a461d46
JM
145352014-04-30 Joseph Myers <joseph@codesourcery.com>
14536
d0f5b3f8
JM
14537 [BZ #9894]
14538 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14539 Change to 2.6.32.
14540 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14541 * sysdeps/unix/sysv/linux/configure: Regenerated.
14542 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14543 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14544 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14545 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14546 * README: Update reference to required Linux kernel version.
14547 * manual/install.texi (Linux): Update reference to required Linux
14548 kernel headers version.
14549 * INSTALL: Regenerated.
14550
9a461d46
JM
14551 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14552 header inclusion.
14553 [POSIX] (limits.h): Likewise.
14554 [POSIX] (math.h): Likewise.
14555 [POSIX] (sys/wait.h): Likewise.
14556 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14557 function.
14558 [POSIX] (stddef.h): Do not allow header inclusion.
14559
1775babf
AZ
145602014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14561
57f41c40 14562 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14563
8f630cca
YY
145642014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14565
14566 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14567 Return immediately after lll_futex_wake.
14568
1cdeb237
SP
145692014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14570
bc8f194c
SP
14571 [BZ #16791]
14572 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14573 structure.
14574 (datahead_init_pos): Call datahead_init_common early.
14575 (datahead_init_neg): Likewise.
14576
1cdeb237
SP
14577 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14578 datahead_init_neg): New functions.
14579 * nscd/aicache.c (addhstaiX): Use them.
14580 * nscd/grpcache.c (cache_addgr): Likewise.
14581 * nscd/hstcache.c (cache_addhst): Likewise.
14582 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14583 * nscd/netgroupcache.c (do_notfound): Likewise.
14584 (addgetnetgrentX): Likewise.
14585 (addinnetgrX): Likewise.
14586 * nscd/pwdcache.c (cache_addpw): Likewise.
14587 * nscd/servicescache.c (cache_addserv): Likewise.
14588
16b293a7
SP
145892014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14590 Atsushi Onoe <atsushi@onoe.org>
14591
14592 [BZ #14308]
14593 [BZ #12994]
14594 [BZ #13651]
14595 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14596 one response is valid.
14597 * resolv/res_send.c (send_dg): Check for validity of other
14598 response if the current response is a referral.
14599
a28a9b94
SE
146002014-04-29 Steve Ellcey <sellcey@mips.com>
14601
14602 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14603
2ca180e9
SL
146042014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14605
14606 [BZ #16823]
14607 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14608 Always divide by positive zero when computing -Inf result.
14609 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14610 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14611
18f2945a
AZ
146122014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14613
14614 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14615 FPSCR if value do not change.
14616 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14617 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14618 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14619 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14620 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14621 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14622 function.
14623
5abebba4
CD
146242014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14625
14626 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14627 * sysdeps/unix/sysv/linux/hppa: Move directory from
14628 ports/systeps/unix/sysv/linux/hppa.
14629 * README: Update listing for hppa-*-linux-gnu.
14630
f7ed60c2
OB
146312014-04-28 Ondřej Bílka <neleai@seznam.cz>
14632
fff763a5
OB
14633 [BZ #16754]
14634 * manual/stdio.texi (Hook functions): Fix types of stream hook
14635 functions.
f7ed60c2
OB
14636 [BZ #16854]
14637 * socket/sys/socket.h: Fix typo in comment.
14638
df639d73
WD
146392014-04-28 Wilco <wdijkstr@arm.com>
14640
f7ed60c2 14641 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14642 * sysdeps/arm/math_private.h: New file.
14643 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14644
48332d82
L
146452014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14648 with __int128_t.
14649 (La_x86_64_retval): Likewise.
14650
e5e0d9a4
IB
146512014-04-24 Ian Bolton <ian.bolton@arm.com>
14652
14653 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14654 fpsr if value didn't change.
14655 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14656 to fpcr if value didn't change.
14657 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14658 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14659 fpsr or fpcr if value didn't change.
14660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14661 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14662 fpcr if value didn't change.
14663 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14664 to fpsr if value didn't change.
14665
bacc75f7
SP
146662014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14667
14668 * nptl/tst-sem3.c: Use test-skeleton.c
14669 (main): Rename to do_test. Use return instead of
14670 exit.
14671 * nptl/tst-sem4.c: Use test-skeleton.c
14672 (main): Rename to do_test.
14673
a059d359
DM
146742014-04-22 David S. Miller <davem@davemloft.net>
14675
14676 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14677 (struct sigaction): New struct member __glibc_reserved0, change
14678 type of sa_flags to int.
14679
ea6c92f3
YZ
146802014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14681
14682 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14683 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14684
766c4a36
SP
146852014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14686
14687 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14688 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14689
140cc7ab
VK
146902014-04-22 Will Newton <will.newton@linaro.org>
14691 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14692
14693 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14694 (__longjmp): Add longjmp and longjmp_target SystemTap
14695 probes.
14696 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14697 (__sigsetjmp): Add setjmp SystemTap probe.
14698
c54e5cf7
CD
146992014-04-17 Carlos O'Donell <carlos@redhat.com>
14700
14701 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14702 match manual order.
14703
75ffb047
AZ
147042014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14705
14706 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14707
2cd925f7
AZ
14708 * sysdeps/powerpc/fpu/fenv_private.h
14709 (libc_feholdexcept_setroundl_ctx): Define to
14710 libc_feholdexcept_setround_ppc_ctx.
14711 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14712 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14713 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14714 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14715
39e6cd8d
IB
147162014-04-17 Ian Bolton <ian.bolton@arm.com>
14717
14718 * sysdeps/aarch64/math-tests.h: New file.
14719
f9281df9
SY
147202014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14721
14722 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14723 New.
14724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14725 Check and set bit_AVX2_Usable.
14726 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14727 macro.
14728 (bit_AVX2): Likewise.
14729 (index_AVX2_Usable): Likewise.
14730 (CPUID_AVX2): Likewise.
14731 (HAS_AVX2): Likewise.
14732
37d35007
WN
147332014-04-17 Will Newton <will.newton@linaro.org>
14734
7c677662
WN
14735 * manual/setjmp.texi (System V contexts): Add note that
14736 calling setcontext on a context created by a call to a
14737 signal handler is undefined. Update text to note that
14738 setcontext from a signal handler is possible but not
14739 recommended.
14740
37d35007 14741 [BZ #16629]
e04a4e9d
WN
14742 * stdlib/tst-setcontext.c: Include signal.h.
14743 (main): Check that the signal stack before and
14744 after swapcontext is the same.
14745
37d35007
WN
14746 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14747 Re-implement to restore registers in user code and avoid
14748 rt_sigreturn system call.
14749
423a7160
W
147502014-04-17 Wilco <wdijkstr@arm.com>
14751
14752 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14753 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14754 * math/test-fenv.c: Skip exception trap tests on targets which only
14755 support non-stop mode.
14756
bc93ab29
IB
147572014-04-17 Ian Bolton <ian.bolton@arm.com>
14758 Wilco Dijkstra <wilco.dijkstra@arm.com>
14759
14760 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14761 (libc_feholdsetround_aarch64_ctx)
14762 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14763 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14764 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14765 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14766 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14767 (libc_feresetround_noexl_ctx): Define.
14768
95fc5fa3
RH
147692014-04-16 Richard Henderson <rth@redhat.com>
14770
ddb04724
RH
14771 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14772
d77c0899
RH
14773 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14774 unwind tables.
14775
a3df56fc
RH
14776 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14777 const from the non-libc, non-ldso copy.
14778
95fc5fa3
RH
14779 * sysdeps/alpha/libm-test-ulps: Regenerate.
14780
7e0b6763
IB
147812014-04-16 Ian Bolton <ian.bolton@arm.com>
14782 Wilco Dijkstra <wilco.dijkstra@arm.com>
14783
14784 * sysdeps/aarch64/fpu/math_private.h: New file.
14785
a9ea2e0c
MS
147862014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14787
14788 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14789
ea8ba7cd
IZ
147902014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14791
7e54fd04 14792 [BZ #16275]
ea8ba7cd
IZ
14793 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14794 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14796 Intel MPX bound registers before _dl_profile_fixup.
14797 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14798 registers after _dl_profile_fixup. Save and restore bound
14799 registers bnd0/bnd1 when calling _dl_call_pltexit.
14800 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14801 (LR_BND_OFFSET): Likewise.
14802 (LRV_BND0_OFFSET): Likewise.
14803 (LRV_BND1_OFFSET): Likewise.
14804
9f2a4fbc
ST
148052014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14806
14807 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14808 to...
14809 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14810 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14811 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14812 fields.
9f2a4fbc 14813
fd15a59b
ST
148142014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14815
14816 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14817
f19dfa0a
SL
148182014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14819
14820 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14821
4fa8bc3b
SL
148222014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14823
14824 [BZ #14770]
14825 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14826 * sysdeps/s390/configure: Regenerate.
14827
8ea587db
SL
14828 [BZ #16824]
14829 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14830 Set round-to-nearest internally to reduce error accumulation.
14831
aa5f0ff1
AM
148322014-04-16 Alan Modra <amodra@gmail.com>
14833
14834 [BZ #16740]
14835 [BZ #16619]
14836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14837 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14838 * NEWS: Update fixed bug list.
aa5f0ff1 14839
bb9c256f
SP
148402014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14841
14842 * benchtests/Makefile: Depend on libraries in build directory.
14843 (bench-math): Separate out math tests.
14844 (bench-pthread): Separate out pthread tests.
14845 (bench): Include math and pthread tests.
14846
f737dfd0
CD
148472014-04-14 Carlos O'Donell <carlos@redhat.com>
14848
14849 [BZ #16831]
14850 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14851 _dl_debug_initialize.
14852
0699f766
CD
14853 * configure.ac: Remove SELinux header check.
14854 * configure: Regenerate.
14855 * nscd/selinux.c (perms): Array of const char* to permission names.
14856 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14857 default policy. Call string_to_security_class and string_to_av_perm to
14858 translate strings. Enforce default policy and call avs_has_perm with
14859 results of translated strings.
14860
809bd45f
DM
148612014-04-13 David S. Miller <davem@davemloft.net>
14862
14863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14864
89e691f2
AM
148652014-04-12 Allan McRae <allan@archlinux.org>
14866
14867 [BZ #16838]
14868 * manual/string.texi (Collation Functions): Fix qsort argument
14869 order in example.
14870 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14871
9c9daaeb
CM
148722014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14873
14874 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14875 Make the test a no-op if there are no exceptions defined.
14876
95561fb9
PP
148772014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14878
fe8d072c 14879 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14880 enable-hardcoded-path-in-tests
14881
970c602a
WN
148822014-04-11 Will Newton <will.newton@linaro.org>
14883
14884 * benchtests/Makefile (extra-objs): Add json-lib.o.
14885 (bench-func): Tidy up JSON output.
14886 * benchtests/bench-skeleton.c: Include json-lib.h.
14887 (main): Use JSON library functions to do output of
14888 benchmark results.
14889 * benchtests/bench-timing-type.c (main): Output the
14890 timing type simply, leaving formatting to the user.
14891 * benchtests/json-lib.c: New file.
14892 * benchtests/json-lib.h: Likewise.
14893
36875b06
TR
148942014-04-11 Torvald Riegel <triegel@redhat.com>
14895
14896 [BZ #15215]
14897 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14898 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14899 memory barriers. Add comments.
14900 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14901 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14902 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14903 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14904 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14905 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14906
579db35a
SL
149072014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14908
14909 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14910 * sysdeps/s390/s390-64/configure.ac: ... this ...
14911 * sysdeps/s390/configure.ac: ... to here.
14912 * sysdeps/s390/s390-32/configure: Delete file.
14913 * sysdeps/s390/s390-64/configure: Delete file.
14914 * sysdeps/s390/configure: Regenerate.
14915
c12e9f37
JAPH
149162014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14917
14918 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14919
439bda32
WN
149202014-04-11 Will Newton <will.newton@linaro.org>
14921
14922 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14923 to zero if it is not defined elsewhere. (mtrim): Test
14924 the value of MALLOC_DEBUG with #if rather than #ifdef.
14925
6a5d6ea1
TR
149262014-04-10 Torvald Riegel <triegel@redhat.com>
14927
14928 * benchtests/pthread_once-inputs: New file.
14929 * benchtests/pthread_once-source.c: New file.
14930 * benchtests/README: Update documentation.
14931
a4c75cfd
IZ
149322014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14933 H.J. Lu <hongjiu.lu@intel.com>
14934
7e54fd04 14935 [BZ #16275]
a4c75cfd
IZ
14936 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14937 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14938 * sysdeps/x86_64/configure: Regenerated.
14939 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14940 macro.
14941 (REGISTER_SAVE_RAX): Likewise.
14942 (REGISTER_SAVE_RCX): Likewise.
14943 (REGISTER_SAVE_RDX): Likewise.
14944 (REGISTER_SAVE_RSI): Likewise.
14945 (REGISTER_SAVE_RDI): Likewise.
14946 (REGISTER_SAVE_R8): Likewise.
14947 (REGISTER_SAVE_R9): Likewise.
14948 (REGISTER_SAVE_BND0): Likewise.
14949 (REGISTER_SAVE_BND1): Likewise.
14950 (REGISTER_SAVE_BND2): Likewise.
14951 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14952 bound registers when calling _dl_fixup.
14953
27822ce6
AZ
149542014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14955
14956 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14957 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14958 of its definition.
27822ce6
AZ
14959 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14960 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14961 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14962 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14963 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14964 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14965 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14966
a88ddc90
PTB
149672014-04-09 Peter Brett <peter@peter-b.co.uk>
14968
14969 [BZ #15514]
14970 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14971 pathconf(_PC_NAME_MAX).
14972
01f8eac2
AZ
149732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14974
14975 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14976 Remove macro usage.
14977 (__PTHREAD_SPINS): Move definition to ...
14978 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14979 (__PTHREAD_SPINS): ... here.
14980 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14981 (__PTHREAD_SPIN): Likewise.
14982 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14983 (__PTHREAD_SPIN): Likewise.
14984 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14985 (__PTHREAD_SPIN): Likewise.
14986 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14987 (__PTHREAD_SPIN): Likewise.
14988 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14989 (__PTHREAD_SPIN): Likewise.
14990 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14991 (__PTHREAD_SPIN): Likewise.
14992 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14993 (__PTHREAD_SPIN): Likewise.
14994 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14995 (__PTHREAD_SPIN): Likewise.
14996 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14997 (__PTHREAD_SPIN): Likewise.
14998 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14999 (__PTHREAD_SPIN): Likewise.
15000 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15001 (__PTHREAD_SPIN): Likewise.
15002 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15003 (__PTHREAD_SPIN): Likewise.
15004
de21c33c
AZ
15005 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15006 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15007 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15008 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15009 imply folder.
15010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15011 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15012 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15013 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15014 correct imply path.
15015 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15016 strlen symbol for non multi-arch builds.
15017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15018 missing hidden_def and weak_alias.
15019
862c472e
CD
150202014-04-08 Carlos O'Donell <carlos@redhat.com>
15021
15022 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15023
8667f90e
WN
150242014-04-07 Will Newton <will.newton@linaro.org>
15025
15026 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15027 and contents. [!_LIBC] Remove #ifndef and contents.
15028 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15029 * string/memccpy.c (__memccpy): Use ANSI prototype.
15030 * string/memfrob.c (memfrob): Likewise.
15031 * string/strcoll.c (STRCOLL): Likewise.
15032 * string/strlen.c (strlen): Likewise.
15033 * string/strtok.c (STRTOK): Likewise.
15034 * string/strcat.c: Remove unused #include of memcopy.h.
15035 (strcat): Use ANSI prototype.
15036 * string/strchr.c: Remove unused #include of memcopy.h.
15037 (strchr): Use ANSI prototype.
15038 * string/strcmp.c: Remove unused #include of memcopy.h.
15039 (strcmp): Use ANSI prototype.
15040 * string/strcpy.c: Remove unused #include of memcopy.h.
15041 (strcpy): Use ANSI prototype.
15042
7ffa9423
AZ
150432014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044
15045 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15046 * config.make.in (config-extra-cppflags): Set it from
15047 libc_extra_cppflags.
15048 * configure.ac (libc_extra_cflags): Make it accumulate over
15049 configure fragments.
15050 (libc_extra_cppflags): New flag.
15051 * configure. Regenerate.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15053 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15054 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15056
8bd70862
AZ
15057 [BZ #16815]
15058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15059 result for FE_DOWNWARD rounding mode.
15060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15061 Likewise.
15062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15063
d42f3448
CM
150642014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15065
15066 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15067 in function argument name.
15068
1c21d115
DS
150692014-04-03 David Svoboda <svoboda@cert.org>
15070
15071 [BZ #5666]
15072 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15073 explicitly.
15074
fcccd512
RM
150752014-04-03 Roland McGrath <roland@hack.frob.com>
15076
15077 * elf/dl-unmap-segments.h: New file.
15078 * sysdeps/generic/ldsodefs.h
15079 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15080 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15081 * elf/dl-fptr.c: Likewise.
15082 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15083 * sysdeps/aarch64/tlsdesc.c: Likewise.
15084 * sysdeps/arm/tlsdesc.c: Likewise.
15085 * sysdeps/i386/tlsdesc.c: Likewise.
15086 * sysdeps/tile/dl-runtime.c: Likewise.
15087 * sysdeps/x86_64/tlsdesc.c: Likewise.
15088 * elf/dl-load.h: New file.
15089 * elf/dl-load.c: Include it.
15090 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15091 Macros moved to dl-load.h.
15092 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15093 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15094 Use _dl_unmap_segments in place of __munmap.
15095 Break out segment-mapping loop into ...
15096 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15097
f6488e2b
WN
150982014-04-03 Will Newton <will.newton@linaro.org>
15099
15100 * elf/dl-lookup.c (do_lookup_x): Remove comment
15101 referring to nested function and move variable
15102 declarations down to before first use.
15103
6f05bafe
JM
151042014-04-02 Joseph Myers <joseph@codesourcery.com>
15105
a84e78c8
JM
15106 [BZ #16799]
15107 [BZ #16800]
15108 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15109 with 0 numerator.
15110 * math/s_catanf.c (__catanf): Likewise.
15111 * math/s_catanh.c (__catanh): Likewise.
15112 * math/s_catanhf.c (__catanhf): Likewise.
15113 * math/s_catanhl.c (__catanhl): Likewise.
15114 * math/s_catanl.c (__catanl): Likewise.
15115 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15116 by positive zero when computing -Inf result.
15117 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15118 (catanh_test): Likewise.
15119 * sysdeps/i386/fpu/libm-test-ulps: Update.
15120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15121
6f05bafe
JM
15122 [BZ #16789]
15123 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15124 instead of using underflowing value in computing result.
15125 * math/s_clog10.c (__clog10): Likewise.
15126 * math/s_clog10f.c (__clog10f): Likewise.
15127 * math/s_clog10l.c (__clog10l): Likewise.
15128 * math/s_clogf.c (__clogf): Likewise.
15129 * math/s_clogl.c (__clogl): Likewise.
15130 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15131 (clog10_test): Likewise.
15132 * sysdeps/i386/fpu/libm-test-ulps: Update.
15133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134
b0abbc21
AM
151352014-04-02 Alan Modra <amodra@gmail.com>
15136
15137 [BZ #16739]
15138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15139 output when value is near a power of two. Use int64_t for lx and
15140 remove casts. Use decimal rather than hex exponent constants.
15141 Don't use long double multiplication when double will suffice.
15142 * math/libm-test.inc (nextafter_test_data): Add tests.
15143 * NEWS: Add 16739 and 16786 to bug list.
15144
af6b1797
AM
15145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15146
483818d7
AM
15147 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15148
f6c55796
WN
151492014-04-01 Will Newton <will.newton@linaro.org>
15150
15151 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15152 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15153
13f7fe35
FW
151542014-04-01 Florian Weimer <fweimer@redhat.com>
15155
15156 [BZ #13347]
15157 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15158 * nptl/tst-setuid2.c: New file.
15159 * nptl/Makefile (xtests): Add tst-setuid2.
15160
c859b32e
AM
151612014-04-01 Alan Modra <amodra@gmail.com>
15162
15163 [BZ #16786]
15164 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15165
54fa2475
JM
151662014-03-31 Joseph Myers <joseph@codesourcery.com>
15167
8795b4a4
JM
15168 [BZ #6803]
15169 [BZ #6804]
15170 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15171 set errno as appropriate.
15172 * math/w_scalbf.c (__scalbf): Likewise.
15173 * math/w_scalbl.c (__scalbl): Likewise.
15174 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15175 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15176 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15177 Add more NaN tests.
15178
54fa2475
JM
15179 [BZ #16349]
15180 * math/w_atan2.c: Include <errno.h>.
15181 (__atan2): Set errno for result underflowing to zero.
15182 * math/w_atan2f.c: Include <errno.h>.
15183 (__atan2f): Set errno for result underflowing to zero.
15184 * math/w_atan2l.c: Include <errno.h>.
15185 (__atan2l): Set errno for result underflowing to zero.
15186 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15187 tests.
15188 * math/auto-libm-test-out: Regenerated.
15189
757d9dd5
AZ
151902014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15191
15192 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15193 Encode instruction correctly in little endian.
15194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15195 Likewise.
15196 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15197 Likewise.
15198 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15199 Likewise.
15200 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15201 Likewise.
15202
d7a68734
JM
152032014-03-31 Joseph Myers <joseph@codesourcery.com>
15204
47c5adeb
JM
15205 [BZ #9894]
15206 * sysdeps/unix/sysv/linux/kernel-features.h
15207 [__sparc__ && !__arch64__ && !__sparc_v9__]
15208 (__ASSUME_SET_ROBUST_LIST): Do not define.
15209 [__sparc__ && !__arch64__ && !__sparc_v9__]
15210 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15211 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15212 Likewise.
15213 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15214 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15215 (__ASSUME_REQUEUE_PI): Likewise.
15216 (__ASSUME_SET_ROBUST_LIST): Likewise.
15217 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15218 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15219 Undefine.
15220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15221 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15222 Likewise.
15223 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15224 Likewise.
15225 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15226 Likewise.
15227 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15228 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15229 Undefine.
15230 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15231 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15232 Likewise.
15233
d7a68734
JM
15234 [BZ #16648]
15235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15237 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15238
c760f5c2
WN
152392014-03-31 Will Newton <will.newton@linaro.org>
15240
15241 * benchtests/Makefile (bench): Add ffs and ffsll to list
15242 of tests.
15243 * benchtests/ffs-inputs: New file.
15244 * benchtests/ffsll-inputs: Likewise.
15245
ea6029b1
JM
152462014-03-29 Joseph Myers <joseph@codesourcery.com>
15247
15248 [BZ #16770]
15249 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15250 too large before casting to int.
15251 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15252 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15253 * math/libm-test.inc (scalb_test_data): Add more tests.
15254
cf806aff
SP
152552014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15256
56737508
SP
15257 * benchtests/Makefile (DETAILED_OPT): New make option.
15258 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15259 set.
15260 * benchtests/bench-skeleton.c: Include stdbool.h.
15261 (main): Store and print timings per input.
15262 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15263 member to each argument value.
15264 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15265 (_print_arg_data): Initialize per-input timing to 0.
15266
cb5e4aad
SP
15267 * benchtests/Makefile (timing-type): New binary.
15268 (bench-clean): Also remove bench-timing-type.
15269 (bench): New target for timing-type.
15270 (bench-func): Print output in JSON format.
15271 * benchtests/bench-skeleton.c (main): Print output in JSON
15272 format.
15273 * benchtests/bench-timing-type.c: New file.
15274 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15275 (TIMING_PRINT_STATS): Remove.
15276 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15277 name separately.
15278
cf806aff
SP
15279 * benchtests/bench-modf.c: Remove.
15280 * benchtests/modf-inputs: New inputs file.
15281
289e0779
JM
152822014-03-28 Joseph Myers <joseph@codesourcery.com>
15283
15284 [BZ #16362]
15285 * math/s_clog10.c (M_PI_LOG10E): New macro.
15286 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15287 imaginary parts are 0.
15288 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15289 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15290 imaginary parts are 0.
15291 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15292 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15293 imaginary parts are 0.
15294 * math/libm-test.inc (clog10_test_data): Update expected results
15295 for when real and imaginary parts are 0.
15296
277ae3f1
PP
152972014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15298
15299 * elf/dl-load.c: Finish conversion of __builtin_expect into
15300 __glibc_{un}likely.
15301
03a7091f
JM
153022014-03-27 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #16348]
15305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15306 1+x for argument with exponent below -67.
15307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15308 Likewise.
15309 * math/auto-libm-test-in: Add more tests of exp.
15310 * math/auto-libm-test-out: Regenerated.
15311
ea7d8b95
SP
153122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15313
dd3022d7
SP
15314 [BZ #16759]
15315 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15316 (nscd_getnetgrent): Use it.
15317
ea7d8b95
SP
15318 [BZ #16760]
15319 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15320 of stpcpy.
15321
df5b85da
AK
153222014-03-27 Andi Kleen <ak@linux.intel.com>
15323
57f41c40
AS
15324 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15325 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15326 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15327 (lll_robust_unlock): Remove out of line section. Use cfi
15328 intrinsics.
df5b85da 15329 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15330 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15331 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15332 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15333 (lll_robust_unlock): Remove out of line section. Use cfi
15334 intrinsics.
df5b85da
AK
15335 (LLL_STUB_UNWIND_INFO*): Remove.
15336
fbd6b5a4
SP
153372014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15338
15339 [BZ #16758]
15340 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15341 blank values.
15342
1b26b855
PP
153432014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15344
15345 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15346
9be36fb8
JM
153472014-03-26 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #16198]
15350 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15351 fnstenv.
15352 * math/test-fenv-preserve.c: New file.
15353 * math/Makefile (tests): Add test-fenv-preserve.
15354
60a2f3c1
WN
153552014-03-26 Will Newton <will.newton@linaro.org>
15356
15357 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15358
a5e5f1e2
RM
153592014-03-25 Roland McGrath <roland@hack.frob.com>
15360
15361 * scripts/versionlist.awk: Partition the version sets and emit all
15362 GLIBC_* (sorted) before all others (sorted).
15363
00f4012a
JM
153642014-03-25 Joseph Myers <joseph@codesourcery.com>
15365
15366 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15367 GLIBC_2.2.5 version.
15368
7bc5a741
AZ
153692014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15370
15371 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15372 calls.
15373
7578473b
AZ
15374 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15375 previous change.
15376
f3f1dab3
AZ
15377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15378
6da36183
AS
153792014-03-25 Andreas Schwab <schwab@suse.de>
15380
15381 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15382 label to be used after in6ailist is initialized.
15383
f3f1dab3 153842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15385
7578473b 15386 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15387 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15388
046651c1
JM
153892014-03-25 Joseph Myers <joseph@codesourcery.com>
15390
15391 [BZ #16357]
15392 [BZ #16599]
15393 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15394 min_plus_half.
15395 (fp_formats): Update initializers.
15396 (init_fp_formats): Initialize new field.
15397 (output_for_one_input_case): Allow underflow for results up to
15398 min_plus_half.
15399 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15400 * math/auto-libm-test-in: Don't mark some underflows from asin and
15401 atanh as spurious.
15402 * math/auto-libm-test-out: Regenerated.
15403 * sysdeps/i386/fpu/libm-test-ulps: Update.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15405
003e49ed
AS
154062014-03-25 Andreas Schwab <schwab@suse.de>
15407
15408 * libio/Makefile (tst-ftell-partial-wide-ENV)
15409 (tst-ftell-active-handler-ENV): Define.
15410
de031874
SL
154112014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15412
15413 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15414
55a81e3b
PP
154152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15416
15417 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15418
f3426898
JM
154192014-03-24 Joseph Myers <joseph@codesourcery.com>
15420
15421 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15422 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15423 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15424
a42faf59
PP
154252014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15426
15427 [BZ #16634]
a42faf59 15428 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15429 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15430 (open_path): Change from boolean 'secure' to complete flag 'mode'
15431 (_dl_map_object): Adjust.
a42faf59
PP
15432 * elf/Makefile (tests): Add tst-dlopen-aout.
15433 * elf/tst-dlopen-aout.c: New test.
15434
50936127
SL
154352014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15436
15437 [BZ #16714]
15438 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15439 (struct stat): Rename member pad0 to __glibc_reserved0.
15440
26011b5c
SL
15441 [BZ #16712]
15442 * sysdeps/s390/s390-32/bits/wordsize.h
15443 (__WORDSIZE32_SIZE_ULONG): New define.
15444 * sysdeps/s390/s390-64/bits/wordsize.h
15445 (__WORDSIZE32_SIZE_ULONG): Likewise.
15446 * sysdeps/generic/stdint.h (SIZE_MAX):
15447 Define as UL if __WORDSIZE32_SIZE_ULONG.
15448
a2d86bf1
SL
15449 [BZ #16713]
15450 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15451 (__glibc_reserved0): New variable.
15452 (sa_flags): Change type to int.
15453
78b6eebc
SL
15454 * posix/Makefile (before-compile): Use += before-compile instead
15455 of a :=.
15456
f1399b5a
SL
15457 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15458 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15459
a071766e
AS
154602014-03-20 Andreas Schwab <schwab@suse.de>
15461
15462 [BZ #16743]
15463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15464 non-matching result from nscd.
15465
27c673b8
SP
154662014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15467
15468 * scripts/bench.py: Moved to ...
15469 * benchtests/scripts/bench.py: ... here.
15470 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15471
44152e4b
AS
154722014-03-24 Andreas Schwab <schwab@suse.de>
15473
15474 [BZ #16002]
15475 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15476 alloca_account and account alloca use for struct in6ailist.
15477
b376a11a
JM
154782014-03-24 Joseph Myers <joseph@codesourcery.com>
15479
15480 [BZ #16284]
15481 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15482 rounding mode to recompute results that overflow to infinity or
15483 underflow to zero.
15484 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15485 bug 16284.
15486 * math/auto-libm-test-out: Regenerated.
15487 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15488 (ccosh_test): Likewise.
15489 (csin_test_data): Use plus_oflow.
15490 (csin_test): Use ALL_RM_TEST.
15491 (csinh_test_data): Use plus_oflow.
15492 (csinh_test): Use ALL_RM_TEST.
15493 * sysdeps/i386/fpu/libm-test-ulps: Update.
15494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15495
f7be7376
JM
154962014-03-21 Joseph Myers <joseph@codesourcery.com>
15497
1ca2d03e
JM
15498 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15499 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15500 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15501
f7be7376
JM
15502 [BZ #16731]
15503 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15504 when x - 1 is zero.
15505 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15506 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15507 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15509 argument is 1.
15510 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15511 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15512 zero.
15513 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15516
fdf4534d
SP
155172014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15518
df26ea53
SP
15519 * scripts/bench.pl: Remove file.
15520 * scripts/bench.py: New benchmark script.
15521 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15522 * benchtests/README: Mention python dependency.
15523 * scripts/pylintrc: New file.
15524 * scripts/pylint: New file.
15525
fdf4534d
SP
15526 * bits/mathdef.h: Use #ifdef instead of #if.
15527 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15528 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15529 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15530 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15531 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15532 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15533
6f23d093
AZ
155342014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15535 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15536
15537 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15539 and strpbrk-ppc64 objects.
15540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15541 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15542 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15543 multiarch strpbrk for POWER7.
15544 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15545 multiarch strpbrk for PPC64.
15546 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15547 ifunc selector.
15548 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15549 strpbrk for POWER7.
15550
8c92dfff
JM
155512014-03-20 Joseph Myers <joseph@codesourcery.com>
15552
15553 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15554 (atan_test): Likewise.
15555 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15556 (atanh_test): Use ALL_RM_TEST.
15557 (atan2_test_data): Likewise.
15558 (cabs_test): Likewise.
15559 (cacosh_test): Likewise.
15560 (carg_test): Likewise.
15561 (casin_test): Likewise.
15562 (casinh_test): Likewise.
15563 (cbrt_test): Likewise.
15564 (csqrt_test): Likewise.
15565 (erf_test): Likewise.
15566 (erfc_test): Likewise.
15567 (pow10_test): Likewise.
15568 (exp2_test): Likewise.
15569 (hypot_test): Likewise.
15570 (j0_test): Likewise.
15571 (j1_test): Likewise.
15572 (lgamma_test): Likewise.
15573 (gamma_test): Likewise.
15574 (sincos_test): Likewise.
15575 (tanh_test): Likewise.
15576 (y0_test): Likewise.
15577 (y1_test): Likewise.
15578 * sysdeps/i386/fpu/libm-test-ulps: Update.
15579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15580
6eaf95cb
AZ
155812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15582
a387428c
SP
15583 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15585 and strcspn-ppc64 objects.
15586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15587 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15588 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15589 multiarch strcspn for POWER7.
15590 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15591 multiarch strcspn for PPC64.
15592 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15593 ifunc selector.
15594 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15595 strcspn for POWER7.
15596
ae3a5dff
JM
155972014-03-20 Joseph Myers <joseph@codesourcery.com>
15598
15599 * math/gen-libm-test.pl (generate_testfile): Expect only function
15600 name as argument to AUTO_TESTS_* and pass results for all rounding
15601 modes to parse_args.
15602 (parse_auto_input): Separate inputs of automatic tests from
15603 outputs before storing in %auto_tests.
15604 * math/libm-test.inc (acos_test_data): Update call to
15605 AUTO_TESTS_f_f.
15606 (acos_test): Use ALL_RM_TEST.
15607 (acos_tonearest_test_data): Remove.
15608 (acos_test_tonearest): Likewise.
15609 (acos_towardzero_test_data): Likewise.
15610 (acos_test_towardzero): Likewise.
15611 (acos_downward_test_data): Likewise.
15612 (acos_test_downward): Likewise.
15613 (acos_upward_test_data): Likewise.
15614 (acos_test_upward): Likewise.
15615 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15616 (asin_test_data): Likewise.
15617 (asin_test): Use ALL_RM_TEST.
15618 (asin_tonearest_test_data): Remove.
15619 (asin_test_tonearest): Likewise.
15620 (asin_towardzero_test_data): Likewise.
15621 (asin_test_towardzero): Likewise.
15622 (asin_downward_test_data): Likewise.
15623 (asin_test_downward): Likewise.
15624 (asin_upward_test_data): Likewise.
15625 (asin_test_upward): Likewise.
15626 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15627 (atan_test_data): Likewise.
15628 (atanh_test_data): Likewise.
15629 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15630 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15631 (carg_test_data): Likewise.
15632 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15633 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15634 (ccosh_test_data): Likewise.
15635 (cexp_test_data): Likewise.
15636 (clog_test_data): Likewise.
15637 (clog10_test_data): Likewise.
15638 (cos_test_data): Update call to AUTO_TESTS_f_f.
15639 (cos_test): Use ALL_RM_TEST.
15640 (cos_tonearest_test_data): Remove.
15641 (cos_test_tonearest): Likewise.
15642 (cos_towardzero_test_data): Likewise.
15643 (cos_test_towardzero): Likewise.
15644 (cos_downward_test_data): Likewise.
15645 (cos_test_downward): Likewise.
15646 (cos_upward_test_data): Likewise.
15647 (cos_test_upward): Likewise.
15648 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15649 (cosh_test): Use ALL_RM_TEST.
15650 (cosh_tonearest_test_data): Remove.
15651 (cosh_test_tonearest): Likewise.
15652 (cosh_towardzero_test_data): Likewise.
15653 (cosh_test_towardzero): Likewise.
15654 (cosh_downward_test_data): Likewise.
15655 (cosh_test_downward): Likewise.
15656 (cosh_upward_test_data): Likewise.
15657 (cosh_test_upward): Likewise.
15658 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15659 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15660 (ctan_test_data): Likewise.
15661 (ctan_test): Use ALL_RM_TEST.
15662 (ctan_tonearest_test_data): Remove.
15663 (ctan_test_tonearest): Likewise.
15664 (ctan_towardzero_test_data): Likewise.
15665 (ctan_test_towardzero): Likewise.
15666 (ctan_downward_test_data): Likewise.
15667 (ctan_test_downward): Likewise.
15668 (ctan_upward_test_data): Likewise.
15669 (ctan_test_upward): Likewise.
15670 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15671 (ctanh_test): Use ALL_RM_TEST.
15672 (ctanh_tonearest_test_data): Remove.
15673 (ctanh_test_tonearest): Likewise.
15674 (ctanh_towardzero_test_data): Likewise.
15675 (ctanh_test_towardzero): Likewise.
15676 (ctanh_downward_test_data): Likewise.
15677 (ctanh_test_downward): Likewise.
15678 (ctanh_upward_test_data): Likewise.
15679 (ctanh_test_upward): Likewise.
15680 (erf_test_data): Update call to AUTO_TESTS_f_f.
15681 (erfc_test_data): Likewise.
15682 (exp_test_data): Likewise.
15683 (exp_test): Use ALL_RM_TEST.
15684 (exp_tonearest_test_data): Remove.
15685 (exp_test_tonearest): Likewise.
15686 (exp_towardzero_test_data): Likewise.
15687 (exp_test_towardzero): Likewise.
15688 (exp_downward_test_data): Likewise.
15689 (exp_test_downward): Likewise.
15690 (exp_upward_test_data): Likewise.
15691 (exp_test_upward): Likewise.
15692 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15693 (exp10_test): Use ALL_RM_TEST.
15694 (exp10_tonearest_test_data): Remove.
15695 (exp10_test_tonearest): Likewise.
15696 (exp10_towardzero_test_data): Likewise.
15697 (exp10_test_towardzero): Likewise.
15698 (exp10_downward_test_data): Likewise.
15699 (exp10_test_downward): Likewise.
15700 (exp10_upward_test_data): Likewise.
15701 (exp10_test_upward): Likewise.
15702 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15703 (expm1_test_data): Likewise.
15704 (expm1_test): Use ALL_RM_TEST.
15705 (expm1_tonearest_test_data): Remove.
15706 (expm1_test_tonearest): Likewise.
15707 (expm1_towardzero_test_data): Likewise.
15708 (expm1_test_towardzero): Likewise.
15709 (expm1_downward_test_data): Likewise.
15710 (expm1_test_downward): Likewise.
15711 (expm1_upward_test_data): Likewise.
15712 (expm1_test_upward): Likewise.
15713 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15714 (fma_test): Use ALL_RM_TEST.
15715 (fma_towardzero_test_data): Remove.
15716 (fma_test_towardzero): Likewise.
15717 (fma_downward_test_data): Likewise.
15718 (fma_test_downward): Likewise.
15719 (fma_upward_test_data): Likewise.
15720 (fma_test_upward): Likewise.
15721 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15722 (j0_test_data): Update call to AUTO_TESTS_f_f.
15723 (j1_test_data): Likewise.
15724 (jn_test_data): Update call to AUTO_TESTS_if_f.
15725 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15726 (log_test_data): Update call to AUTO_TESTS_f_f.
15727 (log10_test_data): Likewise.
15728 (log1p_test_data): Likewise.
15729 (log2_test_data): Likewise.
15730 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15731 (pow_tonearest_test_data): Likewise.
15732 (sin_test_data): Update call to AUTO_TESTS_f_f.
15733 (sin_test): Use ALL_RM_TEST.
15734 (sin_tonearest_test_data): Remove.
15735 (sin_test_tonearest): Likewise.
15736 (sin_towardzero_test_data): Likewise.
15737 (sin_test_towardzero): Likewise.
15738 (sin_downward_test_data): Likewise.
15739 (sin_test_downward): Likewise.
15740 (sin_upward_test_data): Likewise.
15741 (sin_test_upward): Likewise.
15742 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15743 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15744 (sinh_test): Use ALL_RM_TEST.
15745 (sinh_tonearest_test_data): Remove.
15746 (sinh_test_tonearest): Likewise.
15747 (sinh_towardzero_test_data): Likewise.
15748 (sinh_test_towardzero): Likewise.
15749 (sinh_downward_test_data): Likewise.
15750 (sinh_test_downward): Likewise.
15751 (sinh_upward_test_data): Likewise.
15752 (sinh_test_upward): Likewise.
15753 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15754 (sqrt_test): Use ALL_RM_TEST.
15755 (sqrt_tonearest_test_data): Remove.
15756 (sqrt_test_tonearest): Likewise.
15757 (sqrt_towardzero_test_data): Likewise.
15758 (sqrt_test_towardzero): Likewise.
15759 (sqrt_downward_test_data): Likewise.
15760 (sqrt_test_downward): Likewise.
15761 (sqrt_upward_test_data): Likewise.
15762 (sqrt_test_upward): Likewise.
15763 (tan_test_data): Update call to AUTO_TESTS_f_f.
15764 (tan_test): Use ALL_RM_TEST.
15765 (tan_tonearest_test_data): Remove.
15766 (tan_test_tonearest): Likewise.
15767 (tan_towardzero_test_data): Likewise.
15768 (tan_test_towardzero): Likewise.
15769 (tan_downward_test_data): Likewise.
15770 (tan_test_downward): Likewise.
15771 (tan_upward_test_data): Likewise.
15772 (tan_test_upward): Likewise.
15773 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15774 (tgamma_test_data): Likewise.
15775 (y0_test_data): Likewise.
15776 (y1_test_data): Likewise.
15777 (yn_test_data): Update call to AUTO_TESTS_if_f.
15778 (main): Do not call removed functions.
15779
d71aeee8
JM
157802014-03-19 Joseph Myers <joseph@codesourcery.com>
15781
15782 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15783 (ldexp_test_data): Remove.
15784 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15785 scalbn_test_data.
15786 (scalb_test): Use ALL_RM_TEST.
15787
baaf1ded
AS
157882014-03-19 Andreas Schwab <schwab@suse.de>
15789
15790 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15791
b1115e91
JM
157922014-03-19 Joseph Myers <joseph@codesourcery.com>
15793
15794 [BZ #16649]
15795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15796 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15797 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15799 (__ASSUME_PREADV): Undefine.
15800 (__ASSUME_PWRITEV): Likewise.
15801
0283ecca
RM
158022014-03-18 Roland McGrath <roland@hack.frob.com>
15803
7d375303
RM
15804 * bits/mman-linux.h: Add comment about non-Linux use.
15805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15806 bits/mman-linux.h resting place.
15807
0283ecca
RM
15808 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15809 * bits/mman-linux.h: ... here.
15810
aebe1003
AZ
158112014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15812
15813 * conform/conformtest.pl: Add standard definition when calling C
15814 preprocessor on data files.
15815 (checknamespace): Remove unused variable.
15816
b29b6bb8
JM
158172014-03-18 Joseph Myers <joseph@codesourcery.com>
15818
15819 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15820 minus_oflow, plus_uflow and minus_uflow in expected results.
15821 * math/libm-test.inc (scalbn_test_data): Add more tests of
15822 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15823 minus_uflow.
15824 (scalbn_test): Use ALL_RM_TEST.
15825 (scalbln_test_data): Add more tests of negative arguments. Use
15826 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15827 (scalbln_test): Use ALL_RM_TEST.
15828
c8f8fa15
RM
158292014-03-18 Roland McGrath <roland@hack.frob.com>
15830
15831 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15832
fede7a5f
WN
158332014-03-18 Will Newton <will.newton@linaro.org>
15834
15835 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15836 inaccurate comment.
15837
80cf0a58
JM
158382014-03-18 Joseph Myers <joseph@codesourcery.com>
15839
15840 * Makerules [!subdir] (check-abi): Exit with error status if a
15841 test failed.
15842
b3620862
JM
158432014-03-17 Joseph Myers <joseph@codesourcery.com>
15844
15845 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15846 for rint. Include results for all rounding modes.
15847 (nearbyint_test): Use ALL_RM_TEST.
15848 (rint_test_data): Include all tests used for nearbyint.
15849
788bba36
WN
158502014-03-17 Will Newton <will.newton@linaro.org>
15851
04ec140a
WN
15852 * nptl/sysdeps/pthread/pthread.h: Revert previous
15853 change.
15854
7579d8d5
WN
15855 * sysdeps/generic/ldsodefs.h: Revert previous
15856 change.
15857
c15cf13a
WN
15858 * libio/genops.c: Revert previous change.
15859 * libio/libioP.h: Likewise.
15860 * stdio-common/vfprintf.c: Likewise.
15861
d0ac1324
WN
15862 * sysdeps/generic/math_private.h: Revert previous
15863 change.
15864
9290130a
WN
15865 * sysdeps/generic/math_private.h: Check whether
15866 HAVE_RM_CTX is defined with #ifdef rather
15867 than #if.
15868
afb466fc
WN
15869 * argp/argp-fmtstream.h: Check whether
15870 __STRICT_ANSI__ is defined with #ifdef rather
15871 than #if.
15872 * argp/argp.h: Likewise.
15873
f7efd7c3
WN
15874 * libio/genops.c: Check whether
15875 _IO_JUMPS_OFFSET is defined with #ifdef rather
15876 than #if.
15877 * libio/libioP.h: Likewise.
15878 * stdio-common/vfprintf.c: Likewise.
15879
53f1bed3
WN
15880 * sysdeps/generic/ldsodefs.h: Check whether
15881 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15882 than #if.
15883
788bba36
WN
15884 * nptl/sysdeps/pthread/pthread.h: Check
15885 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15886 its value.
15887
fcd89ebe
SP
158882014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
ae42bbc5
SP
15890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15891 setting O_APPEND.
15892 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15893 test case.
15894
ea33158c
SP
15895 [BZ #16680]
15896 * libio/fileops.c (_IO_file_open): Seek to end of file but
15897 don't cache the offset.
15898 (get_file_offset): Remove function.
15899 (do_ftell): Use cached offset when available.
15900 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15901 don't cache the offset.
15902 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15903 case.
15904 (do_one_test): Call it.
15905 (do_ftell_test): Fix up expected old offset for a+ mode.
15906 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15907 available.
15908
b1dbb426
SP
15909 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15910 up test status with function return status.
15911 (do_write_test): Likewise.
15912 (do_append_test): Likewise.
15913
fcd89ebe
SP
15914 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15915 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15916 Remove.
15917
9962a2d3
JM
159182014-03-17 Joseph Myers <joseph@codesourcery.com>
15919
15920 * math/gen-libm-test.pl (parse_args): Handle results specified for
15921 each rounding mode separately.
15922 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15923 tests and results from lrint_tonearest_test_data,
15924 lrint_towardzero_test_data, lrint_downward_test_data and
15925 lrint_upward_test_data.
15926 (lrint_test): Use ALL_RM_TEST.
15927 (lrint_tonearest_test_data): Remove.
15928 (lrint_test_tonearest): Likewise.
15929 (lrint_towardzero_test_data): Likewise.
15930 (lrint_test_towardzero): Likewise.
15931 (lrint_downward_test_data): Likewise.
15932 (lrint_test_downward): Likewise.
15933 (lrint_upward_test_data): Likewise.
15934 (lrint_test_upward): Likewise.
15935 (llrint_test_data): Merge in per-rounding-mode tests and results
15936 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15937 llrint_downward_test_data and llrint_upward_test_data.
15938 (llrint_test): Use ALL_RM_TEST.
15939 (llrint_tonearest_test_data): Remove.
15940 (llrint_test_tonearest): Likewise.
15941 (llrint_towardzero_test_data): Likewise.
15942 (llrint_test_towardzero): Likewise.
15943 (llrint_downward_test_data): Likewise.
15944 (llrint_test_downward): Likewise.
15945 (llrint_upward_test_data): Likewise.
15946 (llrint_test_upward): Likewise.
15947 (rint_test_data): Merge in per-rounding-mode tests and results
15948 from rint_tonearest_test_data, rint_towardzero_test_data,
15949 rint_downward_test_data and rint_upward_test_data. Add
15950 per-rounding-mode results for tests not in those arrays.
15951 (rint_test): Use ALL_RM_TEST.
15952 (rint_tonearest_test_data): Remove.
15953 (rint_test_tonearest): Likewise.
15954 (rint_towardzero_test_data): Likewise.
15955 (rint_test_towardzero): Likewise.
15956 (rint_downward_test_data): Likewise.
15957 (rint_test_downward): Likewise.
15958 (rint_upward_test_data): Likewise.
15959 (rint_test_upward): Likewise.
15960 (main): Don't call removed functions.
15961
5006148e
RM
159622014-03-14 Roland McGrath <roland@hack.frob.com>
15963
15964 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15965 "Compiled on ..." crapola. It is anti-useful.
15966
d6fe5e58
JM
159672014-03-14 Joseph Myers <joseph@codesourcery.com>
15968
15969 * scripts/evaluate-test.sh: Handle fourth argument to determine
15970 whether test run should stop on failure.
15971 * Makeconfig (stop-on-test-failure): New variable.
15972 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15973 $(stop-on-test-failure).
15974 * Makefile (tests): Give a summary of results from testing and
15975 exit with failure status if they include an ERROR or FAIL.
15976 (xtests): Likewise.
15977 * manual/install.texi (Configuring and compiling): Mention
15978 stop-on-test-failure=y.
15979 * INSTALL: Regenerated.
15980
498a2233
RM
159812014-03-14 Roland McGrath <roland@hack.frob.com>
15982
22dbc19d
RM
15983 * scripts/versionlist.awk: New file.
15984 * Makerules [$(build-shared) = yes]
15985 (postclean-generated): Add Versions.def, not Versions.def.v and
15986 Versions.def.v.i.
15987 ($(common-objpfx)Versions.def.v.i): Target removed.
15988 ($(common-objpfx)Versions.def): New target.
15989 ($(common-objpfx)Versions.all): Depend on that rather that
15990 $(common-objpfx)Versions.def.v.
15991 * Versions.def: File removed.
15992
498a2233
RM
15993 * Makeconfig (+gccwarn): Add -Wundef.
15994 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15995 a dl-sysdep.h breaking its contract.
15996 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15997 * include/stackinfo.h: New file.
15998 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15999 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16000 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16001 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16002 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16003 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16004 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16005 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16006 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16007 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16008 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16009 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16010 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16011 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16012 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16013
c7de5025
AZ
160142014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16015
16016 [BZ #16707]
16017 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16018 implementation.
16019 * math/libm-test.inc (round_test_data): Add more tests.
16020
98fb27a3
AZ
16021 [BZ #16706]
16022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16023 implementation.
16024 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16025
374f7f61
AZ
16026 [BZ #16701]
16027 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16028 implementation.
16029 * math/libm-test.inc (ceil_test_data): Add more tests.
16030
4655c291
AZ
16031 * math/libm-test.inc (trunc_test_data): Add more tests related to
16032 BZ#16414.
16033
d7329d4b
RM
160342014-03-14 Roland McGrath <roland@hack.frob.com>
16035
16036 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16037 with #if rather than #ifdef.
16038 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16039
aa4de9ce
L
160402014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16041
16042 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16043 first. Disable AVX-512 GCC support if assembler doesn't support
16044 it.
16045 * sysdeps/x86_64/configure: Regenerated.
16046
2e03fae7
CD
160472014-03-13 Carlos O'Donell <carlos@redhat.com>
16048
16049 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16050 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16051 (__old_pthread_attr_setstack): Likewise.
16052 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16053 [!_STACK_GROWS_DOWN]: Likewise.
16054
43ca83ec
MF
160552014-03-13 Mike Frysinger <vapier@gentoo.org>
16056
16057 * config.make.in (have-bash2): Delete.
16058 * configure.ac (libc_cv_have_bash2): Delete.
16059 * configure: Regenerate.
16060 * elf/Makefile (common-ldd-rewrite): Rename to ...
16061 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16062 (sh-ldd-rewrite): Delete.
16063 (bash-ldd-rewrite): Delete.
16064 (have-bash2): Delete checks.
57f41c40
AS
16065 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16066 ldd-rewrite.
c66e48b4
MF
16067
16068 * config.make.in (have-ksh): Delete.
16069 (KSH): Delete.
16070 * configure.ac (libc_cv_have_ksh): Delete.
16071 * configure: Regenerate.
16072
b93834ef
MF
16073 * elf/Makefile: Delete $(have-ksh) check.
16074 ($(objpfx)sotruss): Change KSH to BASH.
16075 * elf/sotruss.ksh: Rename to ...
16076 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16077 function style to match POSIX. Drop ksh vim mode setting.
16078
f3a4632a
MF
16079 * manual/time.texi (Specifying the Time Zone with TZ): Change
16080 Tuesday to Thursday.
16081
5896c8bd
MF
16082 * debug/tst-longjmp_chk2.c: Update header comment.
16083 (stackoverflow_handler): Add comment. Call assert on pass value.
16084
2d63a517
IZ
160852014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16086
7e54fd04 16087 [BZ #16194]
2d63a517
IZ
16088 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16089 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16090 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16091 (La_x86_64_vector): Add zmm.
16092 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16093 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16094 ($(objpfx)tst-audit10): New target.
16095 ($(objpfx)tst-audit10.out): Likewise.
16096 (tst-audit10-ENV): New.
16097 (AVX512-CFLAGS): Likewise.
16098 (CFLAGS-tst-audit10.c): Likewise.
16099 (CFLAGS-tst-auditmod10a.c): Likewise.
16100 (CFLAGS-tst-auditmod10b.c): Likewise.
16101 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16102 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16103 * sysdeps/x86_64/configure: Regenerated.
16104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16105 AVX-512 zmm register support.
16106 (_dl_x86_64_save_sse): Likewise.
16107 (_dl_x86_64_restore_sse): Likewise.
16108 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16109 size vector registers.
16110 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16111 (ZMM_SIZE): Likewise.
16112 * sysdeps/x86_64/tst-audit10.c: New file.
16113 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16114 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16115
44c4e5d5
RM
161162014-03-13 Roland McGrath <roland@hack.frob.com>
16117
16118 * configure.ac (HAVE_EHDR_START): New check.
16119 * configure: Regenerated.
16120 * config.h.in (HAVE_EHDR_START): New #undef.
16121 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16122 assuming the lowest-addressed segment maps the start of the file.
16123
acd6e389
JM
161242014-03-13 Joseph Myers <joseph@codesourcery.com>
16125
16126 * INSTALL: Regenerated.
16127
6f918f36
WN
161282014-03-13 Will Newton <will.newton@linaro.org>
16129
16130 * manual/setjmp.texi (System V contexts): Improve
16131 clarity and grammar of documentation.
16132
798212a0
PP
161332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16134
16135 [BZ #16381]
798212a0 16136 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16137 (tests-pie): Add tst-pie2.
798212a0
PP
16138 * elf/tst-pie2.c: New file.
16139 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16140 for ET_EXEC.
16141 * elf/rtld.c (map_doit): Load executable as lt_executable.
16142 (dl_main): Likewise.
16143
abe6d90c
JM
161442014-03-12 Joseph Myers <joseph@codesourcery.com>
16145
16146 [BZ #16642]
16147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16148 (__ASSUME_PSELECT): Undefine.
16149
dd3946c6
AZ
161502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16151
16152 [BZ #16689]
16153 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16154 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16155 static build.
16156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16157 selector for static builds.
16158
c44496df
SP
161592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16160
16161 [BZ #16695]
16162 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16163 key in the buffer.
16164
27c7220a
AZ
161652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16166
57f41c40
AS
16167 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16168 IFUNC selector for static builds.
27c7220a 16169
600fa361
JM
161702014-03-11 Joseph Myers <joseph@codesourcery.com>
16171
76c96cf7
JM
16172 * sysdeps/mips/math_private.h [__mips_hard_float]
16173 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16174 libc_feresetround_mips_ctx.
16175 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16176 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16177 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16178
600fa361
JM
16179 [BZ #16677]
16180 * math/s_nextafter.c (__nextafter): Do not return value from
16181 overflowing computation.
16182 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16183 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16185 Likewise.
16186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16187 Likewise.
16188 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16189 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16190
d7706c32
RM
161912014-03-11 Roland McGrath <roland@hack.frob.com>
16192
16193 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16194 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16195 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16196 the new mov targetting sp.
16197
4facea47
AZ
161982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16199
16200 [BZ #16683]
16201 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16202 Define it for static builds as well.
16203 (NO_BZERO_IMPL): Likewise.
16204
e65caf1f
VR
162052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16206
16207 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16208 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16209 multiarch strspn for PPC64.
16210 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16211 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16213 (__libc_ifunc_impl_list): Likewise.
16214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16215 multiarch optimizations
16216 * string/strspn.c (strspn): Using macro to redefine symbol name.
16217
ba9cc071
AZ
162182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16219 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16220
16221 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16222 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16223 multiarch strncat for PPC64.
16224 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16225 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16227 (__libc_ifunc_impl_list): Likewise.
16228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16229 multiarch optimizations
16230
8b4ff974
SP
162312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16232
16233 [BZ #16639]
16234 * nscd/nscd.service: Make service type forking.
16235
54b46a4b
AZ
162362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237
16238 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16239 sign in non default rounding modes.
16240 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16241
e9996ef7
JM
162422014-03-08 Joseph Myers <joseph@codesourcery.com>
16243
16244 * math/libm-test.inc (ALL_RM_TEST): New macro.
16245 (ceil_test): Use ALL_RM_TEST.
16246 (cimag_test): Likewise.
16247 (conj_test): Likewise.
16248 (copysign_test): Likewise.
16249 (cproj_test): Likewise.
16250 (creal_test): Likewise.
16251 (fabs_test): Likewise.
16252 (floor_test): Likewise.
16253 (fmax_test): Likewise.
16254 (fmin_test): Likewise.
16255 (fmod_test): Likewise.
16256 (fpclassify_test): Likewise.
16257 (frexp_test): Likewise.
16258 (ilogb_test): Likewise.
16259 (isfinite_test): Likewise.
16260 (finite_test): Likewise.
16261 (isgreater_test): Likewise.
16262 (isgreaterequal_test): Likewise.
16263 (isinf_test): Likewise.
16264 (isless_test): Likewise.
16265 (islessequal_test): Likewise.
16266 (islessgreater_test): Likewise.
16267 (isnan_test): Likewise.
16268 (isnormal_test): Likewise.
16269 (issignaling_test): Likewise.
16270 (isunordered_test): Likewise.
16271 (logb_test): Likewise.
16272 (logb_downward_test_data): Remove.
16273 (logb_test_downward): Likewise.
16274 (lround_test): Use ALL_RM_TEST.
16275 (llround_test): Likewise.
16276 (modf_test): Likewise.
16277 (nexttoward_test): Likewise.
16278 (remainder_test): Likewise.
16279 (drem_test): Likewise.
16280 (remainder_tonearest_test_data): Likewise.
16281 (remainder_test_tonearest): Likewise.
16282 (drem_test_tonearest): Likewise.
16283 (remainder_towardzero_test_data): Likewise.
16284 (remainder_test_towardzero): Likewise.
16285 (drem_test_towardzero): Likewise.
16286 (remainder_downward_test_data): Likewise.
16287 (remainder_test_downward): Likewise.
16288 (drem_test_downward): Likewise.
16289 (remainder_upward_test_data): Likewise.
16290 (remainder_test_upward): Likewise.
16291 (drem_test_upward): Likewise.
16292 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16293 (round_test): Use ALL_RM_TEST.
16294 (signbit_test): Likewise.
16295 (trunc_test): Likewise.
16296 (significand_test): Likewise.
16297 (main): Don't call removed functions.
16298
bc61d27c
JM
162992014-03-07 Joseph Myers <joseph@codesourcery.com>
16300
5c780849
JM
16301 [BZ #16674]
16302 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16303 || __USE_XOPEN2K8].
16304 (ILL_ILLOPN): Likewise.
16305 (ILL_ILLADR): Likewise.
16306 (ILL_ILLTRP): Likewise.
16307 (ILL_PRVOPC): Likewise.
16308 (ILL_PRVREG): Likewise.
16309 (ILL_COPROC): Likewise.
16310 (ILL_BADSTK): Likewise.
16311 (FPE_INTDIV): Likewise.
16312 (FPE_INTOVF): Likewise.
16313 (FPE_FLTDIV): Likewise.
16314 (FPE_FLTOVF): Likewise.
16315 (FPE_FLTUND): Likewise.
16316 (FPE_FLTRES): Likewise.
16317 (FPE_FLTINV): Likewise.
16318 (FPE_FLTSUB): Likewise.
16319 (SEGV_MAPERR): Likewise.
16320 (SEGV_ACCERR): Likewise.
16321 (BUS_ADRALN): Likewise.
16322 (BUS_ADRERR): Likewise.
16323 (BUS_OBJERR): Likewise.
16324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16325 (TRAP_TRACE): Likewise.
16326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16327 __USE_XOPEN2K8].
16328 (CLD_KILLED): Likewise.
16329 (CLD_DUMPED): Likewise.
16330 (CLD_TRAPPED): Likewise.
16331 (CLD_STOPPED): Likewise.
16332 (CLD_CONTINUED): Likewise.
16333 (POLL_IN): Likewise.
16334 (POLL_OUT): Likewise.
16335 (POLL_MSG): Likewise.
16336 (POLL_ERR): Likewise.
16337 (POLL_PRI): Likewise.
16338 (POLL_HUP): Likewise.
16339 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16340 Likewise.
16341 (ILL_ILLOPN): Likewise.
16342 (ILL_ILLADR): Likewise.
16343 (ILL_ILLTRP): Likewise.
16344 (ILL_PRVOPC): Likewise.
16345 (ILL_PRVREG): Likewise.
16346 (ILL_COPROC): Likewise.
16347 (ILL_BADSTK): Likewise.
16348 (FPE_INTDIV): Likewise.
16349 (FPE_INTOVF): Likewise.
16350 (FPE_FLTDIV): Likewise.
16351 (FPE_FLTOVF): Likewise.
16352 (FPE_FLTUND): Likewise.
16353 (FPE_FLTRES): Likewise.
16354 (FPE_FLTINV): Likewise.
16355 (FPE_FLTSUB): Likewise.
16356 (SEGV_MAPERR): Likewise.
16357 (SEGV_ACCERR): Likewise.
16358 (BUS_ADRALN): Likewise.
16359 (BUS_ADRERR): Likewise.
16360 (BUS_OBJERR): Likewise.
16361 (BUS_MCEERR_AR): Likewise.
16362 (BUS_MCEERR_AO): Likewise.
16363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16364 (TRAP_TRACE): Likewise.
16365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16366 __USE_XOPEN2K8].
16367 (CLD_KILLED): Likewise.
16368 (CLD_DUMPED): Likewise.
16369 (CLD_TRAPPED): Likewise.
16370 (CLD_STOPPED): Likewise.
16371 (CLD_CONTINUED): Likewise.
16372 (POLL_IN): Likewise.
16373 (POLL_OUT): Likewise.
16374 (POLL_MSG): Likewise.
16375 (POLL_ERR): Likewise.
16376 (POLL_PRI): Likewise.
16377 (POLL_HUP): Likewise.
16378 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16379 (ILL_ILLOPN): Likewise.
16380 (ILL_ILLADR): Likewise.
16381 (ILL_ILLTRP): Likewise.
16382 (ILL_PRVOPC): Likewise.
16383 (ILL_PRVREG): Likewise.
16384 (ILL_COPROC): Likewise.
16385 (ILL_BADSTK): Likewise.
16386 (FPE_INTDIV): Likewise.
16387 (FPE_INTOVF): Likewise.
16388 (FPE_FLTDIV): Likewise.
16389 (FPE_FLTOVF): Likewise.
16390 (FPE_FLTUND): Likewise.
16391 (FPE_FLTRES): Likewise.
16392 (FPE_FLTINV): Likewise.
16393 (FPE_FLTSUB): Likewise.
16394 (SEGV_MAPERR): Likewise.
16395 (SEGV_ACCERR): Likewise.
16396 (BUS_ADRALN): Likewise.
16397 (BUS_ADRERR): Likewise.
16398 (BUS_OBJERR): Likewise.
16399 (BUS_MCEERR_AR): Likewise.
16400 (BUS_MCEERR_AO): Likewise.
16401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16402 (TRAP_TRACE): Likewise.
16403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16404 __USE_XOPEN2K8].
16405 (CLD_KILLED): Likewise.
16406 (CLD_DUMPED): Likewise.
16407 (CLD_TRAPPED): Likewise.
16408 (CLD_STOPPED): Likewise.
16409 (CLD_CONTINUED): Likewise.
16410 (POLL_IN): Likewise.
16411 (POLL_OUT): Likewise.
16412 (POLL_MSG): Likewise.
16413 (POLL_ERR): Likewise.
16414 (POLL_PRI): Likewise.
16415 (POLL_HUP): Likewise.
16416 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16417 Likewise.
16418 (ILL_ILLOPN): Likewise.
16419 (ILL_ILLADR): Likewise.
16420 (ILL_ILLTRP): Likewise.
16421 (ILL_PRVOPC): Likewise.
16422 (ILL_PRVREG): Likewise.
16423 (ILL_COPROC): Likewise.
16424 (ILL_BADSTK): Likewise.
16425 (ILL_BADIADDR): Likewise.
16426 (ILL_BREAK): Likewise.
16427 (FPE_INTDIV): Likewise.
16428 (FPE_INTOVF): Likewise.
16429 (FPE_FLTDIV): Likewise.
16430 (FPE_FLTOVF): Likewise.
16431 (FPE_FLTUND): Likewise.
16432 (FPE_FLTRES): Likewise.
16433 (FPE_FLTINV): Likewise.
16434 (FPE_FLTSUB): Likewise.
16435 (FPE_DECOVF): Likewise.
16436 (FPE_DECDIV): Likewise.
16437 (FPE_DECERR): Likewise.
16438 (FPE_INVASC): Likewise.
16439 (FPE_INVDEC): Likewise.
16440 (SEGV_MAPERR): Likewise.
16441 (SEGV_ACCERR): Likewise.
16442 (SEGV_PSTKOVF): Likewise.
16443 (BUS_ADRALN): Likewise.
16444 (BUS_ADRERR): Likewise.
16445 (BUS_OBJERR): Likewise.
16446 (BUS_MCEERR_AR): Likewise.
16447 (BUS_MCEERR_AO): Likewise.
16448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16449 (TRAP_TRACE): Likewise.
16450 (TRAP_BRANCH): Likewise.
16451 (TRAP_HWBKPT): Likewise.
16452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16453 __USE_XOPEN2K8].
16454 (CLD_KILLED): Likewise.
16455 (CLD_DUMPED): Likewise.
16456 (CLD_TRAPPED): Likewise.
16457 (CLD_STOPPED): Likewise.
16458 (CLD_CONTINUED): Likewise.
16459 (POLL_IN): Likewise.
16460 (POLL_OUT): Likewise.
16461 (POLL_MSG): Likewise.
16462 (POLL_ERR): Likewise.
16463 (POLL_PRI): Likewise.
16464 (POLL_HUP): Likewise.
16465 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16466 (ILL_ILLOPN): Likewise.
16467 (ILL_ILLADR): Likewise.
16468 (ILL_ILLTRP): Likewise.
16469 (ILL_PRVOPC): Likewise.
16470 (ILL_PRVREG): Likewise.
16471 (ILL_COPROC): Likewise.
16472 (ILL_BADSTK): Likewise.
16473 (FPE_INTDIV): Likewise.
16474 (FPE_INTOVF): Likewise.
16475 (FPE_FLTDIV): Likewise.
16476 (FPE_FLTOVF): Likewise.
16477 (FPE_FLTUND): Likewise.
16478 (FPE_FLTRES): Likewise.
16479 (FPE_FLTINV): Likewise.
16480 (FPE_FLTSUB): Likewise.
16481 (SEGV_MAPERR): Likewise.
16482 (SEGV_ACCERR): Likewise.
16483 (BUS_ADRALN): Likewise.
16484 (BUS_ADRERR): Likewise.
16485 (BUS_OBJERR): Likewise.
16486 (BUS_MCEERR_AR): Likewise.
16487 (BUS_MCEERR_AO): Likewise.
16488 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16489 (TRAP_TRACE): Likewise.
16490 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16491 __USE_XOPEN2K8].
16492 (CLD_KILLED): Likewise.
16493 (CLD_DUMPED): Likewise.
16494 (CLD_TRAPPED): Likewise.
16495 (CLD_STOPPED): Likewise.
16496 (CLD_CONTINUED): Likewise.
16497 (POLL_IN): Likewise.
16498 (POLL_OUT): Likewise.
16499 (POLL_MSG): Likewise.
16500 (POLL_ERR): Likewise.
16501 (POLL_PRI): Likewise.
16502 (POLL_HUP): Likewise.
16503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16504 (ILL_ILLOPN): Likewise.
16505 (ILL_ILLADR): Likewise.
16506 (ILL_ILLTRP): Likewise.
16507 (ILL_PRVOPC): Likewise.
16508 (ILL_PRVREG): Likewise.
16509 (ILL_COPROC): Likewise.
16510 (ILL_BADSTK): Likewise.
16511 (FPE_INTDIV): Likewise.
16512 (FPE_INTOVF): Likewise.
16513 (FPE_FLTDIV): Likewise.
16514 (FPE_FLTOVF): Likewise.
16515 (FPE_FLTUND): Likewise.
16516 (FPE_FLTRES): Likewise.
16517 (FPE_FLTINV): Likewise.
16518 (FPE_FLTSUB): Likewise.
16519 (SEGV_MAPERR): Likewise.
16520 (SEGV_ACCERR): Likewise.
16521 (BUS_ADRALN): Likewise.
16522 (BUS_ADRERR): Likewise.
16523 (BUS_OBJERR): Likewise.
16524 (BUS_MCEERR_AR): Likewise.
16525 (BUS_MCEERR_AO): Likewise.
16526 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16527 (TRAP_TRACE): Likewise.
16528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16529 __USE_XOPEN2K8].
16530 (CLD_KILLED): Likewise.
16531 (CLD_DUMPED): Likewise.
16532 (CLD_TRAPPED): Likewise.
16533 (CLD_STOPPED): Likewise.
16534 (CLD_CONTINUED): Likewise.
16535 (POLL_IN): Likewise.
16536 (POLL_OUT): Likewise.
16537 (POLL_MSG): Likewise.
16538 (POLL_ERR): Likewise.
16539 (POLL_PRI): Likewise.
16540 (POLL_HUP): Likewise.
16541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16542 (ILL_ILLOPN): Likewise.
16543 (ILL_ILLADR): Likewise.
16544 (ILL_ILLTRP): Likewise.
16545 (ILL_PRVOPC): Likewise.
16546 (ILL_PRVREG): Likewise.
16547 (ILL_COPROC): Likewise.
16548 (ILL_BADSTK): Likewise.
16549 (FPE_INTDIV): Likewise.
16550 (FPE_INTOVF): Likewise.
16551 (FPE_FLTDIV): Likewise.
16552 (FPE_FLTOVF): Likewise.
16553 (FPE_FLTUND): Likewise.
16554 (FPE_FLTRES): Likewise.
16555 (FPE_FLTINV): Likewise.
16556 (FPE_FLTSUB): Likewise.
16557 (SEGV_MAPERR): Likewise.
16558 (SEGV_ACCERR): Likewise.
16559 (BUS_ADRALN): Likewise.
16560 (BUS_ADRERR): Likewise.
16561 (BUS_OBJERR): Likewise.
16562 (BUS_MCEERR_AR): Likewise.
16563 (BUS_MCEERR_AO): Likewise.
16564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16565 (TRAP_TRACE): Likewise.
16566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16567 __USE_XOPEN2K8].
16568 (CLD_KILLED): Likewise.
16569 (CLD_DUMPED): Likewise.
16570 (CLD_TRAPPED): Likewise.
16571 (CLD_STOPPED): Likewise.
16572 (CLD_CONTINUED): Likewise.
16573 (POLL_IN): Likewise.
16574 (POLL_OUT): Likewise.
16575 (POLL_MSG): Likewise.
16576 (POLL_ERR): Likewise.
16577 (POLL_PRI): Likewise.
16578 (POLL_HUP): Likewise.
16579 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16580 (ILL_ILLOPN): Likewise.
16581 (ILL_ILLADR): Likewise.
16582 (ILL_ILLTRP): Likewise.
16583 (ILL_PRVOPC): Likewise.
16584 (ILL_PRVREG): Likewise.
16585 (ILL_COPROC): Likewise.
16586 (ILL_BADSTK): Likewise.
16587 (ILL_DBLFLT): Likewise.
16588 (ILL_HARDWALL): Likewise.
16589 (FPE_INTDIV): Likewise.
16590 (FPE_INTOVF): Likewise.
16591 (FPE_FLTDIV): Likewise.
16592 (FPE_FLTOVF): Likewise.
16593 (FPE_FLTUND): Likewise.
16594 (FPE_FLTRES): Likewise.
16595 (FPE_FLTINV): Likewise.
16596 (FPE_FLTSUB): Likewise.
16597 (SEGV_MAPERR): Likewise.
16598 (SEGV_ACCERR): Likewise.
16599 (BUS_ADRALN): Likewise.
16600 (BUS_ADRERR): Likewise.
16601 (BUS_OBJERR): Likewise.
16602 (BUS_MCEERR_AR): Likewise.
16603 (BUS_MCEERR_AO): Likewise.
16604 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16605 (TRAP_TRACE): Likewise.
16606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16607 __USE_XOPEN2K8].
16608 (CLD_KILLED): Likewise.
16609 (CLD_DUMPED): Likewise.
16610 (CLD_TRAPPED): Likewise.
16611 (CLD_STOPPED): Likewise.
16612 (CLD_CONTINUED): Likewise.
16613 (POLL_IN): Likewise.
16614 (POLL_OUT): Likewise.
16615 (POLL_MSG): Likewise.
16616 (POLL_ERR): Likewise.
16617 (POLL_PRI): Likewise.
16618 (POLL_HUP): Likewise.
16619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16620 (ILL_ILLOPN): Likewise.
16621 (ILL_ILLADR): Likewise.
16622 (ILL_ILLTRP): Likewise.
16623 (ILL_PRVOPC): Likewise.
16624 (ILL_PRVREG): Likewise.
16625 (ILL_COPROC): Likewise.
16626 (ILL_BADSTK): Likewise.
16627 (FPE_INTDIV): Likewise.
16628 (FPE_INTOVF): Likewise.
16629 (FPE_FLTDIV): Likewise.
16630 (FPE_FLTOVF): Likewise.
16631 (FPE_FLTUND): Likewise.
16632 (FPE_FLTRES): Likewise.
16633 (FPE_FLTINV): Likewise.
16634 (FPE_FLTSUB): Likewise.
16635 (SEGV_MAPERR): Likewise.
16636 (SEGV_ACCERR): Likewise.
16637 (BUS_ADRALN): Likewise.
16638 (BUS_ADRERR): Likewise.
16639 (BUS_OBJERR): Likewise.
16640 (BUS_MCEERR_AR): Likewise.
16641 (BUS_MCEERR_AO): Likewise.
16642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16643 (TRAP_TRACE): Likewise.
16644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16645 __USE_XOPEN2K8].
16646 (CLD_KILLED): Likewise.
16647 (CLD_DUMPED): Likewise.
16648 (CLD_TRAPPED): Likewise.
16649 (CLD_STOPPED): Likewise.
16650 (CLD_CONTINUED): Likewise.
16651 (POLL_IN): Likewise.
16652 (POLL_OUT): Likewise.
16653 (POLL_MSG): Likewise.
16654 (POLL_ERR): Likewise.
16655 (POLL_PRI): Likewise.
16656 (POLL_HUP): Likewise.
16657 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16658 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16659
bc61d27c
JM
16660 [BZ #16670]
16661 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16662 before #include of <time.h>.
16663 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16664 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16665 (test-xfail-UNIX98/sched.h/conform): Likewise.
16666
302949e2
MS
166672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16668
16669 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16670 error absence of trapping exception support.
16671 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16672
a00f522a
JM
166732014-03-07 Joseph Myers <joseph@codesourcery.com>
16674
6f99f280
JM
16675 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16676 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16677 * timezone/Makefile (testdata): Move definition above include of
16678 Rules.
16679 (test-zones): New variable.
16680 (tests-special): Add zone files.
16681 (build-testdata): Use $(evaluate-test).
16682
0b20a9e8
JM
16683 * elf/Makefile (tests-special): Rename tests to end with .out.
16684 ($(objpfx)noload-mem): Likewise.
16685 ($(objpfx)tst-leaks1-mem): Likewise.
16686 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16687 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16688 $(objpfx)test-iconvconfig.out.
16689 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16690 set -e inside subshell and redirect output to file.
16691 * iconvdata/Makefile (generated): Rename tests to end with .out.
16692 Correct type.
16693 (tests-special): Rename tests to end with .out.
16694 ($(objpfx)mtrace-tst-loading): Likewise.
16695 * intl/Makefile (generated): Likewise.
16696 (tests-special): Likewise.
16697 ($(objpfx)mtrace-tst-gettext): Likewise.
16698 * misc/Makefile (generated): Likewise.
16699 (tests-special): Likewise.
16700 ($(objpfx)tst-error1-mem): Likewise.
16701 * nptl/Makefile (tests-special): Likewise.
16702 ($(objpfx)tst-stack3-mem): Likewise.
16703 (generated): Likewise.
16704 * posix/Makefile (generated): Likewise.
16705 (tests-special): Likewise.
16706 (xtests-special): Likewise.
16707 ($(objpfx)tst-fnmatch-mem): Likewise.
16708 ($(objpfx)bug-regex2-mem): Likewise.
16709 ($(objpfx)bug-regex14-mem): Likewise.
16710 ($(objpfx)bug-regex21-mem): Likewise.
16711 ($(objpfx)bug-regex31-mem): Likewise.
16712 ($(objpfx)tst-vfork3-mem): Likewise.
16713 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16714 ($(objpfx)tst-pcre-mem): Likewise.
16715 ($(objpfx)tst-boost-mem): Likewise.
16716 ($(objpfx)bug-ga2-mem): Likewise.
16717 ($(objpfx)bug-glob2-mem): Likewise.
16718 * resolv/Makefile (generate): Likewise.
16719 (tests-special): Likewise.
16720 (xtests-special): Likewise.
16721 (generated): Likewise.
16722 ($(objpfx)mtrace-tst-leaks): Likewise.
16723 ($(objpfx)mtrace-tst-leaks2): Likewise.
16724
265d52ab
JM
16725 * scripts/merge-test-results.sh: New file.
16726 * Makefile (tests-special-notdir): New variable.
16727 (tests): Run merge-test-results.sh.
16728 (xtests): Likewise.
16729 * Rules (tests-special-notdir): New variable.
16730 (xtests-special-notdir): Likewise.
16731 (tests): Run merge-test-results.sh
16732 (xtests): Likewise.
16733
54ee292d
JM
16734 * Makeconfig (test-xfail-name): New variable.
16735 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16736 compute variable name for expected failures.
16737 * conform/Makefile (conformtest-headers-data): New variable.
16738 (conformtest-standards): Likewise.
16739 (conformtest-headers-ISO): Likewise.
16740 (conformtest-headers-ISO99): Likewise.
16741 (conformtest-headers-ISO11): Likewise.
16742 (conformtest-headers-POSIX): Likewise.
16743 (conformtest-headers-XPG3): Likewise.
16744 (conformtest-headers-XPG4): Likewise.
16745 (conformtest-headers-UNIX98): Likewise.
16746 (conformtest-headers-XOPEN2K): Likewise.
16747 (conformtest-headers-POSIX2008): Likewise.
16748 (conformtest-headers-XOPEN2K8): Likewise.
16749 (conformtest-header-list-base): Likewise.
16750 (conformtest-header-list-tests): Likewise.
16751 (conformtest-header-base): Likewise.
16752 (conformtest-header-tests): Likewise.
16753 (tests-special): Add $(conformtest-header-list-tests). If
16754 [$(fast-check) && !$(cross-compiling)], add
16755 $(conformtest-header-tests) instead of
16756 $(objpfx)run-conformtest.out.
16757 (generated): Add $(conformtest-header-list-base). If
16758 [$(fast-check) && !$(cross-compiling)], add
16759 $(conformtest-header-base). Remove previous setting.
16760 ($(conformtest-header-list-tests)): New target.
16761 (test-xfail-run-conformtest): Remove variable.
16762 ($(objpfx)run-conformtest.out): Remove target.
16763 (test-xfail-ISO11/complex.h/conform): New variable.
16764 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16765 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16766 (test-xfail-XPG3/varargs.h/conform): Likewise.
16767 (test-xfail-XPG4/varargs.h/conform): Likewise.
16768 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16769 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16770 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16771 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16772 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16773 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16774 (test-xfail-XPG3/ftw.h/conform): Likewise.
16775 (test-xfail-XPG3/grp.h/conform): Likewise.
16776 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16777 (test-xfail-XPG3/limits.h/conform): Likewise.
16778 (test-xfail-XPG3/pwd.h/conform): Likewise.
16779 (test-xfail-XPG3/search.h/conform): Likewise.
16780 (test-xfail-XPG3/signal.h/conform): Likewise.
16781 (test-xfail-XPG3/stdio.h/conform): Likewise.
16782 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16783 (test-xfail-XPG3/string.h/conform): Likewise.
16784 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16785 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16786 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16787 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16788 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16789 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16790 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16791 (test-xfail-XPG3/termios.h/conform): Likewise.
16792 (test-xfail-XPG3/time.h/conform): Likewise.
16793 (test-xfail-XPG3/unistd.h/conform): Likewise.
16794 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16795 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16796 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16797 (test-xfail-XPG4/netdb.h/conform): Likewise.
16798 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16799 (test-xfail-XPG4/signal.h/conform): Likewise.
16800 (test-xfail-XPG4/stdio.h/conform): Likewise.
16801 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16802 (test-xfail-XPG4/stropts.h/conform): Likewise.
16803 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16804 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16805 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16806 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16807 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16808 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16809 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16810 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16811 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16812 (test-xfail-XPG4/termios.h/conform): Likewise.
16813 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16814 (test-xfail-XPG4/unistd.h/conform): Likewise.
16815 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16816 (test-xfail-POSIX/sched.h/conform): Likewise.
16817 (test-xfail-POSIX/signal.h/conform): Likewise.
16818 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16819 (test-xfail-POSIX/tar.h/conform): Likewise.
16820 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16821 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16822 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16823 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16824 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16825 (test-xfail-UNIX98/sched.h/conform): Likewise.
16826 (test-xfail-UNIX98/signal.h/conform): Likewise.
16827 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16828 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16829 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16830 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16831 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16832 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16833 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16834 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16835 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16836 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16837 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16838 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16839 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16840 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16841 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16842 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16843 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16844 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16845 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16846 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16847 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16848 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16849 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16850 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16851 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16852 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16853 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16854 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16855 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16856 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16857 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16858 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16859 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16860 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16861 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16862 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16863 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16864 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16865 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16866 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16867 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16868 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16869 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16870 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16871 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16872 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16873 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16874 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16875 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16876 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16877 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16878 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16879 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16880 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16881 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16882 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16883 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16884 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16885 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16886 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16887 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16888 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16889 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16890 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16891 (conformtest-cc-flags): Likewise.
16892 ($(conformtest-header-tests): New target.
16893 * conform/check-header-lists.sh: New file.
16894 * conform/run-conformtest.sh: Remove.
16895
a00f522a
JM
16896 * conform/conformtest.pl: Allow ' and \ in values given for
16897 constants.
16898 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16899 inclusion.
16900 [POSIX] (sys/types.h): Likewise.
16901 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16902 inclusion.
16903 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16904 inclusion.
16905 * conform/data/signal.h-data (SIGIO): Remove expectation.
16906 [XPG3] (SIGBUS): Do not expect.
16907 [POSIX || XPG3] (SIGPOLL): Likewise.
16908 [POSIX || XPG3] (SIGPROF): Likewise.
16909 [POSIX || XPG3] (SIGSYS): Likewise.
16910 [XPG3] (SIGTRAP): Likewise.
16911 [POSIX || XPG3] (SIGURG): Likewise.
16912 [POSIX || XPG3] (SIGVTALRM): Likewise.
16913 [POSIX || XPG3] (SIGXCPU): Likewise.
16914 [POSIX || XPG3] (SIGXFSZ): Likewise.
16915 [POSIX] (SA_SIGINFO): Expect.
16916 [XPG3] (siginfo_t): Do not expect type or contents.
16917 [POSIX] (si_pid): Do not expect element.
16918 [POSIX] (si_uid): Likewise.
16919 [POSIX] (si_addr): Likewise.
16920 [POSIX] (si_status): Likewise.
16921 [POSIX] (si_band): Likewise.
16922 [XPG4] (si_value): Likewise.
16923 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16924 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16925 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16926 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16927 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16928 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16929 [POSIX || XPG3] (ILL_COPROC): Likewise.
16930 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16931 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16932 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16933 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16934 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16935 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16936 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16937 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16938 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16939 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16940 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16941 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16942 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16943 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16944 [POSIX || XPG3] (CLD_EXITED): Likewise.
16945 [POSIX || XPG3] (CLD_KILLED): Likewise.
16946 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16947 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16948 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16949 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16950 [POSIX || XPG3] (POLL_IN): Likewise.
16951 [POSIX || XPG3] (POLL_OUT): Likewise.
16952 [POSIX || XPG3] (POLL_MSG): Likewise.
16953 [POSIX || XPG3] (POLL_ERR): Likewise.
16954 [POSIX || XPG3] (POLL_PRI): Likewise.
16955 [POSIX || XPG3] (POLL_HUP): Likewise.
16956 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16957 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16958 (SIG*): Do not allow.
16959 [XPG3] (si_*): Likewise.
16960 [XPG3] (SI_*): Likewise.
16961 [XPG3 || XPG4] (sigev_*): Likewise.
16962 [XPG3 || XPG4] (SIGEV_*): Likewise.
16963 [XPG3 || XPG4] (sival_*): Likewise.
16964 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16965 [POSIX || XPG3] (BUS_*): Likewise.
16966 [POSIX || XPG3] (CLD_*): Likewise.
16967 [POSIX || XPG3] (FPE_*): Likewise.
16968 [POSIX || XPG3] (ILL_*): Likewise.
16969 [POSIX || XPG3] (POLL_*): Likewise.
16970 [POSIX || XPG3] (SEGV_*): Likewise.
16971 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16972 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16973 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16974 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16975 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16976 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16977 Specify type and value.
16978 (TVERSLEN): Likewise.
16979 (REGTYPE): Likewise.
16980 (AREGTYPE): Likewise.
16981 (LNKTYPE): Likewise.
16982 (SYMTYPE): Likewise.
16983 (CHRTYPE): Likewise.
16984 (BLKTYPE): Likewise.
16985 (DIRTYPE): Likewise.
16986 (FIFOTYPE): Likewise.
16987 (CONTTYPE): Likewise.
16988 (TSUID): Likewise.
16989 (TSGID): Likewise.
16990 (TSVTX): Likewise.
16991 (TUREAD): Likewise.
16992 (TUWRITE): Likewise.
16993 (TUEXEC): Likewise.
16994 (TGREAD): Likewise.
16995 (TGWRITE): Likewise.
16996 (TGEXEC): Likewise.
16997 (TOREAD): Likewise.
16998 (TOWRITE): Likewise.
16999 (TOEXEC): Likewise.
17000 [POSIX] (TSVTX): Expect constant.
17001
aa97dee1
JM
170022014-03-06 Joseph Myers <joseph@codesourcery.com>
17003
f214606a
JM
17004 * Makefile (tests): Change dependencies to ....
17005 (tests-special): ... additions to this variable.
17006 (tests): Depend on $(tests-special).
17007 * Makerules (check-abi-list): New variable.
17008 (check-abi): Depend on $(check-abi-list).
17009 [$(subdir) = elf] (tests-special): Add
17010 $(objpfx)check-abi-libc.out.
17011 [$(build-shared) = yes && subdir] (tests-special): Add
17012 $(check-abi-list).
17013 [$(build-shared) = yes && subdir] (tests): Do not depend on
17014 check-abi.
17015 * Rules (tests): Depend on $(tests-special).
17016 (xtests): Depend on $(xtests-special).
17017 * catgets/Makefile (tests): Change dependencies to ....
17018 (tests-special): ... additions to this variable.
17019 * conform/Makefile (tests): Change dependencies to ....
17020 (tests-special): ... additions to this variable.
17021 * elf/Makefile (tests): Change dependencies to ....
17022 (tests-special): ... additions to this variable.
17023 * grp/Makefile (tests): Change dependencies to ....
17024 (tests-special): ... additions to this variable.
17025 * iconv/Makefile (xtests): Change dependencies to ....
17026 (xtests-special): ... additions to this variable.
17027 * iconvdata/Makefile (tests): Change dependencies to ....
17028 (tests-special): ... additions to this variable.
17029 * intl/Makefile (tests): Change dependencies to ....
17030 (tests-special): ... additions to this variable. Also add
17031 $(objpfx)tst-gettext.out.
17032 * io/Makefile (tests): Change dependencies to ....
17033 (tests-special): ... additions to this variable.
17034 * libio/Makefile (tests): Change dependencies to ....
17035 (tests-special): ... additions to this variable.
17036 * malloc/Makefile (tests): Change dependencies to ....
17037 (tests-special): ... additions to this variable.
17038 * misc/Makefile (tests): Change dependencies to ....
17039 (tests-special): ... additions to this variable.
17040 * nptl/Makefile (tests): Change dependencies to ....
17041 (tests-special): ... additions to this variable.
17042 * nptl_db/Makefile (tests): Change dependencies to ....
17043 (tests-special): ... additions to this variable.
17044 * posix/Makefile (tests): Change dependencies to ....
17045 (tests-special): ... additions to this variable.
17046 (xtests): Change dependencies to ....
17047 (xtests-special): ... additions to this variable.
17048 * resolv/Makefile (tests): Change dependencies to ....
17049 (tests-special): ... additions to this variable.
17050 (xtests): Change dependencies to ....
17051 (xtests-special): ... additions to this variable.
17052 * stdio-common/Makefile (tests): Change dependencies to ....
17053 (tests-special): ... additions to this variable.
17054 (do-tst-unbputc): Remove target.
17055 (do-tst-printf): Likewise.
17056 * stdlib/Makefile (tests): Change dependencies to ....
17057 (tests-special): ... additions to this variable.
17058 * string/Makefile (tests): Change dependencies to ....
17059 (tests-special): ... additions to this variable.
17060 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17061 (tests-special): ... additions to this variable.
17062
81700b53
JM
17063 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17064 whole file.
17065 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17066 whole file.
17067 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17068 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17069
2ea18461
JM
17070 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17071 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17072 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17073 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17074 * conform/data/libgen.h-data [XPG3]: Likewise.
17075 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17076 * conform/data/ndbm.h-data [XPG3]: Likewise.
17077 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17078 * conform/data/netdb.h-data [XPG3]: Likewise.
17079 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17080 * conform/data/poll.h-data [XPG3]: Likewise.
17081 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17082 * conform/data/strings.h-data [XPG3]: Likewise.
17083 * conform/data/stropts.h-data [XPG3]: Likewise.
17084 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17085 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17086 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17087 Likewise.
17088 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17089 * conform/data/sys/time.h-data [XPG3]: Likewise.
17090 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17091 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17092 * conform/data/sys/un.h-data [XPG3]: Likewise.
17093 * conform/data/syslog.h-data [XPG3]: Likewise.
17094 * conform/data/ucontext.h-data [XPG3]: Likewise.
17095 * conform/data/utmpx.h-data [XPG3]: Likewise.
17096 * conform/data/varargs.h-data [UNIX98]: Enable file.
17097
355bc986
JM
17098 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17099
215db402
JM
17100 * math/libm-test.inc (struct test_f_f_data): Move expected results
17101 into structure for each rounding mode.
17102 (struct test_ff_f_data): Likewise.
17103 (struct test_ff_f_data_nexttoward): Likewise.
17104 (struct test_fi_f_data): Likewise.
17105 (struct test_fl_f_data): Likewise.
17106 (struct test_if_f_data): Likewise.
17107 (struct test_fff_f_data): Likewise.
17108 (struct test_c_f_data): Likewise.
17109 (struct test_f_f1_data): Likewise.
17110 (struct test_fF_f1_data): Likewise.
17111 (struct test_ffI_f1_data): Likewise.
17112 (struct test_c_c_data): Likewise.
17113 (struct test_cc_c_data): Likewise.
17114 (struct test_f_i_data): Likewise.
17115 (struct test_ff_i_data): Likewise.
17116 (struct test_f_l_data): Likewise.
17117 (struct test_f_L_data): Likewise.
17118 (struct test_fFF_11_data): Likewise.
17119 (RM_): New macro.
17120 (RM_FE_DOWNWARD): Likewise.
17121 (RM_FE_TONEAREST): Likewise.
17122 (RM_FE_TOWARDZERO): Likewise.
17123 (RM_FE_UPWARD): Likewise.
17124 (RUN_TEST_LOOP_f_f): Update references to expected results.
17125 (RUN_TEST_LOOP_2_f): Likewise.
17126 (RUN_TEST_LOOP_fff_f): Likewise.
17127 (RUN_TEST_LOOP_c_f): Likewise.
17128 (RUN_TEST_LOOP_f_f1): Likewise.
17129 (RUN_TEST_LOOP_fF_f1): Likewise.
17130 (RUN_TEST_LOOP_fI_f1): Likewise.
17131 (RUN_TEST_LOOP_ffI_f1): Likewise.
17132 (RUN_TEST_LOOP_c_c): Likewise.
17133 (RUN_TEST_LOOP_cc_c): Likewise.
17134 (RUN_TEST_LOOP_f_i): Likewise.
17135 (RUN_TEST_LOOP_f_i_tg): Likewise.
17136 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17137 (RUN_TEST_LOOP_f_b): Likewise.
17138 (RUN_TEST_LOOP_f_b_tg): Likewise.
17139 (RUN_TEST_LOOP_f_l): Likewise.
17140 (RUN_TEST_LOOP_f_L): Likewise.
17141 (RUN_TEST_LOOP_fFF_11): Likewise.
17142 * math/gen-libm-test.pl (parse_args): Output four copies of
17143 expected results for each test.
17144
67737b8f
JM
17145 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17146 (__ASSUME_UTIMES): Remove.
17147 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17148 (__ASSUME_UTIMES): Likewise.
17149
aa97dee1
JM
17150 * math/gen-auto-libm-tests.c: Update comment on output format.
17151 (output_for_one_input_case): Generate before-rounding and
17152 after-rounding information as conditions on output flags not
17153 floating-point format.
17154 * math/auto-libm-test-out: Regenerated.
17155 * math/gen-libm-test.pl (cond_value): New function.
17156 (or_cond_value): Use cond_value.
17157 (generate_testfile): Handle conditional exceptions.
17158
e6b6a857
JM
171592014-03-05 Joseph Myers <joseph@codesourcery.com>
17160
2f0a0f44
JM
17161 * math/libm-test.inc (max_valid_error): New variable.
17162 (init_max_error): Take new argument specifying whether function
17163 results are exactly determined. Set max_valid_error and bound
17164 other variables for errors based on this argument.
17165 (set_max_error): Do not record results above max_valid_error.
17166 (check_float_internal): Only accept errors of up to 0.5ulps if
17167 also at most max_valid_error.
17168 (START): Take new argument EXACT and pass it to init_max_error.
17169 (acos_test): Update call to START.
17170 (acos_test_tonearest): Likewise.
17171 (acos_test_towardzero): Likewise.
17172 (acos_test_downward): Likewise.
17173 (acos_test_upward): Likewise.
17174 (acosh_test): Likewise.
17175 (asin_test): Likewise.
17176 (asin_test_tonearest): Likewise.
17177 (asin_test_towardzero): Likewise.
17178 (asin_test_downward): Likewise.
17179 (asin_test_upward): Likewise.
17180 (asinh_test): Likewise.
17181 (atan_test): Likewise.
17182 (atanh_test): Likewise.
17183 (atan2_test): Likewise.
17184 (cabs_test): Likewise.
17185 (cacos_test): Likewise.
17186 (cacosh_test): Likewise.
17187 (carg_test): Likewise.
17188 (casin_test): Likewise.
17189 (casinh_test): Likewise.
17190 (catan_test): Likewise.
17191 (catanh_test): Likewise.
17192 (cbrt_test): Likewise.
17193 (ccos_test): Likewise.
17194 (ccosh_test): Likewise.
17195 (ceil_test): Likewise.
17196 (cexp_test): Likewise.
17197 (cimag_test): Likewise.
17198 (clog_test): Likewise.
17199 (clog10_test): Likewise.
17200 (conj_test): Likewise.
17201 (copysign_test): Likewise.
17202 (cos_test): Likewise.
17203 (cos_test_tonearest): Likewise.
17204 (cos_test_towardzero): Likewise.
17205 (cos_test_downward): Likewise.
17206 (cos_test_upward): Likewise.
17207 (cosh_test): Likewise.
17208 (cosh_test_tonearest): Likewise.
17209 (cosh_test_towardzero): Likewise.
17210 (cosh_test_downward): Likewise.
17211 (cosh_test_upward): Likewise.
17212 (cpow_test): Likewise.
17213 (cproj_test): Likewise.
17214 (creal_test): Likewise.
17215 (csin_test): Likewise.
17216 (csinh_test): Likewise.
17217 (csqrt_test): Likewise.
17218 (ctan_test): Likewise.
17219 (ctan_test_tonearest): Likewise.
17220 (ctan_test_towardzero): Likewise.
17221 (ctan_test_downward): Likewise.
17222 (ctan_test_upward): Likewise.
17223 (ctanh_test): Likewise.
17224 (ctanh_test_tonearest): Likewise.
17225 (ctanh_test_towardzero): Likewise.
17226 (ctanh_test_downward): Likewise.
17227 (ctanh_test_upward): Likewise.
17228 (erf_test): Likewise.
17229 (erfc_test): Likewise.
17230 (exp_test): Likewise.
17231 (exp_test_tonearest): Likewise.
17232 (exp_test_towardzero): Likewise.
17233 (exp_test_downward): Likewise.
17234 (exp_test_upward): Likewise.
17235 (exp10_test): Likewise.
17236 (exp10_test_tonearest): Likewise.
17237 (exp10_test_towardzero): Likewise.
17238 (exp10_test_downward): Likewise.
17239 (exp10_test_upward): Likewise.
17240 (pow10_test): Likewise.
17241 (exp2_test): Likewise.
17242 (expm1_test): Likewise.
17243 (expm1_test_tonearest): Likewise.
17244 (expm1_test_towardzero): Likewise.
17245 (expm1_test_downward): Likewise.
17246 (expm1_test_upward): Likewise.
17247 (fabs_test): Likewise.
17248 (fdim_test): Likewise.
17249 (floor_test): Likewise.
17250 (fma_test): Likewise.
17251 (fma_test_towardzero): Likewise.
17252 (fma_test_downward): Likewise.
17253 (fma_test_upward): Likewise.
17254 (fmax_test): Likewise.
17255 (fmin_test): Likewise.
17256 (fmod_test): Likewise.
17257 (fpclassify_test): Likewise.
17258 (frexp_test): Likewise.
17259 (hypot_test): Likewise.
17260 (ilogb_test): Likewise.
17261 (isfinite_test): Likewise.
17262 (finite_test): Likewise.
17263 (isgreater_test): Likewise.
17264 (isgreaterequal_test): Likewise.
17265 (isinf_test): Likewise.
17266 (isless_test): Likewise.
17267 (islessequal_test): Likewise.
17268 (islessgreater_test): Likewise.
17269 (isnan_test): Likewise.
17270 (isnormal_test): Likewise.
17271 (issignaling_test): Likewise.
17272 (isunordered_test): Likewise.
17273 (j0_test): Likewise.
17274 (j1_test): Likewise.
17275 (jn_test): Likewise.
17276 (ldexp_test): Likewise.
17277 (lgamma_test): Likewise.
17278 (gamma_test): Likewise.
17279 (lrint_test): Likewise.
17280 (lrint_test_tonearest): Likewise.
17281 (lrint_test_towardzero): Likewise.
17282 (lrint_test_downward): Likewise.
17283 (lrint_test_upward): Likewise.
17284 (llrint_test): Likewise.
17285 (llrint_test_tonearest): Likewise.
17286 (llrint_test_towardzero): Likewise.
17287 (llrint_test_downward): Likewise.
17288 (llrint_test_upward): Likewise.
17289 (log_test): Likewise.
17290 (log10_test): Likewise.
17291 (log1p_test): Likewise.
17292 (log2_test): Likewise.
17293 (logb_test): Likewise.
17294 (logb_test_downward): Likewise.
17295 (lround_test): Likewise.
17296 (llround_test): Likewise.
17297 (modf_test): Likewise.
17298 (nearbyint_test): Likewise.
17299 (nextafter_test): Likewise.
17300 (nexttoward_test): Likewise.
17301 (pow_test): Likewise.
17302 (pow_test_tonearest): Likewise.
17303 (pow_test_towardzero): Likewise.
17304 (pow_test_downward): Likewise.
17305 (pow_test_upward): Likewise.
17306 (remainder_test): Likewise.
17307 (drem_test): Likewise.
17308 (remainder_test_tonearest): Likewise.
17309 (drem_test_tonearest): Likewise.
17310 (remainder_test_towardzero): Likewise.
17311 (drem_test_towardzero): Likewise.
17312 (remainder_test_downward): Likewise.
17313 (drem_test_downward): Likewise.
17314 (remainder_test_upward): Likewise.
17315 (drem_test_upward): Likewise.
17316 (remquo_test): Likewise.
17317 (rint_test): Likewise.
17318 (rint_test_tonearest): Likewise.
17319 (rint_test_towardzero): Likewise.
17320 (rint_test_downward): Likewise.
17321 (rint_test_upward): Likewise.
17322 (round_test): Likewise.
17323 (scalb_test): Likewise.
17324 (scalbn_test): Likewise.
17325 (scalbln_test): Likewise.
17326 (signbit_test): Likewise.
17327 (sin_test): Likewise.
17328 (sin_test_tonearest): Likewise.
17329 (sin_test_towardzero): Likewise.
17330 (sin_test_downward): Likewise.
17331 (sin_test_upward): Likewise.
17332 (sincos_test): Likewise.
17333 (sinh_test): Likewise.
17334 (sinh_test_tonearest): Likewise.
17335 (sinh_test_towardzero): Likewise.
17336 (sinh_test_downward): Likewise.
17337 (sinh_test_upward): Likewise.
17338 (sqrt_test): Likewise.
17339 (sqrt_test_tonearest): Likewise.
17340 (sqrt_test_towardzero): Likewise.
17341 (sqrt_test_downward): Likewise.
17342 (sqrt_test_upward): Likewise.
17343 (tan_test): Likewise.
17344 (tan_test_tonearest): Likewise.
17345 (tan_test_towardzero): Likewise.
17346 (tan_test_downward): Likewise.
17347 (tan_test_upward): Likewise.
17348 (tanh_test): Likewise.
17349 (tgamma_test): Likewise.
17350 (trunc_test): Likewise.
17351 (y0_test): Likewise.
17352 (y1_test): Likewise.
17353 (yn_test): Likewise.
17354 (significand_test): Likewise.
17355
e6b6a857
JM
17356 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17357 individual tests in comment.
17358 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17359 (prev_max_error): New variable.
17360 (prev_real_max_error): Likewise.
17361 (prev_imag_max_error): Likewise.
17362 (compare_ulp_data): Don't refer to test names in comment.
17363 (find_test_ulps): Remove function.
17364 (find_function_ulps): Likewise.
17365 (find_complex_function_ulps): Likewise.
17366 (init_max_error): Take function name as argument. Look up ulps
17367 for that function.
17368 (print_ulps): Remove function.
17369 (print_max_error): Use prev_max_error instead of calling
17370 find_function_ulps.
17371 (print_complex_max_error): Use prev_real_max_error and
17372 prev_imag_max_error instead of calling find_complex_function_ulps.
17373 (check_float_internal): Take max_ulp parameter instead of calling
17374 find_test_ulps. Don't call print_ulps.
17375 (check_float): Update call to check_float_internal.
17376 (check_complex): Update calls to check_float_internal.
17377 (START): Pass argument to init_max_error.
17378 * math/gen-libm-test.pl (%results): Don't include "kind"
17379 information.
17380 (parse_ulps): Don't handle ulps of individual tests.
17381 (print_ulps_file): Likewise.
17382 (output_ulps): Likewise.
17383 * math/README.libm-test: Update.
17384 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17385 individual tests.
17386 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17387 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17388 * sysdeps/arm/libm-test-ulps: Likewise.
17389 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17390 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17391 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17392 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17393 * sysdeps/microblaze/libm-test-ulps: Likewise.
17394 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17395 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17397 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17399 * sysdeps/sh/libm-test-ulps: Likewise.
17400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17401 * sysdeps/tile/libm-test-ulps: Likewise.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403
45adef3c
JM
174042014-03-04 Joseph Myers <joseph@codesourcery.com>
17405
17406 * math/libm-test.inc (print_complex_max_error): Check separately
17407 whether real and imaginary errors are within allowed range and
17408 pass 0 to print_complex_function_ulps instead of value within
17409 allowed range.
17410
000232b9
SP
174112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17412
d4b17258
SP
17413 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17414 formatting.
17415 (get_handles_fopen): Likewise.
17416 (do_write_test): Likewise.
17417
091eff71
SP
17418 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17419
fa3cd248
SP
17420 * libio/fileops.c (do_ftell): Use cached offset when
17421 available.
17422 * libio/iofwide.c (do_ftell_wide): Likewise.
17423 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17424 _IO_file_attach.
17425 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17426
000232b9
SP
17427 [BZ #16532]
17428 * libio/libioP.h (get_file_offset): New function.
17429 * libio/fileops.c (get_file_offset): Likewise.
17430 (do_ftell): Likewise.
17431 (_IO_new_file_seekoff): Split out ftell logic.
17432 * libio/wfileops.c (do_ftell_wide): Likewise.
17433 (_IO_wfile_seekoff): Split out ftell logic.
17434 * libio/tst-ftell-active-handler.c: New test case.
17435 * libio/Makefile (tests): Add it.
17436
116f4d1a
RM
174372014-03-03 Roland McGrath <roland@hack.frob.com>
17438
17439 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17440 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17441
532a6035
SP
174422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
17444 [BZ #16639]
17445 * nscd/connections.c (nscd_init): Call do_exit.
17446 (start_threads): Call do_exit and notify_parent.
17447 (begin_drop_privileges): Call do_exit.
17448 (finish_drop_privileges): Likewise.
17449 * nscd/selinux.c (preserve_capabilities): Likewise.
17450 (install_real_capabilities): Likewise.
17451 (nscd_selinux_enabled): Likewise.
17452 (avc_create_thread): Likewise.
17453 (avc_alloc_lock): Likewise.
17454 (nscd_avc_init): Likewise.
17455 * nscd/nscd.c (parent_fd): New static variable.
17456 (main): Create a pipe between parent and child processes.
17457 Skip closing parent_fd.
17458 (monitor_child): New function.
17459 (do_exit): Likewise.
17460 (notify_parent): Likewise.
17461 * nscd/nscd.h (notify_parent): Likewise.
17462 (do_exit): Likewise.
17463
d6285c9f
CD
174642014-03-03 Carlos O'Donell <carlos@redhat.com>
17465
17466 * malloc/malloc.c (__libc_calloc): Revert last change.
17467
2b85d2a0
AZ
174682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17469
17470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17471
c7debbdf
RS
174722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17473
17474 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17476 implementation.
17477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17478 (__libc_ifunc_impl_list): Likewise.
17479 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17480 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17481 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17482 * string/strrchr.c: Define STRRCHR.
17483
235eed86
OB
174842014-02-28 Ondřej Bílka <neleai@seznam.cz>
17485
17486 * benchtest/bench-strtok.c (simple_strtok): Delete.
17487 (strtok_string): Use as benchmark.
17488 * string/strtok (STRTOK): New macro.
17489
8e25d1e7
CD
174902014-02-28 Carlos O'Donell <carlos@redhat.com>
17491
ef563f92
CD
17492 * manual/threads.texi: Add header and standard comments to all
17493 functions.
17494
8e25d1e7
CD
17495 * elf/dl-lookup.c (check_match): New function.
17496 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17497 (do_lookup_x): Remove nested function check_match. Use non-nested
17498 function check_match.
17499
ff71cc37
RM
175002014-02-28 Roland McGrath <roland@hack.frob.com>
17501
f08e9a26
RM
17502 * csu/Makefile (generated, before-compile): Use += rather than =.
17503 * catgets/Makefile (generated, generated-dirs): Likewise.
17504 * debug/Makefile (generated): Likewise.
17505 * dlfcn/Makefile (generated): Likewise.
17506 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17507 * iconvdata/Makefile (before-compile, generated): Likewise.
17508 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17509 * libio/Makefile (generated): Likewise.
17510 * malloc/Makefile (generated): Likewise.
17511 * manual/Makefile (generated, generated-dirs): Likewise.
17512 * misc/Makefile (generated): Likewise.
17513 * posix/Makefile (generated): Likewise.
17514 * resolv/Makefile (generated): Likewise.
17515 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17516 * timezone/Makefile (generated, generated-dirs): Likewise.
17517
ff71cc37
RM
17518 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17519
fe13a20c
AZ
175202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17521
57f41c40
AS
17522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17523 power8 implementation.
17524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17525 file: POWER8 llround ifunc implementation.
17526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17527 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17528 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17529 POWER8 llround implementation.
17530
57f41c40
AS
17531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17532 power8 implementation.
17533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17534 file: POWER8 llrint ifunc implementation.
17535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17536 Add POWER8 implementation.
1ad8950a
AZ
17537 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17538 POWER8 llrint implementation.
17539
57f41c40
AS
17540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17541 power8 implementation.
17542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17543 file: POWER8 finite ifunc implementation.
17544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17545 Add POWER8 implementation.
cac626d6
AZ
17546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17547 Likewise.
17548 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17549 POWER8 finite implementation.
17550 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17551
57f41c40
AS
17552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17553 power8 implementation.
17554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17555 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17557 POWER8 implementation.
17558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17559 Likewise.
57f41c40
AS
17560 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17561 isinf implementation.
4393fc11
AZ
17562 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17563
57f41c40
AS
17564 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17565 (INIT_ARCH): Add hwcap2 initialization.
17566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17567 power8 implementation.
17568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17569 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17571 POWER8 implementation.
17572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17573 Likewise.
57f41c40
AS
17574 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17575 isnan implementation.
487972ae
AZ
17576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17577
7d92b787
JY
175782014-02-27 Joey Ye <joey.ye@arm.com>
17579
17580 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17581 (_FP_NANFRAC_Q): Set to zero.
17582
1cadc858
SP
175832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17584
17585 [BZ #16623]
17586 * math/auto-libm-test-in: New test inputs.
17587 * math/auto-libm-test-out: Regenerate.
17588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17589 and DA.
17590 (__cos): Likewise.
17591 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17592
f8c17e79
JM
175932014-02-27 Joseph Myers <joseph@codesourcery.com>
17594
17595 * scripts/evaluate-test.sh: Take new argument indicating whether
17596 failure is expected.
17597 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17598 indicating whether failure is expected.
17599 * conform/Makefile (test-xfail-run-conformtest): New variable.
17600 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17601 level.
17602 * posix/Makefile (test-xfail-annexc): New variable.
17603 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17604
a5f891ac
JM
176052014-02-26 Joseph Myers <joseph@codesourcery.com>
17606
17607 * argp/Makefile: Include Makeconfig immediately after defining
17608 subdir.
17609 * assert/Makefile: Likewise.
17610 * benchtests/Makefile: Likewise.
17611 * catgets/Makefile: Likewise.
17612 * conform/Makefile: Likewise.
17613 * crypt/Makefile: Likewise.
17614 * csu/Makefile: Likewise.
17615 (all): Remove target.
17616 * ctype/Makefile: Include Makeconfig immediately after defining
17617 subdir.
17618 * debug/Makefile: Likewise.
17619 * dirent/Makefile: Likewise.
17620 * dlfcn/Makefile: Likewise.
17621 * gmon/Makefile: Likewise.
17622 * gnulib/Makefile: Likewise.
17623 * grp/Makefile: Likewise.
17624 * gshadow/Makefile: Likewise.
17625 * hesiod/Makefile: Likewise.
17626 * hurd/Makefile: Likewise.
17627 (all): Remove target.
17628 * iconvdata/Makefile: Include Makeconfig immediately after
17629 defining subdir.
17630 * inet/Makefile: Likewise.
17631 * intl/Makefile: Likewise.
17632 * io/Makefile: Likewise.
17633 * libio/Makefile: Likewise.
17634 (all): Remove target.
17635 * locale/Makefile: Include Makeconfig immediately after defining
17636 subdir.
17637 * login/Makefile: Likewise.
17638 * mach/Makefile: Likewise.
17639 (all): Remove target.
17640 * malloc/Makefile: Include Makeconfig immediately after defining
17641 subdir.
17642 (all): Remove target.
17643 * manual/Makefile: Include Makeconfig immediately after defining
17644 subdir.
17645 * math/Makefile: Likewise.
17646 * misc/Makefile: Likewise.
17647 * nis/Makefile: Likewise.
17648 * nss/Makefile: Likewise.
17649 * po/Makefile: Likewise.
17650 (all): Remove target.
17651 * posix/Makefile: Include Makeconfig immediately after defining
17652 subdir.
17653 * pwd/Makefile: Likewise.
17654 * resolv/Makefile: Likewise.
17655 * resource/Makefile: Likewise.
17656 * rt/Makefile: Likewise.
17657 * setjmp/Makefile: Likewise.
17658 * shadow/Makefile: Likewise.
17659 * signal/Makefile: Likewise.
17660 * socket/Makefile: Likewise.
17661 * soft-fp/Makefile: Likewise.
17662 * stdio-common/Makefile: Likewise.
17663 * stdlib/Makefile: Likewise.
17664 * streams/Makefile: Likewise.
17665 * string/Makefile: Likewise.
17666 * sunrpc/Makefile: Likewise.
17667 (all): Remove target.
17668 * sysvipc/Makefile: Include Makeconfig immediately after defining
17669 subdir.
17670 * termios/Makefile: Likewise.
17671 * time/Makefile: Likewise.
17672 * timezone/Makefile: Likewise.
17673 (all): Remove target.
17674 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17675 subdir.
17676 * wctype/Makefile: Likewise.
17677
5b456e9d
SE
176782014-02-26 Steve Ellcey <sellcey@mips.com>
17679
17680 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17681 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17682 (libc_feholdexcept_setround_mips): Ditto.
17683 (libc_feholdsetround): New.
17684 (libc_feholdsetroundf): New.
17685 (libc_feholdsetroundl): New.
17686 (libc_feupdateenv_test_mips): New.
17687 (libc_feupdateenv_test): New.
17688 (libc_feupdateenv_testf): New.
17689 (libc_feupdateenv_testl): New.
17690 (libc_feresetround): New.
17691 (libc_feresetroundf): New.
17692 (libc_feresetroundl): New.
17693 (libc_fetestexcept_mips): New.
17694 (libc_fetestexcept): New.
17695 (libc_fetestexceptf): New.
17696 (libc_fetestexceptl): New.
17697 (HAVE_RM_CTX): New.
17698 (libc_feholdexcept_setround_mips_ctx): New.
17699 (libc_feholdexcept_setround_ctx): New.
17700 (libc_feholdexcept_setroundf_ctx): New.
17701 (libc_feholdexcept_setroundl_ctx): New.
17702 (libc_fesetenv_mips_ctx): New.
17703 (libc_fesetenv_ctx): New.
17704 (libc_fesetenv_ctxf): New.
17705 (libc_fesetenv_ctxl): New.
17706 (libc_feupdateenv_mips_ctx): New.
17707 (libc_feupdateenv_ctx): New.
17708 (libc_feupdateenvf_ctx): New.
17709 (libc_feupdateenvl_ctx): New.
17710 (libc_feholdsetround_mips_ctx): New.
17711 (libc_feholdsetround_ctx): New.
17712 (libc_feholdsetroundf_ctx): New.
17713 (libc_feholdsetroundl_ctx): New.
17714 (libc_feresetround_mips_ctx): New.
17715 (libc_feresetround_ctx): New.
17716 (libc_feresetroundf_ctx): New.
17717 (libc_feresetroundl_ctx): New.
17718
085d0e35
CD
177192014-02-26 Carlos O'Donell <carlos@redhat.com>
17720
f067bf1f
CD
17721 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17722
085d0e35
CD
17723 * manual/ipc.texi: New file.
17724 * manual/Makefile (chapters): Add ipc.
17725 * manual/job.texi: Add "Inter-Process Communication" to next.
17726 * manual/process.texi: Add "Inter-Process Communication" to prev.
17727
86e58c08
AZ
177282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17729
17730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17731
4248f0da
OB
177322014-02-26 Ondřej Bílka <neleai@seznam.cz>
17733
17734 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17735
cf822e3c
OB
17736 * manual/arith.texi: Fix spaces after sentences.
17737 * manual/charset.texi: Likewise.
17738 * manual/errno.texi: Likewise.
17739 * manual/install.texi: Likewise.
17740 * manual/llio.texi: Likewise.
17741 * manual/locale.texi: Likewise.
17742 * manual/maint.texi: Likewise.
17743 * manual/math.texi: Likewise.
17744 * manual/memory.texi: Likewise.
17745 * manual/message.texi: Likewise.
17746 * manual/probes.texi: Likewise.
17747 * manual/resource.texi: Likewise.
17748 * manual/signal.texi: Likewise.
17749 * manual/socket.texi: Likewise.
17750 * manual/stdio.texi: Likewise.
17751 * manual/string.texi: Likewise.
17752 * manual/time.texi: Likewise.
17753 * manual/users.texi: Likewise.
17754
ade40b10
CD
177552014-02-25 Carlos O'Donell <carlos@redhat.com>
17756
17757 [BZ #16632]
17758 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17759 _DEFAULT_SOURCE is defined.
17760
d0503676
CD
177612014-02-25 Ulrich Drepper <drepper@gmail.com>
17762 Carlos O'Donell <carlos@redhat.com>
17763
17764 [BZ #16613]
17765 * elf/dl-tls.c (_dl_count_modids): New function.
17766 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17767 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17768 audit library and increment generation counter.
17769 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17770 * elf/tst-audit9.c: New file.
17771 * elf/tst-auditmod9a.c: New file.
17772 * elf/tst-auditmod9b.c: New file.
17773 * elf/Makefile: Add rules to build and run tst-audit9.
17774
4cbf380c
FW
177752014-02-25 Florian Weimer <fweimer@redhat.com>
17776
17777 [BZ #15347]
17778 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17779
80a56cc3
WN
177802014-02-25 Will Newton <will.newton@linaro.org>
17781
17782 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17783 (__longjmp): Restore sp and lr before restoring callee
17784 saved registers. Add longjmp and longjmp_target
17785 SystemTap probe point.
17786 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17787 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17788 Define to zero to match jmpbuf layout.
17789 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17790 (__sigsetjmp): Save sp and lr before saving callee
17791 saved registers. Add setjmp SystemTap probe point.
17792
3ea0f74e
SL
177932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17794
17795 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17796
b04acb26
AS
177972014-02-24 Andreas Schwab <schwab@suse.de>
17798
17799 [BZ #15804]
17800 * elf/pldd.c (wait_for_ptrace_stop): New function.
17801 (main): Call it after attaching.
17802
098ad55c
RM
178032014-02-22 Roland McGrath <roland@hack.frob.com>
17804
d4ec6ae1
RM
17805 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17806 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17807 Versions files is now verboten.
17808 * hurd/Versions (libc: GLIBC_2.0):
17809 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17810 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17811 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17812 * mach/Versions: Likewise.
17813
098ad55c
RM
17814 * csu/Versions: Remove unused %include.
17815 * resolv/Versions: Likewise.
17816
acd7f096
JM
178172014-02-21 Joseph Myers <joseph@codesourcery.com>
17818
f0881698
JM
17819 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17820 ($(objpfx)check-local-headers.out): Likewise.
17821 ($(objpfx)begin-end-check.out): Likewise.
17822 * Makerules (check-abi-%.out): Likewise.
17823 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17824 ($(objpfx)test2.cat): Likewise.
17825 ($(objpfx)de/libc.cat): Likewise.
17826 ($(objpfx)test-gencat.out): Likewise.
17827 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17828 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17829 ($(objpfx)noload-mem): Likewise.
17830 ($(objpfx)tst-pathopt.out): Likewise.
17831 ($(objpfx)tst-rtld-load-self.out): Likewise.
17832 ($(objpfx)tst-array1-cmp.out): Likewise.
17833 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17834 ($(objpfx)tst-array2-cmp.out): Likewise.
17835 ($(objpfx)tst-array3-cmp.out): Likewise.
17836 ($(objpfx)tst-array4-cmp.out): Likewise.
17837 ($(objpfx)tst-array5-cmp.out): Likewise.
17838 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17839 ($(objpfx)check-textrel.out): Likewise.
17840 ($(objpfx)check-execstack.out): Likewise.
17841 ($(objpfx)check-localplt.out): Likewise.
17842 ($(objpfx)order2-cmp.out): Likewise.
17843 ($(objpfx)tst-leaks1-mem): Likewise.
17844 ($(objpfx)tst-leaks1-static-mem): Likewise.
17845 ($(objpfx)tst-initorder-cmp.out): Likewise.
17846 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17847 ($(objpfx)tst-unused-dep.out): Likewise.
17848 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17849 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17850 * iconv/Makefile (test-iconvconfig): Likewise.
17851 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17852 ($(objpfx)iconv-test.out): Likewise.
17853 ($(objpfx)tst-tables.out): Likewise.
17854 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17855 ($(objpfx)tst-gettext.out): Likewise.
17856 ($(objpfx)tst-translit.out): Likewise.
17857 ($(objpfx)tst-gettext2.out): Likewise.
17858 ($(objpfx)tst-gettext4.out): Likewise.
17859 ($(objpfx)tst-gettext6.out): Likewise.
17860 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17861 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17862 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17863 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17865 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17866 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17867 ($(objpfx)wordexp-tst.out): Likewise.
17868 ($(objpfx)annexc.out): Likewise.
17869 ($(objpfx)tst-fnmatch-mem): Likewise.
17870 ($(objpfx)bug-regex2-mem): Likewise.
17871 ($(objpfx)bug-regex14-mem): Likewise.
17872 ($(objpfx)bug-regex21-mem): Likewise.
17873 ($(objpfx)bug-regex31-mem): Likewise.
17874 ($(objpfx)tst-vfork3-mem): Likewise.
17875 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17876 ($(objpfx)tst-pcre-mem): Likewise.
17877 ($(objpfx)tst-boost-mem): Likewise.
17878 ($(objpfx)tst-getconf.out): Likewise.
17879 ($(objpfx)bug-ga2-mem): Likewise.
17880 ($(objpfx)bug-glob2-mem): Likewise.
17881 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17882 ($(objpfx)mtrace-tst-leaks2): Likewise.
17883 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17884 ($(objpfx)tst-printf.out): Likewise.
17885 ($(objpfx)tst-setvbuf1.out): Likewise.
17886 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17887 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17888 ($(objpfx)tst-fmtmsg.out): Likewise.
17889 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17890 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17891
acd7f096
JM
17892 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17893 * bits/sigaction.h [__USE_MISC]: Likewise.
17894 * bits/waitstatus.h: Update #endif comments.
17895 * ctype/ctype.h: Likewise.
17896 * dirent/dirent.h: Likewise.
17897 [__USE_MISC]: Remove redundant conditionals.
17898 * grp/grp.h: Update #endif comments.
17899 [__USE_GNU]: Remove redundant conditionals.
17900 [__USE_MISC]: Likewise.
17901 * inet/netinet/in.h [__USE_GNU]: Likewise.
17902 * io/sys/stat.h [__USE_MISC]: Likewise.
17903 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17904 * libio/bits/stdio.h: Update #endif comments.
17905 [__USE_MISC]: Remove redundant conditionals.
17906 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17907 * libio/stdio.h: Update #endif comments.
17908 [__USE_MISC]: Remove redundant conditionals.
17909 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17910 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17911 * math/math.h: Update #else and #endif comments.
17912 [__USE_MISC]: Remove redundant conditionals.
17913 * misc/sys/uio.h: Update #endif comments.
17914 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17915 * posix/glob.h [__USE_MISC]: Likewise.
17916 * posix/sys/types.h: Update #endif comments.
17917 [__USE_MISC]: Remove redundant conditionals.
17918 * posix/sys/wait.h: Update #endif comments.
17919 [__USE_MISC]: Remove redundant conditionals.
17920 * posix/unistd.h: Update #endif comments.
17921 [__USE_MISC]: Remove redundant conditionals.
17922 * pwd/pwd.h [__USE_GNU]: Likewise.
17923 [__USE_MISC]: Likewise.
17924 * resolv/netdb.h [__USE_GNU]: Likewise.
17925 * signal/signal.h: Update #endif comments.
17926 [__USE_MISC]: Remove redundant conditionals.
17927 * stdlib/stdlib.h: Update #else and #endif comments.
17928 [__USE_MISC]: Remove redundant conditionals.
17929 [__USE_GNU]: Likewise.
17930 * string/bits/string2.h [__USE_MISC]: Likewise.
17931 * string/string.h: Update #endif comments.
17932 [__USE_MISC]: Remove redundant conditionals.
17933 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17934 Likewise.
17935 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17936 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17937 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17938 Likewise.
17939 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17940 Likewise.
17941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17942 comments.
17943 [__USE_MISC]: Remove redundant conditionals.
17944 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17945 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17946 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17947 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17948 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17949 Likewise.
17950 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17951 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17952 Likewise.
17953 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17954 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17955 Likewise.
17956 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17957 Likewise.
17958 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17959 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17960 Likewise.
17961 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17962 Likewise.
17963 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17964 * sysdeps/x86/bits/string.h: Update #endif comments.
17965 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17966 conditionals.
17967 * time/sys/time.h: Update #endif comments.
17968 * time/time.h: Likewise.
17969 [__USE_MISC]: Remove redundant conditionals.
17970
a5d82e4e
YG
179712014-02-21 Yury Gribov <y.gribov@samsung.com>
17972
17973 [BZ #16600]
17974 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17975
9a80491d
AS
179762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * Versions.def (librt): Add GLIBC_2.17.
17979
105fa381
AC
179802014-02-21 Adam Conrad <adconrad@0c3.net>
17981
17982 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17983 synonym for _SYS_AUXV_H to allow direct inclusion.
17984 * sysdeps/sparc/bits/hwcap.h: Likewise.
17985 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17986 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17987 * sysdeps/sparc/sysdep.h: Likewise.
17988
b8cd1c4e
SP
179892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17990
17991 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17992
bd939d23
RS
179932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17994
17995 * benchtests/bench-strrchr.c: Print length instead of position.
17996
5d7b57ca
JM
179972014-02-20 Joseph Myers <joseph@codesourcery.com>
17998
bc688c10
JM
17999 [BZ #16611]
18000 * sysdeps/unix/sysv/linux/kernel-features.h
18001 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18002 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18003 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18004 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18005 Likewise.
18006 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18007 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18008 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18009 (__ASSUME_SENDMMSG): Define instead of using previous
18010 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18012 (__ASSUME_SENDMMSG_SYSCALL): Define.
18013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18014 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18015 Likewise.
18016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18017 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18018 Likewise.
18019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18020 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18021 Likewise.
18022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18023 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18024 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18025 [__ASSUME_SENDMMSG]: Change conditionals to
18026 [__ASSUME_SENDMMSG_SOCKETCALL].
18027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18028 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18029 Define.
18030 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18031 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18032 Likewise.
18033 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18034 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18035 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18036 [!__ASSUME_SENDMMSG]: Change conditional to
18037 [!__ASSUME_SENDMMSG_SOCKETCALL].
18038 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18039 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18040 Define.
18041
0e31b18c
JM
18042 [BZ #16610]
18043 * sysdeps/unix/sysv/linux/kernel-features.h
18044 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18045 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18046 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18047 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18048 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18049 [__i386__ || __sparc__]
18050 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18051 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18052 (__ASSUME_RECVMMSG): Define instead of using previous
18053 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18055 (__ASSUME_RECVMMSG_SYSCALL): Define.
18056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18058 Likewise.
18059 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18064 Likewise.
18065 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18066 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18067 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18068 [__ASSUME_RECVMMSG]: Change condition to
18069 [__ASSUME_RECVMMSG_SOCKETCALL].
18070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18071 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18072 Define.
18073 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18074 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18076 Likewise.
18077 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18078 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18079 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18080 [!__ASSUME_RECVMMSG]: Change condition to
18081 [!__ASSUME_RECVMMSG_SOCKETCALL].
18082 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18083 (__ASSUME_RECVMMSG_SYSCALL): Define.
18084
dd481ccf
JM
18085 [BZ #16609]
18086 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18087 __powerpc__ || __s390__ || __sh__ || __sparc__]
18088 (__ASSUME_SOCKETCALL): Define.
18089 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18090 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18091 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18092 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18093 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18094 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18095 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18096 (__ASSUME_ACCEPT4): Define instead of using previous
18097 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18098 __powerpc__ || __sparc__ || __s390__)] condition.
18099 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18100 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18101 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18102 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18103 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18104 [!__ASSUME_ACCEPT4]: Change condition to
18105 [!__ASSUME_ACCEPT4_SOCKETCALL].
18106 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18107 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18108 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18109 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18110 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18111 __ASSUME_ACCEPT4_SYSCALL.
18112 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18113 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18115 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18116 __ASSUME_ACCEPT4_SYSCALL.
18117 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18118 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18119 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18120 [__ASSUME_ACCEPT4]: Change condition to
18121 [__ASSUME_ACCEPT4_SOCKETCALL].
18122 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18123 (__ASSUME_SOCKETCALL): Define.
18124 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18126 (__ASSUME_SOCKETCALL): Define.
18127 (__ASSUME_ACCEPT4): Remove.
18128 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18129 Define.
18130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18131 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18134 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18135
5d7b57ca
JM
18136 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18137 macro.
18138 (HWCAP_ARM_LPAE): Likewise.
18139 (HWCAP_ARM_EVTSTRM): Likewise.
18140 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18141 Add vpfd32, lpae and evtstrm.
18142 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18143 Increase to 22.
18144
63689d61
JM
181452014-02-19 Joseph Myers <joseph@codesourcery.com>
18146
18147 * math/auto-libm-test-in: Add tests of clog10.
18148 * math/auto-libm-test-out: Regenerated.
18149 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18150 * sysdeps/i386/fpu/libm-test-ulps: Update.
18151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18152
ab09bf61
AS
181532014-02-18 Andreas Schwab <schwab@suse.de>
18154
18155 [BZ #16574]
18156 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18157 Store non-zero if the second buffer was newly allocated.
18158 (send_dg): Likewise.
18159 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18160 to send_vc and send_dg.
18161 (res_nsend): Pass NULL for ansp2_malloced.
18162 * resolv/res_query.c (__libc_res_nquery): Add parameter
18163 answerp2_malloced and pass it down to __libc_res_nsend.
18164 (res_nquery): Pass additional NULL to __libc_res_nquery.
18165 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18166 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18167 second answer buffer if answerp2_malloced was set.
18168 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18169 (__libc_res_nquerydomain): Add parameter
18170 answerp2_malloced and pass it down to __libc_res_nquery.
18171 (res_nquerydomain): Pass additional NULL to
18172 __libc_res_nquerydomain.
18173 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18174 additional NULL to __libc_res_nsend and __libc_res_nquery.
18175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18176 additional NULL to __libc_res_nsearch.
18177 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18178 parameter of __libc_res_nsearch to check for separately allocated
18179 second buffer.
18180 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18181 __libc_res_nquery.
18182 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18183 additional NULL to __libc_res_nquery.
18184 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18185 __libc_res_nsearch.
18186 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18187 * include/resolv.h: Update prototypes of __libc_res_nquery,
18188 __libc_res_nsearch, __libc_res_nsend.
18189
a4fb7861
JM
181902014-02-18 Joseph Myers <joseph@codesourcery.com>
18191
c6af2d89
JM
18192 * math/auto-libm-test-in: Add tests of fma.
18193 * math/auto-libm-test-out: Regenerated.
18194 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18195 (fma_towardzero_test_data): Likewise.
18196 (fma_downward_test_data): Likewise.
18197 (fma_upward_test_data): Likewise.
18198 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18199 mpc_mode.
18200 (rounding_modes): Add values for new field.
18201 (func_calc_method): Add value mpfr_fff_f.
18202 (func_calc_desc): Add mpfr_fff_f union field.
18203 (test_function): Add field exact_args.
18204 (FUNC): Add macro argument EXACT_ARGS.
18205 (FUNC_mpfr_f_f): Update call to FUNC.
18206 (FUNC_mpfr_f_f): Likewise.
18207 (FUNC_mpfr_ff_f): Likewise.
18208 (FUNC_mpfr_if_f): Likewise.
18209 (FUNC_mpc_c_f): Likewise.
18210 (FUNC_mpc_c_c): Likewise.
18211 (test_functions): Add fma. Update calls to FUNC.
18212 (handle_input_arg): Add argument exact_args.
18213 (add_test): Update call to handle_input_arg.
18214 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18215 (output_for_one_input_case): Update call to calc_generic_results.
18216 Recalculate exact zero results in each rounding mode.
18217
a4fb7861
JM
18218 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18219 non-negative before setting low bit.
18220 * math/auto-libm-test-in: Mark one asin test possibly having
18221 spurious underflow.
18222 * math/auto-libm-test-out: Regenerated.
18223 * sysdeps/i386/fpu/libm-test-ulps: Update.
18224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18225
ef114eaf
DH
182262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18227
2b7f4f2c
SP
18228 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18229 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18230 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18231 * README: Add missing listing for microblaze*-*-linux-gnu.
18232
8125aedc
AM
182332014-02-16 Ondřej Bílka <neleai@seznam.cz>
18234
18235 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18236 duplicate code
18237
c70a4b1d
MF
182382014-02-16 Mike Frysinger <vapier@gentoo.org>
18239
18240 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18241 * sysdeps/unix/sysv/linux/ia64: Move directory from
18242 ports/sysdeps/unix/sysv/linux/ia64.
18243 * README: Update listing for ia64-*-linux-gnu.
18244
591aeaf7
TD
182452014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18246 Joseph Myers <joseph@codesourcery.com>
18247
18248 * Makeconfig (test-name): New variable.
18249 (evaluate-test): Likewise.
18250 * Makerules (do-test-clean): Remove .test-result files.
18251 (common-mostlyclean): Likewise.
18252 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18253 * scripts/evaluate-test.sh: New file.
18254
6e89caf1
JM
182552014-02-14 Joseph Myers <joseph@codesourcery.com>
18256
7f98f180
JM
18257 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18258 separate $(objpfx)tst-fopenloc-cmp.out and
18259 $(objpfx)tst-fopenloc-mem.out targets.
18260 (tests): Update dependencies.
18261 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18262 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18263 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18264 (tst-rxspencer-no-utf8-ARGS): New variable.
18265 (tst-rxspencer-no-utf8-ENV): Likewise.
18266 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18267 instead of $(objpfx)tst-rxspencer-mem.
18268 ($(objpfx)tst-rxspencer-mem): Change target to
18269 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18270 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18271 * posix/tst-rxspencer-no-utf8.c: New file.
18272
6e89caf1
JM
18273 * elf/Makefile ($(objpfx)order.out): Remove rule.
18274 [$(run-built-tests) = yes] (tests): Depend on
18275 $(objpfx)order-cmp.out.
18276 ($(objpfx)order-cmp.out): New rule.
18277 [$(run-built-tests) = yes] (tests): Depend on
18278 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18279 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18280 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18281 $(objpfx)tst-array5-static-cmp.out.
18282 ($(objpfx)tst-array1.out): Remove rule.
18283 ($(objpfx)tst-array1-cmp.out): New rule.
18284 ($(objpfx)tst-array1-static.out): Remove rule.
18285 ($(objpfx)tst-array1-static-cmp.out): New rule.
18286 ($(objpfx)tst-array2.out): Remove rule.
18287 ($(objpfx)tst-array2-cmp.out): New rule.
18288 ($(objpfx)tst-array3.out): Remove rule.
18289 ($(objpfx)tst-array3-cmp.out): New rule.
18290 ($(objpfx)tst-array4.out): Remove rule.
18291 ($(objpfx)tst-array4-cmp.out): New rule.
18292 ($(objpfx)tst-array5.out): Remove rule.
18293 ($(objpfx)tst-array5-cmp.out): New rule.
18294 ($(objpfx)tst-array5-static.out): Remove rule.
18295 ($(objpfx)tst-array5-static-cmp.out): New rule.
18296 [$(run-built-tests) = yes] (tests): Depend on
18297 $(objpfx)order2-cmp.out.
18298 ($(objpfx)order2.out): Remove rule.
18299 ($(objpfx)order2-cmp.out): New rule.
18300 ($(objpfx)tst-initorder.out): Remove rule.
18301 [$(run-built-tests) = yes] (tests): Depend on
18302 $(objpfx)tst-initorder-cmp.out.
18303 ($(objpfx)tst-initorder-cmp.out): New rule.
18304 ($(objpfx)tst-initorder2.out): Remove rule.
18305 [$(run-built-tests) = yes] (tests): Depend on
18306 $(objpfx)tst-initorder2-cmp.out.
18307 ($(objpfx)tst-initorder2-cmp.out): New rule.
18308 [$(run-built-tests) = yes] (tests): Depend on
18309 $(objpfx)tst-unused-dep-cmp.out.
18310 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18311 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18312 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18313 on $(objpfx)tst-setvbuf1-cmp.out.
18314 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18315 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18316 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18317 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18318 ($(objpfx)tst-svc.out): Remove rule.
18319 ($(objpfx)tst-svc-cmp.out): New rule.
18320
ed9a38e2
JM
183212014-02-13 Joseph Myers <joseph@codesourcery.com>
18322
18323 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18324 * ctype/ctype.h [__USE_MISC]: Likewise.
18325 * dirent/dirent.h [__USE_MISC]: Likewise.
18326 * grp/grp.h [__USE_MISC]: Likewise.
18327 * io/fcntl.h [__USE_MISC]: Likewise.
18328 * io/sys/stat.h [__USE_MISC]: Likewise.
18329 * libio/stdio.h [__USE_MISC]: Likewise.
18330 * posix/unistd.h [__USE_MISC]: Likewise.
18331 * pwd/pwd.h [__USE_MISC]: Likewise.
18332 * stdlib.h [__USE_MISC]: Likewise.
18333 * string/bits/string2.h [__USE_MISC]: Likewise.
18334 * string/string.h [__USE_MISC]: Likewise.
18335 * time/time.h [__USE_MISC]: Likewise.
18336
d6680619
AS
183372014-02-13 Andreas Schwab <schwab@suse.de>
18338
18339 [BZ #16574]
18340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18341 second answer buffer if it was separately allocated.
18342
ace614b8
JM
183432014-02-12 Joseph Myers <joseph@codesourcery.com>
18344
743151ae
JM
18345 * sysdeps/mips/math-tests.h: Include <features.h>.
18346 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18347 (ROUNDING_TESTS_long_double): Do not define.
18348 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18349 (EXCEPTION_TESTS_long_double): Likewise.
18350 * sysdeps/mips/mips64/libm-test-ulps: Update.
18351
498afc54
JM
18352 * include/features.h (__USE_BSD): Remove macro definitions.
18353 (__USE_SVID): Likewise.
18354 (_BSD_SOURCE): Likewise.
18355 (_SVID_SOURCE): Likewise.
18356 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18357 from definition of _DEFAULT_SOURCE.
18358 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18359 [_DEFAULT_SOURCE].
18360 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18361 * bits/mman.h [__USE_BSD]: Likewise.
18362 * bits/termios.h [__USE_BSD]: Likewise.
18363 * bits/waitstatus.h [__USE_BSD]: Likewise.
18364 * ctype/ctype.h [__USE_SVID]: Likewise.
18365 * dirent/dirent.h [__USE_BSD]: Likewise.
18366 * grp/grp.h [__USE_SVID]: Likewise.
18367 [__USE_BSD]: Likewise.
18368 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18369 * io/fcntl.h [__USE_BSD]: Likewise.
18370 * io/ftw.h [__USE_BSD]: Likewise.
18371 * io/sys/stat.h [__USE_BSD]: Likewise.
18372 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18373 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18374 * libio/stdio.h [__USE_SVID]: Likewise.
18375 [__USE_BSD]: Likewise.
18376 * math/math.h [__USE_SVID]: Likewise.
18377 [__USE_BSD]: Likewise.
18378 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18379 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18380 * misc/search.h [__USE_SVID]: Likewise.
18381 * misc/sys/mman.h [__USE_BSD]: Likewise.
18382 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18383 * misc/sys/uio.h [__USE_BSD]: Likewise.
18384 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18385 * posix/glob.h [__USE_BSD]: Likewise.
18386 * posix/regex.h [__USE_BSD]: Likewise.
18387 * posix/sys/types.h [__USE_BSD]: Likewise.
18388 [__USE_SVID]: Likewise.
18389 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18390 * posix/sys/wait.h [__USE_BSD]: Likewise.
18391 [__USE_SVID]: Likewise.
18392 * posix/unistd.h [__USE_BSD]: Likewise.
18393 [__USE_SVID]: Likewise.
18394 * pwd/pwd.h [__USE_SVID]: Likewise.
18395 * resolv/netdb.h [__USE_BSD]: Likewise.
18396 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18397 * signal/signal.h [__USE_BSD]: Likewise.
18398 [__USE_SVID]: Likewise.
18399 * socket/sys/socket.h [__USE_BSD]: Likewise.
18400 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18401 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18402 [__USE_SVID]: Likewise.
18403 * string/bits/string2.h [__USE_BSD]: Likewise.
18404 [__USE_SVID]: Likewise.
18405 * string/bits/string3.h [__USE_BSD]: Likewise.
18406 * string/endian.h [__USE_BSD]: Likewise.
18407 * string/string.h [__USE_SVID]: Likewise.
18408 [__USE_BSD]: Likewise.
18409 * string/strings.h [__USE_BSD]: Likewise.
18410 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18411 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18412 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18413 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18414 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18415 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18416 Likewise.
18417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18418 Likewise.
18419 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18420 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18421 Likewise.
18422 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18423 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18424 Likewise.
18425 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18426 Likewise.
18427 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18428 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18430 Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18432 Likewise.
18433 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18434 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18435 * termios/termios.h [__USE_BSD]: Likewise.
18436 * time/sys/time.h [__USE_BSD]: Likewise.
18437 * time/time.h [__USE_BSD]: Likewise.
18438 [__USE_SVID]: Likewise.
18439
dd7b064c
JM
18440 * Makefile (subdir_targets): Remove subdir_lint.out.
18441
a2c4c199
JM
18442 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18443 (do-tst-printf): Likewise.
18444 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18445 $(objpfx)tst-printf.out.
18446
8756f740
JM
18447 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18448
1b6dd3f1
JM
18449 * Makerules (check-abi-%): Change target to
18450 $(objpfx)check-abi-%.out.
18451 (check-abi target): Update dependencies.
18452 (check-abi-pattern variable): Redirect output of diff to $@.
18453 (check-abi variable): Likewise.
18454 * elf/Makefile (check-abi): Update dependencies.
18455
ace614b8
JM
18456 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18457 unused.
18458 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18459 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18460 subnormal range.
18461 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18462 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18463 value has largest subnormal exponent.
18464 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18465 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18466 * sysdeps/aarch64/soft-fp/sfp-machine.h
18467 (_FP_TININESS_AFTER_ROUNDING): New macro.
18468 * sysdeps/alpha/soft-fp/sfp-machine.h
18469 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18470 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18471 Likewise.
18472 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18473 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18474 * sysdeps/mips/soft-fp/sfp-machine.h
18475 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18476 * sysdeps/powerpc/soft-fp/sfp-machine.h
18477 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18478 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18479 Likewise.
18480 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18481 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18482 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18483 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18484 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18485 Likewise.
18486
fbfdf9cb
DAS
184872014-02-12 Dylan Alex Simon <dylan@dylex.net>
18488
18489 [BZ #16545]
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18491 model 1.
18492
68b7efaa
RH
184932014-02-12 Richard Henderson <rth@redhat.com>
18494
c70a4b1d 18495 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18496 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18497 * sysdeps/unix/sysv/linux/alpha: Move directory from
18498 ports/sysdeps/unix/sysv/linux/alpha.
18499 * README: Update listing for alpha-*-linux-gnu.
18500
cb4a2928
JM
185012014-02-11 Joseph Myers <joseph@codesourcery.com>
18502
c941736c
JM
18503 * include/features.h: Update comment documenting feature test
18504 macros.
18505 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18506 _DEFAULT_SOURCE.
18507 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18508 (_SVID_SOURCE): Likewise.
18509 (_DEFAULT_SOURCE): Update description of default features.
18510 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18511 with _GNU_SOURCE.
18512 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18513 (S_ISVTX): Likewise.
18514 * manual/math.texi (Mathematical Constants): Likewise.
18515 * manual/signal.texi (Interrupted Primitives): Likewise.
18516 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18517 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18518 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18519 Don't refer to _SVID_SOURCE in warning text.
18520
e8d8d7ec
JM
18521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18522
cb4a2928
JM
18523 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18524 already defined.
18525 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18526 * sysdeps/mips/dl-lookup.c: Remove.
18527 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18528
7e6424e3
AK
185292014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18530
18531 [BZ #16447]
18532 * math/auto-libm-test-in: Add testcase for expl.
18533 * math/auto-libm-test-out: Regenerate.
18534 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18535 calculation of unsafe.
18536 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18537
75eff3fe
MS
185382014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18539
18540 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18541 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18542 ports/sysdeps/unix/sysv/linux/aarch64.
18543 * README: Update listing for aarch64*-*-linux-gnu.
18544
d35f1e80
WN
185452014-02-11 Will Newton <will.newton@linaro.org>
18546
18547 * manual/probes.texi (Mathematical Function Probes): Use
18548 "triggered" instead of "hit".
18549
7b3436d4
WN
18550 * manual/probes.texi (Internal Probes): Add documentation
18551 of setjmp, longjmp and longjmp_target probes.
18552
b4f12ca3
WN
18553 * include/stap-probe.h: Add comment about probe argument
18554 format.
18555
c13a72b7
WN
18556 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18557 definition. (tr_where, tr_freehook, tr_mallochook,
18558 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18559
195b8165
DM
185602014-02-11 David S. Miller <davem@davemloft.net>
18561
18562 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18563 processing int_tests.
18564
2ad7600b
JM
185652014-02-10 Joseph Myers <joseph@codesourcery.com>
18566
18567 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18568 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18569 * sysdeps/unix/sysv/linux/mips: Move directory from
18570 ports/sysdeps/unix/sysv/linux/mips.
18571 * README: Update listing for mips-*-linux-gnu and
18572 mips64-*-linux-gnu.
18573
73588a72
AS
185742014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18575
18576 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18577 * sysdeps/unix/sysv/linux/m68k: Move directory from
18578 ports/sysdeps/unix/sysv/linux/m68k.
18579 * README: Update listing for m68k-*-linux-gnu.
18580
4372980f
CM
185812014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18582
18583 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18584 * sysdeps/unix/sysv/linux/generic: Move directory from
18585 ports/sysdeps/unix/sysv/linux/generic.
18586 * sysdeps/unix/sysv/linux/tile: Move directory from
18587 ports/sysdeps/unix/sysv/linux/tile.
18588 * README: Update listing for tile*-*-linux-gnu.
18589
a1ffb40e
OB
185902014-02-10 Ondřej Bílka <neleai@seznam.cz>
18591
57f41c40
AS
18592 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18593 __builtin_expect.
a1ffb40e
OB
18594 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18595 * catgets/open_catalog.c (__open_catalog): Likewise.
18596 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18597 * debug/confstr_chk.c: Likewise.
18598 * debug/fread_chk.c (__fread_chk): Likewise.
18599 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18600 * debug/getgroups_chk.c: Likewise.
18601 * debug/mbsnrtowcs_chk.c: Likewise.
18602 * debug/mbsrtowcs_chk.c: Likewise.
18603 * debug/mbstowcs_chk.c: Likewise.
18604 * debug/memcpy_chk.c: Likewise.
18605 * debug/memmove_chk.c: Likewise.
18606 * debug/mempcpy_chk.c: Likewise.
18607 * debug/memset_chk.c: Likewise.
18608 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18609 * debug/strcat_chk.c (__strcat_chk): Likewise.
18610 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18611 * debug/strncat_chk.c (__strncat_chk): Likewise.
18612 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18613 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18614 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18615 * debug/wcpncpy_chk.c: Likewise.
18616 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18617 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18618 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18619 * debug/wcsncpy_chk.c: Likewise.
18620 * debug/wcsnrtombs_chk.c: Likewise.
18621 * debug/wcsrtombs_chk.c: Likewise.
18622 * debug/wcstombs_chk.c: Likewise.
18623 * debug/wmemcpy_chk.c: Likewise.
18624 * debug/wmemmove_chk.c: Likewise.
18625 * debug/wmempcpy_chk.c: Likewise.
18626 * debug/wmemset_chk.c: Likewise.
18627 * dirent/scandirat.c (SCANDIRAT): Likewise.
18628 * dlfcn/dladdr1.c (dladdr1): Likewise.
18629 * dlfcn/dladdr.c (dladdr): Likewise.
18630 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18631 * dlfcn/dlerror.c (__dlerror): Likewise.
18632 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18633 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18634 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18635 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18636 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18637 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18638 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18639 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18640 Likewise.
18641 * elf/dl-conflict.c: Likewise.
18642 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18643 * elf/dl-dst.h: Likewise.
18644 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18645 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18646 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18647 * elf/dl-init.c (call_init, _dl_init): Likewise.
18648 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18649 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18650 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18651 Likewise.
a1ffb40e
OB
18652 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18653 Likewise.
18654 * elf/dl-minimal.c (__libc_memalign): Likewise.
18655 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18656 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18657 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18658 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18659 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18660 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18661 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18662 * elf/dl-writev.h (_dl_writev): Likewise.
18663 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18664 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18665 (dl_main): Likewise.
a1ffb40e
OB
18666 * elf/setup-vdso.h (setup_vdso): Likewise.
18667 * grp/compat-initgroups.c (compat_call): Likewise.
18668 * grp/fgetgrent.c (fgetgrent): Likewise.
18669 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18670 * grp/putgrent.c (putgrent): Likewise.
18671 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18672 Likewise.
18673 * hurd/hurdinit.c: Likewise.
18674 * iconvdata/8bit-gap.c (struct): Likewise.
18675 * iconvdata/ansi_x3.110.c : Likewise.
18676 * iconvdata/big5.c : Likewise.
18677 * iconvdata/big5hkscs.c : Likewise.
18678 * iconvdata/cp1255.c: Likewise.
18679 * iconvdata/cp1258.c : Likewise.
18680 * iconvdata/cp932.c : Likewise.
18681 * iconvdata/euc-cn.c: Likewise.
18682 * iconvdata/euc-jisx0213.c : Likewise.
18683 * iconvdata/euc-jp.c: Likewise.
18684 * iconvdata/euc-jp-ms.c : Likewise.
18685 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18686 * iconvdata/gb18030.c : Likewise.
18687 * iconvdata/gbbig5.c (const): Likewise.
18688 * iconvdata/gbgbk.c: Likewise.
18689 * iconvdata/gbk.c : Likewise.
18690 * iconvdata/ibm1364.c : Likewise.
18691 * iconvdata/ibm930.c : Likewise.
18692 * iconvdata/ibm932.c: Likewise.
18693 * iconvdata/ibm933.c : Likewise.
18694 * iconvdata/ibm935.c : Likewise.
18695 * iconvdata/ibm937.c : Likewise.
18696 * iconvdata/ibm939.c : Likewise.
18697 * iconvdata/ibm943.c: Likewise.
18698 * iconvdata/iso_11548-1.c: Likewise.
18699 * iconvdata/iso-2022-cn.c : Likewise.
18700 * iconvdata/iso-2022-cn-ext.c : Likewise.
18701 * iconvdata/iso-2022-jp-3.c: Likewise.
18702 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18703 * iconvdata/iso-2022-kr.c : Likewise.
18704 * iconvdata/iso646.c (gconv_end): Likewise.
18705 * iconvdata/iso_6937-2.c : Likewise.
18706 * iconvdata/iso_6937.c : Likewise.
18707 * iconvdata/iso8859-1.c: Likewise.
18708 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18709 * iconvdata/shift_jisx0213.c : Likewise.
18710 * iconvdata/sjis.c : Likewise.
18711 * iconvdata/t.61.c : Likewise.
18712 * iconvdata/tcvn5712-1.c : Likewise.
18713 * iconvdata/tscii.c: Likewise.
18714 * iconvdata/uhc.c : Likewise.
18715 * iconvdata/unicode.c (gconv_end): Likewise.
18716 * iconvdata/utf-16.c (gconv_end): Likewise.
18717 * iconvdata/utf-32.c (gconv_end): Likewise.
18718 * iconvdata/utf-7.c (base64): Likewise.
18719 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18720 * iconv/gconv_close.c (__gconv_close): Likewise.
18721 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18722 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18723 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18724 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18725 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18726 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18727 * iconv/iconv.c (iconv): Likewise.
18728 * iconv/iconv_close.c: Likewise.
18729 * iconv/loop.c (SINGLE): Likewise.
18730 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18731 * include/atomic.h: Likewise.
18732 * inet/inet6_option.c (option_alloc): Likewise.
18733 * intl/bindtextdom.c (set_binding_values): Likewise.
18734 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18735 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18736 * intl/localealias.c (read_alias_file): Likewise.
18737 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18738 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18739 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18740 * libio/fmemopen.c (fmemopen): Likewise.
18741 * libio/iofgets.c (_IO_fgets): Likewise.
18742 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18743 * libio/iofgetws.c (fgetws): Likewise.
18744 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18745 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18746 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18747 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18748 * locale/findlocale.c (_nl_find_locale): Likewise.
18749 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18750 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18751 Likewise.
18752 * locale/setlocale.c (setlocale): Likewise.
18753 * login/programs/pt_chown.c (main): Likewise.
18754 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18755 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18756 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18757 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18758 * math/e_exp2l.c: Likewise.
18759 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18760 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18761 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18762 * math/s_catan.c (__catan): Likewise.
18763 * math/s_catanf.c (__catanf): Likewise.
18764 * math/s_catanh.c (__catanh): Likewise.
18765 * math/s_catanhf.c (__catanhf): Likewise.
18766 * math/s_catanhl.c (__catanhl): Likewise.
18767 * math/s_catanl.c (__catanl): Likewise.
18768 * math/s_ccosh.c (__ccosh): Likewise.
18769 * math/s_ccoshf.c (__ccoshf): Likewise.
18770 * math/s_ccoshl.c (__ccoshl): Likewise.
18771 * math/s_cexp.c (__cexp): Likewise.
18772 * math/s_cexpf.c (__cexpf): Likewise.
18773 * math/s_cexpl.c (__cexpl): Likewise.
18774 * math/s_clog10.c (__clog10): Likewise.
18775 * math/s_clog10f.c (__clog10f): Likewise.
18776 * math/s_clog10l.c (__clog10l): Likewise.
18777 * math/s_clog.c (__clog): Likewise.
18778 * math/s_clogf.c (__clogf): Likewise.
18779 * math/s_clogl.c (__clogl): Likewise.
18780 * math/s_csin.c (__csin): Likewise.
18781 * math/s_csinf.c (__csinf): Likewise.
18782 * math/s_csinh.c (__csinh): Likewise.
18783 * math/s_csinhf.c (__csinhf): Likewise.
18784 * math/s_csinhl.c (__csinhl): Likewise.
18785 * math/s_csinl.c (__csinl): Likewise.
18786 * math/s_csqrt.c (__csqrt): Likewise.
18787 * math/s_csqrtf.c (__csqrtf): Likewise.
18788 * math/s_csqrtl.c (__csqrtl): Likewise.
18789 * math/s_ctan.c (__ctan): Likewise.
18790 * math/s_ctanf.c (__ctanf): Likewise.
18791 * math/s_ctanh.c (__ctanh): Likewise.
18792 * math/s_ctanhf.c (__ctanhf): Likewise.
18793 * math/s_ctanhl.c (__ctanhl): Likewise.
18794 * math/s_ctanl.c (__ctanl): Likewise.
18795 * math/w_pow.c: Likewise.
18796 * math/w_powf.c: Likewise.
18797 * math/w_powl.c: Likewise.
18798 * math/w_scalb.c (sysv_scalb): Likewise.
18799 * math/w_scalbf.c (sysv_scalbf): Likewise.
18800 * math/w_scalbl.c (sysv_scalbl): Likewise.
18801 * misc/error.c (error_tail): Likewise.
18802 * misc/pselect.c (__pselect): Likewise.
18803 * nis/nis_callback.c (__nis_create_callback): Likewise.
18804 * nis/nis_call.c (__nisfind_server): Likewise.
18805 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18806 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18807 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18808 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18809 * nis/nis_lookup.c (nis_lookup): Likewise.
18810 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18811 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18812 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18813 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18814 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18815 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18816 * nis/nss_compat/compat-initgroups.c (add_group)
18817 (internal_getgrent_r): Likewise.
18818 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18819 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18820 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18821 (internal_getspnam_r): Likewise.
18822 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18823 (_nss_nis_getaliasbyname_r): Likewise.
18824 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18825 (_nss_nis_getntohost_r): Likewise.
18826 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18827 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18828 (_nss_nis_getgrgid_r): Likewise.
18829 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18830 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18831 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18832 (_nss_nis_gethostbyname4_r): Likewise.
18833 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18834 (initgroups_netid): Likewise.
a1ffb40e 18835 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18836 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18837 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18838 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18839 (_nss_nis_getprotobynumber_r): Likewise.
18840 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18841 (_nss_nis_getsecretkey): Likewise.
18842 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18843 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18844 (_nss_nis_getpwuid_r): Likewise.
18845 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18846 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18847 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18848 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18849 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18850 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18851 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18852 Likewise.
57f41c40
AS
18853 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18854 (_nss_nisplus_getntohost_r): Likewise.
18855 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18856 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18857 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18858 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18859 Likewise.
57f41c40
AS
18860 * nis/nss_nisplus/nisplus-initgroups.c
18861 (_nss_nisplus_initgroups_dyn): Likewise.
18862 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18863 (_nss_nisplus_getnetbyaddr_r): Likewise.
18864 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18865 (_nss_nisplus_getprotobynumber_r): Likewise.
18866 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18867 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18868 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18869 Likewise.
57f41c40
AS
18870 * nis/nss_nisplus/nisplus-service.c
18871 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18872 (_nss_nisplus_getservbyport_r): Likewise.
18873 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18874 (_nss_nisplus_getspnam_r): Likewise.
18875 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18876 Likewise.
a1ffb40e
OB
18877 * nscd/aicache.c (addhstaiX): Likewise.
18878 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18879 * nscd/connections.c (register_traced_file, send_ro_fd)
18880 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18881 (main_loop_epoll): Likewise.
a1ffb40e
OB
18882 * nscd/grpcache.c (addgrbyX): Likewise.
18883 * nscd/hstcache.c (addhstbyX): Likewise.
18884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18885 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18886 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18887 (addinnetgrX): Likewise.
18888 * nscd/nscd-client.h (__nscd_acquire_maplock)
18889 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18890 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18891 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18892 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18893 Likewise.
18894 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18895 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18896 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18897 (__nscd_get_map_ref): Likewise.
a1ffb40e 18898 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18899 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18900 Likewise.
a1ffb40e
OB
18901 * nscd/pwdcache.c (addpwbyX): Likewise.
18902 * nscd/selinux.c (preserve_capabilities): Likewise.
18903 * nscd/servicescache.c (addservbyX): Likewise.
18904 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18905 * posix/fnmatch.c (fnmatch): Likewise.
18906 * posix/getopt.c (_getopt_internal_r): Likewise.
18907 * posix/glob.c (glob, glob_in_dir): Likewise.
18908 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18909 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18910 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18911 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18912 * resolv/res_init.c: Likewise.
18913 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18914 * resolv/res_query.c (__libc_res_nquery): Likewise.
18915 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18916 Likewise.
18917 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18918 * stdio-common/perror.c (perror): Likewise.
18919 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18920 * stdio-common/tmpnam.c (tmpnam): Likewise.
18921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18922 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18923 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18924 Likewise.
a1ffb40e
OB
18925 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18926 * stdlib/putenv.c (putenv): Likewise.
18927 * stdlib/setenv.c (__add_to_environ): Likewise.
18928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18929 * stdlib/strtol_l.c (INTERNAL): Likewise.
18930 * string/memmem.c (memmem): Likewise.
18931 * string/strerror.c (strerror): Likewise.
18932 * string/strnlen.c (__strnlen): Likewise.
18933 * string/test-memmem.c (simple_memmem): Likewise.
18934 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18935 * sunrpc/pm_getport.c (__get_socket): Likewise.
18936 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18937 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18938 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18939 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18940 Likewise.
18941 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18942 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18943 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18944 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18945 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18946 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18947 Likewise.
18948 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18949 Likewise.
a1ffb40e
OB
18950 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18951 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18953 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18954 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18956 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18957 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18958 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18959 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18960 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18961 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18962 Likewise.
18963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18964 Likewise.
18965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18966 Likewise.
18967 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18971 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18972 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18973 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18979 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18980 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18983 Likewise.
a1ffb40e
OB
18984 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18985 Likewise.
18986 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18987 Likewise.
18988 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18989 Likewise.
18990 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18992 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18993 Likewise.
18994 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18995 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18996 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18997 * sysdeps/posix/sleep.c: Likewise.
18998 * sysdeps/posix/tempname.c: Likewise.
18999 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19000 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19001 Likewise.
57f41c40
AS
19002 * sysdeps/powerpc/powerpc32/dl-machine.h
19003 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19004 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19006 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19007 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19008 Likewise.
19009 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19011 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19013 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19014 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19015 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19016 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19017 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19018 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19019 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19020 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19021 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19023 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19024 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19025 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19026 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19027 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19028 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19029 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19030 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19032 Likewise.
19033 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19034 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19035 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19036 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19037 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19039 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19040 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19041 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19042 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19043 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19044 Likewise.
19045 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19046 (__posix_fallocate64_l64): Likewise.
19047 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19048 (posix_fallocate): Likewise.
57f41c40
AS
19049 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19050 Likewise.
a1ffb40e 19051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19052 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19053 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19054 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19055 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19056 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19057 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19058 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19059 (__posix_fallocate64_l64): Likewise.
19060 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19061 Likewise.
19062 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19064 (__get_clockfreq): Likewise.
a1ffb40e
OB
19065 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19066 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19067 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19070 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19071 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19072 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19073 Likewise.
19074 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19075 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19076 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19078 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19079 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19080 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19081 Likewise.
19082 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19083 (posix_fallocate): Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19085 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19086 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19087 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19088 (elf_machine_rela, elf_machine_rela_relative)
19089 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19090 * time/asctime.c (asctime_internal): Likewise.
19091 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19092 * time/tzset.c (__tzset_parse_tz): Likewise.
19093 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19094 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19095 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19096 * wcsmbs/wcsmbsload.h: Likewise.
19097
f3d338c9
OB
19098 [BZ #15894]
19099 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19100
57f41c40
AS
19101 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19102 (arena_get2): Remove THREAD_STATS conditionals.
19103 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19104 (__malloc_stats, int): Likewise.
bdfe308a 19105
d674667c
MF
191062014-02-08 Mike Frysinger <vapier@gentoo.org>
19107
19108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19109 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19110
6349768c
MF
19111 * manual/setjmp.texi: Fix typos/grammar errors.
19112
0b7c7473
MF
19113 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19114 Only return early when n is <= 0. Delete unused return statement.
19115
ac8cc9e3
MF
19116 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19117 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19118 * debug/tst-longjmp_chk3.c: New file.
19119
c5bb8e23
MF
19120 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19121 (test_main): Replace code with set_fortify_handler call.
19122 * debug/test-strcpy_chk.c: Likewise.
19123 * debug/tst-chk1.c: Likewise.
19124 * debug/tst-longjmp_chk.c: Likewise.
19125 * test-skeleton.c: Include fcntl.h & paths.h
19126 (set_fortify_handler): Define.
19127
10444e42
MF
19128 * debug/tst-longjmp_chk.c: Add header comment and include
19129 ../test-skeleton.c.
19130 (do_test): Mark static.
19131 (TEST_FUNCTION): Define.
19132
1e805e8d
MF
19133 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19134 (IP_PMTUDISC_INTERFACE): Likewise.
19135 (IP_MULTICAST_IF): Likewise.
19136 (IP_MULTICAST_TTL): Likewise.
19137 (IP_MULTICAST_LOOP): Likewise.
19138 (IP_ADD_MEMBERSHIP): Likewise.
19139 (IP_DROP_MEMBERSHIP): Likewise.
19140 (IP_UNBLOCK_SOURCE): Likewise.
19141 (IP_BLOCK_SOURCE): Likewise.
19142 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19143 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19144 (IP_MSFILTER): Likewise.
19145 (MCAST_JOIN_GROUP): Likewise.
19146 (MCAST_BLOCK_SOURCE): Likewise.
19147 (MCAST_UNBLOCK_SOURCE): Likewise.
19148 (MCAST_LEAVE_GROUP): Likewise.
19149 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19150 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19151 (MCAST_MSFILTER): Likewise.
19152 (IP_MULTICAST_ALL): Likewise.
19153 (IP_UNICAST_IF): Likewise.
19154
73f79bb7
MF
19155 * timezone/Makefile: Delete $(have-ksh) check.
19156 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19157 * timezone/tzselect.ksh: Add +x mode bits.
19158
8da79b60
MF
19159 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19160 (ANON_INODE_FS_MAGIC): Likewise.
19161 (BDEVFS_MAGIC): Likewise.
19162 (BINFMTFS_MAGIC): Likewise.
19163 (BTRFS_TEST_MAGIC): Likewise.
19164 (CRAMFS_MAGIC_WEND): Likewise.
19165 (DEBUGFS_MAGIC): Likewise.
19166 (ECRYPTFS_SUPER_MAGIC): Likewise.
19167 (EXT3_SUPER_MAGIC): Likewise.
19168 (EXT4_SUPER_MAGIC): Likewise.
19169 (FUTEXFS_SUPER_MAGIC): Likewise.
19170 (HOSTFS_SUPER_MAGIC): Likewise.
19171 (HUGETLBFS_MAGIC): Likewise.
19172 (MINIX3_SUPER_MAGIC): Likewise.
19173 (MTD_INODE_FS_MAGIC): Likewise.
19174 (NILFS_SUPER_MAGIC): Likewise.
19175 (OPENPROM_SUPER_MAGIC): Likewise.
19176 (PIPEFS_MAGIC): Likewise.
19177 (PSTOREFS_MAGIC): Likewise.
19178 (QNX6_SUPER_MAGIC): Likewise.
19179 (RAMFS_MAGIC): Likewise.
19180 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19181 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19182 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19183 (SECURITYFS_MAGIC): Likewise.
19184 (SELINUX_MAGIC): Likewise.
19185 (SMACK_MAGIC): Likewise.
19186 (SOCKFS_MAGIC): Likewise.
19187 (SQUASHFS_MAGIC): Likewise.
19188 (STACK_END_MAGIC): Likewise.
19189 (TMPFS_MAGIC): Likewise.
19190 (USBDEVICE_SUPER_MAGIC): Likewise.
19191 (V9FS_MAGIC): Likewise.
19192 (XENFS_SUPER_MAGIC): Likewise.
19193 (CRAMFS_MAGIC): Fix typo in comment.
19194 (EXT2_SUPER_MAGIC): Update comment.
19195 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19196
464263cc
JM
191972014-02-08 Joseph Myers <joseph@codesourcery.com>
19198
c6bfe5c4
JM
19199 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19200 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19201 * sysdeps/unix/sysv/linux/arm: Move directory from
19202 ports/sysdeps/unix/sysv/linux/arm.
19203 * README: Update listing for arm-*-linux-gnueabi.
19204
464263cc
JM
19205 * README: Remove mention of am33.
19206
32749f6c
RM
192072014-02-07 Roland McGrath <roland@hack.frob.com>
19208
19209 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19210 than the comma operator, to avoid "rhs of comma has no effect"
19211 compiler warnings.
19212 (__sigfillset, __sigandset, __sigorset): Likewise.
19213 * include/signal.h (__sigemptyset): Likewise.
19214 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19215
d5b396c1
AM
192162014-02-07 Allan McRae <allan@archlinux.org>
19217
19218 * version.h (RELEASE): Set to "development".
19219 (VERSION): Set to "2.19.90"
19220 * NEWS: Add 2.20 section.
19221
3bfff2ed
CD
192222014-02-06 Carlos O'Donell <carlos@redhat.com>
19223
19224 [BZ #16529]
19225 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19226
ee7cc385
SP
192272014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19228
19229 * manual/contrib.texi: Update entry for Carlos O'Donell,
19230 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19231
f877c4f2
CD
192322014-02-05 Carlos O'Donell <carlos@rehdat.com>
19233
27e839f6
CD
19234 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19235
f877c4f2
CD
19236 * sysdeps/unix/sysv/linux/kernel-features.h
19237 [__LINUX_KERNEL_VERSION >= 0x020621]
19238 (__ASSUME_PROC_PID_TASK_COMM): Define.
19239
68159946
SP
192402014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19241
ba17cdbd
SP
19242 [BZ #16398]
19243 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19244 conversion when destination buffer does not have enough space.
19245 * libio/tst-ftell-partial-wide.c: New test case.
19246 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19247
68159946
SP
19248 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19249 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19250 Leonard and Allan McRae.
19251
2b528732
DM
192522014-02-04 David S. Miller <davem@davemloft.net>
19253
19254 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19255 32-bit.
19256
0ff82463
AZ
192572014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19258
57f41c40
AS
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19260 New file
c01603f7
AZ
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19262 New file
57f41c40
AS
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19264 New file.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19266 New file.
c01603f7
AZ
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19268 New file.
57f41c40
AS
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19270 New file.
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19272 New file.
c01603f7
AZ
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19274 New file.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19276 New file.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19278 New file.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19280 New file.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19282 New file.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19284 New file.
19285
192862014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19287
0ff82463
AZ
19288 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19289 * shlib-versions: Likewise.
19290
1695c773
AZ
192912014-02-04 Roland McGrath <roland@hack.frob.com>
19292 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19293
19294 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19295 (abilist-pattern): New variable, set to %-le.abilist.
19296
19297 * Makerules (abilist-pattern): New variable.
19298 (vpath): Use $(abilist-pattern) in place of %.abilist.
19299 (check-abi-% pattern rule): Likewise.
19300 (check-abi, update-abi): Likewise.
19301
6c0ce4b4
EW
193022014-02-04 Eric Wong <normalperson@yhbt.net>
19303
19304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19305
481e3524
CD
193062014-02-03 Carlos O'Donell <carlos@redhat.com>
19307
19308 * manual/startup.texi: Add next, previous, and top entries for
19309 the `Program Arguments' and `Environment Variables' nodes.
19310
375592d3
AO
193112014-02-03 Alexandre Oliva <aoliva@redhat.com>
19312
19313 * manual/macros.texi: Add comments before MTASC-safety macros.
19314
f54838ba
AO
19315 * manual/users.texi: Document MTASC-safety properties.
19316
57f41c40
AS
19317 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19318 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19319 @deftypefun, and add @safety note.
19320 * manual/signal.texi: Move comments that analyze the above
19321 functions to their home place.
19322
fd3daba4
AM
193232014-02-03 Allan McRae <allan@archlinux.org>
19324
19325 * po/sl.po: Update Slovenian translation from translation project.
19326
597636d7
AO
193272014-02-02 Alexandre Oliva <aoliva@redhat.com>
19328
19329 * manual/time.texi (timegm): Add missing blank after @c.
19330 Reported by Joseph Myers <joseph@codesourcery.com>.
19331
ee196e3c
AO
193322014-02-01 Alexandre Oliva <aoliva@redhat.com>
19333
19334 * manual/check-safety.sh: New.
19335 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19336
f8d529d5
AO
19337 * manual/terminal.texi: Document MTASC-safety properties.
19338
de55fdf4
AO
19339 * manual/filesys.texi: Document MTASC-safety properties.
19340
c3299c08
AO
19341 * manual/errno.texi: Document MTASC-safety properties.
19342
06e90b14
AO
19343 * manual/intro.texi: Document safety identifiers and
19344 conditionals.
19345
1acd4371
AO
19346 * manual/string.texi (wcstok): Fix prototype.
19347 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19348
23e5b8cb
AO
19349 * manual/time.texi: Document MTASC-safety properties.
19350
11087373
AO
19351 * manual/string.texi: Document MTASC-safety properties.
19352
5da2c93d
AO
19353 * manual/threads.texi: Document MTASC-safety properties.
19354
171e9210
AO
19355 * manual/stdio.texi: Document MTASC-safety properties.
19356
d9e02532
AO
19357 * manual/syslog.texi: Document MTASC-safety properties.
19358
6af8bab7
AO
19359 * manual/sysinfo.texi: Document MTASC-safety properties.
19360
663b02d7
AO
19361 * manual/startup.texi: Document MTASC-safety properties.
19362
973f180b
AO
19363 * manual/socket.texi: Document MTASC-safety properties.
19364
8f3c25c8
AO
19365 * manual/signal.texi: Document MTASC-safety properties.
19366
542210fb
AO
193672014-01-31 Alexandre Oliva <aoliva@redhat.com>
19368
19369 * manual/setjmp.texi: Document MTASC-safety properties.
19370
433c45a2
AO
19371 * manual/search.texi: Document MTASC-safety properties.
19372
c8ce789c
AO
19373 * manual/resource.texi: Document MTASC-safety properties.
19374
19f5d29c
AO
19375 * manual/process.texi: Document MTASC-safety properties.
19376
e2dfb7f4
AO
19377 * manual/platform.texi: Document MTASC-safety properties.
19378
8c1413f5
AO
19379 * manual/pipe.texi: Document MTASC-safety properties.
19380
03483ada
AO
19381 * manual/pattern.texi: Document MTASC-safety properties.
19382
29e7e2df
AO
19383 * manual/message.texi: Document MTASC-safety properties.
19384
9f529d7c
AO
19385 [BZ #12751]
19386 * manual/memory.texi: Document MTASC-safety properties.
19387
27aaa791
AO
19388 * manual/math.texi: Document MTASC-safety properties.
19389
f2d58726
AO
19390 * manual/locale.texi: Document MTASC-safety properties.
19391
2cc3615c
AO
19392 * manual/llio.texi: Document MTASC-safety properties.
19393
d9f0ec97
AO
19394 * manual/libdl.texi: New.
19395
e7c4409a
AO
19396 * manual/lang.texi: Document MTASC-safety properties.
19397
27bdc63c
AO
19398 * manual/job.texi: Document MTASC-safety properties.
19399
a7b90ea9
AO
19400 * manual/getopt.texi: Document MTASC-safety properties.
19401
c49130e3
AO
19402 * manual/ctype.texi: Document MTASC-safety properties.
19403
0d23a5c1
MR
194042014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19405
19406 [BZ #16046]
19407 * csu/libc-tls.c (static_map): Remove variable.
19408 (__libc_setup_tls): Use main executable's link map for TLS data.
19409 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19410 casing for LM_ID_BASE and GL(dl_nns).
19411 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19412 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19413 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19414 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19415 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19416 member.
19417 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19418 l_phnum members.
19419
0037bb60
AO
194202014-01-30 Alexandre Oliva <aoliva@redhat.com>
19421
19422 * manual/debug.texi: Document MTASC-safety properties.
19423
409e00bd
L
194242014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 [BZ #16510]
19427 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19428 of __x86_64__ when disabling x87 inline functions.
19429
86e60666
AO
194302014-01-29 Alexandre Oliva <aoliva@redhat.com>
19431
19432 * manual/charset.texi: Document MTASC-safety properties.
19433
76167637
AO
19434 * manual/crypt.texi: Document MTASC-safety properties.
19435
e567f2a0
AO
19436 * manual/conf.texi: Document MTASC-safety properties.
19437
b719dafd
AO
19438 * manual/arith.texi: Document MTASC-safety properties.
19439
4a16c662
AO
19440 * manual/argp.texi: Document MTASC-safety properties.
19441
0a57b83e
AO
19442 * manual/macros.texi: Introduce macros to document multi
19443 thread, asynchronous signal and asynchronous cancellation
19444 safety properties.
19445 * manual/intro.texi: Introduce the properties themselves.
19446
feab2397
KK
194472014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19448
19449 * sysdeps/sh/sh4/Makefile: New file.
19450
1c0d11bc
AS
194512014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19452
19453 * math/gen-libm-test.pl ($srcdir): New variable.
19454 ($auto_input): Use it.
19455
af37a8a3
SP
194562014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
d7b00f98
SP
19458 [BZ #16506]
19459 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19460 access beyond array bounds when parsing netgroups file.
19461
af37a8a3
SP
19462 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19463 the old buffer before realloc.
19464
0c00f062
AM
194652014-01-27 Allan McRae <allan@archlinux.org>
19466
19467 * po/fr.po: Update French translation from translation project.
19468
7d69a1b0
KK
194692014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19470
19471 * sysdeps/sh/libm-test-ulps: Regenerate.
19472
6e697ff7
DM
194732014-01-24 David S. Miller <davem@davemloft.net>
19474
19475 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19476
9cadb35c
KK
194772014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19478
19479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19480 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19481
5d41dadf
SP
194822013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
19484 [BZ #16474]
19485 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19486 string pointers after reallocation.
19487
0bad441c
KK
194882014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19489
19490 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19491 __SH4A__ instead of __SH_FPU_ANY__.
19492
7007c661
KK
194932014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19494
19495 * sysdeps/sh/fpu_control.h: New file.
19496 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19497 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19498 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19499 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19500 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19501 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19502 * sysdeps/sh/sys/ucontext.h: Remove.
19503 * sysdeps/sh/sys: Remove directory.
19504
0f0c35e4
AK
195052014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19506
19507 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19508 s390/sys/ucontext.h.
19509 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19510 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19511
4959e284
L
195122014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19513
19514 [BZ #15605]
19515 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19516
d98720e0
AZ
195172014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19518
19519 [BZ#16431]
19520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19521 Adjust the vDSO correctly for internal calls.
19522 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19523
91cbd0bc
AM
195242014-01-20 Allan McRae <allan@archlinux.org>
19525
19526 * po/ca.po: Update Catalan translation from translation project.
19527
7a02cfad
MF
195282014-01-16 Mike Frysinger <vapier@gentoo.org>
19529
19530 * sysdeps/s390/sotruss-lib.c: New file.
19531
736c304a
AZ
195322014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19533
19534 [BZ#16430]
6e077ee5 19535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19536 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19537 local calls issues by not having a PLT stub required for IFUNC calls.
19538 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19539
94d0cea0
JM
195402014-01-16 Joseph Myers <joseph@codesourcery.com>
19541
19542 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19543 * math/test-fpucw-static.c: Likewise.
19544
980cb518
SP
195452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19546
19547 [BZ #16453]
19548 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19549
2393fc01
AZ
195502014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19551
19552 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19553 implementation for powerpc.
19554
d359bcc2
OB
195552014-01-15 Ondřej Bílka <neleai@seznam.cz>
19556
19557 [BZ #14782]
19558 * sysdeps/posix/system.c (__libc_system): Do not enable
19559 asynchronous cancellation.
19560
7beb48cb
AK
195612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19562
19563 [BZ #16427]
19564 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19565 handling only for numbers special also in the IEEE case.
19566
c20d5bf5
AK
195672014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19568
19569 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19570
e83bd4ee
AM
195712014-01-11 Allan McRae <allan@archlinux.org>
19572
76d0ea69
AM
19573 * po/bg.po: Update Bulgarian translation from translation project.
19574
e83bd4ee
AM
19575 * po/de.po: Update German translation from translation project.
19576
bc2ba20a
RM
195772014-01-10 Roland McGrath <roland@hack.frob.com>
19578
19579 * sysdeps/generic/gcc-compat.h: New file.
19580
649ecea2
SP
195812014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19582
19583 * benchtests/asin-inputs: Correct slow inputs.
19584 * benchtests/acos-inputs: Likewise.
19585
1b19c006
AM
195862014-01-10 Allan McRae <allan@archlinux.org>
19587
a46dab08
AM
19588 * po:sv.po: Update Swedish translation from translation project.
19589
421df74a
AM
19590 * po/vi.po: Update Vietnamese translation from translation project.
19591
d61c51a7
AM
19592 * po/eo.po: Update Esperanto translation from translation project.
19593
0339a319
AM
19594 * po/cs.po: Update Czech translation from translation project.
19595
94ad3e99
AM
19596 * po/nl.po: Update Dutch translation from translation project.
19597
e349ca71
AM
19598 * po/pl.po: Update Polish translation from translation project.
19599
ddf930c1
AM
19600 * po/ru.po: Update Russian translation from translation project.
19601
1b19c006
AM
19602 * po/uk.po: Update Ukrainian translation from translation project.
19603
9f236c49
BM
196042014-01-08 Brooks Moses <bmoses@google.com>
19605
19606 * elf/dl-load.c: Fix comment typo.
19607
cd6701cf
CD
196082014-01-08 Carlos O'Donell <carlos@redhat.com>
19609
19610 * po/header.pot: Rename to...
19611 * po/pot.header: ... this.
19612 * po/Makefile: Use pot.header.
19613
66671c84
YK
196142014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19615 Maxim Kuvyrkov <maxim@kugelworks.com>
19616
19617 [BZ #16394]
cd6701cf
CD
19618 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19619 SRC and DEST against LEN.
66671c84 19620
38f34581
AZ
196212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19622
19623 [BZ #16414]
19624 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19625 implementation.
19626 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19627
196282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19629
19630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19631
4c327f2a
JM
196322014-01-08 Joseph Myers <joseph@codesourcery.com>
19633
19634 [BZ #16408]
19635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19636 for large positive arguments.
19637
b821f414
JM
196382014-01-07 Joseph Myers <joseph@codesourcery.com>
19639
1f0f2067
JM
19640 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19641
a5a326f6
JM
19642 * math/auto-libm-test-in: Mark various tests with
19643 xfail-rounding:ldbl-128ibm.
19644 * math/auto-libm-test-out: Regenerated.
19645
b821f414
JM
19646 [BZ #16407]
19647 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19648 Increase overflow threshold.
19649
94c8a4bc
OB
196502014-01-07 Ondřej Bílka <neleai@seznam.cz>
19651
19652 [BZ #14286]
19653 * stdio-common/vfprintf.c: Check for integer overflow.
19654
87ded0c3
AK
196552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19656
19657 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19658 the first argument and return value of __tls_get_addr_internal.
19659
c5eebdd0
AK
196602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19661
19662 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19663 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19664
05d138ef
AK
196652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19666
19667 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19668 * sysdeps/s390/rtld-global-offsets.sym: New file.
19669 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19670 GLIBC_2.19 symbol.
19671 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19672 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19673 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19674 ... this.
19675 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19676 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19677 ... this.
19678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19679 Regenerate.
19680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19681 Regenerate.
19682 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19683 halfs of GPRs for high_gprs contexts.
19684 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19685 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19686 field.
19687 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19688 uc_flags field.
19689 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19690 64 bit versions:
19691 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19692 for high GPRs (uc_high_gprs) and for future extensions
19693 (__reserved).
19694 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19695 for future extensions (__reserved).
19696 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19697 64 bit versions:
19698 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19699 SC_HIGHGPRS offset definition.
19700 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19701 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19702
93a45ff1
AK
19703 * Versions.def: Add GLIBC_2.19 for libpthread.
19704 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19705 siglongjmp for libpthread with GLIBC_2.19 symver.
19706 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19707 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19708 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19709 * sysdeps/s390/__longjmp.c: New file.
19710 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19711 * sysdeps/s390/longjmp.c: New file.
19712 * sysdeps/s390/setjmp.S: New file.
19713 * sysdeps/s390/sigjmp.S: New file.
19714 * sysdeps/s390/v1-longjmp.c: New file.
19715 * sysdeps/s390/v1-setjmp.h: New file.
19716 * sysdeps/s390/v1-sigjmp.c: New file.
19717 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19718 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19719 GLIBC_2.19 version.
19720 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19721 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19722 versioned symbols for ____longjmp_chk.
19723 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19724 Likewise.
19725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19726 Regenerate.
19727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19728 Regenerate.
19729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19730 Regenerate.
19731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19732 Regenerate.
19733 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19734 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19735 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19736 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19737 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19738 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19739 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19740 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19741 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19742 * sysdeps/s390/rtld-__longjmp.c: New file.
19743 * sysdeps/s390/rtld-setjmp.S: New file.
19744
eb3fc44b
JM
197452014-01-06 Joseph Myers <joseph@codesourcery.com>
19746
19747 [BZ #16400]
19748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19749 Return -__logl (x) for small positive arguments without evaluating
19750 a polynomial.
19751
9341dde4
MF
197522014-01-06 Mike Frysinger <vapier@gentoo.org>
19753
19754 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19755 Rename to ...
19756 (__ptrace_peeksiginfo_args): ... this.
19757 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19759 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19760
4cff0293
AM
197612014-01-06 Allan McRae <allan@archlinux.org>
19762
19763 * inet/netinet/in.h: Fix typo in comment.
19764
75595dcf
AJ
197652014-01-05 Andreas Jaeger <aj@suse.de>
19766
19767 * sysdeps/i386/fpu/libm-test-ulps: Update.
19768
79c1e109
AM
197692014-01-05 Allan McRae <allan@archlinux.org>
19770
dd804818
AM
19771 * po/libc.pot: Regenerated.
19772
79c1e109
AM
19773 * malloc/memusagestat.c: Fix gettext call formatting.
19774
0c813d1f
SK
197752014-01-04 Sami Kerola <kerolasa@iki.fi>
19776
19777 * nscd/nscd.c: Improve usage() output.
19778
20f4a8d9
MF
197792014-01-04 Mike Frysinger <vapier@gentoo.org>
19780
19781 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19782 * sysdeps/unix/sysv/linux/configure: Regenerated.
19783 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19784 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19785
22562bb2
JM
197862014-01-03 Joseph Myers <joseph@codesourcery.com>
19787
19788 [BZ #16390]
19789 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19790 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19791
d7ad2d9b
AZ
197922014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19793
19794 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19795 extra tokens at end of #undef directive.
19796 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19797 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19798 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19799
7dd009d8
JM
198002014-01-03 Joseph Myers <joseph@codesourcery.com>
19801
24db925a
JM
19802 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19803
7dd009d8
JM
19804 * math/auto-libm-test-in: Mark various tests with
19805 xfail-rounding:ldbl-128ibm.
19806 * math/auto-libm-test-out: Regenerated.
19807
396e3ecf
JM
198082014-01-02 Joseph Myers <joseph@codesourcery.com>
19809
819e5d50
JM
19810 [BZ #16386]
19811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19812 numbers with subnormal high part when calculating exponent.
19813
90b6a1e5
JM
19814 [BZ #16385]
19815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19816 fabs.
19817
396e3ecf
JM
19818 [BZ #16384]
19819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19820 M_LN2l.
19821 (__ieee754_acoshl): Use __log1pl not __log1p.
19822
6c8dbf00
OB
198232013-01-02 Ondřej Bílka <neleai@seznam.cz>
19824
57f41c40
AS
19825 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19826 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19827 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19828 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19829 (reused_arena, arena_get2): Convert to GNU style.
19830 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19831 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19832 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19833 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19834 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19835 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19836 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19837 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19838 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19839 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19840 * malloc/malloc.h: Likewise.
57f41c40
AS
19841 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19842 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19843 * malloc/mcheck.h: Likewise.
57f41c40
AS
19844 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19845 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19846 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19847 * malloc/morecore.c (__default_morecore): Likewise.
19848 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19849 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19850 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19851 (print_and_abort): Likewise.
6c8dbf00
OB
19852 * malloc/obstack.h: Likewise.
19853 * malloc/set-freeres.c (__libc_freeres): Likewise.
19854 * malloc/tst-mallocstate.c (main): Likewise.
19855 * malloc/tst-mtrace.c (main): Likewise.
19856 * malloc/tst-realloc.c (do_test): Likewise.
19857
d4124212
SP
198582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19859
9a3c6a6f
SP
19860 [BZ #16366]
19861 * nscd/netgroupcache.c (do_notfound): New function.
19862 (addgetnetgrentX): Use it.
19863
d4124212
SP
19864 [BZ # 16365]
19865 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19866 NSS_STATUS_NOTFOUND.
19867
97b9a009
JM
198682014-01-01 Joseph Myers <joseph@codesourcery.com>
19869
19870 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19872
d4697bc9
AM
198732014-01-01 Allan McRae <allan@archlinux.org>
19874
ddb3687f
AM
19875 * scripts/update-copyrights: Update configure input file suffix.
19876
88726d48
AM
19877 * NEWS: Update copyright year.
19878 * catgets/gencat.c: Likewise.
19879 * csu/version.c: Likewise.
19880 * debug/catchsegv.sh: Likewise.
19881 * debug/pcprofiledump.c: Likewise.
19882 * debug/xtrace.sh: Likewise.
19883 * elf/ldconfig.c: Likewise.
19884 * elf/ldd.bash.in: Likewise.
19885 * elf/pldd.c: Likewise.
19886 * elf/sotruss.ksh: Likewise.
19887 * elf/sprof.c: Likewise.
19888 * iconv/iconv_prog.c: Likewise.
19889 * iconv/iconvconfig.c: Likewise.
19890 * locale/programs/locale.c: Likewise.
19891 * locale/programs/localedef.c: Likewise.
19892 * login/programs/pt_chown.c: Likewise.
19893 * malloc/memusage.sh: Likewise.
19894 * malloc/memusagestat.c: Likewise.
19895 * malloc/mtrace.pl: Likewise.
19896 * manual/libc.texinfo: Likewise.
19897 * nscd/nscd.c: Likewise.
19898 * nss/getent.c: Likewise.
19899 * nss/makedb.c: Likewise.
19900 * posix/getconf.c: Likewise.
19901 * scripts/test-installation.pl: Likewise.
19902
d4697bc9
AM
19903 * All files with FSF copyright notices: Update copyright dates
19904 using scripts/update-copyrights.
19905 * intl/plural.c: Regenerated.
19906 * locale/programs/charmap-kw.h: Likewise.
19907 * locale/programs/locfile-kw.h: Likewise.
19908
c8590f9d
MF
199092013-12-31 Mike Frysinger <vapier@gentoo.org>
19910
19911 * sysdeps/unix/sysv/linux/configure: Regenerated.
19912 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19913 the linux/fanotify.h header.
19914 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19915 HAVE_LINUX_FANOTIFY_H is defined.
19916
b19221b9
SP
199172013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19918
dd1d85e5
SP
19919 * benchtests/cos-inputs: New inputs.
19920 * benchtests/sin-inputs: Likewise.
19921
1acbb90f
SP
19922 * benchtests/atan-inputs: New inputs. Fix name of multiple
19923 precision fallback inputs.
19924
4c012ed3
SP
19925 * benchtests/atanh-inputs: New inputs.
19926 * benchtests/tanh-inputs: Likewise.
19927
eff98324
SP
19928 * benchtests/acosh-inputs: New inputs.
19929 * benchtests/asinh-inputs: Likewise.
19930
ce641152
SP
19931 * benchtests/cosh-inputs: New inputs.
19932 * benchtests/sinh-inputs: Likewise.
19933
b19221b9
SP
19934 * benchtests/acos-inputs: Add more inputs.
19935 * benchtests/asin-inputs: Likewise.
19936
030a4976 199372013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19938
030a4976 19939 [BZ #16375]
9dcc8f11
VS
19940 * manual/arith.texi: Fix spelling.
19941 * manual/charset.texi: Likewise.
19942 * manual/errno.texi: Likewise.
19943 * manual/filesys.texi: Likewise.
19944 * manual/lang.texi: Likewise.
19945 * manual/llio.texi: Likewise.
19946 * manual/locale.texi: Likewise.
19947 * manual/message.texi: Likewise.
19948 * manual/resource.texi: Likewise.
19949 * manual/search.texi: Likewise.
19950 * manual/setjmp.texi: Likewise.
19951 * manual/stdio.texi: Likewise.
19952 * manual/string.texi: Likewise.
19953 * manual/sysinfo.texi: Likewise.
19954 * manual/time.texi: Likewise.
19955
11520a57
CD
199562013-12-27 Carlos O'Donell <carlos@redhat.com>
19957
19958 * po/sl.po: New file.
19959
471103ae
MF
199602013-12-27 Mike Frysinger <vapier@gentoo.org>
19961
19962 * .gitignore: Add core/.gdbinit/.gdb_history.
19963
6c9642ed
AM
199642013-12-27 Allan McRae <allan@archlinux.org>
19965
19966 [BZ #16369]
19967 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19968 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19969
3f637079
BM
199702013-12-24 Brooks Moses <bmoses@google.com>
19971
19972 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19973 all compilers that claim C++98 compliance, not just GCC.
19974 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19975 Likewise.
19976
abc26e99
MK
199772013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19978
19979 * NEWS: Restore accidentally deleted bug-fix entries.
19980
362b47fe
MK
199812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19982 Ondřej Bílka <neleai@seznam.cz>
19983
19984 [BZ #15073]
19985 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19986 have_lock.
362b47fe 19987
b9bcbbcb
OB
199882013-12-23 Ondřej Bílka <neleai@seznam.cz>
19989
19990 [BZ #12986]
19991 * manual/stdio.texi (String Input Conversions): Clarify that character
19992 classes are not supported.
19993
fb55fcd2
AZ
199942013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19995
19996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19997
ef7344f0
JM
199982013-12-22 Joseph Myers <joseph@codesourcery.com>
19999
4f40e4b3
JM
20000 [BZ #16337]
20001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20002 Calculate results for small negative arguments directly rather
20003 than using reflection formula with special underflow handling.
20004
ef7344f0
JM
20005 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20006 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20007 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20008 (fchflags): Likewise.
20009 (revoke): Likewise.
20010 (setlogin): Likewise.
20011 (sigaltstack): Likewise.
20012 (wait4): Likewise.
20013 (sigblock): Remove.
20014 (sigsetmask): Likewise.
20015 (wait3): Likewise.
20016 (waitpid): Likewise.
20017 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20018 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20019 file.
20020 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20021 * sysdeps/unix/bsd/Makefile: ... here.
20022 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20023 * sysdeps/unix/bsd/Versions: ... here.
20024 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20025 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20026 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20027 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20028 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20029 * sysdeps/unix/bsd/sigblock.c: ... here.
20030 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20031 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20032 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20033 * sysdeps/unix/bsd/sigvec.c: ... here.
20034 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20035 * sysdeps/unix/bsd/tcdrain.c: ... here.
20036 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20037 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20038 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20039 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20040 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20041 * sysdeps/unix/bsd/wait.c: ... here.
20042 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20043 * sysdeps/unix/bsd/wait3.c: ... here.
20044 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20045 * sysdeps/unix/bsd/waitpid.c: ... here.
20046
5b0626b9
JM
200472013-12-21 Joseph Myers <joseph@codesourcery.com>
20048
20049 [BZ #16356]
20050 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20051 round-to-nearest for [!USE_AS_EXPM1L].
20052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20053 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20054 more tests of exp and exp10. Expect some exp10 tests to miss
20055 exceptions or fail in directed rounding modes.
20056 * math/auto-libm-test-out: Regenerated.
20057 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20058 (exp10_test_tonearest): New function.
20059 (exp10_towardzero_test_data): New array.
20060 (exp10_test_towardzero): New function.
20061 (exp10_downward_test_data): New array.
20062 (exp10_test_downward): New function.
20063 (exp10_upward_test_data): New array.
20064 (exp10_test_upward): New function.
20065 (main): Call the new functions.
20066 * sysdeps/i386/fpu/libm-test-ulps: Update.
20067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20068
7fda5682
JM
200692013-12-20 Joseph Myers <joseph@codesourcery.com>
20070
31e3a405
JM
20071 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20072 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20073 * math/auto-libm-test-out: Regenerated.
20074 * math/libm-test.inc (acosh_test_data): Add more tests.
20075 (atanh_test_data): Likewise.
20076 (ceil_test_data): Likewise.
20077 (copysign_test_data): Likewise.
20078 * sysdeps/i386/fpu/libm-test-ulps: Update.
20079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20080
85bff96a
JM
20081 * timezone/checktab.awk: Update from tzcode 2013i.
20082 * timezone/private.h: Likewise.
20083 * timezone/scheck.c: Likewise.
20084 * timezone/tzfile.h: Likewise.
20085 * timezone/tzselect.ksh: Likewise.
20086 * timezone/zdump.c: Likewise.
20087 * timezone/zic.c: Likewise.
20088
b7867a3b
JM
20089 * math/auto-libm-test-in: Add tests of cpow.
20090 * math/auto-libm-test-out: Regenerated.
20091 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20092 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20093 mpc_cc_c.
20094 (func_calc_desc): Add mpc_cc_c union field.
20095 (test_functions): Add cpow.
20096 (special_fill_2pi): New function.
20097 (special_real_inputs): Add 2pi.
20098 (calc_generic_results): Handle mpc_cc_c.
20099 * sysdeps/i386/fpu/libm-test-ulps: Update.
20100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20101
7fda5682
JM
20102 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20103 csqrt, ctan and ctanh.
20104 * math/auto-libm-test-out: Regenerated.
20105 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20106 (TEST_COND_x86): Likewise.
20107 (ccos_test_data): Use AUTO_TESTS_c_c.
20108 (ccosh_test_data): Likewise.
20109 (cexp_test_data): Likewise.
20110 (clog_test_data): Likewise.
20111 (csqrt_test_data): Likewise.
20112 (ctan_test_data): Likewise.
20113 (ctan_tonearest_test_data): Likewise.
20114 (ctan_towardzero_test_data): Likewise.
20115 (ctan_downward_test_data): Likewise.
20116 (ctan_upward_test_data): Likewise.
20117 (ctanh_test_data): Likewise.
20118 (ctanh_tonearest_test_data): Likewise.
20119 (ctanh_towardzero_test_data): Likewise.
20120 (ctanh_downward_test_data): Likewise.
20121 (ctanh_upward_test_data): Likewise.
20122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20123 mpc_c_c.
20124 (func_calc_desc): Add mpc_c_c union field.
20125 (FUNC_mpc_c_c): New macro.
20126 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20127 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20128 ctanh.
20129 (special_fill_min_subnorm_p120): New function.
20130 (special_real_inputs): Add min_subnorm_p120.
20131 (calc_generic_results): Handle mpc_c_c.
20132 * sysdeps/i386/fpu/libm-test-ulps: Update.
20133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20134
5ff8d60e
SP
201352013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20136
57f41c40
AS
20137 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20138 (do_sin_slow): New functions.
20139 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20140 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20141
84ba214c
SP
20142 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20143 Use M to change sign of result instead of X. Assume X is
20144 positive.
20145 (csloww1): Likewise.
20146 (__sin): Adjust.
20147 (__cos): Adjust.
20148
975195e4
SP
20149 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20150 arguments A and DA.
20151 (__sin): Adjust.
20152 (__cos): Likewise.
20153
5ff8d60e
SP
20154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20155 (__cos): Likewise.
20156 (sloww1): Don't adjust sign of DX.
20157 (csloww1): Likewise.
20158 (sloww2): Use X directly and don't adjust sign of DX.
20159 (csloww2): Likewise.
20160
eb983568
JM
201612013-12-19 Joseph Myers <joseph@codesourcery.com>
20162
64a17f1a
JM
20163 * math/auto-libm-test-in: Add tests of cabs and carg.
20164 * math/auto-libm-test-out: Regenerated.
20165 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20166 (carg_test_data): Likewise.
20167 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20168 mpc_c_f.
20169 (func_calc_desc): Add mpc_c_f union field.
20170 (test_functions): Add cabs and carg.
20171 (calc_generic_results): Handle mpc_c_f.
20172
eb983568
JM
20173 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20174 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20175 as a macro and a compat symbol.
20176 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20177 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20178 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20179 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20180 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20182 not use .hidden.
20183 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20184 Likewise.
20185 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20186 Likewise.
20187 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20188 Likewise.
20189 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20190 Likewise.
20191 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20192 Likewise.
20193 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20194 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20195 from GLIBC_2.3.2.
20196
6eeb678a
AZ
201972013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20198
20199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20200
6f6fc482
JM
202012013-12-19 Joseph Myers <joseph@codesourcery.com>
20202
21fea2e2
JM
20203 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20204 trailing whitespace removed.
20205 * scripts/config.guess: Update to version 2013-11-29.
20206 * scripts/config.sub: Update to version 2013-10-01.
20207
6f6fc482
JM
20208 * math/auto-libm-test-in: Add tests of sincos.
20209 * math/auto-libm-test-out: Regenerated.
20210 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20211 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20212 mpfr_f_11.
20213 (func_calc_desc): Add mpfr_f_11 union field.
20214 (test_functions): Add sincos.
20215 (calc_generic_results): Handle mpfr_f_11.
20216 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20218
83f5c32d
AS
202192013-12-19 Andreas Schwab <schwab@suse.de>
20220
20221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20222 CALL_MCOUNT.
20223 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20224 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20225 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20226
c688b419
JM
202272013-12-19 Joseph Myers <joseph@codesourcery.com>
20228
335ee092
JM
20229 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20230 * sysdeps/i386/fpu/libm-test-ulps: Update.
20231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20232
f88acd39
JM
20233 [BZ #16293]
20234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20235 round-to-nearest mode when using frndint.
20236 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20237 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20238 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20239 Likewise.
20240 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20241 sinh test to fail.
20242 * math/auto-libm-test-out: Regenerated.
20243 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20244 (TEST_COND_x86): Likewise.
20245 (expm1_tonearest_test_data): New array.
20246 (expm1_test_tonearest): New function.
20247 (expm1_towardzero_test_data): New array.
20248 (expm1_test_towardzero): New function.
20249 (expm1_downward_test_data): New array.
20250 (expm1_test_downward): New function.
20251 (expm1_upward_test_data): New array.
20252 (expm1_test_upward): New function.
20253 (main): Run the new test functions.
20254 * sysdeps/i386/fpu/libm-test-ulps: Update.
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256
c688b419
JM
20257 * include/features.h: Update comment documenting feature test
20258 macros. Mention _DEFAULT_SOURCE in comment.
20259 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20260 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20261 _BSD_SOURCE and _SVID_SOURCE.
20262 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20263 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20264 !_SVID_SOURCE]: Likewise.
20265 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20266 (__USE_POSIX_IMPLICITLY): Define.
20267 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20268 (_POSIX_SOURCE): Undefine and redefine.
20269 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20270 (_POSIX_C_SOURCE): Likewise.
20271 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20272 (Feature Test Macros): Update documentation of default features.
20273
9f6e964c
RS
202742013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20275
20276 * benchtests/Makefile: Add bench-strtok.
20277 * benchtests/bench-strtok.c: New file: strtok benchtest.
20278
ee0a148a
AM
202792013-12-19 Allan McRae <allan@archlinux.org>
20280
20281 * manual/install.texi: Suppress menu for plain text output.
20282 * INSTALL: Regenerated.
20283
b9ab448f
BM
202842013-12-18 Brooks Moses <bmoses@google.com>
20285
20286 [BZ #15846]
20287 * misc/getauxval.c: Include errno.h.
20288 (__getauxval): Set errno to ENOENT if the requested type is not
20289 found.
20290 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20291 don't declare with __attribute_const__.
20292 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20293 * manual/startup.texi: Document that getauxval sets errno.
20294
23776487
JM
202952013-12-18 Joseph Myers <joseph@codesourcery.com>
20296
f889953b
JM
20297 * math/auto-libm-test-in: Add tests of jn and yn.
20298 * math/auto-libm-test-out: Regenerated.
20299 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20300 (yn_test_data): Likewise.
20301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20302 mpfr_if_f.
20303 (func_calc_desc): Add mpfr_if_f union field.
20304 (FUNC_mpfr_if_f): New macro.
20305 (test_functions): Add jn and yn.
20306 (calc_generic_results): Assert type of second input for
20307 mpfr_ff_f. Handle mpfr_if_f.
20308 (output_for_one_input_case): Disable all checking for arguments
20309 fitting floating-point types in case of an integer argument.
20310 * sysdeps/i386/fpu/libm-test-ulps: Update.
20311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20312
23776487
JM
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20314 Don't expect fegetround reference in libm.so.
20315
cb756c6d
MS
203162013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20317
20318 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20319 $(config-cflags-nofma).
20320
2dec468f
JM
203212013-12-18 Joseph Myers <joseph@codesourcery.com>
20322
5953eb3a
JM
20323 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20324 * math/auto-libm-test-out: Regenerated.
20325
2dec468f
JM
20326 [BZ #16338]
20327 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20328 to determine exponent and adjust argument to have exponent of -1.
20329 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20330 log2.
20331 * math/auto-libm-test-out: Regenerated.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334
4d84e6ad
OB
203352013-12-18 Ondřej Bílka <neleai@seznam.cz>
20336
20337 * manual/probes.texi: Remove cases when per-thread arenas are
20338 disabled.
20339
1818483b
AS
203402013-12-18 Andreas Schwab <schwab@suse.de>
20341
20342 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20343 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20344 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20345 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20346 * sysdeps/i386/i686/multiarch/Makefile: Update.
20347 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20348
25de95bf
JM
203492013-12-17 Joseph Myers <joseph@codesourcery.com>
20350
20351 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20352 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20353
674762d9
PE
203542013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20355
ed27ed83 20356 [BZ #15968]
0748546f
PE
20357 Support TZ transition times < 00:00:00.
20358 This is needed for version-3 tz-format files; it supports time
20359 stamps past 2037 for America/Godthab (the only entry in the tz
20360 database for which this change is relevant).
20361 * manual/time.texi (TZ Variable): Document transition times
20362 from -167:59:59 through -00:00:01.
20363 * time/tzset.c (tz_rule): Time of day is now signed.
20364 (__tzset_parse_tz): Parse negative time of day.
20365
4480e934
PE
20366 Document TZ transition times >= 25:00:00.
20367 * manual/time.texi (TZ Variable): Document transition times from
20368 25:00:00 through 167:59:59. These are already supported, and this
20369 support will help with version-3 tz-format files.
20370
69947401
PE
20371 * manual/time.texi (TZ Variable): Modernize North America example
20372 to reflect current (i.e., 2007-and-later) daylight saving rules.
20373
674762d9
PE
20374 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20375
7011c262
JM
203762013-12-17 Joseph Myers <joseph@codesourcery.com>
20377
2fc6557e
JM
20378 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20379 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20382 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20383 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20384 * sysdeps/unix/bsd/clock.c: Likewise.
20385 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20386 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20387 * sysdeps/unix/bsd/init-posix.c: Likewise.
20388 * sysdeps/unix/bsd/poll.c: Likewise.
20389 * sysdeps/unix/bsd/ptsname.c: Likewise.
20390 * sysdeps/unix/bsd/seekdir.c: Likewise.
20391 * sysdeps/unix/bsd/setegid.c: Likewise.
20392 * sysdeps/unix/bsd/seteuid.c: Likewise.
20393 * sysdeps/unix/bsd/setgid.c: Likewise.
20394 * sysdeps/unix/bsd/setrgid.c: Likewise.
20395 * sysdeps/unix/bsd/setruid.c: Likewise.
20396 * sysdeps/unix/bsd/setsid.c: Likewise.
20397 * sysdeps/unix/bsd/setuid.c: Likewise.
20398 * sysdeps/unix/bsd/sigaction.c: Likewise.
20399 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20400 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20401 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20402 * sysdeps/unix/bsd/telldir.c: Likewise.
20403 * sysdeps/unix/bsd/times.c: Likewise.
20404 * sysdeps/unix/bsd/usleep.c: Likewise.
20405
029c7b25
JM
20406 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20407 ($(objpfx)libbsd-compat.a): Remove rule.
20408
7011c262
JM
20409 * include/features.h (__FAVOR_BSD): Do not define.
20410 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20411 features conflicting with POSIX.
20412 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20413 (_BSD_SOURCE): Remove description of not being a subset of other
20414 feature test macros.
20415 * manual/job.texi (getpgrp): Do not document BSD version.
20416 (getpgid): Do not document by reference to BSD getpgrp.
20417 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20418 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20419 * signal/signal.h [__FAVOR_BSD]: Likewise.
20420 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20421 instead of making contents conditional on [__FAVOR_BSD].
20422 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20423
affb6f78
AZ
204242013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20425
20426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20427
c88769dd
JM
204282013-12-17 Joseph Myers <joseph@codesourcery.com>
20429
6432a540
JM
20430 [BZ #16314]
20431 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20432 values below 2**-450, not 2**-500.
20433 * math/auto-libm-test-in: Don't allow spurious underflow from
20434 hypot.
20435 * math/auto-libm-test-out: Regenerated.
20436
c88769dd
JM
20437 [BZ #16316]
20438 [BZ #16330]
20439 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20440 values of ha and hb and sort them after adjusting subnormal
20441 arguments.
20442 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20443 Likewise.
20444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20445 values of ea and eb and sort them after adjusting subnormal
20446 arguments.
20447 * math/auto-libm-test-in: Do not expect some hypot tests of
20448 subnormals to fail. Add more hypot tests.
20449 * math/auto-libm-test-out: Regenerated.
20450
29618f6b
KK
204512013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20452
20453 [BZ #13304]
20454 * sysdeps/sh/s_fma.c: New file.
20455 * sysdeps/sh/s_fmaf.c: New file.
20456 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20457 version.
20458 * sysdeps/sh/Implies: Add sh/soft-fp.
20459
eacfdfbf
RM
204602013-12-16 Roland McGrath <roland@hack.frob.com>
20461
20462 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20463 level of indirection to members `objname', `errstring', `malloced'.
20464 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20465 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20466 it as the __longjmp argument (just pass 1 instead).
20467 (_dl_catch_error): Initialize C with argument pointers and address of
20468 volatile local ERRCODE rather than copying values out of C at return.
20469
ff362e5b
JM
204702013-12-16 Joseph Myers <joseph@codesourcery.com>
20471
20472 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20473 * math/auto-libm-test-out: Regenerated.
20474 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20475 (hypot_test_data): Likewise.
20476 (pow_test_data): Likewise.
20477 (pow_tonearest_test_data): Likewise.
20478 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20479 mpfr_ff_f.
20480 (func_calc_desc): Add mpfr_ff_f union field.
20481 (FUNC_mpfr_ff_f): New macro.
20482 (test_functions): Add atan2, hypot and pow.
20483 (special_fill_min): New function.
20484 (special_fill_minus_min): Likewise.
20485 (special_fill_min_subnorm): Likewise.
20486 (special_fill_minus_min_subnorm): Likewise.
20487 (special_real_inputs): Add min, -min, min_subnorm and
20488 -min_subnorm.
20489 (calc_generic_results): Handle mpfr_ff_f.
20490 * sysdeps/i386/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20492
5764c27f
WN
204932013-12-16 Will Newton <will.newton@linaro.org>
20494
20495 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20496 (Aligned Memory Blocks): Add documentation for aligned_alloc
20497 and suggest it as an alternative to posix_memalign.
20498 (Hooks for Malloc): Document __memalign_hook is also called
20499 for aligned_alloc. (Summary of Malloc): Add summary for
20500 aligned alloc. Document __memalign_hook is also called
20501 for aligned_alloc.
20502
0a096e44
WN
205032013-12-16 Will Newton <will.newton@linaro.org>
20504
20505 * manual/memory.texi (Malloc Examples): Clarify default
20506 alignment documentation. Suggest posix_memalign rather
20507 than memalign or valloc.
20508 (Aligned Memory Blocks): Remove suggestion to use memalign
20509 or valloc. Remove obsolete comment about BSD.
20510 Document memalign errno values and mark the function obsolete.
20511 Document posix_memalign returned error codes. Mark valloc
20512 as obsolete. (Hooks for Malloc): __memalign_hook is also
20513 called for posix_memalign and valloc.
20514 (Summary of Malloc): Add posix_memalign to function summary.
20515 __memalign_hook is also called for posix_memalign and valloc.
20516
8d561986
SP
205172013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20518
20519 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20520 TAYLOR_SIN.
20521 (__sin): Adjust.
20522 (__cos): Likewise.
20523 (sloww): Use mynumber union. Expand ternary operator into
20524 if-else statements.
20525 (cslow): use mynumber union.
20526
73616a74
AM
205272013-12-16 Allan McRae <allan@archlinux.org>
20528
9e8ac24b
AM
20529 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20530 * configure: Regenerated.
20531
6f8e37eb
AM
20532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20533
8894bad3
AM
20534 [BZ #14120]
20535 * configure.ac: Added --enable-maintainer-mode. Check for
20536 autoconf when enabled.
20537 * configure: Regenerated.
20538
73616a74
AM
20539 * nscd/nscd.service: New file.
20540 * nscd/nscd.tmpfiles: New file.
20541
584b18eb
OB
205422013-12-14 Ondřej Bílka <neleai@seznam.cz>
20543
20544 [BZ #12100]
20545 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20546 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20547 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20548 (strstr): Add __strstr_sse2_unaligned ifunc.
20549 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20550 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20551 (strcasestr): Remove __strcasestr_sse42 ifunc.
20552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20555
8a5c7897
KK
205562013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20557
20558 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20559 * sysdeps/sh/bits/fenv.h: ... here.
20560 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20561
fd712ef3
AZ
205622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20563
20564 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20565
42fcb46c
AZ
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20567 hypotf multiarch implementations.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20569 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20571 multiarch hypot for PPC64.
20572 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20573 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20574 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20575 multiarch hypotf for PPC64.
20576
83efded4
AZ
20577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20578 modff multiarch implementations.
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20582 multiarch modf for PPC64.
20583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20586 multiarch modff for PPC64.
20587
43e246d2
AZ
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20589 and logl multiarch implementations.
20590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20593 multiarch logb for PPC64.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20597 multiarch logb for PPC64.
20598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20601 multiarch logb for PPC64.
20602
8fdad123
AZ
20603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20604 isinff multiarch implementation.
20605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20606 file.
20607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20609 multiarch isinf for PPC64.
20610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20611 file.
20612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20613 multiarch isinff for PPC64.
20614
1481d706
AZ
20615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20616 finitef multiarch implementation.
20617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20618 file.
20619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20621 multiarch finite for PPC64.
20622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20623 file.
20624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20625 multiarch finitef for PPC64.
20626
5ccd5fc8
AZ
20627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20628 lrint multiarch implementation.
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20630 file.
20631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20633 multiarch llrint for PPC64.
20634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20635 multiarch lrint for PPC64.
20636
2568f3fa
AZ
20637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20638 copysignf multiarch implementation.
20639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20640 file.
20641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20642 file.
20643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20644 multiarch copysign for PPC64.
20645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20646 multiarch copysignf for PPC64.
20647
1cb341fd
AZ
20648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20649 multiarch implementation.
20650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20651 file.
20652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20653 file.
20654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20655 file.
20656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20657 file.
20658 multiarch llround for PPC64.
20659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20660 multiarch trunc for PPC64.
20661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20662 multiarch truncf for PPC64.
20663
59a3e194
AZ
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20665 multiarch implementation.
20666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20667 file.
20668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20669 file.
20670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20671 file.
20672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20673 file.
20674 multiarch llround for PPC64.
20675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20676 multiarch round for PPC64.
20677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20678 multiarch roundf for PPC64.
20679
357fd3b4
AZ
20680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20681 multiarch implementation.
20682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20683 file.
20684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20685 file.
20686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20687 file.
20688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20689 file.
20690 multiarch llround for PPC64.
20691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20692 multiarch floor for PPC64.
20693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20694 multiarch floorf for PPC64.
20695
96770f12
AZ
20696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20697 multiarch implementation.
20698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20699 file.
20700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20701 file.
20702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20703 file.
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20705 file.
20706 multiarch llround for PPC64.
20707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20708 multiarch ceil for PPC64.
20709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20710 multiarch ceilf for PPC64.
20711
c3627f6e
AZ
20712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20713 multiarch implementation.
20714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20715 file.
20716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20717 file.
20718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20719 file.
20720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20721 multiarch llround for PPC64.
20722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20723 multiarch lround for PPC64.
20724
b2284ad7
AZ
20725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20726 multiarch implementation.
20727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20730 file.
20731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20734 multiarch isnan for PPC64.
20735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20736 multiarch isnanf for PPC64.
20737
69bbc63d
AZ
20738 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20739 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20740 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20741 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20742 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20744
c24517c9
AZ
20745 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20746 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20749
a52374e8
AZ
20750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20751 multiarch implementations.
20752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20753 (__libc_ifunc_impl_list): Likewise.
20754 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20755 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20756 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20757 multiarch stpcpy for PPC64.
20758
7f5ec113
AZ
20759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20760 multiarch implementations.
20761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20762 (__libc_ifunc_impl_list): Likewise.
20763 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20765 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20766 multiarch strcpy for PPC64.
20767
e28bcd42
AZ
20768 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20769 redefine function name.
20770 (_wordcopy_fwd_dest_aligned): Likewise.
20771 (_wordcopy_bwd_aligned): Likewise.
20772 (_wordcopy_bwd_dest_aligned): Likewise.
20773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20774 multiarch implementations.
20775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20776 (__libc_ifunc_impl_list): Likewise.
20777 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20778 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20779 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20780 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20781 multiarch wcscpy for PPC64.
20782
92cacfce
AZ
20783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20784 multiarch implementations.
20785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20786 (__libc_ifunc_impl_list): Likewise.
20787 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20788 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20789 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20791 multiarch wcscpy for PPC64.
20792
7b714620
AZ
20793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20794 multiarch implementations.
20795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20796 (__libc_ifunc_impl_list): Likewise.
20797 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20798 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20799 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20800 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20801 multiarch wcsrchr for PPC64.
20802
16fd2ae3
AZ
20803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20804 multiarch implementations.
20805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20806 (__libc_ifunc_impl_list): Likewise.
20807 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20808 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20809 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20810 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20811 multiarch wcschr for PPC64.
20812
9ee2969b
AZ
20813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20814 multiarch implementations.
20815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20816 (__libc_ifunc_impl_list): Likewise.
20817 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20818 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20819 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20820 multiarch strchrnul for PPC64.
20821
372dc060
AZ
20822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20823 implementations.
20824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20825 (__libc_ifunc_impl_list): Likewise.
20826 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20827 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20828 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20829 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20830 strchr for PPC64.
20831
24c2c3b9
AZ
20832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20833 implementations.
20834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20835 (__libc_ifunc_impl_list): Likewise.
20836 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20837 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20838 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20839 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20840 strncmp for PPC64.
20841
1c92d9a0
AZ
20842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20843 multiarch implementations.
20844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20845 (__libc_ifunc_impl_list): Likewise.
20846 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20847 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20848 strncasecmp for PPC64.
20849 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20850 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20851 multiarch strncasecmp_l for PPC64.
20852
17de3ee3
AZ
20853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20854 multiarch implementations.
20855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20856 (__libc_ifunc_impl_list): Likewise.
20857 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20858 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20859 multiarch strcasecmp for PPC64.
20860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20861 file.
20862 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20863 multiarch strcasecmp_l for PPC64.
20864
62982bf9
AZ
20865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20866 implementations.
20867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20868 (__libc_ifunc_impl_list): Likewise.
20869 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20870 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20871 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20872 strnlen for PPC64.
20873
a65f4904
AZ
20874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20875 implementations.
20876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20877 (__libc_ifunc_impl_list): Likewise.
20878 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20879 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20880 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20881 strlen for PPC64.
20882
1fd005ad
AZ
20883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20884 implementations.
20885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20886 (__libc_ifunc_impl_list): Likewise.
20887 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20888 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20889 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20890 rawmemrchr for PPC64.
20891
cd05ba91
AZ
20892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20893 implementation.
20894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20895 (__libc_ifunc_impl_list): Likewise.
20896 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20897 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20898 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20899 memrchr for PPC64.
20900
870f8676
AZ
20901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20902 implementation.
20903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20904 (__libc_ifunc_impl_list): Likewise.
20905 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20906 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20907 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20908 memchr for PPC64.
20909
f00be62b
AZ
20910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20911 implementation.
20912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20913 (__libc_ifunc_impl_list): Likewise.
20914 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20915 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20916 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20917 mempcpy for PPC64.
20918
8a29a3d0
AZ
20919 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20920 avoid cretion of __bzero symbol.
20921 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20922 Likewise.
20923 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20924 Likewise.
20925 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20926 Likewise.
20927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20928 multiarch implementations.
20929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20930 (__libc_ifunc_impl_list): Likewise.
20931 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20932 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20933 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20934 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20935 bzero for PPC32.
20936 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20937 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20938 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20939 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20940 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20941 memset for PPC64.
20942 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20943
07253fcf
AZ
20944 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20946 implementations.
20947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20948 (__libc_ifunc_impl_list): Likewise.
20949 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20950 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20951 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20952 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20953 memcmp for PPC64.
20954
b5beafbc
AZ
20955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20956 multiarch for POWER/PPC64.
20957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20958 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20959 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20960 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20961 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20962 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20963 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20964 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20965 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20966 memcpy for PPC64.
20967
5e6a4d4b
AZ
20968 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20969 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20970 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20971 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20972 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20973 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20974 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20975 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20976 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20977 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20978 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20979 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20980 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20981 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20982 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20990
ddfab6dc
KK
209912013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20992
20993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20994
19b5525e
SP
209952013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20996
20997 * benchtests/Makefile (bench): Add exp2 and log2.
20998 (LDLIBS-bench-exp2): Add -lm.
20999 (LDLIBS-bench-log2): Likewise.
21000 * benchtests/exp2-inputs: New inputs file.
21001 * benchtests/log2-inputs: New inputs file.
21002 * benchtests/log-inputs: Add new inputs.
21003 * benchtests/tan-inputs: Likewise.
21004
196f7f5d
SP
210052013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21006
7a74607f
SP
21007 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21008 definition...
57f41c40
AS
21009 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21010 (csloww2): ... from here.
7a74607f 21011
196f7f5d
SP
21012 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21013 instead of structures.
21014 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21015 (POLYNOMIAL): Likewise.
21016 (TAYLOR_SLOW): Likewise.
21017 (__sin): Likewise.
21018 (__cos): Likewise.
21019 (slow1): Likewise.
21020 (slow2): Likewise.
21021 (sloww): Likewise.
21022 (sloww1); Likewise.
21023 (sloww2): Likewise.
21024 (bsloww1): Likewise.
21025 (bsloww2): Likewise.
21026 (cslow2): Likewise.
21027 (csloww): Likewise.
21028 (csloww1): Likewise.
21029 (csloww2): Likewise.
21030
0dfa665c
OB
210312013-12-10 Ondřej Bílka <neleai@seznam.cz>
21032
21033 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21034 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21035 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21036 * malloc/hooks.c (realloc_check): Likewise.
21037
5782a80f
OB
21038 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21039 * malloc/arena.c: Remove PER_THREAD conditional.
21040 [!PER_THREAD]: Remove code.
21041 (ptmalloc_unlock_all2): Likewise.
21042 (ptmalloc_init): Likewise.
21043 (_int_new_arena): Likewise.
21044 (arena_get2): Likewise.
21045 * malloc/hooks.c (__malloc_get_state): Likewise.
21046 (__malloc_set_state): Likewise.
21047 * malloc/malloc.c: Likewise.
21048 (struct malloc_state): Likewise.
21049 (struct malloc_par): Likewise.
21050 (__libc_realloc): Likewise.
21051 (__libc_mallopt): Likewise.
21052
aeb95445
AZ
210532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21054
21055 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21056
e8349efd
OB
210572013-12-09 Ondřej Bílka <neleai@seznam.cz>
21058
21059 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21060 macro to a function. Check for zero perturb_byte.
21061 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21062
f3eeb3fc 21063 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21064 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21065 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21066 force_reg by atomic_forced_read.
21067 * malloc/arena.c (ptmalloc_init): Likewise.
21068 * malloc/hooks.c (top_check): Likewise.
21069
be2f9009
AZ
210702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071
21072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21073
e7b914bd
MT
210742013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21075
21076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21077
9f0be4f8
JM
210782013-12-08 Joseph Myers <joseph@codesourcery.com>
21079
21080 * math/auto-libm-test-in: Add tests of lgamma.
21081 * math/auto-libm-test-out: Regenerated.
21082 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21083 (M_LOG_2_SQRT_PIl): Likewise.
21084 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21085 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21086 mpfr_f_f1.
21087 (func_calc_desc): Add mpfr_f_f1 union field.
21088 (ARGS1): New macro.
21089 (ARGS2): Likewise.
21090 (ARGS3): Likewise.
21091 (ARGS4): Likewise.
21092 (RET1): Likewise.
21093 (RET2): Likewise.
21094 (CALC): Likewise.
21095 (FUNC): Likewise.
21096 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21097 (test_functions): Add lgamma.
21098 (calc_generic_results): Handle mpfr_f_f1.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101
24eeafdb
AZ
211022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103
21104 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21105 __mpn_add_n for PowerPC64/POWER7.
21106 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21107 __mpn_sub_n for PowerPC64/POWER7.
21108
4a2c0fd4
AZ
21109 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21110 __mpn_addmul_1 for PowerPC64.
21111 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21112 __mpn_submul_1 for PowerPC64.
21113 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21114 for PowerPC64.
21115 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21116 for PowerPC64.
21117
4b5b548c
FS
211182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21119
21120 [BZ #15089]
21121 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21122
0a3ac0aa
AZ
211232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21124
21125 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21126
ccdc8438
AZ
21127 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21128 add multiarch folders.
21129 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21130 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21131 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21132 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21133 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21134 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21135 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21136 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21137 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21138 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21139 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21146
2e973d99
AZ
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21148 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21150 New file.
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21152 New file.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21154 multiarch __ieee754_hypot for PowerPC32.
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21156 New file.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21158 New file.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21160 multiarch __ieee754_hypotf for PowerPC32.
21161
2d9470b2
AZ
21162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21163 long_double_symbol only if __logbl is defined.
21164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21165 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21166 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21167 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21169 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21170 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21171 path for implementation.
21172 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21175 logb, and logbl multiarch implementations for PowerPC32.
21176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21177 file.
21178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21179 file.
21180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21181 multiarch logb for PowerPC32.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21183 file.
21184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21185 file.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21187 multiarch logbf for PowerPC32.
21188 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21190 file.
21191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21192 multiarch logbl implementation for PowerPC32.
21193
5212ffce
AZ
21194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21195 and modff multiarch implementations.
21196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21197 New file.
21198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21199 New file.
21200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21201 multiarch modf for PowerPC32.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21203 New file.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21205 New file.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21207 multiarch modff for PowerPC32.
21208
79dccf31
AZ
21209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21210 and lrintf multiarch implementations.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21212 New file.
21213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21214 New file.
21215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21216 multiarch lrint for PowerPC32.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21218 file: multiarch lrintf for PowerPC32.
21219
deb66480
AZ
21220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21221 and lroundf multiarch implementations.
21222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21223 New file.
21224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21225 New file.
21226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21227 New file.
21228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21229 multiarch lround for PowerPC32.
21230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21231 file: multiarch lroundf for PowerPC32.
21232
264b036b
AZ
21233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21234 copysign and copysignf multiarch implementations.
21235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21236 New file.
21237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21238 New file.
21239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21240 file: multiarch copysign for PowerPC32.
21241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21242 file: multiarch copysignf for PowerPC32.
21243
d47db6c9
AZ
21244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21245 and truncf multiarch implementations.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21247 New file.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21249 file.
21250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21251 multiarch trunc for PowerPC32.
21252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21253 New file.
21254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21255 New file.
21256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21257 multiarch truncf for PowerPC32.
21258
ddb60b5a
AZ
21259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21260 and roundf multiarch implementations.
21261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21262 New file.
21263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21264 file.
21265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21266 multiarch round for PowerPC32.
21267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21268 New file.
21269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21270 New file.
21271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21272 multiarch roundf for PowerPC32.
21273
bedcf49b
AZ
21274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21275 and floorf multiarch implementations.
21276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21277 New file.
21278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21279 file.
21280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21281 multiarch floor for PowerPC32.
21282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21283 New file.
21284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21285 New file.
21286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21287 multiarch floorf for PowerPC32.
21288
35ae5b40
AZ
21289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21290 and ceilf multiarch implementations.
21291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21292 New file.
21293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21294 file.
21295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21296 multiarch ceil for PowerPC32.
21297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21298 New file.
21299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21300 file.
21301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21302 multiarch ceilf for PowerPC32.
21303
ae1a4cd9
AZ
21304 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21305 is defined.
21306 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21307 FINITEF is defined.
21308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21309 and finitef multiarch implementations.
21310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21311 New file.
21312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21313 file.
21314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21315 multiarch finite for PowerPC32.
21316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21317 New file.
21318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21319 file: multiarch finitef for PowerPC32.
21320
64fffd65
AZ
21321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21322 and isinff multiarch implementations.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21324 file.
21325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21326 file.
21327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21328 multiarch isinf for PowerPC32.
21329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21330 New file.
21331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21332 multiarch isinff for PowerPC32.
21333
8e4e7ba2
AZ
21334 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21335 alias when __isnan is defined.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21337 and isnanf multiarch implementations.
21338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21339 file.
21340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21341 file.
21342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21343 file.
21344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21345 file.
21346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21347 multiarch isnan for PowerPC32.
21348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21349 New file.
21350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21351 New file.
21352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21353 multiarch isnanf for PowerPC32.
21354
ddba588e
AZ
21355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21356 and sqrtf multiarch implementations.
21357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21358 file.
21359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21360 file.
21361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21362 multiarch sqrt for PowerPC32.
21363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21364 file.
21365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21366 file.
21367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21368 multiarch sqrtf for PowerPC32.
21369
0f96a2f0
AZ
21370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21371 and llroundf multiarch implementations.
21372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21373 New file.
21374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21375 New file.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21377 New file.
21378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21379 file: multiarch llround for PowerPC32.
21380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21381 file: multiarch llroundf for PowerPC32.
21382
c9b5d79e
AZ
21383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21384 multiarch PowerPC32 fpu implementations.
21385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21386 New file.
21387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21388 New file.
21389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21390 multiarch llrint for PowerPC32.
21391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21392 New file.
21393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21394 New file.
21395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21396 file.
21397
9cbb3aab
AZ
21398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21399
ea5a72f8
AZ
21400 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21401 file.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21403 file.
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21405 file.
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21407 multiarch wordcopy for PPC32.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21409 wordcopy objects.
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21411 (__libc_ifunc_impl_list): Likewise.
21412 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21413 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21414 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21415 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21416 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21417 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21418
93be09e7
AZ
21419 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21421 file.
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21423 file.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21425 file.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21427 multiarch wcscpy for PPC32.
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21429 multiarch objects.
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21431 (__libc_ifunc_impl_list): Likewise.
21432 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21433 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21434 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21435 sysdeps/powerpc/power6/wcscpy.c.
21436
bb04e529
AZ
21437 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21439 file.
21440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21441 file.
21442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21443 file.
21444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21445 multiarch wcsrchr for PPC32.
21446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21447 multiarch objects.
21448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21449 (__libc_ifunc_impl_list): Likewise.
21450 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21451 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21452 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21453 sysdeps/powerpc/power6/wcsrchr.c.
21454
05b5cd1c
AZ
21455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21456 file.
21457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21458 file.
21459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21461 multiarch wcschr for PPc32.
21462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21463 multiarch objects.
21464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21465 (__libc_ifunc_impl_list): Likewise.
21466 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21467 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21468 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21469 sysdeps/powerpc/power6/wcschr.c.
21470
ba964147
AZ
21471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21473 file.
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21475 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21476 file: multiarch strchr for PPC32.
21477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21478 multiarch objects.
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21480 (__libc_ifunc_impl_list): Likewise.
21481
31c81aaa
AZ
21482 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21483 name.
21484 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21485 file.
21486 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21487 file.
21488 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21489 multiarch strchrnul for PPC32.
21490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21491 multiarch objects.
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21493 (__libc_ifunc_impl_list): Likewise.
21494
0d0607d9
AZ
21495 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21496 file.
21497 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21498 multiarch strncasecmp for PPC32.
21499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21500 file.
21501 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21502 multiarch strncasecmp_l for PPC32.
21503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21504 strncasecmp multiarch objects.
21505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21506 (__libc_ifunc_impl_list): Likewise.
21507
4dfd5c86
AZ
21508 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21509 file.
21510 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21511 multiarch strncasecmp for PPC32.
21512 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21513 New file.
21514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21515 multiarch strcasecmp_l for PPC32.
21516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21517 multiarch objects.
21518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21519 (__libc_ifunc_impl_list): Likewise.
21520
a19e01a3
AZ
21521 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21522 file.
21523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21524 file.
21525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21526 multiarch strncmp for PPC32.
21527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21528 multiarch objects.
21529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21530 (__libc_ifunc_impl_list): Likewise.
21531
ae9cf7a2
AZ
21532 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21533 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21534 file.
21535 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21536 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21538 multiarch objects.
21539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21540 (__libc_ifunc_impl_list): Likewise.
21541
3148bb7d
AZ
21542 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21543 file.
21544 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21545 file.
21546 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21548 multiarch objects.
21549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21550 (__libc_ifunc_impl_list): Likewise.
21551
7af8b946
AZ
21552 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21553 file.
21554 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21555 file.
21556 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21557 multiarch rawmemchr for PPC32.
21558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21559 multiarch objects.
21560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21561 (__libc_ifunc_impl_list): Likewise.
21562
03a6aa6a
AZ
21563 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21564 file.
21565 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21566 file.
21567 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21568 file: memrchr multiarch for PPC32.
21569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21570 multiarch objects.
21571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21572 (__libc_ifunc_impl_list): Likewise.
21573
1c62e6d9
AZ
21574 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21575 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21576 file.
21577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21578 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21579 multiarch memchr for PPC32.
21580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21581 multiarch objects.
21582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21583 (__libc_ifunc_impl_list): Likewise.
21584
87da8bdb
AZ
21585 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21586 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21587 file.
21588 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21589 file.
21590 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21591 file: multiarch mempcpy for PPC32.
21592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21593 multiarch objects.
21594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21595 (__libc_ifunc_impl_list): Likewise.
21596
20ed4714
AZ
21597 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21598 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21599 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21600 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21601 multiarch bzero for PPC32.
21602 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21603 file.
21604 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21605 file.
21606 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21607 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21608 file: multiarch memset for PPC32.
21609 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21611 memset multiarch objects.
21612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21613 (__libc_ifunc_impl_list): Likewise.
21614
ab3e3a46
AZ
21615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21616 file.
21617 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21619 memcmp for PPC32.
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21622 multiarch objects.
21623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21624 (__libc_ifunc_impl_list): Likewise.
21625
930de6f0
AZ
21626 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21627 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21628 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21629 file.
21630 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21631 file.
21632 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21633 file.
21634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21635 multiarch memcpy for PPC32.
21636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21637 multiarch objects.
21638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21639 (__libc_ifunc_impl_list): Likewise.
21640
4c628e00
AZ
21641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21642 support multiarch for POWER/PPC32.
21643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21644 Likewise.
21645 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21647 Implies file to make multiarch folder appers before the fpu and
21648 default folder for power4 configuration.
21649
f4479220
SP
216502013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21651
21652 * scripts/bench.pl: Append volatile keyword to type.
21653
8517800f
KK
216542013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21655
21656 * sysdeps/sh/sotruss-lib.c: New file.
21657 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21658
180138f1
AZ
216592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21660
21661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21662
bbf37bdc
JM
216632013-12-05 Joseph Myers <joseph@codesourcery.com>
21664
e47cc4e0
JM
21665 [BZ #6810]
21666 * math/w_tgamma.c: Include <errno.h>.
21667 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21668 * math/w_tgammaf.c: Include <errno.h>.
21669 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21670 * math/w_tgammal.c: Include <errno.h>.
21671 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21672 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21673 underflow. Add more tgamma tests.
21674 * math/auto-libm-test-out: Regenerated.
21675 * sysdeps/i386/fpu/libm-test-ulps: Update.
21676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677
bbf37bdc
JM
21678 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21679 sin, sinh, tan, tanh, tgamma, y0 and y1.
21680 * math/auto-libm-test-out: Regenerated.
21681 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21682 (TEST_COND_x86): Likewise.
21683 (M_E2l): Remove macro.
21684 (M_E3l): Likewise.
21685 (M_2_SQRT_PIl): Likewise.
21686 (M_SQRT_PIl): Likewise.
21687 (M_1_DIV_El): Likewise.
21688 (log_test_data): Use AUTO_TESTS_f_f.
21689 (log10_test_data): Likewise.
21690 (log1p_test_data): Likewise.
21691 (log2_test_data): Likewise.
21692 (sin_test_data): Likewise.
21693 (sin_tonearest_test_data): Likewise.
21694 (sin_towardzero_test_data): Likewise.
21695 (sin_downward_test_data): Likewise.
21696 (sin_upward_test_data): Likewise.
21697 (sinh_test_data): Likewise.
21698 (sinh_tonearest_test_data): Likewise.
21699 (sinh_towardzero_test_data): Likewise.
21700 (sinh_downward_test_data): Likewise.
21701 (sinh_upward_test_data): Likewise.
21702 (tan_test_data): Likewise.
21703 (tan_tonearest_test_data): Likewise.
21704 (tan_towardzero_test_data): Likewise.
21705 (tan_downward_test_data): Likewise.
21706 (tan_upward_test_data): Likewise.
21707 (tanh_test_data): Likewise.
21708 (tgamma_test_data): Likewise.
21709 (y0_test_data): Likewise.
21710 (y1_test_data): Likewise.
21711 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21712 (special_real_inputs): Add pi/4.
21713 * sysdeps/i386/fpu/libm-test-ulps: Update.
21714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21715
eb5ad6b9
AZ
217162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21717
21718 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21719 "longjmp_target" static probes.
21720 (__longjmp): Rename to __longjmp_symbol.
21721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21722 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21723 on which longjmp to generate.
21724 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21725 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21726 probe.
21727 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21728 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21729 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21730 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21731 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21732 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21734 __longjmp_symbol based on which __longjmp to generate.
21735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21736 probe.
21737 (setjmp): Rename to setjmp_symbol.
21738 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21739 (_setjmp): Rename to _setjmp_symbol.
21740 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21741 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21742 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21743 which setjmp to generate.
21744 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21745 "longjmp_target" static probes.
21746
d136c6dc
SP
217472013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
9298ecba
SP
21749 * benchtests/README: Add note about output arguments.
21750 * benchtests/bench-sincos.c: Remove file.
21751 * benchtests/sincos-inputs: New file.
21752 * scripts/bench.pl: Identify output arguments and define
21753 static variables for them.
21754
232983e9
SP
21755 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21756
d136c6dc
SP
21757 [BZ #15941]
21758 * Makefile (INSTALL): Add install-plain.texi as the primary
21759 dependency.
21760 * manual/install-plain.texi: New file.
21761 * manual/install.texi: Include node directive only for
21762 non-plaintext output.
21763
699ff837
JM
217642013-12-04 Joseph Myers <joseph@codesourcery.com>
21765
ab07cea8
JM
21766 * stdlib/longlong.h: Update from GCC.
21767
699ff837
JM
21768 [BZ #6807]
21769 [BZ #15901]
21770 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21771 * math/w_j0f.c (y0f): Likewise.
21772 * math/w_j0l.c (__y0l): Likewise.
21773 * math/w_j1.c (y1): Likewise.
21774 * math/w_j1f.c (y1f): Likewise.
21775 * math/w_j1l.c (__y1l): Likewise
21776 * math/w_jn.c (yn): Likewise.
21777 * math/w_jnf.c (ynf): Likewise.
21778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21779 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21780 value for Bessel function domain errors outside _SVID_ mode.
21781 Adjust sign of return value for yn (negative integer, 0).
21782 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21783 by zero in return for negative x and set sign appropriately for
21784 negative n.
21785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21786 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21787 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21788 expectations in error cases.
21789 (y1_test_data): Likewise.
21790 (yn_test_data): Likewise.
21791 * sysdeps/i386/fpu/libm-test-ulps: Update.
21792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21793
5b118558
UW
217942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21795
21796 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21797 "64" to "64-v1". Add "64-v2".
21798 (abi-64-options): Rename to ...
21799 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21800 (abi-64-condition): Rename to ...
21801 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21802 (abi-64-ld-soname): Rename to ...
21803 (abi-64-v1-ld-soname): ... this.
21804 (abi-64-v2-options): Define.
21805 (abi-64-v2-condition): Likewise.
21806 (abi-64-v2-ld-soname): Likewise.
21807 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21808 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21812
61cd8fe4
UW
218132013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21814 Alan Modra <amodra@gmail.com>
21815
21816 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21817 New versions for use with the ELFv2 ABI.
21818 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21819 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21820 declaration.
21821 (struct La_ppc64v2_retval): Likewise.
21822 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21823 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21824 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21825 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21826 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21827 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21828 Do not save or restore CR.
21829 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21830 (_dl_profile_resolve): Do no save or restore CR. Support extended
21831 return values for ELFv2 ABI. Fix location of FPR return registers.
21832 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21833 updated values for _CALL_ELF == 2.
21834 (La_regs, La_retval, int_retval): Likewise.
21835
8b8a692c
UW
218362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21837
21838 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21839 (FRAME_MIN_SIZE_PARM): Likewise.
21840 (FRAME_BACKCHAIN): Likewise.
21841 (FRAME_CR_SAVE): Likewise.
21842 (FRAME_LR_SAVE): Likewise.
21843 (FRAME_TOC_SAVE): Likewise.
21844 (FRAME_PARM_SAVE): Likewise.
21845 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21846 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21847 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21848 (call_mcount_parm_offset): New macro.
21849 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21850 (PROF): Use symbolic stack frame offsets.
21851 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21852 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21853 Redefine in terms of FRAME_MIN_SIZE.
21854 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21855 (_dl_profile_resolve): Likewise. Update comment.
21856 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21857 symbols stack frame offsets.
21858 (__sigsetjmp): Likewise.
21859 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21860 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21861 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21862 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21863
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21865 (FRAME_BACKCHAIN): Remove.
21866 (FRAME_CR_SAVE): Likewise.
21867 (FRAME_LR_SAVE): Likewise.
21868 (FRAME_COMPILER_DW): Likewise.
21869 (FRAME_LINKER_DW): Likewise.
21870 (FRAME_TOC_SAVE): Likewise.
21871 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21872 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21873 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21874 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21876 (CHECK_SP): Use symbolic stack frame offsets.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21878 zone" instead of caller's parameter save area for temp storage.
21879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21880 Likewise. Also, use symbolic stack frame offsets.
21881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21882 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21883 our own stack frame instead of the caller's.
21884 (__socket): Use symbolic stack frame offsets.
21885
122b66de
UW
218862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21887 Alan Modra <amodra@gmail.com>
21888
21889 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21890 Define.
57f41c40
AS
21891 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21892 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21893 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21894 New function.
21895 (elf_machine_fixup_plt): Call it.
21896 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21897 reloc arguments.
21898 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21899 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21900 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21901 r2 before calling target.
21902
696caf1d
UW
219032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21904 Alan Modra <amodra@gmail.com>
21905
21906 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21907 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21908 versions of macros to support ELFv2 ABI.
21909 (LOCALENTRY): New macro.
21910 (ENTRY, EALIGN): Use it.
21911 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21912 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21913 fall through into ENTRY entry point.
21914 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21915 Only define if _CALL_ELF != 2.
21916
21917 (elf_machine_matches_host): Verify ABI version matches.
21918 (RTLD_START): Use LOCALENTRY.
21919 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21920 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21921 (PLT_ENTRY_WORDS): New macro.
21922 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21923 (elf_machine_runtime_setup): Support ELFv2 ABI.
21924 (elf_machine_fixup_plt): Likewise.
21925 (elf_machine_plt_conflict): Likewise.
21926 (resolve_ifunc): Likewise.
21927 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21929 Likewise.
21930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21931 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21933 (makecontext): Support ELFv2 ABI.
21934 * elf/elf.h (EF_PPC64_ABI): Define.
21935
d31beafa
UW
219362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21937
57f41c40
AS
21938 * sysdeps/powerpc/powerpc64/sysdep.h
21939 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21940 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21941 (ENTRY) [ASSEMBLER]: ... but instead here ...
21942 (EALIGN) [ASSEMBLER]: ... and here.
21943 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21944 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21945 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21946 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21947 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21948 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21949 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21950 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21952 Use PPC64_LOAD_FUNCPTR.
21953
b525166b
UW
21954 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21955
7ec07d9a
AM
219562013-12-04 Alan Modra <amodra@gmail.com>
21957
21958 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21959 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21960 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21961 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21962
21963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21964 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21965 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21966 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21967 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21968 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21969
5162e7dd
UW
219702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21971
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21973 (__makecontext): Fix incorrect CFI when backtracing out of
21974 context created via makecontext.
21975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21976 (__setcontext): Fix incorrect CFI during switch to new context.
21977 (__novec_setcontext): Likewise.
21978
19e3372b
OB
219792013-12-04 Ondřej Bílka <neleai@seznam.cz>
21980
21981 [BZ #4772]
21982 * time/strptime_l.c (__strptime_internal): Allow modifiers
21983 in strptime.
21984 * time/tst-strptime.c (day_tests): Add testcase.
21985
ecaf142d
SP
219862013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21987
21988 * scripts/bench.pl: Skip over blank lines.
21989
fbf964ae
PE
219902013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21991
21992 [BZ #926]
21993 * manual/time.texi (Calendar Time): Clarify what timezone functions
21994 use.
21995
fa60a674
AZ
219962013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21997
21998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21999
d674f0ef
OB
220002013-12-04 Ondřej Bílka <neleai@seznam.cz>
22001
22002 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22003 implementation.
22004 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22005 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22006 * debug/memset_chk.c (__memset_chk): Likewise.
22007 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22008 * debug/strncpy_chk.c: Likewise.
22009
17dea188
JM
220102013-12-03 Joseph Myers <joseph@codesourcery.com>
22011
749008ff
JM
22012 [BZ #15268]
22013 [BZ #15425]
22014 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22015 (__ieee754_exp): For possibly underflowing results, check size of
22016 result and force underflow exception if required.
22017 * math/auto-libm-test-in: Add more tests of exp.
22018 * math/auto-libm-test-out: Regenerated.
22019 * sysdeps/i386/fpu/libm-test-ulps: Update.
22020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22021
17dea188
JM
22022 [BZ #16283]
22023 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22024 * math/w_exp2f.c (__exp2f): Likewise.
22025 * math/w_exp2l.c (__exp2l): Likewise.
22026 * math/auto-libm-test-in: Do not allow missing errno on exp2
22027 underflow.
22028 * math/auto-libm-test-out: Regenerated.
22029
b20de2c3
OB
220302013-12-03 Ondřej Bílka <neleai@seznam.cz>
22031
22032 [BZ #16274]
22033 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22034 handle filename validation.
22035 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22036 (do_open): Delete.
22037
d8e2dbe3
JM
220382013-12-03 Joseph Myers <joseph@codesourcery.com>
22039
34e16df5
JM
22040 [BZ #6786]
22041 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22042 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22043 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22044 <float.h>.
22045 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22046 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22047 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22049 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22050 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22051 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22052 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22053 Add more erfc tests.
22054 * math/auto-libm-test-out: Regenerated.
22055 * sysdeps/i386/fpu/libm-test-ulps: Update.
22056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22057
d8e2dbe3
JM
22058 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22059 exp2, expm1, j0 and j1.
22060 * math/auto-libm-test-out: Regenerated.
22061 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22062 (erfc_test_data): Likewise.
22063 (exp_test_data): Likewise.
22064 (exp_tonearest_test_data): Likewise.
22065 (exp_towardzero_test_data): Likewise.
22066 (exp_downward_test_data): Likewise.
22067 (exp_upward_test_data): Likewise.
22068 (exp10_test_data): Likewise.
22069 (exp2_test_data): Likewise.
22070 (expm1_test_data): Likewise.
22071 (j0_test_data): Likewise.
22072 (j1_test_data): Likewise.
22073 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22074 (input_flag_type): Add flag_xfail_rounding.
22075 (input_flags): Add xfail-rounding.
22076 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22077 (output_for_one_input_case): Handle flag_xfail_rounding.
22078 * sysdeps/i386/fpu/libm-test-ulps: Update.
22079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22080
18d14251
AJ
220812013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22082
3d2e6075 22083 [BZ #16289]
18d14251
AJ
22084 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22085 division by 0.
22086
520d437b
SP
220872013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22088
22089 [BZ #16195]
22090 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22091 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22092 (STAP_PROBE0): New macro.
22093 (STAP_PROBE1): Likewise.
22094 (STAP_PROBE2): Likewise.
22095 (STAP_PROBE3): Likewise.
22096 (STAP_PROBE4): Likewise.
22097
416e0145
OB
220982013-12-02 Ondřej Bílka <neleai@seznam.cz>
22099
22100 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22101
9d17796a
SE
221022013-12-02 Steve Ellcey <sellcey@mips.com>
22103
22104 * benchtests/Makefile (bench): Add sqrt.
22105 (LDLIBS-bench-sqrt): New.
22106 * benchtests/sqrt-input: New.
22107
f524d6a8
PS
221082013-12-02 Pavel Simerda <psimerda@redhat.com>
22109
639a0ef8
PS
22110 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22111 (GAIH_EAI): Likewise.
22112 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22113 (gaih_inet): Likewise.
22114 (getaddrinfo): Don't use GAIH_EAI.
22115
f524d6a8
PS
22116 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22117 (struct gaih): Remove definition.
22118
df3aedaf
SP
221192013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22120
22121 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22122 Use HERRNOP directly.
22123
1ab19dec
AZ
221242013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22125
b42ad38d 22126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22127
176b0c79
JM
221282013-11-30 Joseph Myers <joseph@codesourcery.com>
22129
22130 * math/gen-auto-libm-tests.c (test_functions): Add more
22131 single-argument functions.
22132 (special_fill_pi_2): New function.
22133 (special_fill_minus_pi_2): Likewise.
22134 (special_fill_pi_6): Likewise.
22135 (special_fill_minus_pi_6): Likewise.
22136 (special_fill_pi_3): Likewise.
22137 (special_fill_2pi_3): Likewise.
22138 (special_fill_e): Likewise.
22139 (special_fill_1_e): Likewise.
22140 (special_fill_e_minus_1): Likewise.
22141 (special_real_inputs): Add more special inputs.
22142 (output_for_one_input_case): Do not require ERANGE on underflow to
22143 zero if round-to-nearest result does not underflow to zero, unless
22144 exact results required.
22145 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22146 atan, atanh, cbrt, cos and cosh.
22147 * math/auto-libm-test-out: Regenerated.
22148 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22149 (acos_tonearest_test_data): Likewise.
22150 (acos_towardzero_test_data): Likewise.
22151 (acos_downward_test_data): Likewise.
22152 (acos_upward_test_data): Likewise.
22153 (acosh_test_data): Likewise.
22154 (asin_test_data): Likewise.
22155 (asin_tonearest_test_data): Likewise.
22156 (asin_towardzero_test_data): Likewise.
22157 (asin_upward_test_data): Likewise.
22158 (asinh_test_data): Likewise.
22159 (atan_test_data): Likewise.
22160 (atanh_test_data): Likewise.
22161 (cbrt_test_data): Likewise.
22162 (cos_test_data): Likewise.
22163 (cos_tonearest_test_data): Likewise.
22164 (cos_towardzero_test_data): Likewise.
22165 (cos_downward_test_data): Likewise.
22166 (cos_upward_test_data): Likewise.
22167 (cosh_test_data): Likewise.
22168 (cosh_tonearest_test_data): Likewise.
22169 (cosh_towardzero_test_data): Likewise.
22170 (cosh_downward_test_data): Likewise.
22171 (cosh_upward_test_data): Likewise.
22172 * sysdeps/i386/fpu/libm-test-ulps: Update.
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174
ffb536d0
JM
221752013-11-29 Joseph Myers <joseph@codesourcery.com>
22176
2a77a467
JM
22177 [BZ #6787]
22178 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22179 * math/w_exp10f.c (__exp10f): Likewise.
22180 * math/w_exp10l.c (__exp10l): Likewise.
22181 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22182 errno settings in existing tests.
22183
ea3bc4e8
JM
22184 [BZ #14032]
22185 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22186 precision control set to double precision.
22187 * sysdeps/i386/fpu/w_sqrt.c: New file.
22188 * math/auto-libm-test-in: Add more tests.
22189 * math/auto-libm-test-out: Update.
22190
0712c9d8
JM
22191 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22192 (sqrt_test_tonearest): New function.
22193 (sqrt_towardzero_test_data): New variable.
22194 (sqrt_test_towardzero): New function.
22195 (sqrt_downward_test_data): New variable.
22196 (sqrt_test_downward): New function.
22197 (sqrt_upward_test_data): New variable.
22198 (sqrt_test_upward): New function.
22199 (main): Call the new functions.
22200
ffb536d0
JM
22201 * math/gen-auto-libm-tests.c: New file.
22202 * math/auto-libm-test-in: Likewise.
22203 * math/auto-libm-test-out: New generated file.
22204 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22205 variables.
22206 (%beautify): Add generated representations of zero.
22207 (top level): Set $auto_input and call parse_auto_input.
22208 (beautify): Remove trailing "f" from hex float constants.
22209 (parse_args): Handle XFAIL_TEST.
22210 (convert_condition): New function.
22211 (or_value): Likewise.
22212 (or_cond_value): Likewise.
22213 (generate_testfile): Handle AUTO_TESTS_* lines.
22214 (parse_auto_input): New function.
22215 * math/libm-test.inc (XFAIL_TEST): New macro.
22216 (ERRNO_UNCHANGED): Update value.
22217 (ERRNO_EDOM): Likewise.
22218 (ERRNO_ERANGE): Likewise.
22219 (IGNORE_RESULT): Likewise.
22220 (TEST_COND_flt_32): New macro.
22221 (TEST_COND_dbl_64): Likewise.
22222 (TEST_COND_ldbl_96_intel): Likewise.
22223 (TEST_COND_ldbl_96_m68k): Likewise.
22224 (TEST_COND_ldbl_128): Likewise.
22225 (TEST_COND_ldbl_128ibm): Likewise.
22226 (TEST_COND_long32): Likewise.
22227 (TEST_COND_long64): Likewise.
22228 (TEST_COND_before_rounding): Likewise.
22229 (TEST_COND_after_rounding): Likewise.
22230 (enable_test): Handle XFAIL_TEST flag.
22231 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22232 with finite results.
22233 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22234 auto-libm-test-out.
22235
acd98a8e
AK
222362013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22237 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22238
22239 [BZ #16214]
22240 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22241 __tls_get_addr_internal instead of __tls_get_offset in order to
22242 avoid GOT pointer dependency. Make rtld export
22243 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22244 __tls_get_addr since we are a __tls_get_offset platform.
22245 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22246 GOT pointer being set up before.
22247 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22248
3c1c46a6
JM
222492013-11-28 Joseph Myers <joseph@codesourcery.com>
22250
7475aef5
JM
22251 * manual/math.texi (Errors in Math Functions): Document accuracy
22252 goals.
22253
8bca7cd8
JM
22254 [BZ #15004]
22255 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22256 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22259 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22271
91a1f3fe
JM
22272 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22273 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22274 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22275 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22276 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22277 Likewise.
22278 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22279 Likewise.
22280 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22281 Likewise.
22282 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22283 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22284 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22285 atomic-feupdateenv and flt-rounds.
22286 * sysdeps/powerpc/nofpu/Versions (libc): Add
22287 __atomic_feholdexcept, __atomic_feclearexcept,
22288 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22289 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22290 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22291 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22292 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22293 here.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22295 Update.
22296
c5df7609
JM
22297 * manual/arith.texi (FP Exceptions): Document that exceptions may
22298 not be raised when matherr is used.
22299 (Math Error Reporting): Document overflow in directed rounding
22300 modes. Document that errno may not be set when finite values are
22301 returned on overflow. Document intent to set errno on underflow
22302 only for underflow to zero.
22303
3c1c46a6
JM
22304 [BZ #16271]
22305 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22306 round-to-nearest then adjust result for other rounding modes.
22307 * include/fenv.h (fegetround): Use libm_hidden_proto.
22308 * math/fegetround.c (fegetround): Use libm_hidden_def.
22309 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22310 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22311 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22312 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22313 Likewise.
22314 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22316 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22317 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22318
5a4c6d53
SP
223192013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22320
22321 [BZ #16077]
22322 * nss/Versions (libnss_files): Add
22323 _nss_files_gethostbyname3_r.
22324 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22325 New function.
22326 (HOST_DB_LOOKUP): Remove macro.
22327 (_nss_files_gethostbyname_r): Implement function without the
22328 HOST_DB_LOOKUP macro.
22329 (_nss_files_gethostbyname2_r): Likewise.
22330
897b98ba
OB
223312013-11-28 Ondřej Bílka <neleai@seznam.cz>
22332
22333 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22334
6f476861
UB
223352013-11-26 Uros Bizjak <ubizjak@gmail.com>
22336
22337 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22338 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22339 warning.
22340
bd12ab55
AZ
223412013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22342
22343 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22344 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22345 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22346 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22347 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22348 __fe_nomask_env_priv and attribute_hidden.
22349 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22350 (libc_feupdateenv_test_ppc): Likewise.
22351 (libc_feresetround_ppc): Likewise.
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22353 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22354 compat_symbol macro.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22356 (__fe_nomask_env): Likewise.
22357 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22358
52bb6543
OB
223592013-11-26 Ondřej Bílka <neleai@seznam.cz>
22360
22361 * string/Makefile: Remove ifunc tests.
22362 * string/test-string.h: Define TEST_IFUNC.
22363 * string/test-bcopy-ifunc.c: Remove.
22364 * string/test-bzero-ifunc.c: Likewise.
22365 * string/test-memccpy-ifunc.c: Likewise.
22366 * string/test-memchr-ifunc.c: Likewise.
22367 * string/test-memcmp-ifunc.c: Likewise.
22368 * string/test-memcpy-ifunc.c: Likewise.
22369 * string/test-memmem-ifunc.c: Likewise.
22370 * string/test-memmove-ifunc.c: Likewise.
22371 * string/test-mempcpy-ifunc.c: Likewise.
22372 * string/test-memrchr-ifunc.c: Likewise.
22373 * string/test-memset-ifunc.c: Likewise.
22374 * string/test-rawmemchr-ifunc.c: Likewise.
22375 * string/test-stpcpy-ifunc.c: Likewise.
22376 * string/test-stpncpy-ifunc.c: Likewise.
22377 * string/test-strcasecmp-ifunc.c: Likewise.
22378 * string/test-strcasestr-ifunc.c: Likewise.
22379 * string/test-strcat-ifunc.c: Likewise.
22380 * string/test-strchr-ifunc.c: Likewise.
22381 * string/test-strchrnul-ifunc.c: Likewise.
22382 * string/test-strcmp-ifunc.c: Likewise.
22383 * string/test-strcpy-ifunc.c: Likewise.
22384 * string/test-strcspn-ifunc.c: Likewise.
22385 * string/test-strlen-ifunc.c: Likewise.
22386 * string/test-strncasecmp-ifunc.c: Likewise.
22387 * string/test-strncat-ifunc.c: Likewise.
22388 * string/test-strncmp-ifunc.c: Likewise.
22389 * string/test-strncpy-ifunc.c: Likewise.
22390 * string/test-strnlen-ifunc.c: Likewise.
22391 * string/test-strpbrk-ifunc.c: Likewise.
22392 * string/test-strrchr-ifunc.c: Likewise.
22393 * string/test-strspn-ifunc.c: Likewise.
22394 * string/test-strstr-ifunc.c: Likewise.
22395
ab260039 223962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22397
22398 * benchtests/Makefile: Remove ifunc tests.
22399 * benchtests/bench-string.h: Define TEST_IFUNC.
22400 * benchtests/bench-bcopy-ifunc.c: Remove.
22401 * benchtests/bench-bzero-ifunc.c: Likewise.
22402 * benchtests/bench-memccpy-ifunc.c: Likewise.
22403 * benchtests/bench-memchr-ifunc.c: Likewise.
22404 * benchtests/bench-memcmp-ifunc.c: Likewise.
22405 * benchtests/bench-memcpy-ifunc.c: Likewise.
22406 * benchtests/bench-memmem-ifunc.c: Likewise.
22407 * benchtests/bench-memmove-ifunc.c: Likewise.
22408 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22409 * benchtests/bench-memrchr-ifunc.c: Likewise.
22410 * benchtests/bench-memset-ifunc.c: Likewise.
22411 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22412 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22413 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22414 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22415 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22416 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22417 * benchtests/bench-strcat-ifunc.c: Likewise.
22418 * benchtests/bench-strchr-ifunc.c: Likewise.
22419 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22420 * benchtests/bench-strcmp-ifunc.c: Likewise.
22421 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22422 * benchtests/bench-strcpy-ifunc.c: Likewise.
22423 * benchtests/bench-strcspn-ifunc.c: Likewise.
22424 * benchtests/bench-strlen-ifunc.c: Likewise.
22425 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22426 * benchtests/bench-strncat-ifunc.c: Likewise.
22427 * benchtests/bench-strncmp-ifunc.c: Likewise.
22428 * benchtests/bench-strncpy-ifunc.c: Likewise.
22429 * benchtests/bench-strnlen-ifunc.c: Likewise.
22430 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22431 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22432 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22433 * benchtests/bench-strspn-ifunc.c: Likewise.
22434 * benchtests/bench-strstr-ifunc.c: Likewise.
22435
224362013-11-26 Ondřej Bílka <neleai@seznam.cz>
22437
ab260039
OB
22438 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22439
d1d9eaf4 224402013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22441
d1d9eaf4
OB
22442 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22443 * rt/aio.h: Likewise.
22444 * sysdeps/gnu/bits/utmp.h: Likewise.
22445 * sysdeps/gnu/bits/utmpx.h: Likewise.
22446 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22447 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22448 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22449 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22450 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22451 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22452 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22453 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22454 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22455 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22456 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22457 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22458 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22461 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22462 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22463 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22464 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22465 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22466 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22467 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22468 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22469 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22470 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22472 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22473 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22474 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22475 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22478 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22479 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22480 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22481 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22482 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22483 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22484 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22486 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22487 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22488
a7624ed9
CD
224892013-11-25 Carlos O'Donell <carlos@redhat.com>
22490
22491 [BZ #16245]
22492 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22493 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22494
63cfe52b
JM
224952013-11-25 Joseph Myers <joseph@codesourcery.com>
22496
22497 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22498 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22499 Likewise.
22500
41e8926a
AZ
225012013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22502
22503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22504 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22505 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22506 (__fesetround): Remove define.
22507 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22508 rounding and exceptions handling.
22509 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22510 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22511 (__fe_nomask_env): Likewise.
22512 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22513 __fegetround instead of fegetround.
22514 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22515 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22516
6851bd4d
RM
225172013-11-21 Roland McGrath <roland@hack.frob.com>
22518
070906ff
RM
22519 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22520 it's there.
22521
6851bd4d
RM
22522 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22523
84ae135d
MI
225242013-11-21 Meador Inge <meadori@codesourcery.com>
22525
22526 [BZ #11157]
22527 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22528 (encrypt_r): Likewise.
22529 * malloc/obstack.h (obstack_free): Likewise.
22530 * posix/unistd.h (encrypt): Likewise.
22531
daf75146
GM
225322013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22533
22534 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22535 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22536 DL_CALL_DT_FINI() that call the functions directly.
22537 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22538 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22539 * elf/dl-fini.c: Likewise.
22540
10ad46bc
OB
225412013-11-20 Ondřej Bílka <neleai@seznam.cz>
22542
22543 * malloc/hooks.c (memalign_check): Add alignment rounding.
22544 * malloc/malloc.c (_mid_memalign): New function.
22545 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22546 Implement by calling _mid_memalign.
22547 * manual/probes.texi (Memory Allocation Probes): Remove
22548 memory_valloc_retry and memory_pvalloc_retry.
22549
f3fd2628
SP
225502013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22551
4712799f
SP
22552 * locale/programs/locarchive.c (open_archive): Add const
22553 qualifier to ARCHIVEFNAME and copy default fname to
22554 DEFAULT_FNAME.
22555
0417b20f
SP
22556 [BZ #15601]
22557 * libio/tst-widetext.input: Rename Oriya to Odia.
22558 * locale/iso-639.def: Likewise.
22559
f3fd2628
SP
22560 * manual/probes.texi (Mathematical Function Probes): Add
22561 documentation for sin, cos, asin and acos probes.
22562 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22563 (__sin32): Add slowasin probe.
22564 (__cos32): Add slowacos probe.
22565 (__mpsin): Add slowsin probe.
22566 (__mpcos): Add slowcos probe.
22567
73c1ce4f
JM
225682013-11-19 Joseph Myers <joseph@codesourcery.com>
22569
22570 [BZ #15483]
22571 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22572 thread-local __sim_exceptions_thread and global
22573 __sim_exceptions_global.
22574 (__sim_disabled_exceptions): Change to thread-local
22575 __sim_disabled_exceptions_thread and global
22576 __sim_disabled_exceptions_global.
22577 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22578 and global __sim_round_mode_global.
22579 (__simulate_exceptions): Use thread-local floating-point state and
22580 set global state from it as needed.
22581 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22582 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22583 __sim_round_mode_thread.
22584 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22585 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22586 and global __sim_exceptions_global.
22587 (__sim_disabled_exceptions): Change to thread-local
22588 __sim_disabled_exceptions_thread and global
22589 __sim_disabled_exceptions_global.
22590 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22591 and global __sim_round_mode_global.
22592 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22593 (SIM_SET_GLOBAL): Likewise.
22594 * sysdeps/powerpc/soft-fp/sfp-machine.h
22595 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22596 __sim_round_mode_thread.
22597 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22598 __sim_disabled_exceptions_thread.
22599 (__sim_exceptions): Change to __sim_exceptions_thread.
22600 (__sim_disabled_exceptions): Change to
22601 __sim_disabled_exceptions_thread.
22602 (__sim_round_mode): Change to __sim_round_mode_thread.
22603 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22604 thread-local floating-point state and set global state from it as
22605 needed.
22606 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22607 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22608 (__sim_disabled_exceptions): Remove extern declaration.
22609 (feenableexcept): Use thread-local floating-point state and set
22610 global state from it as needed.
22611 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22612 extern declaration.
22613 (__sim_disabled_exceptions): Likewise.
22614 (__sim_round_mode): Likewise.
22615 (__fegetenv): Use thread-local floating-point state.
22616 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22617 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22618 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22619 floating-point state and set global state from it as needed.
22620 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22621 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22622 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22623 Likewise.
22624 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22625 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22626 Likewise.
22627 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22628 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22629 Use __sim_round_mode_thread.
22630 * math/test-fenv-tls.c: New file.
22631 * math/Makefile (tests): Add test-fenv-tls.
22632 ($(objpfx)test-fenv-tls): Depend on
22633 $(common-objpfx)nptl/libpthread.so.
22634
b5449b12
AS
226352013-11-19 Andreas Schwab <schwab@suse.de>
22636
22637 * locale/programs/locale.c (show_info): Decode wordarray elements.
22638 * locale/categories.def (LC_MONETARY): Add element for
22639 _NL_MONETARY_CRNCYSTR.
22640 * locale/C-monetary.c (conversion_rate): New variable.
22641 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22642 element.
22643
e186536b
CM
226442013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22645
22646 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22647 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22648
5c349950
PP
226492013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22650
22651 * elf/Makefile (tst-auxv): New test.
22652 * elf/tst-auxv.c: New
22653 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22654
699df45b
JM
226552013-11-18 Joseph Myers <joseph@codesourcery.com>
22656
22657 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22658 (hidden_proto): Caller changed.
22659 (hidden_tls_proto): New macro.
22660 (libc_hidden_tls_proto): Likewise.
22661 (rtld_hidden_tls_proto): Likewise.
22662 (libm_hidden_tls_proto): Likewise.
22663 (libresolv_hidden_tls_proto): Likewise.
22664 (librt_hidden_tls_proto): Likewise.
22665 (libdl_hidden_tls_proto): Likewise.
22666 (libnss_files_hidden_tls_proto): Likewise.
22667 (libnsl_hidden_tls_proto): Likewise.
22668 (libnss_nisplus_hidden_tls_proto): Likewise.
22669 (libutil_hidden_tls_proto): Likewise.
22670
b7589107
OB
226712013-11-18 Ondřej Bílka <neleai@seznam.cz>
22672
22673 [BZ #10253]
22674 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22675 (decompose_rpath): Defer expansion to fillin_rpath.
22676 (_dl_init_paths): Pass linkmap to fillin_rpath.
22677
250c23bd
RS
226782013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22679
22680 * benchtests/Makefile: Add strsep.
22681 * benchtests/bench-strsep.c: New file: strsep benchtest.
22682 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22683
a7931fcf
AS
226842013-11-18 Andreas Schwab <schwab@suse.de>
22685
22686 * locale/programs/locale.c (show_info) [case byte]: Check for
22687 '\377' instead of '\177'.
22688 * locale/C-monetary.c (not_available): Always use "\377".
22689 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22690 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22691 detect unavailable sign_posn locale elements.
22692 * locale/localeconv.c (__localeconv): For grouping and
22693 mon_grouping handle "\177" and "\377" like no grouping.
22694 (INT_ELEM): New macro. Use it to set all numeric members.
22695 * locale/programs/ld-monetary.c (monetary_read)
22696 <tok_mon_grouping>: Normalize single -1 to the empty string.
22697 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22698 Likewise.
22699
728dab0e
OB
227002013-11-07 Ondřej Bílka <neleai@seznam.cz>
22701
22702 [BZ #16055]
22703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22704 when we match (nil).
22705 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22706
66294491
JM
227072013-11-16 Joseph Myers <joseph@codesourcery.com>
22708
ce665817
JM
22709 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22710 (NO_TEST_INLINE): Update value.
22711 (ERRNO_UNCHANGED): Likewise.
22712 (ERRNO_EDOM): Likewise.
22713 (ERRNO_ERANGE): Likewise.
22714 (IGNORE_RESULT): Likewise.
22715 (check_float_internal): Check signs of NaN results if
22716 TEST_NAN_SIGN used.
22717 (check_complex): Pass TEST_NAN_SIGN flag through to second
22718 check_float_internal call.
22719 (copysign_test_data): Add tests with quiet NaNs as second
22720 argument. Use TEST_NAN_SIGN.
22721 (fabs_test_data): Add test of negative quiet NaN argument. Use
22722 TEST_NAN_SIGN.
22723 (signbit_test_data): Add tests of quiet NaN argument.
22724 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22725
ee1466a9
JM
22726 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22727 $ignore_result.
22728 (parse_args): Handle function results specified as IGNORE.
22729 * math/libm-test.inc (IGNORE_RESULT): New macro.
22730 (check_float_internal): Do not check numerical result if flag
22731 IGNORE_RESULT set.
22732 (check_complex): Pass through IGNORE_RESULT to second
22733 check_float_internal call.
22734 (check_int): Do not check numerical result if flag IGNORE_RESULT
22735 set.
22736 (check_long): Likewise.
22737 (check_bool): Likewise.
22738 (check_longlong): Likewise.
22739 (lrint_test_data): Add tests of infinite and NaN arguments.
22740 (lrint_tonearest_test_data): Likewise.
22741 (lrint_towardzero_test_data): Likewise.
22742 (lrint_downward_test_data): Likewise.
22743 (lrint_upward_test_data): Likewise.
22744 (llrint_test_data): Likewise.
22745 (llrint_tonearest_test_data): Likewise.
22746 (llrint_towardzero_test_data): Likewise.
22747 (llrint_downward_test_data): Likewise.
22748 (llrint_upward_test_data): Likewise.
22749 (lround_test_data): Likewise.
22750 (llround_test_data): Likewise.
22751
14407b7e
JM
22752 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22753 (ERRNO_UNCHANGED): Update value.
22754 (ERRNO_EDOM): Likewise.
22755 (ERRNO_ERANGE): Likewise.
22756 (NO_TEST_INLINE_FLOAT): New macro.
22757 (NO_TEST_INLINE_DOUBLE): Likewise.
22758 (enable_test): New function.
22759 (RUN_TEST_f_f): Check enable_test before running test.
22760 (RUN_TEST_2_f): Likewise.
22761 (RUN_TEST_fff_f): Likewise.
22762 (RUN_TEST_c_f): Likewise.
22763 (RUN_TEST_f_f1): Likewise.
22764 (RUN_TEST_fF_f1): Likewise.
22765 (RUN_TEST_fI_f1): Likewise.
22766 (RUN_TEST_ffI_f1): Likewise.
22767 (RUN_TEST_c_c): Likewise.
22768 (RUN_TEST_cc_c): Likewise.
22769 (RUN_TEST_f_i): Likewise.
22770 (RUN_TEST_f_i_tg): Likewise.
22771 (RUN_TEST_ff_i_tg): Likewise.
22772 (RUN_TEST_f_b): Likewise.
22773 (RUN_TEST_f_b_tg): Likewise.
22774 (RUN_TEST_f_l): Likewise.
22775 (RUN_TEST_f_L): Likewise.
22776 (RUN_TEST_fFF_11): Likewise.
22777 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22778 conditionals.
22779 (cosh_test_data): Likewise.
22780 (exp_test_data): Likewise.
22781 (expm1_test_data): Likewise.
22782 (hypot_test_data): Likewise.
22783 (pow_test_data): Likewise.
22784 (sinh_test_data): Likewise.
22785 (tanh_test_data): Likewise.
22786 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22787 flags argument.
22788
ca07f197
JM
22789 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22790 tests with quiet NaN input and output.
22791 (acosh_test_data): Likewise.
22792 (asin_test_data): Likewise.
22793 (asinh_test_data): Likewise.
22794 (atan_test_data): Likewise.
22795 (atanh_test_data): Likewise.
22796 (atan2_test_data): Likewise.
22797 (cbrt_test_data): Likewise.
22798 (cos_test_data): Likewise.
22799 (cosh_test_data): Likewise.
22800 (erf_test_data): Likewise.
22801 (erfc_test_data): Likewise.
22802 (exp_test_data): Likewise.
22803 (exp10_test_data): Likewise.
22804 (exp2_test_data): Likewise.
22805 (expm1_test_data): Likewise.
22806 (hypot_test_data): Likewise.
22807 (j0_test_data): Likewise.
22808 (j1_test_data): Likewise.
22809 (jn_test_data): Likewise.
22810 (lgamma_test_data): Likewise.
22811 (log_test_data): Likewise.
22812 (log10_test_data): Likewise.
22813 (log1p_test_data): Likewise.
22814 (log2_test_data): Likewise.
22815 (pow_test_data): Likewise.
22816 (scalb_test_data): Likewise.
22817 (sin_test_data): Likewise.
22818 (sincos_test_data): Likewise.
22819 (sinh_test_data): Likewise.
22820 (tan_test_data): Likewise.
22821 (tanh_test_data): Likewise.
22822 (tgamma_test_data): Likewise.
22823 (y0_test_data): Likewise.
22824 (y1_test_data): Likewise.
22825 (yn_test_data): Likewise.
22826
66294491
JM
22827 [BZ #16167]
22828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22829 argument being NaN and avoid computations with second argument in
22830 that case.
22831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22832 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22833 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22834
1820b143
CL
228352013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22836
22837 * locale/iso-639.def: Add Chitwani Tharu (the).
22838
714bd261
AS
228392013-11-14 Andreas Schwab <schwab@suse.de>
22840
22841 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22842 word instead of empty string.
22843
7ab44563
AZ
228442013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22845
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22847 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22849 (__fe_nomask_env): Likewise.
22850
e8470ea2
SE
228512013-11-13 Steve Ellcey <sellcey@mips.com>
22852
22853 * benchtests/bench-timing.h: Include time.h.
22854
17c1d9f0
L
228552013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22856
22857 [BZ #15997]
22858 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22859 to 3.4.0 for x32.
22860 * sysdeps/unix/sysv/linux/configure: Regenerated.
22861
9310c284
JM
228622013-11-13 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #16151]
22865 * stdlib/strtod_l.c (round_and_return): Do not consider
22866 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22867 exponent one less than half the least subnormal exponent.
22868 * stdlib/test-strtod-round-data: Add more tests.
22869 * stdlib/tst-strtod-round.c (tests): Regenerated.
22870
7a2ad8cf
AZ
228712013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22872
22873 [BZ #14143]
22874 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22875 (__fe_mask_env): Likewise.
22876 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22877 libm_hidden_proto and add function prototype.
22878 (__fe_mask_env): Add function prototype.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22880 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22882 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22884 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22885
50727aa7
MS
228862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22887
b2f386c1 22888 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22889 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22890
a615be46
MS
228912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22892
22893 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22894 of htab_find_slot().
22895
7ddace62
DM
228962013-11-11 David S. Miller <davem@davemloft.net>
22897
22898 [BZ #16150]
22899 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22900 symbol in the non-vis3 case in static builds.
22901 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22902 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22903 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22904 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22905
9182aa67
JK
229062013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22907
22908 [BZ #387]
22909 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22910 it is empty.
22911
450a2e2d
AZ
229122013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913
b2f386c1
SP
22914 * benchtests/Makefile: Add bench-strtod.
22915 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22916
8ec3f656
AS
229172013-11-11 Andreas Schwab <schwab@suse.de>
22918
22919 [BZ #16153]
22920 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22921 terminating NUL in key length.
22922
76a9b998
AZ
229232013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22924
22925 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22926 Add artificial ODP entry for vDSO symbol for PPC64.
22927 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22928 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22929
e4368156
OB
229302013-11-07 Ondřej Bílka <neleai@seznam.cz>
22931
22932 [BZ #15374]
22933 * nss/getent.c (services_keys): Recognize services starting with digit.
22934
8d6bb57c
DM
229352013-11-06 David S. Miller <davem@davemloft.net>
22936
22937 [BZ #15985]
22938 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22939 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22940
e256c421
WN
229412013-11-06 Will Newton <will.newton@linaro.org>
22942
22943 * manual/memory.texi (Malloc Examples): Remove register
22944 keyword from examples.
22945
f6e12daa 229462013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22947
f6e12daa 22948 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22949
9d880655
AS
229502013-11-04 Joseph Myers <joseph@codesourcery.com>
22951
fd2f9486 22952 [BZ #6981]
9d880655
AS
22953 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22954 depending on [__GCC_IEC_559 > 0].
22955 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22956 depending on [__GCC_IEC_559_COMPLEX > 0].
22957
ae129d3c
CL
229582013-11-03 Chris Leonard <cjl@sugarlabs.org>
22959
22960 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22961 to iso-639.def.
22962
4a15c2a4 229632013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22964
22965 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22966
8b35e35d
OB
229672013-11-01 Ondřej Bílka <neleai@seznam.cz>
22968
22969 [BZ #16112]
22970 * malloc/malloc (malloc_info): Do not handle first bin as
22971 special case.
22972
1d70fd6c
CL
229732013-11-01 Chris Leonard <cjl@sugarlabs.org>
22974
22975 * locale/iso-639.def: Add Central Nahuatl (nhn).
22976
8c5c2600
BH
229772013-11-01 Bruno Haible <bruno@clisp.org>
22978
22979 [BZ #7003]
22980 * manual/math.texi (BSD Random): Specify range upper bound as
22981 in POSIX.
22982
da5579c2
CL
229832013-10-31 Chris Leonard <cjl@sugarlabs.org>
22984
22985 * locale/iso-639.def: Add Meadow Mari (mhr).
22986
5d30d853
OB
229872013-10-31 Ondřej Bílka <neleai@seznam.cz>
22988
22989 [BZ #14752], [BZ #15763]
22990 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22991 Validate name.
22992 * rt/tst_shm.c: Add test for escaping directory.
22993
a4966c61
AS
229942013-10-31 Andreas Schwab <schwab@suse.de>
22995
8a43e768 22996 [BZ #15917]
a4966c61
AS
22997 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22998 followed by 'x' as part of digit sequence.
22999 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23000
28d708c4
MAP
230012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23002
23003 [BZ #16037]
23004 * configure.ac: allow GNU Make 4.0 and greater.
23005 * configure: Regenerated.
23006
a56ee40b
WN
230072013-10-30 Will Newton <will.newton@linaro.org>
23008
23009 [BZ #16038]
23010 * malloc/hooks.c (memalign_check): Limit alignment to the
23011 maximum representable power of two.
23012 * malloc/malloc.c (__libc_memalign): Likewise.
23013 * malloc/tst-memalign.c (do_test): Add test for very
23014 large alignment values.
23015 * malloc/tst-posix_memalign.c (do_test): Likewise.
23016
c6e4925d
OB
230172013-10-30 Ondřej Bílka <neleai@seznam.cz>
23018
23019 [BZ #11087]
23020 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23021 (munmap_chunk): Likewise.
23022 (mremap_chunk): Likewise.
23023
230242013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23025
8a43e768 23026 [BZ #15799]
bbea82f7
OB
23027 * stdlib/div.c (div): Remove obsolete code.
23028 * stdlib/ldiv.c (ldiv): Likewise.
23029 * stdlib/lldiv.c (lldiv): Likewise.
23030
977f4b31
SP
230312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23032
23033 [BZ #16071]
23034 * nss/nss_files/files-XXX.c (get_contents_ret): New
23035 enumerator.
23036 (get_contents): New function.
23037 (internal_getent): Use it. Expand size of LINEBUFLEN.
23038
cb8a6dbd
MF
230392013-10-30 Mike Frysinger <vapier@gentoo.org>
23040
23041 * configure.in: Moved to ...
23042 * configure.ac: ... here. Change reference to configure.in
23043 to configure.ac.
23044 * sysdeps/arm/preconfigure.ac: ... here.
23045 configure.in to configure.ac.
23046 * sysdeps/gnu/configure.in: Moved to ...
23047 * sysdeps/gnu/configure.ac: ... here.
23048 * sysdeps/i386/configure.in: Moved to ...
23049 * sysdeps/i386/configure.ac: ... here.
23050 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23051 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23052 * sysdeps/mach/configure.in: Moved to ...
23053 * sysdeps/mach/configure.ac: ... here.
23054 * sysdeps/mach/hurd/configure.in: Moved to ...
23055 * sysdeps/mach/hurd/configure.ac: ... here.
23056 * sysdeps/powerpc/configure.in: Moved to ...
23057 * sysdeps/powerpc/configure.ac: ... here.
23058 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23059 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23060 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23061 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23062 * sysdeps/s390/s390-32/configure.in: Moved to ...
23063 * sysdeps/s390/s390-32/configure.ac: ... here.
23064 * sysdeps/s390/s390-64/configure.in: Moved to ...
23065 * sysdeps/s390/s390-64/configure.ac: ... here.
23066 * sysdeps/sh/configure.in: Moved to ...
23067 * sysdeps/sh/configure.ac: ... here.
23068 * sysdeps/sparc/configure.in: Moved to ...
23069 * sysdeps/sparc/configure.ac: ... here.
23070 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23071 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23072 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23073 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23074 * sysdeps/x86_64/configure.in: Moved to ...
23075 * sysdeps/x86_64/configure.ac: ... here.
23076 * sysdeps/x86_64/preconfigure.in: Moved to ...
23077 * sysdeps/x86_64/preconfigure.ac: ... here.
23078 * aclocal.m4: Change reference to configure.in to configure.ac.
23079 * config.h.in: Likewise.
23080 * manual/install.texi: Likewise.
23081 * manual/maint.texi: Likewise.
23082 * Makefile: Likewise.
23083 * malloc/Makefile: Likewise.
23084 * nscd/Makefile: Likewise.
23085 * Makeconfig: Change reference to configure.in and
23086 preconfigure.in to configure.ac and preconfigure.ac
23087 respectively.
23088 * INSTALL: Regenerated.
23089 * configure: Likewise.
23090 * sysdeps/gnu/configure: Likewise.
23091 * sysdeps/i386/configure: Likewise.
23092 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23093 * sysdeps/mach/configure: Likewise.
23094 * sysdeps/mach/hurd/configure: Likewise.
23095 * sysdeps/powerpc/configure: Likewise.
23096 * sysdeps/powerpc/powerpc32/configure: Likewise.
23097 * sysdeps/powerpc/powerpc64/configure: Likewise.
23098 * sysdeps/s390/s390-32/configure: Likewise.
23099 * sysdeps/s390/s390-64/configure: Likewise.
23100 * sysdeps/sh/configure: Likewise.
23101 * sysdeps/sparc/configure: Likewise.
23102 * sysdeps/unix/sysv/linux/configure: Likewise.
23103 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23104 * sysdeps/x86_64/configure: Likewise.
23105 * sysdeps/x86_64/preconfigure: Likewise.
23106
36a4953a
AS
231072013-10-29 Andreas Schwab <schwab@suse.de>
23108
23109 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23110
c79a1204
SP
231112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23112
dfa1b402
SP
23113 * benchtests/pow-inputs: Add new inputs.
23114
54f73d9c
SP
23115 * benchtests/exp-inputs: Add new inputs.
23116
c79a1204
SP
23117 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23118 conditional check for return value.
23119 (__cos32): Likewise.
23120
67beb545 231212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23122
23123 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23124 to provide a boost for large inputs with word alignment.
23125 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23126 implementation based on optimized PPC64 strcpy.
23127 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23128 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23129 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23130 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23131
151659f6
OB
231322013-10-25 Ondřej Bílka <neleai@seznam.cz>
23133
482a077e 23134 [BZ #2801]
151659f6
OB
23135 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23136
10b0f26b
OB
231372013-10-25 Ondřej Bílka <neleai@seznam.cz>
23138
23139 [BZ #14876]
23140 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23141 * time/tst-strptime.c (day_tests): Add testcase.
23142
ca42d35e
OB
231432013-10-25 Ondřej Bílka <neleai@seznam.cz>
23144
482a077e 23145 [BZ #14029]
ca42d35e
OB
23146 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23147
52e6d801
FB
231482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23149
23150 [BZ #16074]
23151 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23152 MAP_FAILED on error.
23153
7cbcdb36
SP
231542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23155
23156 [BZ #16072]
23157 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23158 heap for large requests.
23159
894f3f10
AM
231602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23161
23162 [BZ #9954]
23163 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23164 result if the result has no associated interface.
23165 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23166 interface for all 127.X.Y.Z addresses.
23167
b85545a6
CL
231682013-10-24 Chris Leonard <cjl@sugarlabs.org>
23169
23170 * locale/iso-639.def: Add Ligurian (lij)
23171
d1f23d46
OB
231722013-10-21 Ondřej Bílka <neleai@seznam.cz>
23173
23174 [BZ #15825]
23175 * sunrpc/rpc_main.c: Document rpcgen -5.
23176
4db5b08f
MS
231772013-10-19 Michael Stahl <mstahl@redhat.com>
23178
23179 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23180
a471e96a
OB
231812013-10-19 Ondřej Bílka <neleai@seznam.cz>
23182
d1f23d46 23183 [BZ #10278]
a471e96a
OB
23184 * posix/glob.c: Match only directories when trailing slash is present.
23185 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23186 (main): Add testcase.
23187
45c30c61
OB
231882013-10-19 Ondřej Bílka <neleai@seznam.cz>
23189
23190 [BZ #15670]
23191 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23192
484c12fb
CD
231932013-10-18 Carlos O'Donell <carlos@redhat.com>
23194
3d7dc513
CD
23195 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23196 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23197 AUTH_DES and cindex for FIPS 140-2.
23198 (DES Encryption): Add cindex FIPS 46-3.
23199
484c12fb
CD
23200 * locale/locarchive.h (struct locarhandle): Add fname.
23201 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23202 if an optional argument was specified to --list-archive,
23203 otherwise NULL.
23204 * locale/programs/locarchive.c (show_archive_content): Take new
23205 argument fname and pass it via ah.fname to open_archive.
23206 * locale/programs/localedef.h: Update decl.
23207 (open_archive): If AH->fname is non-null, open that file
23208 rather than the default file name, and don't ignore ENOENT.
23209 (create_archive): Set AH.fname to NULL.
23210 (delete_locales_from_archive): Likewise.
23211 (add_locales_to_archive): Likewise.
23212 * locale/programs/locfile.c (write_all_categories): Likewise.
23213
3c8325fb
JM
232142013-10-18 Joseph Myers <joseph@codesourcery.com>
23215 Aldy Hernandez <aldyh@redhat.com>
23216
23217 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23218 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23219 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23220 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23221 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23222 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23223 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23224 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23225 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23226 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23227 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23228 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23229 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23230 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23231 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23232 Likewise.
23233 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23234 Likewise.
23235 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23236 Likewise.
23237 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23238 Likewise.
23239 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23240 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23241 Likewise.
23242 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23243 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23244 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23245 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23246 Likewise.
23247 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23248 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23249 * sysdeps/powerpc/preconfigure: Likewise.
23250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23251 Likewise.
23252 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23253 Replace contents of file by #include of <fenv_libc.h>.
23254 * sysdeps/powerpc/soft-fp/sfp-machine.h
23255 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23256 and <sys/prctl.h>.
23257 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23259 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23260 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23261 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23262 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23264 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23265 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23266 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23267 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23268 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23270 Allow copysignl PLT reference to be missing.
23271
5abe0682
RS
232722013-10-18 Richard Sandiford <richard@codesourcery.com>
23273 Joseph Myers <joseph@codesourcery.com
23274
23275 [BZ #15948]
23276 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23277 single character.
23278 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23279
c7738d08
SP
232802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23281
23282 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23283 * elf/tst-tls1.c: Likewise.
23284 * elf/tst-tls10.h: Likewise.
23285 * elf/tst-tls14.c: Likewise.
23286 * elf/tst-tls2.c: Likewise.
23287 * elf/tst-tls3.c: Likewise.
23288 * elf/tst-tls4.c: Likewise.
23289 * elf/tst-tls5.c: Likewise.
23290 * elf/tst-tls6.c: Likewise.
23291 * elf/tst-tls7.c: Likewise.
23292 * elf/tst-tls8.c: Likewise.
23293 * elf/tst-tls9.c: Likewise.
23294 * elf/tst-tlsmod1.c: Likewise.
23295 * elf/tst-tlsmod13.c: Likewise.
23296 * elf/tst-tlsmod13a.c: Likewise.
23297 * elf/tst-tlsmod14a.c: Likewise.
23298 * elf/tst-tlsmod16a.c: Likewise.
23299 * elf/tst-tlsmod16b.c: Likewise.
23300 * elf/tst-tlsmod2.c: Likewise.
23301 * elf/tst-tlsmod3.c: Likewise.
23302 * elf/tst-tlsmod4.c: Likewise.
23303 * elf/tst-tlsmod5.c: Likewise.
23304 * elf/tst-tlsmod6.c: Likewise.
23305
0bfcf2c7
OB
233062013-10-18 Ondřej Bílka <neleai@seznam.cz>
23307
23308 [BZ #12486]
23309 * malloc/malloc.c: remove checks for statistics.
23310
264aad1e
OB
233112013-10-17 Ondřej Bílka <neleai@seznam.cz>
23312
23313 [BZ #15277]
23314 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23315 * inet/tst-network.c: Add testcase.
23316
b957ced8
AS
233172013-10-17 Andreas Schwab <schwab@suse.de>
23318
23319 [BZ #15218]
23320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23321 to determine canonical name.
23322
c5d5d574
OB
233232013-10-17 Ondřej Bílka <neleai@seznam.cz>
23324
23325 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23326 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23349 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23350 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23383
e5c2c2d0
JM
233842013-10-17 Joseph Myers <joseph@codesourcery.com>
23385
23386 [BZ #16041]
23387 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23388 make result into a quiet NaN.
23389
51ca9e29
JM
233902013-10-16 Joseph Myers <joseph@codesourcery.com>
23391
23392 * soft-fp/adddf3.c: Fix horizontal whitespace.
23393 * soft-fp/addsf3.c: Likewise.
23394 * soft-fp/addtf3.c: Likewise.
23395 * soft-fp/divdf3.c: Likewise.
23396 * soft-fp/divsf3.c: Likewise.
23397 * soft-fp/divtf3.c: Likewise.
23398 * soft-fp/double.h: Likewise.
23399 * soft-fp/eqdf2.c: Likewise.
23400 * soft-fp/eqsf2.c: Likewise.
23401 * soft-fp/eqtf2.c: Likewise.
23402 * soft-fp/extenddftf2.c: Likewise.
23403 * soft-fp/extended.h: Likewise.
23404 * soft-fp/extendsfdf2.c: Likewise.
23405 * soft-fp/extendsftf2.c: Likewise.
23406 * soft-fp/extendxftf2.c: Likewise.
23407 * soft-fp/fixdfdi.c: Likewise.
23408 * soft-fp/fixdfsi.c: Likewise.
23409 * soft-fp/fixdfti.c: Likewise.
23410 * soft-fp/fixsfdi.c: Likewise.
23411 * soft-fp/fixsfsi.c: Likewise.
23412 * soft-fp/fixsfti.c: Likewise.
23413 * soft-fp/fixtfdi.c: Likewise.
23414 * soft-fp/fixtfsi.c: Likewise.
23415 * soft-fp/fixtfti.c: Likewise.
23416 * soft-fp/fixunsdfdi.c: Likewise.
23417 * soft-fp/fixunsdfsi.c: Likewise.
23418 * soft-fp/fixunsdfti.c: Likewise.
23419 * soft-fp/fixunssfdi.c: Likewise.
23420 * soft-fp/fixunssfsi.c: Likewise.
23421 * soft-fp/fixunssfti.c: Likewise.
23422 * soft-fp/fixunstfdi.c: Likewise.
23423 * soft-fp/fixunstfsi.c: Likewise.
23424 * soft-fp/fixunstfti.c: Likewise.
23425 * soft-fp/floatdidf.c: Likewise.
23426 * soft-fp/floatdisf.c: Likewise.
23427 * soft-fp/floatditf.c: Likewise.
23428 * soft-fp/floatsidf.c: Likewise.
23429 * soft-fp/floatsisf.c: Likewise.
23430 * soft-fp/floatsitf.c: Likewise.
23431 * soft-fp/floattidf.c: Likewise.
23432 * soft-fp/floattisf.c: Likewise.
23433 * soft-fp/floattitf.c: Likewise.
23434 * soft-fp/floatundidf.c: Likewise.
23435 * soft-fp/floatundisf.c: Likewise.
23436 * soft-fp/floatunditf.c: Likewise.
23437 * soft-fp/floatunsidf.c: Likewise.
23438 * soft-fp/floatunsisf.c: Likewise.
23439 * soft-fp/floatunsitf.c: Likewise.
23440 * soft-fp/floatuntidf.c: Likewise.
23441 * soft-fp/floatuntisf.c: Likewise.
23442 * soft-fp/floatuntitf.c: Likewise.
23443 * soft-fp/fmadf4.c: Likewise.
23444 * soft-fp/fmasf4.c: Likewise.
23445 * soft-fp/fmatf4.c: Likewise.
23446 * soft-fp/gedf2.c: Likewise.
23447 * soft-fp/gesf2.c: Likewise.
23448 * soft-fp/getf2.c: Likewise.
23449 * soft-fp/ledf2.c: Likewise.
23450 * soft-fp/lesf2.c: Likewise.
23451 * soft-fp/letf2.c: Likewise.
23452 * soft-fp/muldf3.c: Likewise.
23453 * soft-fp/mulsf3.c: Likewise.
23454 * soft-fp/multf3.c: Likewise.
23455 * soft-fp/negdf2.c: Likewise.
23456 * soft-fp/negsf2.c: Likewise.
23457 * soft-fp/negtf2.c: Likewise.
23458 * soft-fp/op-1.h: Likewise.
23459 * soft-fp/op-2.h: Likewise.
23460 * soft-fp/op-4.h: Likewise.
23461 * soft-fp/op-8.h: Likewise.
23462 * soft-fp/op-common.h: Likewise.
23463 * soft-fp/quad.h: Likewise.
23464 * soft-fp/single.h: Likewise.
23465 * soft-fp/soft-fp.h: Likewise.
23466 * soft-fp/sqrtdf2.c: Likewise.
23467 * soft-fp/sqrtsf2.c: Likewise.
23468 * soft-fp/sqrttf2.c: Likewise.
23469 * soft-fp/subdf3.c: Likewise.
23470 * soft-fp/subsf3.c: Likewise.
23471 * soft-fp/subtf3.c: Likewise.
23472 * soft-fp/truncdfsf2.c: Likewise.
23473 * soft-fp/trunctfdf2.c: Likewise.
23474 * soft-fp/trunctfsf2.c: Likewise.
23475 * soft-fp/trunctfxf2.c: Likewise.
23476 * soft-fp/unorddf2.c: Likewise.
23477 * soft-fp/unordsf2.c: Likewise.
23478 * soft-fp/unordtf2.c: Likewise.
23479
9ebb0332
JM
234802013-10-15 Joseph Myers <joseph@codesourcery.com>
23481
23482 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23483 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23484
4b1a6d8b
OB
234852013-10-15 Ondřej Bílka <neleai@seznam.cz>
23486
23487 * elf/dl-libc.c: Clear initfini list after freeing.
23488
1e145589
JM
234892013-10-14 Joseph Myers <joseph@codesourcery.com>
23490
23491 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23492 * soft-fp/addsf3.c: Likewise.
23493 * soft-fp/addtf3.c: Likewise.
23494 * soft-fp/divdf3.c: Likewise.
23495 * soft-fp/divsf3.c: Likewise.
23496 * soft-fp/divtf3.c: Likewise.
23497 * soft-fp/double.h: Likewise.
23498 * soft-fp/eqdf2.c: Likewise.
23499 * soft-fp/eqsf2.c: Likewise.
23500 * soft-fp/eqtf2.c: Likewise.
23501 * soft-fp/extenddftf2.c: Likewise.
23502 * soft-fp/extended.h: Likewise.
23503 * soft-fp/extendsfdf2.c: Likewise.
23504 * soft-fp/extendsftf2.c: Likewise.
23505 * soft-fp/extendxftf2.c: Likewise.
23506 * soft-fp/fixdfdi.c: Likewise.
23507 * soft-fp/fixdfsi.c: Likewise.
23508 * soft-fp/fixdfti.c: Likewise.
23509 * soft-fp/fixsfdi.c: Likewise.
23510 * soft-fp/fixsfsi.c: Likewise.
23511 * soft-fp/fixsfti.c: Likewise.
23512 * soft-fp/fixtfdi.c: Likewise.
23513 * soft-fp/fixtfsi.c: Likewise.
23514 * soft-fp/fixtfti.c: Likewise.
23515 * soft-fp/fixunsdfdi.c: Likewise.
23516 * soft-fp/fixunsdfsi.c: Likewise.
23517 * soft-fp/fixunsdfti.c: Likewise.
23518 * soft-fp/fixunssfdi.c: Likewise.
23519 * soft-fp/fixunssfsi.c: Likewise.
23520 * soft-fp/fixunssfti.c: Likewise.
23521 * soft-fp/fixunstfdi.c: Likewise.
23522 * soft-fp/fixunstfsi.c: Likewise.
23523 * soft-fp/fixunstfti.c: Likewise.
23524 * soft-fp/floatdidf.c: Likewise.
23525 * soft-fp/floatdisf.c: Likewise.
23526 * soft-fp/floatditf.c: Likewise.
23527 * soft-fp/floatsidf.c: Likewise.
23528 * soft-fp/floatsisf.c: Likewise.
23529 * soft-fp/floatsitf.c: Likewise.
23530 * soft-fp/floattidf.c: Likewise.
23531 * soft-fp/floattisf.c: Likewise.
23532 * soft-fp/floattitf.c: Likewise.
23533 * soft-fp/floatundidf.c: Likewise.
23534 * soft-fp/floatundisf.c: Likewise.
23535 * soft-fp/floatunsidf.c: Likewise.
23536 * soft-fp/floatunsisf.c: Likewise.
23537 * soft-fp/floatuntidf.c: Likewise.
23538 * soft-fp/floatuntisf.c: Likewise.
23539 * soft-fp/floatuntitf.c: Likewise.
23540 * soft-fp/fmadf4.c: Likewise.
23541 * soft-fp/fmasf4.c: Likewise.
23542 * soft-fp/fmatf4.c: Likewise.
23543 * soft-fp/gedf2.c: Likewise.
23544 * soft-fp/gesf2.c: Likewise.
23545 * soft-fp/getf2.c: Likewise.
23546 * soft-fp/ledf2.c: Likewise.
23547 * soft-fp/lesf2.c: Likewise.
23548 * soft-fp/letf2.c: Likewise.
23549 * soft-fp/muldf3.c: Likewise.
23550 * soft-fp/mulsf3.c: Likewise.
23551 * soft-fp/multf3.c: Likewise.
23552 * soft-fp/negdf2.c: Likewise.
23553 * soft-fp/negsf2.c: Likewise.
23554 * soft-fp/negtf2.c: Likewise.
23555 * soft-fp/op-1.h: Likewise.
23556 * soft-fp/op-2.h: Likewise.
23557 * soft-fp/op-4.h: Likewise.
23558 * soft-fp/op-8.h: Likewise.
23559 * soft-fp/op-common.h: Likewise.
23560 * soft-fp/quad.h: Likewise.
23561 * soft-fp/single.h: Likewise.
23562 * soft-fp/soft-fp.h: Likewise.
23563 * soft-fp/sqrtdf2.c: Likewise.
23564 * soft-fp/sqrtsf2.c: Likewise.
23565 * soft-fp/sqrttf2.c: Likewise.
23566 * soft-fp/subdf3.c: Likewise.
23567 * soft-fp/subsf3.c: Likewise.
23568 * soft-fp/subtf3.c: Likewise.
23569 * soft-fp/truncdfsf2.c: Likewise.
23570 * soft-fp/trunctfdf2.c: Likewise.
23571 * soft-fp/trunctfsf2.c: Likewise.
23572 * soft-fp/trunctfxf2.c: Likewise.
23573 * soft-fp/unorddf2.c: Likewise.
23574 * soft-fp/unordsf2.c: Likewise.
23575 * soft-fp/unordtf2.c: Likewise.
23576
17c48a60
OB
235772013-10-14 Ondřej Bílka <neleai@seznam.cz>
23578
23579 [BZ #15672]
23580 * misc/error.c (error_tail): Fix possible buffer overflow.
23581
cabba934
OB
235822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23583
23584 [BZ #13028]
23585 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23586 address.
23587
94bf958a
PM
235882013-10-14 P. J. McDermott <pj@pehjota.net>
23589
23590 [BZ #832]
23591 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23592 testing pipefail option.
23593
71b4dea7
JM
235942013-10-12 Joseph Myers <joseph@codesourcery.com>
23595
23596 * soft-fp/double.h: Indent preprocessor directives inside #if.
23597 * soft-fp/extended.h: Likewise.
23598 * soft-fp/op-2.h: Likewise.
23599 * soft-fp/op-4.h: Likewise.
23600 * soft-fp/op-common.h: Likewise.
23601 * soft-fp/quad.h: Likewise.
23602 * soft-fp/single.h: Likewise.
23603 * soft-fp/soft-fp.h: Likewise.
23604
55602758
YC
236052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23606
23607 * iconv/iconv_prog.c: Fix typos.
23608 * stdio-common/psiginfo-data.h: Likewise.
23609
9cd83302
RT
236102013-10-12 Reuben Thomas <rrt@sc3d.org>
23611
23612 [BZ #15764]
23613 * locale/setlocale.c: Fix typo.
23614
99fd9f47
JM
236152013-10-12 Joseph Myers <joseph@codesourcery.com>
23616
b7ea74f0
JM
23617 [BZ #16036]
23618 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23619 signaling NaN arguments.
23620 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23621 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23622
8a509447
JM
23623 [BZ #14910]
23624 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23625 unordered operands.
23626 * soft-fp/gesf2.c (__gesf2): Likewise.
23627 * soft-fp/getf2.c (__getf2): Likewise.
23628 * soft-fp/ledf2.c (__ledf2): Likewise.
23629 * soft-fp/lesf2.c (__lesf2): Likewise.
23630 * soft-fp/letf2.c (__letf2): Likewise.
23631
98998e9f
JM
23632 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23633 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23634 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23635 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23636 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23637 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23638 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23639 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23640 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23641 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23642 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23643 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23644 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23645 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23646 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23647 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23648 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23649 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23650 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23651 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23652 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23653 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23654 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23655 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23656 * soft-fp/floattidf.c (__floattidf): Likewise.
23657 * soft-fp/floattisf.c (__floattisf): Likewise.
23658 * soft-fp/floattitf.c (__floattitf): Likewise.
23659 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23660 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23661 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23662 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23663 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23664 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23665 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23666 * soft-fp/gesf2.c (__gesf2): Likewise.
23667 * soft-fp/getf2.c (__getf2): Likewise.
23668 * soft-fp/ledf2.c (__ledf2): Likewise.
23669 * soft-fp/lesf2.c (__lesf2): Likewise.
23670 * soft-fp/letf2.c (__letf2): Likewise.
23671
8edc4a11
JM
23672 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23673 Undefine and redefine.
23674 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23675 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23676 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23677 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23678 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23679 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23680 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23681 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23682 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23683 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23684 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23685 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23686 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23687 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23688 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23689
8399acaf
JM
23690 [BZ #16032]
23691 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23692 without decrementing exponent if mantissa >= that for the
23693 denominator, not >.
23694 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23695 denominator, not >. Decrement exponent in < case instead of
23696 incrementing in >= case.
23697 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23698 without decrementing exponent if mantissa >= that for the
23699 denominator, not >.
23700
99fd9f47
JM
23701 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23702 computing saturated result for unsigned overflow.
23703
10e1cf6b
SP
237042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23705 Jeff Law <law@redhat.com>
23706
23707 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23708 (atan2Mp): Add systemtap probe marker.
23709 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23710 (__ieee754_log): Add systemtap probe marker.
23711 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23712 (atanMp): Add systemtap probe marker.
23713 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23714 (tanMp): Add systemtap probe marker.
23715 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23716 (__slowexp): Add systemtap probe marker.
23717 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23718 (__slowpow): Add systemtap probe marker.
23719 * manual/probes.texi: Document probes.
23720
3d110c7c
EB
237212013-10-11 Eric Biggers <ebiggers3@gmail.com>
23722
23723 [BZ #15362]
23724 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23725 written.
23726 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23727 written.
23728 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23729 written to buffer but not flushed.
23730 * libio/iofwrite_u.c: Likewise.
23731 * libio/iopadn.c: Return bytes returned even if EOF was
23732 encountered.
23733 * libio/iowpadn.c: Likewise.
23734 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23735 if _IO_padn does not write the whole buffer.
23736 [!COMPILE_WPRINTF] (PAD): Likewise.
23737
75b4202a
DM
237382013-10-10 David S. Miller <davem@davemloft.net>
23739
23740 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23741 directory block.
23742
6c6352e6
JM
237432013-10-10 Joseph Myers <joseph@codesourcery.com>
23744
33b853c3
JM
23745 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23746 instead of FSF address.
23747 * soft-fp/fixdfti.c: Likewise.
23748 * soft-fp/fixsfti.c: Likewise.
23749 * soft-fp/fixtfti.c: Likewise.
23750 * soft-fp/fixunsdfti.c: Likewise.
23751 * soft-fp/fixunssfti.c: Likewise.
23752 * soft-fp/fixunstfti.c: Likewise.
23753 * soft-fp/floattidf.c: Likewise.
23754 * soft-fp/floattisf.c: Likewise.
23755 * soft-fp/floattitf.c: Likewise.
23756 * soft-fp/floatuntidf.c: Likewise.
23757 * soft-fp/floatuntisf.c: Likewise.
23758 * soft-fp/floatuntitf.c: Likewise.
23759 * soft-fp/trunctfxf2.c: Likewise.
23760
6c6352e6
JM
23761 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23762 * soft-fp/fixdfti.c: Likewise.
23763 * soft-fp/fixsfti.c: Likewise.
23764 * soft-fp/fixtfti.c: Likewise.
23765 * soft-fp/fixunsdfti.c: Likewise.
23766 * soft-fp/fixunssfti.c: Likewise.
23767 * soft-fp/fixunstfti.c: Likewise.
23768 * soft-fp/floattidf.c: Likewise.
23769 * soft-fp/floattisf.c: Likewise.
23770 * soft-fp/floattitf.c: Likewise.
23771 * soft-fp/floatuntidf.c: Likewise.
23772 * soft-fp/floatuntisf.c: Likewise.
23773 * soft-fp/floatuntitf.c: Likewise.
23774 * soft-fp/trunctfxf2.c: Likewise.
23775
3bf78b71
DM
237762013-10-10 David S. Miller <davem@davemloft.net>
23777
23778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23779
6f10289e
JM
237802013-10-10 Joseph Myers <joseph@codsourcery.com>
23781
bd878fc0
JM
23782 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23783 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23784 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23785 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23786 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23787 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23788 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23789
6f10289e
JM
23790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23791 for NaNs before doing comparisons on argument.
23792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23793 Likewise.
23794
321e2684
WN
237952013-10-10 Will Newton <will.newton@linaro.org>
23796
23797 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23798 passed to _int_memalign does not overflow.
23799
40fefba1
TR
238002013-10-10 Torvald Riegel <triegel@redhat.com>
23801
23802 * scripts/bench.pl: Add include-sources directive.
23803 * benchtests/README: Update documentation.
23804
2ae21ed2
JM
238052013-10-10 Joseph Myers <joseph@codesourcery.com>
23806
dcc2dd3f
JM
23807 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23808 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23809 instead of FP_INIT_ROUNDMODE.
23810 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23811 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23812
2ae21ed2
JM
23813 [BZ #16034]
23814 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23815 copy class of input value.
23816 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23817 not handle exceptions.
23818 * soft-fp/negsf2.c (__negsf2): Likewise.
23819 * soft-fp/negtf2.c (__negtf2): Likewise.
23820 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23821
cb8f9562
JM
238222013-10-09 Joseph Myers <joseph@codesourcery.com>
23823
23824 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23825 semicolon. From Linux kernel.
23826
5b60c59d
AB
238272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23828
23829 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23830
b86835ca
YC
238312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23832
23833 [BZ #156]
23834 * manual/socket.texi: Added statement about buffer
23835 for gethostbyname2_r.
23836
e7044ea7
OB
238372013-10-08 Ondřej Bílka <neleai@seznam.cz>
23838
23839 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23840 Use .p2align directive instead, throughout.
23841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23842 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23843 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23846 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23847 * sysdeps/x86_64/strchr.S: Likewise.
23848 * sysdeps/x86_64/strrchr.S: Likewise.
23849
09544cbc
SP
238502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23851
88576635
SP
23852 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23853
e7b2d1dd
SP
23854 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23855
09544cbc
SP
23856 * sysdeps/generic/math_private.h (__mpsin1): Remove
23857 declaration.
23858 (__mpcos1): Likewise.
23859 (__mpsin): New argument __range_reduce.
23860 (__mpcos): Likewise.
23861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23862 (slow): Use __mpsin and __mpcos.
23863 (slow1): Likewise.
23864 (slow2): Likewise.
23865 (sloww): Likewise.
23866 (sloww1): Likewise.
23867 (sloww2): Likewise.
23868 (bsloww): Likewise.
23869 (bsloww1): Likewise.
23870 (bsloww2): Likewise.
23871 (cslow2): Likewise.
23872 (csloww): Likewise.
23873 (csloww1): Likewise.
23874 (csloww2): Likewise.
23875 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23876 range_reduce. Merge in __mpsin1.
23877 (__mpcos): Likewise.
23878 (__mpsin1): Remove.
23879 (__mpcos1): Likewise.
23880
7602d070
JM
238812013-10-07 Joseph Myers <joseph@codesourcery.com>
23882
23883 * locale/loadlocale.c (_nl_intern_locale_data): Use
23884 LOCFILE_ALIGNED_P.
23885 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23886 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23887 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23888 obstack data is appropriately aligned.
23889 (obstack_int32_grow_fast): Likewise.
23890 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23891 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23892 (add_locale_uint32_array): Likewise.
23893
a357259b
SP
238942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23895
23896 * benchtests/Makefile: Remove ARGLIST and RET variables.
23897 ($(objpfx)bench-%.c): Pass only function name to the script.
23898 * benchtests/README: Update documentation.
23899 * benchtests/acos-inputs: Add new directives.
23900 * benchtests/acosh-inputs: Likewise.
23901 * benchtests/asin-inputs: Likewise.
23902 * benchtests/asinh-inputs: Likewise.
23903 * benchtests/atan-inputs: Likewise.
23904 * benchtests/atanh-inputs: Likewise.
23905 * benchtests/cos-inputs: Likewise.
23906 * benchtests/cosh-inputs: Likewise.
23907 * benchtests/exp-inputs: Likewise.
23908 * benchtests/log-inputs: Likewise.
23909 * benchtests/pow-inputs: Likewise.
23910 * benchtests/rint-inputs: Likewise.
23911 * benchtests/sin-inputs: Likewise.
23912 * benchtests/sinh-inputs: Likewise.
23913 * benchtests/tan-inputs: Likewise.
23914 * benchtests/tanh-inputs: Likewise.
23915 * scripts/bench.pl: Add support for new directives.
23916
9ec1b13d
AM
239172013-10-07 Alan Modra <amodra@gmail.com>
23918
23919 * README: Fix careless merge.
23920
8b7d57cd
AM
239212013-10-05 Alan Modra <amodra@gmail.com>
23922
23923 * NEWS: Mention powerpc64le support and bugs fixed.
23924 * README: Both big-endian and little-endian powerpc64 supported.
23925
7b7bab13
ST
239262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23927
57f41c40
AS
23928 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23929 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23930 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23931 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23932
d39baad1
RA
239332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23934
23935 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23936 match prototype.
23937
cd78f7e7
JM
239382013-10-04 Joseph Myers <joseph@codesourcery.com>
23939
29d73d86
JM
23940 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23941 Move -mhard-float appending from
23942 ports/sysdeps/powerpc/powerpc32/Makefile.
23943 [$(with-fp) = yes] (ASFLAGS): Likewise.
23944 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23945 * sysdeps/powerpc/nofpu: Move directory from
23946 ports/sysdeps/powerpc/nofpu.
23947 * sysdeps/powerpc/soft-fp: Move directory from
23948 ports/sysdeps/powerpc/soft-fp.
23949 * sysdeps/powerpc/powerpc32/405: Move directory from
23950 ports/sysdeps/powerpc/powerpc32/405.
23951 * sysdeps/powerpc/powerpc32/440: Move directory from
23952 ports/sysdeps/powerpc/powerpc32/440.
23953 * sysdeps/powerpc/powerpc32/464: Move directory from
23954 ports/sysdeps/powerpc/powerpc32/464.
23955 * sysdeps/powerpc/powerpc32/476: Move directory from
23956 ports/sysdeps/powerpc/powerpc32/476.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23958 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23960 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23962 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23964 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23966 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23967 * README: Update for powerpc-*-linux-gnu software floating point
23968 support in libc.
23969
e246b347
JM
23970 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23971 case to powerpc/powerpc32*.
23972 * sysdeps/unix/sysv/linux/configure: Regenerated.
23973
89c2003e
JM
23974 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23975 (_FPU_MASK_OM): Define as 0x04.
23976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23978 0x00c10080.
23979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23980 0x0000003c.
23981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23982
cd78f7e7
JM
23983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23984 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23985 getcontext_e500.
23986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23987 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23988 setcontext_e500.
23989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23990 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23991 and setcontext_e500.
23992
c755294d
CL
239932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23994
23995 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23996
e16d221c
SP
239972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23998
23999 * manual/threads.texi (Default Thread Attributes): Fix typo.
24000
215c7d43
WN
240012013-10-04 Will Newton <will.newton@linaro.org>
24002
24003 * malloc/Makefile: Add tst-memalign.
24004 * malloc/tst-memalign.c: New file.
24005
27d0461b
WN
24006 * malloc/tst-posix_memalign.c: Add comments.
24007 (do_test): Add comments and call free on all potentially
24008 allocated pointers. Add space after cast.
24009
1bc92709
WN
24010 * malloc/tst-pvalloc.c: Add comments.
24011 (do_test): Add comments and call free on all potentially
24012 allocated pointers. Remove duplicate check for NULL pointer.
24013 Add space after cast.
24014
66a9be9d
WN
24015 * malloc/tst-valloc.c: Add comments.
24016 (do_test): Add comments and call free on all potentially
24017 allocated pointers. Remove duplicate check for NULL pointer.
24018 Add space after cast.
24019
4cb81307
AM
240202013-10-04 Alan Modra <amodra@gmail.com>
24021
24022 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24023 Use stdint types in rather than __attribute__((mode())).
24024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24025
f8e3e9f3
AM
240262013-10-04 Alan Modra <amodra@gmail.com>
24027
24028 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24029 Correct handling of unaligned relocs for little-endian.
24030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24031
8f9ebb08
AM
240322013-10-04 Alan Modra <amodra@gmail.com>
24033
24034 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24035 * configure: Regenerate.
24036 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24037 * shlib-versions: Likewise.
24038
0edf96c2
AM
240392013-10-04 Alan Modra <amodra@gmail.com>
24040
24041 * string/tester.c (test_memrchr): Increment reported test cycle.
24042
e0f7a380
AM
240432013-10-04 Alan Modra <amodra@gmail.com>
24044
24045 * string/test-memcpy.c (do_one_test): When reporting errors, print
24046 string address and don't overrun end of string.
24047
466b0393
AM
240482013-10-04 Alan Modra <amodra@gmail.com>
24049
24050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24051 insrdi. Make better use of reg selection to speed exit slightly.
24052 Schedule entry path a little better. Remove useless "are we done"
24053 checks on entry to main loop. Handle wrapping around zero address.
24054 Correct main loop count. Handle single left-over word from main
24055 loop inline rather than by using loop_small. Remove extra word
24056 case in loop_small caused by wrong loop count. Add little-endian
24057 support.
24058 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24060 cache hint.
24061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24063 support. Avoid rlwimi.
24064 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24065
3be87c77
AM
240662013-10-04 Alan Modra <amodra@gmail.com>
24067
24068 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24069 insrdi. Formatting.
3be87c77
AM
24070 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24073 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24074 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24075 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24076
759cfef3
AM
240772013-10-04 Alan Modra <amodra@gmail.com>
24078
24079 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24082 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24083 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24084 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24086 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24088 use of regs. Use power7 mtocrf. Tidy function tails.
24089
fe6e95d7
AM
240902013-10-04 Alan Modra <amodra@gmail.com>
24091
24092 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24093 Formatting. Consistently use rXXX register defines or rN defines.
24094 Use early exit labels that avoid restoring unused non-volatile regs.
24095 Make cr field use more consistent with rWORDn compares. Rename
24096 regs used as shift registers for unaligned loop, using rN defines
24097 for short lifetime/multiple use regs.
24098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24100 addi 1,1,64 to pop stack frame. Simplify return value code.
24101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24102
664318c3
AM
241032013-10-04 Alan Modra <amodra@gmail.com>
24104
24105 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24106 support. Correct typos, formatting. Optimize tail. Use insrdi
24107 rather than rlwimi.
24108 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24109 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24110 little-endian support. Correct typos.
24111 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24112 rather than rlwimi.
24113 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24114 in loop and entry code to keep "and." results.
24115 (strchr): Add little-endian support. Comment. Move cntlzd
24116 earlier in tail.
24117 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24118
43b84013
AM
241192013-10-04 Alan Modra <amodra@gmail.com>
24120
24121 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24122 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24123 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24124 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24125
8a7413f9
AM
241262013-10-04 Alan Modra <amodra@gmail.com>
24127
24128 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24129 (rTMP): Define as r11.
24130 (strcmp): Add little-endian support. Optimise tail.
24131 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24132 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24133 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24137 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24138
33ee81de
AM
241392013-10-04 Alan Modra <amodra@gmail.com>
24140
24141 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24142 little-endian support. Remove unnecessary "are we done" tests.
24143 Handle "s" wrapping around zero and extremely large "size".
24144 Correct main loop count. Handle single left-over word from main
24145 loop inline rather than by using small_loop. Correct comments.
24146 Delete "zero" tail, use "end_max" instead.
24147 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24148
db9b4570
AM
241492013-10-04 Alan Modra <amodra@gmail.com>
24150
24151 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24152 support. Don't branch over align.
24153 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24154 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24155 support. Rearrange tmp reg use to suit. Comment.
24156 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24157
f7c399cf
AM
241582013-10-04 Alan Modra <amodra@gmail.com>
24159
24160 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24161
0b2c2ace
AM
241622013-10-04 Alan Modra <amodra@gmail.com>
24163
24164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24165 conditional form of branch and link when obtaining pc.
24166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24167
02f04a6c
AM
241682013-10-04 Alan Modra <amodra@gmail.com>
24169
24170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24171 HIWORD/LOWORD.
24172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24174
9b874b2f
AM
241752013-10-04 Alan Modra <amodra@gmail.com>
24176
24177 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24178 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24179 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24180 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24181 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24182 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24183 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24184 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24185 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24186 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24187
be1e5d31
AB
241882013-10-04 Anton Blanchard <anton@au1.ibm.com>
24189 Alistair Popple <alistair@ozlabs.au.ibm.com>
24190 Alan Modra <amodra@gmail.com>
24191
24192 [BZ #15723]
24193 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24195 _dl_hwcap access for little-endian.
24196 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24197 destroy vmx regs when saving unaligned.
24198 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24199 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24200 destroy vmx regs when saving unaligned.
24201
fef13a78
AM
242022013-10-04 Alan Modra <amodra@gmail.com>
24203
24204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24205 Don't use a union to pack hi/low value.
24206
76a66d51
AB
242072013-10-04 Anton Blanchard <anton@au1.ibm.com>
24208
24209 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24210 for little-endian.
24211 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24213 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24214 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24215 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24216
6a31fe7f
AM
242172013-10-04 Alan Modra <amodra@gmail.com>
24218
24219 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24220 constants to usual value for .cst8 section, and remove redundant
24221 high address load.
24222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24223 constant for 0x1p52. Load little-endian words of double from
24224 correct stack offsets.
24225
7b88401f
AM
242262013-10-04 Alan Modra <amodra@gmail.com>
24227
24228 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24229 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24230 words of double from correct stack offsets.
24231 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24232 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24233 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24235 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24238 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24239 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24243 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24244 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24245 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24246 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24247 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24248
9c008155
AM
242492013-10-04 Alan Modra <amodra@gmail.com>
24250
24251 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24252 64-bit int/double union.
24253 (_FPU_SETCW): Likewise.
24254 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24255 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24256
da13146d
AM
242572013-10-04 Alan Modra <amodra@gmail.com>
24258
24259 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24260 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24261
603e8410
AM
242622013-10-04 Alan Modra <amodra@gmail.com>
24263
24264 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24265 use vector int constants.
24266 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24267
4a28b3ca
AB
242682013-10-04 Anton Blanchard <anton@au1.ibm.com>
24269
24270 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24271 array with long long.
24272 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24273 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24274 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24275 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24276 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24277 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24278 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24279 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24280 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24281 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24282 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24283 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24284 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24285
2ca85d2b
AB
242862013-10-04 Anton Blanchard <anton@au1.ibm.com>
24287
24288 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24289 (__signbit): Likewise. Correct for little-endian.
24290 (__signbitl): Call __signbit.
24291 (lrint): Correct for little-endian.
24292 (lrintf): Call lrint.
24293
62a728ae
AM
242942013-10-04 Alan Modra <amodra@gmail.com>
24295
24296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24297 union 32-bit int array member with 64-bit int array.
24298 (t515, tm256): Double rather than long double.
24299 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24300
32c301df
AM
243012013-10-04 Alan Modra <amodra@gmail.com>
24302
24303 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24304 Delete.
24305 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24307 version of math_ldbl.h.
24308
650ef4bd
AM
243092013-10-04 Alan Modra <amodra@gmail.com>
24310
24311 [BZ #15734], [BZ #15735]
24312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24313 all uses of ieee875 long double macros and unions. Simplify test
24314 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24315 ldbl_extract_mantissa value for ix,iy exponents. Properly
24316 normalize after ldbl_extract_mantissa, and don't add hidden bit
24317 already handled. Don't treat low word of ieee854 mantissa like
24318 low word of IBM long double and mask off bit when testing for
24319 zero.
24320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24321 all uses of ieee875 long double macros and unions. Simplify tests
24322 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24323 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24324 two1022, instead use their values. Recognise that tests for large
24325 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24327 Rewrite all uses of ieee875 long double macros and unions. Simplify
24328 test for 0.0L and nan. Correct negation.
24329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24330 ieee875 long double macros and unions. Correct output for large
24331 magnitude x. Correct absolute value calculation.
24332 (__erfcl): Likewise.
24333 * math/libm-test.inc: Add tests for errors discovered in IBM long
24334 double versions of fmodl, remainderl, erfl and erfcl.
24335
765714ca
AM
243362013-10-04 Alan Modra <amodra@gmail.com>
24337
24338 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24339 all uses of ieee854 long double macros and unions. Simplify tests
24340 for long doubles that are fully specified by the high double.
24341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24342 Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24344 Remove dead code too.
24345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24346 (__ieee754_ynl): Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24350 Remove dead code too.
24351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24353 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24354 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24355 Simplify.
24356 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24357 Simplify.
24358 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24361 Comment on variable precision.
24362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24364 Likewise.
24365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24368 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24370
4ebd120c
AM
243712013-10-04 Alan Modra <amodra@gmail.com>
24372
24373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24375 all uses of ieee854 long double macros and unions.
24376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24381 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24382 Likewise.
24383 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24386 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24389 Simplify sign and nan test too.
24390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24391 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24392 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24394 Likewise.
24395 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24396 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24397 Likewise.
24398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24399 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24401 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24402 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24404
1b6adf88
AM
244052013-10-04 Alan Modra <amodra@gmail.com>
24406
24407 * stdio-common/printf_size.c (__printf_size): Don't use
24408 union ieee854_long_double in fpnum union.
24409 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24410 signbit macro to retrieve sign from long double.
24411 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24412 retrieve sign from long double.
24413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24414 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24416 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24417 * math/test-misc.c (main): Don't use union ieee854_long_double.
24418
4cf69995
AM
244192013-10-04 Alan Modra <amodra@gmail.com>
24420
24421 [BZ #15680]
24422 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24423 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24424 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24425 calculation. Remove unnecessary test for denormal exponent.
24426 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24427 Correct handling of denormals. Avoid undefined shift behaviour.
24428 Correct normalisation of low mantissa when low double is denormal.
24429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24430 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24431 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24432 Correct normalisation of low mantissa. Test for overflow of high
24433 mantissa and normalise.
24434 (ldbl_nearbyint): Use more readable constant for two52.
24435 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24436 (__mpn_construct_long_double): Fix test for overflow of high
24437 mantissa and correct normalisation. Avoid undefined shift.
24438
9605ca6c
AM
244392013-10-04 Alan Modra <amodra@gmail.com>
24440
24441 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24442 (union ibm_extended_long_double): Define as an array of ieee754_double.
24443 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24445 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24450 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24452 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24454
975569d0
JM
244552013-10-03 Joseph Myers <joseph@codesourcery.com>
24456
d3d23756
JM
24457 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24458 page size instead of calling getpagesize.
24459
975569d0
JM
24460 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24461 (LOCFILE_ALIGN_MASK): Likewise.
24462 (LOCFILE_ALIGN_UP): Likewise.
24463 (LOCFILE_ALIGNED_P): Likewise.
24464 * locale/programs/ld-collate.c (collate_output): Use the new
24465 macros instead of __alignof__ (int32_t).
24466 * locale/weight.h (findidx): Likewise.
24467
b1fe1f2b
OB
244682013-10-03 Ondřej Bílka <neleai@seznam.cz>
24469
24470 [BZ #431]
24471 * manual/string.texi: Fix strncat and wcsncat.
24472
5f855e35
BM
244732013-10-03 Brooks Moses <bmoses@google.com>
24474
24475 [BZ #15915]
24476 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24477 * Makerules: ...here, and adjust associated comments.
24478
3cef6009
WN
244792013-10-02 Will Newton <will.newton@linaro.org>
24480
24481 * malloc/Makefile: Add tst-pvalloc.
24482 * malloc/tst-pvalloc.c: New file.
24483
7815420b
WN
244842013-10-02 Will Newton <will.newton@linaro.org>
24485
24486 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24487 improve test coverage.
24488
4868b204
WN
244892013-10-02 Will Newton <will.newton@linaro.org>
24490
24491 * malloc/Makefile: Add tst-posix_memalign.
24492 * malloc/tst-posix_memalign.c: New file.
24493
29c793b3
EB
244942013-10-01 Eric Blake <eblake@redhat.com>
24495
24496 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24497 Use __THROWNL rather than __THROW on static functions.
24498
fd967522
PM
244992013-09-30 Petr Machata <pmachata@redhat.com>
24500
24501 * elf/elf.h (R_AARCH64_ABS16): New macro.
24502 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24503 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24504 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24505 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24506 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24507 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24508 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24509 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24510 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24511 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24512 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24513 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24514 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24515 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24516 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24517 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24518 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24519 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24520 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24521 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24522 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24523 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24524 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24525 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24526 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24527 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24528 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24529 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24530 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24531 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24532 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24533 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24534 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24535 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24536 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24537 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24538 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24539 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24540 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24541 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24542 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24543 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24544 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24545 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24546 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24547 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24548 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24549 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24550 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24551 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24552 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24553 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24554 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24555 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24556 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24557 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24558 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24559 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24560 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24561 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24562 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24563 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24564 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24565 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24566 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24567 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24568 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24569 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24570 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24571 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24572 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24573 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24574 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24575 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24576 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24577 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24578 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24579 (R_AARCH64_TLSDESC_LDR): Likewise.
24580 (R_AARCH64_TLSDESC_ADD): Likewise.
24581 (R_AARCH64_TLSDESC_CALL): Likewise.
24582
b2179107
AS
245832013-09-30 Andreas Schwab <schwab@suse.de>
24584
24585 [BZ #15048]
24586 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24587 the nss database lookup.
24588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24590
47f28d0a
MF
245912013-09-28 Mike Frysinger <vapier@gentoo.org>
24592
24593 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24594
245952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24596
24597 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24598 ${Bash-specific parameter/pattern/string} parameter expansion.
24599 * sysdeps/unix/make-syscalls.sh: Likewise.
24600
f4518a17
KK
246012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24602
24603 * sysdeps/sh/stackguard-macros.h: New file.
24604
dc1a95c7
OB
246052013-09-26 Ondřej Bílka <neleai@seznam.cz>
24606
24607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24609 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24611 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24612 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24613
5ebbff8f
AZ
246142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24615
24616 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24617 Fix thread ID register.
24618
4fd2cf9f
JM
246192013-09-25 Joseph Myers <joseph@codesourcery.com>
24620
24621 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24622 [POSIX || UNIX98]: Require rather than permitting all symbols from
24623 <time.h>.
24624 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24625 element of struct sched_param.
24626 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24627 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24628 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24629 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24630 constant.
24631
12c22bc4
OL
246322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24633
24634 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24635 argument calculation.
24636
a03d8ea7
JM
246372013-09-24 Joseph Myers <joseph@codesourcery.com>
24638
24639 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24640 Expect macro.
24641 [POSIX] (pthread_attr_t): Do not require type.
24642 [POSIX] (pthread_cond_t): Likewise.
24643 [POSIX] (pthread_condattr_t): Likewise.
24644 [POSIX] (pthread_key_t): Likewise.
24645 [POSIX] (pthread_mutex_t): Likewise.
24646 [POSIX] (pthread_mutexattr_t): Likewise.
24647 [POSIX] (pthread_once_t): Likewise.
24648 [POSIX] (pthread_t): Likewise.
24649 [POSIX-based standards] (pthread_atfork): Expect function.
24650
6055173a
JM
246512013-09-24 Joseph Myers <joseph@codesourcery.com>
24652 Richard Sandiford <richard@codesourcery.com>
24653
24654 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24655 (swap_endianness_p): New extern variable.
24656 (set_big_endian): New inline function.
24657 (maybe_swap_uint32): Likewise.
24658 (maybe_swap_uint32_array): Likewise.
24659 (maybe_swap_uint32_obstack): Likewise.
24660 * locale/programs/locfile.c: Include <stdbool.h>.
24661 (swap_endianness_p): New variable.
24662 (add_locale_uint32): Call maybe_swap_uint32.
24663 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24664 (write_locale_data): Call maybe_swap_uint32_array.
24665 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24666 maybe_swap_uint32.
24667 (obstack_int32_grow_fast): Likewise.
24668 (output_weightwc): Call maybe_swap_uint32_obstack.
24669 (collate_output): Likewise.
24670 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24671 (OPT_LITTLE_ENDIAN): Likewise.
24672 (options): Add --little-endian and --big-endian options.
24673 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24674 * locale/programs/locarchive.c: Include "locfile.h".
24675 (GET): New macro.
24676 (SET): Likewise.
24677 (INC): Likewise.
24678 (create_archive): Use the new macros to access fields of
24679 structures directly mapped from or written to locale archives.
24680 (oldlocrecentcmp): Likewise.
24681 (enlarge_archive): Likewise.
24682 (insert_name): Likewise.
24683 (add_alias): Likewise.
24684 (add_locale): Likewise.
24685 (delete_locales_from_archive): Likewise.
24686 (show_archive_content): Likewise.
24687 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24688 locale data.
24689
39bf0bb4
RM
246902013-09-24 Roland McGrath <roland@hack.frob.com>
24691
24692 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24693 http://www.gnu.org/doc/freemanuals.texi.
24694 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24695
f02eed10
WN
246962013-09-24 Will Newton <will.newton@linaro.org>
24697
24698 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24699 macro.
24700
a3a6c312
JM
247012013-09-23 Joseph Myers <joseph@codesourcery.com>
24702
24703 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24704 unsigned char.
24705
107375ac
MR
247062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24707
24708 * manual/threads.texi (POSIX Threads): Fix a typo.
24709
141f3a77
SP
247102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24711
303e567a
SP
24712 [BZ #14547]
24713 * string/tst-strcoll-overflow.c: New test case.
24714 * string/Makefile (xtests): Add tst-strcoll-overflow.
24715 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24716 cache if string sizes may cause integer overflow.
24717
141f3a77
SP
24718 [BZ #14547]
24719 * string/strcoll_l.c (coll_seq): New members rule, idx,
24720 save_idx and back_us.
24721 (get_next_seq_nocache): New function.
24722 (do_compare_nocache): New function.
24723 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24724 when malloc fails.
24725
c61b4d41
CD
247262013-09-23 Carlos O'Donell <carlos@redhat.com>
24727
0b1f8e35
CD
24728 [BZ #15754]
24729 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24730 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24731 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24732
c61b4d41
CD
24733 [BZ #15754]
24734 * elf/Makefile (tests): Add tst-ptrguard1.
24735 (tests-static): Add tst-ptrguard1-static.
24736 (tst-ptrguard1-ARGS): Define.
24737 (tst-ptrguard1-static-ARGS): Define.
24738 * elf/tst-ptrguard1.c: New file.
24739 * elf/tst-ptrguard1-static.c: New file.
24740 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24741 * sysdeps/i386/stackguard-macros.h: Likewise.
24742 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24743 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24744 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24745 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24746 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24747 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24748
247492013-09-23 Hector Marco <hecmargi@upv.es>
24750 Ismael Ripoll <iripoll@disca.upv.es>
24751 Carlos O'Donell <carlos@redhat.com>
24752
24753 [BZ #15754]
24754 * sysdeps/generic/stackguard-macros.h: Define
24755 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24756 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24757 Define __pointer_chk_guard_local.
24758 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24759 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24760
f5f4e7b4
VV
247612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24762
24763 [BZ #15859]
24764 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24765
5bb43a43
AS
247662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24767
24768 * include/string.h (__ffs): Declare as hidden.
24769 * string/ffs.c (__ffs): Define as hidden.
24770 * sysdeps/i386/ffs.c (__ffs): Likewise.
24771 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24772 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24773 * sysdeps/s390/ffs.c (__ffs): Likewise.
24774 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24775
3ea5be54
AO
247762013-09-20 Alexandre Oliva <aoliva@redhat.com>
24777
ffb89e53
AO
24778 * NEWS: Mention malloc probes.
24779
322dea08
AO
24780 * malloc/arena.c (new_heap): New memory_heap_new probe.
24781 (grow_heap): New memory_heap_more probe.
24782 (shrink_heap): New memory_heap_less probe.
24783 (heap_trim): New memory_heap_free probe.
24784 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24785 (systrim): New memory_sbrk_less probe.
24786 * manual/probes.texi: Document them.
24787
655673f3
AO
24788 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24789 * manual/probes.texi: Document it.
24790
35fed6f1
AO
24791 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24792 (__libc_realloc): Add memory_realloc_retry probe.
24793 (__libc_memalign): Add memory_memalign_retry probe.
24794 (__libc_valloc): Add memory_valloc_retry probe.
24795 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24796 (__libc_calloc): Add memory_calloc_retry probe.
24797 * manual/probes.texi: Document them.
24798
6999d38c
AO
24799 * malloc/arena.c (get_free_list): Add probe
24800 memory_arena_reuse_free_list.
24801 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24802 and memory_arena_reuse.
24803 (arena_get2) [!PER_THREAD]: Likewise.
24804 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24805 memory_arena_reuse_realloc.
24806 * manual/probes.texi: Document them.
24807
0653427f
AO
24808 * malloc/malloc.c (__libc_free): Add
24809 memory_mallopt_free_dyn_thresholds probe.
24810 (__libc_mallopt): Add multiple memory_mallopt probes.
24811 * manual/probes.texi: Document them.
24812
3ea5be54
AO
24813 * malloc/malloc.c: Include stap-probe.h.
24814 (__libc_mallopt): Add memory_mallopt probe.
24815 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24816 * manual/probes.texi: New.
24817 * manual/Makefile (chapters): Add probes.
24818 * manual/threads.texi: Set next node.
24819
e35696c3 248202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24821
e35696c3
CL
24822 [BZ #15963, #13985]
24823 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24824 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24825 Add `Chinese' to `nan' entry name.
24826
4aafb73c
SP
248272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24828
24829 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24830 (POLYNOMIAL): Likewise.
24831 (TAYLOR_SINCOS): Likewise.
24832 (TAYLOR_SLOW): Likewise.
24833 (__sin): Use TAYLOR_SINCOS.
24834 (__cos): Likewise.
24835 (slow): Use TAYLOR_SLOW.
24836 (sloww): Likewise.
24837 (bsloww): Likewise.
24838 (csloww): Likewise.
24839
d84f25c7
LD
248402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24841
24842 * stdlib/strtod_l.c: Fix buffer overrun.
24843
5eea0404
SP
248442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24845
7849ff93
SP
24846 * benchtests/Makefile (bench): Add sincos.
24847 * benchtests/bench-sincos.c: New file.
24848
cfa3c886
SP
24849 * math/libm-test.inc (cos_test_data): New test inputs.
24850 (sin_test_data): Likewise.
24851
b348e1e3
SP
24852 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24853 macro.
24854 (__sin): Use it.
24855 (__cos): Likewise.
24856 (slow1): Likewise.
24857 (slow2): Likewise.
24858 (sloww1): Likewise.
24859 (sloww2): Likewise.
24860 (bsloww1): Likewise.
24861 (bsloww2): Likewise.
24862 (cslow2): Likewise.
24863 (csloww1): Likewise.
24864 (csloww2): Likewise.
24865
6cce25f8
SP
24866 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24867 function.
24868 (__sin): Use it.
24869 (__cos): Likewise.
24870
5eea0404
SP
24871 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24872 gotos.
24873 (__cos): Likewise.
24874
9c21573c
MR
248752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24876
24877 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24878 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24879 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24880 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24881 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24882 * elf/cache.c (print_entry): Handle the new cache flags.
24883
24d22e65
JM
248842013-09-18 Joseph Myers <joseph@codesourcery.com>
24885 Aldy Hernandez <aldyh@redhat.com>
24886
24887 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24888 Change condition to [_SOFT_FLOAT].
24889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24901 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24904 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24905 declaration.
24906
d13ef066
JM
249072013-09-18 Joseph Myers <joseph@codesourcery.com>
24908
2e071de0
JM
24909 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24910 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24911 (__longjmp): Use LOAD_GP to load saved GPRs.
24912 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24913 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24914 (__sigsetjmp): Use SAVE_GP to save GPRs.
24915
d13ef066
JM
24916 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24917 Do not append -msoft-float.
24918 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24919
97a0650b
SP
249202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24921
24922 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24923
11ca09e9
JM
249242013-09-17 Joseph Myers <joseph@codesourcery.com>
24925
24926 [BZ #15966]
24927 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24928 (_FPU_GETCW): Use initial "__" on variable and field names but not
24929 on macro parameter name.
24930 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24931 parentheses around reference to macro parameter.
24932
08ffcf34
RS
249332013-09-13 Richard Sandiford <richard@codesourcery.com>
24934
24935 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24936 prototype.
24937 (ctype_startup): Use uint32_t in cast and sizeof for
24938 ctype->charnames.
24939
ae7080d3
JL
249402013-09-11 Jia Liu <proljc@gmail.com>
24941
24942 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24943 __daddr_t_defined.
24944 [__FreeBSD__]: Likewise.
24945
5905e7b3
OB
249462013-09-11 Ondřej Bílka <neleai@seznam.cz>
24947
24948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24949 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24950 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24951 (strchr): Remove __strchr_sse42 ifunc selection.
24952 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24953 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24954
b987c776
WN
249552013-09-11 Will Newton <will.newton@linaro.org>
24956
24957 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24958 parameter to RES. Remove hardcoded 1000 value.
24959 * benchtests/bench-skeleton.c (main): Pass RES parameter
24960 to TIMING_INIT and multiply result by 1000.
24961
ddf985af
AZ
249622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24963
24964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24965
ffdd3181
AS
249662013-09-11 Andreas Schwab <schwab@suse.de>
24967
24968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24969 if not defined.
24970 (O_TMPFILE) [__USE_GNU]: Define.
24971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24972 Define.
24973
b73ed247
WN
249742013-09-11 Will Newton <will.newton@linaro.org>
24975
24976 [BZ #15857]
24977 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24978 does not overflow.
24979
55e17aad
WN
249802013-09-11 Will Newton <will.newton@linaro.org>
24981
24982 [BZ #15856]
24983 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24984 does not overflow.
24985
1159a193
WN
249862013-09-11 Will Newton <will.newton@linaro.org>
24987
24988 [BZ #15855]
24989 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24990 does not overflow.
24991
5905e7b3 249922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24993
24994 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24999
cdfc721b
AM
250002013-09-10 Allan McRae <allan@archlinux.org>
25001
aa04af00
AM
25002 [BZ #15748]
25003 * manual/arith.texi (Parsing of Floats): Clarify
25004 cross-reference.
25005
cdfc721b
AM
25006 [BZ #15849]
25007 * manual/install.texi (Running make install): Mention
25008 --enable-pt-chown.
25009 * INSTALL: Regenerated.
25010
95e7cf29
MR
250112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25012
25013 * csu/init-first.c (_init): Remove the !SHARED condition around
25014 FPU control word initialization.
25015 * elf/dl-support.c (_dl_fpu_control): New variable.
25016 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25017 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25018 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25019 * math/test-fpucw-static.c: New file.
25020 * math/test-fpucw-ieee.c: New file.
25021 * math/test-fpucw-ieee-static.c: New file.
25022 * math/Makefile (tests): Add `test-fpucw-ieee' and
25023 `$(tests-static)'.
25024 (tests-static): New variable.
25025 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25026 dependency to...
25027 [($(build-shared),yes)]
25028 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25029 ... this.
25030 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25031 New dependency.
25032
83e43bf0
AM
250332013-09-09 Allan McRae <allan@archlinux.org>
25034
a9f5ce09
AM
25035 [BZ #15939]
25036 * manual/string.texi (Collation Functions): Fix typo in
25037 strcoll example.
25038 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25039
34829bc2
AM
25040 [BZ #15893]
25041 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25042
3932737d
AM
25043 [BZ #15892]
25044 * libio/memstream.c (open_memstream): Fix memory leak.
25045 * libio/wmemstream.c (open_wmemstream): Likewise.
25046
83e43bf0
AM
25047 [BZ #15895]
25048 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25049
0c66b8e9
WN
250502013-09-09 Will Newton <will.newton@linaro.org>
25051
25052 * malloc/Makefile: Add tst-realloc to tests.
25053 * malloc/tst-realloc.c: New file.
25054
f6b00fd1
AM
250552013-09-09 Allan McRae <allan@archlinux.org>
25056
25057 [BZ #15844]
25058 * COPYING: Update from GNU website to fix FSF address.
25059 * COPYING.LIB: Likewise.
25060
eec55e16
DM
250612013-09-06 David S. Miller <davem@davemloft.net>
25062
25063 * po/zh_TW.po: Update Chinese (traditional) translation from
25064 translation project.
25065
1ecbb381
RS
250662013-09-06 Richard Sandiford <richard@codesourcery.com>
25067 Joseph Myers <joseph@codesourcery.com>
25068
25069 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25070 "localeinfo.h".
25071 (obstack_chunk_alloc): New macro.
25072 (obstack_chunk_free): Likewise.
25073 (record_offset): New function.
25074 (init_locale_data): Likewise.
25075 (align_locale_data): Likewise.
25076 (add_locale_empty): Likewise.
25077 (add_locale_raw_data): Likewise.
25078 (add_locale_raw_obstack): Likewise.
25079 (add_locale_string): Likewise.
25080 (add_locale_wstring): Likewise.
25081 (add_locale_uint32): Likewise.
25082 (add_locale_uint32_array): Likewise.
25083 (add_locale_char): Likewise.
25084 (start_locale_structure): Likewise.
25085 (end_locale_structure): Likewise.
25086 (start_locale_prelude): Likewise.
25087 (end_locale_prelude): Likewise.
25088 (write_locale_data): Take locale_file structure rather than an
25089 iovec.
25090 * locale/programs/locfile.h: Include "obstack.h".
25091 (struct locale_file): Change to store locale file contents instead
25092 of header.
25093 (init_locale_data): New prototype.
25094 (align_locale_data): Likewise.
25095 (add_locale_empty): Likewise.
25096 (add_locale_raw_data): Likewise.
25097 (add_locale_raw_obstack): Likewise.
25098 (add_locale_string): Likewise.
25099 (add_locale_wstring): Likewise.
25100 (add_locale_uint32): Likewise.
25101 (add_locale_uint32_array): Likewise.
25102 (add_locale_char): Likewise.
25103 (start_locale_structure): Likewise.
25104 (end_locale_structure): Likewise.
25105 (start_locale_prelude): Likewise.
25106 (end_locale_prelude): Likewise.
25107 (write_locale_data): Update prototype.
25108 * locale/programs/3level.h (struct TABLE): Remove result field.
25109 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25110 Use new locale_file interface.
25111 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25112 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25113 * locale/programs/ld-address.c (address_output): Use new
25114 locale_file interface.
25115 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25116 NO_ADD_LOCALE.
25117 (collate_finish): Don't call collseq_table_finalize.
25118 (collate_output): Use new locale_file interface.
25119 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25120 in file.
25121 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25122 (TABLE): Move defines earlier in file.
25123 (ELEMENT): Likewise.
25124 (DEFAULT): Likewise.
25125 (wctrans_table_add): Move macro and inline function earlier in
25126 file.
25127 (struct wctype_table): Move type earlier in file.
25128 (add_locale_wctype_table): New static prototype.
25129 (struct locale_ctype_t): Use logical types instead of struct iovec
25130 pointers for members.
25131 (ctype_output): Use new locale_file interface.
25132 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25133 new locale_file interface.
25134 (allocate_arrays): Update for use of new locale_file interface.
25135 * locale/programs/ld-identification.c (identification_output): Use
25136 new locale_file interface.
25137 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25138 * locale/programs/ld-messages.c (messages_output): Likewise.
25139 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25140 * locale/programs/ld-name.c (name_output): Likewise.
25141 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25142 * locale/programs/ld-paper.c (paper_output): Likewise.
25143 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25144 * locale/programs/ld-time.c (time_output): Likewise.
25145
e029e2e5
AZ
251462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25147
25148 * benchtests/Makefile: Add memrchr benchmark.
25149 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25150 benchmark as memrchr.
25151 * benchtests/bench-memrchr-ifunc.c: New file.
25152 * benchtests/bench-memrchr.c: New file.
25153
bbf6e8e4
WN
251542013-09-06 Will Newton <will.newton@linaro.org>
25155
25156 * benchtests/Makefile (string-bench): Add memcpy.
25157
6c82a2f8
CD
251582013-09-05 Carlos O'Donell <carlos@redhat.com>
25159 Cong Wang <amwang@redhat.com>
25160
e732c5f0 25161 [BZ #15850]
6c82a2f8
CD
25162 * sysdeps/unix/sysv/linux/bits/in.h
25163 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25164 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25165 before __USE_KERNEL_IPV6_DEFS uses.
25166 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25167 IPPROTO_BEETPH.
25168 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25169 sockaddr_in6, or ipv6_mreq.
25170
5430fc65
AZ
251712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25172
25173 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25174 memory access for final bytes in some large inputs.
25175 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25176
4660856c
AZ
251772013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25178
25179 * string/test-memrchr.c: New file.
25180 * string/test-memrchr-ifunc.c: New file.
25181 * string/Makefile: Add new memrchr testcase.
25182
bb8ea713
MF
251832013-09-05 Mike Frysinger <vapier@gentoo.org>
25184
25185 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25186 fanotify_init returns EPERM.
25187
b92a20b5
JM
251882013-09-04 Joseph Myers <joseph@codesourcery.com>
25189
25190 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25191 errors.
25192 (top level): Treat second token from macro or constant entries for
25193 allowed headers as allowed.
25194 * include/complex.h: Condition internal declarations on
25195 [!_ISOMAC].
25196 * include/fenv.h: Condition include of <stdbool.h> and internal
25197 declarations on [!_ISOMAC].
7447ccd9
CL
25198
251992013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25200
3e181dda 25201 [BZ #15923]
7447ccd9
CL
25202 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25203
3f2e46a4
JM
252042013-09-04 Joseph Myers <joseph@codesourcery.com>
25205
25206 * configure.in (--enable-versioning): Remove configure option.
25207 (libc_cv_asm_symver_directive): Remove configure test.
25208 (libc_cv_ld_version_script_option): Likewise.
25209 (VERSIONING): Remove variable and AC_SUBST.
25210 (DO_VERSIONING): Remove AC_DEFINE.
25211 * configure: Regenerated.
25212 * config.h.in (DO_VERSIONING): Remove macro.
25213 * Makerules [$(versioning) = yes]: Change conditionals to
25214 [$(build-shared) = yes].
25215 * config.make.in (versioning): Remove variable.
25216 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25217 [$(build-shared) = yes].
25218 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25219 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25220 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25221 [$(build-shared) = yes].
25222 * extra-lib.mk [$(versioning) = yes]: Likewise.
25223 * hurd/Makefile [$(versioning) = yes]: Likewise.
25224 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25225 [SHARED].
25226 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25227 [SHARED].
25228 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25229 [SHARED && !NO_HIDDEN].
25230 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25231 [SHARED].
25232 [SHARED && DO_VERSIONING]: Likewise..
25233 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25234 [$(build-shared) = yes].
25235 * manual/install.texi (--disable-versioning): Remove
25236 documentation.
25237 * INSTALL: Regenerated.
25238 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25239 to [SHARED].
25240 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25241 [$(build-shared) = yes].
25242 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25243 * sysdeps/i386/i686/multiarch/strstr-c.c
25244 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25245 [SHARED && !NO_HIDDEN].
25246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25247 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25248 * sysdeps/powerpc/powerpc32/dl-machine.c
25249 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25250 * sysdeps/powerpc/powerpc32/sysdep.h
25251 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25252 to [SHARED && PIC && !NO_HIDDEN].
25253 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25254 conditional to [SHARED].
25255
44558701
WN
252562013-09-04 Will Newton <will.newton@linaro.org>
25257
25258 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25259 * benchtests/bench-string.h: Include bench-timing.h instead
25260 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25261 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25262 call to HP_TIMING_DIFF_INIT.
25263 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25264 instead of hp-timing.h macros.
25265 * benchtests/bench-memchr.c: Likewise.
25266 * benchtests/bench-memcmp.c: Likewise.
25267 * benchtests/bench-memcpy.c: Likewise.
25268 * benchtests/bench-memmem.c: Likewise.
25269 * benchtests/bench-memmove.c: Likewise.
25270 * benchtests/bench-memset.c: Likewise.
25271 * benchtests/bench-rawmemchr.c: Likewise.
25272 * benchtests/bench-strcasecmp.c: Likewise.
25273 * benchtests/bench-strcasestr.c: Likewise.
25274 * benchtests/bench-strcat.c: Likewise.
25275 * benchtests/bench-strchr.c: Likewise.
25276 * benchtests/bench-strcmp.c: Likewise.
25277 * benchtests/bench-strcpy.c: Likewise.
25278 * benchtests/bench-strcpy_chk.c: Likewise.
25279 * benchtests/bench-strlen.c: Likewise.
25280 * benchtests/bench-strncasecmp.c: Likewise.
25281 * benchtests/bench-strncat.c: Likewise.
25282 * benchtests/bench-strncmp.c: Likewise.
25283 * benchtests/bench-strncpy.c: Likewise.
25284 * benchtests/bench-strnlen.c: Likewise.
25285 * benchtests/bench-strpbrk.c: Likewise.
25286 * benchtests/bench-strrchr.c: Likewise.
25287 * benchtests/bench-strspn.c: Likewise.
25288 * benchtests/bench-strstr.c: Likewise.
25289
cae16d66
WN
252902013-09-04 Will Newton <will.newton@linaro.org>
25291
25292 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25293
ffa3cd7f
JM
252942013-09-03 Joseph Myers <joseph@codesourcery.com>
25295
25296 [BZ #15427]
25297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25298 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25299 * math/libm-test.inc (lgamma_test_data): Add more tests.
25300 * sysdeps/i386/fpu/libm-test-ulps: Update.
25301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25302
8f02859f
OB
253032013-09-03 Ondřej Bílka <neleai@seznam.cz>
25304
25305 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25307 Add ifunc.
25308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25309 Add strcmp-sse2-unaligned
25310 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25311
18d43716
MF
253122013-09-02 Mike Frysinger <vapier@gentoo.org>
25313
25314 * Versions.def (libc): Add GLIBC_2.19.
25315
ac444012
MF
253162013-09-02 Mike Frysinger <vapier@gentoo.org>
25317
25318 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25319 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25320
b7835e32
JM
253212013-09-02 Joseph Myers <joseph@codesourcery.com>
25322
25323 [BZ #14155]
25324 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25325 intermediate calculations in recurrence.
25326 (__ieee754_ynf): Likewise.
25327 * math/libm-test.inc (jn_test_data): Do not allow spurious
25328 underflow exception. Add more tests.
25329 (yn_test_data): Add more tests.
25330 * sysdeps/i386/fpu/libm-test-ulps: Update.
25331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25332
8220f4f0
OB
253332013-09-02 Ondřej Bílka <neleai@seznam.cz>
25334
25335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25336
f24a6d08
OB
253372013-08-30 Ondřej Bílka <neleai@seznam.cz>
25338
25339 * csu/init-first.c: Fix then/than typos.
25340 * locale/programs/ld-collate.c: Likewise.
25341 * locale/programs/linereader.h: Likewise.
25342 * manual/charset.texi: Likewise.
25343 * manual/filesys.texi: Likewise.
25344 * manual/stdio.texi: Likewise.
25345 * manual/string.texi: Likewise.
25346 * stdlib/fmtmsg.c: Likewise.
25347 * sysdeps/i386/stpncpy.S: Likewise.
25348 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25349 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25350 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25351 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25352
382466e0
OB
253532013-08-30 Ondřej Bílka <neleai@seznam.cz>
25354
25355 * elf/dl-open.c: Fix typos.
25356 * iconvdata/gbbig5.c: Likewise.
25357 * iconvdata/iso-2022-jp.c: Likewise.
25358 * iconv/gconv_int.h: Likewise.
25359 * iconv/loop.c: Likewise.
25360 * nis/rpcsvc/nis.h: Likewise.
25361 * resolv/ns_name.c: Likewise.
25362 * stdio-common/vfscanf.c: Likewise.
25363 * streams/stropts.h: Likewise.
25364 * sunrpc/rpc_thread.c: Likewise.
25365 * sysdeps/i386/strpbrk.S: Likewise.
25366 * sysdeps/ieee754/k_standard.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25369 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25370 * sysdeps/mach/hurd/profil.c: Likewise.
25371 * sysdeps/s390/dl-procinfo.h: Likewise.
25372 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25373 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25375 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25377
0186c6e9
OB
253782013-08-30 Ondřej Bílka <neleai@seznam.cz>
25379
25380 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25382
d4e16af1
OB
253832013-08-29 Ondřej Bílka <neleai@seznam.cz>
25384
25385 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25386 aix specific files.
25387 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25388 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25389 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25390 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25391 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25392 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25394 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25395
88335980
TS
253962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25397 Roland McGrath <roland@hack.frob.com>
25398
25399 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25400 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25401
ed479b02
ST
254022013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25403
25404 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25405 __executable_start symbol instead of _start.
25406
f1cc4c86
TS
254072013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25408
d821f07c
TS
25409 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25410 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25411 Move macros to...
25412 * sysdeps/gnu/ldsodefs.h: ... this new file.
25413
c54290cf
TS
25414 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25415 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25416 instead of ELFOSABI_LINUX.
25417
0007fc9b 25418 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25419 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25420 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25421 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25422 Likewise.
25423 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25424 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25426 Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25428 (ibm_extended_long_double): Add ieee_nan member.
25429 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25430 (do_test): New function.
25431
f1cc4c86
TS
25432 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25433 TEST_TRUNC.
25434 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25435 functions, renamed from truncdfsf_test, trunctfsf_test,
25436 trunctfdf_test.
25437 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25438 functions.
25439 (do_test): Run all these.
25440
6f65e668
OB
254412013-08-29 Ondřej Bílka <neleai@seznam.cz>
25442
25443 * argp/argp-help.c: Fix typos.
25444 * argp/argp-parse.c: Likewise.
25445 * debug/backtracesyms.c: Likewise.
25446 * elf/elf.h: Likewise.
25447 * malloc/malloc.c: Likewise.
25448 * nis/nis_print.c: Likewise.
25449 * resolv/res_comp.c: Likewise.
25450 * stdlib/stdlib.h: Likewise.
25451 * sunrpc/clnt_tcp.c: Likewise.
25452 * sunrpc/clnt_udp.c: Likewise.
25453 * sunrpc/clnt_unix.c: Likewise.
25454 * sysdeps/unix/bsd/ptsname.c: Likewise.
25455 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25456 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25458 Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25460 Likewise.
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25462 Likewise.
6f65e668
OB
25463 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25464
3a309239
SP
254652013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25466
25467 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25469
3b813b29
MF
254702013-08-27 Mike Frysinger <vapier@gentoo.org>
25471
25472 [BZ #15897]
25473 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25474 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25475 ($(objpfx)bug-dl-leaf): New rule.
25476 ($(objpfx)bug-dl-leaf.so): Likewise.
25477 ($(objpfx)bug-dl-leaf.out): Likewise.
25478 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25479 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25480 * dlfcn/bug-dl-leaf.c: New test.
25481 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25482 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25483 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25484 (dlclose): Likewise.
25485 (dlmopen): Likewise.
25486
8cc3269f
RM
254872013-08-27 Roland McGrath <roland@hack.frob.com>
25488
7f9d0034
RM
25489 * include/netdb.h [!_ISOMAC]:
25490 Don't include <tls.h>.
25491 (h_errno, __libc_h_errno): Move declaration and macros out of
25492 [_LIBC_REENTRANT].
25493
fb431262
RM
25494 * include/resolv.h [_RESOLV_H_]:
25495 Don't include <tls.h>.
25496 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25497 * resolv/res_libc.c: Don't include <tls.h>.
25498 (_res): Use __attribute__ ((nocommon)) in place of
25499 __attribute__ ((section (".bss"))).
25500
bd81123a
RM
25501 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25502 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25503
c4e42566
RM
25504 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25505
f890a59b
RM
25506 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25507 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25508
25509 * resolv/res_mkquery.c: Include <sys/time.h>.
25510
5d1f0a09
RM
25511 * inet/ifreq.c: Moved to ...
25512 * sysdeps/unix/ifreq.c: ... here.
25513 * inet/ifreq.c: New file, true stub version.
25514
6fcf28b3
RM
25515 * socket/sa_len.c: New file.
25516 * socket/Makefile (aux): Add it.
25517 * sysdeps/unix/sysv/linux/Makefile
25518 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25519 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25520 and #include <socket/sa_len.c>.
25521 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25522 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25523
e041fb8b
RM
25524 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25525 * bits/socket.h: ... here.
25526
8cc3269f
RM
25527 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25528 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25529 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25530
5d228a43
AS
255312013-08-27 Andreas Schwab <schwab@suse.de>
25532
45b8accc
AS
25533 [BZ #15736]
25534 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25535 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25536 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25537 * string/test-strcasecmp.c (test_main): Run tests in several
25538 locales.
25539 * string/test-strncasecmp.c (test_main): Likewise.
25540
5d228a43
AS
25541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25542 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25543 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25545 (__strncasecmp_ssse3) [PIC]: Likewise.
25546
59d112a4
RM
255472013-08-26 Roland McGrath <roland@hack.frob.com>
25548
53234cc3
RM
25549 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25550
59d112a4
RM
25551 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25552 instead of explicitly declaring xdecrypt.
25553 * nis/nss_nis/nis-publickey.c: Likewise.
25554
595aba70
SP
255552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25556
25557 [BZ #15890]
25558 * nscd/aicache.c: Include res_hconf.h.
25559 (addhstaiX): Initialize res_hconf.
25560
ffabd393
AS
255612013-08-26 Andreas Schwab <schwab@suse.de>
25562
25563 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25564 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25565
e0a69f5c
SP
255662013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25567
25568 * nscd/aicache.c (addhstaiX): Fix indentation.
25569
8c12f01d
MF
255702013-08-25 Mike Frysinger <vapier@gentoo.org>
25571
25572 * configure.ac: Quote $build_pt_chown test.
25573 * configure: Regenerated.
25574
8fe89494
JM
255752013-08-23 Joseph Myers <joseph@codesourcery.com>
25576
25577 [BZ #15532]
25578 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25579 * math/s_cexpf.c (__cexpf): Likewise.
25580 * math/s_cexpl.c (__cexpl): Likewise.
25581 * math/libm-test.inc (cexp_test_data): Correct expected return
25582 value for NaN + i0. Add another test.
25583
75b181d6
DM
255842013-08-22 David S. Miller <davem@davemloft.net>
25585
25586 * po/ca.po: Update Catalan translation from translation project.
936241e4 25587 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25588
acd06bb1
JM
255892013-08-21 Joseph Myers <joseph@codesourcery.com>
25590
25591 [BZ #15797]
25592 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25593 is infinite, not alongside NaN test.
25594 * math/s_fdimf.c (__fdimf): Likewise.
25595 * math/s_fdiml.c (__fdiml): Likewise.
25596 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25597 errno is unchanged.
25598
c0c3f78a
OB
255992013-08-21 Ondřej Bílka <neleai@seznam.cz>
25600
25601 * argp/argp-help.c: Fix typos.
25602 * crypt/speeds.c: Likewise.
25603 * csu/check_fds.c: Likewise.
25604 * elf/dl-load.c: Likewise.
25605 * elf/dl-open.c: Likewise.
25606 * elf/reldep3.c: Likewise.
25607 * elf/reldep.c: Likewise.
25608 * elf/sprof.c: Likewise.
25609 * iconv/iconv_charmap.c: Likewise.
25610 * iconv/skeleton.c: Likewise.
25611 * iconv/strtab.c: Likewise.
25612 * io/lockf64.c: Likewise.
25613 * libio/libioP.h: Likewise.
25614 * resolv/gai_notify.c: Likewise.
25615 * resolv/ns_name.c: Likewise.
25616 * resolv/ns_samedomain.c: Likewise.
25617 * resolv/res_send.c: Likewise.
25618 * stdlib/random.c: Likewise.
25619 * sunrpc/rpc/xdr.h: Likewise.
25620 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25621 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25622 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25628 * sysdeps/mach/hurd/check_fds.c: Likewise.
25629 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25630 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25631 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25632 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25634 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25635 * sysdeps/pthread/aio_notify.c: Likewise.
25636 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25637 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25640 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25641
46ed1038
LD
256422013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25643
25644 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25645 version if bit_Slow_SSE4_2 is set.
25646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25648
d400dcac
AZ
256492013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25650
25651 [BZ #15867]
25652 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25653 trampoline stack frame information.
25654 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25656 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25657 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25658 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25659 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25660 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25661 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25662 sa_flags value.
25663 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25664 interrupting a syscall and set with option SA_SIGINFO.
25665
42c8fdd8
JM
256662013-08-20 Joseph Myers <joseph@codesourcery.com>
25667
c980f2f4
JM
25668 [BZ #15531]
25669 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25670 argument is infinite.
25671 * math/s_cprojf.c (__cprojf): Likewise.
25672 * math/s_cprojl.c (__cprojl): Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25674 * math/libm-test.inc (cproj_test_data): Add more tests.
25675
0716c4fc
JM
25676 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25677
42c8fdd8
JM
25678 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25679 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25680 size. Use __ffs to determine corresponding shift.
25681
b31469d0
JM
256822013-08-20 Joseph Myers <joseph@codesourcery.com>
25683 Roland McGrath <roland@hack.frob.com>
25684
25685 * Makefile (INSTALL): Remove trailing blank lines from output of
25686 makeinfo.
25687
4e39af6e
AK
256882013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25689
25690 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25691 Align 32 bit compat elf_greg to 8 bytes.
25692
f315524e
AA
256932013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25694
25695 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25696
1326ba1a
SP
256972013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25698
25699 * string/strcoll_l.c (coll_seq): New structure.
25700 (get_next_seq_cached): New function.
25701 (get_next_seq): New function.
25702 (do_compare): New function.
25703 (STRCOLL): Use GNU style definition. Simplify implementation
25704 by using get_next_seq, get_next_seq_cached and do_compare.
25705
91ce4085
FW
257062013-08-16 Florian Weimer <fweimer@redhat.com>
25707
25708 [BZ #14699]
25709 CVE-2013-4237
25710 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25711 member.
25712 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25713 member.
25714 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25715 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25716 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25717 conditional.
25718 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25719 GETDENTS_64BIT_ALIGNED.
25720 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25721 * manual/filesys.texi (Reading/Closing Directory): Document
25722 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25723 strongly.
25724 * manual/conf.texi (Limits for Files): Add portability note to
25725 NAME_MAX, PATH_MAX.
25726 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25727
ca0a6bc4
AS
257282013-08-13 Andreas Schwab <schwab@suse.de>
25729
25730 [BZ #15749]
25731 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25732 of fabs.
25733 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25734 LDBL_MAX_EXP >= 16384]: Add tests for it.
25735
6c1fd795
DM
257362013-08-12 David S. Miller <davem@davemloft.net>
25737
25738 * version.h (RELEASE): Set to "development".
25739 (VERSION): Set to "2.18.90".
25740 * NEWS: Add 2.19 section.
25741
31ad488d
DM
257422013-08-03 David S. Miller <davem@davemloft.net>
25743
25744 * po/ko.po: Update Korean translation from translation project.
25745
db24e684
DM
257462013-08-01 David S. Miller <davem@davemloft.net>
25747
25748 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25749 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25750 Bilka.
25751
f723285b
DM
257522013-07-30 David S. Miller <davem@davemloft.net>
25753
25754 * po/fr.po: Update French translation from translation project.
25755
3cbc52db
DM
257562013-07-28 David S. Miller <davem@davemloft.net>
25757
30bbc0cc
DM
25758 * po/cs.po: Update Czech translation from translation project.
25759
3cbc52db
DM
25760 * po/sv.po: Update Swedish translation from translation project.
25761
d492e6d0
DM
257622013-07-27 David S. Miller <davem@davemloft.net>
25763
f1a7f492
DM
25764 * po/eo.po: Update Esperanto translation from translation project.
25765
90e62a4a
DM
25766 * po/vi.po: Update Vietnamese translation from translation project.
25767
d492e6d0
DM
25768 * po/de.po: Update German translation from translation project.
25769
d4baa62d
DM
257702013-07-26 David S. Miller <davem@davemloft.net>
25771
641aa7b4
DM
25772 * po/bg.po: Update Bulgarian translation from translation project.
25773
d4baa62d
DM
25774 * po/nl.po: Update Dutch translation from translation project.
25775 * po/pl.po: Update Polish translation from translation project.
25776 * po/ru.po: Update Russian translation from translation project.
25777
61a9dcb9
DM
257782013-07-24 David S. Miller <davem@davemloft.net>
25779
25780 * po/libc.pot: Update.
25781
7b1f8b58
AZ
257822013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25783
25784 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25785 variable page size.
25786 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25787 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25788 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25789
a8fc7a03
AK
257902013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25791
25792 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25793
e4608715
CD
257942013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25795 Andreas Schwab <schwab@suse.de>
25796 Roland McGrath <roland@hack.frob.com>
25797 Joseph Myers <joseph@codesourcery.com>
25798 Carlos O'Donell <carlos@redhat.com>
25799
25800 [BZ #15755]
25801 * config.h.in: Define HAVE_PT_CHOWN.
25802 * config.make.in (build-pt-chown): New variable.
25803 * configure.in (--enable-pt_chown): New configure option.
25804 * configure: Regenerate.
25805 * login/Makefile: Include Makeconfig. Build pt_chown only if
25806 build-pt-chown is enabled.
25807 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25808 pt_chown to fix pty ownership.
25809 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25810 CLOSE_ALL_FDS.
25811 * manual/install.texi (Configuring and compiling): Mention
25812 --enable-pt_chown. Add @findex for grantpt.
25813 * INSTALL: Regenerate.
25814
da2d62df
DM
258152013-07-20 David S. Miller <davem@davemloft.net>
25816
25817 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25818 difference between 32-bit and 64-bit.
25819
d7e06450
CD
258202013-07-15 Carlos O'Donell <carlos@redhat.com>
25821
25822 [BZ #15711]
25823 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25824 Avoid system header dependency with -ffreestanding.
25825 ($(objpfx)bits/syscall%d): Likewise.
25826
f959cfd7
DM
258272013-07-13 David S. Miller <davem@davemloft.net>
25828
25829 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25830 underflows from atanl/atan2l due to bug 15319.
25831 (casinh_test_data): Likewise.
25832
c61f8513
DM
258332013-07-07 David S. Miller <davem@davemloft.net>
25834
25835 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25836
72c90ed0
JA
258372013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25838
25839 * sysdeps/i386/fpu/libm-test-ulps: Update.
25840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25841
52dfbe13
SP
258422013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25843
25844 * configure.in (--enable-lock-elision): Fix message text.
25845 * INSTALL: Regenerate.
25846 * configure: Regenerate.
25847
3f169543
AZ
258482013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25849
25850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25851
521c6785
AJ
258522013-07-03 Andreas Jaeger <aj@suse.de>
25853
25854 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25855 define.
25856 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25857 (ptrace_peeksiginfo_args): Add.
25858 (__ptrace_peeksiginfo_flags): Add.
25859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25862
d2cc15cb
AM
258632013-07-03 Allan McRae <allan@archlinux.org>
25864
25865 * sysdeps/i386/fpu/libm-test-ulps: Update.
25866
3aaeeca7
DM
258672013-07-02 David S. Miller <davem@davemloft.net>
25868
25869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25870
5314ed1a
MT
258712013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25872
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25874
67338156
JM
258752013-07-02 Joseph Myers <joseph@codesourcery.com>
25876
25877 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25879
1717da59
AK
258802013-07-02 Andi Kleen <ak@linux.intel.com>
25881
25882 * config.h.in (ENABLE_LOCK_ELISION): Add.
25883 * configure.in (--enable-lock-elision): Add option.
25884 * manual/install.texi: Document --enable lock elision.
25885 * configure: Regenerate
25886 * INSTALL: Regenerate.
25887
1c81621c
L
258882013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25889
25890 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25891 SSE4.2 strcasecmp for libc.a.
25892 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25893
77f01ab5
JM
258942013-07-02 Joseph Myers <joseph@codesourcery.com>
25895
25896 [BZ #13304]
25897 * soft-fp/op-common.h (_FP_FMA): New macro.
25898 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25899 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25900 (_FP_MUL_MEAT_1_imm): ... here.
25901 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25902 (_FP_MUL_MEAT_1_wide): ... here.
25903 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25904 (_FP_MUL_MEAT_1_hard): ... here.
25905 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25906 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25907 (_FP_MUL_MEAT_2_wide): ... here.
25908 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25909 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25910 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25911 (_FP_MUL_MEAT_2_gmp): ... here.
25912 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25913 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25914 (_FP_MUL_MEAT_4_wide): ... here.
25915 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25916 (_FP_MUL_MEAT_4_gmp): ... here.
25917 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25918 (_FP_WFRACBITS_DW_S): Likewise.
25919 (_FP_WFRACXBITS_DW_S): Likewise.
25920 (_FP_HIGHBIT_DW_S): Likewise.
25921 (FP_FMA_S): Likewise.
25922 (_FP_FRAC_HIGH_DW_S): Likewise.
25923 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25924 (_FP_WFRACBITS_DW_D): Likewise.
25925 (_FP_WFRACXBITS_DW_D): Likewise.
25926 (_FP_HIGHBIT_DW_D): Likewise.
25927 (FP_FMA_D): Likewise.
25928 (_FP_FRAC_HIGH_DW_D): Likewise.
25929 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25930 (_FP_WFRACBITS_DW_E): Likewise.
25931 (_FP_WFRACXBITS_DW_E): Likewise.
25932 (_FP_HIGHBIT_DW_E): Likewise.
25933 (FP_FMA_E): Likewise.
25934 (_FP_FRAC_HIGH_DW_E): Likewise.
25935 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25936 (_FP_WFRACBITS_DW_Q): Likewise.
25937 (_FP_WFRACXBITS_DW_Q): Likewise.
25938 (_FP_HIGHBIT_DW_Q): Likewise.
25939 (FP_FMA_Q): Likewise.
25940 (_FP_FRAC_HIGH_DW_Q): Likewise.
25941 * soft-fp/fmasf4.c: New file.
25942 * soft-fp/fmadf4.c: Likewise.
25943 * soft-fp/fmatf4.c: Likewise.
25944
6308fd9a
LD
259452013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25946
25947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25948 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25949 Silvermont.
25950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25951 macro.
25952 (index_Slow_SSE4_2): Likewise.
25953 (index_Prefer_PMINUB_for_stringop): Likewise.
25954 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25955 bit_Slow_SSE4_2 is set.
25956 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25958
89cd9569
RA
259592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25960
25961 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25962 rtld_global._dl_hwcap2.
25963 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25964 POWER8.
25965 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25966 POWER8 feature descriptions defined in _dl_hwcap2.
25967 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25968 string handling for POWER8 feature bits.
25969 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25970 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25971 _dl_powerpc_cap_flags.
25972 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25973 * sysdeps/powerpc/rtld-global-offsets.sym
25974 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25975 _dl_hwcap2 in the rtld_global_ro structure.
25976
1ae8bfe0
RA
259772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25978
25979 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25980 hardware capabilities in support of AT_HWCAP2.
25981 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25982 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25983 GLRO(dl_hwcap2).
25984 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25985 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25986 explicitly the unknown a_type display mechanism is used.
25987 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25988 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25989 struct member.
25990 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25991 to macro prototype for AT_HWCAP2 support.
25992 * sysdeps/i386/dl-procinfo.h: Likewise.
25993 * sysdeps/s390/dl-procinfo.h: Likewise.
25994 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25995 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25996 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25997 return -1 for unknown a_type display fallback.
25998 * sysdeps/sparc/dl-procinfo.h: Likewise.
25999 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26000 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26001
8fbec010
JM
260022013-06-28 Joseph Myers <joseph@codesourcery.com>
26003
26004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26005 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26006
0432680e
PY
260072013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26008
26009 [BZ #12492]
26010 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26011 mprotect making __stack_prot writable.
26012
ce61a2ad
NF
260132013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26014 Joseph Myers <joseph@codesourcery.com>
26015
26016 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26017 as being properly aligned.
26018
f91f1c0f
MR
260192013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26020
3d0f5d0c
MR
26021 * dlfcn/modstatic5.c: New file.
26022 * dlfcn/tststatic5.c: New file.
26023 * dlfcn/Makefile (tests): Add tststatic5.
26024 (tests-static): Likewise.
26025 (modules-names): Add modstatic5.
26026 (tststatic5-ENV): New variable.
26027 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26028
f91f1c0f
MR
26029 [BZ #15022]
26030 * elf/dl-support.c (_dl_main_map): New variable.
26031 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26032 (_dl_nns, _dl_load_adds): Set to 1.
26033 (_dl_initial_searchlist): Refer to _dl_main_map.
26034 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26035 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26036 call to _dl_get_origin.
26037 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26038 around call_map.
26039 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26040 * dlfcn/modstatic3.c: New file.
26041 * dlfcn/tststatic3.c: New file.
26042 * dlfcn/tststatic4.c: New file.
26043 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26044 (tests-static): Likewise.
26045 (modules-names): Add modstatic3.
26046 (tststatic3-ENV, tststatic4-ENV): New variables.
26047 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26048 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26049
cbe7d24b
JM
260502013-06-26 Joseph Myers <joseph@codesourcery.com>
26051
26052 * configure.in (CC): Require GCC version 4.4 or later.
26053 * configure: Regenerated.
26054 * manual/install.texi (Tools for Compilation): Update GCC version
26055 requirement.
26056 * INSTALL: Regenerated.
26057
11b8a0e1
LD
260582013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26059
26060 [BZ #15674]
bb5bb87c
L
26061 * string/test-memcmp.c (check2): New.
26062 (main): Call check2.
26063
11b8a0e1
LD
26064 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26065
b0037103
MR
260662013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26067
26068 [BZ #15022]
26069 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26070 over to...
26071 (dl_open_worker) [!SHARED]: ... here.
26072
c18c701d
RA
260732013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26074
26075 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26076
1d17fa5f
RH
260772013-06-25 Richard Henderson <rth@redhat.com>
26078
26079 * locale/programs/locarchive.c: Include <libc-internal.h>
26080
8fcb833a
JM
260812013-06-25 Joseph Myers <joseph@codesourcery.com>
26082
26083 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26084 trailing whitespace removed.
26085
17db6e8d
MF
260862013-06-24 Mike Frysinger <vapier@gentoo.org>
26087
26088 [BZ #10283]
17db6e8d
MF
26089 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26090 * locale/programs/locarchive.c: Include libc-mmap.h.
26091 (prepare_address_space): Take two new outputs (the mmap base and len).
26092 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26093 values.
26094 (create_archive): Declare new mmap base and len values for
26095 prepare_address_space, and store the result in ah.
26096 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26097 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26098 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26099 Declare new mmap base and len values for
26100 prepare_address_space, and store the result in new_ah.
26101 (open_archive): Declare new mmap base and len values for
26102 prepare_address_space, and store the result in ah.
26103 (close_archive): If ah->mmap_base is not NULL, use that and
26104 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26105 * sysdeps/generic/libc-mmap.h: New file.
26106
d605071e
MF
261072013-06-24 Mike Frysinger <vapier@gentoo.org>
26108
26109 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26110 (ALIGN_UP): Likewise.
26111 (PTR_ALIGN_DOWN): Likewise.
26112 (PTR_ALIGN_UP): Likewise.
26113
2f063a6e
RA
261142013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26115
26116 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26117 entry mapped to PPC_PLATFORM_POWER8.
26118 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26119 POWER8.
26120 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26121 (_dl_string_platform): Add case for exporting platform position for
26122 POWER8.
26123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26124 search path to sysdeps/powerpc/powerpc32/power8 directory.
26125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26126 search path to sysdeps/powerpc/powerpc64/power8 directory.
26127 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26128 power7 directories.
26129 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26130 power7 directories.
26131
a31ee4b3
SP
261322013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26133
a74ca98f
SP
26134 * INSTALL: Regenerate.
26135
a31ee4b3
SP
26136 * nscd/connections.c (nscd_init): Fix comment.
26137
695c378f
JM
261382013-06-22 Joseph Myers <joseph@codesourcery.com>
26139
d8412221
JM
26140 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26141
695c378f
JM
26142 [BZ #15667]
26143 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26144 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26145
d1d54715
MR
261462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26147
26148 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26149 DL_DST_REQ_STATIC.
26150 (DL_DST_REQ_STATIC): Remove macro.
26151
8fdda7af
JM
261522013-06-21 Joseph Myers <joseph@codesourcery.com>
26153
26154 [BZ #7006]
26155 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26156 with a shift of 0 bits.
26157
f3bc5e5a
MR
261582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26159
26160 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26161 $(tststatic-ENV).
26162
be09e8c9
KK
261632013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26164
26165 [BZ #15655]
26166 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26167
85c2e611
AZ
261682013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26169
26170 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26171 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26172 accepts -fno-tree-loop-distribute-patterns.
26173 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26174 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26175 recursive call.
26176 * string/memset.c (memset): Likewise.
26177 * string/test-memmove.c (simple_memmove): Disable loop transformation
26178 to library calls.
26179 * string/test-memset.c (simple_memset): Likewise.
26180 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26181 * benchtests/bench-memset.c (simple_memset): Likewise.
26182 * configure: Regenerated.
26183
c91e0825
JM
261842013-06-20 Joseph Myers <joseph@codesourcery.com>
26185
b8c792af
JM
26186 * math/test-misc.c (main): Ignore fesetround failure when failures
26187 of subsequent rounding tests would be ignored.
26188
c91e0825
JM
26189 [BZ #15654]
26190 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26191 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26192 * math/fegetenv.c (__fegetenv): Return 0.
26193 * math/fegetexcept.c (fegetexcept): Return 0.
26194 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26195 FE_TONEAREST.
26196 * math/feholdexcpt.c (feholdexcept): Return 0.
26197 * math/fesetenv.c (__fesetenv): Return 0.
26198 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26199 argument FE_TONEAREST.
26200 * math/feupdateenv.c (__feupdateenv): Return 0.
26201 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26202
bfcacbde
RM
262032013-06-18 Roland McGrath <roland@hack.frob.com>
26204
26205 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26206 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26207 ($(objpfx)rtld-%.os rules): Use them.
26208
e55a9b25
AZ
262092013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26210
26211 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26212 fields.
26213
346d65b3
RM
262142013-06-17 Roland McGrath <roland@hack.frob.com>
26215
12086fb4
RM
26216 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26217 length of target pattern, then descending length of dependency pattern.
26218 * configure.in (AWK): Require gawk 3.1.2 or newer.
26219 * manual/install.texi (Tools for Compilation): Say that we do.
26220 * configure: Regenerated.
26221
346d65b3
RM
26222 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26223 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26224 * scripts/sysd-rules.awk: ... this new script.
26225 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26226 than a glob-style pattern.
26227
1a846317
JM
262282013-06-17 Joseph Myers <joseph@codesourcery.com>
26229
26230 * math/test-misc.c (main): Do not treat incorrectly rounded
26231 conversions as failure unless ROUNDING_TESTS passes.
26232
8fc75e6f
JM
262332013-06-15 Joseph Myers <joseph@codesourcery.com>
26234
3711a167
JM
26235 [BZ #15631]
26236 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26237 restore exception state around main square root computation, then
26238 check for inexactness explicitly.
26239
8fc75e6f
JM
26240 * math/libm-test.inc (fma_test_data): Add another test.
26241
61dd6208
SP
262422013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26243
adf23d2c
SP
26244 * manual/threads.texi (Non-POSIX Extensions): New document
26245 node. Document pthread_getattr_default_np and
26246 pthread_setattr_default_np.
26247
61dd6208
SP
26248 * Versions.def (libpthread): Add GLIBC_2.18.
26249 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26251 Likewise.
26252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26253 Likewise.
26254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26255 Likewise.
26256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26257 Likewise.
26258 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26259 Likewise.
26260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26261 Likewise.
26262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26263 Likewise.
26264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26265 Likewise.
26266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26267 Likewise.
26268
d086fc7b
LD
262692013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26270
26271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26272 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26273
747ef469
SP
262742013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26275 H.J. Lu <hjl.tools@gmail.com>
26276
26277 [BZ #15627]
26278 * sysdeps/x86_64/rtld-memset.c: Remove file.
26279 * sysdeps/x86_64/rtld-memset.S: New file.
26280
1b2feed2
JM
262812013-06-14 Joseph Myers <joseph@codesourcery.com>
26282
26283 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26284 (test_in_one_mode): Take arguments for whether the rounding mode
26285 is supported for each floating-point type.
26286 (do_test): Pass new arguments to test_in_one_mode using
26287 ROUNDING_TESTS.
26288
a58ad3f8
RM
262892013-06-13 Roland McGrath <roland@hack.frob.com>
26290
26291 * posix/tst-waitid.c (do_test): Distinguish different instances of
26292 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26293 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26294 before entering the kernel for waitpid.
26295
c204ab28
SP
262962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26297
26298 * NEWS: Fix note on clock function precision. Text by Roland
26299 McGrath.
26300
f4a29fba
RM
263012013-06-13 Roland McGrath <roland@hack.frob.com>
26302
26303 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26304 it into place only when and if the sanity check passes.
26305
1f24b9ad
JM
263062013-06-13 Joseph Myers <joseph@codesourcery.com>
26307
26308 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26309 output for whether conversion result is exact. Take argument
26310 indicating whether type is IBM long double.
26311 (round_for_all): Change need_exact field to ibm_ld.
26312 * stdlib/tst-strtod-round.c (struct exactness): New type.
26313 (struct test): Change bool ld_ok field to struct exactness exact.
26314 (TEST): Update all definitions for change to field.
26315 (tests): Regenerate array contents.
26316 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26317 field value. Check for IBM long double here.
26318 (do_test): Update calls to test_in_one_mode.
26319
58206c68
SP
263202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26321
26322 [BZ #12515]
26323 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26324 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26325
2d6f4c5b 263262013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26327
26328 [BZ #15605]
26329 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26330 generated by the compiler on loop optimizations.
26331 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26332 general definitions.
26333
94f2c076
JM
263342013-06-12 Joseph Myers <joseph@codesourcery.com>
26335
26336 * math/bug-nextafter.c: Include <math-tests.h>.
26337 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26338 the relevant type.
26339 * math/bug-nexttoward.c: Include <math-tests.h>.
26340 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26341 the relevant type.
26342 * math/test-misc.c: Include <math-tests.h>.
26343 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26344 the relevant type.
26345
e0e50a0a
AJ
263462013-06-12 Andreas Jaeger <aj@suse.de>
26347
26348 * po/ia.po: Update Interlingua translation from translation
26349 project.
26350
25061094
SP
263512013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26352
26353 * include/fenv.h: Include stdbool.h.
26354 (struct rm_ctx): New structure.
26355 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26356 Define macro.
26357 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26358 (SET_RESTORE_ROUNDF): Likewise.
26359 (SET_RESTORE_ROUNDL): Likewise.
26360 (SET_RESTORE_ROUND_NOEX): Likewise.
26361 (SET_RESTORE_ROUND_NOEXF): Likewise.
26362 (SET_RESTORE_ROUND_NOEXL): Likewise.
26363 (SET_RESTORE_ROUND_53BIT): Likewise.
26364 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26365 (libc_feresetround_noexf_ctx): Likewise.
26366 (libc_feresetround_noexl_ctx): Likewise.
26367 (libc_feholdsetround_53bit_ctx): Likewise.
26368 (libc_feresetround_53bit_ctx): Likewise.
26369 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26370 (libc_feholdexcept_setround_sse_ctx): New function.
26371 (libc_fesetenv_sse_ctx): Likewise.
26372 (libc_feupdateenv_sse_ctx): Likewise.
26373 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26374 (libc_feholdexcept_setround_387_ctx): Likewise.
26375 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26376 (libc_feholdsetround_387_prec_ctx): Likewise.
26377 (libc_feholdsetround_387_ctx): Likewise.
26378 (libc_feholdsetround_387_53bit_ctx): Likewise.
26379 (libc_feholdsetround_sse_ctx): Likewise.
26380 (libc_feresetround_sse_ctx): Likewise.
26381 (libc_feresetround_387_ctx): Likewise.
26382 (libc_feupdateenv_387_ctx): Likewise.
26383 (libc_feholdexcept_setroundf_ctx): Define macro.
26384 (libc_fesetenvf_ctx): Likewise.
26385 (libc_feupdateenvf_ctx): Likewise.
26386 (libc_feholdsetroundf_ctx): Likewise.
26387 (libc_feresetroundf_ctx): Likewise.
26388 (libc_feholdexcept_setround_ctx): Likewise.
26389 (libc_fesetenv_ctx): Likewise.
26390 (libc_feupdateenv_ctx): Likewise.
26391 (libc_feholdsetround_ctx): Likewise.
26392 (libc_feresetround_ctx): Likewise.
26393 (libc_feholdexcept_setroundl_ctx): Likewise.
26394 (libc_feupdateenvl_ctx): Likewise.
26395 (libc_feholdsetroundl_ctx): Likewise.
26396 (libc_feresetroundl_ctx): Likewise.
26397 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26398 (libc_feresetround_53bit_ctx): Likewise.
26399
59b30555
SP
264002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26401
26402 * locale/iso-639.def: Convert to UTF-8.
26403
f1d73d30
JM
264042013-06-11 Joseph Myers <joseph@codesourcery.com>
26405
26406 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26407 (EXCEPTION_TESTS_double): Likewise.
26408 (EXCEPTION_TESTS_long_double): Likewise.
26409 (EXCEPTION_TESTS): Likewise.
26410 * math/libm-test.inc (test_exceptions): Only test exceptions if
26411 EXCEPTION_TESTS (FLOAT).
26412
94aca5e7
SP
264132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26414
26415 * benchtests/Makefile (string-bench): Add strcpy_chk and
26416 stpcpy_chk.
26417 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26418 * benchtests/bench-stpcpy_chk.c: New file.
26419 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26420 * benchtests/bench-strcpy_chk.c: New file.
26421 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26422 code.
26423 (do_test): Likewise.
26424
fac0c5f2
RA
264252013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26426
26427 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26428 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26429 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26430 with tabs where appropriate.
26431 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26432 dl-procinfo.h.
26433 [PPC_PLATFORM_PPC440]: Likewise.
26434 [PPC_PLATFORM_PPC464]: Likewise.
26435 [PPC_PLATFORM_PPC476]: Likewise.
26436 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26437 ppc464, and ppc476 platform strings merging from ports/
26438 dl-procinfo.h.
26439
f22bc486
AS
264402013-06-11 Andreas Schwab <schwab@suse.de>
26441
26442 [BZ #14991]
26443 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26444 (from_ucs4_idx): Regenerate.
26445 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26446 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26447 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26448 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26449 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26450 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26451 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26452 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26453 from FROM_LOOP and TO_LOOP specific macros.
26454 (BODY): Handle combining characters.
26455 * iconvdata/BIG5HKSCS.irreversible: Update.
26456 * iconvdata/BIG5HKSCS.precomposed: New file.
26457 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26458 characters.
26459 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26460
c1f75dc3
SP
264612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26462
4eacded2
SP
26463 * include/sys/time.h: Fix indentation and add copyright header.
26464
fec799f8
SP
26465 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26466 (do_test): Likewise.
26467 * string/test-memchr.c (do_one_test): Likewise.
26468 (do_test): Likewise.
26469 * string/test-memcmp.c (do_one_test): Likewise.
26470 (do_test): Likewise.
26471 * string/test-memcpy.c (do_one_test): Likewise.
26472 (do_test): Likewise.
26473 * string/test-memmem.c (do_one_test): Likewise.
26474 (do_test): Likewise.
26475 (do_random_tests): Likewise.
26476 * string/test-memmove.c (do_one_test): Likewise.
26477 (do_test): Likewise.
26478 * string/test-memset.c (do_one_test): Likewise.
26479 (do_test): Likewise.
26480 * string/test-rawmemchr.c (do_one_test): Likewise.
26481 (do_test): Likewise.
26482 * string/test-strcasecmp.c (do_one_test): Likewise.
26483 (do_test): Likewise.
26484 * string/test-strcasestr.c (do_one_test): Likewise.
26485 (do_test): Likewise.
26486 * string/test-strcat.c (do_one_test): Likewise.
26487 (do_test): Likewise.
26488 * string/test-strchr.c (do_one_test): Likewise.
26489 (do_test): Likewise.
26490 * string/test-strcmp.c (do_one_test): Likewise.
26491 (do_test): Likewise.
26492 * string/test-strcpy.c (do_one_test): Likewise.
26493 (do_test): Likewise.
26494 * string/test-string.h: Likewise.
26495 (test_init): Likewise.
26496 * string/test-strlen.c (do_one_test): Likewise.
26497 (do_test): Likewise.
26498 * string/test-strncasecmp.c (do_one_test): Likewise.
26499 (do_test): Likewise.
26500 * string/test-strncat.c (do_one_test): Likewise.
26501 (do_test): Likewise.
26502 * string/test-strncmp.c (do_one_test): Likewise.
26503 (do_test_limit): Likewise.
26504 (do_test): Likewise.
26505 * string/test-strncpy.c (do_one_test): Likewise.
26506 (do_test): Likewise.
26507 * string/test-strnlen.c (do_one_test): Likewise.
26508 (do_test): Likewise.
26509 * string/test-strpbrk.c (do_one_test): Likewise.
26510 (do_test): Likewise.
26511 * string/test-strrchr.c (do_one_test): Likewise.
26512 (do_test): Likewise.
26513 * string/test-strspn.c (do_one_test): Likewise.
26514 (do_test): Likewise.
26515 * string/test-strstr.c (do_one_test): Likewise.
26516 (do_test): Likewise.
26517
97020474
SP
26518 * benchtests/Makefile (string-bench): Add string benchmarks.
26519 * benchtests/bench-bcopy-ifunc.c: New file.
26520 * benchtests/bench-bcopy.c: New file.
26521 * benchtests/bench-bzero-ifunc.c: New file.
26522 * benchtests/bench-bzero.c: New file.
26523 * benchtests/bench-memccpy-ifunc.c: New file.
26524 * benchtests/bench-memccpy.c: New file.
26525 * benchtests/bench-memchr-ifunc.c: New file.
26526 * benchtests/bench-memchr.c: New file.
26527 * benchtests/bench-memcmp-ifunc.c: New file.
26528 * benchtests/bench-memcmp.c: New file.
26529 * benchtests/bench-memmem-ifunc.c: New file.
26530 * benchtests/bench-memmem.c: New file.
26531 * benchtests/bench-memmove-ifunc.c: New file.
26532 * benchtests/bench-memmove.c: New file.
26533 * benchtests/bench-mempcpy-ifunc.c: New file.
26534 * benchtests/bench-mempcpy.c: New file.
26535 * benchtests/bench-memset-ifunc.c: New file.
26536 * benchtests/bench-memset.c: New file.
26537 * benchtests/bench-rawmemchr-ifunc.c: New file.
26538 * benchtests/bench-rawmemchr.c: New file.
26539 * benchtests/bench-stpcpy-ifunc.c: New file.
26540 * benchtests/bench-stpcpy.c: New file.
26541 * benchtests/bench-stpncpy-ifunc.c: New file.
26542 * benchtests/bench-stpncpy.c: New file.
26543 * benchtests/bench-strcasecmp-ifunc.c: New file.
26544 * benchtests/bench-strcasecmp.c: New file.
26545 * benchtests/bench-strcasestr-ifunc.c: New file.
26546 * benchtests/bench-strcasestr.c: New file.
26547 * benchtests/bench-strcat-ifunc.c: New file.
26548 * benchtests/bench-strcat.c: New file.
26549 * benchtests/bench-strchr-ifunc.c: New file.
26550 * benchtests/bench-strchr.c: New file.
26551 * benchtests/bench-strchrnul-ifunc.c: New file.
26552 * benchtests/bench-strchrnul.c: New file.
26553 * benchtests/bench-strcmp-ifunc.c: New file.
26554 * benchtests/bench-strcmp.c: New file.
26555 * benchtests/bench-strcpy-ifunc.c: New file.
26556 * benchtests/bench-strcpy.c: New file.
26557 * benchtests/bench-strcspn-ifunc.c: New file.
26558 * benchtests/bench-strcspn.c: New file.
26559 * benchtests/bench-strlen-ifunc.c: New file.
26560 * benchtests/bench-strlen.c: New file.
26561 * benchtests/bench-strncasecmp-ifunc.c: New file.
26562 * benchtests/bench-strncasecmp.c: New file.
26563 * benchtests/bench-strncat-ifunc.c: New file.
26564 * benchtests/bench-strncat.c: New file.
26565 * benchtests/bench-strncmp-ifunc.c: New file.
26566 * benchtests/bench-strncmp.c: New file.
26567 * benchtests/bench-strncpy-ifunc.c: New file.
26568 * benchtests/bench-strncpy.c: New file.
26569 * benchtests/bench-strnlen-ifunc.c: New file.
26570 * benchtests/bench-strnlen.c: New file.
26571 * benchtests/bench-strpbrk-ifunc.c: New file.
26572 * benchtests/bench-strpbrk.c: New file.
26573 * benchtests/bench-strrchr-ifunc.c: New file.
26574 * benchtests/bench-strrchr.c: New file.
26575 * benchtests/bench-strspn-ifunc.c: New file.
26576 * benchtests/bench-strspn.c: New file.
26577 * benchtests/bench-strstr-ifunc.c: New file.
26578 * benchtests/bench-strstr.c: New file.
26579
c1f75dc3
SP
26580 * benchtests/Makefile: Disable parallel execution of targets.
26581 (string-bench): Add memcpy.
26582 (benchset): New variable to store a list of benchmark sets.
26583 (bench-func): Renamed from bench.
26584 (bench-set): New target.
26585 (bench): Depend on bench-func and bench-set.
26586 * benchtests/README: Add section on benchmark sets.
26587 * benchtests/bench-memcpy-ifunc.c: New file.
26588 * benchtests/bench-memcpy.c: New file.
26589 * benchtests/bench-string.h: New file.
26590
50fd745b
AS
265912013-06-11 Andreas Schwab <schwab@suse.de>
26592
26593 [BZ #15577]
26594 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26595 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26596 values in the triple.
26597 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26598 terminator in the group key.
26599
3ee7e9fe
AJ
266002013-06-11 Andreas Jaeger <aj@suse.de>
26601
26602 * po/zh_TW.po: Update Chinese (traditional) translation from
26603 translation project.
26604
89fb6835
SP
266052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26606
26607 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26608 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26609 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26611 (clock_getcpuclockid): Likewise.
26612 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26613 Add weak_alias and libc_hidden_def.
26614 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26615 * rt/clock_gettime.c (clock_gettime): Rename to
26616 __clock_gettime. Add weak_alias and libc_hidden_def.
26617 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26618 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26619 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26620 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26621 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26622 Likewise.
26623 * rt/clock_settime.c (clock_settime): Rename to
26624 __clock_settime. Add weak_alias and libc_hidden_def.
26625 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26626
0efa6f8b
JM
266272013-06-10 Joseph Myers <joseph@codesourcery.com>
26628
b8c61b4b
JM
26629 * mach/err_boot.sub: Remove trailing whitespace.
26630 * mach/err_ipc.sub: Likewise.
26631 * mach/err_mach.sub: Likewise.
26632
0efa6f8b
JM
26633 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26634 (ROUNDING_TESTS_double): Likewise.
26635 (ROUNDING_TESTS_long_double): Likewise.
26636 (ROUNDING_TESTS): Likewise.
26637 * math/libm-test.inc: Include <math-tests.h>.
26638 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26639 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26640 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26641 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26642
50b818bf
SP
266432013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26644
26645 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26646 of assigning.
26647
60d2f8f3
JM
266482013-06-08 Joseph Myers <joseph@codesourcery.com>
26649
4902d2c3
JM
26650 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26651 otherwise empty TRANS lines.
26652 * sysdeps/gnu/errlist.c: Regenerated.
26653
60d2f8f3
JM
26654 * catgets/gencat.c (error_print): Use (void) in function
26655 definition.
26656 * crypt/crypt_util.c (__init_des): Likewise.
26657 * crypt/speeds.c (Stop): Likewise.
26658 (main): Likewise.
26659 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26660 * inet/ruserpass.c (token): Likewise.
26661 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26662 * intl/localealias.c (extend_alias_table): Likewise.
26663 * intl/plural-exp.c (init_germanic_plural): Likewise.
26664 * libio/fcloseall.c (__fcloseall): Likewise.
26665 * libio/genops.c (_IO_flush_all): Likewise.
26666 (_IO_flush_all_linebuffered): Likewise.
26667 (_IO_cleanup): Likewise.
26668 (_IO_iter_begin): Likewise.
26669 (_IO_iter_end): Likewise.
26670 (_IO_list_lock): Likewise.
26671 (_IO_list_unlock): Likewise.
26672 (_IO_list_resetlock): Likewise.
26673 * libio/getchar.c (getchar): Likewise.
26674 * libio/getchar_u.c (getchar_unlocked): Likewise.
26675 * libio/getwchar.c (getwchar): Likewise.
26676 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26677 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26678 * login/getpt.c (__getpt): Likewise.
26679 * login/tst-utmp.c (main): Likewise.
26680 * malloc/hooks.c (__malloc_check_init): Likewise.
26681 * malloc/malloc.c (__malloc_stats): Likewise.
26682 * malloc/mtrace.c (tr_break): Likewise.
26683 (mtrace): Likewise.
26684 (muntrace): Likewise.
26685 * misc/fstab.c (endfsent): Likewise.
26686 * misc/getclktck.c (__getclktck): Likewise.
26687 * misc/getdtsz.c (__getdtablesize): Likewise.
26688 * misc/gethostid.c (gethostid): Likewise.
26689 * misc/getpagesize.c (__getpagesize): Likewise.
26690 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26691 (__get_nprocs): Likewise.
26692 (__get_phys_pages): Likewise.
26693 (__get_avphys_pages): Likewise.
26694 * misc/getttyent.c (getttyent): Likewise.
26695 (setttyent): Likewise.
26696 (endttyent): Likewise.
26697 * misc/getusershell.c (getusershell): Likewise.
26698 (endusershell): Likewise.
26699 (setusershell): Likewise.
26700 (initshells): Likewise.
26701 * misc/hsearch.c (__hdestroy): Likewise.
26702 * misc/sync.c (sync): Likewise.
26703 * misc/syslog.c (closelog_internal): Likewise.
26704 (closelog): Likewise.
26705 * misc/ttyslot.c (ttyslot): Likewise.
26706 * misc/vhangup.c (vhangup): Likewise.
26707 * posix/fork.c (__fork): Likewise.
26708 * posix/getegid.c (__getegid): Likewise.
26709 * posix/geteuid.c (__geteuid): Likewise.
26710 * posix/getgid.c (__getgid): Likewise.
26711 * posix/getpid.c (__getpid): Likewise.
26712 * posix/getppid.c (__getppid): Likewise.
26713 * posix/getuid.c (__getuid): Likewise.
26714 * posix/pause.c (pause): Likewise.
26715 * posix/setpgrp.c (setpgrp): Likewise.
26716 * posix/setsid.c (__setsid): Likewise.
26717 * posix/test-vfork.c (noop): Likewise.
26718 * resolv/gethnamaddr.c (_endhtent): Likewise.
26719 (_gethtent): Likewise.
26720 (ht_endhostent): Likewise.
26721 (gethostent): Likewise.
26722 (dns_service): Likewise.
26723 * stdlib/drand48.c (drand48): Likewise.
26724 * stdlib/lrand48.c (lrand48): Likewise.
26725 * stdlib/mrand48.c (mrand48): Likewise.
26726 * stdlib/rand.c (rand): Likewise.
26727 * stdlib/random.c (__random): Likewise.
26728 * stdlib/setenv.c (clearenv): Likewise.
26729 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26730 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26731 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26732 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26733 (__get_nprocs): Likewise.
26734 (__get_phys_pages): Likewise.
26735 (__get_avphys_pages): Likewise.
26736 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26737 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26738 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26739 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26740 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26741 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26742 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26743 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26744 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26745 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26746 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26747 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26748 * sysdeps/posix/clock.c (clock): Likewise.
26749 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26750 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26751 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26752 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26753 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26755 (__get_nprocs_conf): Likewise.
26756 (__get_phys_pages): Likewise.
26757 (__get_avphys_pages): Likewise.
26758 * time/clock.c (clock): Likewise.
26759 * time/tzset.c (__tzname_max): Likewise.
26760
2e09a79a
JM
267612013-06-07 Joseph Myers <joseph@codesourcery.com>
26762
26763 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26764 (__bswap_32): Do not use "register".
26765 * crypt/crypt.c (_ufc_doit_r): Likewise.
26766 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26767 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26768 * gmon/gmon.c (__monstartup): Likewise.
26769 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26770 * hurd/hurdmalloc.c (more_memory): Likewise.
26771 (malloc): Likewise.
26772 (free): Likewise.
26773 (realloc): Likewise.
26774 (malloc_fork_prepare): Likewise.
26775 (malloc_fork_parent): Likewise.
26776 (malloc_fork_child): Likewise.
26777 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26778 (_svcauth_des): Likewise.
26779 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26780 * inet/inet_net.c (inet_network): Likewise.
26781 * inet/inet_netof.c (inet_netof): Likewise.
26782 * inet/rcmd.c (__validuser2_sa): Likewise.
26783 * io/fts.c (fts_open): Likewise.
26784 (fts_load): Likewise.
26785 (fts_close): Likewise.
26786 (fts_read): Likewise.
26787 (fts_children): Likewise.
26788 (fts_build): Likewise.
26789 (fts_stat): Likewise.
26790 (fts_sort): Likewise.
26791 (fts_alloc): Likewise.
26792 (fts_lfree): Likewise.
26793 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26794 (_IO_file_xsgetn): Likewise.
26795 (_IO_file_xsgetn_mmap): Likewise.
26796 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26797 (_IO_cookie_write): Likewise.
26798 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26799 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26800 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26801 * malloc/obstack.c (_obstack_begin): Likewise.
26802 (_obstack_begin_1): Likewise.
26803 (_obstack_newchunk): Likewise.
26804 (_obstack_allocated_p): Likewise.
26805 (obstack_free): Likewise.
26806 (_obstack_memory_used): Likewise.
26807 * misc/getttyent.c (getttynam): Likewise.
26808 (getttyent): Likewise.
26809 (skip): Likewise.
26810 (value): Likewise.
26811 * misc/getusershell.c (initshells): Likewise.
26812 * misc/syslog.c (__vsyslog_chk): Likewise.
26813 * misc/ttyslot.c (ttyslot): Likewise.
26814 * nis/nis_hash.c (__nis_hash): Likewise.
26815 * posix/fnmatch_loop.c (FCT): Likewise.
26816 * posix/getconf.c (print_all): Likewise.
26817 (main): Likewise.
26818 * posix/getopt.c (exchange): Likewise.
26819 * posix/glob.c (globfree): Likewise.
26820 (prefix_array): Likewise.
26821 (__glob_pattern_type): Likewise.
26822 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26823 (NS_GET32): Likewise.
26824 (NS_PUT16): Likewise.
26825 (NS_PUT32): Likewise.
26826 * resolv/gethnamaddr.c (getanswer): Likewise.
26827 (gethostbyname2): Likewise.
26828 (gethostbyaddr): Likewise.
26829 (_gethtent): Likewise.
26830 (_gethtbyname2): Likewise.
26831 (_gethtbyaddr): Likewise.
26832 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26833 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26834 * resolv/res_init.c (__res_vinit): Likewise.
26835 (net_mask): Likewise.
26836 * resolv/res_mkquery.c (outchar): Likewise.
26837 (PRINT): Likewise.
26838 * stdio-common/printf_fp.c (outchar): Likewise.
26839 (PRINT): Likewise.
26840 * stdio-common/printf_fphex.c (outchar): Likewise.
26841 (PRINT): Likewise.
26842 * stdio-common/printf_size.c (outchar): Likewise.
26843 (PRINT): Likewise.
26844 * stdio-common/test_rdwr.c (main): Likewise.
26845 * stdio-common/tfformat.c (matches): Likewise.
26846 * stdio-common/vfprintf.c (outchar): Likewise.
26847 (printf_unknown): Likewise.
26848 (buffered_vfprintf): Likewise.
26849 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26850 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26851 (ReadFile): Likewise.
26852 * stdlib/qsort.c (SWAP): Likewise.
26853 (_quicksort): Likewise.
26854 * stdlib/setenv.c (__add_to_environ): Likewise.
26855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26856 * stdlib/strtol_l.c (__strtol_l): Likewise.
26857 * stdlib/tst-strtod.c (main): Likewise.
26858 * stdlib/tst-strtol.c (main): Likewise.
26859 * stdlib/tst-strtoll.c (main): Likewise.
26860 * string/bits/string2.h (__strcmp_cc): Likewise.
26861 (__strcmp_cg): Likewise.
26862 (__strcspn_c1): Likewise.
26863 (__strcspn_c2): Likewise.
26864 (__strcspn_c3): Likewise.
26865 (__strspn_c1): Likewise.
26866 (__strspn_c2): Likewise.
26867 (__strspn_c3): Likewise.
26868 (__strsep_1c): Likewise.
26869 (__strsep_2c): Likewise.
26870 (__strsep_3c): Likewise.
26871 * string/memccpy.c (__memccpy): Likewise.
26872 * string/stpcpy.c (__stpcpy): Likewise.
26873 * string/strcmp.c (strcmp): Likewise.
26874 * string/strrchr.c (strrchr): Likewise.
26875 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26876 Likewise.
26877 * sysdeps/mach/hurd/getcwd.c
26878 (_hurd_canonicalize_directory_name_internal): Likewise.
26879 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26880 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26881 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26882 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26883 Likewise, in both definitions.
26884 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26885 definitions.
26886 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26887 64] (__bswap_64): Likewise.
26888 * time/test_time.c (main): Likewise.
26889 * time/tzfile.c (__tzfile_read): Likewise.
26890 (__tzfile_compute): Likewise.
26891 * time/tzset.c (__tzset_parse_tz): Likewise.
26892 (tzset_internal): Likewise.
26893 (compute_change): Likewise.
26894 * wcsmbs/wcscat.c (__wcscat): Likewise.
26895 * wcsmbs/wcschr.c (wcschr): Likewise.
26896 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26897 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26898 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26899 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26900 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26901 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26902 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26903 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26904 * wcsmbs/wmemset.c (wmemset): Likewise.
26905
9e54314b
JM
269062013-06-06 Joseph Myers <joseph@codesourcery.com>
26907
26908 * scripts/config.guess: Update to version 2013-05-16.
26909 * scripts/config.sub: Update to version 2013-04-24.
26910 * scripts/install-sh: Update to version 2011-11-20.07.
26911 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26912 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26913
350635a5
OB
269142013-06-06 Ondřej Bílka <neleai@seznam.cz>
26915
26916 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26917 * elf/sln.c: Likewise.
26918 * hurd/hurd/ioctl.h: Likewise.
26919 * hurd/hurdmalloc.c: Likewise.
26920 * hurd/xattr.c: Likewise.
26921 * include/shlib-compat.h: Likewise.
26922 * inet/ruserpass.c: Likewise.
26923 * libio/iofgets_u.c: Likewise.
26924 * libio/iofgetws_u.c: Likewise.
26925 * locale/programs/ld-identification.c: Likewise.
26926 * locale/programs/ld-time.c: Likewise.
26927 * mach/msg-destroy.c: Likewise.
26928 * nss/nss_files/files-netgrp.c: Likewise.
26929 * resolv/res_data.c: Likewise.
26930 * soft-fp/op-1.h: Likewise.
26931 * soft-fp/op-2.h: Likewise.
26932 * soft-fp/op-4.h: Likewise.
26933 * soft-fp/op-common.h: Likewise.
26934 * stdio-common/printf_fphex.c: Likewise.
26935 * stdlib/strtod_l.c: Likewise.
26936 * sunrpc/rpc/clnt.h: Likewise.
26937 * sysdeps/generic/framestate.c: Likewise.
26938 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26939 * sysdeps/i386/bsd-setjmp.S: Likewise.
26940 * sysdeps/i386/__longjmp.S: Likewise.
26941 * sysdeps/i386/setjmp.S: Likewise.
26942 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26945 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26960 * sysdeps/ieee754/support.c: Likewise.
26961 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26962 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26963 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26964 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26965 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26966 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26967 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26968 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26969 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26970 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26971 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26972 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26973 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26974 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26975 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26976 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26977 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26979
44a988af
OB
269802013-06-05 Ondřej Bílka <neleai@seznam.cz>
26981
25506f09 26982 * posix/transbug.c: Remove executable mode.
44a988af 26983
9c84384c
JM
269842013-06-05 Joseph Myers <joseph@codesourcery.com>
26985
26986 * crypt/speeds.c: Remove trailing whitespace.
26987 * dlfcn/default.c: Likewise.
26988 * elf/ifuncdep2.c: Likewise.
26989 * elf/ifuncmain1.c: Likewise.
26990 * elf/ifuncmain1vis.c: Likewise.
26991 * elf/testobj.h: Likewise.
26992 * elf/tst-stackguard1.c: Likewise.
26993 * gmon/sys/gmon.h: Likewise.
26994 * hurd/hurdmsg.c: Likewise.
26995 * hurd/new-fd.c: Likewise.
26996 * hurd/ports-get.c: Likewise.
26997 * iconvdata/ibm1008_420.c: Likewise.
26998 * inet/tst-getni1.c: Likewise.
26999 * inet/tst-getni2.c: Likewise.
27000 * libio/ioungetc.c: Likewise.
27001 * libio/wfiledoalloc.c: Likewise.
27002 * manual/libm-err-tab.pl: Likewise.
27003 * math/w_dremf.c: Likewise.
27004 * misc/ftruncate.c: Likewise.
27005 * posix/bug-glob2.c: Likewise.
27006 * posix/tst-pcre.c: Likewise.
27007 * posix/wait4.c: Likewise.
27008 * resolv/README: Likewise.
27009 * resolv/res_debug.h: Likewise.
27010 * resolv/tst-inet_ntop.c: Likewise.
27011 * setjmp/bug269-setjmp.c: Likewise.
27012 * soft-fp/extended.h: Likewise.
27013 * soft-fp/op-1.h: Likewise.
27014 * soft-fp/op-2.h: Likewise.
27015 * soft-fp/op-4.h: Likewise.
27016 * soft-fp/op-8.h: Likewise.
27017 * soft-fp/testit.c: Likewise.
27018 * stdio-common/bug16.c: Likewise.
27019 * stdlib/random.c: Likewise.
27020 * sunrpc/rpcsvc/rquota.x: Likewise.
27021 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27022 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27024 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27025 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27026 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27027 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27028 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27029 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27030 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27031 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27032 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27037 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27039 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27048 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27050 * sysdeps/ieee754/s_lib_version.c: Likewise.
27051 * sysdeps/mach/hurd/check_fds.c: Likewise.
27052 * sysdeps/mach/hurd/getsockname.c: Likewise.
27053 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27054 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27055 * sysdeps/powerpc/bits/link.h: Likewise.
27056 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27057 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27058 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27059 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27060 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27061 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27062 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27063 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27064 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27065 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27066 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27067 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27068 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27069 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27070 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27071 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27072 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27075 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27076 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27077 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27079 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27080 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27082 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27083 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27084 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27085 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27086 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27087 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27088 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27089 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27090 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27091 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27092 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27093 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27094 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27095 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27096 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27097 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27098 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27099 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27100 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27101 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27102 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27103 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27104 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27105 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27107 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27108 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27109 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27110 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27111 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27112 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27114 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27115 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27116 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27117 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27118 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27119 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27120 * sysdeps/powerpc/sysdep.h: Likewise.
27121 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27122 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27123 * sysdeps/sh/dl-trampoline.S: Likewise.
27124 * sysdeps/sh/memset.S: Likewise.
27125 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27126 * sysdeps/sh/strlen.S: Likewise.
27127 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27128 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27129 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27130 * sysdeps/sparc/sparc32/rem.S: Likewise.
27131 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27132 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27133 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27134 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27135 * sysdeps/sparc/sparc32/urem.S: Likewise.
27136 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27137 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27138 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27139 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27140 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27141 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27142 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27143 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27144 * sysdeps/unix/bsd/times.c: Likewise.
27145 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27146 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27150 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27151 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27152 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27153 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27154 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27155 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27156 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27157 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27158 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27159 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27160 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27162 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27163 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27164 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27165 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27166 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27167 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27168 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27169 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27170 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27171 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27173 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27174 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27175 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27176 * sysdeps/x86_64/strcspn.S: Likewise.
27177
869378a5
RA
271782013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27179
27180 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27181 generated file. Regenerate properly from gen-translit.pl.
27182 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27183 locale/C-translit.h.
27184
840e2943
AS
271852013-06-05 Andreas Schwab <schwab@suse.de>
27186
27187 [BZ #15100]
27188 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27189 week as 6 instead of -1.
27190 * time/tst-strptime.c (day_tests): Add test case.
27191
4c60cb0c
SP
271922013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27193
27194 * sysdeps/generic/math_private.h
27195 (libc_feholdexcept_setround_53bit): Replace with
27196 libc_feholdsetround_53bit.
27197 (libc_feupdateenv_53bit): Replace with
27198 libc_feresetround_53bit.
27199 (SET_RESTORE_ROUND_53BIT): Adjust.
27200
d180203e
SP
272012013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27202
96df079a
SP
27203 * string/test-strchrnul.c: Add copyright header.
27204
d180203e
SP
27205 * posix/tst-getaddrinfo4.c: Increase test timeout.
27206
8b0ccb2d
CD
272072013-06-03 Carlos O'Donell <carlos@redhat.com>
27208
27209 [BZ #15536]
27210 * math/libm-test.inc (MAX_EXP): Remove
27211 (MIN_EXP): Define.
27212 (ulp): Use MIN_EXP - MANT_DIG.
27213 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27214
3b3c4d40
CD
272152013-05-31 Carlos O'Donell <carlos@redhat.com>
27216
27217 * po/be.po: Revert last change.
27218 * po/zh_CN.po: Likewise.
27219 * po/header.pot: Likewise.
27220
fab7ce3f
JM
272212013-05-31 Joseph Myers <joseph@codesourcery.com>
27222
27223 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27224 link-libc-deps to empty as target-specific variable.
27225 * Makerules (link-libc-args): New variable.
27226 (libc-for-link): Likewise.
27227 (link-libc-deps): Likewise.
27228 (lib%.so): Depend on $(link-libc-deps). Link with
27229 $(link-libc-args).
27230 (build-module): Link with $(link-libc-args).
27231 (build-module-asneeded): Likewise.
27232 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27233 list of objects.
27234 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27235 target-specific variable.
27236 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27237 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27238 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27239 libc.
27240 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27241 libc and ld.so.
27242 ($(objpfx)libpcprofile.so): Likewise.
27243 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27244 libc_nonshared.a.
27245 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27246 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27247 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27248 $(link-libc-deps).
27249 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27250 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27251 * login/Makefile ($(objpfx)libutil.so): Likewise.
27252 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27253 * math/Makefile ($(objpfx)libm.so): Likewise.
27254 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27255 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27256 variable instead of depending directly on libc.
27257 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27258 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27259 $(link-libc-deps).
27260 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27261 libc.
27262 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27263 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27264 ($(objpfx)libanl.so): Likewise.
27265 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27266 ld.so.
27267 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27268 $(link-libc-deps).
27269 * sysdeps/i386/fpu/Makefile: Remove file.
27270 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27271 ($(objpfx)libm.so): Remove dependency on ld.so.
27272
eca5920c
PF
272732013-05-30 Patsy Franklin <pfrankli@redhat.com>
27274
27275 [BZ # 15553]
27276 * nis/yp_xdr.c (XDRMAXNAME): Define.
27277 (XDRMAXRECORD): Define.
27278 (xdr_domainname): Use XDRMAXNAME.
27279 (xdr_mapname): Likewise.
27280 (xdr_peername): Likewise.
27281 (xdr_keydat): Use XDRMAXRECORD.
27282 (xdr_valdat): Likewise.
27283
272842013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27285
27286 [BZ #14256]
27287 * manual/errno.texi (ESTALE): Update to account for more than
27288 just NFS file systems.
27289 * sysdeps/gnu/errlist.c: Regenerated.
27290
b9375348
SP
272912013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27292
27293 [BZ #15465]
27294 * elf/Makefile (tests): Add tst-null-argv.
27295 (modules-names): Add tst-null-argv-lib.
27296 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27297 (tst-null-argv-ENV): Set environment for tst-null-argv.
27298 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27299 (RTLD_PROGNAME): New macro.
27300 * elf/tst-null-argv.c: New test case.
27301 * elf/tst-null-argv-lib.c: Library for test case.
27302 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27303 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27304 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27305 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27306 * elf/dl-init.c (call_init): Likewise.
27307 (_dl_init): Likewise.
27308 * elf/dl-load.c (print_search_path): Likewise.
27309 (_dl_map_object): Likewise.
27310 * elf/dl-lookup.c (do_lookup_x): Likewise.
27311 (add_dependency): Likewise.
27312 (_dl_lookup_symbol_x): Likewise.
27313 (_dl_debug_bindings): Likewise.
27314 * elf/dl-open.c (_dl_show_scope): Likewise.
27315 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27316 * elf/dl-version.c (match_symbol): Likewise.
27317 (_dl_check_map_versions): Likewise.
27318 * elf/rtld.c (dl_main): Likewise.
27319 (print_unresolved): Use RTLD_PROGNAME.
27320 (print_missing_version): Likewise.
27321 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27322 (elf_machine_rela): Likewise.
27323 * sysdeps/powerpc/powerpc32/dl-machine.c
27324 (__process_machine_rela): Likewise.
27325 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27326 Likewise.
27327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27328 Likewise.
27329 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27330 Likewise.
27331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27333 Likewise.
27334 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27335 Likewise.
27336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27337
8a9f20c8
CD
273382013-05-28 Carlos O'Donell <carlos@redhat.com>
27339
27340 * po/be.po: Add descriptive title.
27341 * po/zh_CN.po: Likewise.
27342 * po/header.pot: Likewise.
27343
0e60d68e
MF
273442013-05-28 Mike Frysinger <vapier@gentoo.org>
27345
27346 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27347 error message.
27348 (enlarge_archive): Likewise.
27349
56b672e9
BN
273502013-05-28 Ben North <ben@redfrontdoor.org>
27351
27352 * manual/arith.texi (frexp): It is the magnitude of the return
27353 value which lies in [0.5, 1), not the return value itself.
27354
5e056687
AZ
273552013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27356
27357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27358
2b66ef5d
TS
273592013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27360
528c2405
TS
27361 * stdio-common/bug26.c (main): Correct fscanf template.
27362
07b4c13d
TS
27363 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27364 declare _dl_skip_args.
27365
ec9dd97c
TS
27366 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27367 Don't declare.
27368
2b66ef5d
TS
27369 * manual/platform.texi: Add missing @end deftypefun.
27370
4f8dfe27
JM
273712013-05-24 Joseph Myers <joseph@codesourcery.com>
27372
0323d086
JM
27373 [BZ #15529]
27374 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27375 bit of mantissa of 2^16382.
27376 * math/libm-test.inc (hypot_test_data): Add more tests.
27377
dd4259b9
JM
27378 * math/libm-test.inc: Add drem and pow10 to list of tested
27379 functions.
27380 (pow10_test): New function.
27381 (drem_test): Likewise.
27382 (drem_test_tonearest): Likewise.
27383 (drem_test_towardzero): Likewise.
27384 (drem_test_downward): Likewise.
27385 (drem_test_upward): Likewise.
27386 (main): Call the new functions.
27387
4f8dfe27
JM
27388 * math/libm-test.inc (finite_test_data): Remove.
27389 (finite_test): Run tests from isfinite_test_data.
27390 (gamma_test_data): Remove.
27391 (gamma_test): Run tests from lgamma_test_data.
27392 * sysdeps/i386/fpu/libm-test-ulps: Update.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27394
d116b7c4
AZ
273952013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27396
27397 * manual/platform.texi: Add PowerPC PPR function set documentation.
27398 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27399 implementation.
27400
e96e3767
CD
274012013-05-24 Carlos O'Donell <carlos@redhat.com>
27402
27403 * math/libm-test.inc (MAX_EXP): Define.
27404 (ULPDIFF): Define.
27405 (ulp): New function.
27406 (check_float_internal): Use ULPDIFF.
27407 (cpow_test): Disable failing test.
27408 (check_ulp): Test ulp() implemetnation.
27409 (main): Call check_ulp before starting tests.
27410
b679a606
JM
274112013-05-24 Joseph Myers <joseph@codesourcery.com>
27412
e8bdba36
JM
27413 * math/gen-libm-test.pl (generate_testfile): Do not handle
27414 START_DATA and END_DATA.
27415 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27416 END_DATA.
27417 (acos_tonearest_test_data): Likewise.
27418 (acos_towardzero_test_data): Likewise.
27419 (acos_downward_test_data): Likewise.
27420 (acos_upward_test_data): Likewise.
27421 (acosh_test_data): Likewise.
27422 (asin_test_data): Likewise.
27423 (asin_tonearest_test_data): Likewise.
27424 (asin_towardzero_test_data): Likewise.
27425 (asin_downward_test_data): Likewise.
27426 (asin_upward_test_data): Likewise.
27427 (asinh_test_data): Likewise.
27428 (atan_test_data): Likewise.
27429 (atanh_test_data): Likewise.
27430 (atan2_test_data): Likewise.
27431 (cabs_test_data): Likewise.
27432 (cacos_test_data): Likewise.
27433 (cacosh_test_data): Likewise.
27434 (carg_test_data): Likewise.
27435 (casin_test_data): Likewise.
27436 (casinh_test_data): Likewise.
27437 (catan_test_data): Likewise.
27438 (catanh_test_data): Likewise.
27439 (cbrt_test_data): Likewise.
27440 (ccos_test_data): Likewise.
27441 (ccosh_test_data): Likewise.
27442 (ceil_test_data): Likewise.
27443 (cexp_test_data): Likewise.
27444 (cimag_test_data): Likewise.
27445 (clog_test_data): Likewise.
27446 (clog10_test_data): Likewise.
27447 (conj_test_data): Likewise.
27448 (copysign_test_data): Likewise.
27449 (cos_test_data): Likewise.
27450 (cos_tonearest_test_data): Likewise.
27451 (cos_towardzero_test_data): Likewise.
27452 (cos_downward_test_data): Likewise.
27453 (cos_upward_test_data): Likewise.
27454 (cosh_test_data): Likewise.
27455 (cosh_tonearest_test_data): Likewise.
27456 (cosh_towardzero_test_data): Likewise.
27457 (cosh_downward_test_data): Likewise.
27458 (cosh_upward_test_data): Likewise.
27459 (cpow_test_data): Likewise.
27460 (cproj_test_data): Likewise.
27461 (creal_test_data): Likewise.
27462 (csin_test_data): Likewise.
27463 (csinh_test_data): Likewise.
27464 (csqrt_test_data): Likewise.
27465 (ctan_test_data): Likewise.
27466 (ctan_tonearest_test_data): Likewise.
27467 (ctan_towardzero_test_data): Likewise.
27468 (ctan_downward_test_data): Likewise.
27469 (ctan_upward_test_data): Likewise.
27470 (ctanh_test_data): Likewise.
27471 (ctanh_tonearest_test_data): Likewise.
27472 (ctanh_towardzero_test_data): Likewise.
27473 (ctanh_downward_test_data): Likewise.
27474 (ctanh_upward_test_data): Likewise.
27475 (erf_test_data): Likewise.
27476 (erfc_test_data): Likewise.
27477 (exp_test_data): Likewise.
27478 (exp_tonearest_test_data): Likewise.
27479 (exp_towardzero_test_data): Likewise.
27480 (exp_downward_test_data): Likewise.
27481 (exp_upward_test_data): Likewise.
27482 (exp10_test_data): Likewise.
27483 (exp2_test_data): Likewise.
27484 (expm1_test_data): Likewise.
27485 (fabs_test_data): Likewise.
27486 (fdim_test_data): Likewise.
27487 (finite_test_data): Likewise.
27488 (floor_test_data): Likewise.
27489 (fma_test_data): Likewise.
27490 (fma_towardzero_test_data): Likewise.
27491 (fma_downward_test_data): Likewise.
27492 (fma_upward_test_data): Likewise.
27493 (fmax_test_data): Likewise.
27494 (fmin_test_data): Likewise.
27495 (fmod_test_data): Likewise.
27496 (fpclassify_test_data): Likewise.
27497 (frexp_test_data): Likewise.
27498 (gamma_test_data): Likewise.
27499 (hypot_test_data): Likewise.
27500 (ilogb_test_data): Likewise.
27501 (isfinite_test_data): Likewise.
27502 (isgreater_test_data): Likewise.
27503 (isgreaterequal_test_data): Likewise.
27504 (isinf_test_data): Likewise.
27505 (isless_test_data): Likewise.
27506 (islessequal_test_data): Likewise.
27507 (islessgreater_test_data): Likewise.
27508 (isnan_test_data): Likewise.
27509 (isnormal_test_data): Likewise.
27510 (issignaling_test_data): Likewise.
27511 (isunordered_test_data): Likewise.
27512 (j0_test_data): Likewise.
27513 (j1_test_data): Likewise.
27514 (jn_test_data): Likewise.
27515 (ldexp_test_data): Likewise.
27516 (lgamma_test_data): Likewise.
27517 (lrint_test_data): Likewise.
27518 (lrint_tonearest_test_data): Likewise.
27519 (lrint_towardzero_test_data): Likewise.
27520 (lrint_downward_test_data): Likewise.
27521 (lrint_upward_test_data): Likewise.
27522 (llrint_test_data): Likewise.
27523 (llrint_tonearest_test_data): Likewise.
27524 (llrint_towardzero_test_data): Likewise.
27525 (llrint_downward_test_data): Likewise.
27526 (llrint_upward_test_data): Likewise.
27527 (log_test_data): Likewise.
27528 (log10_test_data): Likewise.
27529 (log1p_test_data): Likewise.
27530 (log2_test_data): Likewise.
27531 (logb_test_data): Likewise.
27532 (logb_downward_test_data): Likewise.
27533 (lround_test_data): Likewise.
27534 (llround_test_data): Likewise.
27535 (modf_test_data): Likewise.
27536 (nearbyint_test_data): Likewise.
27537 (nextafter_test_data): Likewise.
27538 (nexttoward_test_data): Likewise.
27539 (pow_test_data): Likewise.
27540 (pow_tonearest_test_data): Likewise.
27541 (pow_towardzero_test_data): Likewise.
27542 (pow_downward_test_data): Likewise.
27543 (pow_upward_test_data): Likewise.
27544 (remainder_test_data): Likewise.
27545 (remainder_tonearest_test_data): Likewise.
27546 (remainder_towardzero_test_data): Likewise.
27547 (remainder_downward_test_data): Likewise.
27548 (remainder_upward_test_data): Likewise.
27549 (remquo_test_data): Likewise.
27550 (rint_test_data): Likewise.
27551 (rint_tonearest_test_data): Likewise.
27552 (rint_towardzero_test_data): Likewise.
27553 (rint_downward_test_data): Likewise.
27554 (rint_upward_test_data): Likewise.
27555 (round_test_data): Likewise.
27556 (scalb_test_data): Likewise.
27557 (scalbn_test_data): Likewise.
27558 (scalbln_test_data): Likewise.
27559 (signbit_test_data): Likewise.
27560 (sin_test_data): Likewise.
27561 (sin_tonearest_test_data): Likewise.
27562 (sin_towardzero_test_data): Likewise.
27563 (sin_downward_test_data): Likewise.
27564 (sin_upward_test_data): Likewise.
27565 (sincos_test_data): Likewise.
27566 (sinh_test_data): Likewise.
27567 (sinh_tonearest_test_data): Likewise.
27568 (sinh_towardzero_test_data): Likewise.
27569 (sinh_downward_test_data): Likewise.
27570 (sinh_upward_test_data): Likewise.
27571 (sqrt_test_data): Likewise.
27572 (tan_test_data): Likewise.
27573 (tan_tonearest_test_data): Likewise.
27574 (tan_towardzero_test_data): Likewise.
27575 (tan_downward_test_data): Likewise.
27576 (tan_upward_test_data): Likewise.
27577 (tanh_test_data): Likewise.
27578 (tgamma_test_data): Likewise.
27579 (trunc_test_data): Likewise.
27580 (y0_test_data): Likewise.
27581 (y1_test_data): Likewise.
27582 (yn_test_data): Likewise.
27583 (significand_test_data): Likewise.
27584
b679a606
JM
27585 * math/gen-libm-test.pl (@functions): Remove variable.
27586 (generate_testfile): Don't handle START and END lines.
27587 * math/libm-test.inc (START): New macro.
27588 (END): Likewise.
27589 (END_COMPLEX): Likewise.
27590 (acos_test): Use END macro without arguments.
27591 (acos_test_tonearest): Likewise.
27592 (acos_test_towardzero): Likewise.
27593 (acos_test_downward): Likewise.
27594 (acos_test_upward): Likewise.
27595 (acosh_test): Likewise.
27596 (asin_test): Likewise.
27597 (asin_test_tonearest): Likewise.
27598 (asin_test_towardzero): Likewise.
27599 (asin_test_downward): Likewise.
27600 (asin_test_upward): Likewise.
27601 (asinh_test): Likewise.
27602 (atan_test): Likewise.
27603 (atanh_test): Likewise.
27604 (atan2_test): Likewise.
27605 (cabs_test): Likewise.
27606 (cacos_test): Use END_COMPLEX macro without arguments.
27607 (cacosh_test): Likewise.
27608 (carg_test): Use END macro without arguments.
27609 (casin_test): Use END_COMPLEX macro without arguments.
27610 (casinh_test): Likewise.
27611 (catan_test): Likewise.
27612 (catanh_test): Likewise.
27613 (cbrt_test): Use END macro without arguments.
27614 (ccos_test): Use END_COMPLEX macro without arguments.
27615 (ccosh_test): Likewise.
27616 (ceil_test): Use END macro without arguments.
27617 (cexp_test): Use END_COMPLEX macro without arguments.
27618 (cimag_test): Use END macro without arguments.
27619 (clog_test): Use END_COMPLEX macro without arguments.
27620 (clog10_test): Likewise.
27621 (conj_test): Likewise.
27622 (copysign_test): Use END macro without arguments.
27623 (cos_test): Likewise.
27624 (cos_test_tonearest): Likewise.
27625 (cos_test_towardzero): Likewise.
27626 (cos_test_downward): Likewise.
27627 (cos_test_upward): Likewise.
27628 (cosh_test): Likewise.
27629 (cosh_test_tonearest): Likewise.
27630 (cosh_test_towardzero): Likewise.
27631 (cosh_test_downward): Likewise.
27632 (cosh_test_upward): Likewise.
27633 (cpow_test): Use END_COMPLEX macro without arguments.
27634 (cproj_test): Likewise.
27635 (creal_test): Use END macro without arguments.
27636 (csin_test): Use END_COMPLEX macro without arguments.
27637 (csinh_test): Likewise.
27638 (csqrt_test): Likewise.
27639 (ctan_test): Likewise.
27640 (ctan_test_tonearest): Likewise.
27641 (ctan_test_towardzero): Likewise.
27642 (ctan_test_downward): Likewise.
27643 (ctan_test_upward): Likewise.
27644 (ctanh_test): Likewise.
27645 (ctanh_test_tonearest): Likewise.
27646 (ctanh_test_towardzero): Likewise.
27647 (ctanh_test_downward): Likewise.
27648 (ctanh_test_upward): Likewise.
27649 (erf_test): Use END macro without arguments.
27650 (erfc_test): Likewise.
27651 (exp_test): Likewise.
27652 (exp_test_tonearest): Likewise.
27653 (exp_test_towardzero): Likewise.
27654 (exp_test_downward): Likewise.
27655 (exp_test_upward): Likewise.
27656 (exp10_test): Likewise.
27657 (exp2_test): Likewise.
27658 (expm1_test): Likewise.
27659 (fabs_test): Likewise.
27660 (fdim_test): Likewise.
27661 (finite_test): Likewise.
27662 (floor_test): Likewise.
27663 (fma_test): Likewise.
27664 (fma_test_towardzero): Likewise.
27665 (fma_test_downward): Likewise.
27666 (fma_test_upward): Likewise.
27667 (fmax_test): Likewise.
27668 (fmin_test): Likewise.
27669 (fmod_test): Likewise.
27670 (fpclassify_test): Likewise.
27671 (frexp_test): Likewise.
27672 (gamma_test): Likewise.
27673 (hypot_test): Likewise.
27674 (ilogb_test): Likewise.
27675 (isfinite_test): Likewise.
27676 (isgreater_test): Likewise.
27677 (isgreaterequal_test): Likewise.
27678 (isinf_test): Likewise.
27679 (isless_test): Likewise.
27680 (islessequal_test): Likewise.
27681 (islessgreater_test): Likewise.
27682 (isnan_test): Likewise.
27683 (isnormal_test): Likewise.
27684 (issignaling_test): Likewise.
27685 (isunordered_test): Likewise.
27686 (j0_test): Likewise.
27687 (j1_test): Likewise.
27688 (jn_test): Likewise.
27689 (ldexp_test): Likewise.
27690 (lgamma_test): Likewise.
27691 (lrint_test): Likewise.
27692 (lrint_test_tonearest): Likewise.
27693 (lrint_test_towardzero): Likewise.
27694 (lrint_test_downward): Likewise.
27695 (lrint_test_upward): Likewise.
27696 (llrint_test): Likewise.
27697 (llrint_test_tonearest): Likewise.
27698 (llrint_test_towardzero): Likewise.
27699 (llrint_test_downward): Likewise.
27700 (llrint_test_upward): Likewise.
27701 (log_test): Likewise.
27702 (log10_test): Likewise.
27703 (log1p_test): Likewise.
27704 (log2_test): Likewise.
27705 (logb_test): Likewise.
27706 (logb_test_downward): Likewise.
27707 (lround_test): Likewise.
27708 (llround_test): Likewise.
27709 (modf_test): Likewise.
27710 (nearbyint_test): Likewise.
27711 (nextafter_test): Likewise.
27712 (nexttoward_test): Likewise.
27713 (pow_test): Likewise.
27714 (pow_test_tonearest): Likewise.
27715 (pow_test_towardzero): Likewise.
27716 (pow_test_downward): Likewise.
27717 (pow_test_upward): Likewise.
27718 (remainder_test): Likewise.
27719 (remainder_test_tonearest): Likewise.
27720 (remainder_test_towardzero): Likewise.
27721 (remainder_test_downward): Likewise.
27722 (remainder_test_upward): Likewise.
27723 (remquo_test): Likewise.
27724 (rint_test): Likewise.
27725 (rint_test_tonearest): Likewise.
27726 (rint_test_towardzero): Likewise.
27727 (rint_test_downward): Likewise.
27728 (rint_test_upward): Likewise.
27729 (round_test): Likewise.
27730 (scalb_test): Likewise.
27731 (scalbn_test): Likewise.
27732 (scalbln_test): Likewise.
27733 (signbit_test): Likewise.
27734 (sin_test): Likewise.
27735 (sin_test_tonearest): Likewise.
27736 (sin_test_towardzero): Likewise.
27737 (sin_test_downward): Likewise.
27738 (sin_test_upward): Likewise.
27739 (sincos_test): Likewise.
27740 (sinh_test): Likewise.
27741 (sinh_test_tonearest): Likewise.
27742 (sinh_test_towardzero): Likewise.
27743 (sinh_test_downward): Likewise.
27744 (sinh_test_upward): Likewise.
27745 (sqrt_test): Likewise.
27746 (tan_test): Likewise.
27747 (tan_test_tonearest): Likewise.
27748 (tan_test_towardzero): Likewise.
27749 (tan_test_downward): Likewise.
27750 (tan_test_upward): Likewise.
27751 (tanh_test): Likewise.
27752 (tgamma_test): Likewise.
27753 (trunc_test): Likewise.
27754 (y0_test): Likewise.
27755 (y1_test): Likewise.
27756 (yn_test): Likewise.
27757 (significand_test): Likewise.
27758
bae143d2
OB
277592013-05-24 Ondřej Bílka <neleai@seznam.cz>
27760
27761 [BZ #15381]
27762 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27763
9323d39b
EM
277642013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27765
d4ea44a0 27766 [BZ #14894]
9323d39b
EM
27767 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27768 __ppc_mdoio and __ppc_mdoom.
27769 * manual/platform.texi: Document new functions __ppc_yield,
27770 __ppc_mdoio and __ppc_mdoom.
27771
13e23af7
CD
277722013-05-22 Carlos O'Donell <carlos@redhat.com>
27773
27774 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27775 (main): Mention "tls" pseudo-hwcap is legacy.
27776 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27777
351fe550
JM
277782013-05-22 Joseph Myers <joseph@codesourcery.com>
27779
27780 * math/gen-libm-test.pl (parse_args): Output only string of
27781 arguments as text for test name, not full call or descriptions of
27782 tests for extra outputs.
27783 (generate_testfile): Do not pass function name to parse_args.
27784 Generate this_func variable from START.
27785 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27786 field to arg_str.
27787 (struct test_ff_f_data): Likewise.
27788 (test_ff_f_data_nexttoward): Likewise.
27789 (struct test_fi_f_data): Likewise.
27790 (struct test_fl_f_data): Likewise.
27791 (struct test_if_f_data): Likewise.
27792 (struct test_fff_f_data): Likewise.
27793 (struct test_c_f_data): Likewise.
27794 (struct test_f_f1_data): Likewise. Remove field extra_name.
27795 (struct test_fF_f1_data): Likewise.
27796 (struct test_ffI_f1_data): Likewise.
27797 (struct test_c_c_data): Rename test_name field to arg_str.
27798 (struct test_cc_c_data): Likewise.
27799 (struct test_f_i_data): Likewise.
27800 (struct test_ff_i_data): Likewise.
27801 (struct test_f_l_data): Likewise.
27802 (struct test_f_L_data): Likewise.
27803 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27804 and extra2_name.
27805 (COMMON_TEST_SETUP): New macro.
27806 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27807 (COMMON_TEST_CLEANUP): Likewise.
27808 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27809 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27810 macros.
27811 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27812 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27813 macros.
27814 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27815 (RUN_TEST_fff_f): Take argument string. Call new setup and
27816 cleanup macros.
27817 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27818 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27819 macros.
27820 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27821 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27822 macros.
27823 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27824 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27825 cleanup macros.
27826 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27827 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27828 cleanup macros.
27829 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27830 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27831 cleanup macros.
27832 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27833 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27834 macros.
27835 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27836 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27837 macros.
27838 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27839 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27840 macros.
27841 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27842 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27843 cleanup macros.
27844 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27845 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27846 cleanup macros.
27847 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27848 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27849 macros.
27850 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27851 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27852 cleanup macros.
27853 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27854 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27855 macros.
27856 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27857 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27858 macros.
27859 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27860 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27861 cleanup macros.
27862 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27863
85118d4d
EBM
278642013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27865
27866 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27867 to _sifields.sigfault.
27868 (si_addr_lsb): Define new macro.
27869 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27871 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27872
7a44c18f
CD
278732013-05-03 Carlos O'Donell <carlos at redhat.com>
27874
27875 [BZ #15441]
27876 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27877 returns -1.
27878 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27879 null return -1.
27880 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27881 loading the domain.
27882
b50a7181
JM
278832013-05-22 Joseph Myers <joseph@codesourcery.com>
27884
27885 * math/gen-libm-test.pl (parse_args): Do not include expected
27886 result in test name.
27887 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27888 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27889 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27893
051063c8
SP
278942013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27895
3ce9e010
SP
27896 * benchtests/Makefile: Sort function entries.
27897
051063c8
SP
27898 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27899 tanh, asinh, acosh, atanh.
27900 * benchtests/acos-inputs: New file.
27901 * benchtests/acosh-inputs: New file.
27902 * benchtests/asin-inputs: New file.
27903 * benchtests/asinh-inputs: New file.
27904 * benchtests/atanh-inputs: New file.
27905 * benchtests/cosh-inputs: New file.
27906 * benchtests/log-inputs: New file.
27907 * benchtests/sinh-inputs: New file.
27908 * benchtests/tanh-inputs: New file.
27909
47c22455
DL
279102013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27911
27912 [BZ #15339]
27913 * posix/tst-getaddrinfo4.c: New test.
27914 * posix/Makefile (tests): Add it.
27915
3d04f5db
SP
279162013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27917
27918 [BZ #15339]
27919 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27920 when no services were used.
27921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27922 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27923
d5dd6189
AS
279242013-05-21 Andreas Schwab <schwab@suse.de>
27925
27926 [BZ #15014]
27927 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27928 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27929 successful.
27930 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27931 redundant variable declarations and reallocation of buffer when
27932 parsing as IPv6 address. Always set NSS status when called from
27933 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27934 buffer too small. Correct computation of needed size.
27935 * nss/Makefile (tests): Add test-digits-dots.
27936 * nss/test-digits-dots.c: New test.
27937
fef94eab
SP
279382013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27939
27940 * benchtests/Makefile: Remove instructions for adding
27941 benchmark tests.
27942 * benchtests/README: New file to explain how to execute and
27943 enhance the benchmark tests.
27944
e39adf43
AS
279452013-05-21 Andreas Schwab <schwab@suse.de>
27946
27947 [BZ #15493]
27948 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27949 * setjmp/tst-sigsetjmp.c: New test.
27950
b2b671b6
OB
279512013-05-20 Ondřej Bílka <neleai@seznam.cz>
27952
27953 * sysdeps/x86_64/memset.S (memset): New implementation.
27954 (__bzero): Likewise.
27955 (__memset_tail): New function.
27956
2d48b41c
OB
279572013-05-20 Ondřej Bílka <neleai@seznam.cz>
27958
27959 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27960 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27961 __memcpy_sse2_unaligned ifunc selection.
27962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27963 Add memcpy-sse2-unaligned.S.
27964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27965 Add: __memcpy_sse2_unaligned.
27966
f16cc3eb
JM
279672013-05-19 Joseph Myers <joseph@codesourcery.com>
27968
3e694268
JM
27969 [BZ #15490]
27970 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27971 math_force_eval before restoring floating-point envrionment.
27972 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27974 Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27976 <math_private.h>.
27977 (__nearbyintl): Use math_force_eval before restoring
27978 floating-point environment.
27979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27980
db62a907
JM
27981 * math/gen-libm-test.pl (special_functions): Remove.
27982 (parse_args): Don't handle TEST_extra. Handle functions with no
27983 return value.
27984 * math/libm-test.inc (struct test_sincos_data): Replace with
27985 struct test_fFF_11_data.
27986 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27987 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27988 (sincos_test_data): Change element type to struct
27989 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27990 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27991 RUN_TEST_LOOP_sincos.
27992 * math/README.libm-test: Don't mention special handling of
27993 individual functions.
27994 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27995 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27996 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27997 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27998 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28000
f16cc3eb
JM
28001 * math/gen-libm-test.pl (get_variable): Remove function.
28002 (parse_args): Don't show pointer parameters to call in test
28003 names. Use "extra output N" in test names for extra outputs
28004 rather than naming variables.
28005
3779b5b6
JM
280062013-05-18 Joseph Myers <joseph@codesourcery.com>
28007
2ee094ff
JM
28008 [BZ #15488]
28009 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28010 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28011 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28012 double tests.
28013 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28014 disable.
28015 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28016 check_long_double.
28017
3779b5b6
JM
28018 * math/gen-libm-test.pl (@tests): Remove variable.
28019 ($count): Likewise.
28020 (new_test): Remove function.
28021 (show_exceptions): New function.
28022 (special_functions): Use show_exceptions instead of new_test.
28023 (parse_args): Likewise.
28024 (generate_testfile): Pass only function name in generated call to
28025 print_max_error or print_complex_max_error.
28026 (get_ulps): Do not handle complex tests specially.
28027 (output_test): Rename to ...
28028 (get_all_ulps_for_test): ... this. Return a string rather than
28029 printing to a file. Require ulps to be present.
28030 (output_ulps): Generate arrays rather than #defines.
28031 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28032 (struct ulp_data): New type.
28033 (BUILD_COMPLEX_ULP): Remove macro.
28034 (compare_ulp_data): New function.
28035 (find_ulps): Likewise.
28036 (find_test_ulps): Likewise.
28037 (find_function_ulps): Likewise.
28038 (find_complex_function_ulps): Likewise.
28039 (print_max_error): Determine allowed ulps using
28040 find_function_ulps.
28041 (print_complex_max_error): Determine allowed ulps using
28042 find_complex_function_ulps.
28043 (check_float_internal): Determine max ulps using find_test_ulps.
28044 (check_float): Do not take max_ulp parameter. Update call to
28045 check_float_internal.
28046 (check_complex): Likewise.
28047 (check_int): Do not take max_ulp parameter.
28048 (check_long): Likewise.
28049 (check_bool): Likewise.
28050 (check_longlong): Likewise.
28051 (struct test_f_f_data): Remove max_ulp field.
28052 (struct test_ff_f_data): Likewise.
28053 (struct test_ff_f_data_nexttoward): Likewise.
28054 (struct test_fi_f_data): Likewise.
28055 (struct test_fl_f_data): Likewise.
28056 (struct test_if_f_data): Likewise.
28057 (struct test_fff_f_data): Likewise.
28058 (struct test_c_f_data): Likewise.
28059 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28060 (struct test_fF_f1_data): Likewise.
28061 (struct test_ffI_f1_data): Likewise.
28062 (struct test_c_c_data): Remove max_ulp field.
28063 (struct test_cc_c_data): Likewise.
28064 (struct test_f_i_data): Likewise.
28065 (struct test_ff_i_data): Likewise.
28066 (struct test_f_l_data): Likewise.
28067 (struct test_f_L_data): Likewise.
28068 (struct test_sincos_data): Likewise.
28069 (RUN_TEST_f_f): Do not handle ulps.
28070 (RUN_TEST_LOOP_f_f): Likewise.
28071 (RUN_TEST_2_f): Likewise.
28072 (RUN_TEST_LOOP_2_f): Likewise.
28073 (RUN_TEST_fff_f): Likewise.
28074 (RUN_TEST_LOOP_fff_f): Likewise.
28075 (RUN_TEST_c_f): Likewise.
28076 (RUN_TEST_LOOP_c_f): Likewise.
28077 (RUN_TEST_f_f1): Likewise.
28078 (RUN_TEST_LOOP_f_f1): Likewise.
28079 (RUN_TEST_fF_f1): Likewise.
28080 (RUN_TEST_LOOP_fF_f1): Likewise.
28081 (RUN_TEST_fI_f1): Likewise.
28082 (RUN_TEST_LOOP_fI_f1): Likewise.
28083 (RUN_TEST_ffI_f1): Likewise.
28084 (RUN_TEST_LOOP_ffI_f1): Likewise.
28085 (RUN_TEST_c_c): Likewise.
28086 (RUN_TEST_LOOP_c_c): Likewise.
28087 (RUN_TEST_cc_c): Likewise.
28088 (RUN_TEST_LOOP_cc_c): Likewise.
28089 (RUN_TEST_f_i): Likewise.
28090 (RUN_TEST_LOOP_f_i): Likewise.
28091 (RUN_TEST_f_i_tg): Likewise.
28092 (RUN_TEST_LOOP_f_i_tg): Likewise.
28093 (RUN_TEST_ff_i_tg): Likewise.
28094 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28095 (RUN_TEST_f_b): Likewise.
28096 (RUN_TEST_LOOP_f_b): Likewise.
28097 (RUN_TEST_f_b_tg): Likewise.
28098 (RUN_TEST_LOOP_f_b_tg): Likewise.
28099 (RUN_TEST_f_l): Likewise.
28100 (RUN_TEST_LOOP_f_l): Likewise.
28101 (RUN_TEST_f_L): Likewise.
28102 (RUN_TEST_LOOP_f_L): Likewise.
28103 (RUN_TEST_sincos): Likewise.
28104 (RUN_TEST_LOOP_sincos): Likewise.
28105
8269107f
JM
281062013-05-17 Joseph Myers <joseph@codesourcery.com>
28107
bb38759d
JM
28108 [BZ #15480]
28109 [BZ #15485]
28110 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28111 main case of finite arguments, set rounding mode to FE_TONEAREST
28112 and discard exceptions.
28113 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28114 exceptions.
28115 (remainder_tonearest_test_data): New variable.
28116 (remainder_test_tonearest): New function.
28117 (remainder_towardzero_test_data): New variable.
28118 (remainder_test_towardzero): New function.
28119 (remainder_downward_test_data): New variable.
28120 (remainder_test_downward): New function.
28121 (remainder_upward_test_data): New variable.
28122 (remainder_test_upward): New function.
28123 (main): Call the new test functions.
28124
a00bdcf0
JM
28125 * math/libm-test.inc (struct test_f_f1_data): Remove field
28126 extra_init.
28127 (struct test_fF_f1_data): Likewise.
28128 (struct test_ffI_f1_data): Likewise.
28129 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28130 based on value of EXTRA_EXPECTED.
28131 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28132 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28133 EXTRA_VAR based on value of EXTRA_EXPECTED.
28134 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28135 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28136 EXTRA_VAR based on value of EXTRA_EXPECTED.
28137 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28138 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28139 EXTRA_VAR based on value of EXTRA_EXPECTED.
28140 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28141 * math/gen-libm-test.pl (parse_args): Don't output initializers
28142 for extra output values.
28143
de407f79
JM
28144 * math/libm-test.inc (check_int): Expect result to be exactly
28145 equal to expected value and do not handle ulps.
28146 (check_long): Likewise.
28147 (check_longlong): Likewise.
28148
8269107f
JM
28149 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28150 exceptions.
28151 (cimag_test_data): Likewise.
28152 (conj_test_data): Likewise.
28153 (copysign_test_data): Likewise.
28154 (cproj_test_data): Likewise.
28155 (creal_test_data): Likewise.
28156 (fabs_test_data): Likewise.
28157 (fdim_test_data): Likewise.
28158 (finite_test_data): Likewise.
28159 (floor_test_data): Likewise.
28160 (fmax_test_data): Likewise.
28161 (fmin_test_data): Likewise.
28162 (fmod_test_data): Likewise.
28163 (fpclassify_test_data): Likewise.
28164 (frexp_test_data): Likewise.
28165 (ilogb_test_data): Likewise.
28166 (isfinite_test_data): Likewise.
28167 (isgreater_test_data): Likewise.
28168 (isgreaterequal_test_data): Likewise.
28169 (isinf_test_data): Likewise.
28170 (isless_test_data): Likewise.
28171 (islessequal_test_data): Likewise.
28172 (islessgreater_test_data): Likewise.
28173 (isnan_test_data): Likewise.
28174 (isnormal_test_data): Likewise.
28175 (issignaling_test_data): Likewise.
28176 (isunordered_test_data): Likewise.
28177 (ldexp_test_data): Likewise.
28178 (lrint_test_data): Likewise.
28179 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28180 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28181 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28182 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28183 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28184 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28185 test input.
28186 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28187 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28188 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28189 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28190 that test input.
28191 (lrint_downward_test_data): Test for "inexact" exceptions.
28192 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28193 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28194 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28195 test input.
28196 (lrint_upward_test_data): Test for "inexact" exceptions.
28197 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28198 test input.
28199 (llrint_test_data): Test for "inexact" exceptions.
28200 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28201 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28202 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28203 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28204 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28205 (llrint_downward_test_data): Test for "inexact" exceptions.
28206 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28207 (llrint_upward_test_data): Test for "inexact" exceptions.
28208 (logb_test_data): Likewise.
28209 (logb_downward_test_data): Likewise.
28210 (nextafter_test_data): Likewise.
28211 (nexttoward_test_data): Likewise.
28212 (remainder_test_data): Likewise.
28213 (remquo_test_data): Likewise.
28214 (scalbn_test_data): Likewise.
28215 (scalbln_test_data): Likewise.
28216 (signbit_test_data): Likewise.
28217 (sqrt_test_data): Likewise.
28218 (significand_test_data): Likewise.
28219
48a18de1
SP
282202013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28221
28222 [BZ #15424]
28223 * benchtests/bench-modf.c (struct args): Mark arg0 as
28224 volatile.
28225 * scripts/bench.pl: Mark members of struct args as volatile.
28226
13d3b41a
AZ
282272013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28228
68191c1d 28229 [BZ # 15497]
13d3b41a
AZ
28230 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28231 negative infinity on POWER6 or lower.
28232 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28233
2848b105
MR
282342013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28235
28236 [BZ #15442]
28237 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28238 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28239 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28240 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28241 (_FP_SETQNAN): New macro.
28242 (_FP_SETQNAN_SEMIRAW): Likewise.
28243 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28244 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28245 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28246 (FP_EXTEND): Use _FP_FRAC_SNANP.
28247 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28248 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28249 into account.
28250 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28251 New macro.
28252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28253 Likewise.
28254
323e5cb7
JM
282552013-05-16 Joseph Myers <joseph@codesourcery.com>
28256
c58b274f
JM
28257 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28258 with DIVIDE_BY_ZERO_EXCEPTION.
28259 (gamma_test_data): Likewise.
28260 (lgamma_test_data): Likewise.
28261 (log_test_data): Likewise.
28262 (log10_test_data): Likewise.
28263 (log2_test_data): Likewise.
28264 (tgamma_test_data): Likewise.
28265
0ab34904
JM
28266 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28267 (acos_test_tonearest): Likewise.
28268 (acos_test_towardzero): Likewise.
28269 (acos_test_downward): Likewise.
28270 (acos_test_upward): Likewise.
28271 (acosh_test): Likewise.
28272 (asin_test): Likewise.
28273 (asin_test_tonearest): Likewise.
28274 (asin_test_towardzero): Likewise.
28275 (asin_test_downward): Likewise.
28276 (asin_test_upward): Likewise.
28277 (asinh_test): Likewise.
28278 (atan_test): Likewise.
28279 (atanh_test): Likewise.
28280 (atan2_test): Likewise.
28281 (cabs_test): Likewise.
28282 (cacos_test): Likewise.
28283 (cacosh_test): Likewise.
28284 (casin_test): Likewise.
28285 (casinh_test): Likewise.
28286 (catan_test): Likewise.
28287 (catanh_test): Likewise.
28288 (cbrt_test): Likewise.
28289 (ccos_test): Likewise.
28290 (ccosh_test): Likewise.
28291 (cexp_test): Likewise.
28292 (clog_test): Likewise.
28293 (clog10_test): Likewise.
28294 (cos_test): Likewise.
28295 (cos_test_tonearest): Likewise.
28296 (cos_test_towardzero): Likewise.
28297 (cos_test_downward): Likewise.
28298 (cos_test_upward): Likewise.
28299 (cosh_test): Likewise.
28300 (cosh_test_tonearest): Likewise.
28301 (cosh_test_towardzero): Likewise.
28302 (cosh_test_downward): Likewise.
28303 (cosh_test_upward): Likewise.
28304 (cpow_test): Likewise.
28305 (csin_test): Likewise.
28306 (csinh_test): Likewise.
28307 (csqrt_test): Likewise.
28308 (ctan_test): Likewise.
28309 (ctan_test_tonearest): Likewise.
28310 (ctan_test_towardzero): Likewise.
28311 (ctan_test_downward): Likewise.
28312 (ctan_test_upward): Likewise.
28313 (ctanh_test): Likewise.
28314 (ctanh_test_tonearest): Likewise.
28315 (ctanh_test_towardzero): Likewise.
28316 (ctanh_test_downward): Likewise.
28317 (ctanh_test_upward): Likewise.
28318 (erf_test): Likewise.
28319 (erfc_test): Likewise.
28320 (exp_test): Likewise.
28321 (exp_test_tonearest): Likewise.
28322 (exp_test_towardzero): Likewise.
28323 (exp_test_downward): Likewise.
28324 (exp_test_upward): Likewise.
28325 (exp10_test): Likewise.
28326 (exp2_test): Likewise.
28327 (expm1_test): Likewise.
28328 (fmod_test): Likewise.
28329 (gamma_test): Likewise.
28330 (hypot_test): Likewise.
28331 (j0_test): Likewise.
28332 (j1_test): Likewise.
28333 (jn_test): Likewise.
28334 (lgamma_test): Likewise.
28335 (log_test): Likewise.
28336 (log10_test): Likewise.
28337 (log1p_test): Likewise.
28338 (log2_test): Likewise.
28339 (logb_test_downward): Likewise.
28340 (pow_test): Likewise.
28341 (pow_test_tonearest): Likewise.
28342 (pow_test_towardzero): Likewise.
28343 (pow_test_downward): Likewise.
28344 (pow_test_upward): Likewise.
28345 (remainder_test): Likewise.
28346 (remquo_test): Likewise.
28347 (sin_test): Likewise.
28348 (sin_test_tonearest): Likewise.
28349 (sin_test_towardzero): Likewise.
28350 (sin_test_downward): Likewise.
28351 (sin_test_upward): Likewise.
28352 (sincos_test): Likewise.
28353 (sinh_test): Likewise.
28354 (sinh_test_tonearest): Likewise.
28355 (sinh_test_towardzero): Likewise.
28356 (sinh_test_downward): Likewise.
28357 (sinh_test_upward): Likewise.
28358 (sqrt_test): Likewise.
28359 (tan_test): Likewise.
28360 (tan_test_tonearest): Likewise.
28361 (tan_test_towardzero): Likewise.
28362 (tan_test_downward): Likewise.
28363 (tan_test_upward): Likewise.
28364 (tanh_test): Likewise.
28365 (tgamma_test): Likewise.
28366 (y0_test): Likewise.
28367 (y1_test): Likewise.
28368 (yn_test): Likewise.
28369
323e5cb7
JM
28370 * math/gen-libm-test.pl (adjust_arg): Remove function.
28371 (special_function): Remove argument $in_func. Only handle
28372 generating output for tables of tests, not inside functions.
28373 (parse_args): Likewise.
28374 (generate_testfile): Remove variable $in_func. Update call to
28375 parse_args.
28376 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28377 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28378 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28379 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28380 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28381 (MAX_VALUE_INIT): Rename macro to max_value.
28382 (MIN_VALUE_INIT): Rename macro to min_value.
28383 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28384 (plus_zero): Remove variable.
28385 (minus_zero): Likewise.
28386 (plus_infty): Likewise.
28387 (minus_infty): Likewise.
28388 (qnan_value): Likewise.
28389 (max_value): Likewise.
28390 (min_value): Likewise.
28391 (min_subnorm_value): Likewise.
28392
e054f494
RA
283932013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28394
28395 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28396 uint64_t or uint32_t usage.
28397 * crypt/sha256-block.c: Likewise.
28398 * crypt/sha256-crypt.c: Likewise.
28399 * crypt/sha256.c: Likewise.
28400 * crypt/sha512-block.c: Likewise.
28401 * crypt/sha512-crypt.c: Likewise.
28402 * crypt/sha512.c: Likewise.
28403 * debug/backtrace-tst.c: Likewise.
28404 * debug/pcprofiledump.c: Likewise.
28405 * elf/cache.c: Likewise.
28406 * elf/dl-cache.c: Likewise.
28407 * elf/dl-misc.c: Likewise.
28408 * elf/dl-profile.c: Likewise.
28409 * elf/dl-support.c: Likewise.
28410 * elf/ldconfig.c: Likewise.
28411 * elf/sprof.c: Likewise.
28412 * iconv/dummy-repertoire.c: Likewise.
28413 * iconv/iconv_charmap.c: Likewise.
28414 * iconv/skeleton.c: Likewise.
28415 * iconvdata/8bit-generic.c: Likewise.
28416 * iconvdata/cp737.h: Likewise.
28417 * iconvdata/cp775.h: Likewise.
28418 * iconvdata/ibm1008.h: Likewise.
28419 * iconvdata/ibm1025.h: Likewise.
28420 * iconvdata/ibm1046.h: Likewise.
28421 * iconvdata/ibm1097.h: Likewise.
28422 * iconvdata/ibm1112.h: Likewise.
28423 * iconvdata/ibm1122.h: Likewise.
28424 * iconvdata/ibm1123.h: Likewise.
28425 * iconvdata/ibm1124.h: Likewise.
28426 * iconvdata/ibm1129.h: Likewise.
28427 * iconvdata/ibm1130.h: Likewise.
28428 * iconvdata/ibm1132.h: Likewise.
28429 * iconvdata/ibm1133.h: Likewise.
28430 * iconvdata/ibm1137.h: Likewise.
28431 * iconvdata/ibm1140.h: Likewise.
28432 * iconvdata/ibm1141.h: Likewise.
28433 * iconvdata/ibm1142.h: Likewise.
28434 * iconvdata/ibm1143.h: Likewise.
28435 * iconvdata/ibm1144.h: Likewise.
28436 * iconvdata/ibm1145.h: Likewise.
28437 * iconvdata/ibm1146.h: Likewise.
28438 * iconvdata/ibm1147.h: Likewise.
28439 * iconvdata/ibm1148.h: Likewise.
28440 * iconvdata/ibm1149.h: Likewise.
28441 * iconvdata/ibm1153.h: Likewise.
28442 * iconvdata/ibm1154.h: Likewise.
28443 * iconvdata/ibm1155.h: Likewise.
28444 * iconvdata/ibm1156.h: Likewise.
28445 * iconvdata/ibm1157.h: Likewise.
28446 * iconvdata/ibm1158.h: Likewise.
28447 * iconvdata/ibm1160.h: Likewise.
28448 * iconvdata/ibm1161.h: Likewise.
28449 * iconvdata/ibm1162.h: Likewise.
28450 * iconvdata/ibm1163.h: Likewise.
28451 * iconvdata/ibm1164.h: Likewise.
28452 * iconvdata/ibm1166.h: Likewise.
28453 * iconvdata/ibm1167.h: Likewise.
28454 * iconvdata/ibm12712.h: Likewise.
28455 * iconvdata/ibm1390.h: Likewise.
28456 * iconvdata/ibm1399.h: Likewise.
28457 * iconvdata/ibm16804.h: Likewise.
28458 * iconvdata/ibm4517.h: Likewise.
28459 * iconvdata/ibm4899.h: Likewise.
28460 * iconvdata/ibm4909.h: Likewise.
28461 * iconvdata/ibm4971.h: Likewise.
28462 * iconvdata/ibm5347.h: Likewise.
28463 * iconvdata/ibm803.h: Likewise.
28464 * iconvdata/ibm856.h: Likewise.
28465 * iconvdata/ibm901.h: Likewise.
28466 * iconvdata/ibm902.h: Likewise.
28467 * iconvdata/ibm9030.h: Likewise.
28468 * iconvdata/ibm9066.h: Likewise.
28469 * iconvdata/ibm921.h: Likewise.
28470 * iconvdata/ibm922.h: Likewise.
28471 * iconvdata/ibm9448.h: Likewise.
28472 * iconvdata/isiri-3342.h: Likewise.
28473 * iconvdata/jis0201.h: Likewise.
28474 * include/link.h: Likewise.
28475 * include/netdb.h: Likewise.
28476 * inet/check_native.c: Likewise.
28477 * inet/check_pf.c: Likewise.
28478 * inet/getipv4sourcefilter.c: Likewise.
28479 * inet/getnameinfo.c: Likewise.
28480 * inet/getsourcefilter.c: Likewise.
28481 * inet/htonl.c: Likewise.
28482 * inet/setipv4sourcefilter.c: Likewise.
28483 * inet/setsourcefilter.c: Likewise.
28484 * inet/test-inet6_opt.c: Likewise.
28485 * inet/tst-network.c: Likewise.
28486 * locale/C-collate.c: Likewise.
28487 * locale/C-ctype.c: Likewise.
28488 * locale/C-time.c: Likewise.
28489 * locale/C-translit.h: Likewise.
28490 * locale/loadarchive.c: Likewise.
28491 * locale/programs/3level.h: Likewise.
28492 * locale/programs/charmap.c: Likewise.
28493 * locale/programs/charmap.h: Likewise.
28494 * locale/programs/ld-address.c: Likewise.
28495 * locale/programs/ld-collate.c: Likewise.
28496 * locale/programs/ld-ctype.c: Likewise.
28497 * locale/programs/ld-identification.c: Likewise.
28498 * locale/programs/ld-measurement.c: Likewise.
28499 * locale/programs/ld-messages.c: Likewise.
28500 * locale/programs/ld-monetary.c: Likewise.
28501 * locale/programs/ld-name.c: Likewise.
28502 * locale/programs/ld-numeric.c: Likewise.
28503 * locale/programs/ld-paper.c: Likewise.
28504 * locale/programs/ld-telephone.c: Likewise.
28505 * locale/programs/ld-time.c: Likewise.
28506 * locale/programs/linereader.c: Likewise.
28507 * locale/programs/locale.c: Likewise.
28508 * locale/programs/locarchive.c: Likewise.
28509 * locale/programs/locfile.h: Likewise.
28510 * locale/programs/repertoire.c: Likewise.
28511 * locale/programs/simple-hash.c: Likewise.
28512 * locale/programs/simple-hash.h: Likewise.
28513 * malloc/memusage.c: Likewise.
28514 * malloc/memusagestat.c: Likewise.
28515 * nis/nis_defaults.c: Likewise.
28516 * nis/nis_hash.c: Likewise.
28517 * nis/nis_print.c: Likewise.
28518 * nis/nis_xdr.c: Likewise.
28519 * nscd/connections.c: Likewise.
28520 * nscd/hstcache.c: Likewise.
28521 * nscd/nscd_gethst_r.c: Likewise.
28522 * nscd/nscd_getserv_r.c: Likewise.
28523 * nscd/nscd_helper.c: Likewise.
28524 * nscd/servicescache.c: Likewise.
28525 * nss/makedb.c: Likewise.
28526 * nss/nss_db/db-XXX.c: Likewise.
28527 * nss/nss_db/db-initgroups.c: Likewise.
28528 * nss/nss_db/db-netgrp.c: Likewise.
28529 * nss/nss_files/files-network.c: Likewise.
28530 * nss/nss_files/files-parse.c: Likewise.
28531 * posix/bug-regex5.c: Likewise.
28532 * posix/fnmatch_loop.c: Likewise.
28533 * posix/regcomp.c: Likewise.
28534 * posix/regexec.c: Likewise.
28535 * posix/tst-rfc3484-2.c: Likewise.
28536 * posix/tst-rfc3484-3.c: Likewise.
28537 * posix/tst-rfc3484.c: Likewise.
28538 * resolv/nss_dns/dns-canon.c: Likewise.
28539 * resolv/nss_dns/dns-network.c: Likewise.
28540 * resolv/res_init.c: Likewise.
28541 * resolv/res_mkquery.c: Likewise.
28542 * resolv/tst-aton.c: Likewise.
28543 * stdlib/cxa_atexit.c: Likewise.
28544 * stdlib/cxa_finalize.c: Likewise.
28545 * stdlib/gen-fpioconst.c: Likewise.
28546 * stdlib/strtol_l.c: Likewise.
28547 * string/tst-endian.c: Likewise.
28548 * sunrpc/auth_des.c: Likewise.
28549 * sunrpc/clnt_udp.c: Likewise.
28550 * sunrpc/rtime.c: Likewise.
28551 * sunrpc/svcauth_des.c: Likewise.
28552 * sunrpc/xdr.c: Likewise.
28553 * sunrpc/xdr_intXX_t.c: Likewise.
28554 * sunrpc/xdr_rec.c: Likewise.
28555 * sysdeps/generic/ldconfig.h: Likewise.
28556 * sysdeps/generic/ldsodefs.h: Likewise.
28557 * sysdeps/generic/memusage.h: Likewise.
28558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28568 * sysdeps/posix/getaddrinfo.c: Likewise.
28569 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28570 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28571 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28572 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28573 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28574 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28575 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28576 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28577 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28578 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28579 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28580 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28581 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28582 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28584 * sysdeps/x86_64/dl-tls.h: Likewise.
28585 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28586 * time/alt_digit.c: Likewise.
28587 * time/era.c: Likewise.
28588 * wcsmbs/tst-c16c32-1.c: Likewise.
28589
8c75f674
JM
285902013-05-16 Joseph Myers <joseph@codesourcery.com>
28591
28592 * math/libm-test.inc (struct test_sincos_data): New type.
28593 (RUN_TEST_LOOP_sincos): New macro.
28594 (sincos_test_data): New variable.
28595 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28596
e6e49e59
RH
285972013-05-16 Richard Henderson <rth@redhat.com>
28598
28599 * math/atest-exp2.c (LIMB64): New macro.
28600 (CONSTSZ): New macro.
28601 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28602 (hexdig): Move ...
28603 (print_mpn_fp): ... to function scope.
28604 (read_mpn_hex): Remove.
28605 (get_log2): Remove.
28606 (exp2_mpn): Use mp_log2.
28607 (main): Use mp_exp1.
28608
15c7c18d
JM
286092013-05-16 Joseph Myers <joseph@codesourcery.com>
28610
105a07df
JM
28611 * math/libm-test.inc: Remove comment about not testing "inexact"
28612 exceptions.
28613 (INEXACT_EXCEPTION): New macro.
28614 (NO_INEXACT_EXCEPTION): Likewise.
28615 (INVALID_EXCEPTION_OK): Update value.
28616 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28617 (OVERFLOW_EXCEPTION_OK): Likewise.
28618 (UNDERFLOW_EXCEPTION_OK): Likewise.
28619 (IGNORE_ZERO_INF_SIGN): Likewise.
28620 (ERRNO_UNCHANGED): Likewise.
28621 (ERRNO_EDOM): Likewise.
28622 (ERRNO_ERANGE): Likewise.
28623 (test_exceptions): Handle testing "inexact" exceptions.
28624 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28625 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28626 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28627 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28628 INEXACT_EXCEPTION.
28629 (rint_towardzero_test_data): Likewise.
28630 (rint_downward_test_data): Likewise.
28631 (rint_upward_test_data): Likewise.
28632
e9eee333
JM
28633 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28634 with OVERFLOW_EXCEPTION.
28635 (exp10_test_data): Likewise.
28636 (exp2_test_data): Likewise.
28637 (expm1_test_data): Likewise.
28638 (lgamma_test_data): Likewise.
28639 (pow_test_data): Likewise.
28640 (tgamma_test_data): Likewise.
28641 (yn_test_data): Remove duplicate test of overflow.
28642
1c38ff73
JM
28643 * math/libm-test.inc (struct test_cc_c_data): New type.
28644 (RUN_TEST_LOOP_cc_c): New macro.
28645 (cpow_test_data): New variable.
28646 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28647
15c7c18d
JM
28648 * math/libm-test.inc (struct test_f_L_data): New type.
28649 (RUN_TEST_LOOP_f_L): New macro.
28650 (llrint_test_data): New variable.
28651 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28652 (llrint_tonearest_test_data): New variable.
28653 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28654 (llrint_towardzero_test_data): New variable.
28655 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28656 (llrint_downward_test_data): New variable.
28657 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28658 (llrint_upward_test_data): New variable.
28659 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28660 (llround_test_data): New variable.
28661 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28662
f137ff13
PC
286632013-05-13 Peter Collingbourne <pcc@google.com>
28664
28665 * math/atest-exp2.c (get_log2): Remove const attribute.
28666
3608cb24
JM
286672013-05-15 Joseph Myers <joseph@codesourcery.com>
28668
28669 * math/libm-test.inc (struct test_f_l_data): New type.
28670 (RUN_TEST_LOOP_f_l): New macro.
28671 (lrint_test_data): New variable.
28672 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28673 (lrint_tonearest_test_data): New variable.
28674 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28675 (lrint_towardzero_test_data): New variable.
28676 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28677 (lrint_downward_test_data): New variable.
28678 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28679 (lrint_upward_test_data): New variable.
28680 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28681 (lround_test_data): New variable.
28682 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28683
39b1f617
PC
286842013-05-15 Peter Collingbourne <pcc@google.com>
28685
1deff3dc
PC
28686 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28687 (EXTRACT_WORDS64) Use where appropriate.
28688 (INSERT_WORDS64) Likewise.
28689
791f3ba0
PC
28690 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28691 constraints with x constraints.
28692 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28693
39b1f617
PC
28694 * malloc/obstack.c (_obstack_compat): Add initializer.
28695
12fba011
EM
286962013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28697
28698 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28699 si_trapno and add si_addr_lsb to _sifields.sigfault.
28700 (si_trapno): Remove macro.
28701 (si_addr_lsb): Define new macro.
28702 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28703
d369f531
JM
287042013-05-15 Joseph Myers <joseph@codesourcery.com>
28705
b861c6c4
JM
28706 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28707 instead of TEST_f_l.
28708 (llrint_test_tonearest): Likewise.
28709 (llrint_test_towardzero): Likewise.
28710 (llrint_test_downward): Likewise.
28711 (llrint_test_upward): Likewise.
28712 (llround_test): Likewise.
28713
7abeee12
JM
28714 * math/libm-test.inc (struct test_f_i_data): Add comment.
28715 (RUN_TEST_LOOP_f_b): New macro.
28716 (RUN_TEST_LOOP_f_b_tg): Likewise.
28717 (finite_test_data): New variable.
28718 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28719 (isfinite_test_data): New variable.
28720 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28721 (isinf_test_data): New variable.
28722 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28723 (isnan_test_data): New variable.
28724 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28725 (isnormal_test_data): New variable.
28726 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28727 (issignaling_test_data): New variable.
28728 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28729 (signbit_test_data): New variable.
28730 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28731
cbe8c4d3
JM
28732 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28733 with INVALID_EXCEPTION.
28734 (acosh_test_data): Likewise.
28735 (asin_test_data): Likewise.
28736 (atanh_test_data): Likewise.
28737 (fmod_test_data): Likewise.
28738 (log_test_data): Likewise.
28739 (log10_test_data): Likewise.
28740 (log2_test_data): Likewise.
28741 (pow_test_data): Likewise.
28742 (sqrt_test_data): Likewise.
28743 (y0_test_data): Likewise.
28744 (y1_test_data): Likewise.
28745 (yn_test_data): Likewise.
28746
5575c0e5
JM
28747 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28748 function contents.
28749
d369f531
JM
28750 * math/libm-test.inc (struct test_ff_i_data): New type.
28751 (RUN_TEST_LOOP_ff_i_tg): New macro.
28752 (isgreater_test_data): New variable.
28753 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28754 (isgreaterequal_test_data): New variable.
28755 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28756 (isless_test_data): New variable.
28757 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28758 (islessequal_test_data): New variable.
28759 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28760 (islessgreater_test_data): New variable.
28761 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28762 (isunordered_test_data): New variable.
28763 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28764
781fd748
DM
287652013-05-14 David S. Miller <davem@davemloft.net>
28766
28767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28768
87aa21df
JM
287692013-05-14 Joseph Myers <joseph@codesourcery.com>
28770
5e908270
JM
28771 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28772
f71172e5
JM
28773 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28774 extra_test to int.
28775 (struct test_f_i_data): Change type of max_ulp to int.
28776
8cfa635a
JM
28777 * math/libm-test.inc (test_ffI_f1_data): New type.
28778 (RUN_TEST_LOOP_ffI_f1): New macro.
28779 (remquo_test_data): New variable.
28780 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28781
2bcb36b2
JM
28782 * setjmp/tst-setjmp-fp.c: New file.
28783 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28784 (link-libm): New variable.
28785 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28786
acbd839a
JM
28787 * math/libm-test.inc (struct test_f_i_data): New type.
28788 (RUN_TEST_LOOP_f_i): New macro.
28789 (RUN_TEST_LOOP_f_i_tg): Likewise.
28790 (fpclassify_test_data): New variable.
28791 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28792 (ilogb_test_data): New variable.
28793 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28794
e414d745
JM
28795 * math/libm-test.inc (scalbln_test): Correct function name in END
28796 call.
28797
d9c2a0fd
JM
28798 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28799 (RUN_TEST_LOOP_fI_f1): New macro.
28800 (frexp_test_data): New variable.
28801 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28802
9dc9095d
JM
28803 * math/libm-test.inc (struct test_fF_f1_data): New type.
28804 (RUN_TEST_LOOP_fF_f1): New macro.
28805 (modf_test_data): New variable.
28806 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28807
87aa21df
JM
28808 * math/libm-test.inc (struct test_f_f1_data): New type.
28809 (RUN_TEST_LOOP_f_f1): New macro.
28810 (gamma_test_data): New variable.
28811 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28812 (lgamma_test_data): New variable.
28813 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28814
141af660
CD
288152013-05-13 Carlos O'Donell <carlos@redhat.com>
28816
28817 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28818 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28819 (main): Comment "tls" pseudo-hwcap.
28820
6d33265c
JM
288212013-05-13 Joseph Myers <joseph@codesourcery.com>
28822
68fc074c
JM
28823 * math/libm-test.inc (struct test_fl_f_data): New type.
28824 (RUN_TEST_LOOP_fl_f): New variable.
28825 (scalbln_test_data): New variable.
28826 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28827
243216e1
JM
28828 * math/libm-test.inc (struct test_fi_f_data): New type.
28829 (RUN_TEST_LOOP_fi_f): New macro.
28830 (ldexp_test_data): New variable.
28831 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28832 (scalbn_test_data): New variable.
28833 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28834
6a1992e2
JM
28835 * math/libm-test.inc (struct test_c_f_data): New type.
28836 (RUN_TEST_LOOP_c_f): New macro.
28837 (cabs_test_data): New variable.
28838 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28839 (carg_test_data): New variable.
28840 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28841 (cimag_test_data): New variable.
28842 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28843 (creal_test_data): New variable.
28844 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28845
0e400df5
JM
28846 * math/libm-test.inc (struct test_if_f_data): New type.
28847 (RUN_TEST_LOOP_if_f): New macro.
28848 (jn_test_data): New variable.
28849 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28850 (yn_test_data): New variable.
28851 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28852
6d33265c
JM
28853 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28854
f98ece5f
AZ
288552013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28856
28857 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28858 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28859
0f7d347b
SP
288602013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28861
43fe811b
SP
28862 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28863 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28864 (bench-deps): Add bench-timing.h.
28865 * benchtests-bench-skeleton.c: Include bench-timing.h.
28866 (main): Use TIMING_* macros instead of clock_gettime.
28867 * benchtests/bench-timing.h: New file.
28868
0f7d347b
SP
28869 [BZ #14582]
28870 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28871 Renamed from _LIB_VERSION.
28872 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28873
601a3a5f
JM
288742013-05-12 Joseph Myers <joseph@codesourcery.com>
28875
4f184d30
JM
28876 * math/libm-test.inc (struct test_fff_f_data): New type.
28877 (RUN_TEST_LOOP_fff_f): New macro.
28878 (fma_test_data): New variable.
28879 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28880 (fma_towardzero_test_data): New variable.
28881 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28882 (fma_downward_test_data): New variable.
28883 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28884 (fma_upward_test_data): New variable.
28885 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28886
08198877
JM
28887 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28888 (struct test_c_c_data): New type.
28889 (RUN_TEST_LOOP_c_c): New macro.
28890 (cacos_test_data): New variable.
28891 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28892 (cacosh_test_data): New variable.
28893 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28894 (casin_test_data): New variable.
28895 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28896 (casinh_test_data): New variable.
28897 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28898 (catan_test_data): New variable.
28899 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28900 (catanh_test_data): New variable.
28901 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28902 (ccos_test_data): New variable.
28903 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28904 (ccosh_test_data): New variable.
28905 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28906 (cexp_test_data): New variable.
28907 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28908 (clog_test_data): New variable.
28909 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28910 (clog10_test_data): New variable.
28911 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28912 (conj_test_data): New variable.
28913 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28914 (cproj_test_data): New variable.
28915 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28916 (csin_test_data): New variable.
28917 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28918 (csinh_test_data): New variable.
28919 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28920 (csqrt_test_data): New variable.
28921 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28922 (ctan_test_data): New variable.
28923 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28924 (ctan_tonearest_test_data): New variable.
28925 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28926 (ctan_towardzero_test_data): New variable.
28927 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28928 (ctan_downward_test_data): New variable.
28929 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28930 (ctan_upward_test_data): New variable.
28931 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28932 (ctanh_test_data): New variable.
28933 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28934 (ctanh_tonearest_test_data): New variable.
28935 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28936 (ctanh_towardzero_test_data): New variable.
28937 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28938 (ctanh_downward_test_data): New variable.
28939 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28940 (ctanh_upward_test_data): New variable.
28941 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28942 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28943 of BUILD_COMPLEX.
28944
601a3a5f
JM
28945 * math/libm-test.inc (struct test_ff_f_data): New type.
28946 (struct test_ff_f_data_nexttoward): Likewise.
28947 (RUN_TEST_LOOP_2_f): New macro.
28948 (RUN_TEST_LOOP_ff_f): Likewise.
28949 (atan2_test_data): New variable.
28950 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28951 (copysign_test_data): New variable.
28952 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28953 (fdim_test_data): New variable.
28954 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28955 (fmax_test_data): New variable.
28956 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28957 (fmin_test_data): New variable.
28958 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28959 (fmod_test_data): New variable.
28960 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28961 (hypot_test_data): New variable.
28962 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28963 (nextafter_test_data): New variable.
28964 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28965 (nexttoward_test_data): New variable.
28966 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28967 (pow_test_data): New variable.
28968 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28969 (pow_tonearest_test_data): New variable.
28970 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28971 (pow_towardzero_test_data): New variable.
28972 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28973 (pow_downward_test_data): New variable.
28974 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28975 (pow_upward_test_data): New variable.
28976 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28977 (remainder_test_data): New variable.
28978 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28979 (scalb_test_data): New variable.
28980 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28981 * sysdeps/i386/fpu/libm-test-ulps: Update.
28982
74c57478
JM
289832013-05-11 Joseph Myers <joseph@codesourcery.com>
28984
8329e4da
JM
28985 * math/libm-test.inc (fma_test): Use max_value instead of local
28986 variable fltmax.
28987 (nextafter_test): Likewise.
28988
74c57478
JM
28989 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28990 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28991 (acos_downward_test_data): New variable.
28992 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28993 (acos_upward_test_data): New variable.
28994 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28995 (acosh_test_data): New variable.
28996 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28997 (asin_test_data): New variable.
28998 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28999 (asin_tonearest_test_data): New variable.
29000 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29001 (asin_towardzero_test_data): New variable.
29002 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29003 (asin_downward_test_data): New variable.
29004 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29005 (asin_upward_test_data): New variable.
29006 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29007 (asinh_test_data): New variable.
29008 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29009 (atan_test_data): New variable.
29010 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29011 (atanh_test_data): New variable.
29012 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29013 (cbrt_test_data): New variable.
29014 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29015 (ceil_test_data): New variable.
29016 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29017 (cos_test_data): New variable.
29018 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29019 (cos_tonearest_test_data): New variable.
29020 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29021 (cos_towardzero_test_data): New variable.
29022 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29023 (cos_downward_test_data): New variable.
29024 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29025 (cos_upward_test_data): New variable.
29026 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29027 (cosh_test_data): New variable.
29028 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29029 (cosh_tonearest_test_data): New variable.
29030 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29031 (cosh_towardzero_test_data): New variable.
29032 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29033 (cosh_downward_test_data): New variable.
29034 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29035 (cosh_upward_test_data): New variable.
29036 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29037 (erf_test_data): New variable.
29038 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29039 (erfc_test_data): New variable.
29040 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29041 (exp_test_data): New variable.
29042 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29043 (exp_tonearest_test_data): New variable.
29044 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29045 (exp_towardzero_test_data): New variable.
29046 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29047 (exp_downward_test_data): New variable.
29048 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29049 (exp_upward_test_data): New variable.
29050 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29051 (exp10_test_data): New variable.
29052 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29053 (exp2_test_data): New variable.
29054 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29055 (expm1_test_data): New variable.
29056 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29057 (fabs_test_data): New variable.
29058 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29059 (floor_test_data): New variable.
29060 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29061 (j0_test_data): New variable.
29062 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29063 (j1_test_data): New variable.
29064 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29065 (log_test_data): New variable.
29066 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29067 (log10_test_data): New variable.
29068 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29069 (log1p_test_data): New variable.
29070 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29071 (log2_test_data): New variable.
29072 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29073 (logb_test_data): New variable.
29074 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29075 (logb_downward_test_data): New variable.
29076 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29077 (nearbyint_test_data): New variable.
29078 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29079 (rint_test_data): New variable.
29080 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29081 (rint_tonearest_test_data): New variable.
29082 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29083 (rint_towardzero_test_data): New variable.
29084 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29085 (rint_downward_test_data): New variable.
29086 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29087 (rint_upward_test_data): New variable.
29088 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29089 (round_test_data): New variable.
29090 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29091 (sin_test_data): New variable.
29092 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29093 (sin_tonearest_test_data): New variable.
29094 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29095 (sin_towardzero_test_data): New variable.
29096 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29097 (sin_downward_test_data): New variable.
29098 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29099 (sin_upward_test_data): New variable.
29100 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29101 (sinh_test_data): New variable.
29102 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29103 (sinh_tonearest_test_data): New variable.
29104 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29105 (sinh_towardzero_test_data): New variable.
29106 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29107 (sinh_downward_test_data): New variable.
29108 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29109 (sinh_upward_test_data): New variable.
29110 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29111 (sqrt_test_data): New variable.
29112 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29113 (tan_test_data): New variable.
29114 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29115 (tan_tonearest_test_data): New variable.
29116 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29117 (tan_towardzero_test_data): New variable.
29118 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29119 (tan_downward_test_data): New variable.
29120 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29121 (tan_upward_test_data): New variable.
29122 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29123 (tanh_test_data): New variable.
29124 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29125 (tgamma_test_data): New variable.
29126 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29127 (trunc_test_data): New variable.
29128 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29129 (y0_test_data): New variable.
29130 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29131 (y1_test_data): New variable.
29132 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29133 (significand_test_data): New variable.
29134 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29135
7187d844
CG
291362013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29137
29138 [BZ #12387]
29139 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29140
f63fae73
PT
291412013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29142
29143 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29144
8a67a4b3
AJ
291452013-05-10 Andreas Jaeger <aj@suse.de>
29146
29147 [BZ #15448]
29148 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29149 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29150
51df539d
JM
291512013-05-10 Joseph Myers <joseph@codesourcery.com>
29152
29153 * math/gen-libm-test.pl (adjust_arg): New function.
29154 (special_functions): Handle generating output in both functions
29155 and arrays.
29156 (parse_args): Likewise.
29157 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29158 $in_func argument to parse_args.
29159 * math/libm-test.inc (struct test_f_f_data): New type.
29160 (IF_ROUND_INIT_): New macro.
29161 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29162 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29163 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29164 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29165 (ROUND_RESTORE_): Likewise.
29166 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29167 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29168 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29169 (ROUND_RESTORE_FE_UPWARD): Likewise.
29170 (RUN_TEST_LOOP_f_f): New macro.
29171 (acos_test_data): New variable.
29172 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29173 (acos_tonearest_test_data): New variable.
29174 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29175
5c637fe5
SP
291762013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29177
29178 * benchtests/bench-skeleton.c (startup): Fix coding style.
29179
ab2b9461
JM
291802013-05-10 Joseph Myers <joseph@codesourcery.com>
29181
29182 [BZ #6809]
29183 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29184 negative infinity argument.
29185 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29186 negative infinity argument.
29187 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29188 negative infinity argument.
29189 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29190 domain errors.
29191
4c0fe6fe
FW
291922013-05-10 Florian Weimer <fweimer@redhat.com>
29193
29194 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29195 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29196 * iconv/iconv_prog.c (main): Likewise.
29197 * locale/programs/charmap-dir.c (charmap_readdir)
29198 (fopen_uncompressed): Likewise.
29199 * locale/programs/locfile.c (siblings_uncached)
29200 (write_locale_data): Use lstat64 instead of lstat.
29201 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29202 stat.
29203
a3375d29
AJ
292042013-05-10 Andreas Jaeger <aj@suse.de>
29205
29206 [BZ #15395]
29207 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29208 localization.
29209 Include <locale.h>.
29210
36129722
CD
292112013-05-09 Carlos O'Donell <carlos@redhat.com>
29212
29213 * elf/dl-close.c (_dl_close_worker): Add comments.
29214
faa7f811
JM
292152013-05-09 Joseph Myers <joseph@codesourcery.com>
29216
ed41ffef
JM
29217 [BZ #15359]
29218 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29219 high part of pi/2.
29220 (__ieee754_rem_pio2l): Update comments.
29221
d0213cd0
JM
29222 [BZ #15429]
29223 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29224 high part of pi/2.
29225 (__ieee754_rem_pio2l): Update comments.
29226
0d3e777a
JM
29227 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29228 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29229
24f56066
JM
29230 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29231 M_PI_4l.
29232
faa7f811
JM
29233 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29234 (M_PI_34_LOG10El): Likewise.
29235 (M_PI2_LOG10El): Likewise.
29236 (M_PI4_LOG10El): Likewise.
29237 (M_PI_LOG10El): Likewise.
29238
e9a5e0fd
AZ
292392013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29240
29241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29242
d8cd06db
JM
292432013-05-08 Joseph Myers <joseph@codesourcery.com>
29244
a0d9f9d7
JM
29245 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29246 (MINUS_ZERO_INIT): Likewise.
29247 (PLUS_INFTY_INIT): Likewise.
29248 (MINUS_INFTY_INIT): Likewise.
29249 (QNAN_VALUE_INIT): Likewise.
29250 (MAX_VALUE_INIT): Likewise.
29251 (MIN_VALUE_INIT): Likewise.
29252 (MIN_SUBNORM_VALUE_INIT): Likewise.
29253 (plus_zero): Initialize with PLUS_ZERO_INIT.
29254 (minus_zero): Initialize with MINUS_ZERO_INIT.
29255 (plus_infty): Initialize with PLUS_INFTY_INIT.
29256 (minus_infty): Initialize with MINUS_INFTY_INIT.
29257 (qnan_value): Initialize with QNAN_VALUE_INIT.
29258 (max_value): Initialize with MAX_VALUE_INIT.
29259 (min_value): Initialize with MIN_VALUE_INIT.
29260 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29261
ae08db3b
JM
29262 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29263 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29264 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29265 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29266
f44bf14a
JM
29267 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29268 (RUN_TEST_2_f): Likewise.
29269 (RUN_TEST_ff_f): Likewise.
29270 (RUN_TEST_fi_f): Likewise.
29271 (RUN_TEST_fl_f): Likewise.
29272 (RUN_TEST_fff_f): Likewise.
29273 (RUN_TEST_c_f): Likewise.
29274 (RUN_TEST_f_f1): Likewise.
29275 (RUN_TEST_fF_f1): Likewise.
29276 (RUN_TEST_fI_f1): Likewise.
29277 (RUN_TEST_ffI_f1): Likewise.
29278 (RUN_TEST_c_c): Likewise.
29279 (RUN_TEST_cc_c): Likewise.
29280 (RUN_TEST_f_i): Likewise.
29281 (RUN_TEST_f_i_tg): Likewise.
29282 (RUN_TEST_ff_i_tg): Likewise.
29283 (RUN_TEST_f_b): Likewise.
29284 (RUN_TEST_f_b_tg): Likewise.
29285 (RUN_TEST_f_l): Likewise.
29286 (RUN_TEST_f_L): Likewise.
29287 (RUN_TEST_sincos): Likewise.
29288 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29289 whether to show exceptions. Do not include ");\n" in return
29290 value.
29291 (special_functions): Output call to RUN_TEST_sincos instead of
29292 check_float calls. Update calls to new_test.
29293 (parse_args): Output call to single RUN_TEST_* macro instead of
29294 check_* calls and other assignments. Update calls to new_test.
29295
d8cd06db
JM
29296 [BZ #2546]
29297 [BZ #2560]
29298 [BZ #5159]
29299 [BZ #15426]
29300 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29301 input to result for tgamma overflow.
29302 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29303 (gamma_coeff): New variable.
29304 (NCOEFF): New macro.
29305 (gamma_positive): New function.
29306 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29307 underflow here. Use gamma_positive instead of exp (lgamma) for
29308 other arguments.
29309 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29310 (gamma_coeff): New variable.
29311 (NCOEFF): New macro.
29312 (gammaf_positive): New function.
29313 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29314 underflow here. Use gamma_positive instead of exp (lgamma) for
29315 other arguments.
29316 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29317 (gamma_coeff): New variable.
29318 (NCOEFF): New macro.
29319 (gammal_positive): New function.
29320 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29321 underflow here. Use gamma_positive instead of exp (lgamma) for
29322 other arguments.
29323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29324 (gamma_coeff): New variable.
29325 (NCOEFF): New macro.
29326 (gammal_positive): New function.
29327 (__ieee754_gammal_r): Handle positive infinity, overflow and
29328 underflow here. Handle NaN the same as positive infinity. Remove
29329 check x < 0xffffffff for negative integers. Use gamma_positive
29330 instead of exp (lgamma) for other arguments.
29331 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29332 (gamma_coeff): New variable.
29333 (NCOEFF): New macro.
29334 (gammal_positive): New function.
29335 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29336 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29341 * sysdeps/generic/math_private.h (__gamma_productf): New
29342 prototype.
29343 (__gamma_product): Likewise.
29344 (__gamma_productl): Likewise.
29345 * math/Makefile (libm-calls): Add gamma_product.
29346 * math/libm-test.inc (tgamma_test): Add more tests.
29347 * sysdeps/i386/fpu/libm-test-ulps: Update.
29348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29349
bb7cf681
OB
293502013-05-08 Ondřej Bílka <neleai@seznam.cz>
29351
29352 * benchtests/bench-skeleton.c (main): Preheat CPU.
29353
ba853947
AJ
293542013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29355
29356 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29357
8347c74c
RM
293582013-05-07 Roland McGrath <roland@hack.frob.com>
29359
29360 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29361 and _dl_skip_args_internal.
29362
e8dd4791
CD
293632013-05-07 Carlos O'Donell <carlos@redhat.com>
29364
29365 * manual/message.texi (Message Translation): Talk about users.
29366 Message to key mapping impacts design.
29367
c7405830
RM
293682013-05-06 Roland McGrath <roland@hack.frob.com>
29369
a9173057
RM
29370 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29371
976e2f03
RM
29372 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29373
9723ffc5
RM
29374 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29375 * sysdeps/wordsize-64/glob64.c: ... here.
29376
962e6658
RM
29377 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29378 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29379 New macros.
29380
ee586a6d
RM
29381 * debug/getlogin_r_chk.c: Moved to ...
29382 * login/getlogin_r_chk.c: ... here.
29383 * debug/Makefile (routines): Move getlogin_r_chk to ...
29384 * login/Makefile (routines): ... here.
29385 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29386 * login/Versions (libc: GLIBC_2.4): ... here.
29387
355f9165
RM
29388 * io/poll.c (__poll): Renamed from poll.
29389 Add libc_hidden_def.
29390 (poll): Define as weak alias.
29391
bd9ffde6
RM
29392 * debug/ptsname_r_chk.c: Moved to ...
29393 * login/ptsname_r_chk.c: ... here.
29394 * debug/Makefile (routines): Move ptsname_r_chk to ...
29395 * login/Makefile (routines): ... here.
29396 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29397 * login/Versions (libc: GLIBC_2.4): ... here.
29398
8fb16a04
RM
29399 * posix/getlogin.c: Moved to ...
29400 * login/getlogin.c: ... here.
29401 * posix/getlogin_r.c: Moved to ...
29402 * login/getlogin_r.c: ... here.
29403 * posix/getlogin_r.c: Moved to ...
29404 * login/getlogin_r.c: ... here.
29405 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29406 * login/Makefile (routines): ... here.
29407 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29408 * login/Versions (libc: GLIBC_2.0): ... here.
29409
b99b892f
RM
29410 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29411 (setrlimit): Define as weak alias.
29412
c7405830
RM
29413 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29414 Call __ names for open, ftruncate, and close.
29415 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29416 (truncate): Define as weak alias.
29417
5bf96de5
JM
294182013-05-06 Joseph Myers <joseph@codesourcery.com>
29419
9ea3513c
JM
29420 * math/gen-libm-test.pl (parse_args): Initialize x before each
29421 test of frexp, modf and remquo.
29422
5bf96de5
JM
29423 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29424 test signgam value.
29425
16e616a7
AZ
294262013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29427
29428 [BZ #15418]
29429 [BZ #15419]
29430 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29431 internal tests.
29432 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29433
d5e82754
RM
294342013-05-06 Roland McGrath <roland@hack.frob.com>
29435
29436 * elf/dl-writev.h: New file.
29437 * elf/dl-misc.c: Include it.
29438 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29439 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29440
a7548d41
JM
294412013-05-04 Joseph Myers <joseph@codesourcery.com>
29442
b7dab1e4
JM
29443 * math/libm-test.inc (noXFails): Remove variable.
29444 (noXPasses): Likewise.
29445 (BUILD_COMPLEX_INT): Remove macro.
29446 (print_screen): Remove xfail argument.
29447 (print_screen_max_error): Likewise.
29448 (update_stats): Likewise.
29449 (print_max_error): Likewise. Update calls to other affected
29450 functions.
29451 (print_complex_max_error): Likewise.
29452 (test_single_exception): Update calls to print_screen.
29453 (test_single_errno): Likewise.
29454 (check_float_internal): Remove xfail argument. Update calls to
29455 other affected functions.
29456 (check_float): Likewise.
29457 (check_complex): Likewise.
29458 (check_int): Likewise.
29459 (check_long): Likewise.
29460 (check_bool): Likewise.
29461 (check_longlong): Likewise.
29462 (main): Don't print noXFails and noXPasses.
29463 * math/gen-libm-test.pl (top level): Don't mention expected
29464 failure handling in comment.
29465 (new_test): Don't handle expected failures.
29466 (parse_args): Don't mention expected failure handling in comment.
29467 (generate_testfile): Don't handle expected failures.
29468 (parse_ulps): Likewise.
29469 (print_ulps_file): Likewise.
29470 (get_failure): Remove function.
29471 (output_test): Don't handle expected failures.
29472 * make/README.libm-test: Don't mention expected failure handling.
29473
a7548d41
JM
29474 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29475 (minus_zero): Likewise.
29476 (plus_infty): Likewise.
29477 (minus_infty): Likewise.
29478 (qnan_value): Likewise.
29479 (max_value): Likewise.
29480 (min_value): Likewise.
29481 (min_subnorm_value): Likewise.
29482 (initialize): Do not initialize those variables dynamically.
29483
60bfd54c
RM
294842013-05-03 Roland McGrath <roland@hack.frob.com>
29485
cc0e6ed8
RM
29486 * io/open.c (__open_2): Moved to ...
29487 * io/open_2.c: ... this new file.
29488 * io/open64.c (__open64_2): Moved to ...
29489 * io/open64_2.c: ... this new file.
29490 * io/openat.c (__openat_2): Moved to ...
29491 * io/openat_2.c: ... this new file.
29492 * io/openat64.c (__openat64_2): Moved to ...
29493 * io/openat64_2.c: ... this new file.
29494 * io/Makefile (routines): Add them.
29495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29496 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29497 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29498 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29499 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29500 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29501 (__openat64): Add hidden_ver.
29502 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29503 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29504
60bfd54c
RM
29505 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29506 Separately conditionalize setting of GLRO(dl_sysinfo) so
29507 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29508 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29509
83e7640f
AZ
295102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29511
29512 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29513 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29514 definition.
29515 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29516 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29517 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29518 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29519 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29520
d5dc2af3
JM
295212013-05-03 Joseph Myers <joseph@codesourcery.com>
29522
c31a5b1e
JM
29523 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29524 test signgam value.
29525
d5dc2af3
JM
29526 * math/libm-test.inc (hypot_test): Do not use
29527 IGNORE_ZERO_INF_SIGN.
29528
164fd39d
AJ
295292013-05-03 Andreas Jaeger <aj@suse.de>
29530
29531 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29532 Linux 3.9.
29533 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29534 (PF_MAX): Adjust for VSOCK change.
29535
8237f48c
AZ
295362013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29537
29538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29539
9df02941
CD
295402013-05-02 Carlos O'Donell <carlos@redhat.com>
29541
29542 [BZ #15264]
29543 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29544 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29545 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29546
d422395e
DM
295472013-05-02 David S. Miller <davem@davemloft.net>
29548
29549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29550
a07c5731
OB
295512013-05-01 Ondřej Bílka <neleai@seznam.cz>
29552
29553 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29554
1324e37f
RM
295552013-05-01 Roland McGrath <roland@hack.frob.com>
29556
29557 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29558
0695940b
RS
295592013-05-01 Richard Smith <richard@metafoo.co.uk>
29560
bb5f27ad 29561 [BZ #14952]
0695940b
RS
29562 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29563 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29564 Use __attribute__ ((__gnu_inline__)).
29565 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29566 Don't use __attribute__ ((__gnu_inline__)).
29567
10de07f5
JM
295682013-05-01 Joseph Myers <joseph@codesourcery.com>
29569
29570 [BZ #15423]
29571 * math/s_catan.c (__catan): Handle small real or imaginary part of
29572 input specially to avoid spurious underflow.
29573 * math/s_catanf.c (__catanf): Likewise.
29574 * math/s_catanh.c (__catanh): Likewise.
29575 * math/s_catanhf.c (__catanhf): Likewise.
29576 * math/s_catanhl.c (__catanhl): Likewise.
29577 * math/s_catanl.c (__catanl): Likewise.
29578 * math/libm-test.inc (catan_test): Add more tests.
29579 (catanh_test): Likewise.
29580 * sysdeps/i386/fpu/libm-test-ulps: Update.
29581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29582
cb4d5414
AZ
295832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29584
29585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29586
caf84319
JM
295872013-04-30 Joseph Myers <joseph@codesourcery.com>
29588
29589 [BZ #15416]
29590 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29591 accurately for denominator in atan2.
29592 * math/s_catanf.c (__catanf): Likewise.
29593 * math/s_catanh.c (__catanh): Likewise.
29594 * math/s_catanhf.c (__catanhf): Likewise.
29595 * math/s_catanhl.c (__catanhl): Likewise.
29596 * math/s_catanl.c (__catanl): Likewise.
29597 * math/libm-test.inc (catan_test): Add more tests.
29598 (catanh_test): Likewise.
29599 * sysdeps/i386/fpu/libm-test-ulps: Update.
29600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29601
d569c6ee
SP
296022013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29603
6dbe713d
SP
29604 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29605
f0ee064b
SP
29606 * benchtests/Makefile (bench): Remove slow benchmarks.
29607 * benchtests/atan-inputs: Add slow benchmark inputs.
29608 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29609 (BENCH_FUNC): Accept variant offset.
29610 (VARIANT): Define.
29611 * benchtests/bench-skeleton.c (main): Run benchmark for each
29612 variant.
29613 * benchtests/cos-inputs: Add slow benchmark inputs.
29614 * benchtests/exp-inputs: Likewise.
29615 * benchtests/pow-inputs: Likewise.
29616 * benchtests/sin-inputs: Likewise.
29617 * benchtests/slowatan-inputs: Remove.
29618 * benchtests/slowatan.c: Remove.
29619 * benchtests/slowcos-inputs: Remove.
29620 * benchtests/slowcos.c: Remove.
29621 * benchtests/slowexp-inputs: Remove.
29622 * benchtests/slowexp.c: Remove.
29623 * benchtests/slowpow-inputs: Remove.
29624 * benchtests/slowpow.c: Remove.
29625 * benchtests/slowsin-inputs: Remove.
29626 * benchtests/slowsin.c: Remove.
29627 * benchtests/slowtan-inputs: Remove.
29628 * benchtests/slowtan.c: Remove.
29629 * benchtests/tan-inputs: Add slow benchmark inputs.
29630 * scripts/bench.pl: Parse comments and directives.
29631
d569c6ee
SP
29632 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29633 in CPPFLAGS.
29634 ($(objpfx)bench-%.c): Remove *-ITER.
29635 * benchtests/bench-modf.c: Remove definition of ITER.
29636 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29637 (main): Loop for DURATION seconds instead of fixed number of
29638 iterations.
29639 * scripts/bench.pl: Don't expect iterations in parameters.
29640
a6a242fe
RM
296412013-04-29 Roland McGrath <roland@hack.frob.com>
29642
29643 * io/fchdir.c (__fchdir): Renamed from fchdir.
29644 (fchdir): Define as weak alias.
29645
f2da7793
JM
296462013-04-29 Joseph Myers <joseph@codesourcery.com>
29647
29648 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29649 (ERRNO_EDOM): Likewise.
29650 (ERRNO_ERANGE): Likewise.
29651 (noErrnoTests): New variable.
29652 (init_max_error): Set errno to 0.
29653 (test_single_errno): New function.
29654 (test_errno): Likewise.
29655 (check_float_internal): Call test_errno. Set errno to 0.
29656 (check_complex): Refer to errno tests in comment.
29657 (check_int): Call test_errno. Set errno to 0.
29658 (check_long): Likewise.
29659 (check_bool): Likewise.
29660 (check_longlong): Likewise.
29661 (cos_test): Use ERRNO_* flags for errno tests instead of
29662 check_int.
29663 (expm1_test): Likewise.
29664 (fmod_test): Likewise.
29665 (ilogb_test): Likewise.
29666 (lgamma_test): Likewise.
29667 (pow_test): Likewise.
29668 (remainder_test): Likewise.
29669 (sin_test): Likewise.
29670 (tan_test): Likewise.
29671 (yn_test): Likewise.
29672 (initialize): Set errno to 0.
29673 (main): Print number of errno tests.
29674 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29675
b1a36ceb
AJ
296762013-04-29 Andreas Jaeger <aj@suse.de>
29677
c3ed8088
AJ
29678 [BZ #15084]
29679 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29680 and RES_USEVC.
29681
f1a24198
AJ
29682 [BZ #15085]
29683 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29684 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29685 unimplemented.
29686
9ce3b2cb
AJ
29687 [BZ #15380]
29688 * stdlib/random.c (__initstate): Return NULL if
29689 __initstate fails.
29690
f1a24198 29691 [BZ #15086]
b1a36ceb
AJ
29692 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29693 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29694 RES_SNGLKUPREOP.
29695
7e7b6f36
AZ
296962013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29697
29698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29699
4d14f449
JM
297002013-04-29 Joseph Myers <joseph@codesourcery.com>
29701
29702 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29703 of individual tests.
29704 (casin_test): Likewise.
29705 (casinh_test): Likewise.
29706
5b4217d7
JM
297072013-04-27 Joseph Myers <joseph@codesourcery.com>
29708
29709 [BZ #15409]
29710 * math/s_catan.c (__catan): Handle arguments with large real or
29711 imaginary part separately without squaring.
29712 * math/s_catanf.c (__catanf): Likewise.
29713 * math/s_catanh.c (__catanh): Likewise.
29714 * math/s_catanhf.c (__catanhf): Likewise.
29715 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29716 and redefine.
29717 (__catanhl): Handle arguments with large real or imaginary part
29718 separately without squaring.
29719 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29720 and redefine.
29721 (__catanl): Handle arguments with large real or imaginary part
29722 separately without squaring.
29723 * math/libm-test.inc (catan_test): Add more tests.
29724 (catanh_test): Likewise.
29725 * sysdeps/i386/fpu/libm-test-ulps: Update.
29726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29727
4220c3ef
AJ
297282013-04-27 Andreas Jaeger <aj@suse.de>
29729
29730 [BZ #15007]
29731 * stdlib/stdlib.h: Update guards for qecvt.
29732 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29733 <stdlib.h>.
29734
4721b2d1
AM
297352013-04-27 Allan McRae <allan@archlinux.org>
29736
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738
f0302940
JM
297392013-04-26 Joseph Myers <joseph@codesourcery.com>
29740
9457fd95
JM
29741 [BZ #15406]
29742 * math/s_catan.c: Include <float.h>.
29743 (__catan): Ensure underflow exception occurs for underflowed
29744 result.
29745 * math/s_catanf.c: Include <float.h>.
29746 (__catanf): Ensure underflow exception occurs for underflowed
29747 result.
29748 * math/s_catanh.c: Include <float.h>.
29749 (__catanh): Ensure underflow exception occurs for underflowed
29750 result.
29751 * math/s_catanhf.c: Include <float.h>.
29752 (__catanhf): Ensure underflow exception occurs for underflowed
29753 result.
29754 * math/s_catanhl.c: Include <float.h>.
29755 (__catanhl): Ensure underflow exception occurs for underflowed
29756 result.
29757 * math/s_catanl.c: Include <float.h>.
29758 (__catanl): Ensure underflow exception occurs for underflowed
29759 result.
29760 * math/libm-test.inc (catan_test): Add more tests.
29761 (catanh_test): Likewise.
29762
f0302940
JM
29763 [BZ #15405]
29764 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29765 underflowed result.
29766 * math/s_ccoshf.c (__ccoshf): Likewise.
29767 * math/s_ccoshl.c (__ccoshl): Likewise.
29768 * math/s_csin.c (__csin): Likewise.
29769 * math/s_csinf.c (__csinf): Likewise.
29770 * math/s_csinh.c (__csinh): Likewise.
29771 * math/s_csinhf.c (__csinhf): Likewise.
29772 * math/s_csinhl.c (__csinhl): Likewise.
29773 * math/s_csinl.c (__csinl): Likewise.
29774 * math/libm-test.inc (ccos_test): Add more tests.
29775 (ccosh_test): Likewise.
29776 (csin_test): Likewise.
29777 (csinh_test): Likewise.
29778
aa630f59
AZ
297792013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29780
29781 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29782 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29783 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29784 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29785 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29786 powerpc/power5+/fpu folders.
29787 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29788
29789
1b835983
MT
297902013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29791
29792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29793
73709b26
JM
297942013-04-25 Joseph Myers <joseph@codesourcery.com>
29795
29796 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29797 additions to variable.
29798 [$(config-machine) = x86_64] (modules-names): Likewise.
29799 ($(objpfx)tst-audit3): Remove dependency.
29800 ($(objpfx)tst-audit3.out): Likewise.
29801 ($(objpfx)tst-audit4): Likewise.
29802 ($(objpfx)tst-audit4.out): Likewise.
29803 ($(objpfx)tst-audit5): Likewise.
29804 ($(objpfx)tst-audit5.out): Likewise.
29805 ($(objpfx)tst-audit6): Likewise.
29806 ($(objpfx)tst-audit6.out): Likewise.
29807 ($(objpfx)tst-audit7): Likewise.
29808 ($(objpfx)tst-audit7.out): Likewise.
29809 (tst-audit3-ENV): Remove variable.
29810 (tst-audit4-ENV): Likewise.
29811 (tst-audit5-ENV): Likewise.
29812 (tst-audit6-ENV): Likewise.
29813 (tst-audit7-ENV): Likewise.
29814 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29815 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29816 addition to variable.
29817 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29818 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29819 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29820 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29821 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29822 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29823 tst-audit3, tst-audit4 and tst-audit5.
29824 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29825 tst-audit6 and tst-audit7.
29826 [$(subdir) = elf] (modules-names): Add audit modules for those
29827 tests.
29828 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29829 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29830 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29831 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29832 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29833 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29834 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29835 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29836 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29837 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29838 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29839 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29840 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29841 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29842 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29843 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29844 Likewise.
29845 [$(subdir) = elf && $(config-cflags-avx) = yes]
29846 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29847 [$(subdir) = elf && $(config-cflags-avx) = yes]
29848 (CFLAGS-tst-auditmod4a.c): Likewise.
29849 [$(subdir) = elf && $(config-cflags-avx) = yes]
29850 (CFLAGS-tst-auditmod4b.c): Likewise.
29851 [$(subdir) = elf && $(config-cflags-avx) = yes]
29852 (CFLAGS-tst-auditmod6b.c): Likewise.
29853 [$(subdir) = elf && $(config-cflags-avx) = yes]
29854 (CFLAGS-tst-auditmod6c.c): Likewise.
29855 [$(subdir) = elf && $(config-cflags-avx) = yes]
29856 (CFLAGS-tst-auditmod7b.c): Likewise.
29857 * elf/tst-audit3.c: Move to ...
29858 * sysdeps/x86_64/tst-audit3.c: ... here.
29859 * elf/tst-audit4.c: Move to ...
29860 * sysdeps/x86_64/tst-audit4.c: ... here.
29861 * elf/tst-audit5.c: Move to ...
29862 * sysdeps/x86_64/tst-audit5.c: ... here.
29863 * elf/tst-audit6.c: Move to ...
29864 * sysdeps/x86_64/tst-audit6.c: ... here.
29865 * elf/tst-audit7.c: Move to ...
29866 * sysdeps/x86_64/tst-audit7.c: ... here.
29867 * elf/tst-auditmod3a.c: Move to ...
29868 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29869 * elf/tst-auditmod3b.c: Move to ...
29870 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29871 * elf/tst-auditmod4a.c: Move to ...
29872 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29873 * elf/tst-auditmod4b.c: Move to ...
29874 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29875 * elf/tst-auditmod5a.c: Move to ...
29876 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29877 * elf/tst-auditmod5b.c: Move to ...
29878 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29879 * elf/tst-auditmod6a.c: Move to ...
29880 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29881 * elf/tst-auditmod6b.c: Move to ...
29882 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29883 * elf/tst-auditmod6c.c: Move to ...
29884 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29885 * elf/tst-auditmod7a.c: Move to ...
29886 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29887 * elf/tst-auditmod7b.c: Move to ...
29888 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29889
1ef74943
PP
298902013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29891
29892 [BZ #15366]
29893 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29894 define unconditionally.
29895 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29896 define unconditionally.
29897 (INT8_C, INT16_C, etc.): Likewise.
29898
93fd48c5
MR
298992013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29900
ae9552cf
MR
29901 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29902 __ehdr_start with hidden visibility.
29903
93fd48c5
MR
29904 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29905
418601aa
CD
299062013-04-24 Carlos O'Donell <carlos@redhat.com>
29907
29908 * math/libm-test.inc (cos_test): Use accurate hex constants.
29909 (sincost_test): Likewise.
29910
2f38fbfe
JM
299112013-04-24 Joseph Myers <joseph@codesourcery.com>
29912
5e221800
JM
29913 * math/libm-test.inc (catan_test): Add more tests.
29914 (catanh_test): Likewise.
29915
77f143fd
JM
29916 * math/s_catanf.c (__catanf): Use suffixed floating-point
29917 constants.
29918 * math/s_catanhf.c (__catanhf): Likewise.
29919 * math/s_catanhl.c (__catanhl): Likewise.
29920 * math/s_catanl.c (__catanl): Likewise.
29921
2f38fbfe
JM
29922 [BZ #15394]
29923 * math/s_catan.c (__catan): Calculate imaginary part of result
29924 with log1p not log unless computing log of number close to 0.
29925 * math/s_catanf.c (__catanf): Likewise.
29926 * math/s_catanl.c (__catanl): Likewise.
29927 * math/s_catanh.c (__catanh): Calculate real part of result with
29928 log1p not log unless computing log of number close to 0.
29929 * math/s_catanhf.c (__catanhf): Likewise.
29930 * math/s_catanhl.c (__catanhl): Likewise.
29931 * math/libm-test.inc (catan_test): Add more tests.
29932 (catanh_test): Likewise.
29933 * sysdeps/i386/fpu/libm-test-ulps: Update.
29934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29935
45d69176
SP
299362013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29937
29938 * benchtests/Makefile: Mention files in which fast and slow
29939 paths of math functions are implemented.
29940
87f51853
RM
299412013-04-23 Roland McGrath <roland@hack.frob.com>
29942
29943 * sysdeps/posix/timespec_get.c: New file.
29944
3c026539
AZ
299452013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29946
29947 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29948 POWER.
29949 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29950 for POWER.
29951 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29952 powerpc/power5/fpu folders.
29953 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29954 * benchtests/Makefile: Add modf testcase.
29955 * benchtests/bench-modf.c: New file: Benchmark test for mo
29956
ff491d14
SP
299572013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29958
29959 [BZ #14888]
29960 * time/Makefile (tests): Add tst-strptime-whitespace.
29961 * time/strptime_l.c (get_number): Use ISSPACE.
29962 (__strptime_internal): Likewise.
29963 * time/tst-strptime-whitespace.c: New test case.
29964
7ed3f4e8
AS
299652013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29966
29967 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29968 member.
29969 (_nss_files_init): Set it here.
29970
5c95f7b6
HC
299712013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29972
29973 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29974 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29975 unsigned.
29976
d34c9158
JBG
299772013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29978
29979 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29980
2169712d
SP
299812013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29982
29983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29984 size just once.
29985
29c5de99
DM
299862013-04-21 David S. Miller <davem@davemloft.net>
29987
29988 * po/ru.po: Update Russion translation from translation project.
29989
ccdad15d
AC
299902013-04-17 Adam Conrad <adconrad@0c3.net>
29991
29992 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29993 and setfsgid.
29994
0f122b8d
CD
299952013-04-17 Carlos O'Donell <carlos@redhat.com>
29996
5c5b07da 29997 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29998 * configure: Regenerate.
5c5b07da 29999 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30000 Add example to error message.
30001 * sysdeps/i386/configure: Regenerate.
30002
037714dd
SP
300032013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30004
30005 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30006 slowtan.
30007 * benchtests/cos-inputs: New file.
30008 * benchtests/slowcos-inputs: New file.
30009 * benchtests/slowcos.c: New file.
30010 * benchtests/slowtan-inputs: New file.
30011 * benchtests/slowtan.c: New file.
30012 * benchtests/tan-inputs: New file.
30013
e913141d
RM
300142013-04-16 Roland McGrath <roland@hack.frob.com>
30015
30016 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30017 considered kosher.
30018
a2964074
SP
300192013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30020
4856bcd2
SP
30021 * benchtests/Makefile: Include cppflags-iterator.mk to add
30022 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30023
a2964074
SP
30024 * Makefile.in (bench-clean): New target.
30025 * benchtests/Makefile (bench-clean): Likewise.
30026
9fbf9aca
DH
300272013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30028
30029 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30030
207d1e2a
TS
300312013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30032
30033 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30034
306dfba9
AS
300352013-04-15 Andreas Schwab <schwab@suse.de>
30036
30037 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30039 * nscd/pwdcache.c (cache_addpw): Likewise.
30040 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30041 more than recsize.
30042
206a6699
SP
300432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30044
30045 * benchtests/Makefile (bench): Write all output to
30046 bench-out.tmp together.
30047
0582f6b3
AS
300482013-04-15 Andreas Schwab <schwab@suse.de>
30049
30050 * nscd/nscd.c (main): Don't fork again after closing files.
30051
acb4325f
SP
300522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30053
5cb26d0a
SP
30054 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30055
acb4325f
SP
30056 * benchtests/Rules (bench-deps): Collect dependencies into a
30057 single variable. Add Makefile to dependencies.
30058 ($(objpfx)bench-%.c): Depend on bench-deps.
30059
47792506
RM
300602013-04-12 Roland McGrath <roland@hack.frob.com>
30061 Xavier Roche <roche+kml2@exalead.com>
30062
30063 [BZ #15361]
30064 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30065 just that it's a file descriptor.
30066 * manual/llio.texi (Synchronizing AIO Operations): Update description
30067 for EBADF error from aio_fsync.
30068
8fc1bee5
SP
300692013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30070
30071 * Rules (bench): Move target definition...
30072 * benchtests/Makefile: ... here.
30073
aba5e333
CD
300742013-04-11 Carlos O'Donell <carlos@redhat.com>
30075
30076 * math/libm-test.inc (cos_test): Fix PI/2 test.
30077 (sincos_test): Likewise.
30078 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30079 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30080
273cdee8
AS
300812013-04-11 Andreas Schwab <schwab@suse.de>
30082
6ecec3b6
AS
30083 [BZ #13988]
30084 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30085 accept exponent character only when digits were seen.
30086 * stdio-common/Makefile (tests): Add bug26.
30087 * stdio-common/bug26.c: New file.
30088
273cdee8
AS
30089 [BZ #14293]
30090 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30091 non-freeable.
30092
8da491f5
SP
300932013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30094
01dc6df9
SP
30095 * Makeconfig (rtld-prefix): Define built linker prefix.
30096 * Rules (run-bench): Use it.
30097 * math/Makefile (run-regen-ulps): Likewise.
30098
8da491f5
SP
30099 * Rules (bench): Remove eval.
30100
abe7f530
SP
301012013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30102 Roland McGrath <roland@hack.frob.com>
30103 Ondrej Bilka <neleai@seznam.cz>
30104
30105 [BZ #15346]
30106 * time/getdate.c: Include ctype.h and alloca.h.
30107 (__getdate_r): Trim leading and trailing spaces of input.
30108 * time/tst-getdate.c (tests): Add tests with leading and
30109 trailing spaces.
30110
61c23e62
RM
301112013-04-08 Roland McGrath <roland@hack.frob.com>
30112
30113 [BZ #14280]
30114 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30115 when computing value.
30116
7208a313
CD
301172013-04-06 Carlos O'Donell <carlos@redhat.com>
30118
085b2d41
CD
30119 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30120 Use testrun.sh to run libm tests.
30121
7208a313
CD
30122 [BZ #15309]
30123 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30124
872c0acd
MM
301252013-04-06 Marko Myllynen <myllynen@redhat.com>
30126
30127 [BZ #15264]
30128 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30129
26510bdd
CD
301302013-04-06 Carlos O'Donell <carlos@redhat.com>
30131
30132 * Makefile.in (regen-ulps): New target.
30133 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30134 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30135 [ifneq (no,$(PERL)] (regen-ulps): New target.
30136 [ifeq (no,$(PERL)] (regen-ulps): New target.
30137 * math/libm-test.inc (ulps_file_name): Define.
30138 (output_dir): New variable.
30139 (options): Add "output-dir" option.
30140 (parse_opt): Handle 'o' case.
30141 (main): If output_dir is non-NULL use it as a prefix
30142 otherwise use "".
30143 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30144
a01f19c8
CD
301452013-04-06 Carlos O'Donell <carlos@redhat.com>
30146
30147 [BZ #10060, #10062]
30148 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30149 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30150 fail configure if __sync_val_compare_and_swap is not inlined.
30151 * sysdeps/i386/configure: Regenerate.
30152 * configure.in: Build for i686 when configured for i386.
30153 * configure: Regenerate.
30154 * README: Remove i386 reference.
30155
b7a329a5
CD
301562013-04-06 Carlos O'Donell <carlos@redhat.com>
30157
30158 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30160
bf0f50df
TS
301612013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30162
ee091edf
TS
30163 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30164 (lmsnanval): New variables.
30165 (F): Add conversion tests.
30166 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30167 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30168
a8b792d6
TS
30169 * stdio-common/tstdiomisc.c (F): Properly collect individual
30170 tests' results.
30171
a1cbf437
TS
30172 [BZ #14686, #15336]
30173 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30174 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30175 Instead, use input NaN values or generate a qNaN by arithmetic
30176 operation. Also fix bugs to comply with the standard.
30177 * math/libm-test.inc (remainder_test): Add more tests.
30178
8b43a0c9
TS
30179 [BZ #15335, #15342]
30180 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30182 input NaN values or generate a qNaN by arithmetic operation.
30183
d91da4ce
TS
30184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30185 unreachable code.
30186
bf0f50df
TS
30187 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30188 definitions.
30189
05e166c8
JM
301902013-04-03 Joseph Myers <joseph@codesourcery.com>
30191
30192 [BZ #14478]
30193 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30194 underflowed result.
30195 * math/s_cexpf.c (__cexpf): Likewise.
30196 * math/s_cexpl.c (__cexpl): Likewise.
30197 * math/libm-test.inc (cexp_test): Add more tests.
30198
1cef1b19
AS
301992013-04-03 Andreas Schwab <schwab@suse.de>
30200
30201 [BZ #15330]
30202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30203 order arrays from heap if bigger than alloca cutoff.
30204
74d87055
TS
302052013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30206
30207 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30208 (SNAN_TESTS_double): Refer to GCC PR56831.
30209 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30210 GCC PR56828.
30211
d755bba4
SP
302122013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30213
90d5d5bb
SP
30214 * Rules (bench): Move bench.out after the run is complete.
30215
73e0cd5d
SP
30216 * Rules (bench): Echo currently running benchmark.
30217
64aabd4b
SP
30218 * benchtests/Makefile (bench): Add atan and slowatan.
30219 * benchtests/atan-inputs: New file.
30220 * benchtests/slowatan-inputs: New file.
30221 * benchtests/slowatan.c: New file.
30222
c871eccd
SP
30223 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30225 its value.
30226
d755bba4
SP
30227 [BZ #15305]
30228 * sysdeps/unix/sysv/linux/kernel-features.h
30229 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30230 __ASSUME_XFS_RESTRICTED_CHOWN.
30231 * sysdeps/unix/sysv/linux/pathconf.c
30232 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30233 Save and restore errno.
30234
52ce4860
JM
302352013-04-02 Joseph Myers <joseph@codesourcery.com>
30236
30237 [BZ #15327]
30238 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30239 arguments using __kernel_casinh.
30240 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30241 arguments using __kernel_casinhf.
30242 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30243 arguments using __kernel_casinhl.
30244 * math/libm-test.inc (cacosh_test): Add more tests.
30245 * sysdeps/i386/fpu/libm-test-ulps: Update.
30246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30247
81f311c2
SP
302482013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30249
e7906a47
SP
30250 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30251 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30252
92e3664b
SP
30253 * bench/Makefile (bench): Add sin and slowsin.
30254 * benchtests/sin-inputs: New file.
30255 * benchtests/slowsin-inputs: New file.
30256 * benchtests/slowsin.c: New file.
30257
81f311c2
SP
30258 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30259 (bench): Add slowexp and slowpow.
30260 (exp-ITER): Increase iterations.
30261 (pow-ITER): Likewise.
30262 * benchtests/exp-inputs: Change input.
30263 * benchtests/pow-inputs: Likewise.
30264 * benchtests/slowexp-inputs: New file.
30265 * benchtests/slowexp.c: New file.
30266 * benchtests/slowpow-inputs: New file.
30267 * benchtests/slowpow.c: New file.
30268
ab0f1aa9
AZ
302692013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30270
30271 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30272 instructions.
30273 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30274 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30275 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30276 * benchtests/Makefile: Add rint benchtest.
30277 * benchtests/rint-inputs: Input for rint benchtest.
30278
57267616
TS
302792013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30280
30281 * Versions.def (libm): Add GLIBC_2.18.
30282 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30283 hidden libm prototypes.
30284 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30285 * math/Makefile (libm-calls): Add s_issignaling.
30286 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30287 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30288 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30289 declaration.
30290 * math/math.h [__USE_GNU] (issignaling): New macro.
30291 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30292 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30293 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30294 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30297 * manual/arith.texi (issignaling): New section.
30298 * manual/libm-err-tab.pl (@all_functions): Update comment.
30299 * math/gen-libm-test.pl (parse_args): Apply special handling for
30300 issignaling.
30301 * math/libm-test.inc (print_float, issignaling_test): New
30302 functions.
30303 (check_float_internal): Add issignaling checks.
30304 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30305 default definition.
30306 * sysdeps/powerpc/math-tests.h: New file.
30307 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30308 tests.
30309 * math/test-snan.c (TEST_FUNC): Likewise.
30310
6142896d
DM
303112013-03-30 David S. Miller <davem@davemloft.net>
30312
30313 * po/de.po: Update from translation team.
30314
ccc8cadf
JM
303152013-03-30 Joseph Myers <joseph@codesourcery.com>
30316
30317 [BZ #10357]
30318 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30319 imaginary part less than 1.0 and real part less than 0.5
30320 specially.
30321 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30322 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30323 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30324 (cacos_test): Add more tests.
30325 (casin_test): Likewise.
30326 (casinh_test): Likewise.
30327 * sysdeps/i386/fpu/libm-test-ulps: Update.
30328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30329
0f6a8d4b
SP
303302013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30331
0d1029de
SP
30332 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30333 ONE with its value.
30334
c2d94018
SP
30335 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30336 (__pow_mp): Replace ONE and MONE with their values.
30337 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30338 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30339 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30340 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30341 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30343
27ec37f1
SP
30344 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30345
a64d7e0e
SP
30346 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30347 (__pow_mp): Replace ZERO and MZERO with their values.
30348 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30350 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30352 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30353 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30354 (__sqr): Likewise.
30355
d26dd3eb
SP
30356 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30357
0f6a8d4b
SP
30358 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30359
e57b0c61
RM
303602013-03-28 Roland McGrath <roland@hack.frob.com>
30361
30362 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30363 Declare with __attribute__ ((weak)).
30364 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30365 Call __call_tls_dtors only if it's not NULL.
30366
356b3480
RM
303672013-03-28 Roland McGrath <roland@hack.frob.com>
30368
288f7d79
RM
30369 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30370 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30371 magic __ehdr_start linker symbol if it's defined.
30372 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30373 them up here if it was already done.
30374
dc0a0263
RM
30375 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30376 (_dl_aux_init): Use const in cast when setting it.
30377 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30378 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30379 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30380
3d3436ae
RM
30381 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30382 Declare them here.
30383 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30384 * csu/libc-tls.c: Nor here.
30385 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30386
356b3480
RM
30387 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30388 (__libc_message): Never call vsyslog.
30389
b0f1246a
AM
303902013-03-28 Alan Modra <amodra@gmail.com>
30391
30392 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30393 Define as empty.
30394 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30395 Likewise.
30396
fbbe2b9a
AZ
303972013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30398
30399 [BZ #15214]
30400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30401 underflow.
30402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30403
1728ab37
SP
304042013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30405
7a86be6e
SP
30406 [BZ #15304]
30407 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30408 Don't add gid passed as argument.
30409
1728ab37
SP
30410 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30411
3a7182a1
JM
304122013-03-27 Joseph Myers <joseph@codesourcery.com>
30413
30414 [BZ #15307]
30415 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30416 imaginary part between 1.0 and 1.5 and real part less than 0.5
30417 specially.
30418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30420 * math/libm-test.inc (cacos_test): Add more tests.
30421 (casin_test): Likewise.
30422 (casinh_test): Likewise.
30423 * sysdeps/i386/fpu/libm-test-ulps: Update.
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30425
6f2e90e7
SP
304262013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30427
5739f705
SP
30428 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30429 constants.
30430 (norm): Likewise.
30431 (denorm): Likewise.
30432 (__dbl_mp): Likewise.
30433 (add_magnitudes): Likewise.
30434 (sub_magnitudes): Likewise.
30435 (__add): Likewise.
30436 (__sub): Likewise.
30437 (__mul): Likewise.
30438 (__sqr): Likewise.
30439 (__inv): Likewise.
30440 (__dvd): Likewise.
30441
e375e83d
SP
30442 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30443 commented code.
30444 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30445 (__dubcos): Likewise.
30446 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30447 (__ieee754_acos): Likewise.
30448 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30449 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30450 (__exp1): Likewise.
30451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30453 (log1): Likewise.
30454 (my_log2): Likewise.
30455 (checkint): Likewise.
30456 * sysdeps/ieee754/dbl-64/e_remainder.c
30457 (__ieee754_remainder): Likewise.
30458 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30460 (bsloww): Likewise.
30461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30462
6f2e90e7
SP
30463 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30464 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30465 MANTISSA_STORE_T to store computations on mantissa. Use
30466 macros for rounding and division.
30467 (denorm): Likewise.
30468 (__dbl_mp): Likewise.
30469 (add_magnitudes): Likewise.
30470 (sub_magnitudes): Likewise.
30471 (__mul): Likewise.
30472 (__sqr): Likewise.
30473 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30474 powers of two in terms of TWOPOW macro.
30475 (mp_no): Make type of mantissa as MANTISSA_T.
30476 [!RADIXI]: Define RADIXI.
30477 [!TWO52]: Define TWO52.
30478 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30479
fce14d4e
AZ
304802013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30481
30482 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30483 llroundl symbol when building for PPC32.
30484
9ad027fb
MW
304852013-03-24 Mark H Weaver <mhw@netris.org>
30486
30487 * manual/arith.texi (Normalization Functions): Fix prototypes for
30488 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30489
e42a38dd
AZ
304902013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30491
30492 [BZ #13889]
30493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30494 high value to check if expl overflow.
30495 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30496 to check for underflow and overflow.
30497 * math/libm-test.inc: Add exp test.
30498
2e0fb521
DL
304992013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30500
30501 [BZ #11120]
30502 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30503 with NOT_IN_libc.
30504
b5784d95
AZ
305052013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30506
30507 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30508 symbol.
30509
5aa4a1a1
TS
305102013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30511
bdef0be7
TS
30512 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30513 wrap blocks consisting of several statements.
30514
5aa4a1a1
TS
30515 * sysdeps/generic/math-tests.h: New file.
30516 * sysdeps/i386/fpu/math-tests.h: Likewise.
30517 * math/test-snan.c: Include it.
30518 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30519
98c48fe5
JM
305202013-03-21 Joseph Myers <joseph@codesourcery.com>
30521
30522 [BZ #15285]
30523 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30524 (__ieee754_j0l): Do not improve calculations using cos of twice
30525 input for inputs above LDBL_MAX / 2.0L.
30526 (__ieee754_y0l): Likewise.
30527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30528 (__ieee754_j1l): Do not improve calculations using cos of twice
30529 input for inputs above LDBL_MAX / 2.0L.
30530 (__ieee754_y1l): Likewise.
30531 * math/libm-test.inc (j0_test): Add another test.
30532 (j1_test): Likewise.
30533 (y0_test): Likewise.
30534 (y1_test): Likewise.
30535 * sysdeps/i386/fpu/libm-test-ulps: Update.
30536
3775a8bc
SP
305372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30538
30539 * Rules ($(objpfx)bench-%.c): Include code from a C source
30540 file.
30541
0a1b2ae6
JM
305422013-03-21 Joseph Myers <joseph@codesourcery.com>
30543
30544 [BZ #15287]
30545 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30546 imaginary part 1.0 and real part less than 0.5 specially.
30547 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30548 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30549 * math/libm-test.inc (cacos_test): Add more tests.
30550 (casin_test): Likewise.
30551 (casinh_test): Likewise.
30552 * sysdeps/i386/fpu/libm-test-ulps: Update.
30553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30554
b33d4ce4
SP
305552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30556
30557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30558 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30559
bef0b507
JM
305602013-03-20 Joseph Myers <joseph@codesourcery.com>
30561
30562 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30563 * config.make.in (config-cflags-sse4): Remove variable.
30564 (config-cflags-avx): Likewise.
30565 (config-cflags-sse2avx): Likewise.
30566 (config-cflags-novzeroupper): Likewise.
30567 (config-asflags-i686): Likewise.
30568 (have-mfma4): Likewise.
30569 (have-as-vis3): Likewise.
30570 (MIG): Likewise.
30571 * configure.in (MIG): Do not AC_SUBST.
30572 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30573 (libc_cv_cc_sse4): Do not AC_SUBST.
30574 (libc_cv_cc_avx): Likewise.
30575 (libc_cv_cc_sse2avx): Likewise.
30576 (libc_cv_cc_novzeroupper): Likewise.
30577 (libc_cv_cc_fma4): Likewise.
30578 (libc_cv_as_i686): Likewise.
30579 (libc_cv_sparc_as_vis3): Likewise.
30580 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30581 LIBC_CONFIG_VAR.
30582 (config-asflags-i686): Likewise.
30583 (config-cflags-avx): Likewise.
30584 (config-cflags-sse2avx): Likewise.
30585 (have-mfma4): Likewise.
30586 (config-cflags-novzeroupper): Likewise.
30587 * sysdeps/mach/configure.in (MIG): Likewise.
30588 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30589 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30590 LIBC_CONFIG_VAR.
30591 (config-cflags-avx): Likewise.
30592 (config-cflags-sse2avx): Likewise.
30593 (have-mfma4): Likewise.
30594 (config-cflags-novzeroupper): Likewise.
30595 * configure: Regenerated.
30596 * sysdeps/i386/configure: Likewise.
30597 * sysdeps/mach/configure: Likewise.
30598 * sysdeps/sparc/configure: Likewise.
30599 * sysdeps/x86_64/configure: Likewise.
30600
912cc4b3
RM
306012013-03-20 Roland McGrath <roland@hack.frob.com>
30602
30603 [BZ #14812]
30604 * locale/programs/localedef.c (options): Put N_ translation marker
30605 on argument names, not just descriptions.
30606
04eed2b0
MS
306072013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30608
30609 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30610
a065ceff
OB
306112013-03-20 Ondřej Bílka <neleai@seznam.cz>
30612
9bb2a810 30613 [BZ #14176]
a065ceff
OB
30614 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30615
a600e5ce
RM
306162013-03-19 Roland McGrath <roland@hack.frob.com>
30617
30618 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30619 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30620 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30621 [!BEFORE_ABORT] (before_abort): New function.
30622 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30623 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30624 (writev_for_fatal): New function.
30625 (WRITEV_FOR_FATAL): New macro; call that.
30626 (backtrace_and_maps): New function.
30627 (BEFORE_ABORT): New macro; call that.
30628 (struct str_list): Type removed.
30629 (__libc_message, __libc_fatal): Functions removed.
30630 Include <sysdeps/posix/libc_fatal.c> instead.
30631
6b18bea6
JM
306322013-03-19 Joseph Myers <joseph@codesourcery.com>
30633
30634 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30635 constants.
30636 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30637 double constants.
30638
aaa8cb4b
AS
306392013-03-19 Andreas Schwab <schwab@suse.de>
30640
44673770
AS
30641 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30642 * sysdeps/gnu/configure: Regenerate.
30643
aaa8cb4b
AS
30644 * configure.in: Substitute libc_cv_rtlddir.
30645 * configure: Regenerate.
30646 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30647 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30648 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30649 * elf/Makefile (install-others, CFLAGS-interp.c)
30650 (ldso_install, common-ldd-rewrite): Likewise.
30651 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30652 $(inst_slibdir)/$(rtld-installed-name).
30653 * scripts/rellns-sh: Add -p option.
30654 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30655 for source.
30656
d3cfc668
SP
306572013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30658
30659 * manual/nptl.texi: Renamed to ...
30660 * manual/threads.texi: ... this.
30661 * manual/Makefile (chapters): Update.
30662
0e2b9cdd
RM
306632013-03-18 Roland McGrath <roland@hack.frob.com>
30664
30665 [BZ #14812]
30666 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30667 on argument names, not just descriptions.
0e2b9cdd
RM
30668 * malloc/memusagestat.c (options): Likewise.
30669 * nss/getent.c (options): Likewise.
63270c24
RM
30670
306712013-03-18 Benno Schulenberg <bensberg@justemail.net>
30672
30673 [BZ #14812]
30674 * iconv/iconv_prog.c (options): Put N_ translation marker
30675 on argument names, not just descriptions.
30676 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30677
b2e1393c
OB
306782013-03-18 Ondrej Bilka <neleai@seznam.cz>
30679
30680 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30681 implementation which is faster on all x86_64 architectures.
30682 Tested on AMD, Intel Nehalem, SNB, IVB.
30683 * sysdeps/x86_64/strnlen.S: Likewise.
30684
30685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30686 Remove all multiarch strlen and strnlen versions.
30687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30688 Remove strlen and strnlen related parts.
30689
30690 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30691 Inline strlen part.
30692 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30693
30694 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30695 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30696 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30697 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30698 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30699 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30700
ec4ff04d
CD
307012013-03-17 Carlos O'Donell <carlos@redhat.com>
30702
30703 * manual/memory.texi (Malloc Tunable Parameters):
30704 Sort parameters alphabetically. Add comments for missing entries.
30705
cd18e90a
DM
307062013-03-17 David S. Miller <davem@davemloft.net>
30707
30708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30709
2a185d32
JM
307102013-03-16 Joseph Myers <joseph@codesourcery.com>
30711
d2f9799e
JM
30712 [BZ #15283]
30713 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30714 for arguments at most half maximum finite value.
30715 * math/libm-test.inc (j0_test): Add more tests.
30716 (j1_test): Likewise.
30717 (y0_test): Likewise.
30718 (y1_test): Likewise.
30719 * sysdeps/i386/fpu/libm-test-ulps: Update.
30720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30721
2a185d32
JM
30722 [BZ #14155]
30723 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30724 1 / x and functions P and Q for arguments above 0x1p256L.
30725 (__ieee754_y0l): Likewise.
30726 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30727 (__ieee754_y1l): Likewise.
30728 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30729 (j1_test): Likewise.
30730 (y0_test): Likewise.
30731 (y1_test): Likewise.
30732
6cbec759
TS
307332013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30734
30735 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30736 variable.
30737
bc16e260
RM
307382013-03-15 Roland McGrath <roland@hack.frob.com>
30739
aefc9b8c
RM
30740 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30741 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30742 zero since it's initialized to EXEC_PAGESIZE.
30743
bc16e260
RM
30744 * sysdeps/unix/sysv/linux/ldsodefs.h
30745 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30746 * sysdeps/generic/ldsodefs.h: ... here.
30747
a57da955
TS
307482013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30749
af00a34d
TS
30750 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30751
495ded2c
TS
30752 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30753 math/test-snan.c.
30754 * math/test-snan.c: Renamed from
30755 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30756 * math/Makefile (tests): Add test-snan.
30757 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30758 test-powerpc-snan.
30759
777b0332
TS
30760 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30761 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30762 functions.
30763 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30764 __builtin_nan family of functions.
30765 * math/libm-test.inc (initialize): Initialize qnan_value with
30766 __builtin_nan family of functions.
30767 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30768 Remove variables.
30769 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30770 Remove functions.
30771 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30772 storage class. Initialize qNaN_var and sNaN_var with
30773 __builtin_nan and __builtin_nans families of functions,
30774 respectively.
30775
64d063b8
TS
30776 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30777 (sqrt_test): Remove duplicate test with qNaN input.
30778 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30779 (round_test, signbit_test, significand_test): Note missing +/-Inf
30780 as well as qNaN tests.
30781
67e971f1
TS
30782 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30783 qNaN_var. Fix a few strings, too.
30784 * math/libm-test.inc (nan_value): Rename to qnan_value.
30785 * math/gen-libm-test.pl (%beautify): Adjust to that.
30786 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30787 * math/test-misc.c (main): Likewise.
30788 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30789 to __qnan_bytes, and __qnan_union, respectively.
30790 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30791 Likewise.
30792 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30793 and lqnanval, respectively.
30794 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30795 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30796 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30797 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30798
64487e12
TS
30799 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30800 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30801 doubles.
30802
e015e27b
TS
30803 * math/test-misc.c (main): Fix copy'n'pastos.
30804 * misc/tst-efgcvt.c (special): Likewise.
30805
a57da955
TS
30806 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30807 Remove declarations.
30808
1e380345
SP
308092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30810
30811 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30812 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30813 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30814 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30815
ef26eece
AZ
308162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30817
30818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30819 macro to return vdso values correctly in IFUNC implementations.
30820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30821 Optimization by using IFUNC.
30822
8cfdb7e0
SP
308232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30824 Richard Henderson <rth@redhat.com>
30825 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30826
30827 * Makefile.in (bench): New target.
30828 * NEWS: Mention the benchmark framework.
30829 * Rules (bench): Likewise.
30830 (binaries-bench): Generate binaries for functions to
30831 benchmark.
30832 * benchtests/Makefile: New makefile for benchmark tests.
30833 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30834 programs.
30835 * benchtests/exp-inputs: New input file for EXP function.
30836 * benchtests/pow-inputs: New input file for POW function.
30837 * scripts/bench.pl: New script to generate source files for
30838 benchmark programs.
30839
bcda9880
SP
308402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30841
d22ca8cd
SP
30842 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30843 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30844 computations on mantissa. Use macros for rounding and
30845 division.
30846 (denorm): Likewise.
30847 (__dbl_mp): Likewise.
30848 (add_magnitudes): Likewise.
30849 (sub_magnitudes): Likewise.
30850 (__mul): Likewise.
30851 (__sqr): Likewise.
30852 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30853 powers of two in terms of TWOPOW macro.
30854 (mp_no): Make type of mantissa as MANTISSA_T.
30855 [!RADIXI]: Define RADIXI.
30856 [!TWO52]: Define TWO52.
30857 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30858
bcda9880
SP
30859 * manual/nptl.texi (cindex): Modify threads to pthreads.
30860
06d5adfb
JM
308612013-03-15 Joseph Myers <joseph@codesourcery.com>
30862
30863 * sysdeps/x86_64/preconfigure: Regenerated.
30864
41c7328e
JM
308652013-03-14 Joseph Myers <joseph@codesourcery.com>
30866
30867 [BZ #14155]
30868 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30869 0x1p28 and above.
30870 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30871 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30872 0x1p28 and above.
30873 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30874 * math/libm-test.inc (j0_test): Do not allow one spurious
30875 underflow exception.
30876 (y1_test): Likewise.
30877
e25cfa60
SP
308782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30879
0409959c
SP
30880 * manual/Makefile (chapters): Add nptl.
30881 * manual/debug.texi (Debugging Support): Add link to Threads
30882 chapter.
30883 * manual/nptl.texi: New file.
30884
e25cfa60
SP
30885 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30886
58a1335e
PB
308872013-03-14 Petr Baudis <pasky@ucw.cz>
30888
30889 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30890 for non-NULL pointer before the memory validity test. Pointed
30891 out by Holger Brunck <holger.brunck@keymile.com>.
30892
9dc7c64f
AS
308932013-03-13 Andreas Schwab <schwab@suse.de>
30894
30895 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30896 instead of .os.
30897
54206aa6
JM
308982013-03-13 Joseph Myers <joseph@codesourcery.com>
30899
30900 * timezone/zic.c: Update from tzcode 2013b.
30901
e98cdb38
CD
309022013-03-12 Carlos O'Donell <carlos@redhat.com>
30903
30904 * manual/install.texi (Configuring and compiling):
30905 Mention i686 and i586.
30906 * INSTALL: Regenerate.
30907
9967e003
RM
309082013-03-12 Roland McGrath <roland@hack.frob.com>
30909
30910 * sysdeps/init_array/elf-init.c: New file.
30911 * csu/elf-init.c
30912 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30913 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30914
30915 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30916 __gmon_start__ as global, but as static with a .preinit_array pointer.
30917 * sysdeps/init_array/gmon-start.c: New file. Use that.
30918 * sysdeps/init_array/crti.S: New file, empty except for comments.
30919 * sysdeps/init_array/crtn.S: Likewise.
30920
e6b5a293 309212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30922
30923 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30924 definining bcopy.
80f844c9
OB
30925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30926 Remove Prefer_SSE_for_memop.
30927 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30928 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30929 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30931 memset-x86-64.
80f844c9 30932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30933 Remove bzero, memset ifunc support.
80f844c9
OB
30934 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30935 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30936 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30937 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30938
fb6b0fcb
AS
309392013-03-11 Andreas Schwab <schwab@suse.de>
30940
30941 [BZ #15234]
30942 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30943 by SHLIB_COMPAT.
30944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30945 (GLIBC_2.16): Remove pthread_atfork.
30946
3e6bd4b1
PP
309472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30948
30949 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30950 (ptestcases.h): Likewise.
30951
222d7f00
RM
309522013-03-08 Roland McGrath <roland@hack.frob.com>
30953
30954 * Makeconfig ($(common-objpfx)config.status): Depend on
30955 sysdeps/*/preconfigure{,.in} too.
30956
1ba4f030
JM
309572013-03-08 Joseph Myers <joseph@codesourcery.com>
30958
a222d91a
JM
30959 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30960 (__free_hook): Use void * instead of __malloc_ptr_t.
30961 (__malloc_hook): Likewise.
30962 (__realloc_hook): Likewise.
30963 (__memalign_hook): Likewise.
30964 (__after_morecore_hook): Likewise.
30965 * malloc/arena.c (save_malloc_hook): Likewise.
30966 (save_free_hook): Likewise.
30967 * malloc/hooks.c (malloc_hook_ini): Likewise.
30968 (realloc_hook_ini): Likewise.
30969 (memalign_hook_ini): Likewise.
30970 * malloc/malloc.c (malloc_hook_ini): Likewise.
30971 (realloc_hook_ini): Likewise.
30972 (memalign_hook_ini): Likewise.
30973 (__free_hook): Likewise.
30974 (__malloc_hook): Likewise.
30975 (__realloc_hook): Likewise.
30976 (__memalign_hook): Likewise.
30977 (__libc_malloc): Likewise.
30978 (__libc_free): Likewise.
30979 (__libc_realloc): Likewise.
30980 (__libc_memalign): Likewise.
30981 (__libc_valloc): Likewise.
30982 (__libc_pvalloc): Likewise.
30983 (__libc_calloc): Likewise.
30984 (__posix_memalign): Likewise.
30985 * malloc/morecore.c (__sbrk): Likewise.
30986 (__default_morecore): Likewise.
30987
5cc45e10
JM
30988 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30989
dd54b864
JM
30990 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30991 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30992 __malloc_ptrdiff_t.
30993
1ba4f030
JM
30994 * malloc/malloc.h (__malloc_size_t): Remove macro.
30995 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30996 __malloc_size_t.
30997 (old_memalign_hook): Likewise.
30998 (old_realloc_hook): Likewise.
30999 (struct hdr): Likewise.
31000 (flood): Likewise.
31001 (mallochook): Likewise.
31002 (memalignhook): Likewise.
31003 (reallochook): Likewise.
31004 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31005 (tr_old_realloc_hook): Likewise.
31006 (tr_old_memalign_hook): Likewise.
31007 (tr_mallochook): Likewise.
31008 (tr_reallochook): Likewise.
31009 (tr_memalignhook): Likewise.
31010
edf66e57
AZ
310112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31012
31013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31014 default_ldbl_pack and using as default implementation.
31015 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31016 implementation.
31017 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31018 redundant definition.
31019 (ldbl_insert_mantissa): Likewise.
31020 (ldbl_canonicalize): Likewise.
31021 (ldbl_nearbyint): Likewise.
31022 (ldbl_pack): Rename to ldbl_pack_ppc.
31023 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31024 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31025 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31026
6d9145d8
SP
310272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31028
31029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31030 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31031 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31032 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31034 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31035 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31036 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31037
4dd4e157
AJ
310382013-03-07 Andreas Jaeger <aj@suse.de>
31039
31040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31041 bits/mman-linux.h.
31042
adbb8027
SP
310432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31044
ce544b5b
SP
31045 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31046 Include mpa.h and declare __MPEXP.
31047 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31049 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31050 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31051 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31052 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31053 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31054
4cc149fd
SP
31055 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31056 (__slowpow): Use long double EXPL and LOGL functions to
31057 compute POW.
31058 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31059 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31060 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31061 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31062 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31063 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31064
e6ebd4a7
SP
31065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31066 intermediate variable to calculate exponent.
31067 (__sqr): Likewise.
31068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31069 Likewise.
31070 (__sqr): Likewise.
31071
82a9811d
SP
31072 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31073 [!NO__SQR]: Define __sqr.
31074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31075 and NO__SQR. Remove all code except __mul and __sqr. Include
31076 sysdeps/ieee754/dbl-64/mpa.c.
31077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31078
adbb8027
SP
31079 [BZ #12723]
31080 * posix/Makefile (tests): Add tst-pathconf.
31081 * posix/tst-pathconf.c: New test case.
31082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31083 _PC_PIPE_BUF.
31084 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31085
39120df9
PF
310862013-03-06 Patsy Franklin <pfrankli@redhat.com>
31087
31088 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31089
67525cb8
AJ
310902013-03-06 Andreas Jaeger <aj@suse.de>
31091
664a9ce4
AJ
31092 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31093 definition via __MAP_ANONYMOUS.
31094
8e39047d
AJ
31095 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31096 it's not part of Linux headers.
31097
67525cb8
AJ
31098 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31099 (MAP_HUGE_MASK): Define.
31100
31101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31102 Define.
31103 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31104 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31105 Define.
31106 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31107 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31108 Define.
31109 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31111 Define.
31112 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31113
31114 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31115 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31116 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31117 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31118 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31119 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31120
31121 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31122 Handle f2fs.
31123
31124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31125 Handle f2fs and efivarfs.
31126
31127 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31128 f2fs.
31129
31130 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31131 (EFIVARFS_MAGIC): Add.
31132 (F2FS_LINK_MAX): Add.
31133
e1b42695
PP
311342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31135
31136 * stdio-common/vfprintf.c: Replace __builtin_expect with
31137 __glibc_unlikely.
31138
2d67d91a
JM
311392013-03-06 Joseph Myers <joseph@codesourcery.com>
31140
31141 [BZ #13550]
31142 * sysdeps/generic/bp-sym.h: Remove file.
31143 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31144 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31145 <bp-sym.h> and <bp-asm.h>.
31146 (__longjmp): Don't use BP_SYM.
31147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31148 and <bp-asm.h>.
31149 (memcpy): Don't use BP_SYM.
31150 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (memcpy): Don't use BP_SYM.
31153 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31154 <bp-asm.h>.
31155 (memcpy): Don't use BP_SYM.
31156 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31157 <bp-asm.h>.
31158 (memset): Don't use BP_SYM.
31159 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31160 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31161 (__bzero): Don't use BP_SYM.
31162 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31163 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31164 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31165 <bp-sym.h> and <bp-asm.h>.
31166 (memcmp): Don't use BP_SYM. Remove comment about bounded
31167 pointers.
31168 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (memcpy): Don't use BP_SYM.
31171 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31172 <bp-sym.h> and <bp-asm.h>.
31173 (memset): Don't use BP_SYM.
31174 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31175 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31176 (__bzero): Don't use BP_SYM.
31177 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31179 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31180 <bp-sym.h> and <bp-asm.h>.
31181 (strncmp): Don't use BP_SYM. Remove comment about bounded
31182 pointers.
31183 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31184 <bp-sym.h> and <bp-asm.h>.
31185 (memcpy): Don't use BP_SYM.
31186 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31187 <bp-sym.h> and <bp-asm.h>.
31188 (memset): Don't use BP_SYM.
31189 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31190 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31191 (__bzero): Don't use BP_SYM.
31192 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31193 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31195 <bp-sym.h> and <bp-asm.h>.
31196 (__memchr): Don't use BP_SYM.
31197 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31198 <bp-sym.h> and <bp-asm.h>.
31199 (memcmp): Don't use BP_SYM. Remove comment about bounded
31200 pointers.
31201 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31202 <bp-sym.h> and <bp-asm.h>.
31203 (memcpy): Don't use BP_SYM.
31204 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31205 <bp-sym.h> and <bp-asm.h>.
31206 (__mempcpy): Don't use BP_SYM.
31207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31208 <bp-sym.h> and <bp-asm.h>.
31209 (__memrchr): Don't use BP_SYM.
31210 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31211 <bp-sym.h> and <bp-asm.h>.
31212 (memset): Don't use BP_SYM.
31213 (__bzero): Likewise.
31214 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31215 <bp-sym.h> and <bp-asm.h>.
31216 (__rawmemchr): Don't use BP_SYM.
31217 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31218 <bp-sym.h> and <bp-asm.h>.
31219 (__STRCMP): Don't use BP_SYM.
31220 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31221 <bp-sym.h> and <bp-asm.h>.
31222 (strchr): Don't use BP_SYM.
31223 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31224 <bp-sym.h> and <bp-asm.h>.
31225 (__strchrnul): Don't use BP_SYM.
31226 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31227 <bp-sym.h> and <bp-asm.h>.
31228 (strlen): Don't use BP_SYM.
31229 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31230 <bp-sym.h> and <bp-asm.h>.
31231 (strncmp): Don't use BP_SYM. Remove comment about bounded
31232 pointers.
31233 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31234 <bp-sym.h> and <bp-asm.h>.
31235 (__strnlen): Don't use BP_SYM.
31236 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31237 <bp-sym.h> and <bp-asm.h>.
31238 (__GI__setjmp): Don't use BP_SYM.
31239 (_setjmp): Likewise.
31240 (__sigsetjmp): Likewise.
31241 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31242 (L(start_addresses)): Don't use BP_SYM.
31243 (_start): Likewise.
31244 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31245 <bp-asm.h>.
31246 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31247 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31248 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31249 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31250 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31251 <bp-asm.h>.
31252 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31253 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31254 about bounded pointers.
31255 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31256 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31257 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31258 <bp-asm.h>.
31259 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31260 about bounded pointers. Remove GKM FIXME comments.
31261 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31262 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31263 <bp-asm.h>.
31264 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31265 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31266 Remove GKM FIXME comments.
31267 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31268 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31269 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31270 <bp-asm.h>.
31271 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31272 about bounded pointers. Remove GKM FIXME comment.
31273 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31274 and <bp-asm.h>.
31275 (strncmp): Don't use BP_SYM. Remove comment about bounded
31276 pointers.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31278 <bp-sym.h> and <bp-asm.h>.
31279 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31281 <bp-sym.h> and <bp-asm.h>.
31282 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31283 comment.
31284
cdcf361f
PP
312852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31286
31287 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31288 call free(NULL).
31289
3c4a2b15
DM
312902013-03-05 David S. Miller <davem@davemloft.net>
31291
31292 * po/es.po: Update from translation team.
31293
cdcf361f 312942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31295
31296 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31297 <bits/mman-linux.h>.
31298 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31299 is fine.
31300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31301 <bits/mman-linux.h> to end of file.
31302 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31303 is fine.
31304 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31305 <bits/mman-linux.h> to end of file.
31306 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31307 is fine.
31308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31309 <bits/mman-linux.h> to end of file.
31310
31311 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31312 (MCL_CURRENT, MCL_FUTURE): Define here.
31313
5f67c04f
AK
313142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31315
8a4473cc 31316 [BZ #15232]
5f67c04f
AK
31317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31318 attribute_hidden.
31319 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31320
c3e94a95
AK
313212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31322
31323 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31324 fourth parameter needed for rt_sigprocmask syscall.
31325 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31326 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31327 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31328 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31329 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31330 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31331
cfb6382a
JM
313322013-03-04 Joseph Myers <joseph@codesourcery.com>
31333
31334 [BZ #13550]
31335 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31336 comment about bounded pointers.
31337 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31338 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31339
539d8e01
AJ
313402013-03-04 Andreas Jaeger <aj@suse.de>
31341
31342 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31343 common definitions.
31344
31345 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31346 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31347 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31351
2e167a70 313522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31353
31354 [BZ #15055]
31355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31356 __ieee754_sqrl instead of __sqrl.
31357
68508633
JM
313582013-03-01 Joseph Myers <joseph@codesourcery.com>
31359
31360 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31361 * sysdeps/powerpc/fpu_control.h: ... here.
31362 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31363 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31364 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31365 * sysdeps/powerpc/bits/mathinline.h: ... here.
31366
7775448e
RM
313672013-03-01 Roland McGrath <roland@hack.frob.com>
31368
31369 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31370 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31371 to just [NEED_DL_SYSINFO_DSO].
31372 * elf/dl-support.c: Likewise.
31373 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31374 * elf/rtld.c (dl_main): Likewise.
31375 * elf/setup-vdso.h (setup_vdso): Likewise.
31376 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31377 * sysdeps/unix/sysv/linux/dl-sysdep.c
31378 (_dl_discover_osversion): Likewise.
31379
4e9b5995
CD
313802013-03-01 Carlos O'Donell <carlos@redhat.com>
31381
31382 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31383 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31384
e23872c8
SP
313852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31386
e5c74c63
SP
31387 * NEWS: Mention libm performance improvements and non-x86 PI
31388 futex support.
31389
e23872c8
SP
31390 * csu/libc-start.c (__pthread_initialize_minimal): Change
31391 function arguments.
31392 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31393
b5510883
JM
313942013-02-28 Joseph Myers <joseph@codesourcery.com>
31395
31396 [BZ #13550]
31397 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31398 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31401 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31402 and <bp-asm.h>.
31403 (memcpy): Don't use BP_SYM.
31404 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31405 <bp-asm.h>.
31406 (__mpn_add_n): Don't use BP_SYM.
31407 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31408 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31409 and <bp-asm.h>.
31410 (__mpn_addmul_1): Don't use BP_SYM.
31411 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31412 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31413 <bp-sym.h>.
31414 (_setjmp): Don't use BP_SYM.
31415 (__novmx_setjmp): Likewise.
31416 (__GI__setjmp): Likewise.
31417 (__vmx_setjmp): Likewise.
31418 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31419 <bp-sym.h>.
31420 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31421 (__bzero): Don't use BP_SYM.
31422 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31423 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31424 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31425 <bp-sym.h> and <bp-asm.h>.
31426 (memcpy): Don't use BP_SYM.
31427 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31430 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31431 <bp-sym.h> and <bp-asm.h>.
31432 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31433 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31434 <bp-asm.h>.
31435 (__mpn_lshift): Don't use BP_SYM.
31436 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31437 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31438 <bp-asm.h>.
31439 (memset): Don't use BP_SYM.
31440 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31441 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31442 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31443 <bp-asm.h>.
31444 (__mpn_mul_1): Don't use BP_SYM.
31445 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31447 <bp-sym.h> and <bp-asm.h>.
31448 (memcmp): Don't use BP_SYM.
31449 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31450 <bp-sym.h> and <bp-asm.h>.
31451 (memcpy): Don't use BP_SYM.
31452 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31453 <bp-sym.h> and <bp-asm.h>.
31454 (memset): Don't use BP_SYM.
31455 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31456 <bp-sym.h> and <bp-asm.h>.
31457 (strncmp): Don't use BP_SYM.
31458 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31459 <bp-sym.h> and <bp-asm.h>.
31460 (memcpy): Don't use BP_SYM.
31461 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31462 <bp-sym.h> and <bp-asm.h>.
31463 (memset): Don't use BP_SYM.
31464 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31465 <bp-sym.h> and <bp-asm.h>.
31466 (__memchr): Don't use BP_SYM.
31467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31468 <bp-sym.h> and <bp-asm.h>.
31469 (memcmp): Don't use BP_SYM.
31470 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31471 <bp-sym.h> and <bp-asm.h>.
31472 (memcpy): Don't use BP_SYM.
31473 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31474 <bp-sym.h> and <bp-asm.h>.
31475 (__mempcpy): Don't use BP_SYM.
31476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31477 <bp-sym.h> and <bp-asm.h>.
31478 (__memrchr): Don't use BP_SYM.
31479 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31480 <bp-sym.h> and <bp-asm.h>.
31481 (memset): Don't use BP_SYM.
31482 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31483 <bp-sym.h> and <bp-asm.h>.
31484 (__rawmemchr): Don't use BP_SYM.
31485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31486 <bp-sym.h> and <bp-asm.h>.
31487 (__STRCMP): Don't use BP_SYM.
31488 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31489 <bp-sym.h> and <bp-asm.h>.
31490 (strchr): Don't use BP_SYM.
31491 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31492 <bp-sym.h> and <bp-asm.h>.
31493 (__strchrnul): Don't use BP_SYM.
31494 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31495 <bp-sym.h> and <bp-asm.h>.
31496 (strlen): Don't use BP_SYM.
31497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31498 <bp-sym.h> and <bp-asm.h>.
31499 (strncmp): Don't use BP_SYM.
31500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31501 <bp-sym.h> and <bp-asm.h>.
31502 (__strnlen): Don't use BP_SYM.
31503 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31504 <bp-asm.h>.
31505 (__mpn_rshift): Don't use BP_SYM.
31506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31507 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31508 <bp-sym.h> and <bp-asm.h>.
31509 (__sigsetjmp): Don't use BP_SYM.
31510 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31511 (L(start_addresses)): Don't use BP_SYM.
31512 (_start): Likewise.
31513 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31514 <bp-asm.h>.
31515 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31516 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31517 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31518 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31519 <bp-asm.h>.
31520 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31521 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31522 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31523 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31524 <bp-asm.h>.
31525 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31526 comments.
31527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31528 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31529 <bp-asm.h>.
31530 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31531 FIXME comments.
31532 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31533 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31534 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31535 <bp-asm.h>.
31536 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31537 comment.
31538 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31539 and <bp-asm.h>.
31540 (strncmp): Don't use BP_SYM,
31541 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31542 <bp-asm.h>.
31543 (__mpn_sub_n): Don't use BP_SYM.
31544 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31545 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31546 and <bp-asm.h>.
31547 (__mpn_submul_1): Don't use BP_SYM.
31548 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31550 <bp-sym.h> and <bp-asm.h>.
31551 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31553 <bp-sym.h> and <bp-asm.h>.
31554 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31555 comment.
31556
8d19fe64
SP
315572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31558
31559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31560 Use ZK to minimize writes to Z.
31561 (sub_magnitudes): Simplify code a bit.
31562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31563 Use ZK to minimize writes to Z.
31564 (sub_magnitudes): Simplify code a bit.
31565
85bd816a
RM
315662013-02-27 Roland McGrath <roland@hack.frob.com>
31567
31568 * csu/gmon-start.c: Add special exception to license text.
31569
b5977bf2
RH
315702013-02-27 Richard Henderson <rth@redhat.com>
31571
31572 * scripts/config.guess: Update from config.git.
31573 * scripts/config.sub: Likewise.
31574
11d6e2f2
SP
315752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31576
09c14ed2
SP
31577 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31578
a688864e
SP
31579 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31580
6295157a
SP
31581 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31582
b8de2202
SP
31583 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31584
11d6e2f2
SP
31585 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31586
7e80ddb8
RM
315872013-02-26 Roland McGrath <roland@hack.frob.com>
31588
31589 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31590 [$(build-shared = yes].
7e80ddb8 31591
7da6d9ed
SP
315922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31593
45f05884
SP
31594 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31595 (__mul): Reduce iterations for calculating mantissa.
31596
2236d359
SP
31597 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31598 MPTWO.
31599 (__mpranred): Likewise.
31600
7da6d9ed
SP
31601 [BZ #15160]
31602 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31603 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31604
b7688c42
PE
316052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31606
31607 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31608 Define __attribute__.
31609
53a5c423
SP
316102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31611
31612 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31613 unused.
31614 * posix/regex_internal.h (__attribute): Remove.
31615 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31616 (re_string_context_at): Likewise.
31617 (bitset_not): Use __attribute__ and mark function as possibly
31618 unused.
31619 (bitset_merge): Likewise.
31620 (bitset_mask): Likewise.
31621 (re_string_char_size_at): Likewise.
31622 (re_string_wchar_at): Likewise.
31623 (re_string_elem_size_at): Likewise.
31624
60f5a8b5
SP
316252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31626
2a983a2e
SP
31627 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31628 code.
31629 (cc32): Likewise.
31630
e69804d1
SP
31631 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31632 (__acr): Likewise.
31633 (__cpy): Likewise.
31634 (norm): Likewise.
31635 (denorm): Likewise.
31636 (__dbl_mp): Likewise.
31637 (add_magnitudes): Likewise.
31638 (sub_magnitudes): Likewise.
31639 (__mul): Likewise.
31640 (__inv): Likewise.
31641
2f22a1e8
SP
31642 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31643 style.
31644
8930ddc7
SP
31645 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31646 style.
31647
dc60cb11
SP
31648 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31649 code.
31650
60f5a8b5
SP
31651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31652 up changes with default code.
31653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31654 Likewise.
31655
b4d1fd33
AM
316562013-02-24 Allan McRae <allan@archlinux.org>
31657
faf6f8bc
AM
31658 * manual/socket.texi (The Internet Namespace): Order menu items
31659 to match that in the file.
31660
b4d1fd33
AM
31661 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31662 node listing of the info page menu.
31663
2366713d
JM
316642013-02-21 Joseph Myers <joseph@codesourcery.com>
31665
31666 [BZ #13550]
31667 * sysdeps/i386/bp-asm.h: Remove file.
31668 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31669 (PARMS): Do not use macros from bp-asm.h.
31670 (S1): Likewise.
31671 (S2): Likewise.
31672 (SIZE): Likewise.
31673 (__mpn_add_n): Do not use BP_SYM
31674 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31675 "bp-asm.h".
31676 (PARMS): Do not use macros from bp-asm.h.
31677 (S1): Likewise.
31678 (SIZE): Likewise.
31679 (__mpn_addmul_1): Do not use BP_SYM
31680 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31681 "bp-asm.h".
31682 (PARMS): Do not use macros from bp-asm.h.
31683 (SIGMSK): Likewise.
31684 (_setjmp): Likewise. Do not use BP_SYM.
31685 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31686 "bp-asm.h".
31687 (PARMS): Do not use macros from bp-asm.h.
31688 (SIGMSK): Likewise.
31689 (setjmp): Likewise. Do not use BP_SYM.
31690 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31691 "bp-asm.h".
31692 (PARMS): Do not use macros from bp-asm.h.
31693 (__frexp): Do not use BP_SYM.
31694 (frexp): Likewise.
31695 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31696 "bp-asm.h".
31697 (PARMS): Do not use macros from bp-asm.h.
31698 (__frexpf): Do not use BP_SYM.
31699 (frexpf): Likewise.
31700 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31701 "bp-asm.h".
31702 (PARMS): Do not use macros from bp-asm.h.
31703 (__frexpl): Do not use BP_SYM.
31704 (frexpl): Likewise.
31705 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31706 "bp-asm.h".
31707 (PARMS): Do not use macros from bp-asm.h.
31708 (__remquo): Do not use BP_SYM.
31709 (remquo): Likewise.
31710 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31711 "bp-asm.h".
31712 (PARMS): Do not use macros from bp-asm.h.
31713 (__remquof): Do not use BP_SYM.
31714 (remquof): Likewise.
31715 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31716 "bp-asm.h".
31717 (PARMS): Do not use macros from bp-asm.h.
31718 (__remquol): Do not use BP_SYM.
31719 (remquol): Likewise.
31720 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31721 "bp-asm.h".
31722 (PARMS): Do not use macros from bp-asm.h.
31723 (DEST): Likewise.
31724 (SRC): Likewise.
31725 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31726 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31727 "bp-asm.h".
31728 (PARMS): Do not use macros from bp-asm.h.
31729 (strlen): Do not use BP_SYM.
31730 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31731 "bp-asm.h".
31732 (PARMS): Do not use macros from bp-asm.h.
31733 (S1): Likewise.
31734 (S2): Likewise.
31735 (SIZE): Likewise.
31736 (__mpn_add_n): Do not use BP_SYM.
31737 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31738 "bp-asm.h".
31739 (PARMS): Do not use macros from bp-asm.h.
31740 (S1): Likewise.
31741 (SIZE): Likewise.
31742 (__mpn_addmul_1): Do not use BP_SYM.
31743 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31744 weak_alias.
31745 (bzero): Likewise.
31746 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31747 "bp-asm.h".
31748 (PARMS): Do not use macros from bp-asm.h.
31749 (S): Likewise.
31750 (SIZE): Likewise.
31751 (__mpn_lshift): Do not use BP_SYM.
31752 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31753 "bp-asm.h".
31754 (PARMS): Do not use macros from bp-asm.h.
31755 (DEST): Likewise.
31756 (SRC): Likewise.
31757 (LEN): Likewise.
31758 (memcpy): Likewise. Do not use BP_SYM.
31759 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31760 libc_hidden_def and weak_alias.
31761 (mempcpy): Do not use BP_SYM in weak_alias.
31762 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31763 "bp-asm.h".
31764 (PARMS): Do not use macros from bp-asm.h.
31765 (DEST): Likewise.
31766 (LEN): Likewise.
31767 [!BZERO_P] (CHR): Likewise.
31768 (memset): Likewise. Do not use BP_SYM.
31769 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
31775 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31776 "bp-asm.h".
31777 (PARMS): Do not use macros from bp-asm.h.
31778 (S): Likewise.
31779 (SIZE): Likewise.
31780 (__mpn_rshift): Do not use BP_SYM.
31781 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31782 "bp-asm.h".
31783 (PARMS): Do not use macros from bp-asm.h.
31784 (STR): Likewise.
31785 (CHR): Likewise.
31786 (strchr): Likewise. Do not use BP_SYM.
31787 (index): Do not use BP_SYM in weak_alias.
31788 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31789 "bp-asm.h".
31790 (PARMS): Do not use macros from bp-asm.h.
31791 (DEST): Likewise.
31792 (SRC): Likewise.
31793 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31794 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31795 "bp-asm.h".
31796 (PARMS): Do not use macros from bp-asm.h.
31797 (strlen): Do not use BP_SYM.
31798 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31799 "bp-asm.h".
31800 (PARMS): Do not use macros from bp-asm.h.
31801 (S1): Likewise.
31802 (S2): Likewise.
31803 (SIZE): Likewise.
31804 (__mpn_sub_n): Do not use BP_SYM.
31805 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31806 "bp-asm.h".
31807 (PARMS): Do not use macros from bp-asm.h.
31808 (S1): Likewise.
31809 (SIZE): Likewise.
31810 (__mpn_submul_1): Do not use BP_SYM.
31811 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31812 "bp-asm.h".
31813 (PARMS): Do not use macros from bp-asm.h.
31814 (S1): Likewise.
31815 (S2): Likewise.
31816 (SIZE): Likewise.
31817 (__mpn_add_n): Do not use BP_SYM.
31818 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31819 weak_alias.
31820 (bzero): Likewise.
31821 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31822 "bp-asm.h".
31823 (PARMS): Do not use macros from bp-asm.h.
31824 (BLK2): Likewise.
31825 (LEN): Likewise.
31826 (memcmp): Do not use BP_SYM.
31827 (bcmp): Do not use BP_SYM in weak_alias.
31828 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31829 "bp-asm.h".
31830 (PARMS): Do not use macros from bp-asm.h.
31831 (DEST): Likewise.
31832 (SRC): Likewise.
31833 (LEN): Likewise.
31834 (memcpy): Likewise. Do not use BP_SYM.
31835 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31836 "bp-asm.h".
31837 (PARMS): Do not use macros from bp-asm.h.
31838 (DEST): Likewise.
31839 (SRC): Likewise.
31840 (LEN): Likewise.
31841 (memmove): Likewise. Do not use BP_SYM.
31842 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31843 "bp-asm.h".
31844 (PARMS): Do not use macros from bp-asm.h.
31845 (DEST): Likewise.
31846 (SRC): Likewise.
31847 (LEN): Likewise.
31848 (__mempcpy): Likewise. Do not use BP_SYM.
31849 (mempcpy): Do not use BP_SYM in weak_alias.
31850 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31851 "bp-asm.h".
31852 (PARMS): Do not use macros from bp-asm.h.
31853 (DEST): Likewise.
31854 (LEN): Likewise.
31855 [!BZERO_P] (CHR): Likewise.
31856 (memset): Likewise. Do not use BP_SYM.
31857 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31858 "bp-asm.h".
31859 (PARMS): Do not use macros from bp-asm.h.
31860 (STR2): Likewise.
31861 (strcmp): Do not use BP_SYM.
31862 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31863 "bp-asm.h".
31864 (PARMS): Do not use macros from bp-asm.h.
31865 (STR): Likewise.
31866 (DELIM): Likewise.
31867 [USE_AS_STRTOK_R] (SAVE): Likewise.
31868 (FUNCTION): Likewise. Do not use BP_SYM.
31869 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31870 aliases.
31871 (strtok_r): Likewise.
31872 (__GI___strtok_r): Likewise.
31873 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31874 (PARMS): Do not use macros from bp-asm.h.
31875 (S): Likewise.
31876 (SIZE): Likewise.
31877 (__mpn_lshift): Do not use BP_SYM.
31878 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31879 (PARMS): Do not use macros from bp-asm.h.
31880 (STR): Likewise.
31881 (CHR): Likewise.
31882 (__memchr): Do not use BP_SYM.
31883 (memchr): Do not use BP_SYM in weak_alias.
31884 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31885 (PARMS): Do not use macros from bp-asm.h.
31886 (BLK2): Likewise.
31887 (LEN): Likewise.
31888 (memcmp): Do not use BP_SYM.
31889 (bcmp): Do not use BP_SYM in weak_alias.
31890 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31891 (PARMS): Do not use macros from bp-asm.h.
31892 (S1): Likewise.
31893 (SIZE): Likewise.
31894 (__mpn_mul_1): Do not use BP_SYM.
31895 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31896 "bp-asm.h".
31897 (PARMS): Do not use macros from bp-asm.h.
31898 (STR): Likewise.
31899 (CHR): Likewise.
31900 (__rawmemchr): Do not use BP_SYM.
31901 (rawmemchr): Do not use BP_SYM in weak_alias.
31902 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31903 (PARMS): Do not use macros from bp-asm.h.
31904 (S): Likewise.
31905 (SIZE): Likewise.
31906 (__mpn_rshift): Do not use BP_SYM.
31907 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31908 (PARMS): Do not use macros from bp-asm.h.
31909 (SIGMSK): Likewise.
31910 (__sigsetjmp): Likewise. Do not use BP_SYM.
31911 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31912 (_start): Do not use BP_SYM.
31913 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31914 (PARMS): Do not use macros from bp-asm.h.
31915 (DEST): Likewise.
31916 (SRC): Likewise.
31917 (__stpcpy): Likewise. Do not use BP_SYM.
31918 (stpcpy): Do not use BP_SYM in weak_alias.
31919 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31920 "bp-asm.h".
31921 (PARMS): Do not use macros from bp-asm.h.
31922 (DEST): Likewise.
31923 (SRC): Likewise.
31924 (LEN): Likewise.
31925 (__stpncpy): Likewise. Do not use BP_SYM.
31926 (stpncpy): Do not use BP_SYM in weak_alias.
31927 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31928 (PARMS): Do not use macros from bp-asm.h.
31929 (STR): Likewise.
31930 (CHR): Likewise.
31931 (strchr): Likewise. Do not use BP_SYM.
31932 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31933 "bp-asm.h".
31934 (PARMS): Do not use macros from bp-asm.h.
31935 (STR): Likewise.
31936 (CHR): Likewise.
31937 (__strchrnul): Likewise. Do not use BP_SYM.
31938 (strchrnul): Do not use BP_SYM in weak_alias.
31939 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31940 "bp-asm.h".
31941 (PARMS): Do not use macros from bp-asm.h.
31942 (STOP): Likewise.
31943 (strcspn): Do not use BP_SYM.
31944 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31945 "bp-asm.h".
31946 (PARMS): Do not use macros from bp-asm.h.
31947 (STR): Likewise.
31948 (STOP): Likewise.
31949 (strpbrk): Likewise. Do not use BP_SYM.
31950 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31951 "bp-asm.h".
31952 (PARMS): Do not use macros from bp-asm.h.
31953 (STR): Likewise.
31954 (CHR): Likewise.
31955 (strrchr): Likewise. Do not use BP_SYM.
31956 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31957 (PARMS): Do not use macros from bp-asm.h.
31958 (SKIP): Likewise.
31959 (strspn): Do not use BP_SYM.
31960 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31961 (PARMS): Do not use macros from bp-asm.h.
31962 (STR): Likewise.
31963 (DELIM): Likewise.
31964 (SAVE): Likewise.
31965 (FUNCTION): Likewise. Do not use BP_SYM.
31966 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31967 aliases.
31968 (strtok_r): Likewise.
31969 (__GI___strtok_r): Likewise.
31970 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31971 (PARMS): Do not use macros from bp-asm.h.
31972 (S1): Likewise.
31973 (S2): Likewise.
31974 (SIZE): Likewise.
31975 (__mpn_sub_n): Do not use BP_SYM.
31976 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31977 "bp-asm.h".
31978 (PARMS): Do not use macros from bp-asm.h.
31979 (S1): Likewise.
31980 (SIZE): Likewise.
31981 (__mpn_submul_1): Do not use BP_SYM.
31982 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31983 <bp-sym.h>.
31984 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31985 and <bp-asm.h>.
31986 (PARMS): Do not use macros from bp-asm.h.
31987 (FLAGS): Likewise.
31988 (PTID): Likewise.
31989 (TLS): Likewise.
31990 (CTID): Likewise.
31991 (__clone): Do not use BP_SYM.
31992 (clone): Do not use BP_SYM in weak_alias.
31993 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31994 and <bp-asm.h>.
31995 (PARMS): Do not use macros from bp-asm.h.
31996 (LEN): Likewise.
31997 (__mmap64): Do not use BP_SYM.
31998 (mmap64): Do not use BP_SYM in weak_alias.
31999 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32000 <bp-sym.h> and <bp-asm.h>.
32001 (PARMS): Do not use macros from bp-asm.h.
32002 (__posix_fadvise64_l64): Do not use BP_SYM.
32003 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32004 (PARMS): Do not use macros from bp-asm.h.
32005 (NSOPS): Likewise.
32006 (semtimedop): Do not use BP_SYM.
32007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32008 and <bp-asm.h>.
32009
582a3cff
AM
320102013-02-21 Allan McRae <allan@archlinux.org>
32011
32012 * manual/message.texi (Charset conversion in gettext):
32013 Move @end statement to beginning of line.
32014
bab8a695
SP
320152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32016
80945231
SP
32017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32018 static.
32019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32020 Likewise.
32021
bab8a695
SP
32022 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32023 (denorm): Likewise.
32024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32026
e21d7aa7
AK
320272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32028
32029 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32030 tail-call to the resolved function if pltexit isn't needed.
32031
4c7a4263
SP
320322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32033
32034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32035 or Y being zero as being unlikely.
32036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32037 Likewise.
32038
41f49342
CD
320392013-02-20 Carlos O'Donell <carlos@redhat.com>
32040
32041 * manual/nss.texi (System Databases and Name Service Switch):
32042 Remove frobnicate @pxref.
32043
50022a93
TS
320442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32045
32046 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32047 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32048
08cbd996
PM
320492013-02-20 Petr Machata <pmachata@redhat.com>
32050
32051 * elf/elf.h (R_ARM_TARGET1): New macro.
32052 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32053 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32054 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32055 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32056 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32057 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32058 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32059 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32060 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32061 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32062 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32063 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32064 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32065 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32066 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32067 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32068 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32069 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32070 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32071 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32072 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32073 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32074 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32075 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32076 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32077 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32078 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32079 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32080 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32081 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32082 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32083 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32084 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32085 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32086 (R_ARM_THM_GOT_BREL12): Likewise.
32087 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32088 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32089 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32090 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32091 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32092 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32093 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32094 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32095 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32096
c7b275d6
TS
320972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32098
32099 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32100 __attribute_used__ to __attribute__ ((unused)).
32101
20cd7fb3
SP
321022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32103
32104 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32105 powerpc mpa.c.
32106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32107 comment formatting.
32108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32109
92945b52
JM
321102013-02-19 Joseph Myers <joseph@codesourcery.com>
32111
32112 [BZ #13550]
32113 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32114 Remove macro.
32115 (ENTER): Remove both macro definitions.
32116 (LEAVE): Likewise.
32117 (CHECK_BOUNDS_LOW): Likewise.
32118 (CHECK_BOUNDS_HIGH): Likewise.
32119 (CHECK_BOUNDS_BOTH): Likewise.
32120 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32121 (RETURN_BOUNDED_POINTER): Likewise.
32122 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32123 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32124 (POP_ERRNO_LOCATION_RETURN): Likewise.
32125 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32126 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32127 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32128 macros.
32129 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32130 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32131 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32132 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32133 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32134 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32135 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32136 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32137 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32138 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32139 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32140 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32141 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32142 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32143 removed macros.
32144 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32145 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32146 macros.
32147 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32148 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32149 * sysdeps/i386/i586/memset.S (memset): Likewise.
32150 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32151 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32152 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32153 macros.
32154 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32155 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32156 Change uses of L(2) to L(out).
32157 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32158 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32159 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32160 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32161 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32162 removed macros.
32163 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32164 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32165 macros.
32166 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32167 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32168 (RETURN): Do not use macro LEAVE.
32169 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32170 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32171 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32172 * sysdeps/i386/i686/memset.S (memset): Likewise.
32173 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32174 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32175 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32176 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32177 Likewise.
32178 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32179 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32180 L(1_2) and L(1_3) into L(1).
32181 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32182 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32183 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32184 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32185 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32186 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32187 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32188 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32189 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32190 macros.
32191 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32192 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32193 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32194 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32195 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32196 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32197 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32198 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32199 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32200 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32201 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32202 * sysdeps/i386/strspn.S (strspn): Likewise.
32203 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32204 conditional code.
32205 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32206 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32207 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32208 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32209 L(1_3) into L(1_1).
32210 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32211 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32212 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32213 macros.
32214 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32215
2389741a
JJ
322162013-02-19 Jakub Jelinek <jakub@redhat.com>
32217
32218 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32219 macro.
32220
2016b3cd
SP
322212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32222
e4f22324
SP
32223 * math/atest-exp.c (exp_mpn): Remove ROUND.
32224 * math/atest-exp2.c (exp_mpn): Likewise.
32225 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32226
2016b3cd
SP
32227 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32228 * stdlib/tst-tls-atexit-lib.c: Likewise.
32229 * stdlib/tst-tls-atexit.c: Likewise.
32230
4be9b544
MF
322312013-02-18 Mike Frysinger <vapier@gentoo.org>
32232
32233 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32234 and __attribute_alloc_size__.
32235
2f62b9ee
MF
322362013-02-18 Mike Frysinger <vapier@gentoo.org>
32237
32238 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32239 __attribute_alloc_size__.
32240 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32241 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32242
6ff444c4
MF
322432013-02-18 Mike Frysinger <vapier@gentoo.org>
32244
32245 * include/programs/xmalloc.h: New file.
32246 * catgets/gencat.c: Include it.
32247 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32248 * elf/pldd.c: Likewise.
32249 * iconv/iconv_charmap.c: Likewise.
32250 * iconv/iconvconfig.c: Likewise.
32251 * iconv/strtab.c: Likewise.
32252 * locale/programs/locale.c: Likewise.
32253 * locale/programs/localedef.h: Likewise.
32254 * locale/programs/simple-hash.c: Likewise.
32255 * nscd/nscd.h: Likewise.
32256 * nss/makedb.c: Likewise.
32257 * sysdeps/generic/ldconfig.h: Likewise.
32258
be179c8a
SP
322592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32260
ba384f6e
SP
32261 * Versions.def: Add GLIBC_2.18.
32262 * include/link.h (struct link_map): New member l_tls_dtor_count.
32263 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32264 (__call_tls_dtors): Likewise.
32265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32266 __cxa_thread_atexit_impl.
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32268 Likewise.
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32270 Likewise.
32271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32272 Likewise.
32273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32274 Likewise.
32275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32277 Likewise.
32278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32279 Likewise.
32280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32282 Likewise.
32283 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32284 (tests): Add test case tst-tls-atexit.
32285 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32286 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32287 (GLIBC_PRIVATE): Add __call_tls_dtors.
32288 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32289 for libstdc++.
32290 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32291 * stdlib/tst-tls-atexit.c: New test case.
32292 * stdlib/tst-tls-atexit-lib.c: New test case.
32293
ffaa74cf 32294 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32295
be179c8a
SP
32296 * elf/Versions (ld): Add _dl_find_dso_for_object.
32297 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32298 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32299 (dl_open_worker): Use _dl_find_dso_for_object.
32300 * elf/dl-sym.c (do_sym): Likewise.
32301 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32302
f78b5caa
AK
323032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32304
32305 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32306 Syntactic changes only.
32307 (_dl_runtime_profile): Do a tail-call to the resolved function.
32308
29691210
JM
323092013-02-17 Joseph Myers <joseph@codesourcery.com>
32310
32311 [BZ #13550]
32312 * sysdeps/x86_64/bp-asm.h: Remove file.
32313 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32314 <bp-sym.h> and <bp-asm.h>.
32315 (__clone): Do not use BP_SYM.
32316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32317 <bp-sym.h> and <bp-asm.h>.
32318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32319 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32320 "bp-asm.h".
32321 (_setjmp): Do not use BP_SYM.
32322 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32323 "bp-asm.h".
32324 (setjmp): Do not use BP_SYM.
32325 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32326 libc_hidden_def.
32327 (mempcpy): Do not use BP_SYM in weak_alias.
32328 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32329 "bp-asm.h".
32330 (strchr): Do not use BP_SYM.
32331 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32332 "bp-asm.h".
32333 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32334 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32335 (_start): Do not use BP_SYM.
32336 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32337 "bp-asm.h".
32338 (strcat): Do not use BP_SYM.
32339 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32340 "bp-asm.h".
32341 (STRCMP): Do not use BP_SYM.
32342 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32343 "bp-asm.h".
32344 (STRCPY): Do not use BP_SYM.
32345 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32346 "bp-asm.h".
32347 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32348 "bp-asm.h".
32349 (FUNCTION): Do not use BP_SYM.
32350 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32351 weak_alias.
32352 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32353
f238fd19
AJ
323542013-02-17 Andreas Jaeger <aj@suse.de>
32355
32356 * time/Versions: Sort entries.
32357 * string/Versions: Likewise.
32358 * resolv/Versions: Likewise.
32359 * posix/Versions: Likewise.
32360 * iconv/Versions: Likewise.
32361 * elf/Versions: Likewise.
32362 * wcsmbs/Versions: Likewise.
32363
bd07f23c 323642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32365
22af19f9
SP
32366 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32367 loop termination condition.
32368
4709fe76
SP
32369 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32370 variable to calculate EZ.
32371 (__sqr): Likewise.
2d0e0f29
SP
32372
32373 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32374 the lower precision input.
32375
daaa7713
JM
323762013-02-15 Joseph Myers <joseph@codesourcery.com>
32377
32378 [BZ #13550]
32379 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32380 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32381 (run-via-rtld-prefix): Do not handle %-bp tests.
32382 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32383 (all-object-suffixes): Remove .ob.
32384 (bppfx): Remove variable.
32385 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32386 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32387 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32388 [$(build-bounded) = yes] (libtype.ob): Likewise.
32389 * Makerules (elide-routines.ob): Remove variable.
32390 (do-tests-clean): Do not handle *-bp.out.
32391 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32392 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32393 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32394 (tests): Do not include $(tests-bp.out).
32395 (xtests): Do not include $(xtests-bp.out).
32396 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32397 [$(build-bounded) = yes] ($(addprefix
32398 $(objpfx),$(binaries-bounded))): Remove rule.
32399 ($(objpfx)%-bp.out): Remove rule.
32400 * config.make.in (build-bounded): Remove variable.
32401 * crypt/Makefile [$(build-bounded) = yes]
32402 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32403 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32404 append to variable.
32405 [$(build-bounded) = yes] (install-lib): Likewise.
32406 [$(build-bounded) = yes] (generated): Likewise.
32407 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32408 Remove rule.
32409 * intl/Makefile [$(build-bounded) = yes]
32410 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32411 * math/Makefile [$(build-bounded) = yes]
32412 ($(tests:%=$(objpfx)%-bp): Likewise.
32413 * misc/Makefile [$(build-bounded) = yes]
32414 ($(objpfx)tst-tsearch-bp): Likewise.
32415 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32416 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32417 Remove dependency.
32418 * string/Makefile (o-objects.ob): Remove variable.
32419 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32420 (CFLAGS-.ob): Remove variable.
32421 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32422 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32423 both definitions of variable.
32424 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32425 (ASFLAGS-.ob): Remove variable.
32426
e97ed6dd
JM
324272013-02-14 Joseph Myers <joseph@codesourcery.com>
32428
2bdd4ca6
JM
32429 [BZ #13550]
32430 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32431 Remove __BOUNDED_POINTERS__ from condition.
32432 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32433 * string/bits/string2.h [!__NO_STRING_INLINES &&
32434 !__BOUNDED_POINTERS__]: Likewise.
32435 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32436 Likewise.
32437 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32438 Remove conditional code.
32439 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32440 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32441 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32442 condition.
32443
e97ed6dd
JM
32444 [BZ #13550]
32445 * csu/libc-start.c: Do not include <bp-sym.h>.
32446 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32447 * elf/dl-open.c: Do not include <bp-sym.h>.
32448 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32449 * math/fegetenv.c: Do not include <bp-sym.h>.
32450 (fegetenv): Do not use BP_SYM in versioned symbols.
32451 * nptl/sysdeps/pthread/bits/libc-lockP.h
32452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32453 <bp-sym.h>.
32454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32455 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32457 (__pthread_mutex_destroy): Likewise.
32458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32459 (__pthread_mutex_lock): Likewise.
32460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32461 (__pthread_mutex_trylock): Likewise.
32462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32463 (__pthread_mutex_unlock): Likewise.
32464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32465 (__pthread_mutexattr_init): Likewise.
32466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32467 (__pthread_mutexattr_destroy): Likewise.
32468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32469 (__pthread_mutexattr_settype): Likewise.
32470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32471 (__pthread_rwlock_init): Likewise.
32472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32473 (__pthread_rwlock_destroy): Likewise.
32474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32475 (__pthread_rwlock_rdlock): Likewise.
32476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32477 (__pthread_rwlock_tryrdlock): Likewise.
32478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32479 (__pthread_rwlock_wrlock): Likewise.
32480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32481 (__pthread_rwlock_trywrlock): Likewise.
32482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32483 (__pthread_rwlock_unlock): Likewise.
32484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32485 (__pthread_key_create): Likewise.
32486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32487 (__pthread_setspecific): Likewise.
32488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32489 (__pthread_getspecific): Likewise.
32490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32491 Likewise.
32492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32493 (_pthread_cleanup_push_defer): Likewise.
32494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32495 (_pthread_cleanup_pop_restore): Likewise.
32496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32497 (pthread_setcancelstate): Likewise.
32498 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32499 <bp-sym.h>.
32500 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32501 (memchr): Do not use BP_SYM in weak_alias.
32502 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32503 (fegetenv): Do not use BP_SYM in versioned symbols.
32504 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32505 (fesetenv): Do not use BP_SYM in versioned symbols.
32506 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32507 (feupdateenv): Do not use BP_SYM in versioned symbols.
32508 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32509 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32510 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32511 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32512 (open64): Do not use BP_SYM in weak_alias.
32513 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32514 (fegetenv): Do not use BP_SYM in versioned symbols.
32515 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32516 (fesetenv): Do not use BP_SYM in versioned symbols.
32517 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32518 (feupdateenv): Do not use BP_SYM in versioned symbols.
32519 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32520 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32521 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32522 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32523 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32524 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32525 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32526 <bp-sym.h>.
32527 (__libc_start_main): Do not use BP_SYM.
32528
d6752ccd
SP
325292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32530
cb57ce60
SP
32531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32532 redundant return line.
32533 (norm): Likewise.
32534 (denorm): Likewise.
32535 (dbl_mp): Likewise.
32536 (sub_magnitudes): Likewise.
32537 (__add): Likewise.
32538 (__sub): Likewise.
32539 (__mul): Likewise.
32540 (__inv): Likewise.
32541 (__dvd): Likewise.
32542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32543 (norm): Likewise.
32544 (denorm): Likewise.
32545 (dbl_mp): Likewise.
32546 (sub_magnitudes): Likewise.
32547 (__add): Likewise.
32548 (__sub): Likewise.
32549 (__mul): Likewise.
32550 (__inv): Likewise.
32551 (__dvd): Likewise.
32552
f414520d
SP
32553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32554 instead of __mul.
32555 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32556 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32557 (cc32): Likewise.
32558
d6752ccd
SP
32559 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32560 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32562 of __mul for squares.
32563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32564 function
32565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32566 Likewise.
32567 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32569
70d9946a
JM
325702013-02-13 Joseph Myers <joseph@codesourcery.com>
32571
32572 [BZ #13550]
32573 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32574 code.
32575 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32576 prototype or function definition. Rename ubp_* variables and
32577 parameters. Remove argv definitions conditional on
32578 [__BOUNDED_POINTERS__].
32579 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32580 * elf/dl-runtime.c (_dl_fixup): Likewise.
32581 * include/set-hooks.h (RUN_HOOK): Likewise.
32582 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32583 definition.
32584 * string/strcpy.c (strcpy): Do not use __unbounded.
32585 * sysdeps/generic/frame.h (struct layout): Likewise.
32586 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32587 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32588 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32589 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32590 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32591 (__backtrace): Likewise.
32592 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32593 use __ptrvalue.
32594 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32595 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32596 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32597 Likewise.
32598 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32599 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32600 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32601 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32602 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32603 Do not use __unbounded.
32604 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32605 Rename __unboundedrlimits parameter to rlimits in prototype.
32606 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32607 Do not use __unbounded.
32608 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32609 not use __ptrvalue.
32610 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32611 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32612 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32613 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32614 __ptrvalue or __unbounded.
32615 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32616 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32617 use __unbounded.
32618 (__new_msgctl): Do not use __ptrvalue.
32619 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32620 __unbounded.
32621 (__libc_msgrcv): Do not use __ptrvalue.
32622 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32623 startup_info): Do not use __unbounded.
32624 (__libc_start_main): Likewise. Rename ubp_* variables and
32625 parameters. Remove argv definitions conditional on
32626 [__BOUNDED_POINTERS__].
32627 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32628 __ptrvalue.
32629 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32630 use __unbounded.
32631 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32632 or __ptrvalue.
32633 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32634 use __unbounded.
32635 (__new_shmctl): Do not use __ptrvalue.
32636 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32637 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32638 Likewise.
32639 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32641 (__libc_sigaction): Likewise.
32642 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32643 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32644 Likewise.
32645 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32646
cc7834d6
OB
326472013-02-13 Ondřej Bílka <neleai@seznam.cz>
32648
ffb1ec7b 32649 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32650
32651 * string/mempcpy.c: Implement by calling memcpy.
32652
bdf02814
SP
326532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32654
c2af38aa
SP
32655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32656
4e92d59e
SP
32657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32658 evaluation.
32659
909279a5
SP
32660 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32661 values in the mantissa.
32662
bdf02814
SP
32663 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32664 minimize writes to Z.
32665 (sub_magnitudes): Simplify code a bit.
32666
cd525923
RM
326672013-02-12 Roland McGrath <roland@hack.frob.com>
32668
32669 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32670 from the message. The linker prefixes all warnings with that already.
32671
7e2f0d2d
AS
326722013-02-12 Andreas Schwab <schwab@suse.de>
32673
a445af0b
AS
32674 [BZ #15078]
32675 * posix/regexec.c (extend_buffers): Add parameter min_len.
32676 (check_matching): Pass minimum needed length.
32677 (clean_state_log_if_needed): Likewise.
32678 (get_subexp): Likewise.
32679 * posix/Makefile (tests): Add bug-regex34.
32680 (bug-regex34-ENV): Define.
32681 * posix/bug-regex34.c: New file.
32682
7e2f0d2d
AS
32683 [BZ #11561]
32684 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32685 elements compare against the byte sequence of it, not its name.
32686 * posix/Makefile (tests): Add bug-regex35.
32687 (bug-regex35-ENV): Define.
32688 * posix/bug-regex35.c: New file.
32689
a175b684
TV
326902013-02-11 Tom de Vries <tom@codesourcery.com>
32691
32692 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32693 comment.
32694 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32695 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32696 (CHECK_EOL): Add undef.
32697
310998fe 326982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32699
32700 * bits/stdlib-bsearch.h: New file.
32701 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32702 * stdlib/stdlib.h: Likewise.
41eda41d 32703
8ded91fb
RM
327042013-02-11 Roland McGrath <roland@hack.frob.com>
32705
32706 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32707 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32708 declaration.
32709 * manual/search.texi (Array Search Function): Add missing const in
32710 lfind prototype.
32711 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32712 declaration to use rlim_t.
32713 (Basic Scheduling Functions): Remove erroneous const from
32714 sched_getparam prototype. Remove erroneous * from
32715 sched_get_priority_max and sched_get_priority_min prototypes.
32716 (Resource Usage): Fix summary @comment on vtimes to refer to
32717 sys/vtimes.h rather than vtimes.h.
32718 Add missing *s in vtimes prototype.
32719 (Limits on Resources): Fix ulimit prototype to return long int.
32720 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32721 prototypes to use long int rather than double.
32722 (BSD Random): Fix initstate and setstate to use char *, not void *.
32723 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32724 prototype to make second argument 'struct aiocb64 *const[]'.
32725 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32726 (Status of AIO Operations): Remove erroneous const in aio_return and
32727 aio_return64 prototypes.
32728 (Synchronizing I/O): Fix sync prototype to return void.
32729 * manual/startup.texi (Suboptions): Remove an erroneous const in
32730 getsubopt prototype.
32731 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32732 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32733 use size_t rather than int.
32734 (Scanning All Users): Likewise for getpwent_r.
32735 (Setting Groups): Add missing const to setgroups prototype.
32736 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32737 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32738 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32739 'const void *' rather than 'const char *'.
32740 (Host Address Functions): Likewise for inet_ntop.
32741 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32742 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32743 ssize_t for return value.
32744 (Sending Data): Likewise for send, sendto, sendmsg.
32745 (Socket Option Functions): Add a missing const in setsockopt prototype.
32746 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32747 use wchar_t for the argument.
32748 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32749 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32750 take no arguments.
32751 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32752 double/float/long double for second argument.
32753 Fix return types of significand, significandf, significandl.
32754 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32755 argument in fchmod prototype.
32756 (File Owner): Use uid_t and gid_t in fchown prototype.
32757 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32758 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32759 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32760 use 'const struct dirent **' as argument types to CMP function pointer
32761 argument.
32762 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32763 (File Times): Fix summary magic @comment for struct utimbuf and utime
32764 to refer to utime.h, not time.h.
32765 * manual/string.texi (Argz Functions): Add missing const in
32766 argz_extract and argz_next prototypes.
32767 (Finding Tokens in a String): Likewise for basename.
32768 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32769 (Copying and Concatenation): Fix typo in wmemmove prototype.
32770 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32771 (Signal Stack): Remove erroneous const in sigstack prototype.
32772 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32773 prototype.
32774 (Simple Calendar Time): Likewise for stime.
32775 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32776 prototype.
32777 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32778 say sys/sysctl.h instead.
32779 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32780 and vsyslog prototypes.
32781
fe77fe6d
TV
327822013-02-11 Tom de Vries <tom@codesourcery.com>
32783
32784 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32785 Remove.
32786
3a09b620
RM
327872013-02-11 Roland McGrath <roland@hack.frob.com>
32788
32789 * misc/sys/mman.h: Fix typo in mremap comment.
32790
550a0b89
RM
327912013-02-08 Roland McGrath <roland@hack.frob.com>
32792
32793 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32794 the '\0' terminator.
32795
a2da1673
JM
327962013-02-08 Joseph Myers <joseph@codesourcery.com>
32797
32798 [BZ #13550]
32799 * debug/segfault.c: Don't include <bp-checks.h>.
32800 * sysdeps/generic/bp-checks.h: Remove file.
32801 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32802 (__GETDENTS): Don't use CHECK_N.
32803 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32804 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32805 (__getgroups): Don't use CHECK_N.
32806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32807 (setgroups): Don't use CHECK_N.
32808 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32809 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32810 (__libc_msgrcv): Don't use CHECK_N.
32811 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32812 (__libc_msgsnd): Don't use CHECK_N.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32814 <bp-checks.h>.
32815 (__libc_pread): Don't use CHECK_N.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32817 include <bp-checks.h>.
32818 (__libc_pread64): Don't use CHECK_N.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32820 include <bp-checks.h>.
32821 (__libc_pwrite): Don't use CHECK_N.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32823 include <bp-checks.h>.
32824 (__libc_pwrite64): Don't use CHECK_N.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32826 <bp-checks.h>.
32827 (__libc_pread): Don't use CHECK_N.
32828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32829 include <bp-checks.h>.
32830 (__libc_pread64): Don't use CHECK_N.
32831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32832 include <bp-checks.h>.
32833 (__libc_pwrite): Don't use CHECK_N.
32834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32835 include <bp-checks.h>.
32836 (__libc_pwrite64): Don't use CHECK_N.
32837 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32838 (do_pread): Don't use CHECK_N.
32839 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32840 (do_pread64): Don't use CHECK_N.
32841 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32842 (do_pwrite): Don't use CHECK_N.
32843 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32844 (do_pwrite64): Don't use CHECK_N.
32845 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32846 (__libc_readv): Don't use CHECK_N.
32847 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32848 (semop): Don't use CHECK_N.
32849 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32850 <bp-checks.h>.
32851 (semtimedop): Don't use CHECK_N.
32852 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32853 (__libc_pread): Don't use CHECK_N.
32854 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32855 <bp-checks.h>.
32856 (__libc_pread64): Don't use CHECK_N.
32857 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32858 <bp-checks.h>.
32859 (__libc_pwrite): Don't use CHECK_N.
32860 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32861 <bp-checks.h>.
32862 (__libc_pwrite64): Don't use CHECK_N.
32863 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32864 <bp-checks.h>.
32865 (__libc_msgrcv): Don't use CHECK_N.
32866 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32867 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32868 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32869 (__libc_writev): Don't use CHECK_N.
32870
b84660a8
RM
328712013-02-08 Roland McGrath <roland@hack.frob.com>
32872
7f3e75f8
RM
32873 * string/strcpy.c: Removed unused variable.
32874
b84660a8
RM
32875 * Makeconfig (+sysdep-includes): Define with := rather than =.
32876 Use an existing include/ subdir of each sysdeps dir before it.
32877
471514d3
CD
328782013-02-08 Carlos O'Donell <carlos@redhat.com>
32879
32880 * nscd/connection.c (register_traced_file): Comment function.
32881 [HAVE_INOTIFY] (union __inev): Define.
32882 [HAVE_INOTIFY] (inotify_check_files): New function.
32883 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32884 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32885 clear_db_cache.
32886 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32887
b2d3c3be
CD
328882013-02-08 Carlos O'Donell <carlos@redhat.com>
32889
32890 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32891 loaded if not already and that a failure is permanent.
32892
b39949d2
CD
328932013-02-08 Carlos O'Donell <carlos@redhat.com>
32894
ddacd1db 32895 [BZ #15006]
b39949d2
CD
32896 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32897 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32898
b2c9eff4
JM
328992013-02-08 Joseph Myers <joseph@codesourcery.com>
32900
f3aae3f3
JM
32901 [BZ #13550]
32902 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32903 (CHECK_1_NULL_OK): Likewise.
32904 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32905 (__fxstat): Do not use CHECK_1.
32906 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32907 <bp-checks.h>.
32908 (___fxstat64): Do not use CHECK_1.
32909 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32910 <bp-checks.h>.
32911 (__fxstatat): Do not use CHECK_1.
32912 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32913 <bp-checks.h>.
32914 (__fxstatat64): Do not use CHECK_1.
32915 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32916 <bp-checks.h>.
32917 (__fxstat): Do not use CHECK_1.
32918 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32919 <bp-checks.h>.
32920 (__fxstatat): Do not use CHECK_1.
32921 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32922 <bp-checks.h>.
32923 (__getresgid): Do not use CHECK_1.
32924 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32925 <bp-checks.h>.
32926 (__getresuid): Do not use CHECK_1.
32927 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32928 <bp-checks.h>.
32929 (__lxstat): Do not use CHECK_1.
32930 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32931 <bp-checks.h>.
32932 (__old_msgctl): Do not use CHECK_1.
32933 (__new_msgctl): Likewise.
32934 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32935 <bp-checks.h>.
32936 (__new_setrlimit): Do not use CHECK_1.
32937 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32938 <bp-checks.h>.
32939 (__old_shmctl): Do not use CHECK_1.
32940 (__new_shmctl): Likewise.
32941 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32942 <bp-checks.h>.
32943 (__xstat): Do not use CHECK_1.
32944 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32945 (__lxstat): Do not use CHECK_1.
32946 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32947 <bp-checks.h>.
32948 (___lxstat64): Do not use CHECK_1.
32949 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32950 (__old_msgctl): Do not use CHECK_1.
32951 (__new_msgctl): Likewise.
32952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32953 <bp-checks.h>.
32954 (__gettimeofday): Do not use CHECK_1.
32955 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32956 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32957 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32958 <bp-checks.h>.
32959 (__gettimeofday): Do not use CHECK_1.
32960 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32961 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32962 (__new_shmctl): Do not use CHECK_1.
32963 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32964 <bp-checks.h>.
32965 (do_sigtimedwait): Do not use CHECK_1.
32966 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32967 <bp-checks.h>.
32968 (do_sigwaitinfo): Do not use CHECK_1.
32969 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32970 <bp-checks.h>.
32971 (msgctl): Do not use CHECK_1.
32972 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32973 <bp-checks.h>.
32974 (shmctl): Do not use CHECK_1.
32975 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32976 (ustat): Do not use CHECK_1.
32977 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32978 <bp-checks.h>.
32979 (__fxstat): Do not use CHECK_1.
32980 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32981 <bp-checks.h>.
32982 (__fxstatat): Do not use CHECK_1.
32983 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32984 <bp-checks.h>.
32985 (__lxstat): Do not use CHECK_1.
32986 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32987 <bp-checks.h>.
32988 (__xstat): Do not use CHECK_1.
32989 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32990 (__xstat): Do not use CHECK_1.
32991 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32992 (___xstat64): Do not use CHECK_1.
32993
b2c9eff4
JM
32994 [BZ #13550]
32995 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32996 definitions.
32997 (CHECK_BOUNDS_HIGH): Likewise.
32998 * string/strcpy.c: Do not include <bp-checks.h>.
32999 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33000
f1d70dad
RM
330012013-02-07 Roland McGrath <roland@hack.frob.com>
33002
33003 * nscd/nscd-client.h (__nscd_drop_map_ref):
33004 Add __attribute__ ((unused)).
33005 * nis/nss-nisplus.h (niserr2nss): Likewise.
33006
33007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33008 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33009
33010 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33011 Remove inline keyword.
33012 * include/rounding-mode.h (round_away): Likewise.
33013 * libio/wfileops.c (adjust_wide_data): Likewise.
33014 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33015 (__m128i_strloadu_tolower): Likewise.
33016 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33017 (__m128i_strloadu_tolower): Likewise.
33018 * time/mktime.c (ydhms_diff): Likewise.
33019 * locale/elem-hash.h (elem_hash): Likewise.
33020 * locale/setlocale.c (setdata): Likewise.
33021 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33022 (re_string_wchar_at): Likewise.
33023 (bitset_not, bitset_merge, bitset_mask): Likewise.
33024 [!(__GNUC__ > 3)] (inline): Remove macro.
33025 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33026 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33027 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33028 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33029 * string/memcmp.c (memcmp_bytes): Likewise.
33030 * locale/programs/locarchive.c (compute_hashval): Likewise.
33031 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33032 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33033 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33034 * nss/getent.c (print_rpc, print_protocols): Likewise.
33035 (print_passwd, print_group, print_aliases): Likewise.
33036 * nis/nss-nisplus.h (niserr2nss): Likewise.
33037 * nscd/connections.c (restart_p): Likewise.
33038 Change return type to bool.
33039
eab55bfb
RM
330402013-02-05 Roland McGrath <roland@hack.frob.com>
33041
7bd642f5
RM
33042 * Makeconfig (all-Depend-files): Add existing
33043 $(sorted-subdirs:=/Depend) files.
33044 (all-subdirs): Remove nss.
33045 * sysdeps/unix/inet/Subdirs: Add it here instead.
33046 * hesiod/Depend: New file.
33047
573c29b2
RM
33048 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33049 instead of calling alloca.
33050
b2e25af0
RM
33051 * io/lseek.c (__lseek): Rename to __libc_lseek.
33052 Define __lseek as an alias.
33053
eab55bfb
RM
33054 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33055
9a0d1941
CD
330562013-02-04 Carlos O'Donell <carlos@redhat.com>
33057
33058 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33059 else clause and remove check for non-standard endianness.
33060
b83bbec4
DM
330612013-02-04 David S. Miller <davem@davemloft.net>
33062
33063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33064
6277fdab
JM
330652013-02-04 Joseph Myers <joseph@codesourcery.com>
33066
33067 [BZ #13550]
33068 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33069 (__ubp_memchr): Remove prototype.
33070 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33071 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33072 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33073 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33074 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33075 Remove alias.
33076 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33077 (__ubp_memchr): Likewise.
33078 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33079 (__ubp_memchr): Likewise.
33080 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33081 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33082 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33083 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33084 CHECK_STRING.
33085 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33086 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33087 (__getcwd): Do not use CHECK_STRING.
33088 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33089 <bp-checks.h>.
33090 (__real_chown): Do not use CHECK_STRING.
33091 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33092 <bp-checks.h>.
33093 (fchownat): Do not use CHECK_STRING.
33094 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33095 CHECK_STRING.
33096 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33097 <bp-checks.h>.
33098 (__lchown): Do not use CHECK_STRING.
33099 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33100 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33101 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33102 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33104 include <bp-checks.h>.
33105 (truncate64): Do not use CHECK_STRING.
33106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33107 <bp-checks.h>.
33108 (__real_chown): Do not use CHECK_STRING.
33109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33110 <bp-checks.h>.
33111 (__lchown): Do not use CHECK_STRING.
33112 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33113 <bp-checks.h>.
33114 (__chown): Do not use CHECK_STRING.
33115 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33116 <bp-checks.h>.
33117 (truncate64): Do not use CHECK_STRING.
33118 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33119 Likewise.
33120 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33121 (__xmknod): Do not use CHECK_STRING.
33122 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33123 <bp-checks.h>.
33124 (__xmknodat): Do not use CHECK_STRING.
33125 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33126 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33127
903ae060
AS
331282013-02-04 Andreas Schwab <schwab@suse.de>
33129
33130 [BZ #14142]
33131 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33132 * include/netdb.h: Likewise for h_errno.
33133 * elf/tst-stackguard1.c: Include <tls.h>.
33134
542f9466
JK
331352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33136
33137 * elf/link.h (struct link_map): Extend the l_addr comment.
33138 * include/link.h (struct link_map): Likewise.
33139
e782a927
JM
331402013-02-01 Joseph Myers <joseph@codesourcery.com>
33141
33142 [BZ #13550]
33143 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33144 (BOUNDED_1): Remove macro.
33145 * debug/backtrace.c: Don't include <bp-checks.h>.
33146 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33147 (__backtrace): Likewise.
33148 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33149 <bp-checks.h>.
33150 (__backtrace): Don't use BOUNDED_1.
33151 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33152 <bp-checks.h>.
33153 (__backtrace): Don't use BOUNDED_1.
33154 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33155 (__backtrace): Don't use BOUNDED_1.
33156 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33157 (shmat): Don't use BOUNDED_N.
33158
8cf28c5e
JM
331592013-01-31 Joseph Myers <joseph@codesourcery.com>
33160
3a7ac8a0
JM
33161 [BZ #13550]
33162 * sysdeps/generic/bp-start.h: Remove file.
33163 * csu/libc-start.c: Don't include <bp-start.h>.
33164 (LIBC_START_MAIN): Set up __environ directly instead of using
33165 INIT_ARGV_and_ENVIRON.
33166 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33167 <bp-start.h>.
33168
f3499f95
JM
33169 [BZ #13550]
33170 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33171 definitions.
33172 (CHECK_FCNTL): Likewise.
33173 (CHECK_N_PAGES): Likewise.
33174
32a45bea
JM
33175 [BZ #13550]
33176 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33177 definitions.
33178 (CHECK_SIGSET_NULL_OK): Likewise.
33179 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33180 <bp-checks.h>.
33181 (sigpending): Don't use CHECK_SIGSET.
33182 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33183 <bp-checks.h>.
33184 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33185 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33186 <bp-checks.h>.
33187 (do_sigsuspend): Don't use CHECK_SIGSET.
33188 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33189 use CHECK_SIGSET.
33190 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33191 (do_sigwait): Don't use CHECK_SIGSET.
33192 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33193 use CHECK_SIGSET.
33194 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33195 include <bp-checks.h>.
33196 (sigpending): Don't use CHECK_SIGSET.
33197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33198 include <bp-checks.h>.
33199 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33200 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33201 <bp-checks.h>.
33202 (sigpending): Don't use CHECK_SIGSET.
33203 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33204 <bp-checks.h>.
33205 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33206
2e8a5c8c
JM
33207 [BZ #13550]
33208 * sysdeps/generic/bp-semctl.h: Remove file.
33209 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33210 <bp-checks.h> and <bp-semctl.h>.
33211 (__old_semctl): Don't use CHECK_SEMCTL.
33212 (__new_semctl): Likewise.
33213 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33214 and <bp-semctl.h>.
33215 (__old_semctl): Don't use CHECK_SEMCTL.
33216 (__new_semctl): Likewise.
33217 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33218 <bp-checks.h> and <bp-semctl.h>.
33219 (__old_semctl): Don't use CHECK_SEMCTL.
33220 (__new_semctl): Likewise.
33221 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33222 <bp-checks.h> and <bp-semctl.h>.
33223 (semctl): Don't use CHECK_SEMCTL.
33224
c2d54929
JM
33225 [BZ #13550]
33226 * Makerules (elide-bp-thunks): Remove variable.
33227 (elide-routines.oS): Don't use $(elide-bp-thunks).
33228 (elide-routines.os): Likewise.
33229 (elide-routines.o): Likewise.
33230 (elide-routines.op): Likewise.
33231 (elide-routines.og): Likewise.
33232 (objects): Don't use $(bp-thunks).
33233 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33234 include.
33235 (common-generated): Do not add s-proto-bp.d.
33236 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33237 (int): Likewise.
33238 (typ): Likewise.
33239 Do not generate makefile rules for bounded-pointer thunks.
33240 * sysdeps/generic/bp-thunks.h: Remove file.
33241 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33242 * sysdeps/unix/s-proto-bp.S: Likewise.
33243
8cf28c5e
JM
33244 [BZ #15062]
33245 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33246 parts of result separately when argument is not close to line from
33247 -i to i and one part of argument is small.
33248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33250 * math/libm-test.inc (cacos_test): Add more tests.
33251 (casin_test): Likewise.
33252 (casinh_test): Likewise.
33253 * sysdeps/i386/fpu/libm-test-ulps: Update.
33254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33255
c4e33b8d
DM
332562013-01-31 David S. Miller <davem@davemloft.net>
33257
33258 * po/de.po: Update from translation team.
33259
3b60b421
MK
332602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33261
33262 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33263
bb931195
TS
332642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33265
b5a5da23
TS
33266 * configure.in (_AC_PROG_CC_C89): New definition.
33267 * configure: Regenerate.
33268
bb931195
TS
33269 * configure.in (AC_PROG_CPP): New definition.
33270 * configure: Regenerate.
33271
8c53a12c
JM
332722013-01-23 Joseph Myers <joseph@codesourcery.com>
33273
33274 * debug/tst-backtrace.h: New file.
33275 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33276 (ret): Remove variable.
33277 (x): Likewise.
33278 (FAIL): Remove macro.
33279 (NO_INLINE): Likewise.
33280 (fn1): Use match function instead of strstr.
33281 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33282 (ret): Remove variable.
33283 (x): Likewise.
33284 (FAIL): Remove macro.
33285 (NO_INLINE): Likewise.
33286 (fn): Use match function instead of strstr.
33287 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33288 (ret): Remove variable.
33289 (x): Likewise.
33290 (FAIL): Remove macro.
33291 (NO_INLINE): Likewise.
33292 (handle_signal): Use match function instead of strstr.
33293 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33294 (ret): Remove variable.
33295 (x): Likewise.
33296 (FAIL): Remove macro.
33297 (NO_INLINE): Likewise.
33298 (handle_signal): Use match function instead of strstr.
33299
4858fa2a
RM
333002013-01-23 Roland McGrath <roland@hack.frob.com>
33301
33302 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33303
bae8e7f5
DM
333042013-01-23 David S. Miller <davem@davemloft.net>
33305
33306 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33307 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33308 argument of CAS if possible.
33309 * sysdeps/sparc/sparc64/bits/atomic.h
33310 (__arch_compare_and_exchange_val_32_acq): Likewise.
33311 (__arch_compare_and_exchange_val_64_acq): Likewise.
33312
9cbbc4ae
PT
333132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33314
33315 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33316 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33317 Include <limits.h>.
67b3f58c 33318 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33319
5655a0b5
AC
333202013-01-23 Adam Conrad <adconrad@0c3.net>
33321
33322 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33323 (LDFLAGS-tst-array5): Likewise.
33324
052aff95
JM
333252013-01-23 Joseph Myers <joseph@codesourcery.com>
33326
33327 [BZ #15036]
33328 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33329 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33330 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33331 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33332
7c1e01aa
DM
333332013-01-21 David S. Miller <davem@davemloft.net>
33334
33335 * sysdeps/sparc/backtrace.c: New file.
33336 * sysdeps/sparc/sparc32/backtrace.h: New file.
33337 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33338 * sysdeps/sparc/sparc64/backtrace.h: New file.
33339 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33340 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33341 -funwind-tables.
33342
ab087e0a
AS
333432013-01-21 Andreas Schwab <schwab@suse.de>
33344
33345 [BZ #15020]
33346 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33347 closed its stdout.
33348
ed689c2f
AS
333492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33350
33351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33352 "mpa2.h".
33353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33354
31d470ac
JM
333552013-01-18 Joseph Myers <joseph@codesourcery.com>
33356 Mark Mitchell <mark@codesourcery.com>
33357 Tom de Vries <tom@codesourcery.com>
33358 Paul Pluzhnikov <ppluzhnikov@google.com>
33359
33360 * debug/tst-backtrace2.c: New file.
33361 * debug/tst-backtrace3.c: Likewise.
33362 * debug/tst-backtrace4.c: Likewise.
33363 * debug/tst-backtrace5.c: Likewise.
33364 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33365 (CFLAGS-tst-backtrace3.c): Likewise.
33366 (CFLAGS-tst-backtrace4.c): Likewise.
33367 (CFLAGS-tst-backtrace5.c): Likewise.
33368 (LDFLAGS-tst-backtrace2): Likewise.
33369 (LDFLAGS-tst-backtrace3): Likewise.
33370 (LDFLAGS-tst-backtrace4): Likewise.
33371 (LDFLAGS-tst-backtrace5): Likewise.
33372 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33373 tst-backtrace4 and tst-backtrace5.
33374
90567f30 333752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33376 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33377
33378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33379 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33381 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33383 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33384 "+r" and remove output regs list as redundant. Add explicit inline
33385 asm to specify register of return val to work around compiler codegen
33386 bug. Remove (int) cast on return value. Add return type parameter to
33387 use in macro so that this macro does not truncate return value for
33388 64-bit values.
33389 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33390 pass to INTERNAL_VSYSCALL_NCS.
33391 (INLINE_VSYSCALL): Add 'long int' as return type to
33392 INTERNAL_VSYSCALL_NCS macro invocation.
33393 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33394 INTERNAL_VSYSCALL_NCS macro invocation.
33395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33396
d3b9ea61
SP
333972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33398
0b57daeb
SP
33399 [BZ #14496]
33400 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33401 Fix application of SIMD FP exception mask.
33402
caa99d06
SP
33403 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33404 mp_no from a power of two.
33405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33406 __mpexp_twomm1. Use __pow_mp.
33407
d3b9ea61
SP
33408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33409 multiplication.
33410
1dbaee3c
DM
334112013-01-17 David S. Miller <davem@davemloft.net>
33412
33413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33414
728d7b43
JM
334152013-01-17 Joseph Myers <joseph@codesourcery.com>
33416
33417 [BZ #15023]
33418 * include/complex.h: Condition contents on [!_COMPLEX_H].
33419 (__kernel_casinhf): New prototype.
33420 (__kernel_casinh): Likewise.
33421 (__kernel_casinhl): Likewise.
33422 * math/Makefile (libm_calls): Add k_casinh.
33423 * math/k_casinh.c: New file.
33424 * math/k_casinhf.c: Likewise.
33425 * math/k_casinhl.c: Likewise.
33426 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33427 finite nonzero arguments.
33428 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33429 finite nonzero arguments.
33430 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33431 finite nonzero arguments.
33432 * math/s_casinh.c: Do not include <float.h>.
33433 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33434 * math/s_casinhf.c: Do not include <float.h>.
33435 (__casinhf): Move code for finite nonzero arguments to
33436 k_casinhf.c.
33437 * math/s_casinhl.c: Do not include <float.h>.
33438 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33439 redefine.
33440 (__casinhl): Move code for finite nonzero arguments to
33441 k_casinhl.c.
33442 * math/libm-test.inc (cacos_test): Add more tests.
33443 * sysdeps/i386/fpu/libm-test-ulps: Update.
33444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33445
2a26ef3a
PT
334462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33447
33448 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33449 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33450 [!HAVE_MREMAP]: Remove [defined linux] case.
33451 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33452
a897655d
SP
334532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33454
33455 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33456
881ebe89 334572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33458
33459 * elf/elf.h (R_386_SIZE32): New relocation.
33460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33461 R_386_SIZE32.
33462 (elf_machine_rela): Likewise.
33463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33464 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33465
59981e9b
JM
334662013-01-17 Joseph Myers <joseph@codesourcery.com>
33467
33468 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33469 (FP_FAST_FMA): Do not define.
33470 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33471 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33472 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33473 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33474 !_SOFT_FLOAT]: Likewise.
33475 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33476 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33477 value.
33478 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33479 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33480 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33481 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33482 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33483 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33484 file.
33485
cfa8054f
AS
334862013-01-16 Andreas Schwab <schwab@suse.de>
33487
33488 [BZ #14327]
33489 * include/stdlib.h (__mktemp): Add declaration.
33490 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33491 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33492
dd930cc5
SP
334932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33494
881ebe89
SP
33495 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33496 definitions.
33497 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33498 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33499 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33500 definitions here.
33501 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33502 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33503 definitions.
33504 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33505 and ONE.
33506 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33507 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33508 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33509 definitions.
33510 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33511 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33512 definitions.
33513 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33514
dd930cc5
SP
33515 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33516
c19a9f89
DM
335172013-01-15 David S. Miller <davem@davemloft.net>
33518
1aa61767
DM
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33520 trunc{,f} to libm-sysdep_routes.
33521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33523 file.
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33526 file.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33528 file.
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33536 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33537
c42d5e98
DM
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33539 nearbyint{,f} to libm-sysdep_routes.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33542 New file.
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33544 file.
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33546 New file.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33548 file.
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33552 file.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33555 file.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33557 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33558 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33559
c19a9f89
DM
33560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33561 libc_feholdexcept and libc_fesetenv.
33562
357679d2
MF
335632013-01-15 Mike Frysinger <vapier@gentoo.org>
33564
33565 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33566
65a82e3d
DM
335672013-01-14 David S. Miller <davem@davemloft.net>
33568
8b954ab9
DM
33569 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33570 (SPARC_ASM_VIS2_IFUNC): Likewise.
33571 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33573 use of 'siam' instruction.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33575 Likewise.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33577 Likewise.
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33579 Likewise.
33580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33585 file.
33586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33587 file.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33589 file.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33591 file.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33597 new VIS2 routines.
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33601 Likewise.
33602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33607 routines to libm-sysdep_routines.
33608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33609
65a82e3d
DM
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33611 fdim/fdimf to libm-sysdep_routines.
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33613 file.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33616 file.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33620 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33621 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33622 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33623 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33624
e34ab705
SP
336252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33626
2a91b573
SP
33627 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33628 to optimize copies.
33629
1066a534
SP
33630 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33633
e34ab705
SP
33634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33635 local variable MPTWO.
33636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33637 Likewise.
33638
aba5e596
MF
336392013-01-13 Mike Frysinger <vapier@gentoo.org>
33640
33641 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33642 GLOB_NOESCAPE.
33643
e557e9e5
MF
336442013-01-13 Mike Frysinger <vapier@gentoo.org>
33645
33646 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33647
0428cec9
MF
336482013-01-13 Mike Frysinger <vapier@gentoo.org>
33649
33650 * manual/pattern.texi (glob_t): Document gl_flags.
33651 (glob64_t): Likewise.
33652
8794a964
DM
336532013-01-11 David S. Miller <davem@davemloft.net>
33654
66438c3f
RM
33655 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33656 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33657 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33658 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33659 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33660 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33661 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33662 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33663 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33664 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33665 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33666 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33667 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33668
4ae4244d
DM
33669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33670 sparc V9 rather than using V8 code.
33671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33673
8794a964
DM
33674 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33675 Move to...
33676 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33677 Here.
33678
6270516e
RM
336792013-01-11 Roland McGrath <roland@hack.frob.com>
33680
33681 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33682 not in the main loop.
33683 * configure: Regenerated.
33684
6a57d931
JM
336852013-01-11 Joseph Myers <joseph@codesourcery.com>
33686
33687 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33688 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33689 to just #else.
33690 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33691 [!__GLIBC_HAVE_LONG_LONG] case.
33692 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33693 condition to just #else.
33694 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33695 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33696 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33697 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33698 unconditional.
33699 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33700 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33701 #elif condition to just #else.
33702 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33703 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33704 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33705 #elif condition to just #else.
33706
0e8529e9
SE
337072013-01-11 Steve Ellcey <sellcey@mips.com>
33708
33709 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33710 (EF_MIPS_ARCH_64): Fix value.
33711 (EF_MIPS_ARCH_32R2): New.
33712 (EF_MIPS_ARCH_64R2): New.
33713
740b3dbe
L
337142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33715
33716 * Makeconfig (+link-pie-before-libc): New.
33717 (+link-pie-after-libc): Likewise.
33718 (+link-pie-tests): Likewise.
33719 (+link-pie): Rewritten.
33720 (link-before-libc): Remove $(config-LDFLAGS).
33721 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33722 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33723 (config-LDFLAGS): Renamed to ...
33724 (rtld-LDFLAGS): This.
33725 (rtld-tests-LDFLAGS): New macro.
33726 (link-libc-rpath-link): Likewise.
33727 (link-libc-tests-rpath-link): Likewise.
33728 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33729 (link-libc): Prepand $(link-libc-rpath-link).
33730 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33731 (test-program-prefix): New macro.
33732 (test-via-rtld-prefix): Likewise.
33733 (test-program-cmd): Likewise.
33734 (host-test-program-cmd): Likewise.
33735 * Makefile ($(common-objpfx)testrun.sh): Replace
33736 $(run-program-prefix) with $(test-program-prefix).
33737 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33738 $(rtld-LDFLAGS).
33739 ($(common-objpfx)shlib.lds): Likewise.
33740 (build-module-helper): Likewise.
33741 ($(common-objpfx)format.lds): Likewise.
33742 * Rules (binaries-pie-tests): New.
33743 (binaries-pie-notests): Likewise.
33744 (binaries-pie): Rewritten.
33745 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33746 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33747 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33748 (make-test-out): Replace $(host-built-program-cmd) with
33749 $(host-test-program-cmd).
33750 * config.make.in (build-hardcoded-path-in-tests): New variable.
33751 * configure.in (--enable-hardcoded-path-in-tests): New configure
33752 option.
33753 (hardcoded_path_in_tests): New AC_SUBST.
33754 * configure: Regenerated.
33755 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33756 $(built-program-cmd) with $(test-program-cmd).
33757 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33758 (test_program_cmd): This.
33759 * elf/Makefile ($(objpfx)order.out): Run test with
33760 $(test-program-prefix).
33761 ($(objpfx)order2.out): Likewise.
33762 ($(objpfx)tst-initorder.out): Likewise.
33763 ($(objpfx)tst-initorder2.out): Likewise.
33764 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33765 $(test-program-cmd).
33766 ($(objpfx)tst-array1-static.out): Likewise.
33767 ($(objpfx)tst-array2.out): Likewise.
33768 ($(objpfx)tst-array3.out): Likewise.
33769 ($(objpfx)tst-array4.out): Likewise.
33770 ($(objpfx)tst-array5.out): Likewise.
33771 ($(objpfx)tst-array5-static.out): Likewise.
33772 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33773 $(test-program-cmd).
33774 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33775 $(run-program-prefix) with $(test-program-prefix).
33776 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33777 (test_program_prefix): This.
33778 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33779 $(run-program-prefix) with $(test-program-prefix).
33780 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33781 (test_program_prefix): This.
33782 * iconvdata/tst-tables.sh: Likewise.
33783 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33784 $(run-program-prefix) with $(test-program-prefix).
33785 ($(objpfx)tst-translit.out): Likewise.
33786 ($(objpfx)tst-gettext2.out): Likewise.
33787 ($(objpfx)tst-gettext4.out): Likewise.
33788 ($(objpfx)tst-gettext6.out): Likewise.
33789 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33790 (test_program_prefix): This.
33791 * intl/tst-gettext2.sh: Likewise.
33792 * intl/tst-gettext4.sh Likewise.
33793 * intl/tst-gettext6.sh: Likewise.
33794 * intl/tst-translit.sh: Likewise.
33795 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33796 with $(test-program-cmd).
33797 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33798 $(run-program-prefix) with $(test-program-prefix).
33799 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33800 (test_program_prefix): This.
33801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33802 $(run-program-prefix) with $(test-program-prefix).
33803 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33804 (test_program_prefix): This.
33805 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33806 * posix/Makefile ($(objpfx)globtest.out): Replace
33807 $(run-via-rtld-prefix) and $(test-wrapper) with
33808 $(test-program-prefix) and $(test-via-rtld-prefix).
33809 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33810 $(test-program-prefix).
33811 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33812 $(host-test-program-cmd).
33813 (tst-spawn-ARGS): Likewise.
33814 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33815 $(test-program-prefix).
33816 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33817 (test_via_rtld_prefix): This.
33818 (test_wrapper): Renamed to ...
33819 (test_program_prefix): This.
33820 (run_program_prefix): Replaced by test_program_prefix.
33821 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33822 (test_program_prefix): This.
33823 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33824 with $(host-test-program-cmd).
33825 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33826 $(run-program-prefix) with $(test-program-prefix).
33827 ($(objpfx)tst-printf.out): Likewise.
33828 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33829 $(test-program-cmd).
33830 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33831 (test_program_prefix): This.
33832 * stdio-common/tst-unbputc.sh: Likewise.
33833 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33834 $(run-program-prefix) with $(test-program-prefix).
33835 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33836 (test_program_prefix): This.
33837 * string/Makefile ($(objpfx)tst-svc.out): Replace
33838 $(built-program-cmd) with $(test-program-cmd).
33839
c6fe55cf
AJ
338402013-01-11 Andreas Jaeger <aj@suse.de>
33841
33842 [BZ #15003]
33843 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33844 value. Sync with Linux 3.7.
33845
9e6919c8
DM
338462013-01-10 David S. Miller <davem@davemloft.net>
33847
33848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33849 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33850 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33851
1c9f1a02
RM
338522013-01-10 Roland McGrath <roland@hack.frob.com>
33853
33854 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33855 never set.
33856 * configure: Regenerated.
33857
b9de2dde
DM
338582013-01-10 David S. Miller <davem@davemloft.net>
33859
33860 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33861 sparc V9 rather than using V8 code.
33862 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33863 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33864
e7f68ef4
RM
338652013-01-10 Roland McGrath <roland@hack.frob.com>
33866
33867 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33868 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33869 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33870 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33871 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33872 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33873 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33874 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33875 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33876 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33877 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33878 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33879 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33880 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33881 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33882 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33883 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33884 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33885 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33886 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33887 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33888 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33889 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33890 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33891 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33892 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33893 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33894
5a47cc9c
DM
338952013-01-10 David S. Miller <davem@davemloft.net>
33896
33897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33898
4cf8f209
L
338992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33900
33901 * posix/Makefile (tests-static): New variable.
33902 (tests): Add $(tests-static).
33903 (tst-exec-static-ARGS): New variable.
33904 (tst-spawn-static-ARGS): Likewise.
33905 * posix/tst-exec-static.c: New file.
33906 * posix/tst-spawn-static.c: Likewise.
33907 * posix/tst-exec.c: Support run directly.
33908 * posix/tst-spawn.c: Likewise.
33909
fed0faa1
JM
339102013-01-10 Joseph Myers <joseph@codesourcery.com>
33911
828beb13
JM
33912 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33913 long.
33914 * math/bits/mathcalls.h (llrint): Likewise.
33915 (llround): Likewise.
33916 * stdlib/stdlib.h (struct drand48_data): Likewise.
33917 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33918 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33919 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33920 Likewise.
33921 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33922 Likewise.
33923 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33924 (elf_greg_t): Likewise.
33925 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33926 (__jmp_buf): Likewise.
33927 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33928 definitions.
33929 (llrint): Likewise, for all definitions.
33930 (llrintl): Likewise.
33931
fed0faa1
JM
33932 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33933 Remove [__GNUC__] condition.
33934 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33935 condition to just [__USE_ISOC99].
33936 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33937
1a20cb20
L
339382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33939
33940 [BZ #14200]
33941 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33942 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33943 defined.
33944 (_POSIX_V6_ILP32_OFF32): Likewise.
33945 (_XBS5_ILP32_OFF32): Likewise.
33946 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33947 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33948
751b85f7
SP
339492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33950
7490eb81
SP
33951 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33952
751b85f7
SP
33953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33954 doubles __mpexp_twomm1. Adjust usage.
33955 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33956 Remove.
33957
988197f0
AS
339582013-01-10 Andreas Schwab <schwab@suse.de>
33959
33960 [BZ #14964]
33961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33962 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33963
e83d7298
DM
339642013-01-09 David S. Miller <davem@davemloft.net>
33965
034ed64b 33966 [BZ #15003]
57f41c40
AS
33967 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33968 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33969 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33970 (TCP_FASTOPEN): Define.
e83d7298
DM
33971 (tcp_repair_opt): New structure.
33972 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33973 enum values.
57f41c40
AS
33974 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33975 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33976 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33977 (tcp_cookie_transactions): New structure.
33978
d5e0b9bd
AB
339792013-01-09 Anton Blanchard <anton@samba.org>
33980
33981 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33982 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33984 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33985
0c07e3ea
JM
339862013-01-09 Joseph Myers <joseph@codesourcery.com>
33987
33988 * include/features.h (__USE_ANSI): Remove.
33989
232f7002
RM
339902013-01-09 Roland McGrath <roland@hack.frob.com>
33991
ad98e30c
RM
33992 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33993
232f7002
RM
33994 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33995
950c99ca
SP
339962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33997
b5792741
SP
33998 * sysdeps/s390/fpu/libm-test-ulps: Update.
33999
47cf2278
SP
34000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34001
950c99ca
SP
34002 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34003 (__acr): Likewise.
34004 (__cpy): Likewise.
34005 (norm): Likewise.
34006 (denorm): Likewise.
34007 (__mp_dbl): Likewise.
34008 (__dbl_mp): Likewise.
34009 (add_magnitudes): Likewise.
34010 (sub_magnitudes): Likewise.
34011 (__add): Likewise.
34012 (__sub): Likewise.
34013 (__mul): Likewise.
34014 (__inv): Likewise.
34015 (__dvd): Likewise.
34016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34017 (__acr): Likewise.
34018 (__cpy): Likewise.
34019 (norm): Likewise.
34020 (denorm): Likewise.
34021 (__mp_dbl): Likewise.
34022 (__dbl_mp): Likewise.
34023 (add_magnitudes): Likewise.
34024 (sub_magnitudes): Likewise.
34025 (__add): Likewise.
34026 (__sub): Likewise.
34027 (__mul): Likewise.
34028 (__inv): Likewise.
34029 (__dvd): Likewise.
34030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34031 (__acr): Likewise.
34032 (__cpy): Likewise.
34033 (norm): Likewise.
34034 (denorm): Likewise.
34035 (__mp_dbl): Likewise.
34036 (__dbl_mp): Likewise.
34037 (add_magnitudes): Likewise.
34038 (sub_magnitudes): Likewise.
34039 (__add): Likewise.
34040 (__sub): Likewise.
34041 (__mul): Likewise.
34042 (__inv): Likewise.
34043 (__dvd): Likewise.
34044
eede9df9
JM
340452013-01-08 Joseph Myers <joseph@codesourcery.com>
34046
34047 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34048 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34049 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34050 2 && __USE_EXTERN_INLINES]: Likewise.
34051
c40ea3d9
AJ
340522013-01-08 Andreas Jaeger <aj@suse.de>
34053
34054 [BZ# 14985]
34055 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34056 Remove.
34057 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34058 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34059
2ccdea26
AB
340602013-01-07 Anton Blanchard <anton@samba.org>
34061
34062 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34063 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34064 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34065 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34066 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34068 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34069 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34071 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34073 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34076 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34077 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34078 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34079 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34080 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34085 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34086 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34087 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34088 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34089 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34091 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34092 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34095 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34096 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34102 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34103 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34104 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34105
a9708fed
JM
341062013-01-07 Joseph Myers <joseph@codesourcery.com>
34107
375607b9
JM
34108 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34109 (__MALLOC_PMT): Likewise.
34110 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34111 [__GNUC__], only on [_LIBC].
34112 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34113 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34114 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34115 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34116 forward declaration.
34117 (realloc_hook_ini): Likewise.
34118 (memalign_hook_ini): Likewise.
34119 (__libc_memalign): Do not use __MALLOC_PMT in variable
34120 declaration.
34121 (__libc_valloc): Likewise.
34122 (__libc_pvalloc): Likewise.
34123 (__libc_calloc): Likewise.
34124 (__posix_memalign): Likewise.
34125
a9708fed
JM
34126 [BZ #14996]
34127 * math/s_casinh.c: Include <float.h>.
34128 (__casinh): Do not do computation with squaring and square root
34129 for large arguments.
34130 * math/s_casinhf.c: Include <float.h>.
34131 (__casinhf): Do not do computation with squaring and square root
34132 for large arguments.
34133 * math/s_casinhl.c: Include <float.h>.
34134 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34135 (__casinhl): Do not do computation with squaring and square root
34136 for large arguments.
34137 * math/libm-test.inc (casin_test): Add more tests.
34138 (casinh_test): Likewise.
34139 * sysdeps/i386/fpu/libm-test-ulps: Update.
34140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34141
afec409a
L
341422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34145 (__x86_64_raw_data_cache_size): Likewise.
34146 (__x86_64_data_cache_size_half): Likewise.
34147 (__x86_64_raw_data_cache_size_half): Likewise.
34148 (__x86_64_shared_cache_size): Likewise.
34149 (__x86_64_raw_shared_cache_size): Likewise.
34150 (__x86_64_shared_cache_size_half): Likewise.
34151 (__x86_64_raw_shared_cache_size_half): Likewise.
34152 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34153 to ...
34154 (__x86_data_cache_size): This.
34155 (__x86_64_raw_data_cache_size): Renamed to ...
34156 (__x86_raw_data_cache_size): This.
34157 (__x86_64_data_cache_size_half): Renamed to ...
34158 (__x86_data_cache_size_half): This.
34159 (__x86_64_raw_data_cache_size_half): Renamed to ...
34160 (__x86_raw_data_cache_size_half): This.
34161 (__x86_64_shared_cache_size): Renamed to ...
34162 (__x86_shared_cache_size): This.
34163 (__x86_64_raw_shared_cache_size): Renamed to ...
34164 (__x86_raw_shared_cache_size): This.
34165 (__x86_64_shared_cache_size_half): Renamed to ...
34166 (__x86_shared_cache_size_half): This.
34167 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34168 (__x86_raw_shared_cache_size_half): This.
34169 * sysdeps/x86_64/memcpy.S: Updated.
34170 * sysdeps/x86_64/memset.S: Likewise.
34171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34174
0b3986d0
DM
341752013-01-04 David S. Miller <davem@davemloft.net>
34176
34177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34178
e47686e9
AS
341792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34180
d643bac1
AS
34181 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34182 1 to avoid redefinition warning.
34183 (__USE_GNU): Don't define.
34184 (init_signaling_nan): Protoize.
34185
e47686e9
AS
34186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34187
b18decba
SP
341882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34189
fffb407f
SP
34190 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34192 (__cpymn): Likewise.
34193 (norm): Remove commented code.
34194 (denorm): Likewise.
34195 (__mp_dbl): Likewise.
34196 (__inv): Likewise.
34197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34198 (__cpymn): Likewise.
34199 (norm): Remove commented code.
34200 (denorm): Likewise.
34201 (__mp_dbl): Likewise.
34202 (__inv): Likewise.
34203
b18decba
SP
34204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34205 mp_no value for 1.0 and 2.0.
34206 (norm): Use RADIXI instead of radixi.d.
34207 (denorm): Likewise.
34208 (__mul): Use 0.0 instead of zero.d.
34209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34210 mp_no value for 1.0 and 2.0.
34211 (norm): Use RADIXI instead of radixi.d.
34212 (denorm): Likewise.
34213 (__mul): Use 0.0 instead of zero.d.
34214
cdc1c96f
JM
342152013-01-04 Joseph Myers <joseph@codesourcery.com>
34216
34217 [BZ #14994]
34218 * math/s_casinh.c (__casinh): Reduce finite argument to first
34219 quadrant then set signs of results at the end.
34220 * math/s_casinhf.c (__casinhf): Likewise.
34221 * math/s_casinhl.c (__casinhl): Likewise.
34222 * math/libm-test.inc (casin_test): Add more tests.
34223 (casinh_test): Likewise.
34224 * sysdeps/i386/fpu/libm-test-ulps: Update.
34225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34226
302913e1
SP
342272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34228
6420d207
SP
34229 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34230
a9e48ab4
SP
34231 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34232
b7837264
SP
34233 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34234 declarations.
34235 (denorm): Likewise.
34236 (__mp_dbl): Likewise.
34237 (__inv): Likewise.
34238
f8af25d2
SP
34239 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34240 and adjust the header comment.
34241
302913e1
SP
34242 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34243 variable name from declaration.
34244
5d7dd1ca
L
342452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34246
34247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34248 Initialize COMMON_CPUID_INDEX_7 element.
34249 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34250 (CPUID_RTM): Likewise.
34251 (HAS_RTM): Likewise.
34252 (COMMON_CPUID_INDEX_7): New enum.
34253
2f5f40f4
AS
342542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34255
34256 [BZ #14981]
34257 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34258 size is zero, record memory as freed.
34259
4056f4a0
AJ
342602013-01-03 Andreas Jaeger <aj@suse.de>
34261
34262 * po/ia.po: Add new Interlingua translation.
34263
ab15736f 342642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34265
34266 * locale/programs/localedef.c: Fix description of '--posix' flag.
34267
568035b7
JM
342682013-01-02 Joseph Myers <joseph@codesourcery.com>
34269
e6898b8d
JM
34270 * NEWS: Update dates in second copyright notice.
34271 * README: Update copyright dates in example.
34272 * manual/libc.texinfo: Update copyright dates.
34273 * scripts/test-installation.pl: Update copyright date in --version
34274 output.
34275
0e2f9562
JM
34276 * hurd/ctty-input.c: Fix copyright notice formatting.
34277 * hurd/ctty-output.c: Likewise.
34278 * hurd/dtable.c: Likewise.
34279 * hurd/hurd-raise.c: Likewise.
34280 * hurd/hurdprio.c: Likewise.
34281 * hurd/msgportdemux.c: Likewise.
34282 * misc/sys/file.h: Likewise.
34283 * misc/sys/ioctl.h: Likewise.
34284 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34285 * sysdeps/mach/hurd/chdir.c: Likewise.
34286 * sysdeps/mach/hurd/fchdir.c: Likewise.
34287 * sysdeps/mach/hurd/rename.c: Likewise.
34288 * sysdeps/mach/hurd/rmdir.c: Likewise.
34289 * sysdeps/mach/hurd/seekdir.c: Likewise.
34290 * sysdeps/mach/hurd/setsid.c: Likewise.
34291 * sysdeps/posix/wait3.c: Likewise.
34292
568035b7
JM
34293 * All files with FSF copyright notices: Update copyright dates
34294 using scripts/update-copyrights.
34295 * intl/plural.c: Regenerated.
34296 * locale/programs/charmap-kw.h: Likewise.
34297 * locale/programs/locfile-kw.h: Likewise.
34298
da08f647
SP
342992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34300
0f5477af
SP
34301 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34302 four values.
34303
44e0d4c2
SP
34304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34305 calculation loop and add branch prediction.
34306
4d55b4e5
SP
34307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34308 check access beyond bounds of m1np.
34309
da08f647
SP
34310 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34311 MPTWO.
34312 (__inv): Remove local variable MPTWO to use the global
34313 constant.
34314 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34316 variable MPTWO.
34317 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34318 MP3HALFS static const.
34319
8e051029
DM
343202013-01-01 David S. Miller <davem@davemloft.net>
34321
34322 * po/ca.po: Update from translation team.
34323
f4cf5f2d
JM
343242013-01-01 Joseph Myers <joseph@codesourcery.com>
34325
34326 * scripts/update-copyrights: New file.
34327 * Makeconfig: Reformat copyright notice.
34328 * ctype/ctype.h: Likewise.
34329 * debug/swprintf_chk.c: Likewise.
34330 * elf/dl-cache.c: Likewise.
34331 * elf/dl-debug.c: Likewise.
34332 * elf/dl-object.c: Likewise.
34333 * grp/initgroups.c: Likewise.
34334 * hurd/Makefile: Likewise.
34335 * hurd/hurd/signal.h: Likewise.
34336 * hurd/hurdfault.c: Likewise.
34337 * hurd/hurdioctl.c: Likewise.
34338 * hurd/hurdlookup.c: Likewise.
34339 * hurd/intr-msg.c: Likewise.
34340 * iconv/gconv_open.c: Likewise.
34341 * libio/swprintf.c: Likewise.
34342 * locale/lc-ctype.c: Likewise.
34343 * locale/nl_langinfo.c: Likewise.
34344 * mach/Machrules: Likewise.
34345 * mach/Makefile: Likewise.
34346 * malloc/obstack.h: Likewise.
34347 * manual/Makefile: Likewise.
34348 * manual/tsort.awk: Likewise.
34349 * misc/bits/stab.def: Likewise.
34350 * nis/nis_print_group_entry.c: Likewise.
34351 * nis/nis_table.c: Likewise.
34352 * nis/nss_compat/compat-pwd.c: Likewise.
34353 * nis/nss_compat/compat-spwd.c: Likewise.
34354 * po/Makefile: Likewise.
34355 * posix/fnmatch.c: Likewise.
34356 * posix/regex.h: Likewise.
34357 * resolv/Makefile: Likewise.
34358 * resolv/nss_dns/dns-network.c: Likewise.
34359 * resolv/res_hconf.c: Likewise.
34360 * scripts/gen-sorted.awk: Likewise.
34361 * soft-fp/soft-fp.h: Likewise.
34362 * stdio-common/printf.h: Likewise.
34363 * stdlib/monetary.h: Likewise.
34364 * stdlib/random.c: Likewise.
34365 * stdlib/random_r.c: Likewise.
34366 * sysdeps/generic/Makefile: Likewise.
34367 * sysdeps/gnu/Makefile: Likewise.
34368 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34375 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34396 * sysdeps/mach/hurd/errnos.awk: Likewise.
34397 * sysdeps/mach/hurd/fork.c: Likewise.
34398 * sysdeps/mach/hurd/getcwd.c: Likewise.
34399 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34400 * sysdeps/mach/hurd/mmap.c: Likewise.
34401 * sysdeps/mach/hurd/utimes.c: Likewise.
34402 * sysdeps/mach/hurd/xmknod.c: Likewise.
34403 * sysdeps/posix/profil.c: Likewise.
34404 * sysdeps/posix/readdir_r.c: Likewise.
34405 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34406 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34407 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34408 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34412 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34414 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34416 * sysdeps/pthread/lio_listio.c: Likewise.
34417 * sysdeps/sparc/dl-procinfo.h: Likewise.
34418 * sysdeps/unix/i386/sysdep.S: Likewise.
34419 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34420 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34421 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34422 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34424 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34425 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34426 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34427 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34428 * sysdeps/wordsize-32/divdi3.c: Likewise.
34429 * time/sys/time.h: Likewise.
34430 * wcsmbs/Makefile: Likewise.
34431
0549fbba
DM
344322013-01-01 David S. Miller <davem@davemloft.net>
34433
a141f1a7
DM
34434 * po/fr.po: Update from translation team.
34435
0549fbba
DM
34436 * catgets/gencat.c: Update copyright year.
34437 * csu/version.c: Likewise.
34438 * debug/catchsegv.sh: Likewise.
34439 * debug/pcprofiledump.c: Likewise.
34440 * debug/xtrace.sh: Likewise.
34441 * elf/ldconfig.c: Likewise.
34442 * elf/ldd.bash.in: Likewise.
34443 * elf/pldd.c: Likewise.
34444 * elf/sotruss.ksh: Likewise.
34445 * elf/sprof.c: Likewise.
34446 * iconv/iconv_prog.c: Likewise.
34447 * iconv/iconvconfig.c: Likewise.
34448 * locale/programs/locale.c: Likewise.
34449 * locale/programs/localedef.c: Likewise.
34450 * login/programs/pt_chown.c: Likewise.
34451 * malloc/memusage.sh: Likewise.
34452 * malloc/memusagestat.c: Likewise.
34453 * malloc/mtrace.pl: Likewise.
34454 * nscd/nscd.c: Likewise.
34455 * nss/getent.c: Likewise.
34456 * nss/makedb.c: Likewise.
34457 * posix/getconf.c: Likewise.
34458
18ea052c
SP
344592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34460
34461 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34462 numbers.
34463
9c89fca6
MF
344642012-12-30 Mike Frysinger <vapier@gentoo.org>
34465
34466 * math/bits/mathcalls.h (modf): Use __nonnull.
34467
085ec079
SP
344682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34469
34470 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34471 (split): Use macro CN instead of the bare value.
34472 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34473 could be used.
34474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34475 instead of the bare value.
34476 (power1): Likewise.
34477
6d9f97e1
SP
344782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34479
d63f73be
SP
34480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34481 __ATAN_TWOM.
34482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34483
6d9f97e1
SP
34484 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34485 their values.
34486 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34488 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34489 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34490
4c4febf5
AJ
344912012-12-28 Andreas Jaeger <aj@suse.de>
34492
af5843ef
AJ
34493 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34494 values are from Linux 3.7.
34495
4c4febf5
AJ
34496 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34497 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34498
99136f82
SP
344992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34500
2f216c3c 34501 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34502 TRUE case.
34503
99136f82
SP
34504 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34505 (norm): Likewise.
34506 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34507 variables with preprocessor constants.
34508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34509 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34510 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34511
7fffbdff
BH
345122012-12-27 Bruno Haible <bruno@clisp.org>
34513
34514 [BZ #14317]
34515 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34516 only if needed.
34517
b76eb5f0
SP
345182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34519
31a7fe5c
SP
34520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34521 and use variable directly.
34522 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34523
b76eb5f0
SP
34524 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34525 MPONE.
34526 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34528 variable MPONE.
34529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34531 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34532 include directive. Remove local variable MPONE.
34533 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34534 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34536
2c8bfe7d
DM
345372012-12-25 David S. Miller <davem@davemloft.net>
34538
34539 * version.h (RELEASE): Set to "development".
34540 (VERSION): Set to "2.17.90".
34541 * NEWS: Add 2.18 section.
34542
147d03b0
DM
345432012-12-21 David S. Miller <davem@davemloft.net>
34544
34545 * po/hr.po: Update from translation team.
34546
a8ebb2b9
AK
345472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34548
34549 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34550
95b4f1b6
SE
345512012-12-19 Steve Ellcey <sellcey@mips.com>
34552
b2d94007 34553 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34554
cedb2a90
MS
345552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34556
34557 * manual/contrib.texi (Contributors): Spelling correction.
34558
bbf527d6
DM
345592012-12-15 David S. Miller <davem@davemloft.net>
34560
34561 * po/ru.po: Update from translation team.
34562
bc38c906
DM
345632012-12-13 David S. Miller <davem@davemloft.net>
34564
85429b1a
DM
34565 * NEWS: Mention IFUNC testsuite enhancements.
34566
d283e353
DM
34567 * po/pl.po: Update from translation team.
34568 * po/bg.po: Likewise.
34569
bc38c906
DM
34570 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34571 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34572
a181b0d7
DM
345732012-12-11 David S. Miller <davem@davemloft.net>
34574
4641d57e
DM
34575 * po/sv.po: Update from translation team.
34576
f7bc6495
DM
34577 * po/vi.po: Update from translation team.
34578
6fc9048f
DM
34579 * po/cs.po: Update from translation team.
34580
a181b0d7
DM
34581 * po/de.po: Update from translation team.
34582 * po/eo.po: Likewise.
34583 * po/nl.po: Likewise.
34584
f70bfe80
SP
345852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34586
3c8b4190
SP
34587 [BZ #14246]
34588 * manual/argp.texi (Argp Helper Functions): Move node to follow
34589 Argp Parsing State.
34590
f70bfe80
SP
34591 [BZ #14872]
34592 * manual/conf.texi (Limits on File System Capacity): Mention if
34593 terminating null is included in the max size.
34594
188f0adf
AJ
345952012-12-10 Andreas Jaeger <aj@suse.de>
34596
34597 * po/cs.po: Update from translation team.
34598
56e7d3ad
SP
345992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34600
34601 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34602 void pointer and cast to uintptr_t.
34603 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34604 path.
34605 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34606 * sysdeps/s390/s390-64/memset.S: Likewise.
34607
76f2d2ea 346082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34609
34610 [BZ #14833]
34611 * menual/message.texi (Message Translation): Fix typos.
34612 (Helper programs for gettext): Likewise.
34613
67cbf9a2
AS
346142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34615
34616 [BZ #14898]
34617 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34618 Change to -1.
34619
682d0e9a
DM
346202012-12-07 David S. Miller <davem@davemloft.net>
34621
34622 * po/libc.pot: Update.
34623
573cd484
RH
346242012-12-07 Richard Henderson <rth@redhat.com>
34625
7e9da188 34626 [BZ #10114]
573cd484
RH
34627 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34628 normal/normal case to before the switch.
34629 (_FP_DIV): Likewise.
34630
e933a943
MF
346312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34632 Mike Frysinger <vapier@gentoo.org>
34633
34634 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34635 check for __NR_fadvise64_64.
34636
82123268
CM
346372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34638
34639 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34640 0, not just to plain "0" as a statement.
34641 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34642 with cw.
34643
d9814526
JM
346442012-12-06 Joseph Myers <joseph@codesourcery.com>
34645
34646 * NEWS: Use sourceware.org in Bugzilla URL.
34647
7728c574
SP
346482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34649
f16946dd
SP
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34651 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34652
5704bbcb
SP
34653 * stdio-common/tst-put-error.c (do_test): Add newline to the
34654 padded test to ensure flush.
34655
17aa0516
JL
346562012-12-05 Jeff Law <law@redhat.com>
34657
34658 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34659
363313b5
JM
346602012-12-05 Joseph Myers <joseph@codesourcery.com>
34661
effbd42a
JM
34662 * README: Don't refer to ports add-on as distributed separately.
34663 Mention AArch64 in list of systems supported in the ports add-on.
34664
87600365
JM
34665 * LICENSES: Add more non-FSF copyright and license notices.
34666
a0d7066a
JM
34667 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34668 ((unused)).
34669
66ca5a5b
JM
34670 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34671
363313b5
JM
34672 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34673 10000 as width of padded output.
34674
b37984ad
JM
346752012-12-04 Joseph Myers <joseph@codesourcery.com>
34676
9003570a
JM
34677 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34678
b37984ad
JM
34679 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34680 variable LX with __attribute__ ((unused)).
34681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34682 Likewise.
34683 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34686 with __attribute__ ((unused)).
34687
c8df52ec
DM
346882012-12-04 David S. Miller <davem@abraco.davemloft.net>
34689
34690 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34691
b3b099af
JM
346922012-12-04 Joseph Myers <joseph@codesourcery.com>
34693
c33aa6e3
JM
34694 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34695 (CFLAGS-nldbl-acos.c): New variable.
34696 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34697 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34698 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34699 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34700 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34701 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34702 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34703 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34704 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34705 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34706 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34707 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34708 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34709 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34710 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34711 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34712 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34713 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34714 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34715 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34716 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34717 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34718 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34719 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34720 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34721 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34722 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34723 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34724 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34725 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34726 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34727 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34728 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34729 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34730 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34731 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34732 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34733 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34734 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34735 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34736 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34737 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34738 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34739 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34740 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34741 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34742 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34743 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34744 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34745 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34746 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34747 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34748 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34749 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34750 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34751 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34752 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34753 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34754 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34755 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34756 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34757 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34758 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34759 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34760 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34761 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34762 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34763 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34764 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34765 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34766 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34767 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34768 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34769 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34770 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34771 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34772 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34773 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34774 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34775 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34776 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34777 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34778 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34779 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34780 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34781 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34782 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34783 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34784 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34785 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34786 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34787 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34788 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34789 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34790 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34791 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34792 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34793
20f0018d
JM
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34795 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34796
b3b099af
JM
34797 [BZ #14914]
34798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34799 whole low double instead of just low 47 bits when splitting values
34800 into two parts.
34801
029264d1
AM
348022012-12-03 Allan McRae <allan@archlinux.org>
34803
34804 * manual/stdio.texi (Predefined Printf Handlers): Remove
34805 @hsep and @vsep usage.
34806
c9d6789e
MF
348072012-12-03 Mike Frysinger <vapier@gentoo.org>
34808
34809 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34810 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34811
4b7634a5
JL
348122012-12-03 Jeff Law <law@redhat.com>
34813
34814 * time/sys/time.h (settimeofday): Do not mark TV argument
34815 as __nonnull.
34816
eb6cbd24
MF
348172012-12-01 Mike Frysinger <vapier@gentoo.org>
34818
34819 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34820 when currently writing and seek to current position when not.
34821 * libio/Makefile (tests): Remove bug-fclose1.
34822 * libio/bug-fclose1.c: Delete.
34823
f638872a
JM
348242012-12-01 Joseph Myers <joseph@codesourcery.com>
34825
34826 * manual/arith.texi (feenableexcept): Fix typo.
34827 (fedisableexcept): Likewise.
34828
48085d14
RM
348292012-11-30 Roland McGrath <roland@hack.frob.com>
34830
34831 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34832 second, differently-typed declaration, rather than a cast.
34833
1a538b9f
SP
348342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34835
34836 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34837 * include/rpc/svc.h: ... here.
34838
d07f2ff1 348392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34840
34841 [BZ #13013]
34842 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34843 depending n and resplen2 to catch cases where answer
34844 equals answerp2.
34845
c93ec1f0
CD
348462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34847
34848 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34849 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34850
37db69de
MF
348512012-11-29 Mike Frysinger <vapier@gentoo.org>
34852
34853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34854
e10c4e4f
RM
348552012-11-29 Roland McGrath <roland@hack.frob.com>
34856
34857 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34858
2af1b328
JL
348592012-11-28 Jeff Law <law@redhat.com>
34860
34861 [BZ #13761]
34862 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34863 dataset_temporary. Track alloca usage into alloca_used.
34864 If dataset is large allocate and release it via malloc/free.
34865
111db5b1
FW
348662012-06-04 Florian Weimer <fweimer@redhat.com>
34867
f06cc227 34868 [BZ #14197]
111db5b1
FW
34869 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34870
dd694abd
DM
348712012-11-28 David S. Miller <davem@davemloft.net>
34872
34873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34874
9984dd01
JM
348752012-11-28 Joseph Myers <joseph@codesourcery.com>
34876
34877 [BZ #14803]
34878 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34879 of pi/2 rounded to nearest to 64 bits.
34880 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34881 nearest to 64 bits.
34882 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34883 bits.
34884
14bc93a9
JL
348852012-11-28 Jeff Law <law@redhat.com>
34886 Martin Osvald <mosvald@redhat.com>
34887
34888 [BZ #14889]
34889 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34890 * sunrpc/svc.c: Include time.h.
34891 (__svc_accept_failed): New function.
34892 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34893 any reason other than EINTR, call __svc_accept_failed.
34894 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34895 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34896
e3c6aa3a
AS
348972012-11-28 Andreas Schwab <schwab@suse.de>
34898
34899 * scripts/abilist.awk: Also handle indirect functions in .opd
34900 section.
34901
1bead169
JM
349022012-11-28 Joseph Myers <joseph@codesourcery.com>
34903
34904 [BZ #13881]
34905 * sysdeps/x86/fpu/powl_helper.c: New file.
34906 * sysdeps/x86/fpu/Makefile: Likewise.
34907 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34908 (p3): New object.
34909 (__ieee754_powl): Use __powl_helper for finite arguments except
34910 integer exponents below 8.
34911 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34912 (p3): New object.
34913 (__ieee754_powl): Use __powl_helper for finite arguments except
34914 integer exponents below 8.
34915 * math/libm-test.inc (pow_test): Add more tests and enable some
34916 previously disabled tests.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34919
0817d63d
SP
349202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34921 Carlos O'Donell <carlos_odonell@mentor.com>
34922
34923 * nss/makedb.c (is_prime): Assert that input is odd and greater
34924 than 4. Note that fact in a comment too.
34925 (next_prime): Add 4 to input.
34926
de2fd463
SP
349272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34928
34929 [BZ #11741]
34930 * libio/Makefile (tests): Add test case tst-fwrite-error.
34931 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34932 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34933 * libio/tst-fwrite-error.c: New test case.
34934
c515fb51
L
349352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34936
34937 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34938 before casting to void *.
34939 * include/libc-internal.h (__pointer_type): New macro.
34940 (__integer_if_pointer_type_sub): Likewise.
34941 (__integer_if_pointer_type): Likewise.
34942 (cast_to_integer): Likewise.
34943 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34944 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34945 before casting to atomic64_t.
34946 (atomic_exchange_acq): Likewise.
34947 (__arch_exchange_and_add_body): Likewise.
34948 (__arch_add_body): Likewise.
34949 (atomic_add_negative): Likewise.
34950 (atomic_add_zero): Likewise.
34951
4cf77aa9
JM
349522012-11-26 Joseph Myers <joseph@codesourcery.com>
34953
34954 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34955 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34956 (add_fdes): Likewise.
34957 (linear_search_fdes): Likewise.
34958 (binary_search_unencoded_fdes): Likewise.
34959
d260b3b4
AS
349602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34961
34962 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34963
67060746
AC
349642012-11-24 Adam Conrad <adconrad@0c3.net>
34965
34966 * configure.in: Autodetect C++ header directories.
34967 * configure: Regenerated.
34968
800938a1
MF
349692012-11-23 Mike Frysinger <vapier@gentoo.org>
34970
34971 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34972
4e6e34e6
AS
349732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34974
34975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34976
7c7feb47
JM
349772012-11-22 Joseph Myers <joseph@codesourcery.com>
34978
7184dcdf
JM
34979 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34980 LDBL_MANT_DIG == 106]: Disable some tests.
34981 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34982 Likewise.
34983 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34984 Likewise.
34985
0a42601f
JM
34986 [BZ #14871]
34987 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34988 input for small inputs. Return +/- pi/2 for large inputs.
34989 * math/libm-test.inc (atan_test): Add more tests.
34990
79c9b9fe
JM
34991 * sysdeps/generic/unwind-dw2-fde-glibc.c
34992 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34993 __attribute__ ((unused)).
34994
c60d3bf2
JM
34995 [BZ #14645]
34996 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34997 x * y if x and y are nonzero and z is zero.
34998
ef1e0867
JM
34999 [BZ #14811]
35000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35001 nonzero exponents with absolute value below 0x1p-117 to +/-
35002 0x1p-117.
35003
1468ded3
JM
35004 [BZ #14869]
35005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35006 up arguments below 2**-450, not just those below 2**-500.
35007 * math/libm-test.inc (hypot_test): Add another test.
35008
8e27e3cc
JM
35009 [BZ #14868]
35010 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35011 Return a+b for ratio over 2**120, not 2**60.
35012 * math/libm-test.inc (hypot_test): Add another test.
35013
c9c0279b
JM
35014 * math/libm-test.inc (clog_test): Use
35015 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35016 (clog10_test): Likewise.
35017
7c7feb47
JM
35018 [BZ #6778]
35019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35020
fff1530e
AS
350212012-11-22 Andreas Schwab <schwab@suse.de>
35022
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024
94558d30
PT
350252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35026
35027 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35028 printf output with newline.
35029
7e1be741
L
350302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35031
6bfea974
L
35032 [BZ #14865]
35033 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35034 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35035 -z nodlopen, -z initfirst and -z execstack support.
35036 * configure: Regenerated.
35037
7e1be741
L
35038 * elf/elf.h (DF_1_NODIRECT): New macro.
35039 (DF_1_IGNMULDEF): Likewise.
35040 (DF_1_NOKSYMS): Likewise.
35041 (DF_1_NOHDR): Likewise.
35042 (DF_1_EDITED): Likewise.
35043 (DF_1_NORELOC): Likewise.
35044 (DF_1_SYMINTPOSE): Likewise.
35045 (DF_1_GLOBAUDIT): Likewise.
35046 (DF_1_SINGLETON): Likewise.
35047 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35048 DT_1_SUPPORTED_MASK bits.
35049 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35050
105ce2ce
CD
350512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35052
35053 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35054
123be9de
TS
350552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35056
d072f3f7
TS
35057 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35058 macro.
35059
123be9de
TS
35060 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35061 (sendmmsg): Move declarations...
35062 * socket/sys/socket.h: ... here.
35063 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35064 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35065 include it from...
35066 * socket/recvmmsg.c: ... this new file.
35067 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35068 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35069 definition of __sendmmsg hidden.
35070 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35071 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35072 Move ENOSYS stub into and include it from...
35073 * socket/sendmmsg.c: ... this new file.
35074 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35075 (sysdep_routines): Move recvmmsg and sendmmsg...
35076 * socket/Makefile (routines): ... here.
35077 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35078 (GLIBC_PRIVATE): Add __sendmmsg.
35079 * include/sys/socket.h (__sendmmsg): Add declarations.
35080 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35081 sendmmsg.
35082
cf9a5d18
JM
350832012-11-20 Joseph Myers <joseph@codesourcery.com>
35084
35085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35086 variable I1 with __attribute__ ((unused)).
35087 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35088
ecd4caf9
JM
350892012-11-19 Joseph Myers <joseph@codesourcery.com>
35090
be14d48f
JM
35091 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35092 DUMMY variables with __attribute__ ((unused)).
35093
ecd4caf9
JM
35094 * bits/byteswap.h: Include <bits/types.h>.
35095 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35096
986cab95
PT
350972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35098
35099 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35100 string_t. Do not manually set errno.
35101 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35102 length with __strnlen. Make sure to both set errno and return it on
35103 failure.
35104
6d33cc9d
DM
351052012-11-19 David S. Miller <davem@davemloft.net>
35106
35107 With help from Joseph Myers.
35108 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35109 very large arguments properly.
35110 * math/libm-test.inc (atan_test): New tests.
35111 (atan2_test): New tests.
35112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35114
ee663277
JM
351152012-11-19 Joseph Myers <joseph@codesourcery.com>
35116
877f2d8e
JM
35117 [BZ #14856]
35118 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35119 Define to 3.
35120
116fc08a
JM
35121 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35122 [POSIX] (EADDRNOTAVAIL): Likewise.
35123 [POSIX] (EAFNOSUPPORT): Likewise.
35124 [POSIX] (EALREADY): Likewise.
35125 [POSIX] (ECONNABORTED): Likewise.
35126 [POSIX] (ECONNREFUSED): Likewise.
35127 [POSIX] (ECONNRESET): Likewise.
35128 [POSIX] (EDESTADDRREQ): Likewise.
35129 [POSIX] (EDQUOT): Likewise.
35130 [POSIX] (EHOSTUNREACH): Likewise.
35131 [POSIX] (EIDRM): Likewise.
35132 [POSIX] (EISCONN): Likewise.
35133 [POSIX] (ELOOP): Likewise.
35134 [POSIX] (EMULTIHOP): Likewise.
35135 [POSIX] (ENETDOWN): Likewise.
35136 [POSIX] (ENETUNREACH): Likewise.
35137 [POSIX] (ENOBUFS): Likewise.
35138 [POSIX] (ENODATA): Likewise.
35139 [POSIX] (ENOLINK): Likewise.
35140 [POSIX] (ENOMSG): Likewise.
35141 [POSIX] (ENOPROTOOPT): Likewise.
35142 [POSIX] (ENOSR): Likewise.
35143 [POSIX] (ENOSTR): Likewise.
35144 [POSIX] (ENOTCONN): Likewise.
35145 [POSIX] (ENOTSOCK): Likewise.
35146 [POSIX] (EOPNOTSUPP): Likewise.
35147 [POSIX] (EOVERFLOW): Likewise.
35148 [POSIX] (EPROTO): Likewise.
35149 [POSIX] (EPROTONOSUPPORT): Likewise.
35150 [POSIX] (EPROTOTYPE): Likewise.
35151 [POSIX] (ESTALE): Likewise.
35152 [POSIX] (ETIME): Likewise.
35153 [POSIX] (ETXTBSY): Likewise.
35154 [POSIX] (EWOULDBLOCK): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35156 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35157 [POSIX] (SEEK_CUR): Likewise.
35158 [POSIX] (SEEK_END): Likewise.
35159 [POSIX || UNIX98] (mode_t): Do not require.
35160 [POSIX] (off_t): Likewise.
35161 [POSIX] (pid_t): Likewise.
35162 [POSIX] (sys/stat.h): Do not allow header.
35163 [POSIX] (unistd.h): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35165 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35167 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35168 require.
35169 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35170 sigevent): Specify elements.
35171 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35172 entry.
35173 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35174 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35175
a483863f
JM
35176 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35177 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35178 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35179 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35180 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35181 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35182 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35183 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35185 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35186 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35187 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35188 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35189 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35190 Likewise.
35191 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35192 Likewise.
35193 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35194 Likewise.
35195 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35196 Likewise.
35197 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35198 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35199 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35200 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35202 Specify lower bound on value.
35203 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35209 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35210 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35211 value.
35212 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35213 as optional.
35214 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35216 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35230 entry.
35231 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35232 optional.
35233 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35239 Likewise.
35240 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35245 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35246 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35247 as optional.
35248 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35252 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35253 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35254 specify as optional.
35255 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35256 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35257 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35258 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35259 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35260 [XPG3] (NL_LANGMAX): Likewise.
35261 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35262 [POSIX || XPG3] (NL_NMAX): Likewise.
35263 [POSIX || XPG3] (NL_SETMAX): Likewise.
35264 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35265 [XPG3] (NZERO): Likewise.
35266 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35267 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35268 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35269 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35270 (REG_ERANGE): Expect.
35271 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35272 optional-constant.
35273 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35274 Use (void) in prototype.
35275 [POSIX] (*_t): Allow.
35276 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35277 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35278 (WRDE_BADVAL): Expect.
35279
5ba924e3
JM
35280 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35281 expect.
35282 [XPG3 || XPG4] (O_RSYNC): Likewise.
35283 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35284 Likewise.
35285 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35286 [XPG3 || XPG4] (sigqueue): Likewise.
35287 [XPG3 || XPG4] (sigtimedwait): Likewise.
35288 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35289 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35290 [XPG3 || XPG4] (vsnprintf): Likewise.
35291 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35292 Likewise.
35293 [XPG3 || XPG4] (blksize_t): Likewise.
35294 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35295 Likewise.
35296 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35297 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35298 [XPG3 || XPG4] (struct itimerspec): Likewise.
35299 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35300 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35301 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35302 [XPG3 || XPG4] (clockid_t): Likewise.
35303 [XPG3 || XPG4] (timer_t): Likewise.
35304 [XPG3 || XPG4] (clock_getres): Likewise.
35305 [XPG3 || XPG4] (clock_gettime): Likewise.
35306 [XPG3 || XPG4] (clock_settime): Likewise.
35307 [XPG3 || XPG4] (nanosleep): Likewise.
35308 [XPG3 || XPG4] (timer_create): Likewise.
35309 [XPG3 || XPG4] (timer_delete): Likewise.
35310 [XPG3 || XPG4] (timer_gettime): Likewise.
35311 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35312 [XPG3 || XPG4] (timer_settime): Likewise.
35313 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35314 [XPG3 || XPG4] (getlogin_r): Likewise.
35315 [XPG3 || XPG4] (pread): Likewise.
35316 [XPG3 || XPG4] (pthread_atfork): Likewise.
35317 [XPG3 || XPG4] (pwrite): Likewise.
35318
ee663277
JM
35319 [BZ #14835]
35320 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35321 <bits/siginfo.h>.
35322
942caa16
PT
353232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35324
e19af380
PT
35325 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35326 finalizing MALLSTREAM.
35327
942caa16
PT
35328 * sysdeps/mach/hurd/syncfs.c: New file.
35329
cfde9b46
SP
353302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35331
35332 [BZ #14719]
35333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35334 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35336 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35337 (_nss_dns_gethostbyname4_r): Likewise.
35338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35339 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35340
f6da27e5
PH
353412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35342
35343 [BZ #13763]
35344 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35345
6665d4a2
SM
353462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35347
1f51ee92
SM
35348 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35349 * elf/cache.c (print_entry): Print ",AArch64" for
35350 FLAG_AARCH64_LIB64
35351
6665d4a2
SM
35352 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35353 * elf/cache.c (print_entry): Print ",hard-float" for
35354 FLAG_ARM_LIBHF.
35355
05b227bd
DM
353562012-11-18 David S. Miller <davem@davemloft.net>
35357
35358 With help from Joseph Myers.
35359 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35360 cutoff to 2**-13.
35361 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35362 cutoff to 2**-25.
35363 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35364 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35365 small.
35366 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35367 * math/libm-test.inc (y0_test): New tests.
35368 (y1_test): New tests.
35369 * sysdeps/i386/fpu/libm-test-ulps: Update.
35370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35372
786b0b67
AS
353732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35374
35375 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35376 64-bit targets.
35377 * configure: Regenerated.
35378
8e18b86d
DM
353792012-11-17 David S. Miller <davem@davemloft.net>
35380
35381 [BZ #14811]
35382 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35383 nonzero exponents with absolute value below 0x1p-128 to +/-
35384 0x1p-128.
35385
531f1ae0
JM
353862012-11-17 Joseph Myers <joseph@codesourcery.com>
35387
12df29e2
JM
35388 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35389
150dc1a0
JM
35390 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35391
531f1ae0
JM
35392 * posix/getconf-speclist.c: New file.
35393 * posix/posix-envs.def: Likewise.
35394 * posix/confstr.c (START_ENV_GROUP): New macro.
35395 (END_ENV_GROUP): Likewise.
35396 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35397 (KNOWN_PRESENT_ENV_STRING): Likewise.
35398 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35399 (UNKNOWN_ENVIRONMENT): Likewise.
35400 (confstr): Include posix-envs.def instead of handling
35401 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35402 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35403 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35404 (END_ENV_GROUP): Likewise.
35405 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35407 (UNKNOWN_ENVIRONMENT): Likewise.
35408 (__sysconf): Include posix-envs.def instead of handling associated
35409 cases directly here.
35410 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35411 preprocessing getconf-speclist.c rather than running getconf or
35412 generating empty file.
35413
a93f9cbc
PT
354142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35415
35416 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35417
d64d9f87
AL
354182012-11-16 Andrej Lajovic <natrij@gmail.com>
35419
35420 [BZ #14672]
35421 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35422
447885eb
DM
354232012-11-16 David S. Miller <davem@davemloft.net>
35424
35425 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35426 smaller than LDBL_EPSILON/2.0L, just return xm1.
35427
bcbf9830
L
354282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35429
35430 * elf/tst-array1.c (init): Set constructor priority to 1000.
35431 (fini): Set destructor priority to 1000.
35432 * elf/tst-array2dep.c: Likewise.
35433
2b766585
SP
354342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35435
35436 [BZ #11741]
35437 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35438 (_IO_new_file_xsputn): Also return EOF if none of the input
35439 data was written when overflow failed.
35440 * libio/iopadn.c (_IO_padn): Likewise.
35441 * libio/iowpadn.c (_IO_wpadn): Likewise.
35442 * stdio-common/tst-put-error.c: Add copyright notice.
35443 (do_test): Add case for printing padded string.
35444 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35445 _IO_padn returned error.
35446 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35447 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35448 return EOF.
35449
b1848fde
SP
354502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35451
35452 * libio/libioP.h: Add comment note that the references to C++
35453 bits are now obsolete.
35454
2fd89785
MS
354552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35456
35457 * math/libm-test.inc (check_complex): Use asprintf.
35458
e3ea5409
JM
354592012-11-14 Joseph Myers <joseph@codesourcery.com>
35460
35461 * debug/pcprofiledump.c (print_version): Update copyright year.
35462 * malloc/memusagestat.c (print_version): Likewise.
35463
2e64d265
L
354642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35465
35466 [BZ #14831]
35467 * elf/Makefile (tests): Add tst-audit8.
35468 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35469 ($(objpfx)tst-audit8.out): New target.
35470 (tst-audit8-ENV): New variable.
35471 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35472 audit if l_reloc_result is NULL.
35473 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35474 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35475 * elf/tst-audit8.c: New file.
35476
c485e4d2
MS
354772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35478
35479 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35480 * misc/Makefile (CFLAGS-select.c): Define.
35481 * posix/Makefile (CFLAGS-pause.c): Define.
35482
3a0d900a
DM
354832012-11-13 David S. Miller <davem@davemloft.net>
35484
35485 * crypt/Makefile: Move test targets after toplevel Rules
35486 inclusion. Grab any necessary sysdep routines when linking.
35487 * crypt/md5.c (md5_process_block): Remove define, we will always
35488 name it __md5_process_block.
35489 (md5_finish_ctx): Update md5_process_block call.
35490 (md5_stream): Likewise.
35491 (md5_process_bytes): Likewise.
35492 (md5_process_block): Rename to __md5_process_block and move to ...
35493 * crypt/md5-block.c: ... here.
35494 * crypt/sha256.c (sha256_process_block): Move to ...
35495 * crypt/sha256-block.c: ... here.
35496 * crypt/sha512.c (sha512_process_block): Move to ...
35497 * crypt/sha512-block.c: ... here.
35498 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35499 path.
35500 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35501 * sysdeps/sparc/sparc64/multiarch/Makefile
35502 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35503 crypt subdir.
35504 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35505 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35506 multiarch changes.
35507 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35508 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35509 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35510 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35511 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35512 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35513 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35514 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35515 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35516 file.
35517 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35518 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35519 file.
35520 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35521
8ca89318
JM
355222012-11-13 Joseph Myers <joseph@codesourcery.com>
35523
e27d476a
JM
35524 * timezone/tzselect.ksh: Update from tzcode git revision
35525 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35526 * timezone/zdump.c: Likewise.
35527 * timezone/zic.c: Likewise.
35528 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35529 in TZVERSION setting, not $(PKGVERSION).
35530 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35531 REPORT_BUGS_TO settings.
35532
8ca89318
JM
35533 [BZ #14838]
35534 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35535 macro.
35536
47594329
MS
355372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35538
35539 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35540 detection to immediately after _FP_ROUND().
35541 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35542 bits are 0.
35543
640ac3f1
DM
355442012-11-11 David S. Miller <davem@davemloft.net>
35545
35546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35547 inttypes.h
35548 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35549 __close rather than their public counterparts.
35550
3d2577bb
JM
355512012-11-10 Joseph Myers <joseph@codesourcery.com>
35552
35553 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35554 file.
35555 [UNIX98] (sem_timedwait): Do not expect.
35556 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35557 [XPG4 || UNIX98] (sockatmark): Do not expect.
35558 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35559 (clock_getcpuclockid): Do not expect.
35560 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35561 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35562 Do not expect.
35563 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35564 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35565 [UNIX98] (vwscanf): Likewise.
35566 [UNIX98] (vswscanf): Likewise.
35567
fb1ae1ee
JM
355682012-11-09 Joseph Myers <joseph@codesourcery.com>
35569
9ec6f8bd
JM
35570 * timezone/version.h: Remove file.
35571 * timezone/README: Do not refer to version.h.
35572 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35573 $(objpfx)version.h.
35574 ($(objpfx)zdump.o): Likewise.
c3f81911 35575 ($(objpfx)version.h): New target.
9ec6f8bd 35576
0aa8f8a1
JM
35577 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35578 2012i.
35579 * timezone/README: Don't mention modification to tzselect.ksh.
35580 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35581 work on unmodified tzselect.ksh. Substitute version numbers in
35582 tzselect.ksh.
35583
4e87147f
JM
35584 * Makefile (format-me): Remove.
35585 (INSTALL): Adjust indentation. Use commands directly instead of
35586 using $(format-me).
35587
8b748aed
JM
35588 * aclocal.m4 (ACX_PKGVERSION): New macro.
35589 (ACX_BUGURL): Likewise.
35590 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35591 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35592 (REPORT_BUGS_TO): Likewise.
35593 * configure: Regenerated.
35594 * config.h.in (PKGVERSION): New macro.
35595 (REPORT_BUGS_TO): Likewise.
35596 * config.make.in (PKGVERSION): New variable.
35597 (PKGVERSION_TEXI): Likewise.
35598 (REPORT_BUGS_TO): Likewise.
35599 (REPORT_BUGS_TEXI): Likewise.
35600 * Makefile (format-me): Use -I$(common-objpfx)manual.
35601 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35602 ($(common-objpfx)manual/%): New target.
35603 (manual/%): Remove target.
35604 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35605 (print_version): Use PKGVERSION.
35606 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35607 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35608 and REPORT_BUGS_TO.
35609 ($(objpfx)xtrace): Likewise.
35610 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35611 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35612 (print_version): Use PKGVERSION.
35613 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35614 (do_version): Use PKGVERSION.
35615 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35616 REPORT_BUGS_TO.
35617 (common-ldd-rewrite): Likewise.
35618 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35619 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35620 (print_version): Use PKGVERSION.
35621 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35622 * elf/pldd.c (argp_program_bug_address): Remove variable.
35623 (more_help): New function.
35624 (argp): Use more_help.
35625 (print_version): Use PKGVERSION.
35626 * elf/sln.c (main): Use PKGVERSION.
35627 (usage): Use REPORT_BUGS_TO.
35628 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35629 (top level): Use PKGVERSION.
35630 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35631 (print_version): Use PKGVERSION.
35632 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35633 (print_version): Use PKGVERSION.
35634 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35635 (print_version): Use PKGVERSION.
35636 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35637 (print_version): Use PKGVERSION.
35638 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35639 (print_version): Use PKGVERSION.
35640 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35641 (print_version): Use PKGVERSION.
35642 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35643 and BUGURL.
35644 ($(objpfx)memusage): Likewise.
35645 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35646 (do_version): Use PKGVERSION.
35647 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35648 (print_version): Use PKGVERSION.
35649 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35650 ($PKGVERSION): New variable.
35651 ($REPORT_BUGS_TO): Likewise.
35652 (usage): Use $REPORT_BUGS_TO.
35653 (top level): Use $PKGVERSION.
35654 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35655 ($(objpfx)pkgvers.texi): New rule.
35656 ($(objpfx)stamp-pkgvers): Likewise.
35657 * manual/install.texi: Include pkgvers.texi.
35658 (--with-pkgversion): Document new configure option.
35659 (--with-bugurl): Likewise.
35660 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35661 than necessarily for this particular distribution. Use
35662 REPORT_BUGS_TO for where to report bugs.
35663 * INSTALL: Regenerated.
35664 * manual/libc.texinfo: Include pkgvers.texi.
35665 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35666 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35667 (print_version): Use PKGVERSION.
35668 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35669 (print_version): Use PKGVERSION.
35670 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35671 (print_version): Use PKGVERSION.
35672 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35673 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35674 macro.
35675 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35676 (print_version): Use PKGVERSION.
35677 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35678 (print_version): Use PKGVERSION.
35679 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35680 and PKGVERSION.
35681
92e4b6a9
JM
35682 * timezone/checktab.awk: Update from tzcode 2012i.
35683 * timezone/ialloc.c: Likewise.
35684 * timezone/private.h: Likewise.
35685 * timezone/scheck.c: Likewise.
35686 * timezone/tzfile.h: Likewise.
35687 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35688 (TZVERSION): Hardcode tzcode version number.
35689 * timezone/zdump.c: Update from tzcode 2012i.
35690 * timezone/zic.c: Likewise.
35691 * timezone/version.h: New file.
35692 * timezone/README: Describe version.h. Update upstream location.
35693
9bde902c
JM
35694 [BZ #14824]
35695 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35696 (mktemp): Enable declaration.
35697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35701 Likewise.
35702 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35703 Likewise.
35704 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35705 Likewise.
35706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35707 Likewise.
35708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35709 Likewise.
35710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35711 Likewise.
35712
fb1ae1ee
JM
35713 [BZ #14821]
35714 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35715 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35716 for copies of such integer values.
35717 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35718 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35719
2c1adbcb
AJ
357202012-11-09 Andreas Jaeger <aj@suse.de>
35721
35722 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35723 definitions and declarations that are provided by
35724 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35725
d0f8457e
AK
357262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35727
3a235abb 35728 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35729 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35730 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35731 definition.
35732
57241e26
MS
357332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35734
35735 * elf/elf.h: Update comment before AArch64 relocations.
35736
60e8270d
DM
357372012-11-07 David S. Miller <davem@davemloft.net>
35738
35739 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35740 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35741 (__start_context): Declare.
35742 (__makecontext_ret): Delete.
35743 (__makecontext): Hook up __start_context instead of
35744 __makecontext_ret.
35745 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35746 (sysdep_routines): Add __start_context when in stdlib.
35747
0fbb0fbc
JM
357482012-11-07 Joseph Myers <joseph@codesourcery.com>
35749
35750 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35751 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35752 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35753 hardcoded "nm".
35754 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35755 (READELF): New variable. Use it instead of hardcoded "readelf".
35756
eb48db7e
L
357572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35758
35759 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35760 * sysdeps/x86/Makefile: Here.
35761 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35762 * sysdeps/x86/tst-xmmymm.sh: This.
35763
05bcf62a
JM
357642012-11-07 Joseph Myers <joseph@codesourcery.com>
35765
c4b6cf53
JM
35766 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35767 expectations.
35768 [UNIX98] (pthread_barrier_t): Do not expect.
35769 [UNIX98] (pthread_barrierattr_t): Likewise.
35770 [UNIX98] (pthread_spinlock_t): Likewise.
35771 [UNIX98] (pthread_barrier_destroy): Likewise.
35772 [UNIX98] (pthread_barrier_init): Likewise.
35773 [UNIX98] (pthread_barrier_wait): Likewise.
35774 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35775 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35776 [UNIX98] (pthread_barrierattr_init): Likewise.
35777 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35778 [UNIX98] (pthread_getcpuclockid): Likewise.
35779 [UNIX98] (pthread_mutex_timedlock): Likewise.
35780 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35781 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35782 [UNIX98] (pthread_sigmask): Likewise.
35783 [UNIX98] (pthread_spin_destroy): Likewise.
35784 [UNIX98] (pthread_spin_init): Likewise.
35785 [UNIX98] (pthread_spin_lock): Likewise.
35786 [UNIX98] (pthread_spin_trylock): Likewise.
35787 [UNIX98] (pthread_spin_unlock): Likewise.
35788 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35789 Do not expect.
35790 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35792 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35793 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35794 [XPG3 || XPG4] (pthread_key_t): Likewise.
35795 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35796 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35797 [XPG3 || XPG4] (pthread_once_t): Likewise.
35798 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35799 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35801 [XPG3 || XPG4] (pthread_t): Likewise.
35802
cbe6e120
JM
35803 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35804 not expect.
35805 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35806
1b126443
JM
35807 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35808 Change function return type to int.
35809
b961a573
JM
35810 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35811 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35812 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35813 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35814 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35815 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35816 [!POSIX] (posix_madvise): Likewise.
35817 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35818 && !UNIX98].
35819 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35820 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35821 (mode_t): Likewise.
35822 (posix_mem_offset): Likewise.
35823 (posix_typed_mem_get_info): Likewise.
35824 (posix_typed_mem_open): Likewise.
35825
9e188909
JM
35826 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35827 Change condition to [XOPEN2K8].
35828
05bcf62a
JM
35829 * conform/conformtest.pl: Preprocess allow-header data with -x c
35830 instead of from stdin.
35831 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35832 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35833 [C99-based standards] (cerfc): Likewise.
35834 [C99-based standards] (cexp2): Likewise.
35835 [C99-based standards] (cexpm1): Likewise.
35836 [C99-based standards] (clog10): Likewise.
35837 [C99-based standards] (clog1p): Likewise.
35838 [C99-based standards] (clog2): Likewise.
35839 [C99-based standards] (clgamma): Likewise.
35840 [C99-based standards] (ctgamma): Likewise.
35841 [C99-based standards] (cerff): Likewise.
35842 [C99-based standards] (cerfcf): Likewise.
35843 [C99-based standards] (cexp2f): Likewise.
35844 [C99-based standards] (cexpm1f): Likewise.
35845 [C99-based standards] (clog10f): Likewise.
35846 [C99-based standards] (clog1pf): Likewise.
35847 [C99-based standards] (clog2f): Likewise.
35848 [C99-based standards] (clgammaf): Likewise.
35849 [C99-based standards] (ctgammaf): Likewise.
35850 [C99-based standards] (cerfl): Likewise.
35851 [C99-based standards] (cerfcl): Likewise.
35852 [C99-based standards] (cexp2l): Likewise.
35853 [C99-based standards] (cexpm1l): Likewise.
35854 [C99-based standards] (clog10l): Likewise.
35855 [C99-based standards] (clog1pl): Likewise.
35856 [C99-based standards] (clog2l): Likewise.
35857 [C99-based standards] (clgammal): Likewise.
35858 [C99-based standards] (ctgammal): Likewise.
35859 * conform/data/inttypes.h-data [C99-based standards]: Include
35860 stdint.h-data. Remove all expectations for stdint.h contents.
35861 [C99-based standards] (PRI*): Do not allow.
35862 [C99-based standards] (SCN*): Likewise.
35863 [C99-based standards] (*_t): Likewise.
35864 [C99-based-standards] (PRId8): Expect macro.
35865 [C99-based-standards] (PRIi8): Likewise.
35866 [C99-based-standards] (PRIo8): Likewise.
35867 [C99-based-standards] (PRIu8): Likewise.
35868 [C99-based-standards] (PRIx8): Likewise.
35869 [C99-based-standards] (PRIX8): Likewise.
35870 [C99-based-standards] (SCNd8): Likewise.
35871 [C99-based-standards] (SCNi8): Likewise.
35872 [C99-based-standards] (SCNo8): Likewise.
35873 [C99-based-standards] (SCNu8): Likewise.
35874 [C99-based-standards] (SCNx8): Likewise.
35875 [C99-based-standards] (PRIdLEAST8): Likewise.
35876 [C99-based-standards] (PRIiLEAST8): Likewise.
35877 [C99-based-standards] (PRIoLEAST8): Likewise.
35878 [C99-based-standards] (PRIuLEAST8): Likewise.
35879 [C99-based-standards] (PRIxLEAST8): Likewise.
35880 [C99-based-standards] (PRIXLEAST8): Likewise.
35881 [C99-based-standards] (SCNdLEAST8): Likewise.
35882 [C99-based-standards] (SCNiLEAST8): Likewise.
35883 [C99-based-standards] (SCNoLEAST8): Likewise.
35884 [C99-based-standards] (SCNuLEAST8): Likewise.
35885 [C99-based-standards] (SCNxLEAST8): Likewise.
35886 [C99-based-standards] (PRIdFAST8): Likewise.
35887 [C99-based-standards] (PRIiFAST8): Likewise.
35888 [C99-based-standards] (PRIoFAST8): Likewise.
35889 [C99-based-standards] (PRIuFAST8): Likewise.
35890 [C99-based-standards] (PRIxFAST8): Likewise.
35891 [C99-based-standards] (PRIXFAST8): Likewise.
35892 [C99-based-standards] (SCNdFAST8): Likewise.
35893 [C99-based-standards] (SCNiFAST8): Likewise.
35894 [C99-based-standards] (SCNoFAST8): Likewise.
35895 [C99-based-standards] (SCNuFAST8): Likewise.
35896 [C99-based-standards] (SCNxFAST8): Likewise.
35897 [C99-based-standards] (PRId16): Likewise.
35898 [C99-based-standards] (PRIi16): Likewise.
35899 [C99-based-standards] (PRIo16): Likewise.
35900 [C99-based-standards] (PRIu16): Likewise.
35901 [C99-based-standards] (PRIx16): Likewise.
35902 [C99-based-standards] (PRIX16): Likewise.
35903 [C99-based-standards] (SCNd16): Likewise.
35904 [C99-based-standards] (SCNi16): Likewise.
35905 [C99-based-standards] (SCNo16): Likewise.
35906 [C99-based-standards] (SCNu16): Likewise.
35907 [C99-based-standards] (SCNx16): Likewise.
35908 [C99-based-standards] (PRIdLEAST16): Likewise.
35909 [C99-based-standards] (PRIiLEAST16): Likewise.
35910 [C99-based-standards] (PRIoLEAST16): Likewise.
35911 [C99-based-standards] (PRIuLEAST16): Likewise.
35912 [C99-based-standards] (PRIxLEAST16): Likewise.
35913 [C99-based-standards] (PRIXLEAST16): Likewise.
35914 [C99-based-standards] (SCNdLEAST16): Likewise.
35915 [C99-based-standards] (SCNiLEAST16): Likewise.
35916 [C99-based-standards] (SCNoLEAST16): Likewise.
35917 [C99-based-standards] (SCNuLEAST16): Likewise.
35918 [C99-based-standards] (SCNxLEAST16): Likewise.
35919 [C99-based-standards] (PRIdFAST16): Likewise.
35920 [C99-based-standards] (PRIiFAST16): Likewise.
35921 [C99-based-standards] (PRIoFAST16): Likewise.
35922 [C99-based-standards] (PRIuFAST16): Likewise.
35923 [C99-based-standards] (PRIxFAST16): Likewise.
35924 [C99-based-standards] (PRIXFAST16): Likewise.
35925 [C99-based-standards] (SCNdFAST16): Likewise.
35926 [C99-based-standards] (SCNiFAST16): Likewise.
35927 [C99-based-standards] (SCNoFAST16): Likewise.
35928 [C99-based-standards] (SCNuFAST16): Likewise.
35929 [C99-based-standards] (SCNxFAST16): Likewise.
35930 [C99-based-standards] (PRId32): Likewise.
35931 [C99-based-standards] (PRIi32): Likewise.
35932 [C99-based-standards] (PRIo32): Likewise.
35933 [C99-based-standards] (PRIu32): Likewise.
35934 [C99-based-standards] (PRIx32): Likewise.
35935 [C99-based-standards] (PRIX32): Likewise.
35936 [C99-based-standards] (SCNd32): Likewise.
35937 [C99-based-standards] (SCNi32): Likewise.
35938 [C99-based-standards] (SCNo32): Likewise.
35939 [C99-based-standards] (SCNu32): Likewise.
35940 [C99-based-standards] (SCNx32): Likewise.
35941 [C99-based-standards] (PRIdLEAST32): Likewise.
35942 [C99-based-standards] (PRIiLEAST32): Likewise.
35943 [C99-based-standards] (PRIoLEAST32): Likewise.
35944 [C99-based-standards] (PRIuLEAST32): Likewise.
35945 [C99-based-standards] (PRIxLEAST32): Likewise.
35946 [C99-based-standards] (PRIXLEAST32): Likewise.
35947 [C99-based-standards] (SCNdLEAST32): Likewise.
35948 [C99-based-standards] (SCNiLEAST32): Likewise.
35949 [C99-based-standards] (SCNoLEAST32): Likewise.
35950 [C99-based-standards] (SCNuLEAST32): Likewise.
35951 [C99-based-standards] (SCNxLEAST32): Likewise.
35952 [C99-based-standards] (PRIdFAST32): Likewise.
35953 [C99-based-standards] (PRIiFAST32): Likewise.
35954 [C99-based-standards] (PRIoFAST32): Likewise.
35955 [C99-based-standards] (PRIuFAST32): Likewise.
35956 [C99-based-standards] (PRIxFAST32): Likewise.
35957 [C99-based-standards] (PRIXFAST32): Likewise.
35958 [C99-based-standards] (SCNdFAST32): Likewise.
35959 [C99-based-standards] (SCNiFAST32): Likewise.
35960 [C99-based-standards] (SCNoFAST32): Likewise.
35961 [C99-based-standards] (SCNuFAST32): Likewise.
35962 [C99-based-standards] (SCNxFAST32): Likewise.
35963 [C99-based-standards] (PRId64): Likewise.
35964 [C99-based-standards] (PRIi64): Likewise.
35965 [C99-based-standards] (PRIo64): Likewise.
35966 [C99-based-standards] (PRIu64): Likewise.
35967 [C99-based-standards] (PRIx64): Likewise.
35968 [C99-based-standards] (PRIX64): Likewise.
35969 [C99-based-standards] (SCNd64): Likewise.
35970 [C99-based-standards] (SCNi64): Likewise.
35971 [C99-based-standards] (SCNo64): Likewise.
35972 [C99-based-standards] (SCNu64): Likewise.
35973 [C99-based-standards] (SCNx64): Likewise.
35974 [C99-based-standards] (PRIdLEAST64): Likewise.
35975 [C99-based-standards] (PRIiLEAST64): Likewise.
35976 [C99-based-standards] (PRIoLEAST64): Likewise.
35977 [C99-based-standards] (PRIuLEAST64): Likewise.
35978 [C99-based-standards] (PRIxLEAST64): Likewise.
35979 [C99-based-standards] (PRIXLEAST64): Likewise.
35980 [C99-based-standards] (SCNdLEAST64): Likewise.
35981 [C99-based-standards] (SCNiLEAST64): Likewise.
35982 [C99-based-standards] (SCNoLEAST64): Likewise.
35983 [C99-based-standards] (SCNuLEAST64): Likewise.
35984 [C99-based-standards] (SCNxLEAST64): Likewise.
35985 [C99-based-standards] (PRIdFAST64): Likewise.
35986 [C99-based-standards] (PRIiFAST64): Likewise.
35987 [C99-based-standards] (PRIoFAST64): Likewise.
35988 [C99-based-standards] (PRIuFAST64): Likewise.
35989 [C99-based-standards] (PRIxFAST64): Likewise.
35990 [C99-based-standards] (PRIXFAST64): Likewise.
35991 [C99-based-standards] (SCNdFAST64): Likewise.
35992 [C99-based-standards] (SCNiFAST64): Likewise.
35993 [C99-based-standards] (SCNoFAST64): Likewise.
35994 [C99-based-standards] (SCNuFAST64): Likewise.
35995 [C99-based-standards] (SCNxFAST64): Likewise.
35996 [C99-based-standards] (PRIdMAX): Likewise.
35997 [C99-based-standards] (PRIiMAX): Likewise.
35998 [C99-based-standards] (PRIoMAX): Likewise.
35999 [C99-based-standards] (PRIuMAX): Likewise.
36000 [C99-based-standards] (PRIxMAX): Likewise.
36001 [C99-based-standards] (PRIXMAX): Likewise.
36002 [C99-based-standards] (SCNdMAX): Likewise.
36003 [C99-based-standards] (SCNiMAX): Likewise.
36004 [C99-based-standards] (SCNoMAX): Likewise.
36005 [C99-based-standards] (SCNuMAX): Likewise.
36006 [C99-based-standards] (SCNxMAX): Likewise.
36007 [C99-based-standards] (PRIdPTR): Likewise.
36008 [C99-based-standards] (PRIiPTR): Likewise.
36009 [C99-based-standards] (PRIoPTR): Likewise.
36010 [C99-based-standards] (PRIuPTR): Likewise.
36011 [C99-based-standards] (PRIxPTR): Likewise.
36012 [C99-based-standards] (PRIXPTR): Likewise.
36013 [C99-based-standards] (SCNdPTR): Likewise.
36014 [C99-based-standards] (SCNiPTR): Likewise.
36015 [C99-based-standards] (SCNoPTR): Likewise.
36016 [C99-based-standards] (SCNuPTR): Likewise.
36017 [C99-based-standards] (SCNxPTR): Likewise.
36018 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36019 allow.
36020 * conform/data/stdint.h-data: Update comments to clarify
36021 requirements.
36022 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36023 type.
36024 [C99-based standards] (INT8_MAX): Likewise.
36025 [C99-based standards] (INT16_MIN): Likewise.
36026 [C99-based standards] (INT16_MAX): Likewise.
36027 [C99-based standards] (INT32_MIN): Likewise.
36028 [C99-based standards] (INT32_MAX): Likewise.
36029 [C99-based standards] (INT64_MIN): Likewise.
36030 [C99-based standards] (INT64_MAX): Likewise.
36031 [C99-based standards] (UINT8_MAX): Likewise.
36032 [C99-based standards] (UINT16_MAX): Likewise.
36033 [C99-based standards] (UINT32_MAX): Likewise.
36034 [C99-based standards] (UINT64_MAX): Likewise.
36035 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36036 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36037 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36038 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36039 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36040 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36041 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36042 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36043 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36044 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36045 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36046 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36047 [C99-based standards] (INT_FAST8_MIN): Likewise.
36048 [C99-based standards] (INT_FAST8_MAX): Likewise.
36049 [C99-based standards] (INT_FAST16_MIN): Likewise.
36050 [C99-based standards] (INT_FAST16_MAX): Likewise.
36051 [C99-based standards] (INT_FAST32_MIN): Likewise.
36052 [C99-based standards] (INT_FAST32_MAX): Likewise.
36053 [C99-based standards] (INT_FAST64_MIN): Likewise.
36054 [C99-based standards] (INT_FAST64_MAX): Likewise.
36055 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36056 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36057 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36058 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36059 [C99-based standards] (INTPTR_MIN): Likewise.
36060 [C99-based standards] (INTPTR_MAX): Likewise.
36061 [C99-based standards] (UINTPTR_MAX): Likewise.
36062 [C99-based standards] (INTMAX_MIN): Likewise.
36063 [C99-based standards] (INTMAX_MAX): Likewise.
36064 [C99-based standards] (UINTMAX_MAX): Likewise.
36065 [C99-based standards] (PTRDIFF_MIN): Likewise.
36066 [C99-based standards] (PTRDIFF_MAX): Likewise.
36067 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36068 [C99-based standards] (SIZE_MAX): Likewise.
36069 [C99-based standards] (WCHAR_MAX): Likewise.
36070 [C99-based standards] (WINT_MAX): Likewise.
36071 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36072 constraint on value.
36073 [C99-based standards] (WCHAR_MIN): Likewise.
36074 [C99-based standards] (WINT_MIN): Likewise.
36075 [C99-based standards] (*_t): Allow.
36076 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36077 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36078 Include math.h-data and complex.h-data. Remove all expectations
36079 of math.h and complex.h contents.
36080 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36081 at end of line.
36082 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36083 (struct tm): Expect tag.
36084 [C99-based-standards] (wcstof): Expect function.
36085 [C99-based-standards] (wcstold): Likewise.
36086 [C99-based-standards] (wcstoll): Likewise.
36087 [C99-based-standards] (wcstoull): Likewise.
36088 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36089 macro-int-constant. Specify type.
36090 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36091 constraint on value.
36092 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36093 Specify type.
36094 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36095 Specify value.
36096 [ISO C standards]: Do not allow headers.
36097 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36098 wcs[abcdefghijklmnopqrstuvwxyz]*.
36099 [ISO C standards] (*_t): Do not allow.
36100 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36101 Expect function.
36102 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36103 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36104 Specify type.
36105 [ISO C standards]: Do not allow headers.
36106 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36107 is[abcdefghijklmnopqrstuvwxyz]*.
36108 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36109 to[abcdefghijklmnopqrstuvwxyz]*.
36110 [ISO C standards] (*_t): Do not allow.
36111 * conform/data/stdalign.h-data: New file.
36112 * conform/data/stdbool.h-data: Likewise.
36113 * conform/data/stdnoreturn.h-data: Likewise.
36114
7514feb8
RM
361152012-11-07 Roland McGrath <roland@hack.frob.com>
36116
36117 [BZ #14815]
36118 * manual/filesys.texi (Directory Entries): Typo fix.
36119 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36120
19b2ecfc
MS
361212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36122
36123 * elf/elf.h (EM_AARCH64): New macro.
36124 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36125 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36126 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36127 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36128 (R_AARCH64_TLSDESC): Likewise.
36129 (NT_ARM_TLS): Likewise.
36130 (NT_ARM_HW_BREAK): Likewise.
36131 (NT_ARM_HW_WATCH): Likewise.
36132
60e235ee
JM
361332012-11-07 Joseph Myers <joseph@codesourcery.com>
36134
36135 [BZ #14811]
36136 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36137 (__ieee754_powl): Saturate nonzero exponents with absolute value
36138 below 0x1p-79 to +/- 0x1p-79.
36139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36140 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36141 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36142 nonzero exponents with absolute value below 0x1p-32 to +/-
36143 0x1p-32.
36144 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36145 (__ieee754_powl): Saturate nonzero exponents with absolute value
36146 below 0x1p-79 to +/- 0x1p-79.
36147 * math/libm-test.inc (pow_test): Add more tests.
36148
0ab234b7
AK
361492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36150
36151 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36152 _dl_s390_cap_flags with kernel. Increase string length.
36153 (_dl_s390_platforms): Add z196 and zEC12.
36154
45832f74
JM
361552012-11-07 Joseph Myers <joseph@codesourcery.com>
36156
36157 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36158 Change XOPEN21K to XOPEN2K.
36159
19218757
MK
361602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36161
36162 * string/memmove.c: Use memcpy when possible.
36163
c5f45721
AJ
361642012-11-06 Andreas Jaeger <aj@suse.de>
36165
36166 * po/eo.po: Update from translation team.
36167
82477c28
JM
361682012-11-06 Joseph Myers <joseph@codesourcery.com>
36169
36170 [BZ #14793]
36171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36172 exponent and small x and y exponents, scale x or y up. Increase
36173 by 2 the exponent used in scaling up.
36174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36176 * math/libm-test.inc (fma_test): Add more tests.
36177 (fma_test_towardzero): Likewise.
36178 (fma_test_downward): Likewise.
36179 (fma_test_upward): Likewise.
36180
99252c8c
JM
361812012-11-05 Joseph Myers <joseph@codesourcery.com>
36182
acfa885f
JM
36183 [BZ #14805]
36184 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36185 fenv_t *.
36186
99252c8c
JM
36187 [BZ #14801]
36188 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36189 namespace for names of struct fields.
36190 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36191 fenv_t fields.
36192 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36193 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36194
d6d98dea
ST
361952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36196
36197 [BZ #3665]
36198 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36199
e10bb107
TS
362002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36201
36202 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36203 PTR_DEMANGLE.
36204
36205 [BZ #5246]
36206 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36207 PTR_DEMANGLE.
36208
a0c2940d
JM
362092012-11-04 Joseph Myers <joseph@codesourcery.com>
36210
36211 [BZ #14797]
36212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36213 definitely overflow as x * y not x * y + z.
36214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36216 * math/libm-test.inc (fma_test): Add more tests.
36217 (fma_test_towardzero): Likewise.
36218 (fma_test_downward): Likewise.
36219 (fma_test_upward): Likewise.
36220
b830319d
TS
362212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36222
36223 [BZ #157]
36224
36225 * include/stub-tag.h: Remove file.
36226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36227 '#include' of it.
36228 * manual/maint.texi (Porting): Don't reference it.
36229 * Makerules ($(objpfx)stubs): Likewise.
36230 * dirent/closedir.c: Don't include <stub-tag.h>.
36231 * dirent/dirfd.c: Likewise.
36232 * dirent/fdopendir.c: Likewise.
36233 * dirent/getdents.c: Likewise.
36234 * dirent/getdents64.c: Likewise.
36235 * dirent/opendir.c: Likewise.
36236 * dirent/readdir.c: Likewise.
36237 * dirent/readdir64.c: Likewise.
36238 * dirent/readdir64_r.c: Likewise.
36239 * dirent/readdir_r.c: Likewise.
36240 * dirent/rewinddir.c: Likewise.
36241 * dirent/seekdir.c: Likewise.
36242 * dirent/telldir.c: Likewise.
36243 * gmon/profil.c: Likewise.
36244 * grp/setgroups.c: Likewise.
36245 * inet/if_index.c: Likewise.
36246 * io/access.c: Likewise.
36247 * io/chdir.c: Likewise.
36248 * io/chmod.c: Likewise.
36249 * io/chown.c: Likewise.
36250 * io/close.c: Likewise.
36251 * io/dup.c: Likewise.
36252 * io/dup2.c: Likewise.
36253 * io/dup3.c: Likewise.
36254 * io/euidaccess.c: Likewise.
36255 * io/faccessat.c: Likewise.
36256 * io/fchdir.c: Likewise.
36257 * io/fchmod.c: Likewise.
36258 * io/fchmodat.c: Likewise.
36259 * io/fchown.c: Likewise.
36260 * io/fchownat.c: Likewise.
36261 * io/fcntl.c: Likewise.
36262 * io/flock.c: Likewise.
36263 * io/fstatfs.c: Likewise.
36264 * io/fstatfs64.c: Likewise.
36265 * io/fstatvfs.c: Likewise.
36266 * io/fstatvfs64.c: Likewise.
36267 * io/futimens.c: Likewise.
36268 * io/fxstat.c: Likewise.
36269 * io/fxstat64.c: Likewise.
36270 * io/fxstatat.c: Likewise.
36271 * io/fxstatat64.c: Likewise.
36272 * io/getcwd.c: Likewise.
36273 * io/isatty.c: Likewise.
36274 * io/lchmod.c: Likewise.
36275 * io/lchown.c: Likewise.
36276 * io/link.c: Likewise.
36277 * io/linkat.c: Likewise.
36278 * io/lseek.c: Likewise.
36279 * io/lseek64.c: Likewise.
36280 * io/lxstat64.c: Likewise.
36281 * io/mkdir.c: Likewise.
36282 * io/mkdirat.c: Likewise.
36283 * io/mkfifo.c: Likewise.
36284 * io/mkfifoat.c: Likewise.
36285 * io/open.c: Likewise.
36286 * io/open64.c: Likewise.
36287 * io/openat.c: Likewise.
36288 * io/openat64.c: Likewise.
36289 * io/pipe.c: Likewise.
36290 * io/pipe2.c: Likewise.
36291 * io/poll.c: Likewise.
36292 * io/posix_fadvise.c: Likewise.
36293 * io/posix_fadvise64.c: Likewise.
36294 * io/posix_fallocate.c: Likewise.
36295 * io/posix_fallocate64.c: Likewise.
36296 * io/read.c: Likewise.
36297 * io/readlink.c: Likewise.
36298 * io/readlinkat.c: Likewise.
36299 * io/rmdir.c: Likewise.
36300 * io/sendfile.c: Likewise.
36301 * io/sendfile64.c: Likewise.
36302 * io/statfs.c: Likewise.
36303 * io/statfs64.c: Likewise.
36304 * io/statvfs.c: Likewise.
36305 * io/statvfs64.c: Likewise.
36306 * io/symlink.c: Likewise.
36307 * io/symlinkat.c: Likewise.
36308 * io/ttyname.c: Likewise.
36309 * io/ttyname_r.c: Likewise.
36310 * io/umask.c: Likewise.
36311 * io/unlink.c: Likewise.
36312 * io/unlinkat.c: Likewise.
36313 * io/utime.c: Likewise.
36314 * io/utimensat.c: Likewise.
36315 * io/write.c: Likewise.
36316 * io/xmknod.c: Likewise.
36317 * io/xmknodat.c: Likewise.
36318 * io/xstat.c: Likewise.
36319 * io/xstat64.c: Likewise.
36320 * login/getpt.c: Likewise.
36321 * login/grantpt.c: Likewise.
36322 * login/unlockpt.c: Likewise.
36323 * math/e_acoshl.c: Likewise.
36324 * math/e_acosl.c: Likewise.
36325 * math/e_asinl.c: Likewise.
36326 * math/e_atan2l.c: Likewise.
36327 * math/e_atanhl.c: Likewise.
36328 * math/e_coshl.c: Likewise.
36329 * math/e_expl.c: Likewise.
36330 * math/e_fmodl.c: Likewise.
36331 * math/e_gammal_r.c: Likewise.
36332 * math/e_hypotl.c: Likewise.
36333 * math/e_j0l.c: Likewise.
36334 * math/e_j1l.c: Likewise.
36335 * math/e_jnl.c: Likewise.
36336 * math/e_lgammal_r.c: Likewise.
36337 * math/e_log10l.c: Likewise.
36338 * math/e_log2l.c: Likewise.
36339 * math/e_logl.c: Likewise.
36340 * math/e_powl.c: Likewise.
36341 * math/e_rem_pio2l.c: Likewise.
36342 * math/e_sinhl.c: Likewise.
36343 * math/e_sqrtl.c: Likewise.
36344 * math/fclrexcpt.c: Likewise.
36345 * math/fedisblxcpt.c: Likewise.
36346 * math/feenablxcpt.c: Likewise.
36347 * math/fegetenv.c: Likewise.
36348 * math/fegetexcept.c: Likewise.
36349 * math/fegetround.c: Likewise.
36350 * math/feholdexcpt.c: Likewise.
36351 * math/fesetenv.c: Likewise.
36352 * math/fesetround.c: Likewise.
36353 * math/feupdateenv.c: Likewise.
36354 * math/fgetexcptflg.c: Likewise.
36355 * math/fraiseexcpt.c: Likewise.
36356 * math/fsetexcptflg.c: Likewise.
36357 * math/ftestexcept.c: Likewise.
36358 * math/k_cosl.c: Likewise.
36359 * math/k_rem_pio2l.c: Likewise.
36360 * math/k_sinl.c: Likewise.
36361 * math/k_tanl.c: Likewise.
36362 * math/s_asinhl.c: Likewise.
36363 * math/s_atanl.c: Likewise.
36364 * math/s_cbrtl.c: Likewise.
36365 * math/s_erfl.c: Likewise.
36366 * math/s_expm1l.c: Likewise.
36367 * math/s_log1pl.c: Likewise.
36368 * math/s_tanhl.c: Likewise.
36369 * misc/acct.c: Likewise.
36370 * misc/brk.c: Likewise.
36371 * misc/chflags.c: Likewise.
36372 * misc/chroot.c: Likewise.
36373 * misc/fchflags.c: Likewise.
36374 * misc/fgetxattr.c: Likewise.
36375 * misc/flistxattr.c: Likewise.
36376 * misc/fremovexattr.c: Likewise.
36377 * misc/fsetxattr.c: Likewise.
36378 * misc/fsync.c: Likewise.
36379 * misc/ftruncate.c: Likewise.
36380 * misc/futimes.c: Likewise.
36381 * misc/futimesat.c: Likewise.
36382 * misc/getdomain.c: Likewise.
36383 * misc/getdtsz.c: Likewise.
36384 * misc/gethostid.c: Likewise.
36385 * misc/gethostname.c: Likewise.
36386 * misc/getloadavg.c: Likewise.
36387 * misc/getpagesize.c: Likewise.
36388 * misc/getsysstats.c: Likewise.
36389 * misc/getxattr.c: Likewise.
36390 * misc/gtty.c: Likewise.
36391 * misc/ioctl.c: Likewise.
36392 * misc/lgetxattr.c: Likewise.
36393 * misc/listxattr.c: Likewise.
36394 * misc/llistxattr.c: Likewise.
36395 * misc/lremovexattr.c: Likewise.
36396 * misc/lsetxattr.c: Likewise.
36397 * misc/lutimes.c: Likewise.
36398 * misc/madvise.c: Likewise.
36399 * misc/mincore.c: Likewise.
36400 * misc/mlock.c: Likewise.
36401 * misc/mlockall.c: Likewise.
36402 * misc/mmap.c: Likewise.
36403 * misc/mprotect.c: Likewise.
36404 * misc/msync.c: Likewise.
36405 * misc/munlock.c: Likewise.
36406 * misc/munlockall.c: Likewise.
36407 * misc/munmap.c: Likewise.
36408 * misc/preadv.c: Likewise.
36409 * misc/preadv64.c: Likewise.
36410 * misc/ptrace.c: Likewise.
36411 * misc/pwritev.c: Likewise.
36412 * misc/pwritev64.c: Likewise.
36413 * misc/readv.c: Likewise.
36414 * misc/reboot.c: Likewise.
36415 * misc/remap_file_pages.c: Likewise.
36416 * misc/removexattr.c: Likewise.
36417 * misc/revoke.c: Likewise.
36418 * misc/select.c: Likewise.
36419 * misc/setdomain.c: Likewise.
36420 * misc/setegid.c: Likewise.
36421 * misc/seteuid.c: Likewise.
36422 * misc/sethostid.c: Likewise.
36423 * misc/sethostname.c: Likewise.
36424 * misc/setregid.c: Likewise.
36425 * misc/setreuid.c: Likewise.
36426 * misc/setxattr.c: Likewise.
36427 * misc/sstk.c: Likewise.
36428 * misc/stty.c: Likewise.
36429 * misc/swapoff.c: Likewise.
36430 * misc/swapon.c: Likewise.
36431 * misc/sync.c: Likewise.
36432 * misc/syncfs.c: Likewise.
36433 * misc/syscall.c: Likewise.
36434 * misc/truncate.c: Likewise.
36435 * misc/ualarm.c: Likewise.
36436 * misc/usleep.c: Likewise.
36437 * misc/ustat.c: Likewise.
36438 * misc/utimes.c: Likewise.
36439 * misc/vhangup.c: Likewise.
36440 * misc/writev.c: Likewise.
36441 * posix/_exit.c: Likewise.
36442 * posix/alarm.c: Likewise.
36443 * posix/execve.c: Likewise.
36444 * posix/fexecve.c: Likewise.
36445 * posix/fork.c: Likewise.
36446 * posix/fpathconf.c: Likewise.
36447 * posix/getaddrinfo.c: Likewise.
36448 * posix/getegid.c: Likewise.
36449 * posix/geteuid.c: Likewise.
36450 * posix/getgid.c: Likewise.
36451 * posix/getgroups.c: Likewise.
36452 * posix/getlogin.c: Likewise.
36453 * posix/getlogin_r.c: Likewise.
36454 * posix/getpgid.c: Likewise.
36455 * posix/getpid.c: Likewise.
36456 * posix/getppid.c: Likewise.
36457 * posix/getresgid.c: Likewise.
36458 * posix/getresuid.c: Likewise.
36459 * posix/getsid.c: Likewise.
36460 * posix/getuid.c: Likewise.
36461 * posix/glob64.c: Likewise.
36462 * posix/nanosleep.c: Likewise.
36463 * posix/pathconf.c: Likewise.
36464 * posix/pause.c: Likewise.
36465 * posix/posix_madvise.c: Likewise.
36466 * posix/pread.c: Likewise.
36467 * posix/pread64.c: Likewise.
36468 * posix/pwrite.c: Likewise.
36469 * posix/pwrite64.c: Likewise.
36470 * posix/sched_getaffinity.c: Likewise.
36471 * posix/sched_getp.c: Likewise.
36472 * posix/sched_gets.c: Likewise.
36473 * posix/sched_primax.c: Likewise.
36474 * posix/sched_primin.c: Likewise.
36475 * posix/sched_rr_gi.c: Likewise.
36476 * posix/sched_setaffinity.c: Likewise.
36477 * posix/sched_setp.c: Likewise.
36478 * posix/sched_sets.c: Likewise.
36479 * posix/sched_yield.c: Likewise.
36480 * posix/setgid.c: Likewise.
36481 * posix/setlogin.c: Likewise.
36482 * posix/setpgid.c: Likewise.
36483 * posix/setresgid.c: Likewise.
36484 * posix/setresuid.c: Likewise.
36485 * posix/setsid.c: Likewise.
36486 * posix/setuid.c: Likewise.
36487 * posix/sleep.c: Likewise.
36488 * posix/spawni.c: Likewise.
36489 * posix/sysconf.c: Likewise.
36490 * posix/times.c: Likewise.
36491 * posix/wait.c: Likewise.
36492 * posix/wait3.c: Likewise.
36493 * posix/wait4.c: Likewise.
36494 * posix/waitpid.c: Likewise.
36495 * resolv/gai_sigqueue.c: Likewise.
36496 * resource/getpriority.c: Likewise.
36497 * resource/getrlimit.c: Likewise.
36498 * resource/getrusage.c: Likewise.
36499 * resource/nice.c: Likewise.
36500 * resource/setpriority.c: Likewise.
36501 * resource/setrlimit.c: Likewise.
36502 * resource/ulimit.c: Likewise.
36503 * rt/aio_cancel.c: Likewise.
36504 * rt/aio_fsync.c: Likewise.
36505 * rt/aio_read.c: Likewise.
36506 * rt/aio_sigqueue.c: Likewise.
36507 * rt/aio_suspend.c: Likewise.
36508 * rt/aio_write.c: Likewise.
36509 * rt/clock_getres.c: Likewise.
36510 * rt/clock_gettime.c: Likewise.
36511 * rt/clock_nanosleep.c: Likewise.
36512 * rt/clock_settime.c: Likewise.
36513 * rt/lio_listio.c: Likewise.
36514 * rt/mq_close.c: Likewise.
36515 * rt/mq_getattr.c: Likewise.
36516 * rt/mq_notify.c: Likewise.
36517 * rt/mq_open.c: Likewise.
36518 * rt/mq_receive.c: Likewise.
36519 * rt/mq_send.c: Likewise.
36520 * rt/mq_setattr.c: Likewise.
36521 * rt/mq_timedreceive.c: Likewise.
36522 * rt/mq_timedsend.c: Likewise.
36523 * rt/mq_unlink.c: Likewise.
36524 * rt/shm_open.c: Likewise.
36525 * rt/shm_unlink.c: Likewise.
36526 * rt/timer_create.c: Likewise.
36527 * rt/timer_delete.c: Likewise.
36528 * rt/timer_getoverr.c: Likewise.
36529 * rt/timer_gettime.c: Likewise.
36530 * rt/timer_settime.c: Likewise.
36531 * setjmp/__longjmp.c: Likewise.
36532 * setjmp/setjmp.c: Likewise.
36533 * signal/kill.c: Likewise.
36534 * signal/killpg.c: Likewise.
36535 * signal/raise.c: Likewise.
36536 * signal/sigaction.c: Likewise.
36537 * signal/sigaltstack.c: Likewise.
36538 * signal/sigblock.c: Likewise.
36539 * signal/sigignore.c: Likewise.
36540 * signal/sigintr.c: Likewise.
36541 * signal/signal.c: Likewise.
36542 * signal/sigpause.c: Likewise.
36543 * signal/sigpending.c: Likewise.
36544 * signal/sigqueue.c: Likewise.
36545 * signal/sigreturn.c: Likewise.
36546 * signal/sigset.c: Likewise.
36547 * signal/sigsetmask.c: Likewise.
36548 * signal/sigstack.c: Likewise.
36549 * signal/sigsuspend.c: Likewise.
36550 * signal/sigtimedwait.c: Likewise.
36551 * signal/sigvec.c: Likewise.
36552 * signal/sigwait.c: Likewise.
36553 * signal/sigwaitinfo.c: Likewise.
36554 * signal/sysv_signal.c: Likewise.
36555 * socket/accept.c: Likewise.
36556 * socket/accept4.c: Likewise.
36557 * socket/bind.c: Likewise.
36558 * socket/connect.c: Likewise.
36559 * socket/getpeername.c: Likewise.
36560 * socket/getsockname.c: Likewise.
36561 * socket/getsockopt.c: Likewise.
36562 * socket/isfdtype.c: Likewise.
36563 * socket/listen.c: Likewise.
36564 * socket/recv.c: Likewise.
36565 * socket/recvfrom.c: Likewise.
36566 * socket/recvmsg.c: Likewise.
36567 * socket/send.c: Likewise.
36568 * socket/sendmsg.c: Likewise.
36569 * socket/sendto.c: Likewise.
36570 * socket/setsockopt.c: Likewise.
36571 * socket/shutdown.c: Likewise.
36572 * socket/sockatmark.c: Likewise.
36573 * socket/socket.c: Likewise.
36574 * socket/socketpair.c: Likewise.
36575 * stdio-common/ctermid.c: Likewise.
36576 * stdio-common/cuserid.c: Likewise.
36577 * stdio-common/remove.c: Likewise.
36578 * stdio-common/rename.c: Likewise.
36579 * stdio-common/renameat.c: Likewise.
36580 * stdio-common/tempname.c: Likewise.
36581 * stdlib/getcontext.c: Likewise.
36582 * stdlib/makecontext.c: Likewise.
36583 * stdlib/setcontext.c: Likewise.
36584 * stdlib/swapcontext.c: Likewise.
36585 * stdlib/system.c: Likewise.
36586 * streams/fattach.c: Likewise.
36587 * streams/fdetach.c: Likewise.
36588 * streams/getmsg.c: Likewise.
36589 * streams/getpmsg.c: Likewise.
36590 * streams/putmsg.c: Likewise.
36591 * streams/putpmsg.c: Likewise.
36592 * sysdeps/unix/bsd/getpt.c: Likewise.
36593 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36594 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36595 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36597 Likewise.
36598 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36599 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36600 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36601 * sysvipc/msgctl.c: Likewise.
36602 * sysvipc/msgget.c: Likewise.
36603 * sysvipc/msgrcv.c: Likewise.
36604 * sysvipc/msgsnd.c: Likewise.
36605 * sysvipc/semctl.c: Likewise.
36606 * sysvipc/semget.c: Likewise.
36607 * sysvipc/semop.c: Likewise.
36608 * sysvipc/semtimedop.c: Likewise.
36609 * sysvipc/shmat.c: Likewise.
36610 * sysvipc/shmctl.c: Likewise.
36611 * sysvipc/shmdt.c: Likewise.
36612 * sysvipc/shmget.c: Likewise.
36613 * termios/tcdrain.c: Likewise.
36614 * termios/tcflow.c: Likewise.
36615 * termios/tcflush.c: Likewise.
36616 * termios/tcgetattr.c: Likewise.
36617 * termios/tcgetpgrp.c: Likewise.
36618 * termios/tcsendbrk.c: Likewise.
36619 * termios/tcsetattr.c: Likewise.
36620 * termios/tcsetpgrp.c: Likewise.
36621 * time/adjtime.c: Likewise.
36622 * time/clock.c: Likewise.
36623 * time/getitimer.c: Likewise.
36624 * time/gettimeofday.c: Likewise.
36625 * time/setitimer.c: Likewise.
36626 * time/settimeofday.c: Likewise.
36627 * time/stime.c: Likewise.
36628 * time/time.c: Likewise.
36629
366302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36631
a20492cf
PT
36632 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36633 /usr/old/bin.
36634
72e182e3
PT
36635 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36636 instead of spaces.
36637 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36638
fbeafede
JM
366392012-11-03 Joseph Myers <joseph@codesourcery.com>
36640
5b5b04d6
JM
36641 [BZ #14796]
36642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36643 FE_TONEAREST before applying Dekker multiplication and Knuth
36644 addition. Clear inexact exceptions and check for exact zero
36645 results afterwards.
36646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36649 * math/libm-test.inc (fma_test): Add more tests.
36650 (fma_test_towardzero): Likewise.
36651 (fma_test_downward): Likewise.
36652 (fma_test_upward): Likewise.
36653 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36654 function.
36655 (libc_fesetround): New macro.
36656 (libc_fesetroundf): Likewise.
36657 (libc_fesetroundl): Likewise.
36658 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36659 function.
36660 (libc_fesetround_387): Likewise.
36661 (libc_fesetroundf): New macro.
36662 (libc_fesetround): Likewise.
36663 (libc_fesetroundl): Likewise.
36664 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36665 function.
36666 (libc_fesetroundf): New macro.
36667 (libc_fesetround): Likewise.
36668 (libc_fesetroundl): Likewise.
36669 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36670 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36671 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36672 libm_hidden_ver.
36673 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36674 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36675 libm_hidden_def.
36676 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36677 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36678 libm_hidden_ver.
36679 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36680 libm_hidden_def.
36681
fbeafede
JM
36682 [BZ #3439]
36683 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36684 integer constant usable in #if and use that to give value to enum
36685 constant.
36686 (FE_DIVBYZERO): Likewise.
36687 (FE_UNDERFLOW): Likewise.
36688 (FE_OVERFLOW): Likewise.
36689 (FE_INVALID): Likewise.
36690 (FE_INVALID_SNAN): Likewise.
36691 (FE_INVALID_ISI): Likewise.
36692 (FE_INVALID_IDI): Likewise.
36693 (FE_INVALID_ZDZ): Likewise.
36694 (FE_INVALID_IMZ): Likewise.
36695 (FE_INVALID_COMPARE): Likewise.
36696 (FE_INVALID_SOFTWARE): Likewise.
36697 (FE_INVALID_SQRT): Likewise.
36698 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36699 (FE_TONEAREST): Likewise.
36700 (FE_TOWARDZERO): Likewise.
36701 (FE_UPWARD): Likewise.
36702 (FE_DOWNWARD): Likewise.
36703 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36704 (FE_DIVBYZERO): Likewise.
36705 (FE_OVERFLOW): Likewise.
36706 (FE_UNDERFLOW): Likewise.
36707 (FE_INEXACT): Likewise.
36708 (FE_TONEAREST): Likewise.
36709 (FE_DOWNWARD): Likewise.
36710 (FE_UPWARD): Likewise.
36711 (FE_TOWARDZERO): Likewise.
36712 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36713 (FE_UNDERFLOW): Likewise.
36714 (FE_OVERFLOW): Likewise.
36715 (FE_DIVBYZERO): Likewise.
36716 (FE_INVALID): Likewise.
36717 (FE_TONEAREST): Likewise.
36718 (FE_TOWARDZERO): Likewise.
36719 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36720 (FE_OVERFLOW): Likewise.
36721 (FE_UNDERFLOW): Likewise.
36722 (FE_DIVBYZERO): Likewise.
36723 (FE_INEXACT): Likewise.
36724 (FE_TONEAREST): Likewise.
36725 (FE_TOWARDZERO): Likewise.
36726 (FE_UPWARD): Likewise.
36727 (FE_DOWNWARD): Likewise.
36728 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36729 (FE_DIVBYZERO): Likewise.
36730 (FE_OVERFLOW): Likewise.
36731 (FE_UNDERFLOW): Likewise.
36732 (FE_INEXACT): Likewise.
36733 (FE_TONEAREST): Likewise.
36734 (FE_DOWNWARD): Likewise.
36735 (FE_UPWARD): Likewise.
36736 (FE_TOWARDZERO): Likewise.
36737
105ca950
CM
367382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36739
36740 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36741
a542b389
AS
367422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36743
36744 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36745 commands. Quote $PWD.
36746 (blacklist_exports): Don't use remove_newlines. Replace "declare
36747 -x" by "export".
36748 (remove_newlines): Remove.
36749
f62c8abc
L
367502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36751
36752 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36753 * stdlib/stdlib.h (atof): Moved to ...
36754 * include/bits/stdlib-float.h: Here. New file.
36755 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36756 * stdlib/bits/stdlib-float.h: New file.
36757 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36758 -mno-sse -mno-mmx.
36759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36760 <xmmintrin.h>.
36761
0155d5b2
JM
367622012-11-02 Joseph Myers <joseph@codesourcery.com>
36763
a68d0680
JM
36764 * conform/conformtest.pl (@headers): Add fenv.h.
36765 * conform/data/fenv.h-data: New file.
36766 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36767 include of <math/fenv.h>.
36768
caf7f573
JM
36769 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36770 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36771 && !UNIX98]. Enables tests for XOPEN2K8.
36772 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36773 POSIX2008]: Likewise.
36774
6c073ad6
JM
36775 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36776 (struct rusage): Do not expect type or its members.
36777
0155d5b2
JM
36778 [BZ #3439]
36779 * math/math.h (FP_NAN): Define macro to integer constant usable in
36780 #if and use that to give value to enum constant.
36781 (FP_INFINITE): Likewise.
36782 (FP_ZERO): Likewise.
36783 (FP_SUBNORMAL): Likewise.
36784 (FP_NORMAL): Likewise.
36785
b5dcacb4
AS
367862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36787
36788 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36789 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36790 arguments.
36791
f7934be8
RM
367922012-11-02 Roland McGrath <roland@hack.frob.com>
36793
36794 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36795 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36796 autoconf-time if not.
36797 * configure.in: Remove AC_PREREQ.
36798
d7d08bde
TMQMF
367992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36800
36801 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36802 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36803 of the internal implementation.
36804
dcdae19a
JM
368052012-11-02 Joseph Myers <joseph@codesourcery.com>
36806
36807 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36808 except include of <misc/sys/syslog.h>.
36809
d6cffd3e
AS
368102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36811
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36813 function returns with a NULL context exit with zero.
36814
b3563932
TMQMF
368152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36816
36817 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36818
b288a93d
L
368192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36820
36821 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36822 (run_program_cmd): This.
36823 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36824 (tst_langinfo): New variable. Use it.
36825
a2421a68
SAS
368262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36827
36828 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36829 floating point opcodes.
36830
6f796e1b
TS
368312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36832
7402596b
TS
36833 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36834 variable.
36835
d0d4f868
TS
36836 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36837
6f796e1b
TS
36838 * sysdeps/mach/hurd/powerpc: Remove directory.
36839 * sysdeps/mach/powerpc: Likewise.
36840
4da224a2
AS
368412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36842
36843 * scripts/check-local-headers.sh: Ignore c++ headers.
36844
341dd673
TS
368452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36846
36847 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36848 __libc_cleanup_region_start argument.
36849
473611b2
JM
368502012-11-01 Joseph Myers <joseph@codesourcery.com>
36851
36852 [BZ #14784]
36853 [BZ #14785]
36854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36855 x * y using scaling, not as x * y + z.
36856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36858 * math/libm-test.inc (fma_test): Add more tests.
36859 (fma_test_towardzero): Likewise.
36860 (fma_test_downward): Likewise.
36861 (fma_test_upward): Likewise.
36862
4078da3d
TS
368632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36864
36865 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36866
903252aa
JM
368672012-10-31 Joseph Myers <joseph@codesourcery.com>
36868
36869 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36870 New variable.
36871
cbc818d0
TS
368722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36873
36874 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36875
5a03cb1e
AS
368762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36877
36878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36879 Fix sort order.
36880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36881 Likewise.
36882
90aff2ff
TMQMF
368832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36884
36885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36886 Fix the order of the list for glibc 2.17.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36888 Likewise.
36889
1818fcb7
AS
368902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36891
36892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36893
ef82f4da
JM
368942012-10-31 Joseph Myers <joseph@codesourcery.com>
36895
16a0e2ec
JM
36896 [BZ #14610]
36897 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36898 for low part of x being zero before using __atanl (y).
36899 * math/libm-test.inc (atan2_test): Add another test.
36900
0eb69512
JM
36901 * manual/install.texi (Configuring and compiling): Document
36902 general use of test-wrapper and test-wrapper-env.
36903 * INSTALL: Regenerated.
36904
ef82f4da
JM
36905 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36906 (__fma): Do not extract and scale down low bits on after-rounding
36907 systems when result rounded to normal precision would have normal
36908 exponent.
36909 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36910 (__fmal): Do not extract and scale down low bits on after-rounding
36911 systems when result rounded to normal precision would have normal
36912 exponent.
36913 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36914 (__fmal): Do not extract and scale down low bits on after-rounding
36915 systems when result rounded to normal precision would have normal
36916 exponent.
36917 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36918 macro.
36919 (fma_test): Add more tests.
36920 (fma_test_towardzero): Likewise.
36921 (fma_test_downward): Likewise.
36922 (fma_test_upward): Likewise.
36923
954ef0d9
L
369242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36925
36926 * sysdeps/i386/tininess.h: Renamed to ...
36927 * sysdeps/x86/tininess.h: This.
36928 * sysdeps/x86_64/tininess.h: Removed.
36929
df61ffb2
JM
369302012-10-30 Joseph Myers <joseph@codesourcery.com>
36931
36932 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36933 input. Use $(build-program-cmd).
36934 ($(objpfx)tst-array1-static.out): Likewise.
36935 ($(objpfx)tst-array2.out): Likewise.
36936 ($(objpfx)tst-array3.out): Likewise.
36937 ($(objpfx)tst-array4.out): Likewise.
36938 ($(objpfx)tst-array5.out): Likewise.
36939 ($(objpfx)tst-array5-static.out): Likewise.
36940
01767843
CM
369412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36942
47cc1490
CM
36943 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36944 if defined.
36945
01767843
CM
36946 * nss/nsswitch.h (nss_interface_function): Provide new
36947 macro for use with NSS functions.
36948 * grp/initgroups.c: Use new macro.
36949 * nss/getXXbyYY.c: Likewise.
36950 * nss/getXXbyYY_r.c: Likewise.
36951 * nss/getXXent.c: Likewise.
36952 * nss/getXXent_r.c: Likewise.
36953 * sysdeps/posix/getaddrinfo.c: Likewise.
36954
8321aa97
AJ
369552012-10-30 Andreas Jaeger <aj@suse.de>
36956
36957 * po/ru.po: Update Russion translation from translation project.
36958
2a27fd6d
JM
369592012-10-30 Joseph Myers <joseph@codesourcery.com>
36960
8627a232
JM
36961 [BZ #14152]
36962 [BZ #14783]
36963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36964 result and shift together with sticky bit instead of replicating
36965 round-to-nearest rounding.
36966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36968 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36969 missing underflow exceptions.
36970 (fma_test_towardzero): Add more tests.
36971 (fma_test_downward): Likewise.
36972 (fma_test_upward): Likewise.
36973
2a27fd6d
JM
36974 [BZ #14047]
36975 * sysdeps/generic/tininess.h: New file.
36976 * sysdeps/i386/tininess.h: Likewise.
36977 * sysdeps/sh/tininess.h: Likewise.
36978 * sysdeps/x86_64/tininess.h: Likewise.
36979 * stdlib/tst-strtod-underflow.c: Likewise.
36980 * stdlib/tst-tininess.c: Likewise.
36981 * stdlib/strtod_l.c: Include <tininess.h>.
36982 (round_and_return): Do not set errno for exact underflow cases.
36983 Force an underflow exception when setting errno for underflow.
36984 Determine underflow based on rounding to normal precision if
36985 TININESS_AFTER_ROUNDING.
36986 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36987 ERANGE for exact underflow cases.
36988 * stdlib/Makefile (tests): Add tst-tininess and
36989 tst-strtod-underflow.
36990 ($(objpfx)tst-tininess): Use $(link-libm).
36991 ($(objpfx)tst-strtod-underflow): Likewise.
36992
e7170363
AJ
369932012-10-30 Andreas Jaeger <aj@suse.de>
36994
e5088dc6
AJ
36995 [BZ#14767]
36996 * elf/Makefile (tests): Remove conditional for have-initfini-array
36997 since this is now always required and the variable does not exist
36998 anymore.
36999 (tests-static): Likewise.
37000 (modules-names): Likewise.
37001
e7170363 37002 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37003
37004 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37005 merged with constructor/destructor.
37006 (init_array): Likewise.
37007 * elf/tst-array2dep.c (fini_array): Likewise.
37008 (init_array): Likewise.
37009
60457d8a
MF
370102012-10-29 Mike Frysinger <vapier@gentoo.org>
37011
37012 * manual/message.texi: Delete @cartouche tags.
37013
8bece752
PT
370142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37015
94ce799f
PT
37016 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37017 EOPNOTSUPP.
37018 * sysdeps/mach/hurd/fsync.c: Likewise.
37019
8bece752
PT
37020 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37021 [_POSIX_REALTIME_SIGNALS]: Change condition to
37022 [_POSIX_REALTIME_SIGNALS > 0].
37023
86ebe6b1
AJ
370242012-10-27 Andreas Jaeger <aj@suse.de>
37025
37026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37027 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37029 [__WORDSIZE != 64]: Likewise.
37030
54399c08
L
370312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 * iconvdata/tst-table.sh: Remove ${SHELL}.
37034 * iconvdata/tst-tables.sh: Likewise.
37035
e2211bed
DM
370362012-10-25 David S. Miller <davem@davemloft.net>
37037
37038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37039 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37040 of strtoull.
37041
f303f97c
DM
37042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37043 ifunc-impl-list.c
37044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37045 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37046 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37047 file.
37048
1e9d84cd
RM
370492012-10-25 Roland McGrath <roland@hack.frob.com>
37050
37051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37052 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37053 __getdirentries.
37054
df381762
JM
370552012-10-25 Joseph Myers <joseph@codesourcery.com>
37056 Jim Blandy <jimb@codesourcery.com>
37057
37058 * scripts/cross-test-ssh.sh: New file.
37059 * manual/install.texi (Configuring and compiling): Document use of
37060 cross-test-ssh.sh.
37061 * INSTALL: Regenerated.
37062
bff64913
PT
370632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37064
37065 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37066 EOPNOTSUPP.
37067
25fe8932
JM
370682012-10-25 Joseph Myers <joseph@codesourcery.com>
37069
37070 * Makeconfig (run-program-prefix): Fix comment.
37071
cc1290d0
JM
370722012-10-24 Joseph Myers <joseph@codesourcery.com>
37073 Jim Blandy <jimb@codesourcery.com>
37074
37075 * Makeconfig (test-wrapper): New variable,
37076 (test-wrapper-env): Likewise.
37077 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37078 (run-built-tests): Define to yes.
37079 (run-program-prefix): Use $(test-wrapper).
37080 (built-program-cmd): Likewise.
37081 * Rules (make-test-out): Use $(test-wrapper-env) and
37082 $(host-built-program-cmd).
37083 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37084 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37085 tst-pathopt.sh.
37086 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37087 $(test-wrapper-env) to tst-rtld-load-self.sh.
37088 ($(objpfx)order2.out): Use $(test-wrapper).
37089 ($(objpfx)tst-initorder.out): Likewise.
37090 ($(objpfx)tst-initorder2.out): Likewise.
37091 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37092 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37093 (test_wrapper_env): New variable. Use it to run ld.so.
37094 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37095 Use it to run ld.so.
37096 (test_wrapper_env): Likewise.
37097 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37098 $(test-wrapper) to run-iconv-test.sh.
37099 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37100 (ICONV): Use $test_wrapper.
37101 * posix/Makefile ($(objpfx)globtest.out): Pass
37102 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37103 globtest.sh, not $(run-program-prefix).
37104 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37105 (test_wrapper): Likewise.
37106 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37107 set together with run_via_rtld_prefix.
37108 (run_program_prefix): Define in terms of test_wrapper and
37109 run_via_rtld_prefix.
37110
6e6249d0
RM
371112012-10-24 Roland McGrath <roland@hack.frob.com>
37112
37113 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37114 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37115 Targets removed.
37116
37117 [BZ #14743]
37118 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37119 Declare __clock_getres, __clock_gettime, __clock_settime,
37120 __clock_nanosleep, and __clock_getcpuclockid.
37121 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37122 Remove librt_hidden_def (clock_gettime).
37123 * sysdeps/unix/clock_gettime.c: Likewise.
37124 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37126 * rt/clock_getres.c: Define __clock_getres as an alias.
37127 * sysdeps/posix/clock_getres.c: Likewise.
37128 * rt/clock_settime.c: Define __clock_settime as an alias.
37129 * sysdeps/unix/clock_settime.c: Likewise.
37130 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37131 * sysdeps/unix/clock_nanosleep.c: Likewise.
37132 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37133 * rt/clock-compat.c: New file.
37134 * rt/Makefile (librt-routines): Add clock-compat and move
37135 $(clock-routines) to ...
37136 (routines): ... here, new variable.
37137 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37138 Don't add get_clockfreq here.
37139 * rt/Versions (libc: GLIBC_2.17): New version set.
37140 Add clock_* symbols here.
37141 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37143 (GLIBC_2.17): Add clock_* symbols.
37144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37148 Likewise.
37149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37150 Likewise.
37151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37155 * NEWS: Mention the move.
37156
37157 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37158 Use __open, __read, __close rather than their public counterparts.
37159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37160 (__get_clockfreq_via_cpuinfo): Likewise.
37161 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37162 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37163
37164 * config.h.in (HAVE_IFUNC): New #undef.
37165 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37166 was successful.
37167 * configure: Regenerated.
37168
0cae3f4b
MF
371692012-10-24 Mike Frysinger <vapier@gentoo.org>
37170
37171 * configure.in: Move READELF check to start of file.
37172 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37173 libc_cv_asm_gnu_indirect_function in the process.
37174 * configure: Regenerated.
37175
8175a253
MF
371762012-10-24 Mike Frysinger <vapier@gentoo.org>
37177
37178 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37179 send the output to /dev/null.
37180 (libc_cv_cc_with_libunwind): Likewise.
37181 (libc_cv_as_noexecstack): Likewise.
37182 * configure: Regenerate.
37183
0708a7d1
JM
371842012-10-24 Joseph Myers <joseph@codesourcery.com>
37185
10b40d85
JM
37186 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37187
0708a7d1
JM
37188 * posix/globtest.sh (TMPDIR): Do not set.
37189 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37190 (testout): Likewise.
37191
9fddec1a
AJ
371922012-10-24 Andreas Jaeger <aj@suse.de>
37193
3a8db22f
AJ
37194 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37195 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37196 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37197 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37198 posix_fadvise64, posix_fallocate64.
37199
9fddec1a
AJ
37200 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37201 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37202 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37203 Likewise.
37204 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37205 Likewise.
37206 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37207
37208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37209 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37210 <bits/fcntl-linux.h>.
37211 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37212
37213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37214 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37215 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37216 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37217 [__WORDSIZE != 64]: Likewise.
37218
ebfd1bbd
JM
372192012-10-23 Joseph Myers <joseph@codesourcery.com>
37220
03ac099f
JM
37221 * Makeconfig (run-built-tests): New variable.
37222 * Rules [$(cross-compiling) = yes]: Change condition to
37223 [$(run-built-tests) = no].
37224 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37225 to [$(run-built-tests) = yes].
37226 * elf/Makefile [$(cross-compiling) = no]: Likewise
37227 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37228 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37229 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37230 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37231 * io/Makefile [$(cross-compiling) = no]: Likewise.
37232 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37233 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37234 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37235 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37236 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37237 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37238 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37239 * string/Makefile [$(cross-compiling) = no]: Likewise.
37240
ebfd1bbd
JM
37241 * posix/Makefile ($(objpfx)globtest.out): Pass
37242 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37243 $(rtld-installed-name).
37244 * posix/globtest.sh (elf_objpfx): Remove variable.
37245 (rtld_installed_name): Likewise.
37246 (library_path): Likewise.
37247 (run_program_prefix): New variable. Use for running globtest
37248 binary.
37249
166bca24
JB
372502012-10-23 Jim Blandy <jimb@codesourcery.com>
37251 Joseph Myers <joseph@codesourcery.com>
37252
37253 * Makeconfig (host-built-program-cmd): New variable.
37254 * elf/Makefile (tst-stackguard1-ARGS): Use
37255 $(host-built-program-cmd).
37256 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37257 (tst-spawn-ARGS): Likewise.
37258 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37259
88866099
JM
372602012-10-23 Joseph Myers <joseph@codesourcery.com>
37261 Jim Blandy <jimb@codesourcery.com>
37262
37263 * Makeconfig (run-via-rtld-prefix): New variable.
37264 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37265 (built-program-cmd): Likewise.
37266
b4b4c296
AJ
372672012-10-22 Andreas Jaeger <aj@suse.de>
37268
37269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37270 __O_RSYNC if it exists, otherwise to O_SYNC.
37271
6fb54a22
JB
372722012-10-22 Jim Blandy <jimb@codesourcery.com>
37273 Joseph Myers <joseph@codesourcery.com>
37274
37275 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37276 /dev/null.
37277 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37278 from /dev/null
37279 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37280 /dev/null.
37281
481b90b9
AJ
372822012-10-22 Andreas Jaeger <aj@suse.de>
37283
2a0e2669
AJ
37284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37285 Define always.
37286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37287
76e38f9a
AJ
37288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37289 bits/fcntl-linux.h.
37290
7cd37b43
AJ
37291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37292 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37293
481b90b9
AJ
37294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37295 to __O_LARGEFILE.
37296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37297 to __O_LARGEFILE.
37298
aba75984
JB
372992012-10-21 Jim Blandy <jimb@codesourcery.com>
37300 Joseph Myers <joseph@codesourcery.com>
37301
37302 * config.make.in (NM): New variable.
37303
88d4247f
AJ
373042012-10-21 Andreas Jaeger <aj@suse.de>
37305
37306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37307 definitions and declarations that are provided by
37308 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37309
f2eed205
L
373102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37311
37312 [BZ #14683]
37313 * elf/Makefile (tests-static): Add tst-leaks1-static.
37314 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37315 ($(objpfx)tst-leaks1-static): New rule.
37316 ($(objpfx)tst-leaks1-static-mem): Likewise.
37317 (tst-leaks1-static-ENV): New macro.
37318 * elf/dl-open.c (dl_open_worker): Check the main application
37319 only if SHARED is defined.
37320 * elf/tst-leaks1-static.c: New file.
37321
335e6931
AJ
373222012-10-20 Andreas Jaeger <aj@suse.de>
37323
37324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37325 generic values for Linux.
37326 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37327 and declarations that are provided by <bits/fcntl-linux.h> and
37328 include <bits/fcntl-linux.h>.
37329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37331
ac5c94d3
RM
373322012-10-20 Roland McGrath <roland@hack.frob.com>
37333
37334 * io/fcntl.h: Move include of <bits/types.h> to the top and
37335 include it unconditionally.
37336
de54b33a
L
373372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37338
228cfb01
L
37339 * wcsmbs/Makefile (tests-ifunc): New variable.
37340 (tests): Add $(tests-ifunc).
37341 * wcsmbs/test-wcschr-ifunc.c: New file.
37342 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37343 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37344 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37345 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37346 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37347
69f07e5f
L
37348 * string/Makefile (tests-ifunc): New variable.
37349 (tests): Add $(tests-ifunc).
37350 * string/test-memccpy.c (TEST_NAME): New macro.
37351 * string/test-memchr.c (TEST_NAME): Likewise.
37352 * string/test-memcmp.c (TEST_NAME): Likewise.
37353 * string/test-memcpy.c (TEST_NAME): Likewise.
37354 * string/test-memmem.c (TEST_NAME): Likewise.
37355 * string/test-memmove.c (TEST_NAME): Likewise.
37356 * string/test-memset.c (TEST_NAME): Likewise.
37357 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37358 * string/test-stpcpy.c (TEST_NAME): Likewise.
37359 * string/test-stpncpy.c (TEST_NAME): Likewise.
37360 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37361 * string/test-strcasestr.c (TEST_NAME): Likewise.
37362 * string/test-strcat.c (TEST_NAME): Likewise.
37363 * string/test-strchr.c (TEST_NAME): Likewise.
37364 * string/test-strcmp.c(TEST_NAME): Likewise.
37365 * string/test-strcpy.c (TEST_NAME): Likewise.
37366 * string/test-strcspn.c (TEST_NAME): Likewise.
37367 * string/test-strlen.c (TEST_NAME): Likewise.
37368 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37369 * string/test-strncmp.c (TEST_NAME): Likewise.
37370 * string/test-strncpy.c (TEST_NAME): Likewise.
37371 * string/test-strnlen.c (TEST_NAME): Likewise.
37372 * string/test-strpbrk.c (TEST_NAME): Likewise.
37373 * string/test-strrchr.c (TEST_NAME): Likewise.
37374 * string/test-strspn.c (TEST_NAME): Likewise.
37375 * string/test-strstr.c (TEST_NAME): Likewise.
37376 * string/test-bcopy-ifunc.c: New file.
37377 * string/test-bzero-ifunc.c: Likewise.
37378 * string/test-memccpy-ifunc.c: Likewise.
37379 * string/test-memchr-ifunc.c: Likewise.
37380 * string/test-memcmp-ifunc.c: Likewise.
37381 * string/test-memcpy-ifunc.c: Likewise.
37382 * string/test-memmem-ifunc.c: Likewise.
37383 * string/test-memmove-ifunc.c: Likewise.
37384 * string/test-mempcpy-ifunc.c: Likewise.
37385 * string/test-memset-ifunc.c: Likewise.
37386 * string/test-rawmemchr-ifunc.c: Likewise.
37387 * string/test-stpcpy-ifunc.c: Likewise.
37388 * string/test-stpncpy-ifunc.c: Likewise.
37389 * string/test-strcasecmp-ifunc.c: Likewise.
37390 * string/test-strcasestr-ifunc.c: Likewise.
37391 * string/test-strcat-ifunc.c: Likewise.
37392 * string/test-strchr-ifunc.c: Likewise.
37393 * string/test-strchrnul-ifunc.c: Likewise.
37394 * string/test-strcmp-ifunc.c: Likewise.
37395 * string/test-strcpy-ifunc.c: Likewise.
37396 * string/test-strcspn-ifunc.c: Likewise.
37397 * string/test-strlen-ifunc.c: Likewise.
37398 * string/test-strncasecmp-ifunc.c: Likewise.
37399 * string/test-strncat-ifunc.c: Likewise.
37400 * string/test-strncmp-ifunc.c: Likewise.
37401 * string/test-strncpy-ifunc.c: Likewise.
37402 * string/test-strnlen-ifunc.c: Likewise.
37403 * string/test-strpbrk-ifunc.c: Likewise.
37404 * string/test-strrchr-ifunc.c: Likewise.
37405 * string/test-strspn-ifunc.c: Likewise.
37406 * string/test-strstr-ifunc.c: Likewise.
37407
de54b33a
L
37408 * debug/Makefile (tests-ifunc): New variable.
37409 (tests): Add $(tests-ifunc).
37410 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37411 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37412 * debug/test-stpcpy_chk-ifunc.c: New file.
37413 * debug/test-strcpy_chk-ifunc.c: Likewise.
37414
88481c16
SP
374152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37416
37417 [BZ #13601]
37418 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37419 header is not read in.
37420
135948bd
JM
374212012-10-19 Joseph Myers <joseph@codesourcery.com>
37422
89f1c388
JM
37423 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37424 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37425 directly. Pass built executable to script as
37426 $(built-program-cmd).
37427 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37428 $testprogram without using LD_LIBRARY_PATH and $ldso.
37429
e40a0d21
JM
37430 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37431 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37432 $(rtld-installed-name).
37433 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37434 (rtld_installed_name): Likewise.
37435 (library_path): Likewise.
37436 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37437 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37438 $(run-program-prefix) to tst-tables.sh.
37439 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37440 it to run tst-table-from and tst-table-to.
37441 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37442 Pass it to tst-table.sh.
37443 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37444 $(run-program-prefix) to tst-gettext.sh.
37445 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37446 tst-translit.sh.
37447 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37448 tst-gettext2.sh.
37449 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37450 to run tst-gettext.
37451 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37452 to run tst-gettext2.
37453 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37454 to run tst-translit.
37455 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37456 $(run-program-prefix) to tst-mtrace.sh.
37457 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37458 to run tst-mtrace.
37459 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37460 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37461 $(rtld-installed-name).
37462 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37463 (rtld_installed_name): Likewise.
37464 (run_program_prefix): New variable. Use it to run wordexp-test.
37465
728e272a
JM
37466 * Makeconfig (ARCH): Remove all definitions.
37467 (machine): Likewise.
37468 [ARCH]: Remove conditional code.
37469 [!objdir]: Give error.
37470 [!objdir] (objpfx): Remove.
37471 [!objdir] (common-objpfx): Likewise.
37472 [!objdir] (common-objdir): Likewise.
37473 * configure.in (config_makefile): Remove. Hardcode Makefile in
37474 AC_CONFIG_FILES call.
37475 * configure: Regenerated.
37476
d528cdcf
JM
37477 [BZ #13888]
37478 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37479 or TMPDIR.
37480 (testout): Likewise.
37481
135948bd
JM
37482 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37483 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37484 $(rtld-installed-name).
37485 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37486 (rtld_installed_name): Likwise.
37487 (runit): Remove function.
37488 (run_getconf): New variable, Use it for running getconf binary.
37489
38c78296
L
374902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 [BZ #14716]
37493 * string/test-memmem.c (check_result): New function.
37494 (do_one_test): Use it.
37495 (check1): New function.
37496 (test_main): Use it.
37497
d077f65f
MT
374982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37499
37500 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37501
ced52c71
JM
375022012-10-18 Joseph Myers <joseph@codesourcery.com>
37503
37504 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37505 (_G_LSEEK64): Likewise.
37506 (_G_MMAP64): Likewise.
37507 (_G_FSTAT64): Likewise.
37508 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37509 (_G_LSEEK64): Likewise.
37510 (_G_MMAP64): Likewise.
37511 (_G_FSTAT64): Likewise.
37512 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37513 unconditional. Call __mmap64 directly.
37514 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37515 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37516 __lseek64 directly.
37517 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37518 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37519 __mmap64 directly.
37520 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37521 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37522 __lseek64 directly.
37523 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37524 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37525 __lseek64 directly.
37526 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37527 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37528 __lseek64 directly.
37529 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37530 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37531 __fxstat64 directly.
37532 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37533 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37534 unconditional.
37535 (freopen64) [!_G_OPEN64]: Remove conditional code.
37536 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37537 unconditional.
37538 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37539 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37540 unconditional.
37541 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37542 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37543 unconditional.
37544 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37545 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37546 unconditional.
37547 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37548 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37549 unconditional.
37550 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37551 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37552 unconditional.
37553 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37554 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37555 unconditional.
37556 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37557
b741de23
SP
375582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37559
37560 [BZ #12140]
37561 * manual/memory.texi (Malloc Tunable Parameters): Add note
37562 about free list pointers overwriting some perturb bytes.
37563 Wording suggested by Roland McGrath.
37564
f9b9d9c9
JM
375652012-10-17 Joseph Myers <joseph@codesourcery.com>
37566
37567 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37568 (lgamma_test): Likewise.
37569 (tgamma_test): Likewise.
37570
172a631a
FW
375712012-10-16 Florian Weimer <fweimer@redhat.com>
37572
37573 [BZ #14700]
37574 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37575 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37576
e9f37252
MK
375772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37578
37579 * NEWS: Mention BZ #14716.
37580 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37581 when removing AVAILABLE1_USES_J macro.
37582
d394eb74
L
375832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37584
37585 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37586 (__bswap_64): __uint64_t for unsigned 64-bit int.
37587
ca38dc17
AS
375882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37589
37590 * include/string.h (memmem): Declare libc hidden alias.
37591 * string/memmem.c (memmem): Define libc hidden alias.
37592 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37593 __read, __close instead of open, read, close.
37594
9a387d1f
L
375952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37596
ac49ecaf
L
37597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37598 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37599 global and hidden.
37600 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37601 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37602 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37603 Likewise.
37604 (__rawmemchr_sse2): Likewise.
37605 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37606 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37607 (__strchr_sse2): Likewise.
37608 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37609 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37610 (__strcasecmp_sse2): Likewise.
37611 (__strncasecmp_sse2): Likewise.
37612 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37613 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37614 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37615 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37616 (__strrchr_sse2): Likewise.
37617 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37618 ifunc-impl-list.c.
37619 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37620 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37621 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37622 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37623 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37624 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37625 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37626 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37627 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37628 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37629 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37630 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37631 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37632 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37633 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37634 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37635 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37636 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37637 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37638 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37639 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37640 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37641 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37642 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37643 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37645 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37646 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37647 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37648 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37649
b090e8ea
L
37650 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37651 global and hidden.
37652 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37653 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37654 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37655 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37656 Likewise.
37657 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37658 Likewise.
37659 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37660 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37661 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37662 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37663 ifunc-impl-list.c.
37664 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37666 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37676 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37677 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37678 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37679 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37680 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37681 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37682 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37683 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37685 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37686 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37687 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37688 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37689 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37690 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37691 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37692 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37693 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37694 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37695 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37696 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37697 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37698 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37699 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37700 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37701 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37702 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37703 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37704 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37705
11dd4af6
L
37706 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37707 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37708 * include/ifunc-impl-list.h: New file.
37709 * misc/ifunc-impl-list.c: Likewise.
37710 * misc/Makefile (routines): Add ifunc-impl-list.
37711 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37712 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37713 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37714 TEST_NAME]: New variables.
11dd4af6
L
37715 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37716 are defined.
37717 (test_init): Call __libc_ifunc_impl_list to initialize
37718 func_list if TEST_IFUNC and TEST_NAME are defined.
37719
9a387d1f
L
37720 * string/Makefile (strop-tests): Add bcopy and bzero.
37721 * string/test-bcopy.c: New file.
37722 * string/test-bzero.c: Likewise.
37723 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37724 defined.
37725 * string/test-memset.c: Support bzero test if TEST_BZERO is
37726 defined.
37727 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37728 __libc_memmove.
37729 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37730 __libc_memset.
37731 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37732 of memset.
37733
472371b9
JM
377342012-10-10 Joseph Myers <joseph@codesourcery.com>
37735
1e4a9536
JM
37736 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37737 * configure: Regenerated.
37738
d173d12e
JM
37739 * Makeconfig (+link-static-before-libc): Don't include
37740 $(link-static-libc).
37741
472371b9
JM
37742 * libio/libio.h (_IO_pos_t): Remove.
37743
89a3ad0b
AO
377442012-10-10 Alexandre Oliva <aoliva@redhat.com>
37745
37746 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37747 McGrath.
37748
e7451425
AO
377492012-10-10 Alexandre Oliva <aoliva@redhat.com>
37750
37751 * crypt/crypt-entry.c: Include fips-private.h.
37752 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37753 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37754 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37755 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37756
4ba74a35
AO
377572012-10-10 Alexandre Oliva <aoliva@redhat.com>
37758
37759 * crypt/crypt-private.h: Include stdbool.h.
37760 (_ufc_setup_salt_r): Return bool.
37761 * crypt/crypt-entry.c: Include errno.h.
37762 (__crypt_r): Return NULL with EINVAL for bad salt.
37763 * crypt/crypt_util.c (bad_for_salt): New.
37764 (_ufc_setup_salt_r): Check that salt is long enough and within
37765 the specified alphabet.
37766 * crypt/badsalttest.c: New file.
37767 * crypt/Makefile (tests): Add it.
37768 ($(objpfx)badsalttest): New.
37769
f96f1242
MK
377702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37771
37772 * NEWS: Add entry for BZ #14602.
37773
0e8e0c1c
JM
377742012-10-09 Joseph Myers <joseph@codesourcery.com>
37775
37776 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37777 type-generic.
37778 * math/libm-test.inc: Update comment listing what functions and
37779 macros are tested.
37780 (isgreater_test): New function.
37781 (isgreaterequal_test): Likewise.
37782 (isless_test): Likewise.
37783 (islessequal_test): Likewise.
37784 (islessgreater_test): Likewise.
37785 (isunordered_test): Likewise.
37786 (main): Call the new functions.
37787
273edc5e
RM
377882012-10-09 Roland McGrath <roland@hack.frob.com>
37789
b8493de0
RM
37790 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37791 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37792 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37793 * sysdeps/i386/configure: Regenerated.
37794 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37795 * sysdeps/mach/configure: Regenerated.
37796 * sysdeps/mach/hurd/configure: Regenerated.
37797 * sysdeps/powerpc/configure: Regenerated.
37798 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37799 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37800 * sysdeps/s390/s390-32/configure: Regenerated.
37801 * sysdeps/s390/s390-64/configure: Regenerated.
37802 * sysdeps/sh/configure: Regenerated.
37803 * sysdeps/sparc/configure: Regenerated.
37804 * sysdeps/unix/sysv/linux/configure: Regenerated.
37805 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37806 * sysdeps/x86_64/configure: Regenerated.
37807
273edc5e
RM
37808 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37809 defined. Don't check if MAP is NULL.
37810
c8450f70
JM
378112012-10-09 Joseph Myers <joseph@codesourcery.com>
37812
37813 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37814 (_G_stat64): Likewise.
37815 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37816 (_G_stat64): Likewise.
37817 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37818 instead of struct _G_stat64.
37819 * libio/fileops.c (mmap_remap_check): Likewise.
37820 (decide_maybe_mmap): Likewise.
37821 (_IO_new_file_seekoff): Likewise.
37822 (_IO_file_stat): Likewise.
37823 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37824 _G_off64_t.
37825 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37826 instead of struct _G_stat64.
37827 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37828
57e605ba
MK
378292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37830
37831 [BZ #14602]
37832 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37833 Replace with ...
37834 (CHECK_EOL): New macro.
37835 (two_way_short_needle): Check beginning of haystack for EOL. Use
37836 CHECK_EOL.
37837 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37838 Replace with CHECK_EOL.
37839 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37840 Replace with CHECK_EOL.
37841
ef1bb361
JM
378422012-10-08 Joseph Myers <joseph@codesourcery.com>
37843
37844 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37845 type-generic.
37846 * math/libm-test.inc: Update comment listing what functions and
37847 macros are tested.
37848 (finite_test): New function.
37849 (isinf_test): Likewise.
37850 (isnan_test): Likewise.
37851 (fpclassify_test): Test subnormal input.
37852 (isfinite_test): Likewise.
37853 (isnormal_test): Likewise.
37854 (main): Call the new functions.
37855
55f11534
JN
378562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37857
37858 [BZ #14660]
37859 * Makerules (%.dynsym): Force C locale when running
37860 $(OBJDUMP) --dynamic-syms.
37861
1ab29350
AS
378622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37863
37864 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37865 <stdint.h>.
37866
f1ecb7ef
DM
378672012-10-06 David S. Miller <davem@davemloft.net>
37868
37869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37870 upper 32-bits of the length value in %o2 since we use branch-on-register
37871 tests which consider the entire 64-bit register.
37872
5d41d91a
L
378732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37874
37875 * string/test-strstr.c (check2): Add a test for page boundary.
37876
3baddb72
DM
378772012-10-05 David S. Miller <davem@davemloft.net>
37878
37879 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37880 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37881 file.
37882 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37883 sysdep_routines.
37884 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37885 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37886 and bzero when HWCAP_SPARC_CRYPTO is present.
37887
9cee5585
L
378882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37889
d7e0dab9
L
37890 [BZ #14602]
37891 * string/test-strstr.c (check2): New function.
37892 (test_main): Call check2.
37893
03759f47
L
37894 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37895 and bug-strchr1.
37896 * string/bug-strcasestr1.c (do_test): Moved to ...
37897 * string/test-strcasestr.c (check1): Here. New function.
37898 (do_one_test): Break out result checking code into ...
37899 (check_result): This. New function.
37900 (do_one_test): Call check_result.
37901 (test_main): Call check1.
37902 * string/bug-strchr1.c (do_test): Moved to ...
37903 * string/test-strchr.c (check1): Here. New function.
37904 (do_one_test): Break out result checking code into ...
37905 (check_result): This. New function.
37906 (do_one_test): Call check_result.
37907 (test_main): Call check1.
37908 * string/bug-strstr1.c (main): Moved to ...
046f153e 37909 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37910 (do_one_test): Break out result checking code into ...
37911 (check_result): This. New function.
37912 (do_one_test): Call check_result.
37913 (test_main): Call check1.
37914 * string/bug-strcasestr1.c: Removed.
37915 * string/bug-strchr1.c: Likewise.
37916 * string/bug-strstr1.c: Likewise.
37917
53cea63e
L
37918 * elf/Makefile (dl-routines): Add hwcaps.
37919 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37920 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37921 (_dl_important_hwcaps): Moved to ...
37922 * elf/dl-hwcaps.c: Here. New file.
37923 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37924
9cee5585 37925 [BZ #14557]
bb859b06
L
37926 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37927 if IS_IN_rtld isn't defined.
37928
9cee5585
L
37929 * elf/dl-support.c (_dl_sysinfo_map): New.
37930 Include "get-dynamic-info.h" and "setup-vdso.h".
37931 (_dl_non_dynamic_init): Call setup_vdso.
37932 * elf/dynamic-link.h: Don't include <assert.h>.
37933 (elf_get_dynamic_info): Moved to ...
37934 * elf/get-dynamic-info.h: Here. New file.
37935 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37936 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37937 * elf/setup-vdso.h: Here. New file.
37938 * elf/rtld.c: Include "setup-vdso.h".
37939 (dl_main): Call setup_vdso.
37940
23c31b76
JM
379412012-10-05 Joseph Myers <joseph@codesourcery.com>
37942
28234b07
JM
37943 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37944 creal in comment listing functions tested. List finite, isinf,
37945 isnan, isless, islessequal, isgreater, isgreaterequal,
37946 islessgreater, isunordered, lgamma_r and pow10 as functions and
37947 macros not tested. Mention which functions not tested are aliases
37948 for other functions. Fix typo. Note that signs of NaNs are not
37949 tested.
37950
23c31b76
JM
37951 * scripts/config.guess: Update from config.git.
37952 * scripts/config.sub: Likewise.
37953
9043e228
RM
379542012-10-04 Roland McGrath <roland@hack.frob.com>
37955
37956 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37957 * misc/madvise.c (madvise): Renamed to __madvise.
37958 Make madvise a weak alias.
37959 * include/sys/mman.h: Declare __madvise.
37960 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37961 * sysdeps/unix/syscalls.list
37962 (madvise): Make __madvise the strong name, and madvise a weak alias.
37963 * sysdeps/unix/sysv/linux/syscalls.list
37964 (madvise, mmap): Remove redundant entries.
37965 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37966 * malloc/malloc.c (mtrim): Likewise.
37967 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37968
f57f8055
RM
379692012-10-03 Roland McGrath <roland@hack.frob.com>
37970
37971 * sysdeps/mach/hurd/dl-cache.c: File removed.
37972 * config.h.in (USE_LDCONFIG): New #undef.
37973 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37974 * configure: Regenerated.
37975 * elf/Makefile (dl-routines): Add dl-cache only under
37976 [$(use-ldconfig) = yes].
37977 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37978 cache on [USE_LDCONFIG].
37979 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37980 [USE_LDCONFIG].
37981 * elf/rtld.c (dl_main): Likewise.
37982
5bb0c10a
PT
379832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37984
37985 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37986 _SC_LEVEL4_CACHE_LINESIZE.
37987
010188c6
RM
379882012-10-03 Roland McGrath <roland@hack.frob.com>
37989
37990 * sysdeps/unix/bsd/confstr.h: File removed.
37991
b6c5ec07
AO
379922012-10-02 Alexandre Oliva <aoliva@redhat.com>
37993
37994 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37995 sys/sdt-config.h.
37996
408223d4
RM
379972012-10-02 Roland McGrath <roland@hack.frob.com>
37998
37999 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38000 Make 'mapoff' field ElfW(Off) rather than off_t.
38001
bb9510dc
DL
380022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38003
fc997c6e
DL
38004 * nscd/Makefile: Remove nscd-cflags and all its users.
38005 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38006 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38007
bb9510dc
DL
38008 [BZ #10631]
38009 * malloc.c (malloc_printerr): Clarify error message.
38010
05699367
L
380112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38012
38013 [BZ #14648]
38014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38015 Set bit_FMA_Usable if FMA is supported.
38016 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38017 macro.
38018 (bit_FMA4_Usable): Updated.
38019 (index_FMA_Usable): New macro.
38020 (CPUID_FMA): Likewise
38021 (HAS_FMA): Defined with bit_FMA_Usable.
38022
51367701
RM
380232012-10-01 Roland McGrath <roland@hack.frob.com>
38024
38025 * bits/types.h (__swblk_t): Type removed.
38026 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38027 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38029 (__SWBLK_T_TYPE): Likewise.
38030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38031 (__SWBLK_T_TYPE): Likewise.
38032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38033 (__SWBLK_T_TYPE): Likewise.
38034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38035 (__SWBLK_T_TYPE): Likewise.
38036
4d57bf63 380372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38038 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38039
38040 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38041 (xdr_mapname): Use YPMAXMAP as maxsize.
38042 (xdr_peername): Use YPMAXPEER as maxsize.
38043 (xdr_keydat): Use YPAXRECORD as maxsize.
38044 (xdr_valdat): Use YPMAXRECORD as maxsize.
38045
93c65d43
RM
380462012-10-01 Roland McGrath <roland@hack.frob.com>
38047
497a03d6
RM
38048 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38049
93c65d43
RM
38050 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38051 * csu/init-first.c: ... here.
38052 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38053 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38054 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38055 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38056 * sysdeps/i386/init-first.c: File removed.
38057 * sysdeps/sh/init-first.c: File removed.
38058
bec749fd
JM
380592012-10-01 Joseph Myers <joseph@codesourcery.com>
38060
38061 [BZ #14645]
38062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38063 if x * y might underflow to zero and z is zero.
38064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38066 * math/libm-test.inc (min_subnorm_value): New variable.
38067 (fma_test): Add more tests.
38068 (fma_test_towardzero): Likewise.
38069 (fma_test_downward): Likewise
38070 (fma_test_upward): Likewise.
38071 (initialize): Set min_subnorm_value.
38072
8ec5b013
JM
380732012-09-29 Joseph Myers <joseph@codesourcery.com>
38074
38075 [BZ #14638]
38076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38077 0 + 0.
38078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38079 mode for addition resulting in exact zero.
38080 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38082 exact 0 + 0.
38083 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38085 * math/libm-test.inc (fma_test): Add more tests.
38086 (fma_test_towardzero): New function.
38087 (fma_test_downward): Likewise.
38088 (fma_test_upward): Likewise.
38089 (main): Call the new functions.
38090
b1fa802e
DM
380912012-09-28 David S. Miller <davem@davemloft.net>
38092
38093 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38094
d3b9fd9e
RM
380952012-09-28 Roland McGrath <roland@hack.frob.com>
38096
ea4d37b3
RM
38097 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38098 instead of SIGALRM.
38099
ac51c949
RM
38100 * sysdeps/gnu/_G_config.h: Moved to ...
38101 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38102 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38103 * sysdeps/generic/_G_config.h: ... here.
38104
28c195f7
RM
38105 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38106
848917f9
RM
38107 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38108
6bacf05b
RM
38109 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38110 Conditionalize target on [libnss_test1.so-version].
38111
91363dbb
RM
38112 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38113
cc87f7d8
RM
38114 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38115 (elfobjdir): Move out of conditionals.
38116
b1c608fe
RM
38117 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38118 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38119 (__nss_lookup_function): Conditionalize label remove_from_tree on
38120 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38121
1d9a6d96
DM
381222012-09-28 David S. Miller <davem@davemloft.net>
38123
38124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38125 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38126 file.
38127 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38128 sysdep_routines.
38129 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38131 when HWCAP_SPARC_CRYPTO is present.
38132
72581615
PT
381332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38134
38135 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38136
715a900c
JL
381372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38138
38139 [BZ #6530]
38140 * stdio-common/vfprintf.c (process_string_arg): Revert
38141 2000-07-22 change.
38142
381432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38144
38145 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38146 for testcase.
38147 * stdio-common/tst-sprintf.c: Include <locale.h>
38148 (main): Test sprintf's handling of incomplete multibyte
38149 characters.
38150
9bac1d86
L
381512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38152
38153 * elf/dl-runtime.c (VERSYMIDX): Removed.
38154 * elf/dl-version.c (VERSYMIDX): Likewise.
38155 * elf/do-rel.h (VERSYMIDX): Likewise.
38156 (VALIDX): Likewise.
38157 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38158 * elf/rtld.c (VALIDX): Likewise.
38159 (ADDRIDX): Likewise.
9bac1d86
L
38160 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38161 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38162 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38163 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38164 (VALIDX): Likewise.
38165 (ADDRIDX): Likewise.
9bac1d86 38166
b31606c0
PT
381672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38168
38169 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38170
11541177
JL
381712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38172
38173 [BZ #11438]
38174 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38175 to global scope.
38176 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38177 addresses are in the same scope as 192.0.2/24.
38178 * posix/gai.conf: Document new scope table defaults.
38179
adb26fae
SP
381802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38181
38182 [BZ #5298]
38183 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38184 for ftell. Compute offsets from write pointers instead.
38185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38186
4573c6b0
SP
381872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38188
38189 [BZ #14543]
38190 * libio/Makefile (tests): New test case tst-fseek.
38191 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38192 combination works in wide mode.
38193 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38194 state when the external buffer state changes.
38195
aa9bbfe6
DM
381962012-09-27 David S. Miller <davem@davemloft.net>
38197
38198 [BZ #14376]
38199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38200 pass reloc->r_addend in as the 'high' argument to
38201 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38202
784421e7
DM
38203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38204
c39bc8b8
PT
382052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38206
38207 * rt/tst-aio2.c: Include <pthread.h>.
38208 * rt/tst-aio3.c: Likewise.
38209
1ccc2399
SE
382102012-09-27 Steve Ellcey <sellcey@mips.com>
38211
38212 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38213
31ed4153
L
382142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38215
25f5f885
L
38216 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38217 contents on [SHARED].
31ed4153 38218
b7bfe116
MP
382192012-09-26 Marek Polacek <polacek@redhat.com>
38220
38221 [BZ #14530]
38222 [BZ #13741]
38223 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38224 for C++ and GCC <4.3 as well as for non GCC compilers.
38225
43c4edba
MT
382262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38227
38228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38229
6a1bf82f
RM
382302012-09-25 Roland McGrath <roland@hack.frob.com>
38231
38232 * Makefile.in (all, install): Declare with .PHONY.
38233 Reported by Michael Hope <michael.hope@linaro.org>.
38234
8ad11b9a
TMQMF
382352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38236
38237 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38238 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38239 system header.
38240 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38241 Likewise.
38242 (sydep_routines): Add the new and the internal functions.
38243 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38244 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38246 (GLIBC_2.17): Add the new function.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38248 (GLIBC_2.17): Likewise.
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38250 (GLIBC_2.17): Likewise.
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38252 (GLIBC_2.17): Likewise.
38253 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38254
7e2fca8d
AM
382552012-09-25 Alan Modra <amodra@gmail.com>
38256
38257 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38258 Add release barrier before setting once_control to say
38259 initialisation is done. Add hints on lwarx. Use macro in
38260 place of isync.
38261 (clear_once_control): Add release barrier.
38262
b87c4b24
JM
382632012-09-25 Joseph Myers <joseph@codesourcery.com>
38264
d032e0d2
JM
38265 [BZ #13629]
38266 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38267 specially.
38268 * math/s_clog10.c (__clog10): Likewise.
38269 * math/s_clog10f.c (__clog10f): Likewise.
38270 * math/s_clog10l.c (__clog10l): Likewise.
38271 * math/s_clogf.c (__clogf): Likewise.
38272 * math/s_clogl.c (__clogl): Likewise.
38273 * math/Makefile (libm-calls): Add x2y2m1.
38274 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38275 (__x2y2m1): Likewise.
38276 (__x2y2m1l): Likewise.
38277 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38278 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38281 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38282 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38283 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38284 * sysdeps/i386/fpu/libm-test-ulps: Update.
38285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286
b87c4b24
JM
38287 [BZ #14621]
38288 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38289 int as type of variable DEPTH.
38290 (glob): Use size_t instead of int as type of variables NEWCOUNT
38291 and OLD_PATHC.
38292
6d3bf199
LD
382932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38294
22bf5c17
LD
38295 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38296 Add s_sincosf-sse2.
38297 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38298 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38299 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38300 macros for using routine as __sincosf_ia32.
38301 Use macro for function declaration and weak_alias.
38302 * sysdeps/i386/fpu/libm-test-ulps: Update.
38303
38304 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38306
38307 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38308 subnormal argument.
38309 * math/s_cexpf.c (__cexpf): Likewise.
38310 * math/s_csinf.c (__csinf): Likewise.
38311 * math/s_csinhf.c (__csinhf): Likewise.
38312 * math/s_ctanf.c (__ctanf): Likewise.
38313 * math/s_ctanhf.c (__ctanhf): Likewise.
38314 * math/s_ccosh.c (__ccoshf): Likewise.
38315 * math/s_cexp.c (__cexpl): Likewise.
38316 * math/s_csin.c (__csin): Likewise.
38317 * math/s_csinh.c (__csinh): Likewise.
38318 * math/s_ctan.c (__ctan): Likewise.
38319 * math/s_ctanh.c (ctanh): Likewise.
38320 * math/s_ccoshl.c (__ccoshl): Likewise.
38321 * math/s_cexpl.c (__cexpl): Likewise.
38322 * math/s_csinl.c (__csinl): Likewise.
38323 * math/s_csinhl.c (__csinhl): Likewise.
38324 * math/s_ctanl.c (__ctanl): Likewise.
38325 * math/s_ctanhl.c (__ctanhl): Likewise.
38326
203e5603
JM
383272012-09-25 Joseph Myers <joseph@codesourcery.com>
38328
38329 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38330 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38331 (_IO_off_t): Define to __off_t, not _G_off_t.
38332 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38333 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38334 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38335 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38336 type of __dummy and __dummy2 fields.
38337 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38338 (_G_ssize_t): Likewise.
38339 (_G_off_t): Likewise.
38340 (_G_pid_t): Likewise.
38341 (_G_uid_t): Likewise.
38342 (_G_wchar_t): Likewise.
38343 (_G_wint_t): Likewise.
38344 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38345 (_G_ssize_t): Likewise.
38346 (_G_off_t): Likewise.
38347 (_G_pid_t): Likewise.
38348 (_G_uid_t): Likewise.
38349 (_G_wchar_t): Likewise.
38350 (_G_wint_t): Likewise.
38351 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38352 (_G_ssize_t): Likewise.
38353 (_G_off_t): Likewise.
38354 (_G_pid_t): Likewise.
38355 (_G_uid_t): Likewise.
38356 (_G_wchar_t): Likewise.
38357 (_G_wint_t): Likewise.
38358
9fab36eb
SP
383592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38360
38361 * malloc/arena.c: Include malloc-sysdep.h.
38362 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38363 is sufficient to shrink the heap or an unmap is needed.
38364 * sysdeps/generic/malloc-sysdep.h: New file. Define
38365 new function check_may_shrink_heap.
38366 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38367 new function check_may_shrink_heap.
38368
2b4f00d1
SP
383692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38370
38371 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38372 comments.
38373
9a9028b1
DL
383742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38375
57c69bef
DL
38376 * catgets/test-gencat.sh: Add "set -e".
38377 * elf/tst-pathopt.sh: Likewise.
38378 * grp/tst_fgetgrent.sh: Likewise.
38379 * iconvdata/run-iconv-test.sh: Likewise.
38380 * intl/tst-gettext.sh: Likewise.
38381 * intl/tst-gettext2.sh: Likewise.
38382 * intl/tst-gettext4.sh: Likewise.
38383 * intl/tst-gettext6.sh: Likewise.
38384 * intl/tst-translit.sh: Likewise.
38385 * io/ftwtest-sh: Likewise.
38386 * libio/test-freopen.sh: Likewise.
38387 * malloc/tst-mtrace.sh: Likewise.
38388 * posix/globtest.sh: Likewise.
38389 * posix/tst-getconf.sh: Likewise.
38390 * posix/wordexp-tst.sh: Likewise.
38391 * stdio-common/tst-printf.sh: Likewise.
38392 * stdio-common/tst-unbputc.sh: Likewise.
38393 * stdlib/tst-fmtmsg.sh: Likewise.
38394 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38395 * catgets/Makefile: Do not specify -e option when running
38396 testsuite shell scripts.
38397 * elf/Makefile: Likewise.
38398 * grp/Makefile: Likewise.
38399 * iconvdata/Makefile: Likewise.
38400 * intl/Makefile: Likewise.
38401 * io/Makefile: Likewise.
38402 * libio/Makefile: Likewise.
38403 * malloc/Makefile: Likewise.
38404 * posix/Makefile: Likewise.
38405 * stdio-common/Makefile: Likewise.
38406 * stdlib/Makefile: Likewise.
38407 * sysdeps/x86_64/Makefile: Likewise.
38408
9a9028b1
DL
38409 * io/ftwtest-sh: Add copyright header.
38410 * posix/globtest.sh: Likewise.
38411 * posix/tst-getconf.sh: Likewise.
38412 * posix/wordexp-tst.sh: Likewise.
38413 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38414
ced6f16e
L
384152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38416
94b32c39
L
38417 [BZ #13679]
38418 * Makeconfig (+link): Defined as $(+link-static) if
38419 $(build-shared) isn't yes.
38420 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38421 isn't yes.
38422 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38423
189e935b
L
38424 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38425
ced6f16e
L
38426 [BZ #14562]
38427 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38428 new chunk size with MALLOC_ALIGN_MASK.
38429
a9f8e53a
JM
384302012-09-24 Joseph Myers <joseph@codesourcery.com>
38431
38432 [BZ #5044]
38433 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38434 <rounding-mode.h>.
38435 (__printf_fphex): Determine rounding using get_rounding_mode and
38436 round_away.
38437 * stdio-common/tst-printf-round.c (struct hex_test): New
38438 structure.
38439 (hex_tests): New variable.
38440 (test_hex_in_one_mode): New function.
38441 (do_test): Also run tests for hex float output.
38442
43153109
JM
384432012-09-21 Joseph Myers <joseph@codesourcery.com>
38444
38445 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38446 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38447 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38448 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38449 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38450 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38451 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38453
8a26625d
JM
384542012-09-20 Joseph Myers <joseph@codesourcery.com>
38455
38456 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38457 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38458 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38459 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38460
f3fd569c
DL
384612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38462
38463 [BZ #14579]
38464 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38465 mode only.
38466 * elf/tst-rtld-load-self.sh: New test.
38467 * elf/Makefile: Run it.
38468
63bbedd4
JM
384692012-09-18 Joseph Myers <joseph@codesourcery.com>
38470
38471 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38472 (tst-writev-ENV): Remove.
38473 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38474
626f8b6a
CM
384752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38476
38477 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38478
b7aaa4d6
JM
384792012-09-17 Joseph Myers <joseph@codesourcery.com>
38480
38481 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38482 unconditional.
38483 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38484 Likewise.
38485 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38486 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38487 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38488 Likewise.
38489
65513990
L
384902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38491
38492 [BZ #14587]
38493 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38494 * config.make.in (have-cpp-asm-debuginfo): Removed.
38495 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38496 * configure: Regenerated.
38497
784761be
JM
384982012-09-14 Joseph Myers <joseph@codesourcery.com>
38499
38500 [BZ #5044]
38501 * stdio-common/printf_fp.c: Include <stdbool.h> and
38502 <rounding-mode.h>.
38503 (___printf_fp): Determine rounding using get_rounding_mode and
38504 round_away.
38505 * stdio-common/tst-printf-round.c: New file.
38506 * stdio-common/Makefile (tests): Add tst-printf-round.
38507 (link-libm): New variable.
38508 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38509
9503345f
L
385102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38511
38512 [BZ #14576]
38513 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38514 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38515 Likewise.
38516 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38517 Likewise.
38518
ad35fc00
JM
385192012-09-13 Joseph Myers <joseph@codesourcery.com>
38520
38521 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38522 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38523 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38524 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38525
6c9b0f68
JM
385262012-09-12 Joseph Myers <joseph@codesourcery.com>
38527
38528 [BZ #14518]
38529 * include/rounding-mode.h: New file.
38530 * sysdeps/generic/get-rounding-mode.h: Likewise.
38531 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38532 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38533 (MAX_VALUE): New macro.
38534 (MIN_VALUE): Likewise.
38535 (overflow_value): New function.
38536 (underflow_value): Likewise.
38537 (round_and_return): Use overflow_value and underflow_value to
38538 determine return values in overflow and underflow cases. Use
38539 round_away to determine rounding depending on rounding mode.
38540 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38541 determine return values in overflow and underflow cases.
38542 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38543 (struct test_results): New structure.
38544 (struct test): Use struct test_results to store expected results
38545 for all rounding modes.
38546 (TEST): Include expected results for all rounding modes.
38547 (test_in_one_mode): New function.
38548 (do_test): Use test_in_one_mode to compute and check results.
38549 Check results for all rounding modes.
38550 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38551 $(link-libm).
38552
19fcedd5
AM
385532012-12-09 Allan McRae <allan@archlinux.org>
38554
1e9d84cd 38555 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38556
8bbfd2f1
JM
385572012-09-11 Joseph Myers <joseph@codesourcery.com>
38558
38559 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38560 (_G_int32_t): Likewise.
38561 (_G_uint16_t): Likewise.
38562 (_G_uint32_t): Likewise.
38563 (_G_HAVE_BOOL): Likewise.
38564 (_G_HAVE_ATEXIT): Likewise.
38565 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38566 (_G_HAVE_IO_FILE_OPEN): Likewise.
38567 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38568 (_G_int32_t): Likewise.
38569 (_G_uint16_t): Likewise.
38570 (_G_uint32_t): Likewise.
38571 (_G_HAVE_BOOL): Likewise.
38572 (_G_HAVE_ATEXIT): Likewise.
38573 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38574 (_G_HAVE_IO_FILE_OPEN): Likewise.
38575 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38576 (_G_int32_t): Likewise.
38577 (_G_uint16_t): Likewise.
38578 (_G_uint32_t): Likewise.
38579 (_G_HAVE_BOOL): Likewise.
38580 (_G_HAVE_ATEXIT): Likewise.
38581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38582 (_G_HAVE_IO_FILE_OPEN): Likewise.
38583
b1dc5912
L
385842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38585
38586 * csu/libc-tls.c: Update copyright years.
38587
0e886ef9
JM
385882012-09-10 Joseph Myers <joseph@codesourcery.com>
38589
28361c5e
JM
38590 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38591 [!_G_USING_THUNKS]: Remove conditional code.
38592 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38593 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38594
0e886ef9
JM
38595 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38596 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38597 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38598 (_G_VTABLE_LABEL_PREFIX): Likewise.
38599 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38600 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38601 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38602 (_G_VTABLE_LABEL_PREFIX): Likewise.
38603 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38604 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38605 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38606 (_G_VTABLE_LABEL_PREFIX): Likewise.
38607 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38608
bcba7aa2
L
386092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38610
38611 * libio/Makefile: Include ../Makeconfig before tests.
38612 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38613 only if $(build-shared) is yes.
38614
06585ee8
L
38615 * iconv/gconv_db.c: Update copyright years.
38616
80ccd52c
LD
386172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38618
38619 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38620 unwind info if defined PIC. Fix special cases description.
38621 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38622
38623 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38624 DP_HI_MASK entry.
38625 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38626
691bc9c1
L
386272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38628
3d9b46b3
L
38629 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38630
de2139a9
L
38631 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38632 is NULL.
38633
5ca78dd0
L
38634 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38635 (LDLIBS-tst-chk4): This.
38636 (LDFLAGS-tst-chk5): Renamed to ...
38637 (LDLIBS-tst-chk5): This.
38638 (LDFLAGS-tst-chk6): Renamed to ...
38639 (LDLIBS-tst-chk6): This.
38640 (LDFLAGS-tst-lfschk4): Renamed to ...
38641 (LDLIBS-tst-lfschk4): This.
38642 (LDFLAGS-tst-lfschk5): Renamed to ...
38643 (LDLIBS-tst-lfschk5): This.
38644 (LDFLAGS-tst-lfschk6): Renamed to ...
38645 (LDLIBS-tst-lfschk6): This.
38646
691bc9c1
L
38647 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38648 on $(common-objpfx)soversions.mk.
38649
65cafb1c
JM
386502012-09-07 Joseph Myers <joseph@codesourcery.com>
38651
38652 [BZ #10014]
38653 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38654 example host name.
38655
c78ab094
SP
386562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38657
38658 * malloc/arena.c (arena_get_retry): New function that gets
38659 another arena for the caller to try its request on.
38660 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38661 current arena cannot fulfill the request.
38662 (__libc_memalign): Likewise.
38663 (__libc_memalign): Likewise.
38664 (__libc_pvalloc): Likewise.
38665 (__libc_calloc): Likewise.
38666
01f49f59
JT
386672012-09-05 John Tobey <john.tobey@gmail.com>
38668
38669 [BZ #13542]
38670 * manual/arith.texi (Operations on Complex): Fix description
38671 of carg branch cut.
38672
4c23fed5
JM
386732012-09-06 Joseph Myers <joseph@codesourcery.com>
38674
1d3c8572
JM
38675 [BZ #10014]
38676 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38677 host name.
38678
4c23fed5
JM
38679 [BZ #10038]
38680 * manual/memory.texi (Memory): Make order of menu items match
38681 order of sections.
38682
04570aaa
L
386832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38684
38685 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38686 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38687 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38688
b80af2f4
L
386892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38690
38691 * csu/libc-tls.c (static_dtv): Renamed to ...
38692 (_dl_static_dtv): This. Make it global.
38693 (_dl_initial_dtv): Removed.
38694 (__libc_setup_tls): Updated.
38695 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38696 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38697 DL_INITIAL_DTV.
38698
2abe9f15
PM
386992012-09-06 Petr Machata <pmachata@redhat.com>
38700
38701 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38702 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38703 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38704 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38705
0948c3af
L
387062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38707
38708 [BZ #14545]
38709 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38710 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38711 freeing dtv[-1].
38712
a5055ad1
L
387132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38714
38715 [BZ #14544]
38716 * Makeconfig (link-static-before-libc): Replace $(+prector)
38717 with $(+prectorT).
38718 (link-static-after-libc): Replace $(+postctor) with
38719 $(+postctorT).
38720 (link-bounded): Replace $(+prector)/$(+postctor) with
38721 $(+prectorT)/$(+postctorT).
38722 (+prectorT): New macro.
38723 (+postctorT): Likewise.
38724
ed8c2ecd
JM
387252012-09-06 Joseph Myers <joseph@codesourcery.com>
38726
38727 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38728 (round_str): Handle values above the maximum for IBM long double
38729 as inexact.
38730 * stdlib/tst-strtod-round.c (tests): Regenerated.
38731
14c996c8
AK
387322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38733
38734 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38735 assembler flag.
38736 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38737 zarch_nohighgprs around the zarch optimized routines.
38738 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38739 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38741 for zarch.
38742
430d6ce6
DM
387432012-09-05 David S. Miller <davem@davemloft.net>
38744
38745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38746
57f41c40
AS
38747 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38748 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38749 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38750 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38751 entries.
38752
24d4e01b
AO
387532012-09-05 Alexandre Oliva <aoliva@redhat.com>
38754
38755 * malloc/arena.c: Fold copyright years.
38756 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38757
61d58174
AO
387582012-09-05 Alexandre Oliva <aoliva@redhat.com>
38759
38760 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38761
20196a5e
AO
387622012-09-05 Alexandre Oliva <aoliva@redhat.com>
38763
38764 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38765
5c447383
AO
387662012-09-05 Alexandre Oliva <aoliva@redhat.com>
38767
38768 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38769 change internal state upon failure.
38770
fad64255
AO
387712012-09-05 Alexandre Oliva <aoliva@redhat.com>
38772
38773 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38774 * malloc/memusage.c (mmap): Likewise.
38775 (mmap64, mremap): Likewise. Adjust name in comment.
38776
1ffb8c90
SP
387772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38778
38779 * libio/fileops.c: Fix typos in comments.
38780 * libio/oldfileops.c: Likewise.
38781 * libio/wfileops.c: Likewise.
38782
6ef9cc37
SP
387832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38784
38785 [BZ #1349]
38786 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38787 (tst-malloc-usable-ENV): Set environment for test case.
38788 * malloc/hooks.c (malloc_check_get_size): New function to get
38789 requested size.
38790 * malloc/malloc.c (musable): Use malloc_check_get_size.
38791 * malloc/tst-malloc-usable.c: New test case.
38792
4d038ae3
AS
387932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38794
38795 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38796
c4e85184
AM
387972012-09-05 Allan McRae <allan@archlinux.org>
38798
b9dafc56 38799 [BZ #13966]
c4e85184
AM
38800 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38801 determine header location.
38802 * configure: Regenerated.
38803
e1343020
AS
388042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38805
38806 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38807 float format.
38808 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38809 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38810 format.
e1343020
AS
38811 (test): Regenerate.
38812
0a9f1987
DM
388132012-09-04 David S. Miller <davem@davemloft.net>
38814
38815 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38816 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38817 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38818
29237804
FW
388192012-09-04 Florian Weimer <fweimer@redhat.com>
38820
38821 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38822 failures.
38823
edb3cb88
FW
38824 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38825
60160d83
JM
388262012-09-04 Joseph Myers <joseph@codesourcery.com>
38827
38828 [BZ #9914]
38829 * libio/iogetdelim.c: Include <limits.h>.
38830 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38831 + len + 1 would overflow.
38832
bcd6c8dc
AJ
388332012-09-03 Andreas Jaeger <aj@suse.de>
38834
38835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38836 * sysdeps/i386/fpu/libm-test-ulps: Update.
38837
4ffffbd2
LD
388382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38839
38840 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38841 Add s_sinf-sse2, s_conf-sse2.
38842
38843 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38844 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38845 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38846 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38847
38848 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38849 for using routine as __sinf_ia32.
38850 Use macro for function declaration and weak_alias.
38851 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38852 for using routine as __cosf_ia32.
38853 Use macro for function declaration and weak_alias.
38854
38855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38856 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38857
38858 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38859 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38861
38862 * math/libm-test.inc (cos_test): Add more test cases.
38863 (sin_test): Likewise.
38864 (sincos_test): Likewise.
38865
511fa286
AK
388662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38867
38868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38869 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38870 hidden.
38871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38872
5f30cfec
L
388732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38874
38875 [BZ #14538]
38876 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38877 first element of the GOT.
38878 (elf_machine_load_address): Return the difference between
38879 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38880
0786794f
AM
388812012-09-01 Allan McRae <allan@archlinux.org>
38882
5f30cfec
L
38883 [BZ #13412]
38884 * configure.in (AWK): Require gawk version 3.0 or later.
38885 * configure: Regenerated.
0786794f 38886
26889eac
JM
388872012-09-01 Joseph Myers <joseph@codesourcery.com>
38888
38889 * sysdeps/unix/sysv/linux/kernel-features.h
38890 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38891 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38892 [__NR_clock_getres]: Make code unconditional.
38893 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38894 (clock_getcpuclockid): Remove code left unreachable by removal of
38895 conditionals.
38896 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38897 code unconditional.
38898 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38899 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38900 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38901 Make code unconditional.
38902 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38903 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38904 * sysdeps/unix/sysv/linux/clock_settime.c
38905 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38906 conditional code.
38907 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38909
d22e28b0
L
389102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38911
38912 [BZ #14476]
38913 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38914 scripts/test-installation.pl.
38915
38916 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38917 and $ld_so_version if it is set.
38918
050af9c4
SP
389192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38920
38921 [BZ #14516]
38922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38923 failure if reading from procfs failed.
38924 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38925
ad845c0b
JM
389262012-08-27 Joseph Myers <joseph@codesourcery.com>
38927
38928 * sysdeps/unix/sysv/linux/kernel-features.h
38929 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38930 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38931 Remove conditional code.
38932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38933 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38934 Remove conditional code.
38935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38936 * sysdeps/unix/sysv/linux/i386/fxstat.c
38937 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38939 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38940 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38942 * sysdeps/unix/sysv/linux/i386/lxstat.c
38943 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38945 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38946 Remove conditional code.
38947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38948 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38949 Remove conditional code.
38950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38951 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38952 <kernel-features.h>.
38953 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38954 Remove.
38955 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38956 Remove conditional code.
38957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38958 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38959 Remove conditional.
38960
5dbf56af
MF
389612012-08-27 Mike Frysinger <vapier@gentoo.org>
38962
38963 [BZ #5400]
38964 * NEWS: Add fixed bug number.
38965
d6e70f43
JM
389662012-08-27 Joseph Myers <joseph@codesourcery.com>
38967
7efb4737
JM
38968 [BZ #14519]
38969 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38970 underflowing exponent in case of negative sign.
38971 * stdlib/tst-strtod-round-data: Add more tests.
38972 * stdlib/tst-strtod-round.c (tests): Regenerated.
38973
af92131a
JM
38974 [BZ #3479]
38975 * stdlib/strtod_l.c (NDIG): Remove.
38976 (HEXNDIG): Likewise.
38977 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38978 smallest representable value.
38979 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38980 lie within an exact representation of 1/2 ulp of the result.
38981 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38982 unconditionally.
38983 (TENS_P9_IDX): Define unconditionally.
38984 (TENS_P9_SIZE): Likewise.
38985 (TENS_P10_IDX): Likewise.
38986 (TENS_P10_SIZE): Likewise.
38987 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38988 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38989 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38990 entries for 10^2^13 and 10^2^14.
38991 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38992 (TENS_P13_IDX): Define.
38993 (TENS_P13_SIZE): Likewise.
38994 (TENS_P14_IDX): Likewise.
38995 (TENS_P14_SIZE): Likewise.
38996 (_fpioconst_pow10): Change array size to
38997 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38998 unconditional.
38999 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39000 1024]: Add entries for 10^2^13 and 10^2^14.
39001 [LAST_POW10 > _LAST_POW10]: Remove #error.
39002 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39003 (_fpioconst_pow10): Change array size to
39004 FPIOCONST_POW10_ARRAY_SIZE.
39005 * stdlib/gen-fpioconst.c: New file.
39006 * stdlib/gen-tst-strtod-round.c: Likewise.
39007 * stdlib/tst-strtod-round-data: Likewise.
39008 * stdlib/tst-strtod-round.c: Likewise.
39009 * stdlib/Makefile (tests): Add tst-strtod-round.
39010
d6e70f43
JM
39011 [BZ #14459]
39012 * stdlib/strtod_l.c: Include <stdint.h>.
39013 (NDEBUG): Do not define.
39014 (round_and_return): Change EXPONENT parameter to type intmax_t.
39015 Rearrange calculations to avoid internal overflow possibilities.
39016 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39017 Rearrange calculations to avoid internal overflow possibilities.
39018 Assert that number fits inside MPNSIZE limbs.
39019 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39020 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39021 calculations and add assertions to avoid internal overflow
39022 possibilities. Add casts to avoid signed/unsigned operations.
39023 * stdlib/tst-strtod-overflow.c: New file.
39024 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39025
1f529f7d
MP
390262012-08-25 Marek Polacek <polacek@redhat.com>
39027
39028 * time/time.h: Fix some typos in comments.
39029
59a629f1
RM
390302012-08-23 Roland McGrath <roland@hack.frob.com>
39031
39032 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39033 * posix/tst-rfc3484-2.c: Likewise.
39034 * posix/tst-rfc3484-3.c: Likewise.
39035
d3bafbc9
SM
390362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39037
39038 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39039 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39040
4efcc022
JM
390412012-08-23 Joseph Myers <joseph@codesourcery.com>
39042
39043 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39044 #include of fxstatat64.c.
39045
3cc3ef96
RM
390462012-08-22 Roland McGrath <roland@hack.frob.com>
39047
f04e2132
RM
39048 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39049 * shadow/getspent_r.c: Likewise.
39050 * shadow/getspnam.c: Likewise.
39051 * shadow/getspnam_r.c: Likewise.
39052 * gshadow/getsgent.c: Likewise.
39053 * gshadow/getsgent_r.c: Likewise.
39054 * gshadow/getsgnam.c: Likewise.
39055 * gshadow/getsgnam_r.c: Likewise.
39056 * inet/getnetbyad.c: Likewise.
39057 * inet/getnetbyad_r.c: Likewise.
39058 * inet/getnetbynm.c: Likewise.
39059 * inet/getnetbynm_r.c: Likewise.
39060 * inet/getnetent.c: Likewise.
39061 * inet/getnetent_r.c: Likewise.
39062 * inet/getproto.c: Likewise.
39063 * inet/getproto_r.c: Likewise.
39064 * inet/getprtent.c: Likewise.
39065 * inet/getprtent_r.c: Likewise.
39066 * inet/getprtname.c: Likewise.
39067 * inet/getprtname_r.c: Likewise.
39068 * inet/getrpcbyname.c: Likewise.
39069 * inet/getrpcbyname_r.c: Likewise.
39070 * inet/getrpcbynumber.c: Likewise.
39071 * inet/getrpcbynumber_r.c: Likewise.
39072 * inet/getrpcent.c: Likewise.
39073 * inet/getrpcent_r.c: Likewise.
39074 * inet/getaliasent.c: Likewise.
39075 * inet/getaliasent_r.c: Likewise.
39076 * inet/getaliasname.c: Likewise.
39077 * inet/getaliasname_r.c: Likewise.
39078 * nscd/getgrgid_r.c: Likewise.
39079 * nscd/getgrnam_r.c: Likewise.
39080 * nscd/gethstbyad_r.c: Likewise.
39081 * nscd/gethstbynm3_r.c: Likewise.
39082 * nscd/getpwnam_r.c: Likewise.
39083 * nscd/getpwuid_r.c: Likewise.
39084 * nscd/getsrvbynm_r.c: Likewise.
39085 * nscd/getsrvbypt_r.c: Likewise.
39086 * nscd/gai.c: Likewise.
39087
c53d909c
RM
39088 * configure.in (build_nscd): New substituted variable, set
39089 by --disable-build-nscd and defaults to $use_nscd.
39090 * configure: Regenerated.
39091 * config.make.in (build-nscd): New substituted variable.
39092 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39093 Change conditional to require [$(build-nscd) = yes] as well.
39094 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39095
3cc3ef96
RM
39096 [BZ# 13696]
39097 * configure.in (use_nscd): New substituted variable, set by
39098 --disable-nscd. If enabled, define USE_NSCD.
39099 * configure: Regenerated.
39100 * config.h.in: Add USE_NSCD.
39101 * config.make.in (use-nscd): New substituted variable.
39102 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39103 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39104 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39105 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39106 (CFLAGS-getgrnam_r.c): Likewise.
39107 (CFLAGS-initgroups.c): Likewise.
39108 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39109 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39110 Variables removed.
39111 * inet/getnetgrent_r.c
39112 (nscd_setnetgrent): New function, broken out of ...
39113 (setnetgrent): ... here. Call it.
39114 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39115 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39116 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39117 * nscd/Makefile (routines, aux): Move definitions after include of
39118 Makeconfig. Conditionalize on [$(use-nscd) != no].
39119 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39120 Conditionalize on [USE_NSCD].
39121 (is_nscd, nscd_init_cb): Likewise.
39122 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39123 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39124 * nss/nss_db/db-init.c: Likewise.
39125 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39126 [USE_NSCD].
39127 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39128 (make_request): Use it.
39129 (cache_valid_p): New function.
39130 (__check_pf): Use it.
39131 * NEWS: Add item for --disable-nscd.
39132
07e51550
DL
391332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39134
39135 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39136 to support sed >= 4.2.1-20-ga9bf076.
39137 * configure: Regenerated.
39138
35a5b08b
RM
391392012-08-22 Roland McGrath <roland@hack.frob.com>
39140
39141 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39142 Conditionalize whole body on [IREL].
39143
8479f23a
JL
391442012-08-22 Jeff Law <law@redhat.com>
39145
39146 [BZ #14505]
39147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39148 if the family is PF_UNSPEC.
39149
48da0b21
MF
391502012-08-22 Mike Frysinger <vapier@gentoo.org>
39151
39152 * Makerules (lib-version): Rename from V.
39153 (install-lib-nosubdir): Change V to lib-version.
39154
15d0da8c
WS
391552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39156
39157 [BZ #14252]
39158 * powerpc32/power6/wcschr.c: New file.
39159 * powerpc32/power6/wcscpy.c: New file.
39160 * powerpc32/power6/wcsrchr.c: New file.
39161 * powerpc64/power6/wcschr.c: New file.
39162 * powerpc64/power6/wcscpy.c: New file.
39163 * powerpc64/power6/wcsrchr.c: New file.
39164
bcca0895
MK
391652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39166
39167 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39168 (two_way_short_needle): Use it.
5a4aaa33
RM
39169 * string/strstr.c (AVAILABLE1_USES_J): Define.
39170 * string/strcasestr.c: Likewise.
99677e57
MK
39171
39172 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39173 array references.
39174 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39175
400726de
MK
39176 [BZ #11607]
39177 * NEWS: Add an entry.
39178 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39179 define their defaults.
39180 (two_way_short_needle): Detect end-of-string on-the-fly.
39181 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39182 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39183 * string/bug-strcasestr1.c: New test.
39184 * string/Makefile: Run it.
39185
20a71f2c
MK
391862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39187
39188 [BZ #11607]
39189 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39190 the first character.
39191
21ad0558
RM
391922012-08-21 Roland McGrath <roland@hack.frob.com>
39193
39194 * csu/elf-init.c (__libc_csu_irel): Function removed.
39195 * csu/libc-start.c (apply_irel): New function.
39196 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39197
0e1d9911
JM
391982012-08-21 Joseph Myers <joseph@codesourcery.com>
39199
39200 * sysdeps/unix/sysv/linux/kernel-features.h
39201 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39202 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39203 <kernel-features.h>.
39204 [__NR_fadvise64_64]: Make code unconditional.
39205 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39206 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39207 !__NR_fadvise64_64)]: Likewise.
39208 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39209 !__NR_fadvise64_64))]: Likewise.
39210 [__NR_fadvise64]: Make code unconditional.
39211 [!__NR_fadvise64]: Remove conditional code.
39212 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39213 <kernel-features.h>.
39214 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39215 unconditional.
39216 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39217 conditional code.
39218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39219 not include <kernel-features.h>.
39220 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39221 unconditional.
39222 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39223 conditional code.
39224 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39225 include <kernel-features.h>.
39226 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39227 unconditional.
39228 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39229 conditional code.
39230
14a50c9d
WS
392312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39232
39233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39234 slight instruction rearrangements per scrollpipe analysis.
39235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39236
c0f4faf0
RM
392372012-08-20 Roland McGrath <roland@hack.frob.com>
39238
696da859
RM
39239 * manual/syslog.texi (syslog; vsyslog, closelog):
39240 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39241 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39242
c0f4faf0
RM
39243 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39244 DSOCAPS to match condition on defining it.
39245
348363b2
JM
392462012-08-20 Joseph Myers <joseph@codesourcery.com>
39247
a35cbf28
JM
39248 * sysdeps/unix/sysv/linux/kernel-features.h
39249 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39251 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39252 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39254 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39255 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39257 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39258 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39259
445f7ecd
JM
39260 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39261 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39262
348363b2
JM
39263 * sysdeps/unix/sysv/linux/kernel-features.h
39264 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39265 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39266 unconditional.
39267 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39268 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39269 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39270 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39271 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39272 Make code unconditional.
39273 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39274 (__mmap64) [!__NR_mmap2]: Likewise.
39275 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39276 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39277 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39278 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39279 [__NR_mmap2]: Make code unconditional.
39280 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39281 (__mmap64) [!__NR_mmap2]: Likewise.
39282
bc5bc0e5
AK
392832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39284
39285 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39286
88d506de
AJ
392872012-08-18 Andreas Jaeger <aj@suse.de>
39288
39289 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39290
493387d2
MF
392912012-08-18 Mike Frysinger <vapier@gentoo.org>
39292
39293 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39294 * include/unistd.h (__have_sock_cloexec): Likewise.
39295 (__have_pipe2): Likewise.
39296 (__have_dup3): Likewise.
39297
a277af22
MF
392982012-08-18 Mike Frysinger <vapier@gentoo.org>
39299
39300 [BZ #9685]
39301 * include/unistd.h (__have_pipe2): Change define into an extern int.
39302 (__have_dup3): Likewise.
39303 * socket/have_sock_cloexec.c: Include fcntl.h.
39304 (__have_pipe2): New variable.
39305 (__have_dup3): Likewise.
39306
fdab8fd3
MF
393072012-08-17 Mike Frysinger <vapier@gentoo.org>
39308
39309 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39310
31035e80
MP
393112012-08-17 Marek Polacek <polacek@redhat.com>
39312
39313 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39314 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39315
3bd9e993
RM
393162012-08-17 Roland McGrath <roland@hack.frob.com>
39317
c91c505f
RM
39318 * configure.in: Add AC_SUBST for sysheaders.
39319 * configure: Regenerated.
39320 * config.make.in (sysheaders): New substituted variable.
39321
7c6f9d53
RM
39322 * sysdeps/unix/mkfifo.c: Moved ...
39323 * sysdeps/posix/mkfifo.c: ... here.
39324 * sysdeps/unix/mkfifoat.c: Moved ...
39325 * sysdeps/posix/mkfifoat.c: ... here.
39326
39327 * sysdeps/unix/utime.c: Moved ...
39328 * sysdeps/posix/utime.c: ... here.
39329
39330 * sysdeps/unix/time.c: Moved ...
39331 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39332 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39333 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39334
39335 * sysdeps/unix/nice.c: Moved ...
39336 * sysdeps/posix/nice.c: ... here.
39337
39338 * sysdeps/unix/alarm.c: Moved ...
39339 * sysdeps/posix/alarm.c: ... here.
39340
3bd9e993
RM
39341 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39342
d1f09384
JL
393432012-08-17 Jeff Law <law@redhat.com>
39344
39345 * intl/Makefile (codeset_mo): New variable.
39346 ($(codeset_mo)): New target.
39347 (tst-codeset.out): Depend on that. Remove explicit rule.
39348 (tst-gettext3.out, tst-gettext5.out): Likewise.
39349 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39350 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39351 * intl/tst-codeset.sh: Remove.
39352 * intl/tst-gettext3.sh: Likewise.
39353 * intl/tst-gettext5.sh: Likewise.
39354
2ae1ae5c
RM
393552012-08-17 Roland McGrath <roland@hack.frob.com>
39356
c31fdb83
RM
39357 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39358 * sysdeps/unix/syscalls.list: ... here.
39359
a0844057
RM
39360 * sysdeps/posix/getaddrinfo.c
39361 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39362 (gaiconf_init, gaiconf_reload): Use them.
39363 [!_STATBUF_ST_NSEC]
39364 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39365 Define using time_t rather than struct timespec.
39366
750c1f2a
RM
39367 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39368 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39369 Macros removed.
39370 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39371 [!NO_THREADS].
39372 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39373 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39374 Likewise.
39375
2ae1ae5c
RM
39376 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39377 __libc_cleanup_push argument.
39378
e66a42f5
RM
39379 * bits/param.h: New file.
39380 * misc/sys/param.h: New file.
39381 * include/sys/param.h: New file.
39382 * misc/Makefile (headers): Add bits/param.h.
39383 * sysdeps/generic/sys/param.h: File removed.
39384 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39385 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39386 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39387 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39388
b7c08a66
RM
39389 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39390 last change.
39391
b2e1c562
RM
39392 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39393 [_IO_MTSAFE_IO].
39394 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39395 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39396 New macros.
39397
c75ccd4c
RM
39398 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39399 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39400 rather than -D_IO_MTSAFE_IO conditionally.
39401 * stdio-common/Makefile (CPPFLAGS): Likewise.
39402 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39403 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39404 Use $(libio-mtsafe).
39405 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39406 of -D_IO_MTSAFE_IO.
39407 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39408 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39409 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39410 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39411 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39412 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39413 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39414 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39415 (CFLAGS-fread_u_chk.c): Likewise.
39416 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39417 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39418 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39419 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39420 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39421 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39422 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39423 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39424 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39425
39426 * libio/Makefile: Test [$(libc-reentrant) = yes]
39427 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39428
39429 * Makeconfig
39430 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39431 * sysdeps/pthread/configure: File removed.
39432 * sysdeps/pthread/Makeconfig: New file.
39433 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39434 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39435
d9195db8
GB
394362012-08-16 Gary Benson <gbenson@redhat.com>
39437
39438 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39439 unmapping the first object in a namespace.
39440
86466cd9
RM
394412012-08-16 Roland McGrath <roland@hack.frob.com>
39442
39443 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39444 (__internal_setnetgrent): ... this. Add internal_function to
39445 definition. Add libc_hidden_def.
39446 (setnetgrent): Update caller.
39447 (internal_endnetgrent): Renamed to ...
39448 (__internal_endnetgrent): ... this. Add internal_function to
39449 definition. Add libc_hidden_def.
39450 (endnetgrent): Update caller.
39451 (internal_getnetgrent_r): Renamed to ...
39452 (__internal_getnetgrent_r): ... this. Add internal_function to
39453 definition. Add libc_hidden_def.
39454 (__getnetgrent_r): Update caller.
39455 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39456
c3c8283c
JM
394572012-08-16 Joseph Myers <joseph@codesourcery.com>
39458
39459 * stdlib/longlong.h: Update from GCC.
39460
db1ee0a8
RM
394612012-08-16 Roland McGrath <roland@hack.frob.com>
39462
39463 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39464 on _QL, which is set by umul_ppmm but never used.
39465 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39466 variables, which are set by GMP macros but never used.
39467 * stdio-common/_itowa.c (_itowa): Likewise.
39468 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39469 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39470
30f69637
CD
394712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39472
39473 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39474 struct La_sh_regs is not constant.
39475 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39476 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39477 and struct La_sparc64_regs are not constant.
39478
93a78ac4
JM
394792012-08-16 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/unix/sysv/linux/kernel-features.h
39482 (__ASSUME_POSIX_TIMERS): Remove.
39483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39485 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39486 Make code unconditional.
39487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39488 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39489 Make code unconditional.
39490 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39491 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39492 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39494 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39495 Make code unconditional.
39496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39497 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39498 (__libc_missing_posix_timers): Remove.
39499
dd924cd7
RM
395002012-08-15 Roland McGrath <roland@hack.frob.com>
39501
4b4f2771
RM
39502 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39503 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39504
601c888b
RM
39505 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39506
176790a7
RM
39507 * elf/dl-sym.c: Include <stdlib.h>.
39508
329bc018
RM
39509 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39510 constants, which avoids warnings in 32-bit builds.
39511
e04e272d
RM
39512 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39513 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39514
952bf94a
RM
39515 * misc/lseek.c: File moved to ...
39516 * io/lseek.c: ... here.
39517
7c99b50a
RM
39518 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39519
dd924cd7
RM
39520 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39521 shifting LEN more than 31 bits at once.
39522
b3f479a8
LD
395232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39524
39525 [BZ #14195]
8c4ae0d4
RM
39526 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39527 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39528 * string/test-strncasecmp.c (check1): Renamed to...
39529 (bz12205): ...this.
39530 (bz14195): Add new testcase for two empty input strings and N > 0.
39531 (test_main): Call new testcase, adapt for renamed function.
39532
9c55864e
AJ
395332012-08-15 Andreas Jaeger <aj@suse.de>
39534
39535 [BZ #14090]
39536 * crypt/md5test2.c: New test, based on test supplied by Serge
39537 Belyshev <belyshev@depni.sinp.msu.ru>.
39538 * crypt/Makefile (xtests): Add md5test-giant..
39539 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39540
02dcb6c5
PE
395412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39542
39543 [BZ #14090]
39544 * crypt/md5.c (md5_process_block): Don't assume the buffer
39545 length is less than 2**32.
39546 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39547 length is less than 2**64.
39548
a3f95dcc
RM
395492012-08-15 Roland McGrath <roland@hack.frob.com>
39550
be75d758
RM
39551 * string/str-two-way.h: Include <sys/param.h>.
39552 (MAX): Macro removed.
39553
7312ca90
RM
39554 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39555 Move #define and #undef of memmove to just before and after
39556 including <string.h>.
39557
9a0a5486
RM
39558 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39559 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39560 and after including <string.h>. Move declarations of
39561 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39562 to before #include "string/memmove.c".
39563
67cc348d
RM
39564 * include/dirent.h: Declare __getdirentries.
39565
a3f95dcc
RM
39566 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39567 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39568
ca98e171
MF
395692012-08-14 Mike Frysinger <vapier@gentoo.org>
39570
39571 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39572 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39573 * sysdeps/i386/configure: Regenerated.
39574 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39575 STABS_CURRENT_FILE, and STABS_FUN.
39576 (END): Remove call to STABS_FUN_END.
39577 (STABS_CURRENT_FILE1): Delete.
39578 (STABS_CURRENT_FILE): Likewise.
39579 (STABS_FUN): Likewise.
39580 (STABS_FUN_END): Likewise.
39581 (STABS_FUN2): Likewise.
39582 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39583 * sysdeps/x86_64/configure: Regenerated.
39584
5908bf46
RM
395852012-08-14 Roland McGrath <roland@hack.frob.com>
39586
39587 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39588 * elf/dl-lookup.c: Likewise.
5908bf46 39589
f2c05b9e
JM
395902012-08-14 Joseph Myers <joseph@codesourcery.com>
39591
39592 * sysdeps/unix/sysv/linux/kernel-features.h
39593 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39594 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39595 unconditionally.
39596 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39597 unconditionally.
39598 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39599 condition on __ASSUME_CLONE_THREAD_FLAGS.
39600
e11f5155
AJ
396012012-08-14 Andreas Jaeger <aj@suse.de>
39602
39603 * sysdeps/i386/fpu/libm-test-ulps: Update.
39604
51a9ba86
MK
396052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39606
2fdd4f78
AJ
39607 * include/atomic.h (atomic_exchange_and_add): Split into ...
39608 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39609 New atomic macros.
51a9ba86 39610
ba6cba9e
MT
396112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39612
39613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39614
42443a47
JL
396152012-08-13 Jeff Law <law@redhat.com>
39616
39617 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39618 null byte in the output string.
39619
121dce05
JM
396202012-08-10 Joseph Myers <joseph@codesourcery.com>
39621
39622 * sysdeps/unix/sysv/linux/kernel-features.h
39623 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39624 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39625 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39626 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39627 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39628 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39629 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39630
bf51f568
JL
396312012-08-09 Jeff Law <law@redhat.com>
39632
39633 [BZ #13939]
39634 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39635 When avoid_arena is set, don't retry in the that arena. Pick the
39636 next one, whatever it might be.
39637 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39638 (arena_lock): Pass in new parameter to arena_get2.
39639 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39640 arena_get2.
39641 (__libc_malloc): Unify retrying after main arena failure with
39642 __libc_memalign version.
39643 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39644
f85fa270
L
396452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39646
39647 [BZ #14166]
39648 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39649 to __redirect_strstr.
39650 (__strstr_sse42): Use typeof __redirect_strstr.
39651 (__strstr_ia32): Likewise.
39652 (__libc_strstr): New prototype.
39653 (strstr): Renamed to ...
39654 (__libc_strstr): This.
39655 (strstr): New strong alias of __libc_strstr.
39656 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39657 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39658 __redirect_time.
39659 Include <time.h>.
39660 (__libc_time): New prototype.
39661 (time_ifunc): Replace time with __libc_time.
39662 (time): New strong alias and hidden definition of __libc_time.
39663 (__GI_time): Remove strong alias.
39664 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39665 Include <stddef.h>.
39666 (memmove): Redefined to __redirect_memmove.
39667 (__memmove_sse2): Use typeof __redirect_memmove.
39668 (__memmove_ssse3): Likewise.
39669 (__memmove_ssse3_back): Likewise.
39670 (__libc_memmove): New prototype.
39671 (memmove): Renamed to ...
39672 (__libc_memmove): This.
39673 (memmove): New strong alias of __libc_memmove.
39674
33b4a91e
MS
396752012-08-08 Mark Salter <msalter@redhat.com>
39676
39677 * elf/elf.h
39678 (R_MN10300_TLS_GD): Define.
39679 (R_MN10300_TLS_LD): Likewise.
39680 (R_MN10300_TLS_LDO): Likewise.
39681 (R_MN10300_TLS_GOTIE): Likewise.
39682 (R_MN10300_TLS_IE): Likewise.
39683 (R_MN10300_TLS_LE): Likewise.
39684 (R_MN10300_TLS_DTPMOD): Likewise.
39685 (R_MN10300_TLS_DTPOFF): Likewise.
39686 (R_MN10300_TLS_TPOFF): Likewise.
39687 (R_MN10300_SYM_DIFF): Likewise.
39688 (R_MN10300_ALIGN): Likewise.
39689 (R_MN10300_NUM): Update.
39690
b36137f1
JM
396912012-08-08 Joseph Myers <joseph@codesourcery.com>
39692
39693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39694 Remove.
39695
cdd915fd
RM
396962012-08-08 Roland McGrath <roland@hack.frob.com>
39697
a2433aac
RM
39698 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39699
cdd915fd
RM
39700 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39701 sysdeps/unix -> sysdeps/posix move.
39702 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39703
bf9b740a
AM
397042012-08-07 Allan McRae <allan@archlinux.org>
39705
39706 [BZ #14303]
39707 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39708 (SUNOS_CPP): Likewise.
39709 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39710 not found.
39711 (open_input): Call CPP using execvp.
39712
93df14ee
JM
397132012-08-07 Joseph Myers <joseph@codesourcery.com>
39714
39715 * sysdeps/unix/sysv/linux/kernel-features.h
39716 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39717 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39718 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39719 (__ASSUME_WAITID_SYSCALL): Likewise.
39720 * sysdeps/unix/sysv/linux/dl-execstack.c
39721 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39722 code unconditional.
39723 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39724 conditional code.
39725 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39726 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39727 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39728 code.
39729 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39730 unconditional.
39731 [__ASSUME_WAITID_SYSCALL]: Likewise.
39732 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39733
d34689de
RM
397342012-08-07 Roland McGrath <roland@hack.frob.com>
39735
a281decc
RM
39736 * sysdeps/unix/closedir.c: Renamed to ...
39737 * sysdeps/posix/closedir.c: ... here.
39738 * sysdeps/unix/dirfd.c: Renamed to ...
39739 * sysdeps/posix/dirfd.c: ... here.
39740 * sysdeps/unix/dirstream.h: Renamed to ...
39741 * sysdeps/posix/dirstream.h: ... here.
39742 * sysdeps/unix/fdopendir.c: Renamed to ...
39743 * sysdeps/posix/fdopendir.c: ... here.
39744 * sysdeps/unix/opendir.c: Renamed to ...
39745 * sysdeps/posix/opendir.c: ... here.
39746 * sysdeps/unix/readdir.c: Renamed to ...
39747 * sysdeps/posix/readdir.c: ... here.
39748 * sysdeps/unix/readdir_r.c: Renamed to ...
39749 * sysdeps/posix/readdir_r.c: ... here.
39750 * sysdeps/unix/rewinddir.c: Renamed to ...
39751 * sysdeps/posix/rewinddir.c: ... here.
39752 * sysdeps/unix/seekdir.c: Renamed to ...
39753 * sysdeps/posix/seekdir.c: ... here.
39754 * sysdeps/unix/telldir.c: Renamed to ...
39755 * sysdeps/posix/telldir.c: ... here.
39756 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39757 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39758 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39759 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39760
22895b47
RM
39761 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39762 * bits/fcntl.h: ... here.
39763
707a53b6
RM
39764 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39765 not 0.
39766 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39767 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39768 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39769 (struct flock): Move l_start, l_len to the beginning.
39770 Use __pid_t for l_pid.
39771 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39772 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39773 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39774 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39775 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39776 [__USE_LARGEFILE64] (struct flock64): New type.
39777 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39778
f0bd3e25
RM
39779 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39780 * bits/dirent.h: ... here.
39781
d34689de
RM
39782 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39783 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39784
6dad2c06
JM
397852012-08-07 Joseph Myers <joseph@codesourcery.com>
39786
39787 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39788 Change from 2.6.0 to 2.6.16.
39789 * sysdeps/unix/sysv/linux/configure: Regenerated.
39790 * sysdeps/unix/sysv/linux/kernel-features.h
39791 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39792 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39793 version.
39794 (__ASSUME_UTIMES): Likewise.
39795 (__ASSUME_CLONE_STOPPED): Remove.
39796 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39797 architectures, not kernel version.
39798 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39799 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39800 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39801 (__ASSUME_WAITID_SYSCALL): Likewise.
39802 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39803 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39804 * README: State 2.6.16 as minimum Linux kernel version. Do not
39805 refer to older versions.
39806
03af9520
RM
398072012-08-06 Roland McGrath <roland@hack.frob.com>
39808
8e49df1d
RM
39809 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39810 Define alphasort64 as an alias.
39811 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39812 Define versionsort64 as an alias.
39813 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39814 Define scandir64 as an alias.
39815 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39816 Define scandirat64 as an alias.
39817 * dirent/alphasort64.c (alphasort64):
39818 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39819 * dirent/versionsort64.c: Likewise.
39820 * dirent/scandir64.c: Likewise.
39821 * dirent/scandirat64.c: Likewise.
39822 * sysdeps/wordsize-64/alphasort.c: File removed.
39823 * sysdeps/wordsize-64/alphasort64.c: File removed.
39824 * sysdeps/wordsize-64/scandir.c: File removed.
39825 * sysdeps/wordsize-64/scandir64.c: File removed.
39826 * sysdeps/wordsize-64/scandirat.c: File removed.
39827 * sysdeps/wordsize-64/scandirat64.c: File removed.
39828 * sysdeps/wordsize-64/versionsort.c: File removed.
39829 * sysdeps/wordsize-64/versionsort64.c: File removed.
39830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39831 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39838
39839 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39841 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39843 [defined __arch64__ || defined __sparcv9]
39844 (__INO_T_MATCHES_INO64_T): New macro.
39845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39846 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39847 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39848 * sysdeps/unix/sysv/linux/bits/dirent.h
39849 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39850 (_DIRENT_MATCHES_DIRENT64): New macro.
39851
03af9520
RM
39852 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39853 Define lockf64 as an alias.
39854 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39855 Define fseeko64 as an alias.
39856 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39857 Define ftello64 as an alias.
39858 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39859 Define _IO_fgetpos64 and fgetpos64 as aliases.
39860 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39861 Define _IO_fsetpos64 and fsetpos64 as aliases.
39862 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39863 Conditionalize body on this.
39864 * libio/fseeko64.c: Likewise.
39865 * libio/ftello64.c: Likewise.
39866 * libio/iofgetpos64.c: Likewise.
39867 * libio/iofsetpos64.c: Likewise.
39868 * sysdeps/wordsize-64/lockf.c: File removed.
39869 * sysdeps/wordsize-64/lockf64.c: File removed.
39870 * sysdeps/wordsize-64/fseeko.c: File removed.
39871 * sysdeps/wordsize-64/fseeko64.c: File removed.
39872 * sysdeps/wordsize-64/ftello.c: File removed.
39873 * sysdeps/wordsize-64/ftello64.c: File removed.
39874 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39875 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39876 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39877 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39879 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39881 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39883 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39885 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39888
39889 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39891 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39893 [defined __arch64__ || defined __sparcv9]
39894 (__OFF_T_MATCHES_OFF64_T): New macro.
39895 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39896 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39898 (__OFF_T_MATCHES_OFF64_T): New macro.
39899
c5757acd
L
399002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39901
39902 * stdlib/secure-getenv.c (__secure_getenv): Replace
39903 GLIBC_2_16 with GLIBC_2_17.
39904
3a31811e
L
399052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39906
39907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39908 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39909
faa2bccb
DM
399102012-08-03 David S. Miller <davem@davemloft.net>
39911
39912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39913
85fe1997
JM
399142012-08-03 Joseph Myers <joseph@codesourcery.com>
39915
39916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39917 Remove.
39918 (__ASSUME_CORRECT_SI_PID): Likewise.
39919 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39920 (__ASSUME_TMPFS_NAME): Likewise.
39921 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39922 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39923 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39924 (HAVE_AUX_SECURE): Make definition unconditional.
39925 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39926 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39927
4f75b7a0
RM
399282012-08-03 Roland McGrath <roland@hack.frob.com>
39929
39930 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39931 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39932 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39933 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39934 __eloop_threshold instead of SYMLOOP_MAX.
39935
39936 * sysdeps/generic/eloop-threshold.h: New file.
39937 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39938 of MAXSYMLINKS.
39939 * elf/chroot_canon.c (chroot_canon): Likewise.
39940
7aab07e4
JM
399412012-08-03 Joseph Myers <joseph@codesourcery.com>
39942
39943 [BZ #13717]
39944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39945 Change to 2.6.0 everywhere.
39946 * sysdeps/unix/sysv/linux/configure: Regenerated.
39947 * sysdeps/unix/sysv/linux/kernel-features.h
39948 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39949 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39950 kernel versions.
39951 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39952 (__ASSUME_FUTEX_REQUEUE): Remove.
39953 (__ASSUME_STATFS64): Define unconditionally.
39954 (__ASSUME_AT_SECURE): Likewise.
39955 (__ASSUME_CORRECT_SI_PID): Likewise.
39956 (__ASSUME_TGKILL): Define without depending on kernel version for
39957 i386.
39958 (__ASSUME_UTIMES): Likewise.
39959 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39960 kernel version.
39961 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39962 (__ASSUME_TMPFS_NAME): Likewise.
39963 * README: Update reference to Linux kernel versions.
39964
b67e9372
MP
399652012-08-02 Marek Polacek <polacek@redhat.com>
39966
1f529f7d 39967 [BZ# 14150]
b67e9372
MP
39968 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39969 libc_cv_asm_type_prefix with %.
39970 * configure: Regenerated.
d2441631
RM
39971 * include/libc-symbols.h: Remove comment about
39972 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39973 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39974 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39975 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39976 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39977 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39978 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39979 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39980 * elf/tst-unique2mod1.c: Likewise.
39981 * elf/tst-unique1mod2.c: Likewise.
39982 * elf/tst-unique1mod1.c: Likewise.
39983 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39984 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39985 Replace ASM_TYPE_DIRECTIVE with .type.
39986 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39987 * sysdeps/i386/sysdep.h: Likewise.
39988 * sysdeps/x86_64/sysdep.h: Likewise.
39989 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39991 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39992 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39993 * sysdeps/powerpc/powerpc32/sysdep.h:
39994 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39995 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39996 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39997 * sysdeps/i386/fpu/e_powf.S: Likewise.
39998 * sysdeps/i386/fpu/e_expl.S: Likewise.
39999 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40001 * sysdeps/i386/fpu/e_pow.S: Likewise.
40002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40006 * sysdeps/i386/fpu/e_log2.S: Likewise.
40007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40009 * sysdeps/i386/fpu/e_powl.S: Likewise.
40010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40011 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40012 * sysdeps/i386/fpu/e_logl.S: Likewise.
40013 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40014 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40015 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40016 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40017 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40018 * sysdeps/i386/fpu/e_log.S: Likewise.
40019 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40020 * sysdeps/i386/fpu/e_logf.S: Likewise.
40021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40023 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40024 * sysdeps/i386/fpu/e_log10.S: Likewise.
40025 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40026 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40027 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40028 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40029 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40030 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40031 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40032 * sysdeps/i386/i686/strtok.S: Likewise.
40033 * sysdeps/i386/i386-mcount.S: Likewise.
40034 * sysdeps/i386/strtok.S: Likewise.
40035 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40036 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40037 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40038 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40039 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40040 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40041 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40042 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40043 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40044 * sysdeps/x86_64/_mcount.S: Likewise.
40045 * sysdeps/x86_64/strtok.S: Likewise.
40046 * sysdeps/sh/_mcount.S: Likewise.
40047
2747bf9a
RM
400482012-08-01 Roland McGrath <roland@hack.frob.com>
40049
40050 * libio/iofopen.c: Include <fcntl.h>.
40051 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40052 (_IO_fopen64, fopen64): Define as aliases.
40053 * libio/iofopen64.c: Include <fcntl.h>.
40054 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40055 Conditionalize body on this.
40056 * sysdeps/wordsize-64/iofopen.c: File removed.
40057 * sysdeps/wordsize-64/iofopen64.c: File removed.
40058
3fb791b8
MP
400592012-08-01 Marek Polacek <polacek@redhat.com>
40060
40061 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40062 Use dlfcn directly instead of a variable.
40063 (binfmt-subdir): Do not define.
40064 (dlfcn): Likewise.
40065
a9f1039f
JM
400662012-08-01 Joseph Myers <joseph@codesourcery.com>
40067
23bddc06
JM
40068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40069 Remove all definitions.
40070 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40071 <kernel-features.h>.
40072 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40073 (miss_F_GETOWN_EX): Remove all definitions.
40074 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40075 macro definition.
40076 [!__ASSUME_FCNTL64]: Remove conditional code.
40077 [__ASSUME_FCNTL64]: Make code unconditional.
40078 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40079 <kernel-features.h>.
40080 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40081 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40082 (lockf64) [__NR_fcntl64]: Make code unconditional.
40083 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40084
a9f1039f
JM
40085 * sysdeps/unix/sysv/linux/kernel-features.h
40086 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40087 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40088 Make code unconditional.
40089 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40090 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40092 [__NR_vfork]: Make code unconditional.
40093 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40094 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40096 [__NR_vfork]: Make code unconditional.
40097 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40098 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40099
09c0ee5f
RM
401002012-08-01 Roland McGrath <roland@hack.frob.com>
40101
48aec5b9
RM
40102 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40103 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40104
cd97c966
RM
40105 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40106 Define mkstemp64 as an alias.
3f55550c
RM
40107 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40108 Define mkstemps64 as an alias.
cd97c966
RM
40109 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40110 Define mkostemp64 as an alias.
b8625cfc
RM
40111 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40112 Define mkostemps64 as an alias.
cd97c966
RM
40113 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40114 Conditionalize body on this.
40115 * misc/mkostemp64.c: Likewise.
b8625cfc 40116 * misc/mkostemps64.c: Likewise.
3f55550c 40117 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40118 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40119 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40120 * sysdeps/wordsize-64/mkostemp.c: File removed.
40121 * sysdeps/wordsize-64/mkstemp.c: File removed.
40122 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40126
09c0ee5f
RM
40127 [BZ #14138]
40128 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40129 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40130 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40131 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40132
40133 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40134 compat_symbol macros from <shlib-compat.h> rather than the underlying
40135 default_symbol_version and symbol_version macros, so that DEFAULT
40136 lines in shlib-versions are respected.
40137 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40138
7e66ee51
FW
401392012-08-01 Florian Weimer <fweimer@redhat.com>
40140
40141 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40142 Declare with warn_unused_result.
40143 (setgid, setregid, setegid, setresgid): Likewise.
40144 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40145 Likewise.
40146 * WUR-REPORT: Remove set*id functions.
40147
d2a54255
PT
401482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40149
40150 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40151
7ecdb005
RM
401522012-07-31 Roland McGrath <roland@hack.frob.com>
40153
b4180a5e 40154 [BZ #10191]
789bd351
RM
40155 * include/sys/socket.h (__libc_accept, __libc_accept4):
40156 Add attribute_hidden.
40157 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40158
40ce302d
RM
40159 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40160 use of PTR_MANGLE.
40161 * inet/getnetgrent_r.c (setup): Likewise.
40162
7ecdb005
RM
40163 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40164
e2eabb2c
DM
401652012-07-31 David S. Miller <davem@davemloft.net>
40166
40167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40168
d0419dbf
JM
401692012-07-31 Joseph Myers <joseph@codesourcery.com>
40170
40171 [BZ #13629]
40172 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40173 value between 1.0 and 2.0 and smaller part has absolute value less
40174 than 1.0.
40175 * math/s_clog10.c (__clog10): Likewise.
40176 * math/s_clog10f.c (__clog10f): Likewise.
40177 * math/s_clog10l.c (__clog10l): Likewise.
40178 * math/s_clogf.c (__clogf): Likewise.
40179 * math/s_clogl.c (__clogl): Likewise.
40180 * math/libm-test.inc (clog_test): Add more tests.
40181 (clog10_test): Likewise.
40182 * sysdeps/i386/fpu/libm-test-ulps: Update.
40183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40184
2bc13872
FW
401852012-07-31 Florian Weimer <fweimer@redhat.com>
40186
40187 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40188 Exit with zero in case no suitable GID is found, and write a
40189 message to standard error.
40190
bea9b193
RM
401912012-07-30 Roland McGrath <roland@hack.frob.com>
40192
40193 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40194 rather than to 1.
40195 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40196 (MAXPATHLEN): Removed.
40197 (NOGROUP, NODEV): New macros.
40198 (setbit, clrbit, isset, isclr): New macros.
40199 (howmany, roundup, powerof2): New macros.
40200 (DEV_BSIZE): New macro.
40201
40202 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40203 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40204
40205 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40206 definition on [!__NO_LONG_DOUBLE_MATH].
40207
40208 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40209 PTR_MANGLE and PTR_DEMANGLE.
40210
40211 * socket/accept4.c (accept4): Rename to __libc_accept4.
40212 Define accept4 as a weak alias.
40213
40214 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40215 on [_DIRENT_HAVE_D_TYPE].
40216 * io/ftw.c (ftw_dir): Likewise.
40217
40218 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40219
40220 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40221
40222 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40223 Use the BSD numbers rather than the arbitrary ones we had.
40224 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40225 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40226 (SIGXCPU, SIGXFSZ): New macros.
40227 (_NSIG): Now 32.
40228
40229 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40230 initializer on [_LIBC_REENTRANT].
40231
40232 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40233 definitions inside [_POSIX_MAPPED_FILES].
40234
40235 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40236
40237 * dirent/opendir.c: Include <fcntl.h>.
40238
40239 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40240 (__libc_getspecific): Likewise.
40241 (__libc_key_create): Likewise.
40242
40243 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40244 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40245 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40246 (tmpfile64): Define as alias.
40247 * sysdeps/wordsize-64/tmpfile.c: File removed.
40248 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40250 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40251
40252 * stdio-common/vfscanf.c: Include <stdbool.h>.
40253 * nss/makedb.c: Likewise.
40254 * stdio-common/_i18n_number.h: Likewise.
40255 * argp/argp-help.c: Likewise.
40256 * posix/wordexp.c: Likewise.
40257 * sysdeps/posix/spawni.c: Likewise.
40258 * nss/nss_files/files-initgroups.c: Likewise.
40259 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40260 * nss/nss_files/files-initgroups.c: Likewise.
40261 * nss/nss_db/db-netgrp.c: Likewise.
40262 * nss/nss_db/db-initgroups.c: Likewise.
40263 * io/fchmodat.c: Include <sys/stat.h>.
40264
40265 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40266 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40267
40268 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40269 [HAVE_MMAP].
40270
40271 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40272 Add multiple inclusion protection.
40273
e5abc686
DM
402742012-07-27 David S. Miller <davem@davemloft.net>
40275
40276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40277
815e6fa3
GB
402782012-07-27 Gary Benson <gbenson@redhat.com>
40279
40280 [BZ #14298]
40281 * elf/rtld.c: Include <stap-probe.h>.
40282 (dl_main): Added static probes "init_start" and "init_complete".
40283 * elf/dl-load.c: Include <stap-probe.h>.
40284 (lose): Take new parameter "nsid".
40285 Added static probe "map_failed".
40286 (_dl_map_object_from_fd): Pass namespace id to lose.
40287 Added static probe "map_start".
40288 (open_verify): Pass namespace id to lose.
40289 * elf/dl-open.c: Include <stap-probe.h>.
40290 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40291 and "reloc_complete".
40292 * elf/dl-close.c: Include <stap-probe.h>.
40293 (_dl_close_worker): Added static probes "unmap_start" and
40294 "unmap_complete".
40295 * elf/rtld-debugger-interface.txt: New file documenting the above.
40296
9f98c16c
RM
402972012-07-26 Roland McGrath <roland@hack.frob.com>
40298
40299 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40300 rather than a string variable.
40301 * sunrpc/rpc_main.c (h_output): Likewise.
40302 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40303
f3c22df3
PT
403042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40305
40306 * inet/check_native.c: New file.
40307
3129cfc6
JM
403082012-07-26 Joseph Myers <joseph@codesourcery.com>
40309
da865e95
JM
40310 [BZ #13629]
40311 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40312 if larger part has absolute value 1.0.
40313 * math/s_clog10.c (__clog10): Likewise.
40314 * math/s_clog10f.c (__clog10f): Likewise.
40315 * math/s_clog10l.c (__clog10l): Likewise.
40316 * math/s_clogf.c (__clogf): Likewise.
40317 * math/s_clogl.c (__clogl): Likewise.
40318 * math/libm-test.inc (clog_test): Add more tests.
40319 (clog10_test): Likewise.
40320 * sysdeps/i386/fpu/libm-test-ulps: Update.
40321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40322
3129cfc6
JM
40323 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40324 (pltexit): Likewise.
40325 (La_regs): Likewise.
40326 (La_retval): Likewise.
40327 (int_retval): Likewise.
40328 Update #error for removed macros to refer only to definitions in
40329 tst-audit.h.
40330 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40331 macro.
40332 (pltexit): Likewise.
40333 (La_regs): Likewise.
40334 (La_retval): Likewise.
40335 (int_retval): Likewise.
40336 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40337 macro.
40338 (pltexit): Likewise.
40339 (La_regs): Likewise.
40340 (La_retval): Likewise.
40341 (int_retval): Likewise.
40342 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40343 macro.
40344 (pltexit): Likewise.
40345 (La_regs): Likewise.
40346 (La_retval): Likewise.
40347 (int_retval): Likewise.
40348 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40349 macro.
40350 (pltexit): Likewise.
40351 (La_regs): Likewise.
40352 (La_retval): Likewise.
40353 (int_retval): Likewise.
40354 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40355 macro.
40356 (pltexit): Likewise.
40357 (La_regs): Likewise.
40358 (La_retval): Likewise.
40359 (int_retval): Likewise.
40360 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40361 macro.
40362 (pltexit): Likewise.
40363 (La_regs): Likewise.
40364 (La_retval): Likewise.
40365 (int_retval): Likewise.
40366 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40367 macro definitions in tst-audit.h.
40368 * sysdeps/i386/tst-audit.h: New file.
40369 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40370 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40371 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40372 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40373 * sysdeps/sh/tst-audit.h: Likewise.
40374 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40375 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40376 * sysdeps/x86_64/tst-audit.h: Likewise.
40377
bfc07087
AJ
403782012-07-26 Andreas Jaeger <aj@suse.de>
40379
b1b2aaf8
AJ
40380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40381 ptrace.
40382
40383 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40384 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40385 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40386 PTRACE_O_MASK.
40387 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40388 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40389 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40390
bfc07087
AJ
40391 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40392 value.
40393
40394 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40395 _sigsys.
40396 (si_call_addr, si_syscall, si_arch): Define new macro.
40397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40398 _sigsys.
40399 (si_call_addr, si_syscall, si_arch): Define new marcro.
40400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40401 _sigsys.
40402 (si_call_addr, si_syscall, si_arch): Define new macro.
40403 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40404 _sigsys.
40405 (si_call_addr, si_syscall, si_arch): Define new macro.
40406
89b4b02f
JM
404072012-07-25 Joseph Myers <joseph@codesourcery.com>
40408
40409 [BZ #13717]
40410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40411 Change to 2.4.21 where previously 2.4.1.
40412 * sysdeps/unix/sysv/linux/configure: Regenerated.
40413 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40414 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40415 Linux kernel version.
40416 (__ASSUME_STD_AUXV): Remove.
40417 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40418 kernel version.
40419 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40420 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40421 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40422 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40423 (__ASSUME_NETLINK_SUPPORT): Likewise.
40424 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40425 (__no_netlink_support): Remove conditional definition.
40426 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40427 Remove.
40428 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40429 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40430 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40431 (if_nameindex_ioctl): Remove.
40432 (if_nameindex_netlink): Do not handle __no_netlink_support.
40433 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40434 code.
40435 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40436 Remove conditional code.
40437 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40438 code.
40439 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40440 unconditional.
40441 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40442 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40443 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40444 Remove.
40445 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40446 [!__ASSUME_STD_AUXV]: Remove conditional code.
40447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40448 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40449 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40451 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40452 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40453 code.
40454 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40456 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40457 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40458 conditional code.
40459 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40461 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40462 code.
40463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40464 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40465 conditional code.
40466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40467 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40468 code unconditional.
40469 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40470 conditional code.
40471 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40472 unconditional.
40473 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40474 conditional code.
40475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40476 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40477 unconditional.
40478 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40479 conditional code.
40480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40481 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40482 code unconditional.
40483 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40484 conditional code.
40485 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40486 unconditional.
40487 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40488 conditional code.
40489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40490 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40491 code unconditional.
40492 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40493 conditional code.
40494 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40495 unconditional.
40496 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40497 conditional code.
40498
842a39cd
AS
404992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40500
40501 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40502 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40503 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40504 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40505 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40506 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40507 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40508 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40509 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40510 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40511 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40512 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40513 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40514 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40515 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40516 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40517 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40518 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40519 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40521 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40522 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40524
84b3fd84
FW
405252012-07-25 Florian Weimer <fweimer@redhat.com>
40526
40527 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40528 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40529 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40530 Introduce __libc_secure_getenv.
0c7936d5
FW
40531 * stdlib/Versions (2.17): Add secure_getenv
40532 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40533 * stdlib/secure-getenv.c: Rename __secure_getenv to
40534 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40535 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40536 * stdlib/tst-secure-getenv.c: New.
40537 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40538 * manual/startup.texi (Environment Access): Document
40539 secure_getenv.
84b3fd84
FW
40540 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40541 __libc_secure_getenv.
40542 * inet/ruserpass.c (ruserpass): Likewise.
40543 * malloc/mtrace.c (mtrace): Likewise.
40544 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40545 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40546 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40547 * sysdeps/posix/tempname.c: Likewise. Evaluate
40548 HAVE_SECURE_GETENV.
40549 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40550 __secure_getenv to __libc_secure_getenv.
84b3fd84 40551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40553 Likewise.
40554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40555 Likewise.
40556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40563
56e49b71
JM
405642012-07-25 Joseph Myers <joseph@codesourcery.com>
40565
40566 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40567 (struct La_i86_retval): Likewise.
40568 (struct La_x86_64_regs): Likewise.
40569 (struct La_x86_64_retval): Likewise.
40570 (struct La_x32_regs): Likewise.
40571 (struct La_x32_retval): Likewise.
40572 (struct La_ppc32_regs): Likewise.
40573 (struct La_ppc32_retval): Likewise.
40574 (struct La_ppc64_regs): Likewise.
40575 (struct La_ppc64_retval): Likewise.
40576 (struct La_sh_regs): Likewise.
40577 (struct La_sh_retval): Likewise.
40578 (struct La_s390_32_regs): Likewise.
40579 (struct La_s390_32_retval): Likewise.
40580 (struct La_s390_64_regs): Likewise.
40581 (struct La_s390_64_retval): Likewise.
40582 (struct La_sparc32_regs): Likewise.
40583 (struct La_sparc32_retval): Likewise.
40584 (struct La_sparc64_regs): Likewise.
40585 (struct La_sparc64_retval): Likewise.
40586 (struct audit_ifaces): Remove architecture-specific pltenter and
40587 pltexit members.
40588 * sysdeps/i386/ldsodefs.h: New file.
40589 * sysdeps/powerpc/ldsodefs.h: Likewise.
40590 * sysdeps/s390/ldsodefs.h: Likewise.
40591 * sysdeps/sh/ldsodefs.h: Likewise.
40592 * sysdeps/sparc/ldsodefs.h: Likewise.
40593 * sysdeps/x86_64/ldsodefs.h: Likewise.
40594
354691b7
MP
405952012-07-25 Marek Polacek <polacek@redhat.com>
40596
40597 [BZ #6808]
40598 * math/libm-test.inc (yn_test): Add another test.
40599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40600 to ERANGE when the result is +-Inf.
40601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40602 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40603 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40604 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40605
bf9e2071
JM
406062012-07-24 Joseph Myers <joseph@codesourcery.com>
40607
40608 * conform/data/time.h-data (NULL): Use macro-constant. Require
40609 equal to 0.
40610 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40611 clock_t.
40612 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40613
57633811
TS
406142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40615
40616 * configure.in <sysdeps resolving>: Correct printing
40617 Implies_before.
40618 * configure: Regenerate.
40619
c23c33b0
TS
406202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40621
40622 * math/w_ilogb.c: Include <limits.h>.
40623 * math/w_ilogbl.c: Likewise.
40624
b5982523
JM
406252012-07-20 Joseph Myers <joseph@codesourcery.com>
40626
40627 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40628 va_copy. Document allowing for unavailable va_copy only as
40629 pre-C99 compatibility.
40630 * manual/string.texi (Copying and Concatenation): Use va_copy
40631 instead of __va_copy in concat example.
40632
ac4ea442
PT
406332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40634
40635 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40636 (__sendto): Use create_address_port. Initialize APORT and deallocate
40637 it if not null.
40638
f98eafbd
PT
40639 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40640 with O_NOLINK passed to __file_name_lookup.
40641
898c7aab
PT
40642 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40643 with O_NOLINK passed to __file_name_lookup.
40644
0ced335a
PT
40645 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40646 negative N or less than NGIDS.
40647
b3404dbd
PT
40648 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40649 type to string_t. Set ERANGE as errno and return it if NAME is not big
40650 enough. Use memcpy instead of strncpy.
40651
0f48659e
JM
406522012-07-20 Joseph Myers <joseph@codesourcery.com>
40653
40654 * elf/Makefile (check-data): Remove.
40655 (localplt.data): New vpath directive.
40656 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40657 instead of $(check-data).
40658 * scripts/data/localplt-generic.data: Move to ...
40659 * sysdeps/generic/localplt.data: ... here.
40660 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40661 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40662 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40664 ... here.
40665 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40667 ... here.
40668 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40670 ... here.
40671 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40673 ... here.
40674 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40676 ... here.
40677 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40679 ... here.
40680
d37cbdaa
AZ
406812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40682
40683 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40684 PPC32 and PPC64 files.
40685 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40686 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40687
46f85fc2
AK
406882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40689
40690 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40691 __makecontext_ret to ...
40692 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40693 ... here and call exit if uc_link is NULL. New file.
40694 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40695 __makecontext_ret.S.
40696 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40697 __makecontext_ret to ...
40698 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40699 ... here and call exit if uc_link is NULL. New file.
40700 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40701 __makecontext_ret.S.
40702
08f43f9b
AK
407032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40704
40705 * elf/elf.h (R_390_IRELATIVE): New definition.
40706 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40707 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40708 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40709 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40710 (elf_machine_lazy_rel): Likewise.
40711 * sysdeps/s390/dl-irel.h: New file.
40712 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40713 * sysdeps/s390/s390-64/memset.S: New asm code.
40714 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40715 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40716 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40717 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40718 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40719 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40720 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40721 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40722 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40723 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40724 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40725 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40726 * sysdeps/s390/s390-32/memset.S: New asm code.
40727 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40728
3b05db33
MP
407292012-07-17 Marek Polacek <polacek@redhat.com>
40730
40731 [BZ #14349]
40732 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40733 * sysdeps/s390/s390-64/configure.in: Likewise.
40734 * sysdeps/sparc/configure.in: Likewise.
40735 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40736 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40737 * sysdeps/i386/configure.in: Likewise.
40738 * sysdeps/x86_64/configure.in: Likewise.
40739 * sysdeps/sh/configure.in: Likewise.
40740 * sysdeps/s390/s390-32/configure: Regenerated.
40741 * sysdeps/s390/s390-64/configure: Likewise.
40742 * sysdeps/x86_64/configure: Likewise.
40743 * sysdeps/sh/configure: Likewise.
40744 * sysdeps/powerpc/powerpc64/configure: Likewise.
40745 * sysdeps/powerpc/powerpc32/configure: Likewise.
40746 * sysdeps/sparc/configure: Likwise.
40747 * sysdeps/i386/configure: Likewise.
40748
a66877c6
MP
40749 * elf/dl-open.c: Comment fixes.
40750
cfc82fd8
JM
407512012-07-17 Joseph Myers <joseph@codesourcery.com>
40752
bd29910a
JM
40753 * Makefile [CXX] (check-data): Remove.
40754 [CXX] (c++-types.data): New vpath directive.
40755 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40756 vpath. Do not allow for C++ type data being missing.
40757 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40758 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40759 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40760 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40761 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40762 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40763 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40765 ... here.
40766 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40768 ... here.
40769 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40771 ... here.
40772 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40774 ... here.
40775 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40777 ... here.
40778 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40780 ... here.
40781 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40783 ... here.
40784 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40786
cfc82fd8
JM
40787 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40788 definitions to architecture-specific files.
40789 (TLS_IE): Likewise.
40790 (TLS_LD): Likewise.
40791 (TLS_GD): Likewise.
40792 * sysdeps/i386/tls-macros.h: New file.
40793 * sysdeps/powerpc/tls-macros.h: Likewise.
40794 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40795 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40796 * sysdeps/sh/tls-macros.h: Likewise.
40797 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40798 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40799 * sysdeps/x86_64/tls-macros.h: Likewise.
40800
f7db3170
TS
408012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40802
07cbfc23
TS
40803 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40804 zero value for regular exit case.
40805
f7db3170
TS
40806 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40807 (__start_context): Preserve zero value for regular exit case.
40808
dc97c227
TS
408092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40810 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40811
40812 * manual/setjmp.texi (setcontext): Clarify normal process
40813 termination when uc_link is the null pointer.
40814 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40815 exit call.
40816
d0cd7d02
AS
408172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40818
40819 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40820 preprocessor. Test for each exception mask separately.
40821
dd318934
AJ
408222012-07-16 Andreas Jaeger <aj@suse.de>
40823
40824 * po/ru.po: Update from translation team.
40825
8048311a
JM
408262012-07-15 Joseph Myers <joseph@codesourcery.com>
40827
40828 * conform/data/string.h-data (NULL): Use macro-constant. Require
40829 equal to 0.
40830 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40831 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40832 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40833 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40835
b637d46e
AJ
408362012-07-13 Andreas Jaeger <aj@suse.de>
40837
40838 * po/fr.po: Update from translation team.
40839
541428fe
MP
408402012-07-12 Marek Polacek <polacek@redhat.com>
40841
40842 [BZ #14173]
40843 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40844 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40845 loop condition.
40846
ec332e94
JM
408472012-07-12 Joseph Myers <joseph@codesourcery.com>
40848
40849 [BZ #13717]
40850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40851 Change to 2.4.1 where previously 2.4.0.
40852 * sysdeps/unix/sysv/linux/configure: Regenerated.
40853 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40854 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40855 version.
40856 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40857 (__ASSUME_AT_CLKTCK): Remove.
40858 (__ASSUME_AT_PAGESIZE): Likewise.
40859 (__ASSUME_AT_XID): Likewise.
40860 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40861 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40862 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40863 unconditionally.
40864 (HAVE_AUX_PAGESIZE): Likewise.
40865 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40866 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40867 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40868
7b6e99be
JB
408692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40870
40871 [BZ #14307]
40872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40873 the temporary buffer used to invoke __gethostbyname2_r,
40874 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40875 host_data / struct gaih_addrtuple.
40876 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40877 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40878 header file nss/nsswitch.h.
40879 * nss/nsswitch.h (global scope): Add definition of implementation
40880 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40881 resolv/nss_dns/dns-host.c).
40882
608404eb
AJ
408832012-07-11 Andreas Jaeger <aj@suse.de>
40884
40885 * po/fr.po: Update from translation team.
40886
71220aca
AJ
40887 * po/sv.po: Update from translation team
40888 * po/fr.po: Another update from translation team.
40889
28cfe843
AZ
408902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40891
40892 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40893 for subnormals or multiply small sinh result by itself.
40894 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40896
6b90f981
DM
408972012-07-11 David S. Miller <davem@davemloft.net>
40898
40899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40900
c6825772
AS
409012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40902
40903 [BZ #14347]
40904 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40905 (INTERNAL_MARK): Shift it here.
40906
7b8e0d49
MP
409072012-07-10 Marek Polacek <polacek@redhat.com>
40908
40909 [BZ #14151]
40910 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40911 libc_cv_asm_global_directive with .globl.
40912 * configure: Regenerated.
40913 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40914 with .globl.
40915 * sysdeps/i386/configure: Regenerated.
40916 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40917 with .globl.
40918 * sysdeps/x86_64/configure: Regenerated.
40919 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40920 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40921 * elf/tst-unique2mod2.c: Likewise.
40922 * elf/tst-unique2mod1.c: Likewise.
40923 * elf/tst-unique1mod2.c: Likewise.
40924 * elf/tst-unique1mod1.c: Likewise.
40925 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40926 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40928 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40929 * sysdeps/mach/sysdep.h: Likewise.
40930 * sysdeps/i386/sysdep.h: Likewise.
40931 * sysdeps/i386/i386-mcount.S: Likewise.
40932 * sysdeps/x86_64/_mcount.S: Likewise.
40933 * sysdeps/x86_64/sysdep.h: Likewise.
40934 * sysdeps/sh/_mcount.S: Likewise.
40935 * sysdeps/sh/sysdep.h: Likewise.
40936 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40937 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40938 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40939 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40940 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40941 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40942 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40943 * locale/localeinfo.h: Likewise.
40944 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40945 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40946
6c55cda3
RM
409472012-07-09 Roland McGrath <roland@hack.frob.com>
40948
40949 [BZ #14336]
40950 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40951 system".
40952 * manual/message.texi (The Uniforum approach): Likewise.
40953 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40954 (glibc iconv Implementation): Likewise.
40955
638a572e
JM
409562012-07-09 Joseph Myers <joseph@codesourcery.com>
40957
40958 [BZ #14337]
40959 * math/s_clog.c (__clog): Avoid scaling a value down where that
40960 could result in underflow.
40961 * math/s_clog10.c (__clog10): Likewise.
40962 * math/s_clog10f.c (__clog10f): Likewise.
40963 * math/s_clog10l.c (__clog10l): Likewise.
40964 * math/s_clogf.c (__clogf): Likewise.
40965 * math/s_clogl.c (__clogl): Likewise.
40966 * math/libm-test.inc (clog_test): Add more tests.
40967 (clog10_test): Likewise.
40968 * sysdeps/i386/fpu/libm-test-ulps: Update.
40969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40970
261f4859
AS
409712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40972
0abaf3e4
AS
40973 [BZ #14283]
40974 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40975 by 7 not 8 to examine high bit of fractional part.
40976
261f4859
AS
40977 [BZ #14042]
40978 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40979 for call to __mcount_internal.
40980 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40981 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40982 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40983
f17ac40d
JM
409842012-07-06 Joseph Myers <joseph@codesourcery.com>
40985
9ad63c23
JM
40986 [BZ #14154]
40987 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40988 approximation for values within 0x1p-13f of an odd multiple of
40989 pi/4.
40990 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40991 exception. Add more tests.
40992 * sysdeps/i386/fpu/libm-test-ulps: Update.
40993
f17ac40d
JM
40994 [BZ #6778]
40995 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40996 inputs and return -1 for them. Do not check for +Inf in case not
40997 reachable for +Inf.
40998 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40999 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41000 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41001 and return -1 for them. Do not check for +Inf in case not
41002 reachable for +Inf.
41003 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41004 define.
41005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41006 and return -1 for them. Do not check for +Inf in case not
41007 reachable for +Inf.
41008 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41009 spurious underflow.
41010 * sysdeps/i386/fpu/libm-test-ulps: Update.
41011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41012
fb21f89b
MF
410132012-07-06 Mike Frysinger <vapier@gentoo.org>
41014
41015 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41016
cdfe2c5e
JM
410172012-07-05 Joseph Myers <joseph@codesourcery.com>
41018
41019 [BZ #14157]
41020 [BZ #14331]
41021 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41022 could result in spurious underflow. Scale down values above
41023 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41024 * math/s_csqrtf.c (__csqrtf): Likewise.
41025 * math/s_csqrtl.c (__csqrtl): Likewise.
41026 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41027 spurious underflow.
41028 * sysdeps/i386/fpu/libm-test-ulps: Update.
41029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41030
70d35b67
AS
410312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41032
704bc459
AS
41033 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41034 xopen-msg.sed.
41035 * catgets/xopen-msg.awk: New file.
41036 * catgets/xopen-msg.sed: Removed.
41037
70d35b67
AS
41038 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41039 po2text.sed.
41040 * intl/po2test.awk: New file.
41041 * intl/po2test.sed: Removed.
41042
ca61cf32
JM
410432012-07-04 Joseph Myers <joseph@codesourcery.com>
41044
41045 [BZ #14328]
41046 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41047 or multiply small sinh result by itself.
41048 * math/s_ctanf.c (__ctanf): Likewise.
41049 * math/s_ctanh.c (__ctanh): Likewise.
41050 * math/s_ctanhf.c (__ctanhf): Likewise.
41051 * math/s_ctanhl.c (__ctanhl): Likewise.
41052 * math/s_ctanl.c (__ctanl): Likewise.
41053 * math/libm-test.inc (ctan_test_tonearest): New function.
41054 (ctan_test_towardzero): Likewise.
41055 (ctan_test_downward): Likewise.
41056 (ctan_test_upward): Likewise.
41057 (ctanh_test_tonearest): Likewise.
41058 (ctanh_test_towardzero): Likewise.
41059 (ctanh_test_downward): Likewise.
41060 (ctanh_test_upward): Likewise.
41061 (main): Call these new functions.
41062 * sysdeps/i386/fpu/libm-test-ulps: Update.
41063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41064
ca48a46a
MF
410652012-07-03 Mike Frysinger <vapier@gentoo.org>
41066
41067 * .gitignore: Delete /ports entry.
41068
9d63d37d
AJ
410692012-07-03 Andreas Jaeger <aj@suse.de>
41070
41071 * po/bg.po: Update from translation team.
41072 * po/cs.po: Likewise.
41073 * po/de.po: Likewise.
41074 * po/hr.po: Likewise.
41075 * po/nl.pl: Likewise.
41076 * po/pl.po: Likewise.
41077 * po/vi.po: Likewise.
41078
370ca3d2
JM
410792012-07-03 Joseph Myers <joseph@codesourcery.com>
41080
95f5a9a8
JM
41081 * Makeconfig [!+link] (+link-before-libc): New variable.
41082 [!+link] (+link-after-libc): Likewise.
41083 [!+link] (+link-tests): Likewise.
41084 [!+link] (+link): Define in terms of $(+link-before-libc) and
41085 $(+link-after-libc).
41086 [!+link-static] (+link-static-before-libc): New variable.
41087 [!+link-static] (+link-static-after-libc): Likewise.
41088 [!+link-static] (+link-static-tests): Likewise.
41089 [!+link-static] (+link-static): Define in terms of
41090 $(+link-static-before-libc) and $(+link-static-after-libc).
41091 [build-shared] (link-libc-before-gnulib): New variable.
41092 [build-shared] (link-libc-tests): Likewise.
41093 [build-shared] (link-libc): Define in terms of
41094 $(link-libc-before-gnulib).
41095 [!build-shared] (link-libc-tests): New variable.
41096 (link-libc-static-tests): New variable.
41097 [!gnulib] (gnulib-arch): New variable.
41098 [!gnulib] (gnulib-tests): Likewise.
41099 [!gnulib] (static-gnulib-arch): Likewise.
41100 [!gnulib] (static-gnulib-tests): Likewise.
41101 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41102 Define with "=" instead of ":=".
41103 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41104 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41105 * Rules (binaries-all-notests): New variable.
41106 (binaries-all-tests): Likewise.
41107 (binaries-static-notests): Likewise.
41108 (binaries-static-tests): Likewise.
41109 (binaries-all): Define using $(binaries-all-notests) and
41110 $(binaries-all-tests).
41111 (binaries-static): Define using $(binaries-static-notests) and
41112 $(binaries-static-tests).
41113 (binaries-shared-tests): New variable.
41114 (binaries-shared-notests): Likewise.
41115 (binaries-shared): Remove variable.
41116 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41117 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41118 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41119 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41120 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41121 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41122 * elf/Makefile (sln-modules): New variable.
41123 (extra-objs): Add $(sln-modules:=.o).
41124 (ldconfig-modules): Add static-stubs.
41125 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41126 * elf/static-stubs.c: New file.
41127
7a845b2c
JM
41128 [BZ #14283]
41129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41130 by 7 not 8 to examine high bit of fractional part. Use volatile
41131 variables when splitting into final array of floats if
41132 __FLT_EVAL_METHOD__ != 0.
41133 * math/libm-test.inc (cos_test): Add another test.
41134 (sin_test): Likewise.
41135 * sysdeps/i386/fpu/libm-test-ulps: Update.
41136
e2283f38
JM
41137 [BZ #14273]
41138 * math/libm-test.inc (cosh_test): Add more tests.
41139
370ca3d2
JM
41140 * version.h (RELEASE): Set to "development".
41141 (VERSION): Set to "2.16.90".
41142
ee9247c3
CD
411432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41144
41145 * NEWS: Update copyright. Remove last-updated date.
41146 Mention math library bug fixes and timezone data changes.
41147 * README: Mention GNU/Hurd, x32, and HPPA support status.
41148
4648c381
TS
411492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41150
41151 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41152
aac78a43
AJ
411532012-06-27 Andreas Jaeger <aj@suse.de>
41154
41155 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41156
ed3dbfad
AJ
411572012-06-25 Andreas Jaeger <aj@suse.de>
41158
41159 * sysdeps/s390/fpu/libm-test-ulps: Update.
41160
4d0ee855
AS
411612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41162 Thomas Schwinge <thomas@codesourcery.com>
41163
41164 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41165 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41167 fanotify_mark.
41168
af1bce34
TS
411692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41170
a9fa33ba
TS
41171 * sysdeps/mach/start.c: Remove file.
41172 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41173 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41174 * sysdeps/sh/init-first.c: Likewise.
41175
58f902b8
TS
41176 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41177 registers for frame unwinding purposes, add CFI directives.
41178 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41179 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41180 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41181 Likewise.
41182
1518f58b
TS
41183 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41184 __fortify_fail returning.
41185 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41186
db9b5059
TS
41187 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41188 sysdeps/sh/____longjmp_chk.S.
41189 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41190 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41191 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41192 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41193
967705fe
TS
41194 * sysdeps/sh/abort-instr.h: New file.
41195 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41196 process in case exit returns.
41197
a9def8c4
TS
41198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41199 initialize the GOT register before use.
41200
2a649725
TS
41201 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41202 calculation of ARGC > 4.
41203
af1bce34
TS
41204 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41205 meaningful names to some local labels.
41206
d230f50a
KK
412072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41208 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41209
41210 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41211 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41212 (__arch_compare_and_exchange_val_16_acq): Likewise.
41213 (__arch_compare_and_exchange_val_32_acq): Likewise.
41214 (atomic_exchange_and_add): Fix gUSA sequence.
41215 (atomic_add): Likewise.
41216 (atomic_add_negative): Likewise.
41217 (atomic_add_zero): Likewise.
41218 (atomic_bit_test_set): Likewise.
41219
0479b305
AS
412202012-06-22 Andreas Schwab <schwab@redhat.com>
41221
41222 [BZ #13579]
41223 * include/link.h (struct link_map): Add l_free_initfini.
41224 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41225 l_initfini.
41226 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41227 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41228 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41229 set.
41230
0e3933b9
CD
412312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41232
41233 * configure.in: Use AC_LANG_SOURCE.
41234 * configure: Regenerate.
41235
4248b1b1
RM
412362012-06-22 Roland McGrath <roland@hack.frob.com>
41237
41238 * configure.in (libc_cv_localstatedir): New substituted variable.
41239 * configure: Regenerated.
41240 * config.make.in (localstatedir): New variable, substituted from
41241 libc_cv_localstatedir.
41242 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41243 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41244 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41245 * sysdeps/gnu/configure: Regenerated.
41246
006dd861
JL
412472012-06-21 Jeff Law <law@redhat.com>
41248
41249 [BZ #14277]
41250 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41251 free. Simplify list management for _LIBC case.
41252
79662d42
JM
412532012-06-21 Joseph Myers <joseph@codesourcery.com>
41254
b7abb4bf
JM
41255 [BZ #14273]
41256 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41257 Clear sign bit of 64-bit integer value before comparing against
41258 overflow value.
41259
79662d42
JM
41260 * sysdeps/mach/configure: Regenerated.
41261
1f150908
L
412622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41263
41264 [BZ #14278]
41265 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41266
28363bbf
JL
412672012-06-21 Jeff Law <law@redhat.com>
41268
41269 [BZ #13882]
41270 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41271 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41272 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41273 * elf/dl-open.c (dl_open_worker): Likewise.
41274
09615db4
CD
412752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41276
41277 * scripts/list-sources.sh: Scan PORTS for translations.
41278 * po/libc.pot: Regenerated.
41279
2174c6dd
AJ
412802012-06-21 Andreas Jaeger <aj@suse.de>
41281
41282 [BZ #12194]
41283 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41284 warning.
41285 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41286 * bits/byteswap-16.h (__bswap_16): Likewise.
41287 * bits/byteswap.h (__bswap_constant_16): Likewise.
41288
3ee947b1
L
412892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41290
41291 [BZ #14117]
a2f34833
L
41292 * sysdeps/i386/fpu_control.h: Removed.
41293 * sysdeps/x86_64/fpu_control.h: Moved to ...
41294 * sysdeps/x86/fpu_control.h: Here.
41295
3ee947b1
L
41296 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41297 (_FPU_SETCW): Likewise.
41298
ed1825f8
L
412992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41300
25f1282a
L
41301 [BZ #14117]
41302 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41303 * sysdeps/x86/fpu/bits/mathinline.h: This.
41304 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41305
ed1825f8
L
41306 [BZ #14050]
41307 [BZ #14117]
41308 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41309 functions if __x86_64__ is defined.
41310
36d54b74
CLT
413112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41312
41313 * string/endian.h: Add !__ASSEMBLER__ condition for including
41314 conversion interfaces.
41315
10285c21
JM
413162012-06-15 Joseph Myers <joseph@codesourcery.com>
41317
41318 [BZ #14241]
41319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41320 of ABS(x) in calculating zero to negative powers other than odd
41321 integers.
41322 * math/libm-test.inc (pow_test): Add more tests.
41323
06c5abbd
AJ
413242012-06-15 Andreas Jaeger <aj@suse.de>
41325
41326 * manual/contrib.texi (Contributors): Update entry of Liubov
41327 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41328 Machado Filho.
41329
a3aeac40
CH
413302012-06-15 Cyril Hrubis <metan@ucw.cz>
41331
41332 * string/string.h: Add __wur to GNU version of strerror_r.
41333
49bdf4c1
L
413342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41335
41336 [BZ #14229]
41337 * string/Makefile (tests): Add tst-strtok_r.
41338 * string/tst-strtok_r.c: New file.
41339 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41340 RAX_LP/RDX_LP on SAVE_PTR.
41341
834f9b8d
RM
413422012-06-14 Roland McGrath <roland@hack.frob.com>
41343
41344 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41345
75fa1921
JM
413462012-06-14 Joseph Myers <joseph@codesourcery.com>
41347
41348 * libm_test.inc (csqrt_test): Allow more spurious underflow
41349 exceptions.
41350 (j0_test): Likewise.
41351 (j1_test): Likewise.
41352 (y0_test): Likewise.
41353 (y1_test): Likewise.
41354
771766df
CD
413552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41356
41357 * po/Makefile (libc.pot): Use UTF-8 charset.
41358
ceb9e56b
PP
413592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41360
41361 [BZ #14210]
41362 Suppress sign-conversion warning from FD_SET.
41363 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41364 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41365 not unsigned long int.
41366 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41367
ddb28975
L
413682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41369
41370 [BZ #14050]
41371 [BZ #14117]
41372 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41373 __extern_always_inline instead of __extern_inline.
41374 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41375 (__signbit): Likewise.
41376 (__signbitl): Support C++ namespace.
41377 (lrintf): New inline function.
41378 (lrint): Likewise.
41379 (llrintf): Likewise.
41380 (llrint): Likewise.
41381 (fmaxf): Likewise.
41382 (fmax): Likewise.
41383 (fminf): Likewise.
41384 (fmin): Likewise.
41385 (rint): Likewise.
41386 (rintf): Likewise.
41387 (ceil): Likewise.
41388 (ceilf): Likewise.
41389 (floor): Likewise.
41390 (floorf): Likewise.
41391 (nearbyint): Likewise.
41392 (nearbyintf): Likewise.
41393
d7b4fb26
TS
413942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41395
41396 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41397 non-default versions.
41398
eb55f5c2
RM
413992012-06-11 Roland McGrath <roland@hack.frob.com>
41400
41401 [BZ #14218]
41402 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41403
366af02c
TS
414042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41405
99ff6e5c
TS
41406 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41407 (FE_UPWARD, FE_DOWNWARD): Don't define.
41408 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41410
366af02c
TS
41411 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41412 reading it.
41413 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41414 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41415
793ea851
KK
414162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41417
41418 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41420 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41421 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41422
a728a38f
L
414232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41424
41425 [BZ #14117]
c08010c7
L
41426 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41427 * sysdeps/i386/fpu/Implies: New file.
41428 * sysdeps/x86_64/fpu/Implies: Likewise.
41429 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41430 * sysdeps/x86/fpu/bits/fenv.h: This.
41431
a728a38f
L
41432 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41433 __SSE_MATH__.
41434
6e230d11
SP
414352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41436
41437 [BZ #14134]
41438 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41439 character 0xffff that matches the last element of the
41440 conversion table.
41441
1b671feb
AZ
414422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41443
41444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41445 fmodl commit.
41446
6043738b
AZ
414472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41448
41449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41450 values higher than 25.6283.
41451
34ae0b32
AZ
414522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41453
41454 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41455 subnormal exponent extraction and add some __builtin_expect.
41456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41457 Fix for subnormal mantissa calculation.
41458
1214ec8f
MF
414592012-06-04 Mike Frysinger <vapier@gentoo.org>
41460
41461 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41462 cpu2 is -1 and errno is not ENOSYS.
41463
f3d1f93c
L
414642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41465
41466 [BZ #14117]
0e4a3cd7
L
41467 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41468 * sysdeps/x86/bits/string.h: This.
41469 * sysdeps/x86_64/bits/string.h: Removed.
41470
6704c645
L
41471 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41472 if not compiling for x86-64, but compiling for >= i486.
41473
48495318
L
41474 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41475 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41476
14adcbfc
L
41477 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41478 New macro from Linux kernel 3.4.0.
41479 (FP_XSTATE_MAGIC2): Likewise.
41480 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41481 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41482 (struct _fpx_sw_bytes): New struct.
41483 (struct _xsave_hdr): Likewise.
41484 (struct _ymmh_state): Likewise.
41485 (struct _xstate): Likewise.
41486
68e408ab
L
41487 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41488 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41490 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41491 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41492 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41493
f3d1f93c
L
41494 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41495 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41496 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41497 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41498 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41499 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41500
d9dc34cd
TMQMF
415012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41502
41503 [BZ #13743]
41504 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41505 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41506 (sysdep_headers): Include sys/platform/ppc.h.
41507 * sysdeps/powerpc/test-gettimebase.c: Test for
41508 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41509 * manual/Makefile (appendices): Include platform.texi.
41510 * manual/contrib.texi (Contributors): Update @node pointers.
41511 * manual/maint.texi (Maintenance): Likewise.
41512 (Platform): New node.
41513 * manual/platform.texi: New file. Document the new features.
41514
4af3879c
SP
415152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41516 Jakub Jelinek <jakub@redhat.com>
41517
41518 [BZ #14188]
41519 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41520 where __builtin_expect is unavailable.
41521
2fd6ff13
DM
415222012-06-03 David S. Miller <davem@davemloft.net>
41523
41524 * stdlib/longlong.h: Updated from GCC.
41525
173f7220
AS
415262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41527
41528 [BZ #14042]
41529 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41530 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41531 __mcount_internal.
41532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41533 (GLIBC_2.16): Likewise.
41534
f34a1c6f
L
415352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41536
41537 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41538
88a4576f
JM
415392012-06-01 Joseph Myers <joseph@codesourcery.com>
41540
ea32bcdd
JM
41541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41542 (default-abi): New variable.
41543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41544 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41545 variable.
41546 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41547 Likewise.
41548 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41549 Likewise.
41550 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41551 Likewise.
41552
88a4576f
JM
41553 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41554 definition. Document in comment.
41555
402fe938
DM
415562012-06-01 David S. Miller <davem@davemloft.net>
41557
41558 * stdlib/longlong.h: Updated from GCC.
41559
3553723f
L
415602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41561
41562 [BZ #14117]
3bd872c4
L
41563 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41564 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41565 sys/debugreg.h sys/io.h here.
41566 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41567 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41568 sys/io.h.
41569 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41570 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41571 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41572 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41573 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41574 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41575
3553723f
L
41576 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41577 Define only if __x86_64__ is defined.
41578
4842e4fe
JM
415792012-06-01 Joseph Myers <joseph@codesourcery.com>
41580
c5bfe3d5
JM
41581 [BZ #14048]
41582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41583 Use int64_t for variable i.
41584 * math/libm-test.inc (fmod_test): Add more tests.
41585
4842e4fe
JM
41586 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41587 z computation is not scheduled after fetestexcept.
41588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41589 Use math_force_eval instead of asm to ensure calculation scheduled
41590 before exception test.
41591 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41592 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41593
efb73488
AJ
415942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41595
41596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41597 computation is not scheduled after fetestexcept.
41598
29bcce7c
L
415992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41600
41601 [BZ #14117]
41602 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41603 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41604
73a68f94
AZ
416052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41606
41607 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41608 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41609
67b6df78
L
416102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41611
edf2933a 41612 [BZ #14117]
ebc64a18
L
41613 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41614 <bits/wordsize.h>.
41615 (__WCHAR_MIN): Support __WORDSIZE == 64.
41616 (__WCHAR_MAX): Likewise.
41617
edf2933a
L
41618 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41619 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41620
57c6cf40
L
41621 [BZ #14183]
41622 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41623 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41624
67b6df78 41625 [BZ #14117]
8eb6281e
L
41626 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41627 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41628
aac639f4
L
41629 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41630 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41631
67b6df78
L
41632 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41633 Defined to 1 if __x86_64__ isn't defined.
41634 (_STAT_VER_LINUX_OLD): New.
41635 (st_atime): Remove duplicate.
41636 (st_mtime): Likewise.
41637 (st_ctime): Likewise.
41638
1c2cfe81
DM
416392012-05-31 David S. Miller <davem@davemloft.net>
41640
41641 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41642 entries.
41643
5be8418c
AS
416442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41645
e7725326
AS
41646 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41647 gen-libm-test.pl.
41648
5be8418c
AS
41649 [BZ #14132]
41650 * elf/dl-reloc.c: Include <_itoa.h>.
41651 (_dl_reloc_bad_type): Remove use of INTUSE.
41652 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41653 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41654 * stdio-common/psiginfo.c (psiginfo): Likewise.
41655 * stdio-common/psignal.c (psignal): Likewise.
41656 * string/strsignal.c (strsignal): Likewise.
41657 * include/signal.h (_sys_siglist): Declare hidden proto.
41658 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41659 INTVARDEF with libc_hidden_data_def.
41660 * stdio-common/itoa-udigits.c: Likewise.
41661 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41662 (_itoa_lower_digits_internal): Remove declaration.
41663 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41664 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41665 (_sys_sigabbrev_internal): Remove aliases.
41666 (_sys_siglist): Define hidden alias.
41667
507352f1
MT
416682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41669
41670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41671 bits/sysctl.h.
41672
42bbb1c3
L
416732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 [BZ #14117]
6bd784b6
L
41676 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41677 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41678
8bca20f0
L
41679 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41680 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41681 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41682 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41684 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41685
f9e890a9
L
41686 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41687 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41688 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41689
471101a1
L
41690 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41691 with __addr.
41692 (insw): Likewise.
41693 (insl): Likewise.
41694 (outsb): Likewise.
41695 (outsw): Likewise.
41696 (outsl): Likewise.
41697
6451c862
L
41698 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41701
a254b8c9
L
41702 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41703 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41705 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41706 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41707 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41708
b8dfdd92
L
41709 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41710 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41711
578cd270
L
41712 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41713 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41714
de662f5f
L
41715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41717 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41718
25653439
L
41719 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41720 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41721 to ...
41722 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41723
6bad24a0
L
41724 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41725 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41726 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41727
42bbb1c3
L
41728 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41729 for x86-64.
41730 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41731
2d10d547
JM
417322012-05-31 Joseph Myers <joseph@codesourcery.com>
41733
41734 * math/math.h (M_El): Use two more decimal places.
41735 (M_LOG2El): Likewise.
41736 (M_LOG10El): Likewise.
41737 (M_LN2l): Likewise.
41738 (M_LN10l): Likewise.
41739 (M_PIl): Likewise.
41740 (M_PI_2l): Likewise.
41741 (M_PI_4l): Likewise.
41742 (M_1_PIl): Likewise.
41743 (M_2_PIl): Likewise.
41744 (M_2_SQRTPIl): Likewise.
41745 (M_SQRT2l): Likewise.
41746 (M_SQRT1_2l): Likewise.
41747
f230c29b
DM
417482012-05-31 David S. Miller <davem@davemloft.net>
41749
41750 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41751 values between float registers.
41752 * sysdeps/sparc/sparc64/memset.S: Likewise.
41753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41754
fed806c3
MF
417552012-05-31 Mike Frysinger <vapier@gentoo.org>
41756
41757 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41758 -D_FORTIFY_SOURCE=1.
41759 (CPPFLAGS-tst-longjmp_chk.c): Define.
41760 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41761 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41762 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41763 CFLAGS-tst-wchar-h.c.
41764
30917259
MP
417652012-05-31 Marek Polacek <polacek@redhat.com>
41766
41767 [BZ #14132]
41768 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41769 __endmntent_internal): Remove declaration.
41770 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41771 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41772 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41773
1c58d5dc
DM
417742012-05-30 David S. Miller <davem@davemloft.net>
41775
41776 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41777 (___Q_simulate_exceptions): Use real FP ops rather than writing
41778 into the %fsr.
41779 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41780 Likewise.
41781
7dc00e0d
L
417822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41783
41784 [BZ #14117]
0bd53985
L
41785 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41786 * sysdeps/x86/bits/xtitypes.h: This.
41787
3a257e66
L
41788 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41789 * sysdeps/x86/bits/wordsize.h: This.
41790
62f62904
L
41791 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41792 * sysdeps/x86/bits/huge_vall.h: This.
41793
404fe9d9
L
41794 * sysdeps/i386/bits/select.h: Removed.
41795 * sysdeps/x86_64/bits/select.h: Renamed to ...
41796 * sysdeps/x86/bits/select.h: This.
41797
d48d0446
L
41798 * sysdeps/i386/bits/setjmp.h: Removed.
41799 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41800 * sysdeps/x86/bits/setjmp.h: This.
41801
7dc00e0d
L
41802 * sysdeps/i386/bits/mathdef.h: Removed.
41803 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41804 * sysdeps/x86/bits/mathdef.h: This.
41805
03277f8f
AS
418062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41807
41808 [BZ #14132]
41809 * include/sys/socket.h (__connect_internal)
41810 (__libc_sa_len_internal): Remove declaration.
41811 (__connect, __libc_sa_len): Declare hidden_proto.
41812 (SA_LEN): Remove use of INTUSE.
41813 * socket/connect.c: Add libc_hidden_def.
41814 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41815 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41816 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41817 alias.
41818 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41819 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41820 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41821 of adding _internal alias.
41822
13764867
L
418232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41824
41825 [BZ #14117]
6bd97696
L
41826 * sysdeps/i386/bits/link.h: Removed.
41827 * sysdeps/i386/bits/linkmap.h: Likewise.
41828 * sysdeps/x86_64/bits/link.h: Renamed to ...
41829 * sysdeps/x86/bits/link.h: This.
41830 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41831 * sysdeps/x86/bits/linkmap.h: This.
41832
f726f0bb
L
41833 * sysdeps/i386/bits/endian.h: Removed.
41834 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41835 * sysdeps/x86/bits/endian.h: This.
41836
13764867
L
41837 * sysdeps/i386/bits/byteswap.h: Removed.
41838 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41839 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41840 * sysdeps/x86/bits/byteswap.h: This.
41841 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41842 * sysdeps/x86/bits/byteswap-16.h: This.
41843 * sysdeps/i386/Implies: Add x86.
41844 * sysdeps/x86_64/Implies: Likewise.
41845
ae251b0b
DM
418462012-05-30 David S. Miller <davem@davemloft.net>
41847
41848 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41849 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41850 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41851 (FP_TRAPPING_EXCEPTIONS): Define.
41852 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41853 (FP_TRAPPING_EXCEPTIONS): Define.
41854 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41855 subnormals only when inexact has been signalled or underflow
41856 exceptions are enabled.
41857 (_FP_PACK_CANONICAL): Likewise.
41858
d5c90867
L
418592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41860
41861 [BZ #14183]
41862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41863 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41864
63f1549e
RH
418652012-05-30 Richard Henderson <rth@twiddle.net>
41866
8d8f2279
RH
41867 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41868 with #ifndef NOT_IN_libc.
41869
63f1549e
RH
41870 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41871 marked to avoid plt entry.
41872
0ab0291b
L
418732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41874
41875 [BZ #14112]
41876 * Makeconfig (default-abi): New macro.
41877 (abi-includes): Likewise.
41878 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41879 $(abi-$(default-abi)-lib-soname) for soname if defined.
41880 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41881 abi-variants.
41882 * Makefile (installed-stubs): Likewise.
41883 * include/stubs-biarch.h: Removed.
41884 * scripts/lib-names.awk: Only handle one library at a time.
41885 * scripts/soversions.awk: Remove WORDSIZE support.
41886 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41887 entries.
41888 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41889 Removed.
41890 (syscall-list-default-condition): Likewise.
41891 (syscall-list-default-condition): Likewise.
41892 (syscall-list-includes): Likewise.
41893 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41894 syscall-list-* with abi-*. Handle undefined abi-variants.
41895 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41896 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41897 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41898 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41899 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41900 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41901 Removed.
41902 (syscall-list-32-options): Likewise.
41903 (syscall-list-32-condition): Likewise.
41904 (syscall-list-64-options): Likewise.
41905 (syscall-list-64-condition): Likewise.
41906 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41907 macro.
41908 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41909 Renamed to ...
41910 (abi-*): This.
41911 (abi-64-ld-soname): New macro.
41912 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41913 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41914 Renamed to ...
41915 (abi-*): This.
41916 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41917 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41918
4da0431d
JM
419192012-05-30 Joseph Myers <joseph@codesourcery.com>
41920
3a85279c
JM
41921 * sysdeps/unix/sysv/linux/kernel-features.h
41922 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41923 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41924 include <kernel-features.h>.
41925 [!__NR_ftruncate64]: Remove conditional code.
41926 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41927 [__NR_ftruncate64]: Make code unconditional.
41928 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41929 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41930 include <kernel-features.h>.
41931 [!__NR_ftruncate64]: Remove conditional code.
41932 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41933 [__NR_ftruncate64]: Make code unconditional.
41934 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41936 include <kernel-features.h>.
41937 [!__NR_ftruncate64]: Remove conditional code.
41938 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41939 [__NR_ftruncate64]: Make code unconditional.
41940 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41942 include <kernel-features.h>.
41943 [!__NR_ftruncate64]: Remove conditional code.
41944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41945 [__NR_ftruncate64]: Make code unconditional.
41946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41947
4da0431d
JM
41948 * configure.in (libc_cv_fpie): Weaken to a compile test using
41949 LIBC_TRY_CC_OPTION.
41950 * configure: Regenerated.
41951
11ef492c
AK
419522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41953
41954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41958 Refreshed.
41959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41965 Refreshed.
41966
d66ef399
DM
419672012-05-27 David S. Miller <davem@davemloft.net>
41968
41969 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41970 (___Q_zero): New.
41971 (__Q_simulate_exceptions): Return void. Change to simulate
41972 exceptions by writing into the %fsr.
41973 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41974 (__Qp_handle_exceptions): Likewise.
41975 (numbers): Delete.
41976 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41977 __Qp_handle_exceptions.
41978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41979 __Qp_handle_exceptions.
41980 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41981 as unused and give dummy FP_RND_NEAREST initializer.
41982 (FP_INHIBIT_RESULTS): Define.
41983 (___Q_simulate_exceptions): Update declaration.
41984 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41985 formatting.
41986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41987 as unused and give dummy FP_RND_NEAREST initializer.
41988 (__Qp_handle_exceptions): Update declaration.
41989 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41990 formatting.
41991
04fb54b5
TS
419922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41993
41994 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41995 the temporary FPU control word.
41996 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41997 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41998 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41999 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42000 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42001 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42002 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42004 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42005 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42007
3f99608f
KK
420082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42009
42010 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42011 fields.
42012
65a4de4e
CLT
420132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42014
42015 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42016 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42017 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42018 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42019 Likewise.
42020 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42021 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42022 Likewise.
42023
15749d40
UD
420242012-05-27 Ulrich Drepper <drepper@gmail.com>
42025
42026 * po/h.po: Update from translation team.
42027
25dbcb27
AS
420282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42029
3d3f8e55
AS
42030 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42031
25dbcb27
AS
42032 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42033 handling of denormals.
42034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42035 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42036 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42041 Likewise.
42042
7ad47a80 420432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42044
42045 [BZ #14152]
42046 * math/libm-test.inc (fma_test): Don't always expect underflow
42047 exception.
42048
9c6ea9fa
SP
420492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42050
42051 [BZ #12416]
42052 * elf/tst-execstack.c: Include stackinfo.h.
42053 (do_test): Adjust test case to ensure that pthread_getattr_np
42054 behaviour remains the same after marking stack executable.
42055
a8239222
JM
420562012-05-25 Joseph Myers <joseph@codesourcery.com>
42057
42058 * sysdeps/unix/sysv/linux/kernel-features.h
42059 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42060 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42061 kernel-features.h.
42062 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42063 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42064 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42065 kernel-features.h.
42066 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42067 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42068
918b5606
L
420692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42070
42071 * configure.in: Define the default includes to being none.
42072 * configure: Regenerated.
42073
3a097cc7
RM
420742012-05-25 Roland McGrath <roland@hack.frob.com>
42075
8422c9a5
RM
42076 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42077 * sysdeps/x86_64/setjmp.S: Likewise.
42078 * sysdeps/i386/bsd-setjmp.S: Likewise.
42079 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42080 * sysdeps/i386/setjmp.S: Likewise.
42081 * sysdeps/i386/__longjmp.S: Likewise.
42082 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42084
3a097cc7
RM
42085 * include/stap-probe.h: New file.
42086 * configure.in: Handle --enable-systemtap.
42087 * configure: Regenerated.
42088 * config.h.in (USE_STAP_PROBE): New #undef.
42089 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42090 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42091 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42092
21708942
JM
420932012-05-25 Joseph Myers <joseph@codesourcery.com>
42094
42095 [BZ #13717]
42096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42097 to 2.4.0 where earlier.
42098 * sysdeps/unix/sysv/linux/configure: Regenerated.
42099 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42100 <kernel-features.h>.
42101 [__ASSUME_32BITUIDS]: Make code unconditional.
42102 [!__ASSUME_32BITUIDS]: Remove conditional code.
42103 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42104 <kernel-features.h>.
42105 [__ASSUME_32BITUIDS]: Make code unconditional.
42106 [!__ASSUME_32BITUIDS]: Remove conditional code.
42107 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42108 [__ASSUME_32BITUIDS]: Make code unconditional.
42109 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42110 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42111 <kernel-features.h>.
42112 [__ASSUME_32BITUIDS]: Make code unconditional.
42113 [!__ASSUME_32BITUIDS]: Remove conditional code.
42114 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42115 <kernel-features.h>.
42116 [__ASSUME_32BITUIDS]: Make code unconditional.
42117 [!__ASSUME_32BITUIDS]: Remove conditional code.
42118 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42119 <kernel-features.h>.
42120 [__ASSUME_32BITUIDS]: Make code unconditional.
42121 [!__ASSUME_32BITUIDS]: Remove conditional code.
42122 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42123 <kernel-features.h>.
42124 [__ASSUME_32BITUIDS]: Make code unconditional.
42125 [!__ASSUME_32BITUIDS]: Remove conditional code.
42126 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42127 <kernel-features.h>.
42128 [__ASSUME_32BITUIDS]: Make code unconditional.
42129 [!__ASSUME_32BITUIDS]: Remove conditional code.
42130 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42131 <kernel-features.h>.
42132 [__ASSUME_32BITUIDS]: Make code unconditional.
42133 [!__ASSUME_32BITUIDS]: Remove conditional code.
42134 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42135 <kernel-features.h>.
42136 [__ASSUME_32BITUIDS]: Make code unconditional.
42137 [!__ASSUME_32BITUIDS]: Remove conditional code.
42138 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42139 <kernel-features.h>.
42140 [__ASSUME_32BITUIDS]: Make code unconditional.
42141 [!__ASSUME_32BITUIDS]: Remove conditional code.
42142 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42143 <kernel-features.h>.
42144 [__ASSUME_32BITUIDS]: Make code unconditional.
42145 [!__ASSUME_32BITUIDS]: Remove conditional code.
42146 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42147 <kernel-features.h>.
42148 [__ASSUME_32BITUIDS]: Make code unconditional.
42149 [!__ASSUME_32BITUIDS]: Remove conditional code.
42150 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42151 <kernel-features.h>.
42152 [__NR_setresgid] (__setresgid): Do not declare.
42153 [__ASSUME_32BITUIDS]: Make code unconditional.
42154 [!__ASSUME_32BITUIDS]: Remove conditional code.
42155 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42156 <kernel-features.h>.
42157 [__NR_setresuid] (__setresuid): Do not declare.
42158 [__ASSUME_32BITUIDS]: Make code unconditional.
42159 [!__ASSUME_32BITUIDS]: Remove conditional code.
42160 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42161 <kernel-features.h>.
42162 [__ASSUME_32BITUIDS]: Make code unconditional.
42163 [!__ASSUME_32BITUIDS]: Remove conditional code.
42164 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42165 <kernel-features.h>.
42166 [__ASSUME_32BITUIDS]: Make code unconditional.
42167 [!__ASSUME_32BITUIDS]: Remove conditional code.
42168 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42169 <kernel-features.h>.
42170 [__ASSUME_32BITUIDS]: Make code unconditional.
42171 [!__ASSUME_32BITUIDS]: Remove conditional code.
42172 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42173 <kernel-features.h>.
42174 [__ASSUME_32BITUIDS]: Make code unconditional.
42175 [!__ASSUME_32BITUIDS]: Remove conditional code.
42176 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42177 <kernel-features.h>.
42178 [__ASSUME_32BITUIDS]: Make code unconditional.
42179 [!__ASSUME_32BITUIDS]: Remove conditional code.
42180 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42181 <kernel-features.h>.
42182 [__ASSUME_32BITUIDS]: Make code unconditional.
42183 [!__ASSUME_32BITUIDS]: Remove conditional code.
42184 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42185 <kernel-features.h>.
42186 [__ASSUME_32BITUIDS]: Make code unconditional.
42187 [!__ASSUME_32BITUIDS]: Remove conditional code.
42188 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42189 <kernel-features.h>.
42190 [__ASSUME_32BITUIDS]: Make code unconditional.
42191 [!__ASSUME_32BITUIDS]: Remove conditional code.
42192 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42193 <kernel-features.h>.
42194 [__ASSUME_32BITUIDS]: Make code unconditional.
42195 [!__ASSUME_32BITUIDS]: Remove conditional code.
42196 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42197 <kernel-features.h>.
42198 [__ASSUME_32BITUIDS]: Make code unconditional.
42199 [!__ASSUME_32BITUIDS]: Remove conditional code.
42200 * sysdeps/unix/sysv/linux/kernel-features.h
42201 (__ASSUME_SETRESUID_SYSCALL): Remove.
42202 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42203 (__ASSUME_32BITUIDS): Likewise.
42204 (__ASSUME_LDT_WORKS): Likewise.
42205 (__ASSUME_O_DIRECTORY): Likewise.
42206 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42207 architecture but not kernel version.
42208 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42209 (__ASSUME_MMAP2_SYSCALL): Likewise.
42210 (__ASSUME_STAT64_SYSCALL): Likewise.
42211 (__ASSUME_IPC64): Likewise.
42212 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42213 <kernel-features.h>.
42214 [__ASSUME_32BITUIDS]: Make code unconditional.
42215 [!__ASSUME_32BITUIDS]: Remove conditional code.
42216 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42217 <kernel-features.h>.
42218 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42219 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42220 132096]: Remove conditional code.
42221 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42222 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42223 <kernel-features.h>.
42224 [__ASSUME_32BITUIDS]: Make code unconditional.
42225 [!__ASSUME_32BITUIDS]: Remove conditional code.
42226 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42227 <kernel-features.h>.
42228 [__ASSUME_32BITUIDS]: Make code unconditional.
42229 [!__ASSUME_32BITUIDS]: Remove conditional code.
42230 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42231 <kernel-features.h>.
42232 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42233 unconditional.
42234 (__setresgid): Do not declare.
42235 [__ASSUME_32BITUIDS]: Make code unconditional.
42236 [!__ASSUME_32BITUIDS]: Remove conditional code.
42237 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42238 <kernel-features.h>.
42239 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42240 unconditional.
42241 (__setresuid): Do not declare.
42242 [__ASSUME_32BITUIDS]: Make code unconditional.
42243 [!__ASSUME_32BITUIDS]: Remove conditional code.
42244 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42245 <kernel-features.h>.
42246 [__ASSUME_32BITUIDS]: Make code unconditional.
42247 [!__ASSUME_32BITUIDS]: Remove conditional code.
42248 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42249 <kernel-features.h>.
42250 [__ASSUME_32BITUIDS]: Make code unconditional.
42251 [!__ASSUME_32BITUIDS]: Remove conditional code.
42252
a386f1cc
RH
422532012-05-25 Richard Henderson <rth@twiddle.net>
42254
42255 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42256 dl_hwcap to ifunc resolver.
42257 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42258 elf_ifunc_invoke.
42259 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42260 dl_hwcap to ifunc resolver.
42261 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42262
b6550497
JM
422632012-05-24 Joseph Myers <joseph@codesourcery.com>
42264
42265 [BZ #14153]
42266 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42267 for |x| <= 2**-26, not 2**-57.
42268 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42269 exception.
42270
b0bc23a1
JL
422712012-05-24 Jeff Law <law@redhat.com>
42272
42273 * stdio-common/Makefile (tests): Add bug25.
42274 * stdio-common/bug25.c: New test.
42275
347c92e9
L
422762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42277
42278 [BZ #13576]
42279 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42280 multiple of MALLOC_ALIGNMENT in size.
42281 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42282
6bcc8b3f
JM
422832012-05-24 Joseph Myers <joseph@codesourcery.com>
42284
42285 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42286 Require >= 256.
42287 (FILENAME_MAX): Use macro-int-constant.
42288 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42289 (_IOFBF): Use macro-int-constant.
42290 (_IOLBF): Likewise.
42291 (_IONBF): Likewise.
42292 (SEEK_CUR): Likewise.
42293 (SEEK_END): Likewise.
42294 (SEEK_SET): Likewise.
42295 (TMP_MAX): Likewise.
42296 (EOF): Use macro-int-constant. Require < 0.
42297 (NULL): Use macro-constant. Require == 0.
42298 (stdin): Require type to be FILE *.
42299 (stdout): Likewise.
42300 (stderr): Likewise.
42301 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42302 macro-int-constant.
42303 (EXIT_SUCCESS): Likewise.
42304 (NULL): Use macro-constant. Require == 0.
42305 (RAND_MAX): Use macro-int-constant.
42306 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42307 [C99-based standards] (strtof): Require function.
42308 [C99-based standards] (strtold): Likewise.
42309 [C99-based standards] (strtoll): Likewise.
42310 [C99-based standards] (strtoull): Likewise.
42311 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42312 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42313 [ISO || ISO99 || ISO11] (math.h): Likewise.
42314 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42315 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42317
d18ea0c5
AS
423182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42319
42320 [BZ #14132]
56d25bb8
AS
42321 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42322 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42323 * intl/dgettext.c (DCGETTEXT): Likewise.
42324 * intl/gettext.c (DCGETTEXT): Likewise.
42325 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42326 * posix/regex_internal.h (gettext): Likewise.
42327 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42328 Remove declaration.
42329 * include/argz.h (__argz_count_internal)
42330 (__argz_stringify_internal): Remove declaration.
42331 (__argz_count, __argz_stringify): Declare hidden proto.
42332 * intl/dcgettext.c: Remove use of INTDEF.
42333 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42334 * string/argz-stringify.c: Likewise.
42335 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42336 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42337 Declare hidden proto.
d18ea0c5
AS
42338 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42339 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42340 Declare hidden proto.
42341 * include/stdio.h (__asprintf_internal): Don't declare.
42342 (__asprintf): Don't define as macro. Declare hidden proto.
42343 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42344 (__fsetlocking): Declare hidden proto.
42345 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42346 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42347 hidden proto.
42348 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42349 (_IO_setlinebuf): Remove use of INTUSE.
42350 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42351 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42352 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42353 Remove declaration.
42354 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42355 (_IO_do_flush): Remove use of INTUSE.
42356 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42357 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42358 (_IO_adjust_column, _IO_least_wmarker)
42359 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42360 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42361 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42362 (_IO_default_doallocate, _IO_wdefault_doallocate)
42363 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42364 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42365 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42366 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42367 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42368 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42369 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42370 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42371 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42372 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42373 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42374 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42375 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42376 proto.
42377 (_IO_flush_all_internal, _IO_adjust_column_internal)
42378 (_IO_default_uflow_internal, _IO_default_finish_internal)
42379 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42380 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42381 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42382 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42383 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42384 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42385 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42386 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42387 (_IO_file_close_internal, _IO_file_close_it_internal)
42388 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42389 (_IO_file_init_internal, _IO_file_attach_internal)
42390 (_IO_file_fopen_internal, _IO_file_read_internal)
42391 (_IO_file_sync_internal, _IO_file_seek_internal)
42392 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42393 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42394 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42395 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42396 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42397 (_IO_list_all_internal, _IO_link_in_internal)
42398 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42399 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42400 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42401 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42402 (_IO_do_write_internal, _IO_padn_internal)
42403 (_IO_getline_info_internal, _IO_getline_internal)
42404 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42405 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42406 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42407 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42408 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42409 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42410 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42411 with libc_hidden_ver, remove use of INTUSE.
42412 * libio/genops.c: Likewise.
42413 * libio/freopen.c: Likewise.
42414 * libio/freopen64.c: Likewise.
42415 * libio/iofclose.c: Likewise.
42416 * libio/iofdopen.c: Likewise.
42417 * libio/iofflush.c: Likewise.
42418 * libio/iofflush_u.c: Likewise.
42419 * libio/iofgets.c: Likewise.
42420 * libio/iofgets_u.c: Likewise.
42421 * libio/iofopen.c: Likewise.
42422 * libio/iofopncook.c: Likewise.
42423 * libio/iofread.c: Likewise.
42424 * libio/iofread_u.c: Likewise.
42425 * libio/ioftell.c: Likewise.
42426 * libio/iofwrite.c: Likewise.
42427 * libio/iogetline.c: Likewise.
42428 * libio/iogets.c: Likewise.
42429 * libio/iogetwline.c: Likewise.
42430 * libio/iopadn.c: Likewise.
42431 * libio/iopopen.c: Likewise.
42432 * libio/ioseekoff.c: Likewise.
42433 * libio/ioseekpos.c: Likewise.
42434 * libio/iosetbuffer.c: Likewise.
42435 * libio/iosetvbuf.c: Likewise.
42436 * libio/ioungetc.c: Likewise.
42437 * libio/ioungetwc.c: Likewise.
42438 * libio/iovdprintf.c: Likewise.
42439 * libio/iovsprintf.c: Likewise.
42440 * libio/iovsscanf.c: Likewise.
42441 * libio/memstream.c: Likewise.
42442 * libio/obprintf.c: Likewise.
42443 * libio/oldfileops.c: Likewise.
42444 * libio/oldiofclose.c: Likewise.
42445 * libio/oldiofdopen.c: Likewise.
42446 * libio/oldiofopen.c: Likewise.
42447 * libio/oldiopopen.c: Likewise.
42448 * libio/oldstdfiles.c: Likewise.
42449 * libio/putc.c: Likewise.
42450 * libio/setbuf.c: Likewise.
42451 * libio/setlinebuf.c: Likewise.
42452 * libio/stdfiles.c: Likewise.
42453 * libio/strops.c: Likewise.
42454 * libio/vasprintf.c: Likewise.
42455 * libio/vscanf.c: Likewise.
42456 * libio/vsnprintf.c: Likewise.
42457 * libio/vswprintf.c: Likewise.
42458 * libio/wfiledoalloc.c: Likewise.
42459 * libio/wfileops.c: Likewise.
42460 * libio/wgenops.c: Likewise.
42461 * libio/wmemstream.c: Likewise.
42462 * libio/wstrops.c: Likewise.
42463 * libio/__fpurge.c: Likewise.
42464 * libio/__fsetlocking.c: Likewise.
42465 * assert/assert.c: Likewise.
42466 * debug/fgets_chk.c: Likewise.
42467 * debug/fgets_u_chk.c: Likewise.
42468 * debug/fread_chk.c: Likewise.
42469 * debug/fread_u_chk.c: Likewise.
42470 * debug/gets_chk.c: Likewise.
42471 * debug/obprintf_chk.c: Likewise.
42472 * debug/vasprintf_chk.c: Likewise.
42473 * debug/vdprintf_chk.c: Likewise.
42474 * debug/vsnprintf_chk.c: Likewise.
42475 * debug/vsprintf_chk.c: Likewise.
42476 * malloc/mtrace.c: Likewise.
42477 * misc/error.c: Likewise.
42478 * misc/syslog.c: Likewise.
42479 * stdio-common/asprintf.c: Likewise.
42480 * stdio-common/fxprintf.c: Likewise.
42481 * stdio-common/getw.c: Likewise.
42482 * stdio-common/isoc99_fscanf.c: Likewise.
42483 * stdio-common/isoc99_scanf.c: Likewise.
42484 * stdio-common/isoc99_vfscanf.c: Likewise.
42485 * stdio-common/isoc99_vscanf.c: Likewise.
42486 * stdio-common/isoc99_vsscanf.c: Likewise.
42487 * stdio-common/printf-prs.c: Likewise.
42488 * stdio-common/printf_fp.c: Likewise.
42489 * stdio-common/printf_fphex.c: Likewise.
42490 * stdio-common/printf_size.c: Likewise.
42491 * stdio-common/putw.c: Likewise.
42492 * stdio-common/scanf.c: Likewise.
42493 * stdio-common/sprintf.c: Likewise.
42494 * stdio-common/tmpfile.c: Likewise.
42495 * stdio-common/vfprintf.c: Likewise.
42496 * stdio-common/vfscanf.c: Likewise.
42497 * stdlib/strfmon_l.c: Likewise.
42498 * sunrpc/openchild.c: Likewise.
42499 * sunrpc/xdr_stdio.c: Likewise.
42500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42501 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42502
d6c33fda
RM
425032012-05-24 Roland McGrath <roland@hack.frob.com>
42504
c1487492
RM
42505 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42506
42507 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42508 in the third column, to generate for the shared library an IFUNC
42509 that uses _dl_vdso_vsym.
42510 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42511 * Makeconfig (object-suffixes-noshared): New variable.
42512
42513 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42514 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42515 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42516 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42517
d6c33fda
RM
42518 [BZ #14132]
42519 * include/sys/time.h (__gettimeofday): Remove macro.
42520 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42521 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42522 Remove INTDEF.
42523 (__gettimeofday): Add libc_hidden_def.
42524 (gettimeofday): Add libc_hidden_weak.
42525 * sysdeps/mach/gettimeofday.c: Likewise.
42526 * sysdeps/posix/gettimeofday.c: Likewise.
42527 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42528 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42530 (__gettimeofday_internal): Remove strong_alias.
42531 (__gettimeofday): Add libc_hidden_def.
42532 (gettimeofday): Add libc_hidden_weak.
42533 * sysdeps/unix/syscalls.list (gettimeofday):
42534 Remove __gettimeofday_internal alias.
42535
b5a2bbe6
L
425362012-05-24 Daniel Jacobowitz <drow@false.org>
42537 H.J. Lu <hongjiu.lu@intel.com>
42538
42539 [BZ #12495]
42540 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42541 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42542 (largebin_index_32_big): New.
42543 (largebin_index): Use it for 16-byte alignment.
42544 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42545 correction with front_misalign.
42546
cfba4fda
L
425472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42548
7f907421
L
42549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42551 Likewise.
42552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42553 Likewise.
42554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42555 Likewise.
42556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42557 Likewise.
42558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42559 Likewise.
42560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42561 Likewise.
42562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42563 Likewise.
42564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42565 Likewise.
42566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42567 Likewise.
42568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42569 Likewise.
42570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42571 Likewise.
42572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42573 Likewise.
42574
cfba4fda
L
42575 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42576 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42577
80bad0cc
JM
425782012-05-24 Joseph Myers <joseph@codesourcery.com>
42579
7a25eb06
JM
42580 [BZ #10846]
42581 [BZ #14036]
42582 * math/libm-test.inc (exp_test): Add test from bug 14036.
42583 (pow_test): Add test from bug 10846.
42584
795405f9
JM
42585 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42586 and other flags.
42587 (special_function): Do not include flags in test name.
42588 (parse_args): Likewise.
42589 * sysdeps/i386/fpu/libm-test-ulps: Update.
42590 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42591 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42594
80bad0cc
JM
42595 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42596 exceptions.
42597 * math/libm-test.inc ("Philosophy"): Update comment about
42598 exception testing.
42599 (UNDERFLOW_EXCEPTION): New macro.
42600 (UNDERFLOW_EXCEPTION_OK): Likewise.
42601 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42602 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42603 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42604 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42605 (INVALID_EXCEPTION_OK): Update value.
42606 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42607 (OVERFLOW_EXCEPTION_OK): Likewise.
42608 (IGNORE_ZERO_INF_SIGN): Likewise.
42609 (test_exceptions): Handle underflow exceptions.
42610 (acos_test): Update for underflow exception expectations.
42611 (cexp_test): Likewise.
42612 (clog_test): Likewise.
42613 (clog10_test): Likewise.
42614 (csqrt_test): Likewise.
42615 (ctan_test): Likewise.
42616 (ctanh_test): Likewise.
42617 (exp_test): Likewise.
42618 (exp10_test): Likewise.
42619 (exp2_test): Likewise.
42620 (expm1_test): Likewise.
42621 (fma_test): Likewise.
42622 (j0_test): Likewise.
42623 (jn_test): Likewise.
42624 (nexttoward_test): Likewise.
42625 (pow_test): Likewise.
42626 (scalbn_test): Likewise.
42627 (scalbln_test): Likewise.
42628 (tan_test): Likewise.
42629 (y1_test): Likewise.
42630 * sysdeps/i386/fpu/libm-test-ulps: Update.
42631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42632
9e0e3d0b
DM
426332012-05-23 David S. Miller <davem@davemloft.net>
42634
42635 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42636 (__libc_sigaction): Remove unused local variables.
42637
ccd0a08f
L
426382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42639
42640 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42641
62bdf9a6
PE
426422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42643
f8591f80
PE
42644 mktime: avoid signed integer overflow
42645 * time/mktime.c (__mktime_internal): Do not mishandle the case
42646 where diff == INT_MIN.
42647
94c7d826
PE
42648 mktime: simplify computation of average
42649 * time/mktime.c (ranged_convert): Use new time_t_avg function
42650 instead of rolling our own (probably-slower) code.
42651
ce73d683
PE
42652 mktime: do not assume signed right shift propagates sign bit
42653 * time/mktime.c (isdst_differ): New static function.
42654 (__mktime_internal): No need to normalize tm_isdst now.
42655 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42656 tm_isdst values.
42657
72a22e59
PE
42658 mktime: merge another wrapv change from gnulib
42659 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42660 from some compilers.
42661
68605433
PE
42662 mktime: remove incorrect attempt at unusual arithmetics
42663 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42664 The code didn't really work on such machines anyway.
42665 (TYPE_MINIMUM): Assume two's complement.
42666 (twos_complement_arithmetic): Verify that long_int and time_t
42667 are two's complement (or unsigned, in the latter case).
42668
03cf7fe3
PE
42669 mktime: check signed shifts on long_int and time_t, too
42670 * time/mktime.c (SHR): Check that shifts work as desired
42671 on the types long_int and time_t too, as SHR is used on
42672 such types.
42673
f04dfbc2
PE
42674 mktime: do not assume 'long' is wide enough
42675 * time/mktime.c (verify): Move decl up.
42676 (long_int): New type.
42677 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42678 to remove assumption in the code that 'long' is wide enough to
42679 store year values. This assumption is not true on x32 and on
42680 some non-glibc platforms.
42681
62bdf9a6
PE
42682 mktime: merge wrapv change from gnulib
42683 * time/mktime.c (WRAPV): New macro.
42684 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42685 (guess_time_tm, __mktime_internal): Do not assume that signed
42686 integer overflow wraps around; modern compilers generate code
42687 where this assumption is no longer valid.
42688
5e292e4f
L
426892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42690
42691 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42692 Replace "jmp L(pseudo_end)" with "ret".
42693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42694 Likewise.
42695
8caf8c87
AJ
426962012-05-23 Andreas Jaeger <aj@suse.de>
42697
42698 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42699 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42700
1a09dc56
AJ
427012012-05-23 Andreas Jaeger <aj@suse.de>
42702 Maximilian Attems <max@stro.at>
42703
42704 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42705 New macros.
42706
1c87aba0
L
427072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42708
42709 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42710 code so that pseudo_end is just ret and the stack pointer is
42711 correct also for static library in error case.
42712
40e45bd5
JM
427132012-05-23 Joseph Myers <joseph@codesourcery.com>
42714
c2670533
JM
42715 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42716 move to syscalls.list.
42717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42721
40e45bd5
JM
42722 * manual/install.texi (Running make install): Do not mention Linux
42723 kernel version for which pt_chown is not needed.
42724 (Linux): Do not mention problems with nscd with 2.0 kernels.
42725 * INSTALL: Regenerated.
42726
be08eda5
AJ
427272012-05-23 Andreas Jaeger <aj@suse.de>
42728
42729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42730 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42731 macro.
42732 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42733 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42734 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42735 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42736 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42737 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42738 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42739 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42740 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42741 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42742 * sysdeps/unix/sysv/linux/bits/in.h
42743 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42744
a6a056bb
RM
427452012-05-22 Roland McGrath <roland@hack.frob.com>
42746
42747 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42748 (PREPARE_VERSION): Just use assert instead, it will be elided
42749 under [NDEBUG] anyway.
42750
c9009328
L
427512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42752
42753 * sysdeps/unix/sysv/linux/Makefile: Include
42754 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42755 (sysdep_routines): Remove sysctl.
c9009328
L
42756 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42757 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42758 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42760 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42761
73338355
AJ
427622012-05-22 Andreas Jaeger <aj@suse.de>
42763
42764 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42765 that pseudo_end is just ret and the stack pointer is correct also
42766 for static library in error case.
42767
d44638b0
PP
427682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42769
42770 [BZ #14122]
42771 * nss/nsswitch.c (defconfig_entries): New variable.
42772 (__nss_database_lookup): Don't leak defconfig entries.
42773 (nss_parse_service_list): Don't leak on error paths.
42774 (free_database_entries): New function.
42775 (free_defconfig): New function.
42776 (free_mem): Move common code to free_database_entries.
42777
31a39bd8
L
427782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42779
da0331a8
L
42780 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42781 Add arch_prctl.
42782 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42783
31a39bd8
L
42784 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42785 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42787 New macro.
42788 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42789 (INTERNAL_SYSCALL_TYPES): Likewise.
42790 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42791 (LOAD_REGS_TYPES_[1-6]): Likewise.
42792 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42793 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42794
45470df3
AZ
427952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42796
42797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42798 copysignl for GLIBC_2_0.
42799 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42800 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42802 logbl for GLIBC_2_0.
42803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42804 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42805
98a61bcb
L
428062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42807
a4f6e481
L
42808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42809 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42810
f63d5db6
L
42811 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42812 Use "neg %eax".
42813
98a61bcb
L
42814 * time/mktime.c: Update copyright years.
42815
95770f14
PE
428162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42817
6226efbd
PE
42818 mktime: merge comment-quoting-style change from gnulib
42819 * time/mktime.c: Quote 'like this' in comments.
42820 The GNU coding standards suggest that we no longer quote `like this',
42821 as "`" and "'" are typically rendered asymmetrically nowadays.
42822 The typical gnulib style is to quote 'like this' when quoting
42823 code, and "like this" when quoting English.
42824
b99e4f78
PE
42825 * time/mktime.c (compile-command): Add "-I.".
42826
643e01e6
PE
42827 mktime: merge mktime-internal.h change from gnulib
42828 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42829
2554247d
PE
42830 mktime: merge time_r change from gnulib
42831 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42832
826dd0ab
PE
42833 mktime: merge DEBUG change from gnulib
42834 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42835 case system <time.h> has a #define.
42836
bd83aabe
PE
42837 mktime: merge <sys/types.h> change from gnulib
42838 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42839 since <time.t> is now guaranteed to define time_t.
42840
95770f14
PE
42841 mktime: merge HAVE_CONFIG_H change from gnulib
42842 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42843
5e1a27a9
L
428442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42845
0e44a77e
L
42846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42847 Use "neg %eax".
42848
5e1a27a9
L
42849 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42850 __rlim_t cast.
42851 (struct rusage): Use anonymous union to pad each field to
42852 __syscall_slong_t.
42853
46259bec
DM
428542012-05-21 David S. Miller <davem@davemloft.net>
42855
42856 * Makefules (o-iterator): Remove .s cases.
42857 (compile-command.s): Delete.
42858 (COMPILE.s): Delete.
42859 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42860
59f0c22e
JM
428612012-05-21 Joseph Myers <joseph@codesourcery.com>
42862
42863 * configure.in (libc_cv_predef_stack_protector): Only consider
42864 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42865 * configure: Regenerated.
42866
20c07380
L
428672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42868
bbb3154b
L
42869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42870 New macro. Use R*LP on int and pointer.
42871 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42872 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42873 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42874 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42875
20c07380
L
42876 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42877 [__WORDSIZE_TIME64_COMPAT32] instead of
42878 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42879 (struct utmp): Likewise.
42880 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42881 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42882 Renamed to ...
42883 (__WORDSIZE_TIME64_COMPAT32): This.
42884 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42885 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42886 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42887 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42888 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42889 (__WORDSIZE_TIME64_COMPAT32): New macro.
42890
d8d1017e
AJ
428912012-05-21 Andreas Jaeger <aj@suse.de>
42892
42893 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42894 only if [SHARED]. Add prototype for __wcschr_ia32.
42895
6c7fb145
RM
428962012-05-21 Roland McGrath <roland@hack.frob.com>
42897
42898 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42899 of %rbp unmolested in the jmp_buf while mangling the low bits.
42900 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42901 unmolested high bits of %rbp while demangling the low bits.
42902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42903
66274218
AJ
429042012-05-21 Andreas Jaeger <aj@suse.de>
42905
07c58f8f
AJ
42906 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42907 * sunrpc/svc_simple.c: Use it for registerrpc.
42908 * sunrpc/xcrypt.c: Use it for passwd2des.
42909
66274218
AJ
42910 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42911
61f65140
L
429122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42913
42914 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42915 Don't define if [__SYSCALL_WORDSIZE != 32].
42916 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42917 New macro.
42918
5fefb436
AJ
429192012-05-21 Bruno Haible <bruno@clisp.org>
42920 Andreas Jaeger <aj@suse.de>
42921
42922 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42923 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42924 inptr and inend for must_buffer_ch.
42925 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42926 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42927 * stdio-common/Makefile (tests): Remove bug15.
42928 (bug15-ENV): Remove macro.
42929 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42930 anymore.
42931
d8e272ab
AJ
429322012-05-19 Andreas Jaeger <aj@suse.de>
42933 Roland McGrath <roland@hack.frob.com>
42934
42935 * manual/contrib.texi: Completely rewritten. It contains now an
42936 alphabetical list of contributors and their contributions.
42937
4a56a162
RH
429382012-05-21 Richard Henderson <rth@twiddle.net>
42939
42940 * misc/getauxval.c (__getauxval): Use unsigned long int.
42941 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42942 (getauxval): Use unsigned long int.
42943
d024d23c
L
429442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42945
42946 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42947
cbc00a03
RM
429482012-05-21 Roland McGrath <roland@hack.frob.com>
42949
42950 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42951 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42952 __alignof__ (long double).
42953
478143fa
AZ
429542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42955
42956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42957
c7683a6d
RH
429582012-05-20 Richard Henderson <rth@twiddle.net>
42959
42960 * misc/getauxval.c: New file.
42961 * misc/sys/auxv.h: New file.
42962 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42963 (routines): Add getauxval.
42964 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42965 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42966 * elf/dl-sysdep.c (_dl_auxv): Remove.
42967 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42968 * elf/dl-support.c (_dl_auxv): New variable.
42969 (_dl_aux_init): Initialize it.
42970 * manual/startup.texi (Auxiliary Vector): New node.
42971 * sysdeps/generic/bits/hwcap.h: New file.
42972 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42973 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42974 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42975 * sysdeps/sparc/sysdep.h: ... here. Include it.
42976 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42979 Update.
c7683a6d
RH
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42988
a6f1845d
AZ
429892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42990
42991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42992
cbcbe830
DM
429932012-05-19 David S. Miller <davem@davemloft.net>
42994
42995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42996
e0b16cc2
JM
429972012-05-19 Joseph Myers <joseph@codesourcery.com>
42998
42999 [BZ #14123]
43000 * math/s_ccosh.c: Include <float.h>
43001 (__ccosh): Avoid internal overflow calculating sinh and cosh
43002 values before multiplying by sin and cos values.
43003 * math/s_ccoshf.c: Likewise.
43004 * math/s_ccoshl.c: Likewise.
43005 * math/s_csin.c: Likewise.
43006 * math/s_csinf.c: Likewise.
43007 * math/s_csinl.c: Likewise.
43008 * math/s_csinh.c: Likewise.
43009 * math/s_csinhf.c: Likewise.
43010 * math/s_csinhl.c: Likewise.
43011 * math/libm-test.inc (ccos_test): Add more tests.
43012 (ccosh_test): Likewise.
43013 (csin_test): Likewise.
43014 (csinh_test): Likewise.
43015 * sysdeps/i386/fpu/libm-test-ulps: Update.
43016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43017
6ad13e08
L
430182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43019
f66f0ce8
L
43020 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43021 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43022
6ad13e08
L
43023 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43024
b1d072a7
JM
430252012-05-19 Joseph Myers <joseph@codesourcery.com>
43026
43027 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43028 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43029 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43030 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43031 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43032 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43033 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43034 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43035 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43036 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43037 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43038 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43039 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43040 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43041 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43042 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43043 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43044 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43045 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43046 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43047 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43048 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43049 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43050 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43051 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43052 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43053 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43054 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43055 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43056 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43057 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43058
9eae47cb
AJ
430592012-05-18 Andreas Jaeger <aj@suse.de>
43060
43061 * csu/.gitignore: Delete.
43062
bb07f69f
L
430632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43064
43065 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43066 (timex): Use __syscall_slong_t.
43067
e6bdb741
AJ
430682012-05-18 Andreas Jaeger <aj@suse.de>
43069 Carlos O'Donell <carlos_odonell@mentor.com>
43070
43071 * manual/install.texi (Configuring and compiling): Update
43072 description about files modified in the source directory.
d6c33fda 43073 * INSTALL: Regenerated.
e6bdb741 43074
1b74487e
L
430752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43076
43077 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43078 value. Use "or" to set return value to -1.
43079 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43080 negate return value.
43081
a88b64b9
TMQMF
430822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43083
57f41c40
AS
43084 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43085 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43086 failure if the compiler has Graphite support disabled.
43087 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43088 Likewise.
57f41c40
AS
43089 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43090 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43092 Likewise.
43093
3707636e
L
430942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43095
610b8622
L
43096 * sysdeps/x86_64/x32/_itoa.h: New file.
43097
7cd195df
L
43098 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43099 getdents system call only if kernel and user dirents have the
43100 same d_ino and d_off.
43101
94b07d20
L
43102 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43103 LLONG_MAX != LONG_MAX.
43104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43105 (_fitoa_word): Likewise.
43106
18298070
L
43107 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43108 years.
43109 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43110 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43111 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43112
553c7ea4
L
43113 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43114 include <bits/wordsize.h>. Check __x86_64__ instead of
43115 __WORDSIZE.
43116 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43117 if __x86_64__ is defined. Use anonymous union on fpstate.
43118
3707636e
L
43119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43120 anonymous union.
43121
b53ef01a
AS
431222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43123
37fb1dc0
AS
43124 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43125 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43126 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43127 Refer to _rtld_local_ro instead of _rtld_global_ro.
43128 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43129 Likewise.
43130 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43131 Likewise.
43132 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43133 Likewise.
43134 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43135 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43136 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43137
b53ef01a
AS
43138 * sysdeps/powerpc/powerpc32/dl-machine.c
43139 (__elf_machine_runtime_setup) [PROF]: Don't reference
43140 _dl_prof_resolve.
43141
7a185db2
AJ
431422012-05-18 Andreas Jaeger <aj@suse.de>
43143
43144 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43145 function only available for GCCs before 3.4 since GCC 3.4
43146 introduced a builtin.
43147 (lrint): Likewise.
43148 (llrintf): Likewise.
43149 (llrint): Likewise.
43150 (fmaxf): Likewise.
43151 (fmax): Likewise.
43152 (fminf): Likewise.
43153 (fmin): Likewise.
43154 (rint): Likewise.
43155 (rintf): Likewise.
43156 (nearbyint): Likewise.
43157 (nearbyintf): Likewise.
43158 (ceil): Likewise.
43159 (ceilf): Likewise.
43160 (floor): Likewise.
43161 (floorf): Likewise.
43162
3e5aef87
L
431632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43164
428bd707
L
43165 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43166 on both fields and cast pointer to __syscall_ulong_t.
43167
3e5aef87
L
43168 * bits/types.h (__fsword_t): New type.
43169 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43170 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43171 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43172 (__FSWORD_T_TYPE): Likewise.
43173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43174 (__FSWORD_T_TYPE): Likewise.
43175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43176 (__FSWORD_T_TYPE): Likewise.
43177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43178 (__FSWORD_T_TYPE): Likewise.
43179 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43180 __SWORD_TYPE with __fsword_t.
43181 (statfs64): Likewise.
43182
1ba7c3dc
DM
431832012-05-17 David S. Miller <davem@davemloft.net>
43184
43185 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43186
59910343
AJ
431872012-05-17 Andreas Jaeger <aj@suse.de>
43188
43189 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43190 warning.
43191
2e4c1e9e
L
431922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43193
43194 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43195
de7f5ce7
AJ
431962012-05-17 Andreas Jaeger <aj@suse.de>
43197
43198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43199 when it is used.
43200
286abc3d
CM
432012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43202
43203 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43204
477cc68e
L
432052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43206
43207 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43208 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43209
1a0994f5
CD
432102012-05-17 Andreas Jaeger <aj@suse.de>
43211 Carlos O'Donell <carlos_odonell@mentor.com>
43212
43213 [BZ #14059]
43214 * sysdeps/x86_64/multiarch/init-arch.h
43215 (bit_YMM_Usable): Rename to...
43216 (bit_AVX_Usable): ... this.
43217 (bit_FMA4_Usable): New macro.
43218 (bit_XMM_state): New macro.
43219 (bit_YMM_state): New macro.
43220 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43221 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43222 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43223 (CPUID_OSXSAVE): New macro.
43224 (CPUID_AVX): New macro.
43225 (CPUID_FMA4): New macro.
43226 (index_YMM_Usable): Rename to...
43227 (index_AVX_Usable): ... this.
43228 (HAS_AVX): Use HAS_ARCH_FEATURE.
43229 (HAS_FMA4): Likewise.
43230 (HAS_YMM_USABLE): Remove.
43231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43232 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43233 are present.
43234 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43235 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43236 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43237 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43238 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43239
0af797de
CM
432402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43241
43242 * math/libm-test.c: Support platforms without multiple rounding modes.
43243 * math/bug-nextafter.c: Support platforms without FP exceptions.
43244 * math/bug-nexttoward.c: Likewise.
43245 * math/test-fenv.c: Likewise.
43246 * math/test-misc.c: Likewise.
43247 * stdlib/bug-getcontext.c: Likewise.
43248
e39745ff
AJ
432492012-05-17 Andreas Jaeger <aj@suse.de>
43250
43251 * manual/examples/search.c (critter_cmp): Change signature to
43252 avoid warnings.
43253 * manual/string.texi (Collation Functions): Likewise.
43254
48970aba
L
432552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43256
43257 * bits/types.h: Fold copyright years.
43258 * bits/typesizes.h: Likewise.
43259 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43263 * time/time.h: Likewise.
43264
bedee953
PP
432652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43266
43267 [BZ #208]
43268 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43269 in instead of returning them. Return void.
43270 (__libc_mallinfo): Accumulate over all arenas.
43271 (__malloc_stats): Adjust for change in int_mallinfo interface.
43272
61653dfb
RM
432732012-05-16 Roland McGrath <roland@hack.frob.com>
43274
30b99d79
RM
43275 [BZ #10375]
43276 * configure.in (NM): Add AC_CHECK_TOOL for it.
43277 (libc_extra_cflags): New substituted variable.
43278 Check for -fstack-protector being used implicitly.
43279 * configure: Regenerated.
43280 * config.make.in (config-extra-cflags): New variable,
43281 gets @libc_extra_cflags@.
43282 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43283
61653dfb
RM
43284 [BZ #10375]
43285 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43286 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43287 * configure: Regenerated.
43288 * config.make.in (CPPUNDEFS): New substituted variable.
43289 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43290 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43291 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43292
661768bb
L
432932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43296 (mq_attr): Use __syscall_slong_t.
43297
d4261567
L
432982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43299
43300 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43301 Check __x86_64__ instead of __WORDSIZE.
43302 (_STAT_VER_LINUX): Likewise.
43303 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43304 __syscall_ulong_t and __syscall_slong_t.
43305 (stat64): Likewise.
43306
cf3ff365
L
433072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43308
43309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43310
76cf3e4d
L
433112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43312
43313 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43314
a637753a
L
433152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43316
43317 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43318 __syscall_ulong_t.
43319
d5e05119
L
43320 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43321 include <bits/wordsize.h>. Check __x86_64__ instead of
43322 __WORDSIZE.
43323 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43324 defined.
43325 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43326
f62ee380
L
43327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43328 include <bits/wordsize.h>. Check __x86_64__ instead of
43329 __WORDSIZE.
43330 (user_regs_struct): Use "__extension__ unsigned long long"
43331 instead of "unsigned long" if __x86_64__ is defined.
43332 (user): Likewise. Pad after pointer field if __ILP32__ is
43333 defined.
43334
4e124ced
JM
433352012-05-16 Joseph Myers <joseph@codesourcery.com>
43336
6a3951a0
JM
43337 * configure.in (makeinfo): Require version 4.5 or later. Allow
43338 versions 5 to 9.
43339 * configure: Regenerated.
43340 * manual/install.texi (texinfo): Increase version requirement to
43341 4.5 or later.
43342 * INSTALL: Regenerated.
43343
4e124ced
JM
43344 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43345
953ca31a
L
433462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43347
43348 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43349
617aca05
L
43350 * sysdeps/x86_64/x32/ffs.c: New file.
43351
5762f7ae
L
43352 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43353 __syscall_ulong_t.
43354 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43355 defined. Use __syscall_ulong_t.
43356 (shminfo): Use __syscall_ulong_t.
43357 (shm_info): Likewise.
43358
a26b6856
L
43359 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43360 __syscall_ulong_t.
43361
cb2b9ef7
L
43362 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43363 <bits/wordsize.h>.
43364 (msgqnum_t): Use __syscall_ulong_t.
43365 (msglen_t): Likewise.
43366 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43367 __syscall_ulong_t.
43368
34683bb0
L
43369 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43370 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43371
84a68786
L
43372 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43373
48baa5f1
L
43374 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43375 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43376
180be88b
L
43377 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43378 __syscall_slong_t.
43379
5e90c8ad
L
43380 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43381 include <bits/wordsize.h>. Check __x86_64__ instead of
43382 __WORDSIZE.
43383
23dfb58b
L
43384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43385 "unsigned long long int" if __x86_64__ is defined.
43386 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43387
ce5d54b0
L
43388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43389 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43390 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43391
13dc9eac
L
43392 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43393 <stdint.h>.
43394 (GET_PC): Cast to uintptr_t first.
43395 (GET_FRAME): Likewise.
43396 (GET_STACK): Likewise.
43397
a7895d15
L
43398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43400 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43402 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43404 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43405 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43406 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43408 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43410 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43411 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43412 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43416 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43418 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43420 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43422 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43427
656416c9
AS
434282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43429
5bd66283
AS
43430 * Makerules (+depfiles): Also collect depfiles from .oS in
43431 $(extra-objs).
43432 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43433 .oS, $(libnldbl-routines)).
43434
656416c9
AS
43435 * Makerules (native-compile-mkdep-flags): Define.
43436 * sunrpc/Makefile (extra-objs): Add $(addprefix
43437 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43438 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43439 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43440 calling $(make-target-directory).
43441
a46f2169
L
434422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43443
43444 * bits/types.h (__snseconds_t): Removed.
43445 * time/time.h (struct timespec): Replace __snseconds_t with
43446 __syscall_slong_t.
43447 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43448 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43449 Likewise.
43450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43451 (__SNSECONDS_T_TYPE): Likewise.
43452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43453 (__SNSECONDS_T_TYPE): Likewise.
43454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43455 (__SNSECONDS_T_TYPE): Likewise.
43456
6af6528b
L
434572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43458
43459 * sysdeps/mach/hurd/bits/typesizes.h
43460 (__SYSCALL_SLONG_TYPE): New macro.
43461 (__SYSCALL_ULONG_TYPE): Likewise.
43462
de986b56
L
434632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * bits/types.h (__syscall_slong_t): New type.
43466 (__syscall_ulong_t): Likewise.
43467
43468 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43469 (__SYSCALL_ULONG_TYPE): Likewise.
43470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43471 (__SYSCALL_SLONG_TYPE): Likewise.
43472 (__SYSCALL_ULONG_TYPE): Likewise.
43473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43474 (__SYSCALL_SLONG_TYPE): Likewise.
43475 (__SYSCALL_ULONG_TYPE): Likewise.
43476 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43477 (__SYSCALL_SLONG_TYPE): Likewise.
43478 (__SYSCALL_ULONG_TYPE): Likewise.
43479
85736dc7
L
434802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43481
43482 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43483 Add sigaltstack-offsets.sym.
43484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43485 <sigaltstack-offsets.h>.
43486 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43487 longjmp_msg pointer.
43488 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43489 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43490 signal stack.
43491 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43492
cc03b296
JM
434932012-05-15 Joseph Myers <joseph@codesourcery.com>
43494
a9538892
JM
43495 * elf/stackguard-macros.h: Remove file.
43496 * sysdeps/generic/stackguard-macros.h: New file.
43497 * sysdeps/i386/stackguard-macros.h: Likewise.
43498 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43499 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43500 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43501 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43502 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43503 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43504 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43505 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43506 <elf/stackguard-macros.h>.
43507
cc03b296
JM
43508 [BZ #14109]
43509 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43510 __aligned__ in attribute.
43511 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43512 (gregset_t): Likewise.
43513
93171016
L
435142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43515
43516 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43517 * sysdeps/x86_64/64/Implies-after: Here. New file.
43518 * sysdeps/x86_64/x32/Implies-after: New file.
43519
d86813a0
L
435202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43521
43522 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43523 and access return value for _dl_profile_fixup. Use R10_LP to
43524 load frame size.
43525
2953ec75
L
435262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43527
43528 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43529
3b550e9e
L
435302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43531
43532 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43533 * sysdeps/x86_64/x32/sysdep.h: New file.
43534
eda41706
L
435352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43536
43537 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43538 * sysdeps/x86_64/setjmp.S: Likewise.
43539
9ea01d93
AZ
435402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43541
43542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43544 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43546 remove unused global constant.
43547
02a91938
CM
435482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43549
43550 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43551 include of <not-cancel.h>.
43552
6540185f
RM
435532012-05-15 Roland McGrath <roland@hack.frob.com>
43554
43555 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43556
509072a0
AJ
435572012-05-15 Jeff Law <law@redhat.com>
43558 Andreas Jaeger <aj@suse.de>
43559
43560 [BZ #13594]
43561 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43562 out from...
43563 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43564 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43565 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43566 code changing __hst_map_handle.map.
43567
ba75122d
RM
435682012-05-15 Roland McGrath <roland@hack.frob.com>
43569
43570 * configure.in (sysnames): Look for Implies-before and Implies-after
43571 files.
43572 * configure: Regenerated.
43573
890d8bd8
L
435742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43575
43576 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43577 8-byte data alignment with LP_SIZE alignment.
43578
f6ee6623
L
435792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43580
43581 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43582 into R10_LP.
43583
ea2626f6
L
435842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43587
085f715e
L
435882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43589
43590 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43591 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43592 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43593 Likewise.
43594 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43595
be8498fc
L
435962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43597
43598 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43599 (stackinfo_sub_sp): Likewise.
43600
70bc83b9
L
436012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43602
43603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43604 RAX_LP.
43605
9bc0b730
L
436062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43607
43608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43609 into R*_LP.
43610
6d2850e7
L
436112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43612
43613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43614 sizes into R*_LP.
43615
3cb84561
L
436162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43617
43618 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43619
54e2ed81
L
436202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43621
43622 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43623 into R11_LP and load __x86_64_shared_cache_size_half into
43624 R8_LP.
43625
8a17f349
L
436262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43627
43628 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43629 R8_LP.
43630
777b1eea
AZ
436312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43632
43633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43634 logb for POWER7.
43635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43636 logbf for POWER7.
43637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43638 logbl for POWER7.
43639 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43640 powerpc32/power7/fpu/s_logb.c via #include.
43641 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43642 powerpc32/power7/fpu/s_logbf.c via #include.
43643 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43644 powerpc32/power7/fpu/s_logbl.c via #include.
43645
d20d4ac2
JM
436462012-05-15 Joseph Myers <joseph@codesourcery.com>
43647
43648 * README.libm: Remove file.
43649
6cdef1ab
L
436502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43651
43652 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43653 count for x32. Use R*_LP and omit operand-size suffix.
43654
0b254d8f
L
436552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43656
43657 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43658 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43659 * sysdeps/x86_64/x32/shlib-versions: New file.
43660
ceb809dc
RM
436612012-05-14 Roland McGrath <roland@hack.frob.com>
43662
43663 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43664 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43665 Use _dl_fatal_printf instead.
43666
37f1abd4
JM
436672012-05-14 Joseph Myers <joseph@codesourcery.com>
43668
43669 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43670 set if not set by the user. Do not allow for being unset.
43671 * sysdeps/unix/sysv/linux/configure: Regenerated.
43672
11de3a33
L
436732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43674
43675 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43676 the `q' suffix from lea and replace .quad with ASM_ADDR.
43677
e02f153a
L
436782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43679
43680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43681 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43682 instead of $17.
43683 (PTR_DEMANGLE): Likewise.
43684
520ae0fd
L
436852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43686
43687 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43688 (LP_OP): Likewise.
43689 (ASM_ADDR): Likewise.
43690 (RAX_LP): Likewise.
43691 (RBP_LP): Likewise.
43692 (RBX_LP): Likewise.
43693 (RCX_LP): Likewise.
43694 (RDI_LP): Likewise.
43695 (RSI_LP): Likewise.
43696 (RSP_LP): Likewise.
43697 (R8_LP): Likewise.
43698 (R9_LP): Likewise.
43699 (R10_LP): Likewise.
43700 (R10_LP): Likewise.
43701 (R11_LP): Likewise.
43702 (R12_LP): Likewise.
43703 (R13_LP): Likewise.
43704 (R14_LP): Likewise.
43705 (R15_LP): Likewise.
43706
b985be81
L
437072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43708
43709 * sysdeps/x86_64/x32/dl-machine.h: New file.
43710
6a4888ff
AJ
437112012-05-14 Andreas Jaeger <aj@suse.de>
43712
43713 * manual/Makefile (subdir): Remove export of subdir.
43714 (all): Remove target.
43715 (.PHONY): Remove all from list.
43716 (mkinstalldirs): Remove.
43717 (.PHONY): Remove installdirs from list.
43718 ($(inst_infodir)/libc.info): Use make-target-directory.
43719 (installdirs): Remove.
43720 (subdir_%): Remove.
43721 (glibc-targets): Remove.
43722 (lib): Remove.
43723 (stubs): Remove.
43724 ($(objpfx)stubs ../po/manual.pot): Remove.
43725 ($(objpfx)stamp%): Remove.
43726 (make-target-directory): Remove.
43727 (subdir_install): Remove.
43728 (routines): Remove.
43729 (aux): Remove.
43730 (sources): Remove.
43731 (objects): Remove.
43732 (headers): Remove.
43733
43734 [BZ #13750]
43735 * manual/.gitignore: Remove, it's not needed anymore.
43736 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43737 all files in it.
43738 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43739 directory.
43740 (texis): Renamed to $(objpfx)texis.
43741 (texis-path): New, contains path to generated files.
43742 (chapters.%): Use texis-path for complete path, add extra argument
43743 libc-texinfo.sh.
43744 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43745 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43746 (summary,texi, stamp-summary): Use complete path of
43747 files. Generate files in build dir.
43748 (dir-add.texi): Build in build dir.
43749 (libm-err.texi,stamp-libm-err): Likewise.
43750 (version.texi, stamp-version): Likewise.
43751 (.%c.texi): Likewise.
43752 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43753 (mostlyclean): Remove target.
43754 (realclean): Remove target.
43755 (generated): Add new variable with contents from mostlyclean and
43756 realclean, remove entries duplicated in common-mostlyclean, add
43757 stamp-libm-err and stamp-version.
43758 (generated-dirs): Add libc directory.
43759 ($(inst_infodir)/libc.info): Install files from build dir.
43760
43761 * manual/install.texi (Configuring and compiling): Adjust since
43762 the info files are not part of the tar ball anymore.
43763
7ac77294
AJ
437642012-05-14 Andreas Jaeger <aj@suse.de>
43765
43766 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43767 variable.
43768
ffb7875d
JM
437692012-05-14 Joseph Myers <joseph@codesourcery.com>
43770
43771 [BZ #13717]
43772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43773 to 2.2.0 where earlier.
43774 * sysdeps/unix/sysv/linux/configure: Regenerated.
43775 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43776 Remove conditional code.
43777 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43778 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43779 Remove conditional code.
43780 [!__NR_lchown]: Likewise.
43781 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43782 [__NR_lchown]: Likewise.
43783 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43784 comment referencing __ASSUME_LCHOWN_SYSCALL.
43785 * sysdeps/unix/sysv/linux/i386/sigaction.c
43786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43788 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43789 Remove conditional code.
43790 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43791 (__protocol_available): Remove #if 0 code.
43792 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43793 conditional code.
43794 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43795 * sysdeps/unix/sysv/linux/kernel-features.h
43796 (__ASSUME_GETCWD_SYSCALL): Don't define.
43797 (__ASSUME_REALTIME_SIGNALS): Likewise.
43798 (__ASSUME_PREAD_SYSCALL): Likewise.
43799 (__ASSUME_PWRITE_SYSCALL): Likewise.
43800 (__ASSUME_POLL_SYSCALL): Likewise.
43801 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43802 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43803 non-SPARC.
43804 (__ASSUME_SIOCGIFNAME): Don't define.
43805 (__ASSUME_MSG_NOSIGNAL): Likewise.
43806 (__ASSUME_SENDFILE): Define unconditionally.
43807 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43808 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43809 conditional code.
43810 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43811 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43812 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43813 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43814 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43815 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43816 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43818 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43821 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43824 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43841 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43842 Remove conditional code.
43843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43844 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43845 Remove conditional code.
43846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43847 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43848 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43849 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43850 Remove conditional code.
43851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43852 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43853 Remove conditional code.
43854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43855 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43856 Remove conditional code.
43857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43858 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43859 Remove conditional code.
43860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43861 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43862 Remove conditional code.
43863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43864 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43865 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43867 * sysdeps/unix/sysv/linux/sigaction.c
43868 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43869 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43870 * sysdeps/unix/sysv/linux/sigpending.c
43871 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43872 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43873 * sysdeps/unix/sysv/linux/sigprocmask.c
43874 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43875 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43876 * sysdeps/unix/sysv/linux/sigsuspend.c
43877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43879 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43880 (__libc_missing_rt_sigs): Remove.
43881 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43882 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43883 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43884 Remove conditional code.
43885 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43886 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43887 return 1.
43888 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43889 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43890 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43891 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43892
1bfb7291
AJ
438932012-05-14 Andreas Jaeger <aj@suse.de>
43894
caae5a81
AJ
43895 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43896 it's not used in glibc.
43897 (__coshm1): Likewise.
43898 (__acosh1p): Likewise.
43899 (__sgn): Likewise.
43900
1bfb7291
AJ
43901 * manual/string.texi (Copying and Concatenation): Add missing
43902 variable in concat example.
43903 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43904
c044d724
L
439052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43906
144c5467 43907 [BZ #14103]
c044d724
L
43908 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43909 __builtin_clzl with __builtin_clzll.
43910
2523c62b
L
439112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43912
43913 [BZ #14104]
43914 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43915 libc_freeres_ptr.
43916
d7bb4c42
LD
439172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43918
43919 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43920 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43921 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43922 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43923
9dc4e1fb
MF
439242012-05-14 Mike Frysinger <vapier@gentoo.org>
43925
43926 * NEWS: Update ia64 info.
43927
c7df0112
AS
439282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43929
43930 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43931 used as bcopy.
43932
dc70356c
TS
439332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43934
43935 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43936 * sysdeps/unix/syscalls.list (dup3): Likewise.
43937 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43938 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43939
9fb1a21f
L
439402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43941
43942 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43943 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43944
4822a2a5
L
439452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43946
43947 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43948 thread pointer.
43949 (TLS_IE): Use mov/add instead of movq/addq to load thread
43950 pointer.
43951 (TLS_GD_PREFIX): New.
43952 (TLS_GD): Use it.
43953
842b81d6
DM
439542012-05-11 David S. Miller <davem@davemloft.net>
43955
43956 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43957 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43958 (_FPU_SETCW): Likewise.
43959
1cf463cd
L
439602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43961
43962 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43963 is 32-byte aligned.
43964
60cc4a18
AS
439652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43966
43967 [BZ #11837]
43968 * iconvdata/gb18030.c: Update tables.
43969 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43970 characters specially.
43971 (BODY for TO_LOOP): Add encoding of missing ranges.
43972
febb44a4
TS
439732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43974
43975 [BZ #13673]
43976 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43977 * sysdeps/mach/hurd/dup3.c: Likewise.
43978 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43979 * sysdeps/powerpc/memmove.c:: Likewise.
43980
0a10fb9e
L
439812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43982
43983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43984 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43985
df8a552f
L
439862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43987
43988 * elf/elf.h (R_X86_64_RELATIVE64): New.
43989 (R_X86_64_NUM): Updated.
43990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43991 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43992 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43993 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43994 tst-quad1pie tst-quad2pie
43995 (modules-names): Add tst-quadmod1 tst-quadmod2.
43996 ($(objpfx)tst-quad1): New dependency.
43997 ($(objpfx)tst-quad2): Likewise.
43998 ($(objpfx)tst-quad1pie): Likewise.
43999 ($(objpfx)tst-quad2pie): Likewise.
44000 * sysdeps/x86_64/tst-quad1.c: New file.
44001 * sysdeps/x86_64/tst-quad1pie.c: New file.
44002 * sysdeps/x86_64/tst-quad2.c: Likewise.
44003 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44004 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44005 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44006 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44007 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44008
f34d6f84
ST
440092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44010
f42d41d1
ST
44011 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44012 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44013 * streams/stropts.h (t_scalar_t): Define type.
44014
3c3571fc
ST
44015 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44016 (_PATH_PRESERVE): Set to "/var/lib".
44017 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44018
61f06bd3
ST
44019 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44020 instead of int.
44021
918d4d71
ST
44022 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44023 if __dir_mkfile succeeded.
44024
f34d6f84
ST
44025 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44026 checking for _hurd_dtablesize. Unlock it right after having
44027 finished _hurd_dtable allocation.
44028
10589b4a
TS
440292012-05-10 Thomas Schwinge <thomas@schwinge.name>
44030
674cdbc7
TS
44031 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44032 * sysdeps/mach/hurd/configure: Regenerated.
44033 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44034 special-casing to...
44035 * sysdeps/gnu/configure.in: ... this new file.
44036 * sysdeps/unix/sysv/linux/configure: Regenerated.
44037 * sysdeps/gnu/configure: New generated file.
44038
8e41b99f
TS
44039 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44040 for Linux: use nsec instead of usec, as well as:
44041 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44042 members of type struct timespec.
44043 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44044 New macros.
44045 (struct stat64): Likewise.
44046 (_STATBUF_ST_NSEC): New macro.
44047 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44048
10589b4a
TS
44049 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44050 __strtoul_internal rather than strtoul.
44051
63643c85
PT
440522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44053
44054 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44055 and reject them.
44056
3faebe6a
ST
440572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44058
44059 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44060 which preserves existing values.
44061 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44062
c6474b07
PT
440632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44064
44065 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44066 TIMEOUT values. Return EINVAL for NFDS values either negative or
44067 greater than FD_SETSIZE.
44068
1043890b
ST
440692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44070
44071 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44072 allocated, call __vm_protect to finish enabling the existing space, and
44073 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44074 allocate the remainder.
44075
37ed8b9b
PT
440762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44077
44078 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44079 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44080
db653660
ST
440812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44082
37ed8b9b
PT
44083 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44084 sysdeps/mach/hurd/readlink.c.
b29d4053 44085
db653660
ST
44086 * posix/tst-sysconf.c (posix_options): Only use
44087 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44088 _POSIX_SYNCHRONIZED_IO when they are defined
44089 * sysdeps/mach/hurd/bits/posix_opt.h:
44090 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44091 (_XOPEN_REALTIME): Undefine macro.
44092 (_XOPEN_REALTIME_THREADS): Undefine macro.
44093 (_XOPEN_SHM): Undefine macro.
44094 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44095 macro to -1.
44096 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44097 macro to -1.
44098 (_POSIX_ASYNC_IO): Undefine macro.
44099 (_POSIX_PRIORITIZED_IO): Undefine macro.
44100 (_POSIX_SPIN_LOCKS): Define macro to -1.
44101
ee16e894
ST
44102 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44103 SA_NODEFER, SA_RESETHAND.
44104 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44105 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44106 F_DUPFD_CLOEXEC.
44107
6103ae3b
TS
441082012-05-10 Thomas Schwinge <thomas@schwinge.name>
44109
44110 * elf/Makefile (pldd-modules): Define unconditionally.
44111
80b4e5f3
TS
441122012-05-10 Thomas Schwinge <thomas@schwinge.name>
44113
44114 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44115
edadcbd6
ST
441162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44117
44118 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44119 Return ENOENT when name is empty.
44120 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44121
80694780
TS
441222012-05-10 Thomas Schwinge <thomas@schwinge.name>
44123
1792c087
TS
44124 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44125
80694780
TS
44126 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44127
6b645f0d
ST
441282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44129
80694780
TS
44130 Fix mlock in all cases except non-readable pages.
44131 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44132 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44133
6b645f0d
ST
44134 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44135 (__mkdir): When path is `/', just fail with EEXIST.
44136 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44137
e468f8a3
TS
441382012-05-10 Thomas Schwinge <thomas@schwinge.name>
44139
44140 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44141 <sys/uio.h> (for writev).
44142 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44143 and <sys/param.h> (for MIN).
44144
a4186cff
PT
441452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44146
44147 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44148 REQUESTED_TIME. Properly set the remaining time and return EINTR
44149 if interrupted.
44150
510bbf14
TS
441512012-05-10 Thomas Schwinge <thomas@schwinge.name>
44152
44153 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44154 Depend on against $(link-rpcuserlibs).
44155
5d5722e8
ST
441562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44157
a4186cff
PT
44158 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44159 (__libc_stack_end): Do not use attribute_relro.
44160 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44161 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44162 to libthread-provided value.
a4186cff
PT
44163 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44164 attribute_relro.
5d5722e8 44165
37233df9
TS
441662012-05-10 Thomas Schwinge <thomas@schwinge.name>
44167
be971a2b
TS
44168 [BZ #3748]
44169 * bits/libc-lock.h (__libc_once_get): New macro.
44170 * sysdeps/mach/bits/libc-lock.h: Likewise.
44171 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44173 instead of using implementation details.
44174
37233df9
TS
44175 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44176 * libio/freopen.c: Likewise.
44177 * libio/freopen64.c: Likewise.
44178 * misc/syslog.c: Likewise.
44179 * nscd/connections.c: Likewise.
44180 * nscd/netgroupcache.c: Likewise.
44181 * sysdeps/posix/getcwd.c: Likewise.
44182
38de94a5
RM
441832012-05-10 Roland McGrath <roland@hack.frob.com>
44184
44185 * math/w_ilogbf.c: Add #include <limits.h>.
44186
67530489
ST
441872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44188
a4186cff 44189 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44190 path instead of returning without unlocking.
44191
67530489
ST
44192 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44193 immediate-write ioctls.
44194 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44195
5aa3a74a
TS
441962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44197
18bad2ae
TS
44198 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44199 __builtin_frame_address instead of making assumptions about the
44200 location of the return address relative to DATA. Force early load of
44201 the return address.
44202 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44203 __builtin_frame_address.
44204
5aa3a74a
TS
44205 dup3 for GNU Hurd.
44206 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44207 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44208 implement dup3 and do some further code clean-ups.
44209 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44210 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44211
ecd0de9a
ST
442122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44213
cd9fa985
ST
44214 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44215
a4186cff
PT
44216 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44217 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44218 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44219 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44220 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44221 d->port.lock.
802ca5a5 44222
a4186cff
PT
44223 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44224 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44225 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44226
bcf55240
TS
442272012-05-10 Thomas Schwinge <thomas@schwinge.name>
44228
6960eb42
TS
44229 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44230 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44231 definitions.
44232
eb43375f
TS
44233 accept4 for GNU Hurd.
44234 * include/sys/socket.h (__libc_accept4): New prototype.
44235 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44236 to implement __libc_accept4.
44237 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44238 __libc_accept4.
44239 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44240
bcf55240
TS
44241 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44242 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44243 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44244 signal-defines.sym.
44245
6178c55b
ST
442462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44247
a4186cff 44248 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44249
6f080c2f
TS
442502012-05-10 Thomas Schwinge <thomas@schwinge.name>
44251
44252 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44253 assertion on O_CLOEXEC flag.
44254 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44255 * hurd/intern-fd.c: Likewise.
44256 * hurd/port2fd.c: Likewise.
44257
bcfe3a54
ST
442582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44259
44260 [BZ #3906]
44261 * bits/in.h (IPV6_PKTINFO): Define new macro.
44262 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44263
89c9aa49
AZ
442642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44265
44266 [BZ #13954]
44267 [BZ #13955]
44268 [BZ #13956]
44269 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44271 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44272 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44274 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44275 * math/libm-test.inc (logb_test) : Additional logb tests.
44276
021db4be
AJ
442772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44278 Andreas Jaeger <aj@suse.de>
44279
44280 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44281 * configure: Regenerated.
44282 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44283 * config.make.in (link-obsolete-rpc): New substituted variable.
44284 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44285 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44286 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44287 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44288 so that libc.a contains the symbols.
44289 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44290 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44291 * sunrpc/auth_none.c: Likewise.
44292 * sunrpc/auth_unix.c: Likewise.
44293 * sunrpc/authdes_prot.c: Likewise.
44294 * sunrpc/authuxprot.c: Likewise.
44295 * sunrpc/clnt_gen.c: Likewise.
44296 * sunrpc/clnt_perr.c: Likewise.
44297 * sunrpc/clnt_raw.c: Likewise.
44298 * sunrpc/clnt_simp.c: Likewise.
44299 * sunrpc/clnt_tcp.c: Likewise.
44300 * sunrpc/clnt_udp.c: Likewise.
44301 * sunrpc/clnt_unix.c: Likewise.
44302 * sunrpc/des_crypt.c: Likewise.
44303 * sunrpc/des_soft.c: Likewise.
44304 * sunrpc/get_myaddr.c: Likewise.
44305 * sunrpc/key_call.c: Likewise.
44306 * sunrpc/key_prot.c: Likewise.
44307 * sunrpc/netname.c: Likewise.
44308 * sunrpc/pm_getmaps.c: Likewise.
44309 * sunrpc/pm_getport.c: Likewise.
44310 * sunrpc/pmap_clnt.c: Likewise.
44311 * sunrpc/pmap_prot.c: Likewise.
44312 * sunrpc/pmap_prot2.c: Likewise.
44313 * sunrpc/pmap_rmt.c: Likewise.
44314 * sunrpc/publickey.c: Likewise.
44315 * sunrpc/rpc_cmsg.c: Likewise.
44316 * sunrpc/rpc_common.c: Likewise.
44317 * sunrpc/rpc_dtable.c: Likewise.
44318 * sunrpc/rpc_prot.c: Likewise.
44319 * sunrpc/rpc_thread.c: Likewise.
44320 * sunrpc/rtime.c: Likewise.
44321 * sunrpc/svc.c: Likewise.
44322 * sunrpc/svc_auth.c: Likewise.
44323 * sunrpc/svc_raw.c: Likewise.
44324 * sunrpc/svc_run.c: Likewise.
44325 * sunrpc/svc_tcp.c: Likewise.
44326 * sunrpc/svc_udp.c: Likewise.
44327 * sunrpc/svc_unix.c: Likewise.
44328 * sunrpc/svcauth_des.c: Likewise.
44329 * sunrpc/xcrypt.c: Likewise.
44330 * sunrpc/xdr.c: Likewise.
44331 * sunrpc/xdr_array.c: Likewise.
44332 * sunrpc/xdr_float.c: Likewise.
44333 * sunrpc/xdr_intXX_t.c: Likewise.
44334 * sunrpc/xdr_mem.c: Likewise.
44335 * sunrpc/xdr_rec.c: Likewise.
44336 * sunrpc/xdr_ref.c: Likewise.
44337 * sunrpc/xdr_sizeof.c: Likewise.
44338 * sunrpc/xdr_stdio.c: Likewise.
44339
b5c086a2
RM
443402012-05-10 Roland McGrath <roland@hack.frob.com>
44341
44342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44343 change. Update copyright years.
44344
6d74dd09
JM
443452012-05-10 Joseph Myers <joseph@codesourcery.com>
44346
44347 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44348
28e72501
MK
443492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44350 Joseph Myers <joseph@codesourcery.com>
44351 Paul Pluzhnikov <ppluzhnikov@google.com>
44352
44353 [BZ #14012]
44354 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44355 requiring rpcgen.
44356 [cross-compiling] (extra-libs): Likewise.
44357 [cross-compiling] (extra-libs-others): Likewise.
44358 [cross-compiling] (librpcsvc-routines): Likewise.
44359 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44360 [cross-compiling] (omit-deps): Likewise.
44361 (sunrpc-CPPFLAGS): New variable.
44362 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44363 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44364 (cross-rpcgen-objs): New variable.
44365 (extra-objs): Append $(cross-rpcgen-objs).
44366 ($(cross-rpcgen-objs)): New rule.
44367 ($(objpfx)cross-rpcgen): Likewise.
44368 (rpcgen-cmd): Define to use $(built-program-file). Expand
44369 comment.
44370 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44371 ($(objpfx)x%.stmp): Likewise.
44372 * sunrpc/proto.h [IS_IN_build] (_): Define.
44373 [IS_IN_build] (_libc_intl_domainname): Likewise.
44374
c8c59454
L
443752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44376
44377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44378 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44379 and R_X86_64_TPOFF64.
44380
6f27cd16
JM
443812012-05-10 Joseph Myers <joseph@codesourcery.com>
44382
44383 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44384 sysdeps/unix/sysv/syscalls.list.
44385 (stime): Likewise.
44386 (utime): Likewise.
44387 * sysdeps/unix/sysv/syscalls.list: Remove file.
44388
02467e1c
PE
443892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44390
44391 [BZ #3440]
44392 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44393 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44394 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44395 (__LC_IDENTIFICATION): Make these macros useful in #if
44396 expressions, as required by C99.
44397
da392631
AS
443982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44399
44400 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44401 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44402 after this.
44403
8115f29b
L
444042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44405
44406 * stdlib/longlong.h: Updated from GCC.
44407
bdd74070
AJ
444082012-05-09 Andreas Jaeger <aj@suse.de>
44409
edfe0dbe
AJ
44410 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44411 default is first entry.
44412 (run_mode): Set type.
44413 (main): Remove informal message about syslog.
44414 (options): Fix typo.
44415
bcfe3a54
ST
44416 [BZ #14053]
44417 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44418 to asm.
bcfe3a54
ST
44419 (lrint): Likewise.
44420 (llrintf): Likewise.
44421 (llrint): Likewise.
44422 (rint): Likewise.
44423 (rintf): Likewise.
44424 (nearbyint): Likewise.
44425 (nearbyintf): Likewise.
bdd74070 44426
91d8d69e
AJ
444272012-05-09 Andreas Jaeger <aj@suse.de>
44428 Pedro Alves <palves@redhat.com>
44429
44430 * nscd/nscd.c (run_mode): Use enum.
44431 (main): Cleanup coding style issue.
44432
bb90b80b
AJ
444332012-05-09 Alexandre Oliva <aoliva@redhat.com>
44434 Andreas Jaeger <aj@suse.de>
44435
bcfe3a54
ST
44436 * nscd/nscd.c (go_background): Replaced with...
44437 (run_mode): ... this.
bb90b80b 44438 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44439 (options): Add -F --foreground.
44440 (main): Implement it.
44441 (parse_opt): Parse it.
bb90b80b 44442
1a4b75a1
AJ
444432012-05-09 Andreas Jaeger <aj@suse.de>
44444
44445 [BZ #14083]
44446 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44447 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44448 -Wconversion warning.
44449 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44450 Likewise.
44451
b1cc2472
JM
444522012-05-09 Joseph Myers <joseph@codesourcery.com>
44453
44454 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44455 == 0.
44456 (LC_ALL): Use macro-int-constant.
44457 (LC_COLLATE): Likewise.
44458 (LC_CTYPE): Likewise.
44459 (LC_MESSAGES): Likewise.
44460 (LC_MONETARY): Likewise.
44461 (LC_NUMERIC): Likewise.
44462 (LC_TIME): Likewise.
44463 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44464 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44466 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44467 Specify type.
44468 [C99-based standards] (float_t): Expect type.
44469 [C99-based standards] (double_t): Expect type.
44470 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44471 type.
44472 [C99-based standards] (HUGE_VALL): Likewise.
44473 [C99-based standards] (INFINITY): Likewise.
44474 [C99-based standards] (NAN): Likewise.
44475 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44476 [C99-based standards] (FP_NAN): Likewise.
44477 [C99-based standards] (FP_NORMAL): Likewise.
44478 [C99-based standards] (FP_SUBNORMAL): Likewise.
44479 [C99-based standards] (FP_ZERO): Likewise.
44480 [C99-based standards] (FP_FAST_FMA): Use
44481 optional-macro-int-constant. Specify type. Require == 1.
44482 [C99-based standards] (FP_FAST_FMAF): Likewise.
44483 [C99-based standards] (FP_FAST_FMAL): Likewise.
44484 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44485 [C99-based standards] (FP_ILOGBNAN): Likewise.
44486 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44487 Specify type.
44488 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44489 [C99-based standards] (math_errhandling): Specify type.
44490 [ISO99 || ISO11] (signgam): Do not allow.
44491 [non-C99-based standards] (copysignf): Do not allow.
44492 [non-C99-based standards] (exp2f): Likewise.
44493 [non-C99-based standards] (log2f): Likewise.
44494 [non-C99-based standards] (modff): Allow.
44495 [non-C99-based standards] (erff): Do not allow.
44496 [non-C99-based standards] (erfcf): Likewise.
44497 [non-C99-based standards] (gammaf): Likewise.
44498 [non-C99-based standards] (hypotf): Likewise.
44499 [non-C99-based standards] (j0f): Likewise.
44500 [non-C99-based standards] (j1f): Likewise.
44501 [non-C99-based standards] (jnf): Likewise.
44502 [non-C99-based standards] (lgammaf): Likewise.
44503 [non-C99-based standards] (tgammaf): Likewise.
44504 [non-C99-based standards] (y0f): Likewise.
44505 [non-C99-based standards] (y1f): Likewise.
44506 [non-C99-based standards] (ynf): Likewise.
44507 [non-C99-based standards] (isnanf): Likewise.
44508 [non-C99-based standards] (acoshf): Likewise.
44509 [non-C99-based standards] (asinhf): Likewise.
44510 [non-C99-based standards] (atanhf): Likewise.
44511 [non-C99-based standards] (cbrtf): Likewise.
44512 [non-C99-based standards] (expm1f): Likewise.
44513 [non-C99-based standards] (ilogbf): Likewise.
44514 [non-C99-based standards] (log1pf): Likewise.
44515 [non-C99-based standards] (logbf): Likewise.
44516 [non-C99-based standards] (nextafterf): Likewise.
44517 [non-C99-based standards] (remainderf): Likewise.
44518 [non-C99-based standards] (rintf): Likewise.
44519 [non-C99-based standards] (scalbf): Likewise.
44520 [non-C99-based standards] (copysignl): Likewise.
44521 [non-C99-based standards] (exp2l): Likewise.
44522 [non-C99-based standards] (log2l): Likewise.
44523 [non-C99-based standards] (modfl): Allow.
44524 [non-C99-based standards] (erfl): Do not allow.
44525 [non-C99-based standards] (erfcl): Likewise.
44526 [non-C99-based standards] (gammal): Likewise.
44527 [non-C99-based standards] (hypotl): Likewise.
44528 [non-C99-based standards] (j0l): Likewise.
44529 [non-C99-based standards] (j1l): Likewise.
44530 [non-C99-based standards] (jnl): Likewise.
44531 [non-C99-based standards] (lgammal): Likewise.
44532 [non-C99-based standards] (tgammal): Likewise.
44533 [non-C99-based standards] (y0l): Likewise.
44534 [non-C99-based standards] (y1l): Likewise.
44535 [non-C99-based standards] (ynl): Likewise.
44536 [non-C99-based standards] (isnanl): Likewise.
44537 [non-C99-based standards] (acoshl): Likewise.
44538 [non-C99-based standards] (asinhl): Likewise.
44539 [non-C99-based standards] (atanhl): Likewise.
44540 [non-C99-based standards] (cbrtl): Likewise.
44541 [non-C99-based standards] (expm1l): Likewise.
44542 [non-C99-based standards] (ilogbl): Likewise.
44543 [non-C99-based standards] (log1pl): Likewise.
44544 [non-C99-based standards] (logbl): Likewise.
44545 [non-C99-based standards] (nextafterl): Likewise.
44546 [non-C99-based standards] (remainderl): Likewise.
44547 [non-C99-based standards] (rintl): Likewise.
44548 [non-C99-based standards] (scalbl): Likewise.
44549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44550 [non-C99-based standards] (FP_*): Do not allow.
44551 [C99-based standards] (FP_*): Change to
44552 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44553 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44554 allow.
44555 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44556 (SIG_ERR): Likewise.
44557 [X/Open-based standards] (SIG_HOLD): Likewise.
44558 (SIG_IGN): Likewise.
44559 (SIGABRT): Use macro-int-constant. Specify type. Require
44560 positive value.
44561 (SIGFPE): Likewise.
44562 (SIGILL): Likewise.
44563 (SIGINT): Likewise.
44564 (SIGSEGV): Likewise.
44565 (SIGTER): Likewise.
44566 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44567 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44568 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44569 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44570 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44571 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44572 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44573 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44574 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44575 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44576 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44577 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44578 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44579 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44580 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44581 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44582 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44583 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44584 [X/Open-based standards] (SIGTRAP): Likewise.
44585 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44586 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44587 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44588 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44589 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44590 allow.
44591
b9f1922d
IW
445922012-05-08 Ian Wienand <ianw@vmware.com>
44593
44594 [BZ #14080]
44595 * time/tzset.c (__tzset_parse_tz): Update default rules for
44596 daylight time changes in the Energy Policy Act of 2005.
44597
1db86e88
AJ
445982012-05-09 Andreas Jaeger <aj@suse.de>
44599
44600 [BZ #13983]
44601 * elf/ldconfig.c (parse_conf): Change string to make clear that
44602 ldconfig only issued a warning if ld.so.conf does not exist.
44603
dee4a4e3
DM
446042012-05-08 David S. Miller <davem@davemloft.net>
44605
ee0db190
DM
44606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44607 movxtod instead of popping the value on the stack.
44608
dee4a4e3
DM
44609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44610
6a43ec98
CD
446112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44612
44613 * config.h.in: Add HAVE_ARM_PCS_VFP.
44614
05c2c961
RMG
446152012-05-08 Roland Mc Grath <roland@hack.frob.com>
44616
bcfe3a54
ST
44617 [BZ #13979]
44618 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44619 checking but the checks are disabled for any reason.
05c2c961 44620
4b30f61a
L
446212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44622
44623 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44624 and ELF64_R_TYPE with ELFW(R_TYPE).
44625
eee2bc67
JM
446262012-05-08 Joseph Myers <joseph@codesourcery.com>
44627
7ea5391a
JM
44628 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44629 (ulimit): Likewise.
44630
eee2bc67
JM
44631 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44632 (settimeofday): Likewise.
44633
abb66a67
MF
446342012-05-08 Mike Frysinger <vapier@gentoo.org>
44635
44636 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44637 a struct th_u2 inside the union, and move tu_block/tu_code into
44638 a new th_u3 union of tu_block/tu_code inside of that. Move
44639 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44640 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44641 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44642 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44643 (th_stuff): Change to th_u1.tu_stuff.
44644 (th_data): Define.
44645 (th_msg): Change to th_u1.th_u2.tu_data.
44646
7f18b530
DM
446472012-05-07 David S. Miller <davem@davemloft.net>
44648
05760585
DM
44649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44650
7f18b530
DM
44651 [BZ #14074]
44652 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44653 (SETUP_PIC_REG): Use it.
44654 (SETUP_PIC_REG_LEAF): Use it.
44655
495fd99f
JM
446562012-05-07 Joseph Myers <joseph@codesourcery.com>
44657
44658 [BZ #13885]
44659 [BZ #13923]
44660 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44661 USE_AS_EXPM1L.
44662 (EXPL_FINITE): Likewise.
44663 (FLDLOG): Likewise.
44664 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44665 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44666 e_expl.S.
44667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44668 USE_AS_EXPM1L.
44669 (EXPL_FINITE): Likewise.
44670 (FLDLOG): Likewise.
44671 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44672 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44673 e_expl.S.
44674 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44675 test of -max_value argument for long double.
44676 * sysdeps/i386/fpu/libm-test-ulps: Update.
44677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44678
6693d694
DM
446792012-05-06 David S. Miller <davem@davemloft.net>
44680
44681 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44682 quad soft-float symbols whose references which are compiler
44683 generated.
44684 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44685
6c23e11c
JM
446862012-05-06 Joseph Myers <joseph@codesourcery.com>
44687
d8b82cad
JM
44688 [BZ #13884]
44689 [BZ #13914]
44690 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44691 USE_AS_EXP10L.
44692 (EXPL_FINITE): Likewise.
44693 (FLDLOG): Likewise.
44694 (c0): Likewise.
44695 (c1): Likewise.
44696 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44697 Adjust comments for base varying.
44698 (__expl_finite): Change alias to EXPL_FINITE.
44699 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44700 e_expl.S.
44701 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44702 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44703 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44704 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44705 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44706 USE_AS_EXP10L.
44707 (EXPL_FINITE): Likewise.
44708 (FLDLOG): Likewise.
44709 (c0): Likewise.
44710 (c1): Likewise.
44711 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44712 Adjust comments for base varying.
44713 (__expl_finite): Change alias to EXPL_FINITE.
44714 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44715 tests for bugs.
44716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44717
6c23e11c
JM
44718 [BZ #14064]
44719 * math/libm-test.inc (check_float_internal): Correct ulp
44720 calculation for subnormal expected results.
44721
29ba805c
AJ
447222012-05-06 Andreas Jaeger <aj@suse.de>
44723
44724 * Makeconfig (+math-flags): New, set to -frounding-math.
44725 (+cflags): Add +math-flags so that all of glibc gets compiled with
44726 it.
44727
44728 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44729
7b17aeda
JM
447302012-05-05 Joseph Myers <joseph@codesourcery.com>
44731
5779f134
JM
44732 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44733 Disable one test.
44734
41498f4d
JM
44735 [BZ #13787]
44736 [BZ #13922]
44737 [BZ #14036]
44738 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44739 (__ieee754_expl): Allow for and saturate large arguments.
44740 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44741 (u_threshold): Likewise.
44742 (__exp): Call __ieee754_exp before checking for overflow and
44743 underflow.
44744 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44745 (u_threshold): Likewise.
44746 (__expf): Call __ieee754_expf before checking for overflow and
44747 underflow.
44748 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44749 (u_threshold): Likewise.
44750 (__expl): Call __ieee754_expl before checking for overflow and
44751 underflow.
44752 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44753 (__ieee754_expl): Allow for and saturate large arguments.
44754 * math/libm-test.inc (exp_test): Add another test. Do not allow
44755 missing overflow exception on overflow.
44756 (expm1_test): Do not allow missing overflow exception on overflow.
44757
6698b8bf
JM
44758 * sysdeps/i386/fpu/e_expl.c: Move to ...
44759 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44760 rather than using inline asm.
44761 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44762 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44763 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44764
7b17aeda
JM
44765 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44766 (nice): Likewise.
44767 (poll): Likewise.
44768 (signal): Likewise.
44769 (time): Likewise.
44770 (times): Likewise.
44771
f7c85819
JM
447722012-05-04 Joseph Myers <joseph@codesourcery.com>
44773
44774 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44775 sysdeps/unix/common/syscalls.list.
44776 (fchmod): Likewise.
44777 (fchown): Likewise.
44778 (ftruncate): Likewise.
44779 (getrusage): Likewise.
44780 (gettimeofday): Likewise.
44781 (setpgid): Likewise.
44782 (setregid): Likewise.
44783 (setreuid): Likewise.
44784 (sigaction): Likewise.
44785 (truncate): Likewise.
44786 (vhangup): Likewise.
44787 * sysdeps/unix/common/syscalls.list: Remove file.
44788 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44789 * sysdeps/unix/sysv/linux/Implies: Likewise.
44790
336270d0
L
447912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44792
44793 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44795 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44796 Moved to ...
44797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44798 Here.
44799 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44800 to ...
44801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44802 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44803 to ...
44804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44805 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44806 to ...
44807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44808 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44809 to ...
44810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44811 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44812 to ...
44813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44814 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44815 to ...
44816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44817 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44818 to ...
44819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44820 Here.
44821 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44822 to ...
44823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44824 Here.
44825 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44826 to ...
44827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44828 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44829 Moved to ...
44830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44831 Here.
44832 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44833 to ...
44834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44835
d128e450
JM
448362012-05-04 Joseph Myers <joseph@codesourcery.com>
44837
fa8ee516
JM
44838 * sysdeps/unix/common/bits/dirent.h: Remove file.
44839 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44840
d128e450
JM
44841 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44842 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44843 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44844 * sysdeps/unix/bsd/isatty.c: Likewise.
44845 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44846 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44847 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44848
ff8faaf0 448492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44850
62881be4 44851 [BZ #13563]
31dc8730
AZ
44852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44853 long double comparison inaccuracies.
44854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44856
6fef930c
AS
448572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44858
44859 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44861
8f203e6c
JM
448622012-05-04 Joseph Myers <joseph@codesourcery.com>
44863
44864 [BZ #14049]
44865 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44866 nonzero digits before rounding a hex value.
44867 * stdlib/tst-strtod.c (tests): Add another test.
44868
5197d9c2
AK
448692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44870
44871 * sysdeps/s390/fpu/libm-test-ulps: Update.
44872
f0c1dedf
AJ
448732012-05-03 Andreas Jaeger <aj@suse.de>
44874
44875 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44876 does not get optimized out.
44877 (malloc_opt_barrier): New.
44878
a65ef2ae 448792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44880 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44881
2b942cb7 44882 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44883 intermediate file deletion.
2b942cb7 44884 (generated): Add .symlist files.
a65ef2ae 44885
54b71e02
JM
448862012-05-03 Joseph Myers <joseph@codesourcery.com>
44887
44888 [BZ #13775]
44889 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44890 Redirect under this condition.
44891 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44892 [__USE_GNU] (__dprintf_chk): Not under this condition.
44893 [__USE_GNU] (__vdprintf_chk): Likewise.
44894 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44895 under this condition.
44896 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44897 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44898 [__USE_XOPEN2K8] (vdprintf): Likewise.
44899 [__USE_GNU] (__dprintf_chk): Not under this condition.
44900 [__USE_GNU] (__vdprintf_chk): Likewise.
44901 [__USE_GNU] (dprintf): Likewise.
44902 [__USE_GNU] (vdprintf): Likewise.
44903
d3dfcc41
RM
449042012-05-03 Roland McGrath <roland@hack.frob.com>
44905
44906 * elf/Makefile (common-generated): Set this instead of generated for
44907 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44908 $(all-built-dso)-derived lists.
44909
7ac30cc5
AJ
449102012-05-03 Andreas Jaeger <aj@suse.de>
44911
0c51e550
AJ
44912 * sysdeps/i386/fpu/libm-test-ulps: Update.
44913
7ac30cc5
AJ
44914 * FAQ: Removed.
44915 * FAQ.in: Likewise.
44916 * scripts/gen-FAQ.pl: Likewise.
44917 * manual/install.texi (Installation): Point to online location of
44918 FAQ.
44919 * Makefile (files-for-dist): Remove FAQ.
44920 (FAQ): Remove.
44921
d4c2917f
AM
449222012-05-02 Allan McRae <allan@archlinux.org>
44923
44924 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44925 (LDFLAGS-reldepmod5.so): Likewise.
44926 (LDFLAGS-reldep6mod1.so): Likewise.
44927 (LDFLAGS-reldep6mod4.so): Likewise.
44928 (LDFLAGS-reldep8mod3.so): Likewise.
44929 (LDFLAGS-unload4mod1.so): Likewise.
44930 (LDFLAGS-unload4mod2.so): Likewise.
44931 (LDFLAGS-tst-initorder): Likewise.
44932 (LDFLAGS-tst-initordera2.so): Likewise.
44933 (LDFLAGS-tst-initordera3.so): Likewise.
44934 (LDFLAGS-tst-initordera4.so): Likewise.
44935 (LDFLAGS-tst-initorderb2.so): Likewise.
44936 (LDFLAGS-noload): Likewise.
44937 (LDFLAGS-next): Likewise.
44938 (LDFLAGS-order2mod1.so): Likewise.
44939 (LDFLAGS-order2mod2.so): Likewise.
44940 (LDFLAGS-tst-initorder2): Likewise.
44941 (LDFLAGS-tst-initorder2a.so): Likewise.
44942 (LDFLAGS-tst-initorder2b.so): Likewise.
44943 (LDFLAGS-tst-initorder2c.so): Likewise.
44944 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44945
d77f993f
DM
449462012-05-02 David S. Miller <davem@davemloft.net>
44947
44948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44949
171a70b4
PP
449502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44951
44952 [BZ #14055]
44953 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44954
0be196ad
AJ
449552012-05-02 Andreas Jaeger <aj@suse.de>
44956
44957 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44958 since we manipulate rounding mode.
44959 (CPPFLAGS-test-idouble.c): Likewise.
44960 (CPPFLAGS-test-ifloat.c): Likewise.
44961 (CFLAGS-test-ldouble.c): Likewise.
44962 (CFLAGS-test-double.c): Likewise.
44963 (CFLAGS-test-float.c): Likewise.
44964 (CFLAGS-test-misc.c): Likewise.
44965 (CFLAGS-test-test-fenv.c): Likewise.
44966
4f9d04aa
AZ
449672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44968
2b942cb7
RM
44969 [BZ #2550]
44970 [BZ #2570]
44971 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44972 comparisons to determine direction to adjust input.
4f9d04aa 44973
82a79e7d
RM
449742012-05-01 Roland McGrath <roland@hack.frob.com>
44975
f5a01ca9
RM
44976 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44977 output to the target.
44978
90fe4186
RM
44979 * scripts/localplt.awk: New file.
44980 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44981 (check-localplt-CFLAGS): Variable removed.
44982 ($(all-built-dso:=.jmprel)): New static pattern rule.
44983 (generated): Add those targets.
44984 (localplt-built-dso): New variable.
44985 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44986
44987 * elf/check-localplt.c: File removed.
44988
82397ed6
RM
44989 * scripts/check-execstack.awk: New file.
44990 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44991 (check-execstack-CFLAGS): Variable removed.
44992 ($(objpfx)check-execstack.h): Target removed.
44993 ($(objpfx)execstack-default): New target.
44994 (generated): Add that instead of check-execstack.h.
44995 ($(all-built-dso:=.phdr)): New static pattern rule.
44996 (generated): Add those targets.
44997 * elf/check-execstack.c: File removed.
44998
82a79e7d
RM
44999 * scripts/check-textrel.awk: New file.
45000 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45001 (check-textrel-CFLAGS): Variable removed.
45002 (all-built-dso): Use := to define.o
45003 ($(all-built-dso:=.dyn)): New static pattern rule.
45004 (generated): Add those targets.
45005 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45006 * config.make.in (READELF): New substituted variable.
45007 * elf/check-textrel.c: File removed.
45008
62fde54f 450092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45010
615605c9
JM
45011 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45012 allow.
45013 * conform/data/ctype.h-data [C99-based standards] (isblank):
45014 Expect function.
45015 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45016 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45018 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45019 Specify type. Require positive value.
45020 (EILSEQ): Likewise.
45021 (ERANGE): Likewise.
45022 [ISO || POSIX] (EILSEQ): Do not expect.
45023 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45024 Specify type. Require positive value.
45025 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45026 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45027 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45028 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45029 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45030 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45031 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45032 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45033 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45034 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45035 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45036 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45037 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45038 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45039 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45040 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45041 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45042 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45043 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45044 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45045 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45046 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45047 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45048 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45049 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45050 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45051 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45052 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45053 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45054 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45055 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45056 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45057 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45058 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45059 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45060 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45061 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45062 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45063 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45064 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45065 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45066 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45067 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45068 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45069 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45070 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45071 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45072 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45073 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45074 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45075 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45076 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45077 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45078 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45079 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45080 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45081 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45082 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45083 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45084 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45085 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45086 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45087 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45088 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45089 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45090 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45091 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45092 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45093 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45094 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45095 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45096 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45097 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45098 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45099 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45100 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45101 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45102 Require >= 2.
45103 (FLT_ROUNDS): Expect as macro, not constant.
45104 (FLT_MANT_DIG): Use macro-int-constant.
45105 (DBL_MANT_DIG): Likewise.
45106 (LDBL_MANT_DIG): Likewise.
45107 (FLT_DIG): Likewise.
45108 (DBL_DIG): Likewise.
45109 (LDBL_DIG): Likewise.
45110 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45111 (DBL_MIN_EXP): Likewise.
45112 (LDBL_MIN_EXP): Likewise.
45113 (FLT_MAX_EXP): Use macro-int-constant.
45114 (DBL_MAX_EXP): Likewise.
45115 (LDBL_MAX_EXP): Likewise.
45116 (FLT_MAX_10_EXP): Likewise.
45117 (DBL_MAX_10_EXP): Likewise.
45118 (LDBL_MAX_10_EXP): Likewise.
45119 (FLT_MAX): Use macro-constant.
45120 (DBL_MAX): Likewise.
45121 (LDBL_MAX): Likewise.
45122 (FLT_EPSILON): Use macro-constant. Give upper bound.
45123 (DBL_EPSILON): Likewise.
45124 (LDBL_EPSILON): Likewise.
45125 (FLT_MIN): Likewise.
45126 (DBL_MIN): Likewise.
45127 (LDBL_MIN): Likewise.
45128 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45129 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45130 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45131 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45132 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45133 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45134 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45135 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45136 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45137 [ISO11] (FLT_TRUE_MIN): Likewise.
45138 [ISO11] (LDBL_TRUE_MIN): Likewise.
45139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45140 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45141 (SCHAR_MIN): Use macro-int-constant. Specify type.
45142 (SCHAR_MAX): Likewise.
45143 (UCHAR_MAX): Likewise.
45144 (CHAR_MIN): Likewise.
45145 (CHAR_MAX): Likewise.
45146 (MB_LEN_MAX): Use macro-int-constant.
45147 (SHRT_MIN): Use macro-int-constant. Specify type.
45148 (SHRT_MAX): Likewise.
45149 (USHRT_MAX): Likewise.
45150 (INT_MAX): Likewise.
45151 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45152 bound negative.
45153 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45154 bound with "U".
45155 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45156 bound with "L".
45157 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45158 bound negative. Suffix upper bound with "L".
45159 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45160 bound with "UL".
45161 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45162 Specify type.
45163 [C99-based standards] (LLONG_MAX): Likewise.
45164 [C99-based standards] (ULLONG_MAX): Likewise.
45165 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45166 == 0.
45167 [ISO11] (max_align_t): Require type.
45168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45169
c9140a62
JM
45170 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45171 from $CFLAGS, without defining away __attribute__ calls.
45172 (checknamespace): Use $CFLAGS_namespace.
45173
9af0bf29
JM
45174 * conform/conformtest.pl (@keywords): Only include C99 keywords
45175 for standards based on C99 or C11.
45176
343222a2
JM
45177 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45178 Disable tests.
45179 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45180 UNIX98]: Likewise.
45181
661f8cf0
JM
45182 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45183 usability of symbols in #if.
45184
ee74b9cb
JM
45185 * conform/conformtest.pl: If macro or constant types start
45186 "promoted:", expect the symbol to be of the following type
45187 promoted by the integer promotions.
62fde54f 45188
aafc49b3
JM
45189 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45190 in one place. Also handle "macro-constant".
45191
fefdf574
JM
45192 * conform/conformtest.pl: Only accept expected macro values with
45193 "==". Parse all "macro" lines in one place.
45194 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45195
f2d922fe
JM
45196 * conform/conformtest.pl: Handle braced types on "constant" lines
45197 instead of handling "typed-constant".
45198 * conform/data/signal.h-data: Use "constant" instead of
45199 "typed-constant".
45200
d22956c9
JM
45201 * conform/conformtest.pl: Handle "optional-" at start of lines in
45202 one place rather than duplicating several cases. Handle each
45203 format of "macro" line with initial "optional-".
45204
028e2e38
JM
45205 * conform/conformtest.pl: Only accept expected constant or
45206 optional-constant values with "==". Parse all "constant" lines in
45207 one place. Parse all "optional-constant" lines in one place.
45208 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45209 * conform/data/fmtmsg.h-data: Likewise.
45210 * conform/data/netinet/in.h-data: Likewise.
45211 * conform/data/tar.h-data: Likewise.
45212 * conform/data/limits.h-data: Use "==" form on "constant" and
45213 "optional-constant" lines.
45214
1b8f2850
JM
45215 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45216 Use -std=c99 for XOPEN2K.
45217 (@knownproblems): Remove.
45218 (newtoken): Don't check %isknown.
45219
a05a144b
JM
45220 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45221 Do not expect macro.
45222 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45234 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45235 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45252 [XPG3] (acosh): Likewise.
45253 [XPG3] (asinh): Likewise.
45254 [XPG3] (atanh): Likewise.
45255 [XPG3] (cbrt): Likewise.
45256 [XPG3] (expm1): Likewise.
45257 [XPG3] (ilogb): Likewise.
45258 [XPG3] (log1p): Likewise.
45259 [XPG3] (logb): Likewise.
45260 [XPG3] (nextafter): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45263 [XPG3] (remainder): Likewise.
45264 [XPG3] (rint): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45272 [UNIX98 || XOPEN2K] (scalb): Expect.
45273 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45274 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45285 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45286 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45287 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45288 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45289 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45290 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45291 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45292 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45293 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45294 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45295 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45296 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45297 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45298 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45299 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45300 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45301 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45302 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45303 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45304 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45305 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45306 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45307 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45308 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45309 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45310 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45311 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45312 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45313 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45314 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45315 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45316 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45317 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45329 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45330 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45332 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45333 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45334 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45335 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45336 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45337 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45338 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45339 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45340 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45341 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45342 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45343 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45344 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45345 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45346 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45347 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45348 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45349 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45350 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45351 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45352 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45353 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45354 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45355 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45356 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45357 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45358 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45359 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45360 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45361 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45362 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45363 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45364 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45365 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45366 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45367 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45368 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45369 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45370 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45371 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45372 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45373 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45374 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45375 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45376 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45377 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45378 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45379 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45380 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45381 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45382 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45383 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45384 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45385 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45386 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45387 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45388 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45389 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45390 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45391 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45392 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45393 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45394 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45395 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45396 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45397 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45398 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45399 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45400 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45401 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45402 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45403 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45404 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45405 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45406 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45407 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45408 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45409 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45410
73c5ebe3
JM
45411 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45412 _XOPEN_SOURCE_EXTENDED for XPG4.
45413
39c33b6c
JM
45414 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45415
62fde54f
JM
45416 * Makeconfig (localtime): Remove variable.
45417 (inst_localtime-file): Likewise.
45418
0741d64c
AS
454192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45420
45421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45422 Update.
45423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45424 Update.
45425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45426 Update.
45427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45428 Update.
45429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45430 Update.
45431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45432 Update.
45433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45434 Update.
45435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45436 Update.
45437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45438 Update.
45439
7cb029ee
JM
454402012-05-01 Joseph Myers <joseph@codesourcery.com>
45441
45442 [BZ #2550]
45443 [BZ #2570]
45444 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45445 comparisons to determine direction to adjust input.
45446 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45447 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45449 Likewise.
45450 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45451 Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45453 Likewise.
45454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45456 Likewise.
45457 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45458 Likewise.
45459 * math/libm-test.inc (nexttoward_test): Add more tests.
45460
412bd966
AS
454612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45462
45463 [BZ #14040]
45464 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45465 in version GLIBC_2.1, not GLIBC_2.0.
45466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45467 Likewise.
45468
9568c0c2
JM
454692012-04-30 Joseph Myers <joseph@codesourcery.com>
45470
adfbc8ac
JM
45471 [BZ #13942]
45472 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45473 (1 - x) * (1 + x).
45474 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45475 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45476 * math/libm-test.inc (acos_test): Add more tests.
45477 (asin_test): Likewise.
45478 * sysdeps/i386/fpu/libm-test-ulps: Update.
45479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45480
5ba3cc69
JM
45481 [BZ #14034]
45482 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45483 of square root.
45484 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45485 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45486 * math/libm-test.inc (acos_test_tonearest): New function.
45487 (acos_test_towardzero): Likewise.
45488 (acos_test_downward): Likewise.
45489 (acos_test_upward): Likewise.
45490 (asin_test_tonearest): Likewise.
45491 (asin_test_towardzero): Likewise.
45492 (asin_test_downward): Likewise.
45493 (asin_test_upward): Likewise.
45494 (main): Call the new functions.
45495 * sysdeps/i386/fpu/libm-test-ulps: Update.
45496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45497
9568c0c2
JM
45498 [BZ #13884]
45499 [BZ #13924]
45500 * math/e_exp10.c: Include <float.h>.
45501 (__ieee754_exp10): Handle underflow here rather than multiplying
45502 large negative argument by M_LN10.
45503 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45504 of __ieee754_expf.
45505 * math/e_exp10l.c: Include <float.h>.
45506 (__ieee754_exp10l): Handle underflow here rather than multiplying
45507 large negative argument by M_LN10l.
45508 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45509 spurious overflow exception on underflow.
45510
5ac3ea17
MP
455112012-04-29 Marek Polacek <polacek@redhat.com>
45512
45513 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45514 (__fortify_function): New macro.
45515 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45516 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45517 __extern_always_inline.
45518 * libio/bits/stdio2.h: Likewise.
45519 * libio/bits/stdio.h: Likewise.
45520 * string/string.h: Likewise.
45521 * string/bits/string3.h: Likewise.
45522 * include/stdio.h: Likewise.
45523 * stdlib/bits/stdlib.h: Likewise.
45524 * stdlib/stdlib.h: Likewise.
45525 * rt/bits/mqueue2.h: Likewise.
45526 * rt/mqueue.h: Likewise.
45527 * posix/bits/unistd.h: Likewise.
45528 * posix/unistd.h: Likewise.
45529 * io/bits/poll2.h: Likewise.
45530 * io/bits/fcntl2.h: Likewise.
45531 * io/fcntl.h: Likewise.
45532 * io/sys/poll.h: Likewise.
45533 * misc/bits/syslog.h: Likewise.
45534 * misc/bits/syslog-ldbl.h: Likewise.
45535 * misc/sys/syslog.h: Likewise.
45536 * socket/bits/socket2.h: Likewise.
45537 * socket/sys/socket.h: Likewise.
45538 * debug/tst-chk1.c: Likewise.
45539 * wcsmbs/bits/wchar2.h: Likewise.
45540 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45541 * wcsmbs/wchar.h: Likewise.
45542
ecf0ebfb
AJ
455432012-04-29 Andreas Jaeger <aj@suse.de>
45544
45545 * Makerules (tests): Remove enable-check-abi protection.
45546 (check-abi-warn): Remove.
45547 (check-abi-%): Remove check-abi-warn usage.
45548
45549 * configure.in: Remove check-abi configure option.
45550 * configure: Regenerated.
45551 * config.make.in (enable-check-abi): Remove.
45552
6d5c57fa
AS
455532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45554
24c5d07e 45555 [BZ #14033]
ded5180a
AS
45556 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45557 double functions to double *_finite functions.
45558
7e0d315d
AS
45559 [BZ #13941]
45560 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45561 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45562 LDBL_MIN_EXP.
45563 * stdio-common/Makefile (tests): Add tst-sprintf3.
45564 * stdio-common/tst-sprintf3.c: New file.
45565
6d5c57fa
AS
45566 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45567 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45568
0749ff8b
JM
455692012-04-28 Joseph Myers <joseph@codesourcery.com>
45570
45571 * conform/conformtest.pl: Remove duplicate typed-constant
45572 handling.
45573
8dbd5d7b
DM
455742012-04-28 David S. Miller <davem@davemloft.net>
45575
45576 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45577 (check-abi-%): Remove AWK script prerequisite and explicit
45578 abilist directory.
45579 (check-abi): Rewrite to just diff the symlist with the abilist.
45580 (config-tls, config-abi-config): Delete, no longer used.
45581 (update-abi-%): Remove AWK script and explicit abilist directory.
45582 (update-abi): Rewrite to simply compare and conditionally copy the
45583 symlist and the sysdep abilist file. Remove update-abi-config
45584 checks.
45585 * abilist/ld.abilist: Remove.
45586 * abilist/libBrokenLocale.abilist: Remove.
45587 * abilist/libanl.abilist: Remove.
45588 * abilist/libcrypt.abilist: Remove.
45589 * abilist/libdl.abilist: Remove.
45590 * abilist/librt.abilist: Remove.
45591 * abilist/libthread_db.abilist: Remove.
45592 * abilist/libutil.abilist: Remove.
45593 * scripts/extract-abilist.awk: Remove.
45594 * scripts/merge-abilist.awk: Remove.
45595 * sysdeps/generic/libcidn.abilist: New file.
45596 * sysdeps/generic/libnss_compat.abilist: New file.
45597 * sysdeps/generic/libnss_db.abilist: New file.
45598 * sysdeps/generic/libnss_dns.abilist: New file.
45599 * sysdeps/generic/libnss_files.abilist: New file.
45600 * sysdeps/generic/libnss_hesiod.abilist: New file.
45601 * sysdeps/generic/libnss_nis.abilist: New file.
45602 * sysdeps/generic/libnss_nisplus.abilist: New file.
45603 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45604 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45605 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45606 file.
45607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45608 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45609 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45610 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45611 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45612 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45613 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45614 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45615 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45616 file.
45617 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45618 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45619 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45620 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45621 file.
45622 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45623 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45624 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45625 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45626 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45627 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45628 file.
45629 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45630 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45631 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45632 file.
45633 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45635 New file.
45636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45637 New file.
45638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45639 New file.
45640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45641 New file.
45642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45643 New file.
45644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45645 New file.
45646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45647 New file.
45648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45649 New file.
45650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45651 New file.
45652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45653 New file.
45654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45655 New file.
45656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45657 New file.
45658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45659 New file.
45660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45661 file.
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45663 New file.
45664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45665 New file.
45666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45667 file.
45668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45669 New file.
45670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45671 New file.
45672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45673 file.
45674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45675 New file.
45676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45677 New file.
45678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45679 New file.
45680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45681 New file.
45682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45683 New file.
45684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45685 New file.
45686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45688 file.
45689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45690 New file.
45691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45692 file.
45693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45694 file.
45695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45696 file.
45697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45698 file.
45699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45700 file.
45701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45702 New file.
45703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45704 file.
45705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45706 file.
45707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45708 New file.
45709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45710 file.
45711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45713 file.
45714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45715 New file.
45716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45717 file.
45718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45719 file.
45720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45721 file.
45722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45723 file.
45724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45725 file.
45726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45727 New file.
45728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45729 file.
45730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45731 file.
45732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45733 New file.
45734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45735 file.
45736 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45737 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45738 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45739 file.
45740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45741 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45742 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45743 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45744 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45745 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45746 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45747 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45748 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45749 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45752 file.
45753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45754 New file.
45755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45756 file.
45757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45758 file.
45759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45760 file.
45761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45762 file.
45763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45764 file.
45765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45766 New file.
45767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45768 New file.
45769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45770 file.
45771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45772 New file.
45773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45774 file.
45775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45777 file.
45778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45779 New file.
45780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45781 file.
45782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45783 file.
45784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45785 file.
45786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45787 file.
45788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45789 file.
45790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45791 New file.
45792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45793 New file.
45794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45795 file.
45796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45797 New file.
45798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45799 file.
45800
41d73a1b
JM
458012012-04-28 Joseph Myers <joseph@codesourcery.com>
45802
45803 * conform/conformtest.pl: Fix typo in handling typed-constant from
45804 allow-header.
45805
28aeeda4
JM
458062012-04-27 Joseph Myers <joseph@codesourcery.com>
45807
adae8f5e
JM
45808 * README: Cut down references to pre-2.6 Linux kernels and
45809 Linuxthreads. Update lists of configurations in libc and ports
45810 and sort alphabetically. Say "or newer" with Linux kernel version
45811 requirements.
45812
28aeeda4
JM
45813 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45814
a462cb63
RA
458152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45816
45817 [BZ #887]
45818 * math/libm-test.inc (logb_test_downward): New test to expose
45819 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45820 rounding mode.
45821
6ad3493e
JM
458222012-04-27 Joseph Myers <joseph@codesourcery.com>
45823
45824 [BZ #14027]
45825 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45826 to be done.
45827 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45828 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45829
2ce4f015
JM
458302012-04-26 Joseph Myers <joseph@codesourcery.com>
45831
5aeb141a
JM
45832 * sysdeps/unix/i386/brk.S: Remove file.
45833 * sysdeps/unix/i386/dl-brk.S: Likewise.
45834 * sysdeps/unix/i386/pipe.S: Likewise.
45835 * sysdeps/unix/i386/sigreturn.S: Likewise.
45836 * sysdeps/unix/i386/syscall.S: Likewise.
45837 * sysdeps/unix/i386/vfork.S: Likewise.
45838 * sysdeps/unix/i386/wait.S: Likewise.
45839
7143acae
JM
45840 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45841 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45842
2ce4f015
JM
45843 * configure.in (arm*-none*): Do not allow without
45844 --enable-hacker-mode.
45845 (netbsd*): Remove case setting base_os.
45846 (386bsd*): Likewise.
45847 (freebsd*): Likewise.
45848 (bsdi*): Likewise.
45849 (osf*): Likewise.
45850 (sunos*): Likewise.
45851 (ultrix*): Likewise.
45852 (newsos*): Likewise.
45853 (dynix*): Likewise.
45854 (*bsd*): Likewise.
45855 (sysv*): Likewise.
45856 (isc*): Likewise.
45857 (esix*): Likewise.
45858 (sco*): Likewise.
45859 (minix*): Likewise.
45860 (irix4*): Likewise.
45861 (irix6*): Likewise.
45862 (solaris[2-9]*): Likewise.
45863 (none): Likewise.
45864 * configure: Regenerated.
45865
0ac229c8
AZ
458662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45867
45868 [BZ #11521]
45869 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45870 overflow or cancellation in calculating denominator.
45871 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45873 down expression to avoid unexpected rounding in newer GCCs.
45874 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45875
33f244f4
DM
458762012-04-26 David S. Miller <davem@davemloft.net>
45877
45878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45879 long-double compat symbols.
45880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45893
cfa1f3e8
DM
458942012-04-25 David S. Miller <davem@davemloft.net>
45895
45896 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45897 HWCAP_* values only after the memory barriers have been defined.
45898 (atomic_full_barrier): Define.
45899 (atomic_read_barrier): Define.
45900 (atomic_write_barrier): Define.
45901
6e236b92
SP
459022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45903
45904 * shlib-versions: Add libgcc_s version information.
45905 * sysdeps/generic/libgcc_s.h: Remove.
45906 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45907 libgcc_s.h.
45908 * sysdeps/gnu/unwind-resume.c: Likewise.
45909 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45910
aab39a09
DM
459112012-04-25 David S. Miller <davem@davemloft.net>
45912
45913 * sysdeps/unix/sparc/brk.S: Delete.
45914 * sysdeps/unix/sparc/dl-brk.S: Delete.
45915 * sysdeps/unix/sparc/pipe.S: Delete.
45916 * sysdeps/unix/sparc/sysdep.S: Delete.
45917 * sysdeps/unix/sparc/sysdep.h: Delete.
45918 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45919 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45920 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45922 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45923 (JUMPTARGET): Remove.
45924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45925 sysdeps/unix/sparc/sysdep.h
45926 (ENTRY, END): Remove.
45927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45928
a3cc4f48
JM
459292012-04-25 Joseph Myers <joseph@codesourcery.com>
45930
2ed8cda2
JM
45931 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45932 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45933 -DIS_IN_build.
45934
35d76d59
JM
45935 * timezone/README: Update upstream location and email address for
45936 tzcode and tzdata.
45937 * timezone/zdump.c: Update from tzcode 2012b.
45938 * timezone/zic.c: Likewise.
45939
a3cc4f48
JM
45940 * configure.in (libc_cv_as_needed): Remove test.
45941 * configure: Regenerated.
45942 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45943 conditional definition.
45944 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45945 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45946 * config.make.in (have-as-needed): Remove variable.
45947
ceab42c3
SP
459482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45949 Paul Pluzhnikov <ppluzhnikov@google.com>
45950
45951 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45952 strings correctly.
45953
3ce2865f
CLT
459542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45955
45956 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45957 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45958 * sysdeps/sh/strlen.S: Likewise.
45959
f37e0d68
JM
459602012-04-24 Joseph Myers <joseph@codesourcery.com>
45961
ae186e9a
JM
45962 * sysdeps/unix/fork.S: Remove file.
45963 * sysdeps/unix/i386/fork.S: Likewise.
45964 * sysdeps/unix/sparc/fork.S: Likewise.
45965
b96914af
JM
45966 * sysdeps/unix/system.c: Remove file.
45967 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45968
f37e0d68
JM
45969 * sysdeps/unix/getegid.S: Remove file.
45970 * sysdeps/unix/geteuid.S: Likewise.
45971
87ef29ca
RM
459722012-04-24 Roland McGrath <roland@hack.frob.com>
45973
83bcd236
RM
45974 * scripts/check-localplt.awk: New file.
45975 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45976 of diff.
45977 * scripts/data/localplt-generic.data: Add a comment.
45978
87ef29ca
RM
45979 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45980 NODE when __dir_mkfile failed.
45981 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45982 Reported by Ludovic Courtès <ludo@gnu.org>.
45983
e5a6e567
AJ
459842012-04-24 Andreas Jaeger <aj@suse.de>
45985
45986 * Makerules (common-clean): Also remove gen-as-const-headers
45987 files.
45988
c1820385
JM
459892012-04-24 Joseph Myers <joseph@codesourcery.com>
45990
45991 * Makerules (native-compile): Do not change working directory for
45992 build. Use $(OUTPUT_OPTION) in command.
45993 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45994
94e02fc4
AZ
459952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45996
45997 [BZ #13886]
45998 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45999 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46000 * math/libm-test.inc (floor_test): Add more tests.
46001 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46002
3a533ca3
JM
460032012-04-24 Joseph Myers <joseph@codesourcery.com>
46004
940ab4b3
JM
46005 * sysdeps/unix/getdents.c: Remove file.
46006 * sysdeps/unix/sysv/getdents.c: Likewise.
46007 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46008
90e037bd
JM
46009 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46010 sysdeps/unix/mman/syscalls.list.
46011 (mmap): Likewise.
46012 (mprotect): Likewise.
46013 (msync): Likewise.
46014 (munmap): Likewise.
46015 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46016 * sysdeps/unix/mman/syscalls.list: Remove.
46017 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46018
3a533ca3
JM
46019 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46020 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46021 * configure: Regenerated.
46022 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46023 $(libgcc_s_suffix).
46024 * config.make.in (libgcc_s_suffix): Remove variable.
46025
1ad743de
JM
460262012-04-23 Joseph Myers <joseph@codesourcery.com>
46027
4ad451e2
JM
46028 * sysdeps/unix/sysv/gethostname.c: Move to ...
46029 * sysdeps/posix/gethostname.c: ... here.
46030
5e37ce39
JM
46031 * sysdeps/unix/execve.S: Remove file.
46032
1ad743de
JM
46033 * sysdeps/unix/_exit.S: Remove file.
46034
4e681b5b
AJ
460352012-04-23 Andreas Jaeger <aj@suse.de>
46036
46037 [BZ #13739]
46038 * manual/Makefile: Remove make dist support, there's no
46039 need for a stand-alone documentation tar ball.
46040 (TEXI2DVI): Define always, it's not in Makeconfig.
46041 (dist): Removed.
46042 (tar-it): Removed.
46043 (edition): Removed.
46044 (glibc-doc-$(edition).tar): Removed
46045 (%.Z): Removed.
46046 (%.gz): Removed.
46047 (%.uu): Removed.
46048 (ETAGS): Remove, it's in Makeconfig.
46049 (move-if-change): Remove, it's in Makeconfig.
46050
38686a03 460512012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46052
46053 [BZ #13970]
46054 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46055 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46056 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46057 (strtod_l, strtof_l, strtold_l): Remove __wur.
46058 It is not necessarily an error to ignore strtol's return value.
46059 One can reliably look at the stored endptr to decide whether
46060 the number had valid syntax.
46061
7c0616fa
AJ
460622012-04-21 Andreas Jaeger <aj@suse.de>
46063
803cb6b7 46064 [BZ #13739]
7c0616fa
AJ
46065 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46066
b0fe253f
JM
460672012-04-21 Joseph Myers <joseph@codesourcery.com>
46068
46069 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46070 * sysdeps/unix/sysv/Versions: Remove file.
46071
8280f22d
MT
460722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46073
46074 [BZ #13927]
46075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46076
75ce411f 460772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46078
46079 [BZ #7064]
46080 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46081 version from __vm86.
46082
097d59fa
JM
460832012-04-20 Joseph Myers <joseph@codesourcery.com>
46084
a90f3bcb
JM
46085 * sysdeps/unix/common/lxstat.c: Remove file.
46086 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46087
edc7ea78
JM
46088 * sysdeps/unix/sysv/Makefile: Remove file.
46089
cb78c221
JM
46090 * sysdeps/unix/sysv/direct.h: Remove file.
46091
efa6a45f
JM
46092 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46093 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46094 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46095 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46096 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46097 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46098 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46099
9c9f2d0c
JM
46100 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46101
4541c83b
JM
46102 * sysdeps/unix/xmknod.c: Remove file.
46103 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46104
f5d153a0
JM
46105 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46106
aa746595
JM
46107 * sysdeps/unix/sysv/i386/time.S: Remove file.
46108
cce5905e
JM
46109 * sysdeps/unix/fxstat.c: Remove file.
46110 * sysdeps/unix/xstat.c: Likewise.
46111 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46112
37fa3841
JM
46113 * sysdeps/unix/sysv/sigaction.c: Remove file.
46114
ff1962a3
JM
46115 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46116 (sysdep_headers): Remove variable.
46117 [termio.h not in sysdep_headers] (generated): Likewise.
46118 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46119 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46120 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46121 * sysdeps/unix/sysv/tcflow.c: Likewise.
46122 * sysdeps/unix/sysv/tcflush.c: Likewise.
46123 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46124 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46125 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46126 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46127 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46128
e7740d31
JM
46129 * sysdeps/unix/siglist.c: Remove file.
46130
ee06f18b
JM
46131 * sysdeps/unix/getppid.S: Remove file.
46132
097d59fa
JM
46133 * sysdeps/unix/mkdir.c: Remove file.
46134 * sysdeps/unix/rmdir.c: Likewise.
46135
ff3d51ec
AS
461362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46137
46138 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46139 ERR_MAX value.
46140 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46141 errlist-compat value.
46142
50f81fd7
DM
461432012-04-18 David S. Miller <davem@davemloft.net>
46144
46145 * sysdeps/generic/memcopy.h (reg_char): Delete.
46146 * debug/strcat_chk.c: Use char, not reg_char.
46147 * debug/strcpy_chk.c: Likewise.
46148 * debug/strncat_chk.c: Likewise.
46149 * debug/strncpy_chk.c: Likewise.
46150 * string/memchr.c: Likewise.
46151 * string/memrchr.c: Likewise.
46152 * string/rawmemchr.c: Likewise.
46153 * string/strcat.c: Likewise.
46154 * string/strchr.c: Likewise.
46155 * string/strchrnul.c: Likewise.
46156 * string/strcmp.c: Likewise.
46157 * string/strcpy.c: Likewise.
46158 * string/strncat.c: Likewise.
46159 * string/strncmp.c: Likewise.
46160 * string/strncpy.c: Likewise.
46161
8ff41c46
WS
461622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46163
46164 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46165 __builtin_memcopy is called when src and dest ranges are known to not
46166 overlap.
46167
6b652f46
WS
461682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46169
46170 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46171 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46172 fwd_align_merge macro call.
46173 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46174 bwd_align_merge macro call.
46175 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46176
b282631e
WS
461772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46178
46179 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46180 bwd_align_merge macros.
46181 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46182 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46184
95aa737c
DM
461852012-04-18 David S. Miller <davem@davemloft.net>
46186
46187 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46188
7a99a614
AJ
461892012-04-18 Andreas Jaeger <aj@suse.de>
46190
46191 [BZ# 6794]
46192 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46193 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46194 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46195
46196 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46197 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46198 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46199
46200 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46201 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46202 Adjust for changed ldbl-128 files.
46203
46204 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46205 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46207
e5270c23
DM
462082012-04-17 David S. Miller <davem@davemloft.net>
46209
46210 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46211
fb5e92c9
AS
462122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46213
46214 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46215 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46216 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46217 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46218 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46219 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46220
76da7265
AZ
462212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46222
46223 [BZ #6794]
46224 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46225 * math/libm-test.inc: Add ilogb errno and exception tests.
46226 * math/w_ilogb.c: New file: ilogb wrapper.
46227 * math/w_ilogbf.c: New file: ilogbf wrapper.
46228 * math/w_ilogbl.c: New file: ilogbl wrapper.
46229 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46230 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46231 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46232 exception being thrown with 0.0 as argument.
46233 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46234 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46235 exception being thrown with 0.0 as argument.
46236 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46237 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46238 exception being thrown with 0.0 as argument.
46239 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46240 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46241 exception being thrown with 0.0 as argument.
46242 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46243 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46244 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46245 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46246 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46247 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46248 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46249 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46250 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46251
0396e69d
PB
462522012-04-17 Petr Baudis <pasky@ucw.cz>
46253
46254 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46255 with altivec.
46256
750b5926
MP
462572012-04-16 Marek Polacek <polacek@redhat.com>
46258
46259 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46260
751728a1
MP
462612012-04-16 Marek Polacek <polacek@redhat.com>
46262
46263 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46264 operands of fdivp instruction.
46265
34a27407
L
462662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46267
46268 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46269 * elf/tst-auditmod3b.c: Likewise.
46270 * elf/tst-auditmod4b.c: Likewise.
46271 * elf/tst-auditmod5b.c: Likewise.
46272 * elf/tst-auditmod6b.c: Likewise.
46273 * elf/tst-auditmod6c.c: Likewise.
46274 * elf/tst-auditmod7b.c: Likewise.
46275 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46276 * sysdeps/x86_64/preconfigure.in: Likewise.
46277 * sysdeps/x86_64/preconfigure: Regenerated.
46278
7e73e17d
L
462792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46280
46281 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46282 __ILP32__.
46283
c7a6ab72
AB
462842012-04-13 Antoine Balestrat <merkil33@gmail.com>
46285
46286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46287 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46288
a9e8e0e0
CL
462892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46290
46291 [BZ #13973]
46292 * locale/iso-639.def: Fix gl language name. Spotted by
46293 Yaron Shahrabani.
46294
ec98af7d
RM
462952012-04-12 Roland McGrath <roland@hack.frob.com>
46296
46297 [BZ #2074]
46298 * libio/libio.h (__io_write_fn): Update comment.
46299
247c3ede
PB
463002012-04-12 Petr Baudis <pasky@ucw.cz>
46301
46302 [BZ #2074]
46303 * stdio.texi (Hook Functions): The user provided writer function
46304 is not allowed to return -1.
46305
55939d6d
DM
463062012-04-11 David S. Miller <davem@davemloft.net>
46307
46308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46309
90020f5a
MF
463102012-04-11 Mike Frysinger <vapier@gentoo.org>
46311
46312 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46313 Add a leading slash to rtkaio.
46314
288f9098
JM
463152012-04-11 Jim Meyering <meyering@redhat.com>
46316
90020f5a
MF
46317 [BZ #11959]
46318 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46319 It is not necessarily an error to ignore fwrite's return
46320 value. One can reliably use ferror to test for errors after
46321 the fact.
288f9098 46322
4be2b570
L
463232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46324
46325 * bits/types.h (__snseconds_t): New type.
46326 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46327
46328 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46330 (__SNSECONDS_T_TYPE): Likewise.
46331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46332 (__SNSECONDS_T_TYPE): Likewise.
46333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46334 (__SNSECONDS_T_TYPE): Likewise.
46335
288f9098 463362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46337
46338 [BZ #2636]
46339 * manual/time.texi (Processor Time): Return type of times is
46340 elapsed real time since an arbitrary point in the past.
46341 (CPU Time): Move CLK_TCK from here...
46342 (Processor Time): ...to here. Correct description.
46343 * manual/conf.texi (Constants for Sysconf): Correct description of
46344 _SC_CLK_TCK.
46345
d7dd4413
DM
463462012-04-10 David S. Miller <davem@davemloft.net>
46347
46348 [BZ #13967]
46349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46350 where the is a gap between DT_REL(A) and DT_JMPREL.
46351
b46068fc
L
463522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46353
46354 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46355 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46356 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46357
73d65cc3
SP
463582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46359
46360 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46361 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46362 (dl_main): Handle --inhibit-cache.
46363 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46364 _dl_inhibit_cache.
46365 * elf/dl-load.c (_dl_map_object): Use it.
46366 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46367
bcc8d661
JM
463682012-04-09 Joseph Myers <joseph@codesourcery.com>
46369
8f9a2fae
JM
46370 [BZ #13872]
46371 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46372 (__ieee754_powl): Saturate large exponents rather than testing for
46373 overflow of y*log2(x).
46374 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46375 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46376 exceptions.
46377
bcc8d661
JM
46378 [BZ #11521]
46379 * math/s_ctan.c: Include <float.h>.
46380 (__ctan): Avoid internal overflow or cancellation in calculating
46381 denominator.
46382 * math/s_ctanf.c: Likewise.
46383 * math/s_ctanl.c: Likewise.
46384 * math/s_ctanh.c: Likewise.
46385 * math/s_ctanhf.c: Likewise.
46386 * math/s_ctanhl.c: Likewise.
46387 * math/libm-test.inc (ctan_test): Add more tests.
46388 (ctanh_test): Likewise.
46389 * sysdeps/i386/fpu/libm-test-ulps: Update.
46390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46391
823fbbb4
AJ
463922012-04-09 Andreas Jaeger <aj@suse.de>
46393
03879793
AJ
46394 [BZ #6894]
46395 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46396 is an optional BSD extension.
46397
823fbbb4
AJ
46398 [BZ #10254]
46399 * manual/stdio.texi (Opening Streams): Document additional fopen
46400 parameters.
46401
8de131cb
RM
464022012-04-09 Roland McGrath <roland@hack.frob.com>
46403
46404 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46405 %eax without telling the compiler.
46406
c0ed9d7d
CD
464072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46408
46409 [BZ # 13963]
46410 * manual/install.texi: Use sourceware.org.
46411
c483f6b4
JM
464122012-04-09 Joseph Myers <joseph@codesourcery.com>
46413
d7dd9453
JM
46414 [BZ #13873]
46415 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46416 (__ieee754_pow): Generate overflow and underflow using huge*huge
46417 and tiny*tiny rather than just returning constant infinity or zero
46418 for large exponents.
46419 * math/libm-test.inc (pow_test): Require overflow exceptions for
46420 applicable cases of large exponents.
46421
c483f6b4
JM
46422 [BZ #706]
46423 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46424 (__ieee754_pow): Use iterative multiplication algorithm only for
46425 integer exponents with absolute value below 1024. Check for odd
46426 integer exponents when using algorithm for real exponents.
46427 * math/libm-test.inc (pow_test): Add more tests.
46428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46429
d2de7579
JM
464302012-04-08 Joseph Myers <joseph@codesourcery.com>
46431
46432 [BZ #13705]
46433 * math/libm-test.inc (exp_test): Do not allow overflow exception
46434 on underflow test.
46435
f77f1232
AJ
464362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46437
46438 [BZ #13705]
46439 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46440 instead of __kernel_standard_f.
46441
3884932b
MF
464422012-04-08 Mike Frysinger <vapier@gentoo.org>
46443
46444 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46445 * sysdeps/x86_64/memset_chk.S: Likewise.
46446
54472e9c
AJ
464472012-04-08 Andreas Jaeger <aj@suse.de>
46448
6ab0fbfc
AJ
46449 [BZ #10153]
46450 * manual/startup.texi (Environment Access): Describe return value
46451 for putenv and setenv.
46452
61efba8c
AJ
46453 [BZ #6895]
46454 * manual/filesys.texi (Directory Entries): Add description for
46455 DT_LNK.
46456
95c3f29a
AJ
46457 [BZ #6890]
46458 * manual/filesys.texi (Directory Entries): Clarify that it's file
46459 system not operating system in the description of DT_UNKNOWN.
46460
54472e9c
AJ
46461 [BZ #6578]
46462 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46463
624254b1
SC
464642012-04-08 Stephen Compall <s11@member.fsf.org>
46465
46466 [BZ #6649]
46467 * manual/llio.texi (Opening and Closing Files): Add cross
46468 reference to explain mode argument.
46469
1e4920e0
MF
464702012-04-07 Mike Frysinger <vapier@gentoo.org>
46471
46472 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46473 * sysdeps/x86_64/memset_chk.S: Likewise.
46474
5ed848f3
DM
464752012-04-07 David S. Miller <davem@davemloft.net>
46476
46477 * elf/elf.h (R_SPARC_WDISP10): Define.
46478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46479 R_SPARC_SIZE32.
46480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46481 R_SPARC_SIZE64 and R_SPARC_H34.
46482
96154cd8
CD
464832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46484
46485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46486 conditions and remove no longer applicable assertion.
46487
9904dc47
L
464882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46489
46490 * bits/byteswap.h: Include <features.h>.
46491 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46492 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46493
f8887d0a
L
464942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46495
46496 * bits/byteswap.h (__bswap_16): Removed.
46497 Include <bits/byteswap-16.h> to get __bswap_16.
46498 * sysdeps/i386/bits/byteswap.h: Likewise.
46499 * sysdeps/s390/bits/byteswap.h: Likewise.
46500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46501 * bits/byteswap-16.h: New file.
46502 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46503 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46504 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46505 * string/Makefile (headers): Add bits/byteswap-16.h.
46506
62470f60
PP
465072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46508
46509 [BZ #13895]
46510 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46511 extra indirection.
46512 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46513 * nss/tst-nss-static.c: New.
46514
4dad7bab
RM
465152012-04-06 Robert Millan <rmh@gnu.org>
46516
46517 [BZ #6486]
46518 * manual/llio.texi (File Position Primitive): lseek
46519 refers to WHENCE when it really means OFFSET.
46520
e9142a17
AJ
465212012-04-06 Andreas Jaeger <aj@suse.de>
46522
2c040eff
AJ
46523 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46524 strncmp declarations.
46525
e9142a17
AJ
46526 * abilist/libc.abilist: Add __poll and __ppoll.
46527
ff9f1c5f
DM
465282012-04-05 David S. Miller <davem@davemloft.net>
46529
dcd2ae90
DM
46530 * scripts/check-local-headers.sh: Accept a host triplet in the
46531 path matched by the exclude regexp.
46532
993eb054
DM
46533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46534 definition.
46535 * sysdeps/powerpc/powerpc32/dl-machine.h
46536 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46537 * sysdeps/s390/s390-32/dl-machine.h
46538 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46539 * sysdeps/sparc/sparc32/dl-machine.h
46540 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46541 * sysdeps/sparc/sparc64/dl-machine.h
46542 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46543
ff9f1c5f
DM
46544 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46545 lazy binding.
48e2e132 46546 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46547 undefined symbol errors.
46548
48e2e132 46549 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46550 DT_NEEDED entries.
46551
e80d6f94
MM
465522012-04-05 Michael Matz <matz@suse.de>
46553
46554 [BZ #13592]
46555 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46556
349fa79f
AJ
465572012-04-05 Andreas Jaeger <aj@suse.de>
46558
46559 [BZ #13908]
46560 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46561 comment.
46562
f402708f
KK
465632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46564
46565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46566 which ROUND is no valid rounding mode.
46567
2ecccfc9
KK
465682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46569
46570 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46571 read again.
46572 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46573
8a53f50f
KK
465742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46575
46576 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46577 an exception using FPU order intentionally.
46578
465792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46580
46581 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46582 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46583 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46584 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46585
d653abb7
SJ
465862012-04-05 Simon Josefsson <simon@josefsson.org>
46587
46588 [BZ #12340]
46589 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46590 EINVAL when BUFLEN is too smal.
46591
c3b1bf7d
TS
465922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46593
46594 [BZ #13553]
46595 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46596 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46597
b1aa60f3
AJ
465982012-04-03 Andreas Jaeger <aj@suse.de>
46599
c3b1bf7d 46600 [BZ #13938]
67f60a26
AJ
46601 * manual/setjmp.texi (System V contexts): Fix sentence.
46602
b1aa60f3
AJ
46603 [BZ #13926]
46604 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46605 New macro for this case.
46606 [!__GNUC__] (__bswap_64): New inline function for this case.
46607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46608 * bits/byteswap.h: Likewise.
46609 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46610 ull, guard with __GLIBC_HAVE_LONG_LONG.
46611
46612 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46613 __GLIBC_HAVE_LONG_LONG.
46614
46615 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46616 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46617
39c59c35
TMQMF
466182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46619
46620 [BZ #13691]
46621 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46622 inptr and inend, rather than using last_ch.
46623
135ffda8
DM
466242012-04-02 David S. Miller <davem@davemloft.net>
46625
46626 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46627 * stdio-common/printf-parse.h (read_int): Change return type to
46628 'int', return -1 on INT_MAX overflow.
46629 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46630 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46631 overflows INT_MAX. Check for overflow of in-format-string precision
46632 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46633 SIZE_MAX not INT_MAX for integer overflow test.
46634 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46635 skip the construct in the format string but do not record anything.
46636 * stdio-common/bug22.c: Adjust to test both width/prevision
46637 INT_MAX overflow as well as total length INT_MAX overflow. Check
46638 explicitly for proper errno values.
46639
228c019e
TS
466402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46641
302cadd3
TS
46642 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46643 CHAR_MAX.
46644 * string/test-strcmp.c [! WIDE]: Likewise.
46645 * time/tst-mktime2.c: Likewise for INT_MAX.
46646 * string/test-string.h: #include <sys/param.h> for MIN.
46647
228c019e
TS
46648 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46649 * sysdeps/i386/init-first.c (init): Likewise.
46650 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46651 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46652 * sysdeps/sh/init-first.c (init): Likewise.
46653
cfa633f5
UD
466542012-04-01 Ulrich Drepper <drepper@gmail.com>
46655
46656 * po/ru.po: Update from translation team.
d1635ef8 46657 * po/vi.po: Likewise.
cfa633f5 46658
6cd0a5ea
SP
466592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46660
46661 * resolv/nss_dns/dns-host.c: Merge copyright years.
46662
4b43400f
LD
466632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46664
46665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46666 Optimize memcpy with prefetch if
46667 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46668 src, dst pointers have unequal 16 byte alignments.
46669
48c41d04
SP
466702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46671
46672 [BZ #13928]
46673 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46674 from a CNAME entry and return the minimum ttl for the query.
46675 (gaih_getanswer_slice): Likewise.
46676
b8dc394d
JL
466772012-03-30 Jeff Law <law@redhat.com>
46678
46679 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46680 due to long keys.
46681 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46682 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46683
2f5a5ed0
JL
46684 * resolv/nss_dns/dns-host.c: Update copyright year.
46685
1d39e359
UD
466862012-03-30 Ulrich Drepper <drepper@gmail.com>
46687
c030f70c 46688 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46689 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46690
1d39e359
UD
46691 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46692 comments for sendmmsg.
46693
466942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46695
46696 [BZ #13691]
46697 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46698 with only 1 character between 0x0041 and 0x01b0.
46699 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46700 * wcsmbs/tst-mbsnrtowcs.c: New file.
46701
20fde227
DM
467022012-03-29 David S. Miller <davem@davemloft.net>
46703
46704 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46705 small copies by hand.
46706
984a4237
JL
467072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46708
46709 [BZ #13761]
57f41c40
AS
46710 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46711 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46712 group memberships.
984a4237 46713
18c9d62b
DM
467142012-03-28 David S. Miller <davem@davemloft.net>
46715
88d85d4f
DM
46716 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46717 that branches into memcpy.
46718 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46720 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46721 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46723 bits.
46724 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46725 implementation too.
46726 * sysdeps/sparc/mempcpy.S: New file.
46727
e5aa83e1
DM
46728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46729 the IFUNC routine in the libc case.
46730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46731
88570753
DM
46732 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46733 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46734 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46735 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46736 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46737 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46738 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46739 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46740
249d7567
DM
46741 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46742 loop to 256 bytes instead of 64 bytes and fix test signedness.
46743
18c9d62b
DM
46744 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46745 * sysdeps/sparc/sparc32/Makefile: rather than here...
46746 * sysdeps/sparc/sparc64/Makefile: and here.
46747
05f3d1f6
UD
467482012-03-28 Ulrich Drepper <drepper@gmail.com>
46749
46750 * malloc/mallocbug.c: Avoid warnings about unused variables.
46751
86ae07a8
JL
467522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46753
46754 [BZ #13760]
46755 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46756 in the right place. Discard and retry query if response is
46757 larger than input buffer size.
46758
41bf21a1
JM
467592012-03-28 Joseph Myers <joseph@codesourcery.com>
46760
d6270972
JM
46761 [BZ #369]
46762 [BZ #2678]
46763 [BZ #3866]
46764 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46765 x for large integer exponent.
46766 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46767 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46768 sign of result as needed afterwards.
46769 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46770 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46771 result for underflowing pow the same as for overflow.
46772 (__kernel_standard_l): Handle powl overflow and underflow here
46773 rather than calling __kernel_standard.
46774 * math/libm-test.inc (pow_test): Add more tests.
46775
414fca03 46776 [BZ #3868]
41bf21a1
JM
46777 [BZ #13879]
46778 [BZ #13910]
46779 [BZ #13911]
46780 [BZ #13912]
46781 [BZ #13913]
46782 [BZ #13915]
46783 [BZ #13916]
46784 [BZ #13917]
46785 [BZ #13918]
46786 [BZ #13919]
46787 [BZ #13920]
46788 [BZ #13921]
46789 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46790 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46791 (__kernel_standard_l): New function.
46792 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46793 __kernel_standard.
46794 * math/w_acosl.c (__acosl): Likewise.
46795 * math/w_asinl.c (__asinl): Likewise.
46796 * math/w_atan2l.c (__atan2l): Likewise.
46797 * math/w_atanhl.c (__atanhl): Likewise.
46798 * math/w_coshl.c (__coshl): Likewise.
46799 * math/w_exp10l.c (__exp10l): Likewise.
46800 * math/w_exp2l.c (__exp2l): Likewise.
46801 * math/w_fmodl.c (__fmodl): Likewise.
46802 * math/w_hypotl.c (__hypotl): Likewise.
46803 * math/w_j0l.c (__j0l, __y0l): Likewise.
46804 * math/w_j1l.c (__j1l, __y1l): Likewise.
46805 * math/w_jnl.c (__jnl, __ynl): Likewise.
46806 * math/w_lgammal.c (__lgammal): Likewise.
46807 * math/w_log10l.c (__log10l): Likewise.
46808 * math/w_log2l.c (__log2l): Likewise.
46809 * math/w_logl.c (__logl): Likewise.
46810 * math/w_powl.c (__powl): Likewise.
46811 * math/w_remainderl.c (__remainderl): Likewise.
46812 * math/w_scalbl.c (sysv_scalbl): Likewise.
46813 * math/w_sinhl.c (__sinhl): Likewise.
46814 * math/w_sqrtl.c (__sqrtl): Likewise.
46815 * math/w_tgammal.c (__tgammal): Likewise.
46816 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46817 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46818 * math/libm-test.inc (acos_test): Add more tests.
46819 (acosh_test): Likewise.
46820 (asin_test): Likewise.
46821 (atanh_test): Likewise.
46822 (exp_test): Likewise.
46823 (exp10_test): Likewise.
46824 (exp2_test): Likewise.
46825 (expm1_test): Likewise.
46826 (lgamma_test): Likewise.
46827 (log_test): Likewise.
46828 (log10_test): Likewise.
46829 (log1p_test): Likewise.
46830 (log2_test): Likewise.
46831 (pow_test): Do not allow some spurious overflow exceptions.
46832 (sqrt_test): Add more tests.
46833 (tgamma_test): Likewise.
46834 (y0_test): Likewise.
46835 (y1_test): Likewise.
46836 (yn_test): Likewise.
46837
dd62fda6
AB
468382012-03-27 Anton Blanchard <anton@samba.org>
46839
46840 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46841 MAP_HUGETLB.
46842 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46843 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46845
1e3cdfda
AJ
468462012-03-27 David S. Miller <davem@davemloft.net>
46847
b855ab85
DM
46848 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46849
1e3cdfda
AJ
46850 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46851 have-as-vis3 check.
46852
468532012-03-27 Andreas Jaeger <aj@suse.de>
46854
46855 * sysdeps/x86_64/elf/configure.in: Moved to ...
46856 * sysdeps/x86_64/configure.in: ... here.
46857 * sysdeps/x86_64/elf/start.S: Moved to ...
46858 * sysdeps/x86_64/start.S: ... here.
46859 * sysdeps/x86_64/elf/configure: Delete.
46860
46861 * sysdeps/x86_64/configure.in: Merge contents from
46862 sysdeps/i386/configure.in (without i686 check).
46863
46864 * sysdeps/i386/elf/Versions: Merge into ...
46865 * sysdeps/i386/Versions: ... this.
46866 * sysdeps/i386/elf/Versions: Delete file.
46867 * sysdeps/i386/elf/start.S: Moved to ...
46868 * sysdeps/i386/start.S: ...here.
46869 * sysdeps/i386/elf/configure.in: Merge into...
46870 * sysdeps/i386/configure.in: ...here.
46871 * sysdeps/i386/elf/configure.in: Delete file.
46872 * sysdeps/i386/elf/configure: Delete file.
46873
46874 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46875 * debug/backtracesyms.c: ... here.
46876 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46877 * debug/backtracesymsfd.c: ... here.
46878 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46879 * sysdeps/generic/ifunc-sel.h: ... here.
46880
46881 * sysdeps/unix/i386/start.c: Delete file.
46882 * sysdeps/unix/sparc/start.c: Delete file.
46883 * sysdeps/unix/start.c: Delete file.
46884
46885 * sysdeps/sh/elf/configure.in: Moved to ...
46886 * sysdeps/sh/configure.in: ... here.
46887 * sysdeps/sh/elf/start.S: Moved to ...
46888 * sysdeps/sh/start.S: ... here.
46889 * sysdeps/sh/elf/configure: Delete file.
46890
46891 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46892 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46893 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46894 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46895 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46896 * sysdeps/powerpc/powerpc64/start.S: here.
46897 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46898 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46899 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46900 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46901 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46902
46903 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46904 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46905 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46906 * sysdeps/powerpc/powerpc32/start.S: ... here.
46907 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46908 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46909 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46910
46911 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46912 * sysdeps/powerpc/ifunc-sel.h: ... here.
46913 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46914 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46915
46916 * sysdeps/sparc/elf/configure.in: Moved to ...
46917 * sysdeps/sparc/configure.in: ... here.
46918 * sysdeps/sparc/elf/configure: Delete file.
46919 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46920 * sysdeps/sparc/sparc32/start.S: ... here.
46921 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46922 * sysdeps/sparc/sparc64/start.S: ... here.
46923 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46924 * sysdeps/sparc/sparc32/Makefile: ... this.
46925 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46926 * sysdeps/sparc/sparc64/Makefile: ... this.
46927
46928 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46929 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46930 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46931 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46932 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46933 * sysdeps/s390/s390-32/setjmp.S: ... here.
46934 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46935 * sysdeps/s390/s390-32/configure.in: ... here.
46936 * sysdeps/s390/s390-32/elf/configure: Delete file.
46937 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46938 * sysdeps/s390/s390-32/start.S: ... here.
46939
46940 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46941 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46942 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46943 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46944 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46945 * sysdeps/s390/s390-64/setjmp.S: ... here.
46946 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46947 * sysdeps/s390/s390-64/configure.in: ... here
46948 * sysdeps/s390/s390-64/elf/configure: Delete file.
46949 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46950 * sysdeps/s390/s390-64/start.S: ... here.
46951 * sysdeps/s390/s390-64/elf/configure: Delete.
46952
46953 * configure.in: Remove support for elf directories in sysdeps.
46954
46955 * configure: Regenerated.
46956 * sysdeps/i386/configure: Regenerated.
46957 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46958 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46959 * sysdeps/s390/s390-32/configure: Regenerated.
46960 * sysdeps/s390/s390-64/configure: Regenerated.
46961 * sysdeps/sh/configure: Regenerated.
46962 * sysdeps/sparc/configure: Regenerated.
46963 * sysdeps/x86_64/configure: Regenerated.
46964
a3f61311
AS
469652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46966
c876e002
AS
46967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46968
a3f61311
AS
46969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46970 denormal result into account.
46971
ac4c54f0
RM
469722012-03-25 Roland McGrath <roland@hack.frob.com>
46973
46974 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46975 Reported by Allan McRae <allan@archlinux.org>.
46976
6a9b9c02
JL
469772012-03-23 Jeff Law <law@redhat.com>
46978
46979 * nss/getnssent.c (__nss_getent): Fix typo.
46980
4c42a0c1
DM
469812012-03-23 David S. Miller <davem@davemloft.net>
46982
46983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46984
1532c7ac
L
469852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46986
46987 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46988 to pad to uint64_t for each field.
46989 (dl_tls_index): Replace unsigned long with uint64_t.
46990
3ff42526
PP
469912012-03-23 Daniel Jacobowitz <dmj@google.com>
46992 Paul Pluzhnikov <ppluzhnikov@google.com>
46993
46994 [BZ #6528]
46995 * grp/Makefile (otherlibs): Don't set it.
46996 * inet/Makefile (otherlibs): Likewise.
46997 * login/Makefile (otherlibs): Likewise.
46998 * nscd/Makefile (otherlibs): Likewise.
46999 * posix/Makefile (otherlibs): Likewise.
47000 * pwd/Makefile (otherlibs): Likewise.
47001 * rt/Makefile (otherlibs): Likewise.
47002 * sunrpc/Makefile (otherlibs): Likewise.
47003 * nss/Makefile (otherlibs): Likewise.
47004 Add libnss_files to routines and static-only-routines.
47005 ($(objpfx)getent): Remove rule.
47006 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47007 static-only-routines.
47008
7c69cd14
JM
470092012-03-22 Joseph Myers <joseph@codesourcery.com>
47010
47011 [BZ #13892]
47012 * math/s_cexp.c: Include <float.h>.
47013 (__cexp): Handle exp result overflowing not necessarily
47014 overflowing both real and imaginary parts of result.
47015 * math/s_cexpf.c: Likewise.
47016 * math/s_cexpl.c: Likewise.
47017 * math/libm-test.inc (cexp_test): Add more tests.
47018 * sysdeps/i386/fpu/libm-test-ulps: Update.
47019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47020
81b035fe
L
470212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47022
47023 * include/link.h (ELFW): New macro.
47024 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47025 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47026
1da7940c
L
470272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47028
47029 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47030 with uint64_t.
47031
b749dbb9
L
470322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47033
47034 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47035 declaration.
47036 (struct La_x32_retval): Likewise.
47037
2ff87f3f
L
470382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47039
47040 * sysdeps/x86_64/preconfigure.in: New file.
47041 * sysdeps/x86_64/preconfigure: New generated file.
47042
c0df8e69
JM
470432012-03-22 Joseph Myers <joseph@codesourcery.com>
47044
48e44791
JM
47045 [BZ #13824]
47046 * math/e_exp2l.c: Include <float.h>.
47047 (__ieee754_exp2l): Handle overflow and underflow cases
47048 separately. Only pass fractional part of argument to
47049 __ieee754_expl.
47050 * math/libm-test.inc (exp2_test): Add more tests.
47051
c0df8e69
JM
47052 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47053 negating x to take absolute value.
47054 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47055 Likewise.
47056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47058 Likewise.
47059 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47060 computing low part if x was negated.
47061 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47062
c8e43ba7
L
470632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47064
47065 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47066 la_x32_gnu_pltexit.
47067 (pltexit): Cast int_retval to ptrdiff_t.
47068 * elf/tst-auditmod3b.c: Likewise.
47069 * elf/tst-auditmod4b.c: Likewise.
47070 * elf/tst-auditmod5b.c: Likewise.
47071 * elf/tst-auditmod6b.c: Likewise.
47072 * elf/tst-auditmod6c.c: Likewise.
47073 * elf/tst-auditmod7b.c: Likewise.
47074
47075 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47076 and x32_gnu_pltexit.
47077
47078 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47079 __ELF_NATIVE_CLASS.
47080 (La_x32_regs): New macro.
47081 (La_x32_retval): Likewise.
47082 (la_x32_gnu_pltenter): New function prototype.
47083 (la_x32_gnu_pltexit): Likewise.
47084
7998fa78
AS
470852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47086
dcb33988
AS
47087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47088 exponent.
47089
233fc563
AS
47090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47091
7998fa78
AS
47092 * configure.in (libc_cv_cc_nofma): Check for option to disable
47093 generation of FMA instructions.
47094 * configure: Regenerate.
47095 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47096 * sysdeps/ieee754/dbl-64/Makefile: New file.
47097 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47098 Remove brandred-fma4.
47099 (CFLAGS-brandred-fma4.c): Remove.
47100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47101 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47102 define.
47103 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47104 define.
47105
8e95c99a
L
471062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47107
47108 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47109 LLONG_MAX != LONG_MAX.
47110 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47111 (_fitoa_word): Likewise.
47112 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47113 LLONG_MAX != LONG_MAX.
47114 * stdio-common/_itowa.h: Include <_itoa.h>.
47115 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47116 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47117 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47118 only if not defined.
47119 (_ITOA_WORD_TYPE): Likewise.
47120 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47121 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47122
6f4db457
DM
471232012-03-21 David S. Miller <davem@davemloft.net>
47124
47125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47126
7785fe5a
L
471272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47128
47129 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47130 of x86_64 when setting libc_cv_slibdir, libdir and
47131 libc_cv_localedir.
47132 * sysdeps/unix/sysv/linux/configure: Regenerated.
47133
4535cd55
JM
471342012-03-21 Joseph Myers <joseph@codesourcery.com>
47135
47136 * manual/lang.texi (Old Varargs): Remove section.
47137 (How Variadic): Update menu.
47138 (va_start): Do not mention varargs.h.
47139
17228132
TS
471402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47141 Joseph Myers <joseph@codesourcery.com>
47142
47143 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47144 link test.
47145 * configure: Regenerated.
47146
8149f976
TS
471472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47148
05f3d1f6
UD
47149 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47150 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47151 conformtest.pl
8149f976 47152
1a4ac776
JM
471532012-03-21 Joseph Myers <joseph@codesourcery.com>
47154
be22ce65
JM
47155 * NOTES: Remove.
47156 * Makefile (files-for-dist): Remove NOTES.
47157 (NOTES): Remove rule.
47158 * README: Don't refer to NOTES.
47159 * manual/creature.texi: Don't include macros.texi.
47160 * manual/intro.texi (creature.texi): Remove comment referring to
47161 NOTES.
47162
40b601fb
JM
47163 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47164 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47165 * configure: Regenerated.
47166 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47167 LIBC_TRY_CC_OPTION.
47168 (libc_cv_as_i686): Likewise.
47169 (libc_cv_cc_avx): Likewise.
47170 (libc_cv_cc_sse2avx): Likewise.
47171 (libc_cv_cc_fma4): Likewise.
47172 (libc_cv_cc_novzeroupper): Likewise.
47173 * sysdeps/i386/configure: Regenerated.
47174
1a4ac776
JM
47175 [BZ #13883]
47176 * sysdeps/i386/fpu/s_cexp.S: Remove.
47177 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47178 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47179 * math/libm-test.inc (cexp_test): Add more tests.
47180 * sysdeps/i386/fpu/libm-test-ulps: Update.
47181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47182
a458e7fe
AM
471832012-03-21 Allan McRae <allan@archlinux.org>
47184
47185 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47186
0cb7efc5
JM
471872012-03-21 Joseph Myers <joseph@codesourcery.com>
47188
47189 [BZ #13871]
47190 * math/w_exp2.c: Do not include <float.h>.
47191 (o_threshold, u_threshold): Remove.
47192 (__exp2): Calculate result before checking finiteness and calling
47193 __kernel_standard.
47194 * math/w_exp2f.c: Likewise.
47195 * math/w_exp2l.c: Likewise.
47196 * math/libm-test.inc (exp2_test): Require overflow exception for
47197 1e6 input.
2460d3aa
JM
47198
47199 [BZ #3866]
47200 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47201 range of signed 64-bit integers before using fistpll. Remove
47202 checks for whether integers fit in mantissa bits.
47203 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47204 the range of signed 32-bit integers before using fistpl. Remove
47205 checks for whether integers fit in mantissa bits.
47206 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47207 (__ieee754_powl): Test for y outside the range of signed 64-bit
47208 integers before using fistpll. Reduce 64-bit values to 63-bit
47209 ones as needed.
47210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47211 divide-by-zero is raised for zero to large negative powers.
47212 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47213 (__ieee754_powl): Test for y outside the range of signed 64-bit
47214 integers before using fistpll. Reduce 64-bit values to 63-bit
47215 ones as needed.
47216 * math/libm-test.inc (pow_test): Add more tests.
47217
eb96ffb0
L
472182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47219
47220 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47221 <stdio-common/_itoa.h>.
47222 * debug/segfault.c: Likewise.
47223 * elf/dl-cache.c: Likewise.
47224 * elf/dl-minimal.c: Likewise.
47225 * elf/dl-misc.c: Likewise.
47226 * elf/dl-sysdep.c: Likewise.
47227 * elf/dl-version.c: Likewise.
47228 * elf/rtld.c: Likewise.
47229 * hurd/hurdsock.c: Likewise.
47230 * hurd/lookup-retry.c: Likewise.
47231 * malloc/malloc.c: Likewise.
47232 * malloc/mtrace.c: Likewise.
47233 * nscd/nscd_getgr_r.c: Likewise.
47234 * nscd/nscd_getpw_r.c: Likewise.
47235 * nscd/nscd_getserv_r.c: Likewise.
47236 * posix/getopt_init.c: Likewise.
47237 * posix/wordexp.c: Likewise.
47238 * stdio-common/_itoa.c: Likewise.
47239 * stdio-common/printf_fphex.c: Likewise.
47240 * stdio-common/vfprintf.c: Likewise.
47241 * string/_strerror.c: Likewise.
47242 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47243 * sysdeps/i386/i686/hp-timing.h: Likewise.
47244 * sysdeps/mach/_strerror.c: Likewise.
47245 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47246 * sysdeps/mach/hurd/sethostid.c: Likewise.
47247 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47248 * sysdeps/mach/xpg-strerror.c: Likewise.
47249 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47250 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47251 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47252 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47253 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47254 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47255 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47256 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47257 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47258 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47259 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47260 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47261 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47262 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47263 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47264 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47265 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47266 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47267 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47268 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47269 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47270
47271 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47272
47273 * stdio-common/_itoa.h: Moved to ...
47274 * sysdeps/generic/_itoa.h: Here.
47275
47276 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47277
47278 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47279 instead of "_itoa.h" and "_itowa.h".
47280 * stdio-common/vfprintf.: Likewise.
47281
d1af992d
L
472822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47283
47284 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47285 <bits/wordsize.h>.
47286 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47287 (__signbit): Likwise.
47288 (llrintf): Likwise.
47289 (llrint): Likwise.
47290
114883e0
L
472912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47292
47293 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47294 __WORDSIZE != 64.
47295
c135cc1b
JM
472962012-03-20 Joseph Myers <joseph@codesourcery.com>
47297
47298 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47299 OVERFLOW_EXCEPTION_OK.
47300 * math/libm-test.inc ("Philosophy"): Update comment about
47301 exception testing.
47302 (OVERFLOW_EXCEPTION): Define.
47303 (OVERFLOW_EXCEPTION_OK): Likewise.
47304 (INVALID_EXCEPTION_OK): Renumber.
47305 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47306 (IGNORE_ZERO_INF_SIGN): Likewise.
47307 (test_exceptions): Handle FE_OVERFLOW.
47308 (exp10_test): Expect overflow exceptions.
47309 (exp2_test): Likewise.
47310 (expm1_test): Likewise.
47311 (nextafter_test): Likewise.
47312 (pow_test): Likewise.
47313 (scalbn_test): Likewise.
47314 (scalbln_test): Likewise.
47315
95443d88
L
473162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47317
47318 * sysdeps/x86_64/bits/atomic.h
47319 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47320 64bit integer.
47321 (atomic_exchange_acq): Likewise.
47322 (__arch_exchange_and_add_body): Likewise.
47323 (__arch_add_body): Likewise.
47324 (atomic_add_negative): Likewise.
47325 (atomic_add_zero): Likewise.
47326
490df6c4
L
473272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47328
c2722551 47329 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47330 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47331
5e52b189
L
473322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47333
47334 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47335 Check __x86_64__ instead of __WORDSIZE.
47336
a9879d4c
L
473372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47338
47339 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47340
5df98260
DM
473412012-03-19 David S. Miller <davem@davemloft.net>
47342
e1497744
DM
47343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47344
5df98260
DM
47345 * sysdeps/sparc/fpu/fenv_private.h: New file.
47346 * sysdeps/sparc/fpu/math_private.h: Use it.
47347 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47348 Remove.
57f41c40 47349 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47350 (libc_feholdexcept_setroundl): Remove.
47351 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47352 Remove.
47353 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47354 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47355
b4c35121
L
473562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47357
47358 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47359 int64_t instead of long int.
47360 (INSERT_WORDS64): Likwise.
47361
56965fd7
L
473622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47363
47364 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47365 _Unwind_GetCFA return to _Unwind_Ptr first.
47366
83d1aec8
JM
473672012-03-19 Joseph Myers <joseph@codesourcery.com>
47368
1897ad44
JM
47369 [BZ #13629]
47370 * math/s_clog.c: Include <float.h>.
47371 (__clog): Scale large or subnormal inputs.
47372 * math/s_clogf.c: Likewise.
47373 * math/s_clogl.c: Likewise.
47374 * math/s_clog10.c: Include <float.h>.
47375 (M_LOG10_2): Define.
47376 (__clog10): Scale large or subnormal inputs.
47377 * math/s_clog10f.c: Likewise.
47378 * math/s_clog10l.c: Likewise.
47379 * math/libm-test.inc (clog_test): Add more tests.
47380 (clog10_test): Likewise.
47381 * sysdeps/i386/fpu/libm-test-ulps: Update.
47382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47383
7726d6a9
JM
47384 [BZ #11451]
47385 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47386 x and y.
47387 * math/libm-test.inc (atan2_test): Add another test.
47388
83d1aec8
JM
47389 * Makerules (common-objdir-compile): Remove.
47390 * sysdeps/unix/Makefile (config-generated): Do not add
47391 $(unix-generated) to variable.
47392 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47393 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47394 Remove rule.
47395 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47396 Likewise.
47397 [generic bits/local_lim.h] (before-compile): Do not append to
47398 variable.
47399 [generic bits/local_lim.h] (common-generated): Likewise.
47400 [generic sys/param.h] (before-compile): Do not append to variable.
47401 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47402 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47403 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47404 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47405 include.
47406 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47407 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47408 [generic sys/param.h] ($(addprefix
47409 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47410 [generic sys/param.h] (common-generated): Do not append to
47411 variable.
47412 [generic sys/param.h] (sysdep_headers): Likewise.
47413 [generic bits/errno.h] (before-compile): Do not append to
47414 variable.
47415 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47416 rule.
47417 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47418 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47419 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47420 [generic bits/errno.h] (common-generated): Do not append to
47421 variable.
47422 [generic bits/ioctls.h] (before-compile): Do not append to
47423 variable.
47424 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47425 rule.
47426 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47427 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47428 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47429 rule.
47430 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47431 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47432 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47433 [generic bits/ioctls.h] (common-generated): Do not append to
47434 variable.
47435 [generic sys/syscall.h] (syscall.h): Remove variable.
47436 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47437 rule.
47438 [generic sys/syscall.h] (before-compile): Do not append to
47439 variable.
47440 [generic sys/syscall.h] (common-generated): Likewise.
47441 * sysdeps/unix/errnos-tmpl.c: Remove file.
47442 * sysdeps/unix/errnos.awk: Likewise.
47443 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47444 * sysdeps/unix/ioctls.awk: Likewise.
47445 * sysdeps/unix/mk-local_lim.c: Likewise.
47446 * sysdeps/unix/snarf-ioctls: Likewise.
47447
4851a949
RH
474482012-03-19 Richard Henderson <rth@twiddle.net>
47449
bd37f2ee
RH
47450 * sysdeps/i386/fpu/fenv_private.h: New file.
47451 * sysdeps/i386/fpu/math_private.h: Use it.
47452 (math_opt_barrier, math_force_eval): Remove.
47453 (libc_feholdexcept_setround_53bit): Remove.
47454 (libc_feupdateenv_53bit): Remove.
47455 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47456 (math_opt_barrier, math_force_eval): Remove.
47457 (libc_feholdexcept): Remove.
47458 (libc_feholdexcept_setround): Remove.
47459 (libc_fetestexcept, libc_fesetenv): Remove.
47460 (libc_feupdateenv_test): Remove.
47461 (libc_feupdateenv, libc_feholdsetround): Remove.
47462 (libc_feresetround): Remove.
47463
d0adc922
RH
47464 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47465 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47466
0fe0f1f8
RH
47467 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47468 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47469 (libc_feupdateenv_testl): New.
47470 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47471 (libc_feupdateenv_testf): New.
47472 (libc_feupdateenv): Use libc_feupdateenv_test.
47473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47474 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47475
eb92c487
RH
47476 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47477 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47478 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47479 (libc_feresetround_noex): New.
47480 (libc_feresetround_noexf): New.
47481 (libc_feresetround_noexl): New.
47482 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47483 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47484 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47485 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47486 SET_RESTORE_ROUND.
47487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47489 (__cos): Likewise.
47490 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47491 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47492 SET_RESTORE_ROUND_NOEX.
47493 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47494 SET_RESTORE_ROUND_NOEXF.
47495 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47496 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47497 (libc_feholdsetroundf): New.
47498 (libc_feresetround, libc_feresetroundf): New.
47499
7d2e8012
RH
47500 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47501 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47502 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47503
b4dabbb4
RH
47504 * sysdeps/generic/math_private.h: Include <fenv.h>.
47505 (default_libc_feholdexcept): New.
47506 (default_libc_feholdexcept_setround): New.
47507 (default_libc_fesetenv, default_libc_feupdateenv): New.
47508 (libc_feholdexcept): Only define if undefined.
47509 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47510 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47511 (libc_feholdexcept_setroundl): Likewise.
47512 (libc_feholdexcept_setround_53bit): Likewise.
47513 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47514 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47515 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47516 (libc_feupdateenv_53bit): Likewise.
47517 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47518 (libc_feholdexcept): Convert from macro to inline function.
47519 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47520 (libc_fesetenv, libc_feupdateenv): Likewise.
47521
4851a949
RH
47522 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47523 not previously defined.
47524 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47525 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47526 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47527 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47528 * sysdeps/ieee754/flt-32/math_private.h: New file.
47529 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47530 math_private.h below SET_FLOAT_WORD.
47531 (__isnan, __isinf_ns, __finite): Remove.
47532 (__isnanf, __isinf_nsf, __finitef): Remove.
47533
e79d442e
AS
475342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47535
47536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47537
90b80344
DM
475382012-03-17 David S. Miller <davem@davemloft.net>
47539
47540 [BZ #6471]
47541 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47542 for 2.16.
47543
edc21804
DM
475442012-03-16 David S. Miller <davem@davemloft.net>
47545
77e927af
DM
47546 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47547 warnings.
47548
374976dd
DM
47549 [BZ #6471]
47550 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47551 properly.
47552 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47553 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47554 sysdep_routines when subdir is sysvipc.
47555 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47556 __getshmlba helper.
47557
edc21804
DM
47558 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47559
473c3ef3
L
475602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47561
47562 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47563 [__LP64__].
47564
eb0f39b6
L
475652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47566
47567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47568 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47569 (__lround): Renamed to ...
47570 (__llround): This. Replace long int with long long int.
47571 Define lround functions as aliases of llround functions.
47572 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47573
6b6cd74b
L
475742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47575
47576 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47577 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47578 adresses to uintptr_t. Replace "long int" and "unsigned long
47579 int" with "greg_t" on va_arg.
47580
f1a77b01
L
475812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47582
47583 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47584 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47585
47586 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47587 Move e_machine check before EI_CLASS check. Handle x32
47588 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47589 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47590 SKIP_EM_IA_64 and include
47591 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47592
47593 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47594 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47595 (add_system_dir): New macro.
47596
47597 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47598 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47599
11b90b9f
JM
476002012-03-16 Joseph Myers <joseph@codesourcery.com>
47601
c36e1d23
JM
47602 [BZ #2551]
47603 [BZ #2552]
47604 [BZ #2553]
47605 [BZ #2554]
47606 [BZ #2562]
47607 [BZ #2563]
47608 [BZ #2565]
47609 [BZ #2566]
47610 [BZ #2576]
47611 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47612 (y0): Likewise.
47613 * math/w_j0f.c (j0f): Likewise.
47614 (y0f): Likewise.
47615 * math/w_j0l.c (__j0l): Likewise.
47616 (__y0l): Likewise.
47617 * math/w_j1.c (j1): Likewise.
47618 (y1): Likewise.
47619 * math/w_j1f.c (j1f): Likewise.
47620 (y1f): Likewise.
47621 * math/w_j1l.c (__j1l): Likewise.
47622 (__y1l): Likewise.
47623 * math/w_jn.c (jn): Likewise.
47624 (yn): Likewise.
47625 * math/w_jnf.c (jnf): Likewise.
47626 (ynf): Likewise.
47627 * math/w_jnl.c (__jnl): Likewise.
47628 (__ynl): Likewise.
47629 * math/libm-test.inc (j0_test): Add more tests.
47630 (j1_test): Likewise.
47631 (jn_test): Likewise. Add trailing semicolon to existing test.
47632 (y0_test): Likewise.
47633 (y1_test): Likewise.
47634 * sysdeps/i386/fpu/libm-test-ulps: Update.
47635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47636
11b90b9f
JM
47637 [BZ #13851]
47638 [BZ #13854]
47639 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47640 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47641 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47642 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47643 (__tanl): Set errno for infinite argument.
47644 * sysdeps/i386/fpu/mptan.c: Remove.
47645 * sysdeps/i386/fpu/s_tan.S: Likewise.
47646 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47647 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47648 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47649 * math/libm-test.inc (tan_test): Add more tests and enable more
47650 tests for double and long double.
47651 * sysdeps/i386/fpu/libm-test-ulps: Update.
47652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47653
6a1bd2a1
JK
476542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47655
47656 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47657 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47658
10a803e0
RM
476592012-03-16 Roland McGrath <roland@hack.frob.com>
47660
47661 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47662 * configure.in: Use it for both main tree and add-ons.
47663 * configure: Regenerated.
47664
f196c7f7
L
476652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47666
47667 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47668
8848d99d
JM
476692012-03-16 Joseph Myers <joseph@codesourcery.com>
47670
96cbe7f4
JM
47671 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47672 in comment.
47673
8848d99d
JM
47674 [BZ #13851]
47675 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47676 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47680 infinite argument.
47681 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47682 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47683 != 0 for prec == 2.
47684 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47685 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47686 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47687 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47688 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47689 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47690 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47691 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47692 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47693 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47694 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47695 * math/libm-test.inc (cos_test): Add more tests and enable more
47696 tests for long double.
47697 (sin_test): Likewise.
47698 (sincos_test): Likewise.
47699 * sysdeps/i386/fpu/libm-test-ulps: Update.
47700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47701
dd7f4703
DM
477022012-03-16 David S. Miller <davem@davemloft.net>
47703
47704 * sysdeps/sparc/fpu/math_private.h: New file.
47705
006f1daa
DM
477062012-03-15 David S. Miller <davem@davemloft.net>
47707
c0c83bc8
DM
47708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47709 file.
e6a62e18 47710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47712 file.
e6a62e18
DM
47713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47719 sysdep routines.
47720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47721
88cb87d9
DM
47722 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47723 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47724
006f1daa 47725 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47727 sparc-ifunc.h
006f1daa 47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47730 Likewise.
47731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47732 Likewise.
006f1daa
DM
47733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47737 Likewise.
006f1daa
DM
47738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47743 Likewise.
47744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47745 Likewise.
006f1daa
DM
47746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47770
11e0098e
AS
477712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47772
47773 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47774 scaling.
47775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47776
e85b09d0
AJ
477772012-03-15 Andreas Jaeger <aj@suse.de>
47778
47779 [BZ #13852]
47780 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47781 ieee754/flt-32 implementation for sin, cos and sincos.
47782 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47783 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47784 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47785 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47786 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47787 ieee754/flt-32 implementation for tan.
47788
47789 * math/libm-test.inc (cos_test): Enable some large input tests for
47790 float as well
47791 (sin_test): Likewise.
47792 (sincos_test): Likewise.
47793 (tan_test): Add tests for large input.
47794
47795 * sysdeps/i386/fpu/libm-test-ulps: Update.
47796
81c64153
AJ
477972012-03-15 Andreas Jaeger <aj@suse.de>
47798
47799 [BZ #13658]
47800 * math/libm-test.inc (cos_test): Add more test cases.
47801 (sin_test): Likewise.
47802 (sincos_test): Likewise.
47803
7bbfa5c6
AJ
478042012-03-15 Andreas Jaeger <aj@suse.de>
47805
47806 [BZ #13837]
47807 * math/libm-test.inc (cos_test): Add a test case for large input
47808 value.
47809 (sin_test): Likewise.
47810 (sincos_test): Likewise.
47811
57f41c40
AS
478122012-03-15 Andreas Jaeger <aj@suse.de>
47813 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47814
47815 [BZ #13658]
0671f479 47816 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47817 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47818 * sysdeps/i386/fpu/branred.c: Likewise.
47819 * sysdeps/i386/fpu/dosincos.c: Likewise.
47820 * sysdeps/i386/fpu/mpa.c: Likewise.
47821 * sysdeps/i386/fpu/s_cos.S: Likewise.
47822 * sysdeps/i386/fpu/s_sin.S: Likewise.
47823 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47824 * sysdeps/i386/fpu/sincos32.c: Likewise.
47825
47826 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47827 Define.
47828 (libc_feupdateenv_53bit): Define.
47829 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47830 Define.
47831 (libc_feupdateenv_53bit): Define.
47832
47833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47834 53 bit (without extend i386 double precision).
47835
47836 * math/libm-test.inc (sincos_test): Add tests for large input.
47837 (sin): Likewise.
47838 (cos): Likewise.
47839
47840 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47841
9cad04ea
AS
478422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47843
47844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47845
f7062b9a
DM
478462012-03-15 David S. Miller <davem@davemloft.net>
47847
47848 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47849 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47850 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47851 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47864 file.
f7062b9a 47865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47867 file.
f7062b9a 47868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47870 file.
f7062b9a 47871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47873 file.
f7062b9a
DM
47874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47876 fmin/fmax sysdep routines.
47877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47878
7bd951ff
DM
478792012-03-14 David S. Miller <davem@davemloft.net>
47880
559398ab
DM
47881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47908 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47910 routines.
47911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47912 file.
559398ab 47913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47915 file.
559398ab 47916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47918 file.
559398ab 47919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47921 file.
559398ab 47922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47924 file.
559398ab 47925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47927 file.
47928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47929 file.
47930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47931 file.
47932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47933 file.
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47935 New file.
47936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47937 file.
47938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47939 file.
559398ab 47940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47942 file.
559398ab 47943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47945 file.
559398ab 47946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47948 file.
559398ab 47949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47951 VIS3 routines.
559398ab
DM
47952
47953 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47954 New file.
47955
5a1c1e32
DM
47956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47957
eae47a36
DM
47958 * sysdeps/sparc/configure.in: New file.
47959 * sysdeps/sparc/configure: Generate.
47960 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47961 * configure: Regenerate.
47962 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47963 * config.make.in (have-as-vis3): New.
47964 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47965 available use -Av9d instead of -Av9a.
47966 * sysdeps/sparc/sparc64/Makefile: Likewise.
47967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47969 New file.
47970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47971 file.
47972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47973 New file.
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47975 file.
eae47a36
DM
47976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47981
c0c83bc8
DM
47982 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47983 fzeros/fnegs to load 0x80000000 into a float register instead of
47984 using the stack.
7bd951ff
DM
47985 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47986
bd951ccb
JM
479872012-03-14 Joseph Myers <joseph@codesourcery.com>
47988
47989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47990 bits/syscall.h.
47991 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47992 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47993 ($(inst_includedir)/bits/syscall.h): Remove rule.
47994 ($(objpfx)bits/syscall.d): Include instead of
47995 $(objpfx)syscall-list.d.
47996 (generated): Change syscall-list.h and syscall-list.d to
47997 bits/syscall.h and bits/syscall.d.
47998
bb4e6db2
RM
479992012-03-14 Roland McGrath <roland@hack.frob.com>
48000
48001 [BZ #13846]
48002 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48003
aa4a2ae1
JM
480042012-03-14 Joseph Myers <joseph@codesourcery.com>
48005
e456826d
JM
48006 [BZ #13841]
48007 * math/s_csqrt.c: Include <float.h>.
48008 (__csqrt): Scale large or subnormal inputs.
48009 * math/s_csqrtf.c: Likewise.
48010 * math/s_csqrtl.c: Likewise.
48011 * math/libm-test.inc (csqrt_test): Add more tests.
48012 * sysdeps/i386/fpu/libm-test-ulps: Update.
48013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48014
aa4a2ae1
JM
48015 [BZ #13840]
48016 * math/libm-test.inc (hypot_test): Add more tests.
48017
7c10fd35
DM
480182012-03-13 David S. Miller <davem@davemloft.net>
48019
48020 [BZ #13840]
48021 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48022 double-precision for the calculation instead of scaling.
48023
f453b98b
JM
480242012-03-13 Joseph Myers <joseph@codesourcery.com>
48025
48026 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48027 manipulate bits before adding and subtracting TWO52[sx].
48028 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48029 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48030 Likewise.
48031 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48032
09a3453f
DM
480332012-03-13 David S. Miller <davem@davemloft.net>
48034
8e59da90
DM
48035 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48036 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48038 rtld-global-offsets.h
48039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48040
2a8ab7f2
DM
48041 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48042 large parameters.
48043
10f62770
DM
48044 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48045
5f0bdb18
DM
48046 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48047 'err' in the ifdef scope in which it is actually used.
48048
09a3453f
DM
48049 * nss/nss_db/db-init.c: Include string.h
48050
b4b2eb5e
DM
480512012-03-12 David S. Miller <davem@davemloft.net>
48052
98bb2f1c
DM
48053 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48054 masking out of the most significant byte of random value used.
48055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48056 Fix coding style in previous change.
48057
b4b2eb5e
DM
48058 * sysdeps/unix/sysv/linux/kernel-features.h
48059 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48060 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48061 expression.
48062 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48063 later.
48064
6e226b09
DM
480652012-03-11 David S. Miller <davem@davemloft.net>
48066
a1bcbd40
DM
48067 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48068 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48070 for 'resultvar' otherwise things get truncated on 64-bit.
48071
cb9d6174
DM
48072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48073 Fix masking out of the most significant byte of random value used.
48074
6e226b09
DM
48075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48076
058c132d
AS
480772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48078
48079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48080
2d2cd515
DM
480812012-03-09 David S. Miller <davem@davemloft.net>
48082
48083 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48084 variables with appropriate CPP guards.
57f41c40
AS
48085 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48086 from the frame pointer, not the stack pointer. Correct layout
48087 comments. Fix test on resulting framesize and the management of
48088 the outregs buffer for pltexit. Preserve floating point return
48089 values across _dl_call_pltexit call.
2d2cd515
DM
48090 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48091 framesize and the management of the outregs buffer for pltexit.
48092 Preserve floating point return values across _dl_call_pltexit
48093 call.
57f41c40
AS
48094 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48095 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48096 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48097 (print_exit): Fix format string for return register value.
48098
9a07f9d0
JM
480992012-03-10 Joseph Myers <joseph@codesourcery.com>
48100
48101 * sunrpc/Makefile (others): Add rpcgen.
48102 ($(objpfx)rpcgen): Remove special build rule and dependency on
48103 libc.
48104 * sunrpc/rpcgen.c: New file.
48105
547b5e30
PE
481062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48107
c524201a
PE
48108 [BZ #13673]
48109 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48110 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48111 * sysdeps/i386/crti.S: Likewise.
48112 * sysdeps/i386/crtn.S: Likewise.
48113 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48114 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48115 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48116 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48117 * sysdeps/sh/crti.S: Likewise.
48118 * sysdeps/sh/crtn.S: Likewise.
48119 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48120
7b6235f2
PE
48121 [BZ #13673]
48122 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48123 with URL.
48124 * locale/programs/locfile-kw.gperf: Likewise.
48125 * locale/programs/charmap-kw.h: Regenerated.
48126 * locale/programs/locfile-kw.h: Likewise.
48127
547b5e30
PE
48128 [BZ #13673]
48129 * intl/plural.y: Replace FSF snail mail address with URL.
48130 * intl/plural.c: Regenerated.
48131
5f0a5dae
RH
481322012-03-09 Richard Henderson <rth@twiddle.net>
48133
48134 * include/math_private.h: Remove file.
48135 * math/math_private.h: Move file ...
48136 * sysdeps/generic/math_private.h: ... here.
48137
b8c03620
RH
48138 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48139 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48140 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48141
4e234f5d 48142 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48143 and <math_private.h>.
48144 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48145 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48146 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48147 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48148 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48152 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48155 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48156 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48158 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48159 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48160 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48161 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48165 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48182 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48185 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48187 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48194 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48195 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48196 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48198 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48199 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48200 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48202 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48203 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48205 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48213 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48217 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48218 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48221 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48223 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48224 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48226 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48227 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48231 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48232 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48233 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48234 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48235 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48236 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48237 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48238 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48239 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48240 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48241 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48242 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48243 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48244 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48245 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48246 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48247 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48248 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48249 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48250 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48251 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48252 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48253 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48254 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48255 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48256 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48257 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48258 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48259 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48260 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48261 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48262 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48263 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48264 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48265 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48267 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48268 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48269 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48271 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48272 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48273 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48274 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48275 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48276 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48277 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48278 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48279 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48280 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48281 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48282 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48283 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48284 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48286 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48287 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48288 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48289 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48290 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48291 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48292 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48293 * sysdeps/ieee754/k_standard.c: Likewise.
48294 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48336 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48340 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48344 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48345 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48346 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48361 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48366 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48368 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48370 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48371 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48376 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48379 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48380 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48381 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48382 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48383 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48384 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48385 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48386 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48387 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48388 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48389 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48390 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48391 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48392 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48393 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48395 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48396 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48397 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48398 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48401 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48402 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48403 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48404 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48405 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48406 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48410 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48411 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48413 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48414 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48415 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48416 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48421 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48422 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48423 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48426 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48427 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48428 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48429 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48430 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48431 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48433 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48435 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48436 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48437 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48438 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48439 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48440 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48441 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48442 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48443 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48445 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48447 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48448 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48449 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48450 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48451 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48452 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48453 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48454 * sysdeps/ieee754/s_lib_version.c: Likewise.
48455 * sysdeps/ieee754/s_matherr.c: Likewise.
48456 * sysdeps/ieee754/s_signgam.c: Likewise.
48457 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48458 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48460 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48461 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48462 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48463 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48464 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48465 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48466 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48467 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48468 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48469 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48470 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48471 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48472 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48474 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48475 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48478
1991fa03
JM
484792012-03-09 Joseph Myers <joseph@codesourcery.com>
48480
48481 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48482 * sunrpc/rpc_main.c: Likewise.
48483 * sunrpc/rpc_svcout.c: Likewise.
48484
60d6f5a6
DM
484852012-03-09 David S. Miller <davem@davemloft.net>
48486
48487 * include/math_private.h: New file.
48488
4962050e
JM
484892012-03-09 Joseph Myers <joseph@codesourcery.com>
48490
02a6f887
JM
48491 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48492 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48493 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48494 from <bits/socket_type.h>.
48495 (enum __socket_type): Don't define here.
48496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48498 bits/socket_type.h.
48499
c6e013c1
JM
48500 [BZ #13566]
48501 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48502 checking __USE_GNU.
48503
4962050e
JM
48504 * Makerules ($(inst_includedir)/%.h): New rule.
48505 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48506 (install-others): Remove variable setting.
48507 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48508
38842f45
RH
485092012-03-08 Richard Henderson <rth@twiddle.net>
48510
67bb6da6
RH
48511 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48512 from macro to inline function; merge with the
48513 !__LIBC_INTERNAL_MATH_INLINES version.
48514 (__ieee754_sqrtf): Likewise.
48515
15194b4b
RH
48516 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48517 to inline function.
48518 (__rintf, __floor, __floorf): Likewise.
48519
64e21ede
RH
48520 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48521 macro to inline function.
48522 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48523
38842f45
RH
48524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48525 not <math/math_private.h>.
48526
c64bf5fe
DM
485272012-03-08 David S. Miller <davem@davemloft.net>
48528
48529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48530 copyright year.
48531 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48532
82d86f28
TS
485332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48534
48535 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48536 normalization.
48537 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48538 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48539
aea5d727
UD
485402012-03-08 Ulrich Drepper <drepper@gmail.com>
48541
48542 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48543 be defined individually, they must be defined as a block. Define
48544 S for printing a string instead of hidint the different by using a
48545 macro for adding the 'l'.
48546 * stdio-common/tst-fphex-wide.c: Adjust.
48547
70bca0a3
MP
485482012-03-07 Marek Polacek <polacek@redhat.com>
48549
48550 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48551
65b81130
MP
485522012-03-08 Marek Polacek <polacek@redhat.com>
48553
48554 [BZ #13806]
48555 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48556 * stdio-common/tst-fphex.c: Define a few macros to make the
48557 test reusable. Use them.
48558 * stdio-common/tst-fphex-wide.c: New file.
48559
07037eeb
JM
485602012-03-08 Joseph Myers <joseph@codesourcery.com>
48561
a7a93d50
JM
48562 [BZ #6911]
48563 * manual/macros.texi (gnusystems): New macro.
48564 (nongnusystems): Likewise.
48565 (gnulinuxhurdsystems): Likewise.
48566 (gnuhurdsystems): Likewise..
48567 (gnulinuxsystems): Likewise.
48568 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48569 variants of the GNU system, not "GNU system".
48570 * manual/conf.texi: Likewise.
48571 * manual/errno.texi: Likewise. Update example of errno macro
48572 expansion.
48573 * manual/filesys.texi: Likewise.
48574 (getumask): Document as specific to GNU/Hurd.
48575 * manual/install.texi: Likewise. Reword some references to
48576 GNU/Linux.
48577 * manual/intro.texi: Likewise.
48578 * manual/io.texi: Likewise.
48579 (File Name Portability): Detail which constraints are inapplicable
48580 to all GNU systems and which are only inapplicable to GNU/Hurd.
48581 * manual/job.texi: Likewise.
48582 * manual/llio.texi: Likewise.
48583 (O_NOCTTY): Document as present on GNU/Linux.
48584 * manual/maint.texi: Likewise.
48585 * manual/memory.texi: Likewise.
48586 * manual/pattern.texi: Likewise.
48587 * manual/pipe.texi: Likewise.
48588 * manual/process.texi: Likewise.
48589 * manual/resource.texi: Likewise.
48590 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48591 child on GNU/Hurd.
48592 * manual/setjmp.texi: Likewise.
48593 * manual/signal.texi: Likewise.
48594 * manual/startup.texi: Likewise.
48595 * manual/stdio.texi: Likewise.
48596 * manual/terminal.texi: Likewise.
48597 (ONLCR): Document as POSIX.
48598 (OXTABS): Document availability on GNU/Linux as XTABS.
48599 (ONOEOT): Document availability separately from other bits.
48600 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48601 * manual/time.texi: Likewise.
48602 * manual/users.texi: Likewise.
48603 * INSTALL: Regenerated.
48604 * sysdeps/gnu/errlist.c: Regenerated.
48605
07037eeb
JM
48606 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48607 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48608 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48609 puts.
48610 * configure: Regenerated.
48611
d1d3431a
JM
486122012-03-07 Joseph Myers <joseph@codesourcery.com>
48613
af6a1e37
JM
48614 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48615 default includes instead of AC_HEADER_CHECK.
48616 * sysdeps/i386/configure: Regenerated.
48617
d1d3431a
JM
48618 [BZ #10716]
48619 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48620 * math/s_cacoshf.c (__cacoshf): Likewise.
48621 * math/s_cacoshl.c (__cacoshl): Likewise.
48622 * math/s_casinh.c (__casinh): Set signs of result from argument.
48623 * math/s_casinhf.c (__casinhf): Likewise.
48624 * math/s_casinhl.c (__casinhl): Likewise.
48625 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48626 (casinh_test): Add more tests.
48627 * sysdeps/i386/fpu/libm-test-ulps: Update.
48628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48629
482ff4da
UD
486302012-03-07 Ulrich Drepper <drepper@gmail.com>
48631
872fda05
UD
48632 * po/zh_TW.po: Update from translation team.
48633
a4300c7a
UD
48634 * login/Makefile (distribute): Remove variable.
48635 * catgets/Makefile: Likewise.
48636 * mach/Makefile: Likewise.
48637 * malloc/Makefile: Likewise.
48638 * misc/Makefile: Likewise.
48639 * iconv/Makefile: Likewise.
48640 * nscd/Makefile: Likewise.
48641 * hurd/Makefile: Likewise.
48642 * manual/Makefile: Likewise.
48643 * locale/Makefile: Likewise.
48644 * intl/Makefile: Likewise.
48645 * conform/Makefile: Likewise.
48646 * nss/Makefile: Likewise.
48647 * time/Makefile: Likewise.
48648 * soft-fp/Makefile: Likewise.
48649 * dirent/Makefile: Likewise.
48650 * gmon/Makefile: Likewise.
48651 * po/Makefile: Likewise.
48652 * rt/Makefile: Likewise.
48653 * socket/Makefile: Likewise.
48654 * math/Makefile: Likewise.
48655 * signal/Makefile: Likewise.
48656 * debug/Makefile: Likewise.
48657 * elf/Makefile: Likewise.
48658 * timezone/Makefile: Likewise.
48659 * stdlib/Makefile: Likewise.
48660 * iconvdata/Makefile: Likewise.
48661 * sunrpc/Makefile: Likewise.
48662 * io/Makefile: Likewise.
48663 * argp/Makefile: Likewise.
48664 * inet/Makefile: Likewise.
48665 * hesiod/Makefile: Likewise.
48666 * grp/Makefile: Likewise.
48667 * csu/Makefile: Likewise.
48668 * wctype/Makefile: Likewise.
48669 * crypt/Makefile: Likewise.
48670 * libio/Makefile: Likewise.
48671 * string/Makefile: Likewise.
48672 * nis/Makefile: Likewise.
48673 * resolv/Makefile: Likewise.
48674 * stdio-common/Makefile: Likewise.
48675 * wcsmbs/Makefile: Likewise.
48676 * dlfcn/Makefile: Likewise.
48677 * posix/Makefile: Likewise.
48678
3b7c4e74 48679 [BZ #6959]
482ff4da
UD
48680 * timezone/Makefile: Don't install timezone files, just the programs
48681 and scripts.
48682
f72ed77d
UD
486832012-03-06 Ulrich Drepper <drepper@gmail.com>
48684
a000466f
UD
48685 * nss/databases.def: Add missing gshadow entry.
48686
f72ed77d
UD
48687 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48688
a53b7a4e
MP
486892012-03-06 Marek Polacek <polacek@redhat.com>
48690
48691 [BZ #13726]
48692 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48693 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48694 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48695 * stdio-common/tst-long-dbl-fphex.c: New file.
48696
e9258400
DM
486972012-03-06 David S. Miller <davem@davemloft.net>
48698
48699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48700 (set_obp_int): New function.
48701 (get_obp_int): New function.
48702 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48704 Avoid unused variable warnings on 'val' and use builtin_expect.
48705 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48706 __builtin_expect.
e9258400
DM
48707 (INLINE_CLONE_SYSCALL): Likewise.
48708
3bd2c723
DM
487092012-03-05 David S. Miller <davem@davemloft.net>
48710
48711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48712
bbb78d03
AS
487132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48714
884c5db4
AS
48715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48716
bbb78d03
AS
48717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48718 only for |x| >= 40.
48719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48720
1c9f702a 487212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48722
48723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48724 Replace gettimeofday with __vdso_gettimeofday.
48725
7be16f82
RM
48726 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48727 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48728 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48729
48730 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48731 time with __vdso_time.
48732
ed58a00f
JM
487332012-03-05 Joseph Myers <joseph@codesourcery.com>
48734
48735 * manual/lang.texi (size_t): Note types to which size_t may be
48736 equivalent with the GNU C Library, but do not describe when
48737 differences between them are significant.
48738
30ee4ced
AJ
487392012-03-05 Andreas Jaeger <aj@suse.de>
48740
48741 * sysdeps/i386/fpu/libm-test-ulps: Update.
48742
b7cd39e8
JM
487432012-03-05 Joseph Myers <joseph@codesourcery.com>
48744
48745 [BZ #3976]
48746 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48747 (__ieee754_pow): Save and restore rounding mode and use
48748 round-to-nearest for main computations.
48749 * math/libm-test.inc (pow_test_tonearest): New function.
48750 (pow_test_towardzero): Likewise.
48751 (pow_test_downward): Likewise.
48752 (pow_test_upward): Likewise.
48753 (main): Call the new functions.
48754 * sysdeps/i386/fpu/libm-test-ulps: Update.
48755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48756
48757 [BZ #3976]
48758 * math/libm-test.inc (cosh_test_tonearest): New function.
48759 (cosh_test_towardzero): Likewise.
48760 (cosh_test_downward): Likewise.
48761 (cosh_test_upward): Likewise.
48762 (sinh_test_tonearest): Likewise.
48763 (sinh_test_towardzero): Likewise.
48764 (sinh_test_downward): Likewise.
48765 (sinh_test_upward): Likewise.
48766 (main): Call the new functions.
48767 * sysdeps/i386/fpu/libm-test-ulps: Update.
48768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48769
6c6a98c9
TV
487702012-03-05 Tom de Vries <tom@codesourcery.com>
48771
48772 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48773 default stack guard is set in last bytes.
48774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48775
21bb2d2e 487762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48777
21bb2d2e 48778 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48779
21bb2d2e
AJ
48780 [BZ #13656]
48781 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48782 possibly allocate from heap instead of stack.
48783 * stdio-common/bug-vfprintf-nargs.c: New file.
48784 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48785
c6922934
AS
487862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48787
48788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48789
bc957d53
MP
487902012-03-03 Marek Polacek <polacek@redhat.com>
48791
48792 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48793 * math/math_private.h: Likewise.
48794 * stdlib/tst-strtod.c: Likewise.
48795 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48796 * sysdeps/x86_64/bits/atomic.h: Likewise.
48797
6358490d
DM
487982012-03-02 David S. Miller <davem@davemloft.net>
48799
48800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48804 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48805 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48806 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48807 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48808
01ae168d
RM
488092012-03-02 Roland McGrath <roland@hack.frob.com>
48810
d9a17c07
RM
48811 [BZ #13792]
48812 * manual/examples/README: New file, says the example source files
48813 can be used under GPL>=2.
48814 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48815 line containing just "*/".
48816 * manual/examples/add.c: Add copyright header (GPL>=2).
48817 * manual/examples/argp-ex1.c: Likewise.
48818 * manual/examples/argp-ex2.c: Likewise.
48819 * manual/examples/argp-ex3.c: Likewise.
48820 * manual/examples/argp-ex4.c: Likewise.
48821 * manual/examples/atexit.c: Likewise.
48822 * manual/examples/db.c: Likewise.
48823 * manual/examples/dir.c: Likewise.
48824 * manual/examples/dir2.c: Likewise.
48825 * manual/examples/execinfo.c: Likewise.
48826 * manual/examples/filecli.c: Likewise.
48827 * manual/examples/filesrv.c: Likewise.
48828 * manual/examples/fmtmsgexpl.c: Likewise.
48829 * manual/examples/genpass.c: Likewise.
48830 * manual/examples/inetcli.c: Likewise.
48831 * manual/examples/inetsrv.c: Likewise.
48832 * manual/examples/isockad.c: Likewise.
48833 * manual/examples/longopt.c: Likewise.
48834 * manual/examples/memopen.c: Likewise.
48835 * manual/examples/memstrm.c: Likewise.
48836 * manual/examples/mkfsock.c: Likewise.
48837 * manual/examples/mkisock.c: Likewise.
48838 * manual/examples/mygetpass.c: Likewise.
48839 * manual/examples/pipe.c: Likewise.
48840 * manual/examples/popen.c: Likewise.
48841 * manual/examples/rprintf.c: Likewise.
48842 * manual/examples/search.c: Likewise.
48843 * manual/examples/select.c: Likewise.
48844 * manual/examples/setjmp.c: Likewise.
48845 * manual/examples/sigh1.c: Likewise.
48846 * manual/examples/sigusr.c: Likewise.
48847 * manual/examples/stpcpy.c: Likewise.
48848 * manual/examples/strdupa.c: Likewise.
48849 * manual/examples/strftim.c: Likewise.
48850 * manual/examples/strncat.c: Likewise.
48851 * manual/examples/subopt.c: Likewise.
48852 * manual/examples/swapcontext.c: Likewise.
48853 * manual/examples/termios.c: Likewise.
48854 * manual/examples/testopt.c: Likewise.
48855 * manual/examples/testpass.c: Likewise.
48856 * manual/examples/timeval_subtract.c: Likewise.
48857
01ae168d
RM
48858 [BZ #13792]
48859 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48860 function to ...
48861 * manual/timeval_subtract.c.texi: ... here, new file.
48862
49efa33d
DM
488632012-03-02 David S. Miller <davem@davemloft.net>
48864
48865 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48866
28afd92d
JM
488672012-03-02 Joseph Myers <joseph@codesourcery.com>
48868
804360ed
JM
48869 [BZ #3976]
48870 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48871 (__sin): Save and restore rounding mode and use round-to-nearest
48872 for all computations.
48873 (__cos): Save and restore rounding mode and use round-to-nearest
48874 for all computations.
48875 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48876 <fenv.h>.
48877 (tan): Save and restore rounding mode and use round-to-nearest for
48878 all computations.
48879 * math/libm-test.inc (cos_test_tonearest): New function.
48880 (cos_test_towardzero): Likewise.
48881 (cos_test_downward): Likewise.
48882 (cos_test_upward): Likewise.
48883 (sin_test_tonearest): Likewise.
48884 (sin_test_towardzero): Likewise.
48885 (sin_test_downward): Likewise.
48886 (sin_test_upward): Likewise.
48887 (tan_test_tonearest): Likewise.
48888 (tan_test_towardzero): Likewise.
48889 (tan_test_downward): Likewise.
48890 (tan_test_upward): Likewise.
48891 (main): Call the new functions.
48892 * sysdeps/i386/fpu/libm-test-ulps: Update.
48893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48894
a6d06d7b
JM
48895 [BZ #10135]
48896 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48897 small n, then large n, before computing and testing k+n.
48898 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48900 Likewise.
48901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48902 Likewise.
48903 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48904 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48911 * math/libm-test.inc (scalbn_test): Add more tests.
48912 (scalbln_test): Likewise.
48913
07e12bb3
JM
48914 * manual/filesys.texi (mode_t): Describe constraints on size and
48915 signedness, not exact equivalence to a particular type.
48916 (ino_t): Likewise.
48917 (ino64_t): Likewise.
48918 (dev_t): Likewise.
48919 (nlink_t): Likewise.
48920 (blkcnt_t): Likewise.
48921 (blkcnt64_t): Likewise.
48922 * manual/llio.texi (off_t): Likewise.
48923
28afd92d
JM
48924 [BZ #3976]
48925 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48926 (__ieee754_exp): Save and restore rounding mode and use
48927 round-to-nearest for all computations.
48928 * math/libm-test.inc (exp_test_tonearest): New function.
48929 (exp_test_towardzero): Likewise.
48930 (exp_test_downward): Likewise.
48931 (exp_test_upward): Likewise.
48932 (main): Call the new functions.
48933 * sysdeps/i386/fpu/libm-test-ulps: Update.
48934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48935
b1eeb65d
CD
489362012-03-01 Chris Demetriou <cgd@google.com>
48937
48938 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48939 have predictable order.
48940
53362a4b
DM
489412012-03-01 David S. Miller <davem@davemloft.net>
48942
3c969083
DM
48943 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48944
759707de
DM
48945 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48946 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48947 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48948 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48949
dfdb8ff2
DM
48950 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48951 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48952 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48954 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48955 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48956 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48957 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48958 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48959
ead89f96
DM
48960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48961
7f66bd07
DM
48962 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48963 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48965
53362a4b
DM
48966 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48967 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48968 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48969 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48970 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48973 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48974 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48975 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48976 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48977 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48979 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48980 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48982 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48983 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48984 * sysdeps/sparc/elf/configure: Regenerated.
48985
7b1902cb
JM
489862012-03-01 Joseph Myers <joseph@codesourcery.com>
48987
bec039bc
JM
48988 * configure.in (AS, LD): Require binutils 2.20 or later.
48989 * configure: Regenerated.
48990 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48991 as required minimum version.
48992 * INSTALL: Regenerated.
48993
7b1902cb
JM
48994 [BZ #2541]
48995 [BZ #4108]
48996 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48997 before squaring exponent.
48998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48999 bottom long double and 27 bits of top long double before squaring
49000 exponent.
49001 * math/libm-test.inc (erfc_test): Add more tests.
49002 * sysdeps/i386/fpu/libm-test-ulps: Update.
49003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49005
f775c276
KT
490062012-03-01 Kai Tietz <ktietz@redhat.com>
49007
49008 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49009 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49010 containing bit-fields.
49011 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49012 * soft-fp/single.h (_FP_UNION_S): Likewise.
49013 * soft-fp/double.h (_FP_UNION_D): Likewise.
49014
5b8a4d4a
JM
490152012-02-29 Joseph Myers <joseph@codesourcery.com>
49016
0bab47b6
JM
49017 [BZ #13786]
49018 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49019 not include ../strcmp.S.
49020 [USE_AS_STRNCASECMP_L]: Likewise.
49021 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49022 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49023 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49024 (__strncasecmp_l_ia32): Define as alias to
49025 __strncasecmp_l_nonascii.
49026
0fcad3e2
JM
49027 [BZ #5794]
49028 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49029 * sysdeps/i386/fpu/libm-test-ulps: Update.
49030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49031
5b8a4d4a
JM
49032 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49034
8fdceb2e
JL
490352012-02-29 Jeff Law <law@redhat.com>
49036
49037 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49038 out of bounds read.
49039
1f393a11
MP
490402012-02-29 Marek Polacek <polacek@redhat.com>
49041
49042 [BZ #13706]
49043 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49044 * elf/Makefile: Add rules to run tst-unused-dep.out.
49045
8847f037
DM
490462012-02-28 David S. Miller <davem@davemloft.net>
49047
49048 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49049 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49050 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49051 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49052 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49053 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49054
169d7f11
JM
490552012-02-29 Joseph Myers <joseph@codesourcery.com>
49056
49057 * math/libm-test.inc (llround_test): Move one test from
49058 lround_test. Use TEST_f_L in moved test.
49059 (lround_test): Move misplaced test to llround_test. Add testcase
49060 from bug 2561.
49061
39adf059
UD
490622012-02-28 Ulrich Drepper <drepper@gmail.com>
49063
49064 * sysdeps/x86_64/fpu/e_expf.S: New file.
49065 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49066
71b5d1c5
SB
490672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49068
49069 [BZ #13637]
49070 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49071 of remain_len that may cause incomplete multi-byte character and
49072 false match.
49073 * posix/bug-regex33.c: New file.
49074 * posix/Makefile (tests): Add bug-regex33.
49075
1f77f049
JM
490762012-02-28 Joseph Myers <joseph@codesourcery.com>
49077
49078 * manual/macros.texi: New file.
49079 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49080 * manual/libc.texinfo: Include macros.texi.
49081 * manual/creatute.texi: Likewise.
49082 * manual/install.texi: Likewise.
49083 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49084 @glibcadj{} in references to the GNU C Library.
49085 * manual/charset.texi: Likewise.
49086 * manual/conf.texi: Likewise.
49087 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49088 when not using those macros.
49089 * manual/creature.texi: Likewise.
49090 * manual/crypt.texi: Likewise.
49091 * manual/errno.texi: Likewise.
49092 * manual/filesys.texi: Likewise.
49093 * manual/header.texi: Likewise.
49094 * manual/install.texi: Likewise.
49095 * manual/intro.texi: Likewise.
49096 * manual/io.texi: Likewise.
49097 * manual/job.texi: Likewise.
49098 * manual/lang.texi: Likewise.
49099 * manual/libc.texiinfo: Likewise.
49100 * manual/llio.texi: Likewise.
49101 * manual/locale.texi: Likewise.
49102 * manual/maint.texi: Likewise.
49103 * manual/math.texi: Likewise.
49104 * manual/memory.texi: Likewise.
49105 * manual/message.texi: Likewise.
49106 * manual/nss.texi: Likewise.
49107 * manual/pattern.texi: Likewise.
49108 * manual/process.texi: Likewise.
49109 * manual/resource.texi: Likewise.
49110 * manual/search.texi: Likewise.
49111 * manual/setjmp.texi: Likewise.
49112 * manual/signal.texi: Likewise.
49113 * manual/socket.texi: Likewise.
49114 * manual/startup.texi: Likewise.
49115 * manual/stdio.texi: Likewise.
49116 * manual/string.texi: Likewise.
49117 * manual/sysinfo.texi: Likewise.
49118 * manual/syslog.texi: Likewise.
49119 * manual/terminal.texi: Likewise.
49120 * manual/time.texi: Likewise.
49121 * manual/users.texi: Likewise.
49122 * INSTALL: Regenerated.
49123 * NOTES: Regenerated.
d40c5d54 49124 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49125
450bf206
AS
491262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49127
49128 * include/dirent.h: Include <dirstream.h> before
49129 <dirent/dirent.h>.
49130
741a235b
DM
491312012-02-28 David S. Miller <davem@davemloft.net>
49132
49133 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49134 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49135 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49136 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49137
d6b5aa58
DM
491382012-02-27 David S. Miller <davem@davemloft.net>
49139
1aff59a3
DM
49140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49142 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49143 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49144
d6b5aa58
DM
49145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49146 frame pointer instead of stack pointer relative arg slot.
49147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49148 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49149 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49150
433f48bf
CD
491512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49152
49153 [BZ #3992]
49154 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49155
d674b76d
DM
491562012-02-27 David S. Miller <davem@davemloft.net>
49157
49158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49162 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49163 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49164 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49165 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49166
0e7727f7
JM
491672012-02-27 Joseph Myers <joseph@codesourcery.com>
49168
49169 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49170 later. Allow versions 5-9.
43be4ca2 49171 * configure: Regenerated.
0e7727f7
JM
49172 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49173 required minimum version and 4.6 as recommended version. Do not
49174 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49175 * INSTALL: Regenerated.
0e7727f7 49176
a78bc654
DM
491772012-02-27 David S. Miller <davem@davemloft.net>
49178
428d5830
DM
49179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49185 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49186 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49187
a78bc654
DM
49188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49189 manipulate bits before adding and subtracting TWO112[sx].
49190 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49191
4579f81c
RM
491922012-02-27 Roland McGrath <roland@hack.frob.com>
49193
36c8acb4
RM
49194 [BZ #13775]
49195 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49196 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49197 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49198 being in POSIX, because they are in 1003.1-2008.
49199
84ad622b
RM
49200 * rt/tst-aio.c: Include <fcntl.h>.
49201 * rt/tst-aio7.c: Likewise.
49202 * rt/tst-aio64.c: Likewise.
49203
4579f81c
RM
49204 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49205
abd923db
JM
492062012-02-27 Joseph Myers <joseph@codesourcery.com>
49207
49208 * manual/install.texi (--with-headers): Describe headers as
49209 interface headers, not private headers.
49210 (Specific advice for GNU/Linux systems): Describe use of headers
49211 from "make headers_install", not private headers from older
49212 kernels.
43be4ca2 49213 * INSTALL: Regenerated.
abd923db
JM
49214 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49215 Change to 2.6.19.
49216 * sysdeps/unix/sysv/linux/configure: Regenerated.
49217
6664049b
JM
49218 * manual/llio.texi (fclean): Remove documentation.
49219
bb8b6697
JM
49220 * manual/Makefile (libc-texi-generated): New variable. Include
49221 version.texi.
49222 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49223 $(libc-texi-generated), not duplicated list of files.
49224 (version.texi, stamp-version): New rules.
49225 (realclean): Remove $(libc-texi-generated), not individual files
49226 from that list. Do not remove dir-add.texinfo.
49227 * manual/libc.texinfo: Comment out uses of edition numbers and
49228 references to printed manual. Remove last-updated dates.
49229 (EDITION): Comment out.
49230 (ISBN): Likewise.
49231 (VERSION, UPDATED): Remove.
49232 (version.texi): Include.
49233
12e5c3b9
AS
492342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49235
49236 * sysdeps/posix/spawni.c: Include <signal.h>.
49237 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49238 * sysdeps/pthread/aio_fsync.c: Likewise.
49239
4efeffc1 492402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49241
ba63ba08
UD
49242 * conform/Makefile (tests): Run only when not cross-compiling and
49243 when fast-check is not defined.
49244
d94a4670
UD
49245 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49246 * conform/data/limits.h-data: Fixes for POSIX2008.
49247 * conform/run-conformtest.sh: Run all tests.
49248 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49249 headers.
49250 * include/bits/dlfcn.h: Likewise.
49251 * include/langinfo.h: Likewise.
49252 * include/monetary.h: Likewise.
49253 * include/sys/poll.h: Likewise.
49254
49255 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49256 for __USE_GNU.
49257 * posix/spawn.h: Define __need_sigset_t.
49258 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49259 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49260 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49261 to get sigevent_t only.
49262 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49263 only for __USE_GNU.
49264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49265 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49266 process_vm_writev only for __USE_GNU.
49267 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49268
49269 * conform/Makefile: For now ignore errors from run-conformtest.
49270 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49271 POSIX to avoid namespace pollution. Don't prepend headers.
49272 * conform/data/aio.h-data: Fixes for POSIX testing.
49273 * conform/data/fcntl.h-data: Likewise.
49274 * conform/data/glob.h-data: Likewise.
49275 * conform/data/grp.h-data: Likewise.
49276 * conform/data/pthread.h-data: Likewise.
49277 * conform/data/pwd.h-data: Likewise.
49278 * conform/data/signal.h-data: Likewise.
49279 * conform/data/spawn.h-data: Likewise.
49280 * conform/data/stdio.h-data: Likewise.
49281 * conform/data/stdlib.h-data: Likewise.
49282 * conform/data/stropts.h-data: Likewise.
49283 * conform/data/sys/mman.h-data: Likewise.
49284 * conform/data/sys/stat.h-data: Likewise.
49285 * conform/data/sys/types.h-data: Likewise.
49286 * conform/data/sys/wait.h-data: Likewise.
49287 * conform/data/time.h-data: Likewise.
49288 * conform/data/unistd.h-data: Likewise.
49289 * conform/data/utime.h-data: Likewise.
49290
49291 * io/sys/stat.h: fchmod was always in POSIX.
49292 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49293 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49294 * rt/aio.h: Define __need_timespec before including <time.h>.
49295 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49296 struct. Add forward declaration of pthread_attr_t and use it in
49297 sigevent.
49298 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49299 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49300 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49301 always remove CLK_TCK definition.
49302
c20105c3
AS
493032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49304
49305 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49306
7a270350
UD
493072012-02-25 Ulrich Drepper <drepper@gmail.com>
49308
31341567
UD
49309 * conform/run-conformtest.sh: New file.
49310 * conform/Makefile: Run run-conformtest for tests.
49311 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49312 support.
49313
49314 * conform/data/uchar.h-data: New file.
49315 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49316 * conform/data/arpa/inet.h-data: Likewise.
49317 * conform/data/assert.h-data: Likewise.
49318 * conform/data/complex.h-data: Likewise.
49319 * conform/data/cpio.h-data: Likewise.
49320 * conform/data/ctype.h-data: Likewise.
49321 * conform/data/dirent.h-data: Likewise.
49322 * conform/data/dlfcn.h-data: Likewise.
49323 * conform/data/errno.h-data: Likewise.
49324 * conform/data/fcntl.h-data: Likewise.
49325 * conform/data/float.h-data: Likewise.
49326 * conform/data/fmtmsg.h-data: Likewise.
49327 * conform/data/fnmatch.h-data: Likewise.
49328 * conform/data/ftw.h-data: Likewise.
49329 * conform/data/glob.h-data: Likewise.
49330 * conform/data/grp.h-data: Likewise.
49331 * conform/data/iconv.h-data: Likewise.
49332 * conform/data/inttypes.h-data: Likewise.
49333 * conform/data/langinfo.h-data: Likewise.
49334 * conform/data/libgen.h-data: Likewise.
49335 * conform/data/limits.h-data: Likewise.
49336 * conform/data/locale.h-data: Likewise.
49337 * conform/data/math.h-data: Likewise.
49338 * conform/data/monetary.h-data: Likewise.
49339 * conform/data/mqueue.h-data: Likewise.
49340 * conform/data/ndbm.h-data: Likewise.
49341 * conform/data/net/if.h-data: Likewise.
49342 * conform/data/netdb.h-data: Likewise.
49343 * conform/data/netinet/in.h-data: Likewise.
49344 * conform/data/nl_types.h-data: Likewise.
49345 * conform/data/poll.h-data: Likewise.
49346 * conform/data/pthread.h-data: Likewise.
49347 * conform/data/pwd.h-data: Likewise.
49348 * conform/data/regex.h-data: Likewise.
49349 * conform/data/sched.h-data: Likewise.
49350 * conform/data/search.h-data: Likewise.
49351 * conform/data/semaphore.h-data: Likewise.
49352 * conform/data/setjmp.h-data: Likewise.
49353 * conform/data/signal.h-data: Likewise.
49354 * conform/data/spawn.h-data: Likewise.
49355 * conform/data/stdarg.h-data: Likewise.
49356 * conform/data/stdio.h-data: Likewise.
49357 * conform/data/stdlib.h-data: Likewise.
49358 * conform/data/string.h-data: Likewise.
49359 * conform/data/strings.h-data: Likewise.
49360 * conform/data/stropts.h-data: Likewise.
49361 * conform/data/sys/ipc.h-data: Likewise.
49362 * conform/data/sys/mman.h-data: Likewise.
49363 * conform/data/sys/msg.h-data: Likewise.
49364 * conform/data/sys/resource.h-data: Likewise.
49365 * conform/data/sys/select.h-data: Likewise.
49366 * conform/data/sys/sem.h-data: Likewise.
49367 * conform/data/sys/shm.h-data: Likewise.
49368 * conform/data/sys/socket.h-data: Likewise.
49369 * conform/data/sys/stat.h-data: Likewise.
49370 * conform/data/sys/statvfs.h-data: Likewise.
49371 * conform/data/sys/time.h-data: Likewise.
49372 * conform/data/sys/timeb.h-data: Likewise.
49373 * conform/data/sys/times.h-data: Likewise.
49374 * conform/data/sys/types.h-data: Likewise.
49375 * conform/data/sys/uio.h-data: Likewise.
49376 * conform/data/sys/un.h-data: Likewise.
49377 * conform/data/sys/utsname.h-data: Likewise.
49378 * conform/data/sys/wait.h-data: Likewise.
49379 * conform/data/syslog.h-data: Likewise.
49380 * conform/data/tar.h-data: Likewise.
49381 * conform/data/termios.h-data: Likewise.
49382 * conform/data/utime.h-data: Likewise.
49383 * conform/data/utmpx.h-data: Likewise.
49384 * conform/data/varargs.h-data: Likewise.
49385 * conform/data/wchar.h-data: Likewise.
49386 * conform/data/wctype.h-data: Likewise.
49387 * conform/data/wordexp.h-data: Likewise.
49388
49389 * include/stropts.h: New file.
49390 * include/uchar.h: New file.
49391 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49392 * include/assert.h: Likewise.
49393 * include/ctype.h: Likewise.
49394 * include/dirent.h: Likewise.
49395 * include/dlfcn.h: Likewise.
49396 * include/fcntl.h: Likewise.
49397 * include/fnmatch.h: Likewise.
49398 * include/glob.h: Likewise.
49399 * include/grp.h: Likewise.
49400 * include/libio.h: Likewise.
49401 * include/locale.h: Likewise.
49402 * include/math.h: Likewise.
49403 * include/net/if.h: Likewise.
49404 * include/netdb.h: Likewise.
49405 * include/netinet/in.h: Likewise.
49406 * include/pthread.h: Likewise.
49407 * include/pwd.h: Likewise.
49408 * include/regex.h: Likewise.
49409 * include/sched.h: Likewise.
49410 * include/search.h: Likewise.
49411 * include/setjmp.h: Likewise.
49412 * include/signal.h: Likewise.
49413 * include/stdio.h: Likewise.
49414 * include/stdlib.h: Likewise.
49415 * include/string.h: Likewise.
49416 * include/sys/cdefs.h: Likewise.
49417 * include/sys/mman.h: Likewise.
49418 * include/sys/msg.h: Likewise.
49419 * include/sys/resource.h: Likewise.
49420 * include/sys/select.h: Likewise.
49421 * include/sys/socket.h: Likewise.
49422 * include/sys/stat.h: Likewise.
49423 * include/sys/statvfs.h: Likewise.
49424 * include/sys/time.h: Likewise.
49425 * include/sys/times.h: Likewise.
49426 * include/sys/uio.h: Likewise.
49427 * include/sys/utsname.h: Likewise.
49428 * include/sys/wait.h: Likewise.
49429 * include/termios.h: Likewise.
49430 * include/time.h: Likewise.
49431 * include/ulimit.h: Likewise.
49432 * include/unistd.h: Likewise.
49433 * include/utime.h: Likewise.
49434 * include/wchar.h: Likewise.
49435 * include/wctype.h: Likewise.
49436 * include/wordexp.h: Likewise.
49437
49438 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49439
7a270350
UD
49440 * time/time.h: TIME_UTC must be a macro.
49441 Make timespec_get available for ISO C11 only as well.
49442
7724defc
UD
494432012-02-24 Ulrich Drepper <drepper@gmail.com>
49444
49445 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49446 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49447
6b1d1d46
JM
494482012-02-24 Joseph Myers <joseph@codesourcery.com>
49449
49450 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49451
0f8bbd69
JM
494522012-02-24 Joseph Myers <joseph@codesourcery.com>
49453
49454 * manual/texinfo.tex: Update to version 2012-01-19.16.
49455
66ab80bc
JM
494562012-02-24 Joseph Myers <joseph@codesourcery.com>
49457
49458 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49459
74981cc5
RM
494602012-02-24 Roland McGrath <roland@hack.frob.com>
49461
ee968201
RM
49462 [BZ #13738]
49463 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49464 * manual/fdl-1.3.texi: New file.
49465 * manual/fdl-1.1.texi: File removed.
49466
74981cc5
RM
49467 [BZ #13738]
49468 * manual/libc.texinfo (FDL_VERSION): New @set.
49469 Use it for mention of FDL in cover text.
49470 (Documentation License): Use it in @include file name.
49471
7bb764bc
JM
494722012-02-22 Joseph Myers <joseph@codesourcery.com>
49473 Roland McGrath <roland@hack.frob.com>
49474
49475 [BZ #5461]
57f41c40
AS
49476 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49477 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49478 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49479 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49480 name.
49481 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49482
6cbeae47
JM
494832012-02-22 Joseph Myers <joseph@codesourcery.com>
49484
49485 [BZ #2547]
49486 [BZ #11365]
49487 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49488 manipulate bits before adding and subtracting TWO23[sx].
49489 * math/libm-test.inc (nearbyint_test): Add more tests.
49490
fe45ce09
JM
494912012-02-22 Joseph Myers <joseph@codesourcery.com>
49492
49493 [BZ #2548]
49494 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49495 bits before adding and subtracting TWO23[sx].
49496 * math/libm-test.inc (rint_test): Add more tests.
49497 (rint_test_tonearest): Likewise.
49498 (rint_test_towardzero): Likewise.
49499 (rint_test_downward): Likewise.
49500 (rint_test_upward: Likewise.
49501
ff3b3d82
JM
495022012-02-22 Joseph Myers <joseph@codesourcery.com>
49503
49504 [BZ #10110]
49505 * include/stdc-predef.h: New file. Extracted from features.h.
49506 * include/features.h: Include stdc-predef.h.
49507 * Makefile (headers): Add stdc-predef.h.
49508 * CONFORMANCE (Compiler limitations): Update.
49509
ef0aab35
JM
495102012-02-22 Joseph Myers <joseph@codesourcery.com>
49511
49512 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49513
58639409
DM
495142012-02-21 David S. Miller <davem@davemloft.net>
49515
49516 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49517 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49518
c0e70b25
DM
495192012-02-20 David S. Miller <davem@davemloft.net>
49520
49521 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49522 using a normal save/restore sequence, rather than allocating a
49523 dummy stack frame just to store a frame pointer and restore.
49524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49525
fb06851d
JM
495262012-02-21 Joseph Myers <joseph@codesourcery.com>
49527
49528 * manual/install.texi: Fix stray word in line-wrapped comment.
49529
7a8b71c3
DM
495302012-02-20 David S. Miller <davem@davemloft.net>
49531
d510c123
DM
49532 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49533 both binutils and gcc support GOTDATA.
49534
0722d7c2
DM
49535 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49536 "rd %pc" in the PIC register setup sequences.
49537
3d2b3019
DM
49538 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49539 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49540 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49541 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49542 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49544 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49547 (SYSCALL_ERROR_HANDLER): Likewise.
49548 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49549 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49551 (SYSCALL_ERROR_HANDLER): Likewise.
49552
c80098a9
DM
49553 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49554 (HAVE_GCC_GOTDATA): New.
49555 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49556 relocation support in both binutils and gcc.
49557 * sysdeps/sparc/elf/configure: Regenerate.
49558
3a2545a0
DM
49559 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49560 * sysdeps/sparc/sparc32/elf/configure: Delete.
49561 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49562 * sysdeps/sparc/sparc64/elf/configure: Delete.
49563 * sysdeps/sparc/elf/configure.in: New file.
49564 * sysdeps/sparc/elf/configure: Generate.
49565
7a8b71c3
DM
49566 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49567 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49568 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49569 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49570 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49571
f1e86fca
JM
495722012-02-21 Joseph Myers <joseph@codesourcery.com>
49573
49574 * manual/install.texi: Do not mention specific glibc version
49575 numbers.
49576 * manual/libc.texinfo (VERSION, UPDATED): Update.
49577 (@copying): Use @copyright{} and range of years.
49578
0e7dfaef
JM
495792012-02-21 Joseph Myers <joseph@codesourcery.com>
49580
49581 [BZ #13695]
49582 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49583 [crti.S not in sysdirs] (generated): Do not append.
49584 [crti.S not in sysdirs] (omit-deps): Likewise.
49585 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49586 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49587 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49588 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49589 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49590 Likewise.
49591 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49592 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49593 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49594 * csu/defs.awk: Remove file.
49595 * sysdeps/generic/initfini.c: Likewise.
49596 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49597 variable.
49598 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49599 Likewise.
49600
599af3ca
JM
496012012-02-20 Joseph Myers <joseph@codesourcery.com>
49602
49603 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49604 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49605 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49606 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49607 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49608 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49609 <bits/epoll.h>.
49610 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49611 (__EPOLL_PACKED): Define to empty if not defined by
49612 <bits/epoll.h>.
49613 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49615 bits/epoll.h.
49616
0e499750
JM
496172012-02-20 Joseph Myers <joseph@codesourcery.com>
49618
49619 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49620 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49621 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49622 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49623 <bits/timerfd.h>.
49624 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49626 bits/timerfd.h.
49627
5ad91f6e
JM
496282012-02-20 Joseph Myers <joseph@codesourcery.com>
49629
49630 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49631 in C locale.
49632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49634 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49636
06b99b02
AJ
496372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49638
49639 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49640 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49641
7638c0fd
AS
496422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49643
49644 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49645 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49646 defined.
49647 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49648 Likewise.
49649 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49650 entry for 2.16.
49651
92221550
AJ
496522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49653
49654 * math/w_acos.c: Use non-signaling floating-point comparisons.
49655 * math/w_acosf.c: Likewise.
49656 * math/w_acosh.c: Likewise.
49657 * math/w_acoshf.c: Likewise.
49658 * math/w_acoshl.c: Likewise.
49659 * math/w_acosl.c: Likewise.
49660 * math/w_asin.c: Likewise.
49661 * math/w_asinf.c: Likewise.
49662 * math/w_asinl.c: Likewise.
49663 * math/w_atanh.c: Likewise.
49664 * math/w_atanhf.c: Likewise.
49665 * math/w_atanhl.c: Likewise.
49666 * math/w_exp2.c: Likewise.
49667 * math/w_exp2f.c: Likewise.
49668 * math/w_exp2l.c: Likewise.
49669 * math/w_j0.c: Likewise.
49670 * math/w_j0f.c: Likewise.
49671 * math/w_j0l.c: Likewise.
49672 * math/w_j1.c: Likewise.
49673 * math/w_j1f.c: Likewise.
49674 * math/w_j1l.c: Likewise.
49675 * math/w_jn.c: Likewise.
49676 * math/w_jnf.c: Likewise.
49677 * math/w_log.c: Likewise.
49678 * math/w_log10.c: Likewise.
49679 * math/w_log10f.c: Likewise.
49680 * math/w_log10l.c: Likewise.
49681 * math/w_log2.c: Likewise.
49682 * math/w_log2f.c: Likewise.
49683 * math/w_log2l.c: Likewise.
49684 * math/w_logf.c: Likewise.
49685 * math/w_logl.c: Likewise.
49686 * math/w_sqrt.c: Likewise.
49687 * math/w_sqrtf.c: Likewise.
49688 * math/w_sqrtl.c: Likewise.
49689 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49692 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49693 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49694
ebaf36eb
JM
496952012-02-19 Joseph Myers <joseph@codesourcery.com>
49696
49697 [BZ #9739]
49698 * manual/string.texi (strnlen): Use correct parameter name in
49699 equivalent expression.
49700
71c254a6
JM
497012012-02-19 Joseph Myers <joseph@codesourcery.com>
49702
49703 [BZ #11174]
49704 * manual/users.texi (seteuid): Consistently use neweuid for
49705 argument name.
49706
16d2c631
JM
497072012-02-19 Joseph Myers <joseph@codesourcery.com>
49708
49709 [BZ #13704]
49710 * manual/nss.texi (Services in the NSS configuration): Correct
49711 list of services in example configuration file.
49712
cd837b09
NB
497132012-02-19 Nick Bowler <nbowler@draconx.ca>
49714
49715 [BZ #11322]
49716 * manual/arith.texi: Remove statements about negative zero
49717 behaving identically to zero.
49718
02c4bbad
JM
497192012-02-18 Joseph Myers <joseph@codesourcery.com>
49720
49721 [BZ #5993]
49722 * manual/install.texi: Do not document upgrading from libc5.
49723
366842e7
JM
497242012-02-18 Joseph Myers <joseph@codesourcery.com>
49725
49726 [BZ #4596]
49727 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49728
dd54084d
DM
497292012-02-18 David S. Miller <davem@davemloft.net>
49730
49731 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49732 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49733 %o7 across the call.
49734 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49735 instead.
49736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49737 SETUP_PIC_REG_LEAF.
49738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49739 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49740 * sysdeps/sparc/crtn.S: Likewise.
49741
2bcc53a3
UD
497422012-02-17 Ulrich Drepper <drepper@gmail.com>
49743
49744 * aout/Makefile: Remove.
49745
09c093b5
RK
497462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49747
49748 [BZ #13058]
49749 * manual/examples/argp-ex1.c (main): Format definition in GNU
49750 style.
49751 * manual/examples/argp-ex2.c (main): Likewise.
49752 * manual/examples/argp-ex3.c (main): Likewise.
49753 * manual/examples/argp-ex4.c (main): Likewise.
49754 * manual/examples/longopt.c (main): Use new-style prototype
49755 definition.
49756 * manual/examples/strncat.c (main): Specify return type and use
49757 (void) for arguments.
49758 * manual/examples/subopt.c (main): Use char **argv argument.
49759
2ee633a2
JM
497602012-02-17 Joseph Myers <joseph@codesourcery.com>
49761
49762 [BZ #5077]
49763 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49764 rounding modes.
49765
0520adde
FB
497662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49767
49768 [BZ #6907]
49769 * manual/string.texi (strchr): Change when strchrnul is
49770 recommended.
49771
3f4081cd
DGM
497722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49773
49774 [BZ #174]
49775 * manual/locale.texi (setlocale): Document LOCPATH.
49776
d1b10e78
JM
497772012-02-17 Joseph Myers <joseph@codesourcery.com>
49778
49779 [BZ #10210]
49780 * manual/process.texi (execle): Move @dots{} before last argument.
49781
79c6869c
PB
497822012-02-17 Paul Bolle <pebolle@tiscali.nl>
49783
49784 [BZ #12047]
49785 * manual/charset.texi (Generic Charset Conversion): Fix typo
49786 (LC_TYPE -> LC_CTYPE).
49787
cc6e48bc
NB
497882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49789
49790 [BZ #5805]
49791 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49792 (scalbnf): Likewise.
49793 (scalbnl): Likewise.
49794 (scalbln): Likewise.
49795 (scalblnf): Likewise.
49796 (scalblnl): Likewise.
49797 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49798 (vwarnx): Likewise.
49799 (verr): Likewise.
49800 (verrx): Likewise.
49801 * manual/filesys.texi (telldir): Use braces around return type.
49802 * manual/llio.texi (mmap): Add space after comma.
49803 (mmap64): Likewise.
49804 * manual/math.texi (jn): Use @var{} on parameter names.
49805 (jnf): Likewise.
49806 (jnl): Likewise.
49807 (yn): Likewise.
49808 (ynf): Likewise.
49809 (ynl): Likewise.
49810 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49811 line.
49812 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49813 "...".
49814 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49815 (sched_get_priority_max): Likewise.
49816 * manual/signal.texi (sigvec): Add space after comma.
49817 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49818 names.
49819 (if_indextoname): Likewise.
49820 (if_freenameindex): Likewise.
49821 (sendto): Use ',' instead of '.' in prototype.
49822 * manual/startup.texi (syscall): Use @dots{} instead of literal
49823 "...".
49824 * manual/stdio.texi (__fpending): Separate initial words of
49825 paragraph from @deftypefun line.
49826 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49827 "...".
49828 (vsyslog): Use @var{} on parameter names.
49829 * manual/terminal.texi (stty): Use @var{} on parameter names.
49830 * manual/users.texi (getutmp): Use @var{} on parameter names.
49831 (getutmpx): Likewise.
49832
5b23062f
JM
498332012-02-17 Joseph Myers <joseph@codesourcery.com>
49834
49835 [BZ #6884]
49836 * manual/stdio.texi (fopen): Fix typos in description of
49837 ",ccs=STRING".
49838
8dee4833
AJ
498392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49840
49841 [BZ #4026]
49842 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49843 get clock_id definition.
49844
9078ce93
TS
498452012-02-17 Thomas Schwinge <thomas@schwinge.name>
49846
49847 [BZ #4822]
49848 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49849 (madvise): Cast every argument to void on its own.
49850
3835c55f
JM
498512012-02-17 Joseph Myers <joseph@codesourcery.com>
49852
49853 [BZ #9902]
49854 * manual/startup.texi (Exit Status): Fix typo.
49855
35c47e37
JM
498562012-02-17 Joseph Myers <joseph@codesourcery.com>
49857
49858 [BZ #10140]
49859 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49860 * manual/examples/argp-ex2.c: Likewise.
49861 * manual/examples/argp-ex3.c: Likewise.
49862
e3b69ca7
RH
498632012-02-16 Richard Henderson <rth@redhat.com>
49864
49865 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49866 * sysdeps/s390/s390-32/initfini.c: Remove.
49867 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49868 * sysdeps/s390/s390-64/initfini.c: Remove.
49869
df83af67
KK
498702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49871
49872 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49873 compiler output for sysdeps/generic/initfini.c.
49874 * sysdeps/sh/elf/initfini.c: Remove file.
49875
f63f3380
DM
498762012-02-16 David S. Miller <davem@davemloft.net>
49877
fb59b3a4
DM
49878 [BZ #11494]
49879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49880
f63f3380
DM
49881 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49882 * sysdeps/sparc/crti.S: New file.
49883 * sysdeps/sparc/crtn.S: New file.
49884 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49885 * sysdeps/sparc/sparc64/Makefile: Likewise.
49886
df6a4a4a
MF
498872012-02-15 Mike Frysinger <vapier@gentoo.org>
49888
6dd8f3dc 49889 [BZ #3335]
df6a4a4a
MF
49890 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49891
1cac7236
RM
498922012-02-15 Roland McGrath <roland@hack.frob.com>
49893
d2c736f8
RM
49894 [BZ #4822]
49895 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49896
1cac7236
RM
49897 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49898 (write, read, close): Likewise.
49899 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49900
8e475601
JM
499012012-02-15 Joseph Myers <joseph@codesourcery.com>
49902
49903 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49904 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49905 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49906 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49907 <bits/signalfd.h>.
49908 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49910 bits/signalfd.h.
49911
ed656b40
MP
499122012-02-14 Marek Polacek <polacek@redhat.com>
49913
49914 * sysdeps/x86_64/crti.S: New file.
49915 * sysdeps/x86_64/crtn.S: New file.
49916 * sysdeps/x86_64/elf/initfini.c: Remove file.
49917
2a979d3a
JM
499182012-02-13 Joseph Myers <joseph@codesourcery.com>
49919
49920 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49921 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49922 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49923 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49924 <bits/inotify.h>.
49925 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49927 bits/inotify.h.
49928
2a418ac3
JM
499292012-02-13 Joseph Myers <joseph@codesourcery.com>
49930
49931 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49932 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49933 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49934 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49935 <bits/eventfd.h>.
49936 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49938 bits/eventfd.h.
49939
fb779be7
TS
499402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49941
e19e83c5
RM
49942 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49943 __feraiseexcept instead of feraiseexcept.
7c35ffed 49944
fb779be7
TS
49945 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49946 nanosleep invocations.
49947 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49948 strings, and add error checking for a nanosleep invocations.
49949
59ba27a6
PE
499502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49951
49952 Replace FSF snail mail address with URLs, as per GNU coding standards.
49953 Most of the snail mail addresses were wrong anyway, and omitting
49954 them makes the source code easier to maintain. Almost all of the
49955 changes are to license notices and to locale LC_IDENTIFICATION
49956 addresses, except for this one:
49957 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49958 not its snail mail address.
49959
57b957eb
RH
499602012-02-09 Richard Henderson <rth@twiddle.net>
49961
af850b1c
RH
49962 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49963 of kernel-features.h.
49964
57b957eb
RH
49965 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49966
6b73181a
MP
499672012-02-08 Marek Polacek <polacek@redhat.com>
49968
49969 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49970 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49971 * sysdeps/gnu/_G_config.h: Likewise.
49972 * sysdeps/generic/_G_config.h: Likewise.
49973
26ecc33a
AS
499742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49975
6c6dbc63
AS
49976 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49977 tests.
49978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49979
e216c012
AS
49980 * sysdeps/powerpc/powerpc32/crti.S: New file.
49981 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49982 * sysdeps/powerpc/powerpc64/crti.S: New file.
49983 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49984
26ecc33a
AS
49985 * Makeconfig (have-initfini): Don't set.
49986 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49987 * configure.in (nopic_initfini): Don't substitute.
49988 * config.h.in (HAVE_INITFINI): Don't #undef.
49989 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49990 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49991
3add8e13
JM
499922012-02-08 Joseph Myers <joseph@codesourcery.com>
49993
49994 Support crti.S and crtn.S provided directly by architectures.
49995 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49996 [crti.S in sysdirs] (omit-deps): Likewise.
49997 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49998 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49999 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50000 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50001 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50002 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50003 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50004 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50005 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50006 compiler output for sysdeps/generic/initfini.c.
50007 * sysdeps/i386/elf/Makefile: Remove file.
50008 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50009
a22f12b4
MP
500102012-02-07 Marek Polacek <polacek@redhat.com>
50011
50012 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50013 * sysdeps/gnu/_G_config.h: Likewise.
50014 * sysdeps/mach/hurd/_G_config.h: Likewise.
50015
148cf100
MP
500162012-02-07 Marek Polacek <polacek@redhat.com>
50017
50018 * math/Makefile (tests): Add tst-CMPLX2.
50019 * math/tst-CMPLX2.c: New file.
50020
cfdc0dd7
AS
500212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50022
84ba42c4
AS
50023 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50024
cfdc0dd7
AS
50025 * math/libm-test.inc (jn_test): Add missing L suffix.
50026
622c86f4
MP
500272012-02-06 Marek Polacek <polacek@redhat.com>
50028
50029 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50030 * sysdeps/i386/fpu/e_powf.S: Likewise.
50031 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50032 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50033 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50034 * sysdeps/i386/fpu/e_pow.S: Likewise.
50035 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50036 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50037 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50038 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50039 * sysdeps/i386/fpu/e_log2.S: Likewise.
50040 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50041 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50042 * sysdeps/i386/fpu/e_powl.S: Likewise.
50043 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50044 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50045 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50046 * sysdeps/i386/fpu/e_logl.S: Likewise.
50047 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50048 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50049 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50050 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50052 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50053 * sysdeps/i386/fpu/e_log.S: Likewise.
50054 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50056 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50057 * sysdeps/i386/fpu/e_logf.S: Likewise.
50058 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50059 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50060 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50061 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50062 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50063 * sysdeps/i386/fpu/e_log10.S: Likewise.
50064 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50065 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50066 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50067 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50068 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50069 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50070 * sysdeps/i386/asm-syntax.h: Likewise.
50071 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50072 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50073 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50074 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50075 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50076 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50077 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50078 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50079 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50080 * sysdeps/powerpc/sysdep.h: Likewise.
50081 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50082 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50083
d4a54ac6
JM
500842012-02-06 Joseph Myers <joseph@codesourcery.com>
50085
50086 [BZ #411]
50087 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50088
314054ea
JM
500892012-02-06 Joseph Myers <joseph@codesourcery.com>
50090
50091 * sysdeps/i386/sysdep.h: Include <features.h>.
50092 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50093 version.
50094
d8e0ca50
JM
500952012-02-05 Joseph Myers <joseph@codesourcery.com>
50096
50097 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50098 Define.
50099 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50100 LOAD_PIC_REG_STR.
50101
b1da7dd9
JM
501022012-02-03 Joseph Myers <joseph@codesourcery.com>
50103
50104 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50105 (SETUP_PIC_REG): Use GET_PC_THUNK.
50106 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50107 macro.
50108
9a1d9254
JM
501092012-02-03 Joseph Myers <joseph@codesourcery.com>
50110
50111 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50112 for non-PIC compilation.
50113 (SETUP_PIC_REG): Add .p2align directive.
50114 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50115 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50116 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50119 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50120 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50128 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50129 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50130 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50131 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50132 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50133 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50135 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50137 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50138 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50140 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50141 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50142 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50143 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50144 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50145 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50146 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50147 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50148 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50149 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50150 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50151 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50152 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50153 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50154 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50155
65dc3b75
JM
501562012-02-03 Joseph Myers <joseph@codesourcery.com>
50157
50158 * math/tst-CMPLX.c: Include <stdio.h>.
50159
d55bf177
JM
501602012-01-31 Joseph Myers <joseph@codesourcery.com>
50161
50162 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50163 float.
50164 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50165 * sysdeps/sparc/bits/mathdef.h: Likewise.
50166
69db4f8f
MP
501672012-01-31 Marek Polacek <polacek@redhat.com>
50168
50169 * libio/libio.h: Don't define _PARAMS.
50170 * locale/programs/config.h: Don't define PARAMS.
50171 * stdlib/strtol_l.c: Likewise.
50172 (__strtol_l): Remove PARAMS from the prototype.
50173
41b81892
UD
501742012-01-31 Ulrich Drepper <drepper@gmail.com>
50175
3b49edc0
UD
50176 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50177 names. Just use the correct names. Remove unnecessary wrapper
50178 functions.
50179 * malloc/arena.c: Likewise.
50180 * malloc/hooks.c: Likewise.
50181
41b81892
UD
50182 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50183 ARENA_TEST says not to. Simplify test for creation of a new arena.
50184 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50185
27a25b6e
UD
501862012-01-30 Ulrich Drepper <drepper@gmail.com>
50187
50188 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50189 into tail calls.
50190 (update_get_addr): New function.
50191 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50192 GET_ADDR_MODULE parameter.
50193
c8a89e7d
JM
501942012-01-30 Joseph Myers <joseph@codesourcery.com>
50195
50196 * crypt/cert.c: Remove __STDC__ conditionals.
50197 * crypt/crypt-entry.c: Likewise.
50198 * crypt/crypt_util.c: Likewise.
50199 * libio/filedoalloc.c: Likewise.
50200 * libio/fileops.c: Likewise.
50201 * libio/genops.c: Likewise.
50202 * libio/iofclose.c: Likewise.
50203 * libio/iofdopen.c: Likewise.
50204 * libio/iofopen.c: Likewise.
50205 * libio/iofopen64.c: Likewise.
50206 * libio/iogetdelim.c: Likewise.
50207 * libio/iopopen.c: Likewise.
50208 * libio/obprintf.c: Likewise.
50209 * libio/oldfileops.c: Likewise.
50210 * libio/oldiofclose.c: Likewise.
50211 * libio/oldiofdopen.c: Likewise.
50212 * libio/oldiofopen.c: Likewise.
50213 * libio/oldiopopen.c: Likewise.
50214 * libio/wfiledoalloc.c: Likewise.
50215 * libio/wgenops.c: Likewise.
50216 * locale/programs/xmalloc.c: Likewise.
50217 * misc/syslog.c: Likewise.
50218 * stdio-common/xbug.c: Likewise.
50219 * string/memchr.c: Likewise.
50220 * string/memcmp.c: Likewise.
50221 * string/memrchr.c: Likewise.
50222 * string/rawmemchr.c: Likewise.
50223 * sysdeps/posix/getcwd.c: Likewise.
50224 * time/strftime_l.c: Likewise.
50225
3b100462
JM
502262012-01-30 Joseph Myers <joseph@codesourcery.com>
50227
50228 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50229 * config.make.in (config-cflags-sse2avx): Define.
50230 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50231 Fix typo.
50232
607998af
CM
502332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50234
50235 * scripts/config.guess: Update from upstream config git repository.
50236 * scripts/config.sub: Likewise.
50237
3601428f
CM
502382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50239
3ac8b282
CM
50240 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50241 (EM_NUM): Update.
50242 (R_TILEPRO_*, R_TILEGX_*): New macros.
50243
e034841e
CM
50244 * scripts/firstversions.awk: Fix bug in version range handling.
50245
540d7568
CM
50246 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50247
3601428f
CM
50248 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50249
463de862
CM
50250 * include/sys/epoll.h: New file.
50251 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50252 libc_hidden_def.
50253
73139a76
UD
502542012-01-28 Ulrich Drepper <drepper@gmail.com>
50255
96bc5b45
UD
50256 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50257 Avoid unnecessary __WORDSIZE == 64 test.
50258 (fmaxf): Use VEX format if possible.
50259 (fmax): Likewise.
50260 (fminf): Likewise.
50261 (fmin): Likewise.
50262
56f6f6a2
UD
50263 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50264 * math/math_private.h: Remove libc_fegetround* and
50265 libc_fesetround*.
50266 * sysdeps/i386/configure.in: Check for -msse2avx.
50267 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50268 also if SSE2AVX is defined.
50269 Remove libc_fegetround* and libc_fesetround*.
50270 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50271 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50273 of HAS_YMM_USABLE.
50274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50279
73139a76
UD
50280 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50281
d73f93a4
AZ
502822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50283
50284 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50285 size is not set.
50286 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50287
6ee65ed6
UD
502882012-01-27 Ulrich Drepper <drepper@gmail.com>
50289
50290 [BZ #13618]
50291 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50292 relocation.
50293 * Makeconfig (libm): Define.
50294 * elf/Makefile: Add rules to build and run tst-relsort1.
50295 * elf/tst-relsort1.c: New file.
50296 * elf/tst-relsort1mod1.c: New file.
50297 * elf/tst-relsort1mod2.c: New file.
50298
8db21882
JM
502992012-01-27 Joseph Myers <joseph@codesourcery.com>
50300
50301 * math/s_ldexp.c: Remove __STDC__ conditionals.
50302 * math/s_ldexpf.c: Likewise.
50303 * math/s_ldexpl.c: Likewise.
50304 * math/s_nextafter.c: Likewise.
50305 * math/s_nexttowardf.c: Likewise.
50306 * math/s_significand.c: Likewise.
50307 * math/s_significandf.c: Likewise.
50308 * math/s_significandl.c: Likewise.
50309 * math/w_jnl.c: Likewise.
50310 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50311 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50312 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50313 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50314 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50316 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50317 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50318 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50319 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50320 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50322 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50323 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50325 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50326 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50327 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50329 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50330 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50331 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50332 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50333 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50334 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50335 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50336 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50337 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50338 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50339 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50340 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50341 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50342 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50343 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50345 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50346 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50347 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50348 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50349 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50350 * sysdeps/ieee754/k_standard.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50383 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50388 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50415 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50417 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50421 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50422 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50423 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50425 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50426 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50427 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50428 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50430 * sysdeps/ieee754/s_matherr.c: Likewise.
50431 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50432 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50435
965a54a4
JM
504362012-01-26 Joseph Myers <joseph@codesourcery.com>
50437
50438 * crypt/md5.h: Remove __STDC__ conditionals.
50439 * libio/libioP.h: Likewise.
50440 * locale/programs/config.h: Likewise.
50441 * sysdeps/generic/sysdep.h: Likewise.
50442 * sysdeps/i386/asm-syntax.h: Likewise.
50443 * sysdeps/s390/asm-syntax.h: Likewise.
50444 * sysdeps/unix/sysdep.h: Likewise.
50445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50447
7071ad79
JM
504482012-01-26 Joseph Myers <joseph@codesourcery.com>
50449
50450 * libio/libio.h: Remove __STDC__ conditionals.
50451 * malloc/obstack.h: Likewise.
50452 * math/complex.h: Likewise.
50453 * math/math.h: Likewise.
50454 * sysdeps/generic/_G_config.h: Likewise.
50455 * sysdeps/gnu/_G_config.h: Likewise.
50456 * sysdeps/mach/hurd/_G_config.h: Likewise.
50457 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50458 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50459 * sysdeps/sparc/bits/mathdef.h: Likewise.
50460
afc5ed09
UD
504612012-01-26 Ulrich Drepper <drepper@gmail.com>
50462
50463 [BZ #13583]
50464 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50465 Clean up HAS_* macros.
afc5ed09 50466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50467 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50468 possible.
50469 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50470 HAS_AVX.
50471 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50472 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50476
bdb6de1d
JM
504772012-01-25 Joseph Myers <joseph@codesourcery.com>
50478
50479 * elf/tst-unique3.cc (gets): Remove declaration.
50480 * elf/tst-unique3lib.cc (gets): Likewise.
50481 * elf/tst-unique3lib2.cc (gets): Likewise.
50482 * elf/tst-unique4.cc (gets): Likewise.
50483
b15549e6
UD
504842012-01-24 Ulrich Drepper <drepper@gmail.com>
50485
50486 * include/stdio.h: Add C++ protection. Add gets declarations and
50487 definitions.
50488 * debug/tst-chk1.c: Don't declare gets here.
50489 * stdio-common/tst-gets.c: Likewise.
50490
a037381f
JM
504912012-01-24 Joseph Myers <joseph@codesourcery.com>
50492
50493 * posix/glob: Remove directory.
50494
f1d4aa75
JM
504952012-01-24 Joseph Myers <joseph@codesourcery.com>
50496
50497 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50498
81c0c964
PT
504992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50500
50501 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50502 of the non-standard EPFNOSUPPORT.
50503
0ea698ae
ST
505042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50505
50506 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50507 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50508 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50509
d220b117
UD
505102012-01-21 Ulrich Drepper <drepper@gmail.com>
50511
50512 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50513
3e1aa84e
UD
505142012-01-20 Ulrich Drepper <drepper@gmail.com>
50515
50516 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50517 transient errors.
50518 * nscd/grpcache.c (cache_addgr): Likewise.
50519 * nscd/hstcache.c (cache_addhst): Likewise.
50520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50521 * nscd/pwdcache.c (cache_addpw): Likewise.
50522 * nscd/servicescache.c (cache_addserv): Likewise.
50523
400aa020
UD
505242012-01-16 Ulrich Drepper <drepper@gmail.com>
50525
d77e7869
UD
50526 * malloc/malloc.c: Various cleanups.
50527 * malloc/hooks.c: Likewise.
50528
400aa020
UD
50529 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50530 * stdlib/bug-fmtmsg1.c: New file.
50531
50532 * stdlib/fmtmsg.c (init): Add missing unlock.
50533 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50534
e0a309cf
MP
505352012-01-12 Marek Polacek <polacek@redhat.com>
50536
50537 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50538 and _GNU_SOURCE.
50539
929d11c7
WS
505402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50541
50542 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50543 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50544 macro to ensure uniqueness of label name.
50545 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50546 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50547
41d0e869
UD
505482012-01-11 Ulrich Drepper <drepper@gmail.com>
50549
0cc5ed3b
UD
50550 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50551
41d0e869
UD
50552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50553 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50554 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50556
a47a831a
UD
505572012-01-10 Ulrich Drepper <drepper@gmail.com>
50558
daa891c0
UD
50559 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50560
50561 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50562 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50563 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50564
e58ef0f2
UD
50565 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50566
a47a831a 50567 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50568 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50569 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50571
50572 * math/bits/math-finite.h: Add ldexp support.
50573
a0bfc9c7
MP
505742012-01-10 Marek Polacek <polacek@redhat.com>
50575
50576 * locale/programs/localedef.h (show_archive_content): Add noreturn
50577 attribute.
50578
d6e97a1d
UD
505792012-01-09 Ulrich Drepper <drepper@gmail.com>
50580
50581 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50582
d5835c26
UD
505832012-01-08 Ulrich Drepper <drepper@gmail.com>
50584
e5f484c6
UD
50585 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50586
d5835c26
UD
50587 * io/Makefile (headers): Add bits/poll2.h.
50588
d1f741e9
WS
505892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50590
50591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50592 typo #include statement.
50593
ec09c1c4
UD
505942012-01-08 Ulrich Drepper <drepper@gmail.com>
50595
50596 * include/sys/cdefs.h: Define __attribute_alloc_size.
50597 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50598 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50599 * elf/pldd.c: Likewise.
50600 * iconv/iconv_charmap.c: Likewise.
50601 * iconv/iconvconfig.c: Likewise.
50602 * iconv/strtab.c: Likewise.
50603 * locale/programs/locale.c: Likewise.
50604 * locale/programs/localedef.h: Likewise.
50605 * locale/programs/simple-hash.c: Likewise.
50606 * nscd/nscd.h: Likewise.
50607 * nss/makedb.c: Likewise.
50608 * sysdeps/generic/ldconfig.h: Likewise.
50609 * locale/programs/localedef.c: Remove xmalloc prototype.
50610 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50611
20b38e03
PP
506122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50613
50614 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50615 appropriate.
50616
a0da5fe1
UD
506172012-01-08 Ulrich Drepper <drepper@gmail.com>
50618
1d5a644a 50619 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50620 * math/tst-CMPLX.c: New file.
1d5a644a 50621
8784a6db
UD
50622 * math/complex.h (CMPLXL): Fix typo.
50623
d9a216c0
UD
50624 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50625 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50626 GLIBC_2.16.
50627 * debug/tst-chk1.c: Add poll and ppoll tests.
50628 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50629 * include/sys/poll.h: Add hidden proto for ppoll.
50630 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50631 * sysdeps/mach/hurd/ppoll.c: Likewise.
50632 * io/ppoll.c: Likewise.
50633 * debug/poll_chk.c: New file.
50634 * debug/ppoll_chk.c: New file.
50635 * include/bits/poll2.h: New file.
50636 * io/bits/poll2.h: New file.
50637
ac097f5c
UD
50638 [BZ #1350]
50639 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50640
2119dcfa
UD
50641 * configure.in: static is always set to yes. Remove.
50642 * config.make.in: Don't set build-static.
50643 * Makeconfig: Remove use of build-static.
50644 * dlfcn/Makefile: Likewise.
50645 * elf/Makefile: Likewise.
50646 * math/Makefile: Likewise.
50647 * misc/Makefile: Likewise.
50648 * nptl/Makefile: Likewise.
50649 * sysdeps/mach/hurd/Makefile: Likewise.
50650
121766a9
UD
50651 * configure.in: PWD_P is not used anymore.
50652 * config.make.in: Remove PWD_P entry.
50653
51a1d39c 50654 * configure.in: Remove last remnants of RANLIB.
8720d066 50655 No need to check for signed size_t anymore.
215f4bdc
UD
50656 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50657 and IA-64.
3857022a 50658 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50659 * aclocal.m4: Likewise.
50660
d3ed7225
UD
50661 * wcsmbs/mbrtoc16.c: Implement using towc function.
50662 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50663 * wcsmbs/wcsmbsload.c: Likewise.
50664 * iconv/gconv_simple.c: Likewise.
50665 * iconv/gconv_int.h: Likewise.
50666 * iconv/gconv_builtin.h: Likewise.
50667 * iconv/iconv_prog.c: Remove CHAR16 handling.
50668
50669 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50670
50671 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50672
a0da5fe1
UD
50673 * configure.in: Remove --with-elf and --enable-bounded options.
50674 Dont set base_machine for ia64. More non-ELF conditions removed.
50675 Remove testing and setting of leading underscore information.
50676 * config.make.in (build-bounded): Set to no.
50677 * config.h.in: Remove NO_UNDERSCORES entry.
50678 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50679 them.
50680 * csu/start.c: Remove !NO_UNDERSCORE code.
50681 * locale/localeinfo.h: Likewise.
50682 * sysdeps/generic/machine-gmon.h: Likewise.
50683 * sysdeps/generic/sysdep.h: Likewise.
50684 * sysdeps/i386/sysdep.h: Likewise.
50685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50686 * sysdeps/mach/sysdep.h: Likewise.
50687 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50689 * sysdeps/sh/sysdep.h: Likewise.
50690 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50691 * sysdeps/unix/i386/sysdep.S: Likewise.
50692 * sysdeps/unix/sparc/start.c: Likewise.
50693 * sysdeps/unix/sparc/sysdep.S: Likewise.
50694 * sysdeps/unix/sparc/sysdep.h: Likewise.
50695 * sysdeps/unix/start.c: Likewise.
50696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50697 * sysdeps/x86_64/sysdep.h: Likewise.
50698
df78418a
UD
506992012-01-07 Ulrich Drepper <drepper@gmail.com>
50700
a784e502
UD
50701 [BZ #13553]
50702 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50703 for non-gcc.
50704 * argp/argp-fmtstream.h: Use const instead __const.
50705 * argp/argp.h: Likewise.
50706 * assert/assert.h: Likewise.
50707 * bits/fenv.h: Likewise.
50708 * bits/sched.h: Likewise.
50709 * bits/sigset.h: Likewise.
50710 * bits/sigthread.h: Likewise.
50711 * catgets/nl_types.h: Likewise.
50712 * conform/data/pthread.h-data: Likewise.
50713 * crypt/crypt-private.h: Likewise.
50714 * crypt/crypt.h: Likewise.
50715 * crypt/crypt_util.c: Likewise.
50716 * ctype/ctype.h: Likewise.
50717 * debug/execinfo.h: Likewise.
50718 * debug/mbsnrtowcs_chk.c: Likewise.
50719 * debug/mbsrtowcs_chk.c: Likewise.
50720 * debug/wcsnrtombs_chk.c: Likewise.
50721 * debug/wcsrtombs_chk.c: Likewise.
50722 * debug/wcstombs_chk.c: Likewise.
50723 * dirent/dirent.h: Likewise.
50724 * dlfcn/dlfcn.h: Likewise.
50725 * elf/neededtest4.c: Likewise.
50726 * grp/grp.h: Likewise.
50727 * gshadow/gshadow.h: Likewise.
50728 * iconv/gconv.h: Likewise.
50729 * iconv/gconv_int.h: Likewise.
50730 * iconv/gconv_simple.c: Likewise.
50731 * iconv/iconv.h: Likewise.
50732 * iconv/loop.c: Likewise.
50733 * iconv/skeleton.c: Likewise.
50734 * include/aio.h: Likewise.
50735 * include/aliases.h: Likewise.
50736 * include/argz.h: Likewise.
50737 * include/arpa/inet.h: Likewise.
50738 * include/assert.h: Likewise.
50739 * include/dirent.h: Likewise.
50740 * include/dlfcn.h: Likewise.
50741 * include/execinfo.h: Likewise.
50742 * include/fcntl.h: Likewise.
50743 * include/fenv.h: Likewise.
50744 * include/glob.h: Likewise.
50745 * include/grp.h: Likewise.
50746 * include/libintl.h: Likewise.
50747 * include/mntent.h: Likewise.
50748 * include/netdb.h: Likewise.
50749 * include/pwd.h: Likewise.
50750 * include/rpc/netdb.h: Likewise.
50751 * include/sched.h: Likewise.
50752 * include/search.h: Likewise.
50753 * include/shadow.h: Likewise.
50754 * include/signal.h: Likewise.
50755 * include/stdio.h: Likewise.
50756 * include/stdlib.h: Likewise.
50757 * include/string.h: Likewise.
50758 * include/sys/socket.h: Likewise.
50759 * include/sys/stat.h: Likewise.
50760 * include/sys/statfs.h: Likewise.
50761 * include/sys/statvfs.h: Likewise.
50762 * include/sys/syslog.h: Likewise.
50763 * include/sys/time.h: Likewise.
50764 * include/sys/uio.h: Likewise.
50765 * include/time.h: Likewise.
50766 * include/unistd.h: Likewise.
50767 * include/utmp.h: Likewise.
50768 * include/wchar.h: Likewise.
50769 * include/wctype.h: Likewise.
50770 * inet/aliases.h: Likewise.
50771 * inet/arpa/inet.h: Likewise.
50772 * inet/netinet/ether.h: Likewise.
50773 * inet/netinet/in.h: Likewise.
50774 * intl/libintl.h: Likewise.
50775 * io/bits/fcntl2.h: Likewise.
50776 * io/fcntl.h: Likewise.
50777 * io/ftw.h: Likewise.
50778 * io/sys/poll.h: Likewise.
50779 * io/sys/stat.h: Likewise.
50780 * io/sys/statfs.h: Likewise.
50781 * io/sys/statvfs.h: Likewise.
50782 * io/utime.h: Likewise.
50783 * libio/bits/stdio.h: Likewise.
50784 * libio/bits/stdio2.h: Likewise.
50785 * libio/libio.h: Likewise.
50786 * libio/libioP.h: Likewise.
50787 * libio/stdio.h: Likewise.
50788 * locale/lc-ctype.c: Likewise.
50789 * locale/locale.h: Likewise.
50790 * login/utmp.h: Likewise.
50791 * malloc/arena.c: Likewise.
50792 * malloc/malloc.c: Likewise.
50793 * malloc/malloc.h: Likewise.
50794 * malloc/mcheck.c: Likewise.
50795 * malloc/mtrace.c: Likewise.
50796 * math/bits/mathcalls.h: Likewise.
50797 * math/fenv.h: Likewise.
50798 * math/math_private.h: Likewise.
50799 * misc/bits/error.h: Likewise.
50800 * misc/bits/syslog.h: Likewise.
50801 * misc/err.h: Likewise.
50802 * misc/error.h: Likewise.
50803 * misc/fstab.h: Likewise.
50804 * misc/mntent.h: Likewise.
50805 * misc/regexp.h: Likewise.
50806 * misc/search.h: Likewise.
50807 * misc/sgtty.h: Likewise.
50808 * misc/sys/mman.h: Likewise.
50809 * misc/sys/syslog.h: Likewise.
50810 * misc/sys/uio.h: Likewise.
50811 * misc/sys/xattr.h: Likewise.
50812 * misc/ttyent.h: Likewise.
50813 * nis/rpcsvc/ypclnt.h: Likewise.
50814 * nss/nss.h: Likewise.
50815 * posix/bits/unistd.h: Likewise.
50816 * posix/fnmatch.h: Likewise.
50817 * posix/glob.h: Likewise.
50818 * posix/sched.h: Likewise.
50819 * posix/spawn.h: Likewise.
50820 * posix/sys/wait.h: Likewise.
50821 * posix/unistd.h: Likewise.
50822 * posix/wordexp.h: Likewise.
50823 * pwd/pwd.h: Likewise.
50824 * resolv/netdb.h: Likewise.
50825 * resource/sys/resource.h: Likewise.
50826 * rt/aio.h: Likewise.
50827 * rt/bits/mqueue2.h: Likewise.
50828 * rt/mqueue.h: Likewise.
50829 * shadow/shadow.h: Likewise.
50830 * signal/signal.h: Likewise.
50831 * socket/send.c: Likewise.
50832 * socket/sendto.c: Likewise.
50833 * socket/sys/socket.h: Likewise.
50834 * stdio-common/printf.h: Likewise.
50835 * stdlib/bits/stdlib.h: Likewise.
50836 * stdlib/fmtmsg.h: Likewise.
50837 * stdlib/monetary.h: Likewise.
50838 * stdlib/stdlib.h: Likewise.
50839 * stdlib/ucontext.h: Likewise.
50840 * streams/stropts.h: Likewise.
50841 * string/argz.h: Likewise.
50842 * string/bits/string2.h: Likewise.
50843 * string/string.h: Likewise.
50844 * string/strings.h: Likewise.
50845 * sunrpc/rpc/auth.h: Likewise.
50846 * sunrpc/rpc/auth_des.h: Likewise.
50847 * sunrpc/rpc/clnt.h: Likewise.
50848 * sunrpc/rpc/netdb.h: Likewise.
50849 * sunrpc/rpc/pmap_clnt.h: Likewise.
50850 * sunrpc/rpc/xdr.h: Likewise.
50851 * sysdeps/generic/inttypes.h: Likewise.
50852 * sysdeps/generic/net/if.h: Likewise.
50853 * sysdeps/generic/sys/swap.h: Likewise.
50854 * sysdeps/gnu/net/if.h: Likewise.
50855 * sysdeps/gnu/utmpx.h: Likewise.
50856 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50857 * sysdeps/i386/i486/bits/string.h: Likewise.
50858 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50859 * sysdeps/s390/bits/string.h: Likewise.
50860 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50861 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50862 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50863 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50864 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50865 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50866 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50867 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50868 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50869 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50870 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50871 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50872 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50873 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50874 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50875 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50876 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50879 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50880 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50881 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50882 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50883 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50884 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50885 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50886 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50888 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50889 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50890 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50891 * sysvipc/sys/ipc.h: Likewise.
50892 * sysvipc/sys/msg.h: Likewise.
50893 * sysvipc/sys/sem.h: Likewise.
50894 * sysvipc/sys/shm.h: Likewise.
50895 * termios/termios.h: Likewise.
50896 * time/sys/time.h: Likewise.
50897 * time/time.h: Likewise.
50898 * wcsmbs/bits/wchar2.h: Likewise.
50899 * wcsmbs/uchar.h: Likewise.
50900 * wcsmbs/wchar.h: Likewise.
50901 * wctype/wctype.h: Likewise.
50902
0269750c
UD
50903 [BZ #13551]
50904 * Makeconfig: Remove all but ELF support including AIX support.
50905 * Makerules: Likewise.
50906 * config.h.in: Likewise.
50907 * config.make.in: Likewise.
50908 * configure: Likewise.
50909 * configure.in: Likewise.
50910 * csu/Makefile: Likewise.
50911 * csu/version.c: Likewise.
50912 * debug/Makefile: Likewise.
50913 * dlfcn/Makefile: Likewise.
50914 * elf/Makefile: Likewise.
50915 * extra-lib.mk: Likewise.
50916 * iconv/Makefile: Likewise.
50917 * include/libc-symbols.h: Likewise.
50918 * include/shlib-compat.h: Likewise.
50919 * resolv/Makefile: Likewise.
50920 * resolv/res_libc.c: Likewise.
50921 * rt/Makefile: Likewise.
50922 * sysdeps/i386/asm-syntax.h: Likewise.
50923 * sysdeps/i386/sysdep.h: Likewise.
50924 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50925 * sysdeps/mach/sysdep.h: Likewise.
50926 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50927 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50928 * sysdeps/s390/asm-syntax.h: Likewise.
50929 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50930 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50931 * sysdeps/sh/sysdep.h: Likewise.
50932 * sysdeps/unix/sparc/sysdep.h: Likewise.
50933 * sysdeps/wordsize-32/divdi3.c: Likewise.
50934 * sysdeps/x86_64/sysdep.h: Likewise.
50935
00bbd29b
UD
50936 * argp/Versions: Remove _argp_unlock_xxx.
50937
50938 [BZ #13559]
50939 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50940 * abilist/libBrokenLocale.abilist: Likewise.
50941 * abilist/libanl.abilist: Likewise.
50942 * abilist/libc.abilist: Likewise.
50943 * abilist/libcrypt.abilist: Likewise.
50944 * abilist/libdl.abilist: Likewise.
50945 * abilist/libm.abilist: Likewise.
50946 * abilist/libnsl.abilist: Likewise.
50947 * abilist/libpthread.abilist: Likewise.
50948 * abilist/libresolv.abilist: Likewise.
50949 * abilist/librt.abilist: Likewise.
50950 * abilist/libthread_db.abilist: Likewise.
50951 * abilist/libutil.abilist: Likewise.
50952 * abilist/libnss_db.abilist: New file.
50953
50954 * scripts/abilist.awk: Add support for indirect functions.
50955
a2693a0e
UD
50956 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50957
3f05895f
UD
50958 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50959
ecb6fb48
UD
50960 * shlib-versions: Remove entries for ports architectures.
50961
664f8cb9
UD
50962 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50963 files in ports.
50964 * elf/stackguard-macros.h: Remove support for IA-64.
50965 * elf/tst-auditmod1.c: Likewise.
50966 * sysdeps/generic/ldsodefs.h: Likewise.
50967
7ae81d88
UD
50968 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50969 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50970 configure files.
50971
bdeba135
UD
50972 [BZ #13552]
50973 * configure.in: Remove --enable-omitfp support.
50974 * FAQ.in: Adjust.
50975 * config.make.in: Likewise.
50976 * Makeconfig: Likewise.
50977 * manual/install.texi: Likewise.
50978
d75a0a62
UD
50979 In case anyone cares, the IA-64 architecture could move to ports.
50980 * sysdeps/ia64/*: Removed.
50981 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50982 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50983
dcc9756b
UD
50984 [BZ #13555]
50985 * configure.in: Remove entries for unsupported architectures.
50986
d3761ebc 50987 [BZ #13533]
9954432e
UD
50988 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50989 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50990 routines.
50991 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50992 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50993 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50994 fall back to using wcrtomb.
50995 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50996 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50997 renaming.
50998 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50999 * wcsmbs/tst-c16c32-1.c: New file.
51000
51001 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51002 local variable.
51003
c3a87236
UD
51004 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51005
28926a1b
UD
51006 * elf/tst-unique3.cc: Add explicit declaration of gets.
51007 * elf/tst-unique3lib.cc: Likewise.
51008 * elf/tst-unique3lib2.cc: Likewise.
51009 * elf/tst-unique4.cc: Likewise.
51010
df78418a
UD
51011 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51012
8ecd6b2a
JM
510132012-01-06 Joseph Myers <joseph@codesourcery.com>
51014
51015 [BZ #13566]
51016 * assert/assert.h (static_assert): Don't define for C++.
51017 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51018 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51019
9f115170
UD
510202012-01-03 Ulrich Drepper <drepper@gmail.com>
51021
5e0d0300
UD
51022 * iconv/loop.c (single loop): Fix assertion in storing of
51023 remaining bytes.
51024
9f115170
UD
51025 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51026
81fb02b0
UD
510272012-01-01 Ulrich Drepper <drepper@gmail.com>
51028
51029 * posix/getconf.c: Update copyright year.
51030 * nss/getent.c: Likewise.
a316c1f6 51031 * nss/makedb.c: Likewise.
81fb02b0
UD
51032 * iconv/iconvconfig.c: Likewise.
51033 * iconv/iconv_prog.c: Likewise.
51034 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51035 * elf/pldd.c: Likewise.
51036 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51037 * catgets/gencat.c: Likewise.
51038 * csu/version.c: Likewise.
51039 * elf/ldd.bash.in: Likewise.
51040 * elf/sprof.c (print_version): Likewise.
51041 * locale/programs/locale.c: Likewise.
51042 * locale/programs/localedef.c: Likewise.
a316c1f6 51043 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51044 * nscd/nscd.c (print_version): Likewise.
51045 * debug/xtrace.sh: Likewise.
51046 * malloc/memusage.sh: Likewise.
51047 * malloc/mtrace.pl: Likewise.
51048 * debug/catchsegv.sh: Likewise.
51049
2ba92745
JJ
510502011-12-30 Jakub Jelinek <jakub@redhat.com>
51051
51052 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51053 pure attribute.
51054
dadebdae
UD
510552011-12-24 Ulrich Drepper <drepper@gmail.com>
51056
d3761ebc 51057 [BZ #13533]
db6af3eb
UD
51058 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51059 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51060 transformations.
51061 * iconv/gconv_int.h: Likewise.
51062 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51063 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51064 from libc for GLIBC_2.16.
51065 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51066 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51067 * wcsmbs/uchar.h: Really define mbstate_t.
51068 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51069 * wcsmbs/c16rtomb.c: New file.
51070 * wcsmbs/mbrtoc16.c: New file.
51071 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51072 for C/POSIX locale.
51073 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51074 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51075
dadebdae
UD
51076 * wcsmbs/wchar.h: Add missing __restrict.
51077
67371b56
UD
510782011-12-23 Ulrich Drepper <drepper@gmail.com>
51079
74033a25
UD
51080 [BZ #13532]
51081 * time/Makefile (routines): Add timespec_get.
51082 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51083 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51084 timespec for ISO C11.
51085 * time/timespec_get.c: New file.
51086 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51087 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51088
380d7e87
UD
51089 [BZ #13531]
51090 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51091 * stdlib/stdlib.h: Declare aligned_alloc.
51092 * Versions.def: Add GLIBC_2.16 for libc.
51093 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51094
4e9e7a35
UD
51095 [BZ 13527]
51096 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51097 ISO C11.
51098
380d7e87 51099 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51100 code.
51101
03a71829
UD
51102 [BZ #13528]
51103 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51104
839e283e
UD
51105 [BZ #13529]
51106 * assert/assert.h (static_assert): Define.
51107
ce5294e2 51108 * version.h: Update for 2.16 development version.
90fa7312 51109
8d44e150 51110 [BZ #13526]
d7809905
UD
51111 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51112 _ISOC11_SOURCE.
51113
c0da14cd
UD
51114 * version.h (RELEASE): Bump for 2.15 release.
51115 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51116
530a3249
MP
51117 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51118 Patch by Marek Polacek <mpolacek@redhat.com>.
51119
67371b56
UD
51120 * bits/byteswap.h: Protect long long constants with __extension__.
51121 * sysdeps/i386/bits/byteswap.h: Likewise.
51122 * sysdeps/ia64/bits/byteswap.h: Likewise.
51123 * sysdeps/s390/bits/byteswap.h: Likewise.
51124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51125
15db4de1
LD
511262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51127
51128 [BZ #13540]
bbe315ea
LD
51129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51130 destination buffer.
15db4de1
LD
51131 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51132
2b2596b1
MP
511332011-12-23 Marek Polacek <polacek@redhat.com>
51134
51135 * elf/dl-addr.c (determine_info): Add inline keyword.
51136 * elf/tst-auditmod4b.c (check_avx): Likewise.
51137 * elf/tst-auditmod6b.c (check_avx): Likewise.
51138 * elf/tst-auditmod6c.c (check_avx): Likewise.
51139 * elf/tst-auditmod7b.c (check_avx): Likewise.
51140
70c6c246
UD
511412011-12-23 Ulrich Drepper <drepper@gmail.com>
51142
51143 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51144 !__SSE_MATH__.
51145
c044cf14
LD
511462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51147
15db4de1 51148 [BZ #13540]
c044cf14
LD
51149 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51150 processing for last bytes.
51151
6b13d9d9
BH
511522011-08-06 Bruno Haible <bruno@clisp.org>
51153
d455f537
BH
51154 [BZ #13061]
51155 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51156 U+0385, not to U+1FEE.
51157
6b13d9d9
BH
51158 [BZ #13062]
51159 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51160 entry for U+00A5 U+0301.
51161
db910efd
UD
511622011-12-22 Ulrich Drepper <drepper@gmail.com>
51163
27deeafc
UD
51164 [BZ #13166]
51165 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51166 buffer for the output is too small.
51167
aed9d171
UD
51168 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51169 optimization.
51170
db910efd
UD
51171 [BZ #13185]
51172 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51173 SSE flags if possible.
51174
2bd779ae
LD
511752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51176
e7f9dac3 51177 [BZ #13540]
2bd779ae
LD
51178 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51179 processing for last bytes.
51180
154bfc16
JM
511812011-12-22 Joseph Myers <joseph@codesourcery.com>
51182
51183 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51184 (syscall-list-default-options, syscall-list-default-condition)
51185 (syscall-list-includes): Define.
51186 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51187 list of ABIs and options and #if conditions for each ABI. Do not
51188 handle common syscalls between ABIs specially.
51189 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51190 Remove.
51191 (syscall-list-variants, syscall-list-32bit-options)
51192 (syscall-list-32bit-condition, syscall-list-64bit-options)
51193 (syscall-list-64bit-condition): Define.
51194 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51195 (syscall-list-variants, syscall-list-32bit-options)
51196 (syscall-list-32bit-condition, syscall-list-64bit-options)
51197 (syscall-list-64bit-condition): Define.
51198 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51199 Remove.
51200 (syscall-list-variants, syscall-list-32bit-options)
51201 (syscall-list-32bit-condition, syscall-list-64bit-options)
51202 (syscall-list-64bit-condition): Define.
51203 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51204 Remove.
51205 (syscall-list-variants, syscall-list-32bit-options)
51206 (syscall-list-32bit-condition, syscall-list-64bit-options)
51207 (syscall-list-64bit-condition): Define.
51208
21eaf3a5
UD
512092011-12-22 Ulrich Drepper <drepper@gmail.com>
51210
16c6f992
UD
51211 * locale/iso-639.def: Add brx entry.
51212
41043168
UD
51213 [BZ #13328]
51214 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51215 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51216
21eaf3a5
UD
51217 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51218 __feraiseexcept_renamed.
51219
e3a851a2
UD
512202011-12-21 Ulrich Drepper <drepper@gmail.com>
51221
4920765e
UD
51222 [BZ #13538]
51223 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51224 EPOLLET with unsigned values.
51225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51227
e3a851a2
UD
51228 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51229 to large cancellation.
51230 * math/s_cacoshf.c: Likewise.
51231 * math/s_cacoshl.c: Likewise.
51232
b27e24b8
RK
512332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51234
51235 [BZ #13305]
aebefeee 51236 [BZ #12786]
b27e24b8
RK
51237 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51238 * math/s_cacoshf.c: Likewise.
51239 * math/s_cacoshl.c: Likewise.
51240
ee190f67
UD
512412011-12-21 Ulrich Drepper <drepper@gmail.com>
51242
51243 [BZ #13439]
51244 * iconv/gconv.h: Define __GCONV_SWAP.
51245 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51246 * iconvdata/utf-16.c: Likewise.
51247 * iconvdata/utf-32.c: Likewise.
51248
707f25df
AS
512492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51250
51251 [BZ #13524]
51252 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51253 numerator after shifting it by one limb.
51254
d2daaa1e
RÁE
512552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51256
51257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51258 under [__USE_EXTERN_INLINES].
51259
a4647e72
UD
512602011-12-17 Ulrich Drepper <drepper@gmail.com>
51261
51262 [BZ #13446]
51263 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51264
f0b264f1
AZ
512652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51266
51267 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51268 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51269 optimized code.
51270 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51271 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51272 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51273 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51274 for strncasecmp/strncasecmp_l compilation.
51275 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51276 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51277
8ef4f244
MP
512782011-12-08 Marek Polacek <mpolacek@redhat.com>
51279
51280 [BZ #13484]
51281 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51282 of __asm__.
51283
97ac2654
UD
512842011-12-17 Ulrich Drepper <drepper@gmail.com>
51285
51286 [BZ #13506]
51287 * time/tzfile.c (__tzfile_read): Check values from file header.
51288
91d2a845
WS
512892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51290
51291 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51292 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51293 * powerpc/powerpc32/dl-start.S: Likewise.
51294 * powerpc/powerpc32/elf/start.S: Likewise.
51295 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51296 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51297 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51298 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51299 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51300 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51301 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51302 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51303 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51304 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51305 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51306 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51307 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51308 * powerpc/powerpc32/memset.S: Likewise.
51309 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51310 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51311 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51312 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51313 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51314 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51315 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51316 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51317 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51318 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51319 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51320 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51321 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51322
a1267ba1
AZ
513232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51324
51325 * math/libm-test.inc: Added more nearbyint tests.
51326 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51327 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51328 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51329 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51330
ad8ac1bd
RL
513312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51332
51333 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51334 FD_CLOEXEC.
51335
1d3e4b61
UD
513362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51337
51338 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51339 Add wcscpy-ssse3 wcscpy-c.
51340 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51341 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51342 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51343 * sysdeps/x86_64/wcschr.S: New file.
51344 * sysdeps/x86_64/wcsrchr.S: New file.
51345 * string/test-strcmp.c: Remove checking of wcscmp function for
51346 wrong alignments.
51347 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51348 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51349 wcsrchr-sse2 wcsrchr-c.
51350 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51351 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51352 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51353 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51354 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51355 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51356 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51357 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51358 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51359 * wcsmbc/wcschr.c (WCSCHR): New macro.
51360
5b330a2d
UD
513612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51362
51363 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51364 * wcsmbs/test-wcsrchr.c: New file.
51365 * string/test-strrchr.c: Add wcsrchr support.
51366 (WIDE): New macro.
51367 * wcsmbs/test-wcscpy.c: New file.
51368 * string/test-strcpy.c: Add wcscpy support.
51369 (WIDE): New macro.
26428b7c 51370
f039c043
UD
513712011-12-10 Ulrich Drepper <drepper@gmail.com>
51372
51373 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51374 the inner loop.
51375
850fb039
AS
513762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51377
51378 [BZ #13472]
51379 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51380
4efbd5cb
UD
513812011-12-04 Ulrich Drepper <drepper@gmail.com>
51382
52ff5dd0 51383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51384 Minor optimizations.
52ff5dd0 51385
4efbd5cb
UD
51386 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51387 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51388 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51389
8a426e12
UD
513902011-12-03 Ulrich Drepper <drepper@gmail.com>
51391
aff2453d
UD
51392 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51393 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51394 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51395 for gcc to avoid warnings.
51396 * inet/Makefile (tests): Add tst-checks.
51397 * inet/tst-checks.c: New file.
51398
51399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51400 warning.
51401
51402 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51403 __wmemcmp_sse2.
51404
51405 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51406 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51407
8a426e12
UD
51408 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51409
9bea3473
UD
514102011-12-02 Ulrich Drepper <drepper@gmail.com>
51411
3a965496
UD
51412 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51413 problem.
51414
9bea3473
UD
51415 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51416
f101631b
UD
514172011-11-29 Joseph Myers <joseph@codesourcery.com>
51418
51419 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51420 conditional on GCC version.
51421 (__arch_compare_and_exchange_val_8_acq)
51422 (__arch_compare_and_exchange_val_16_acq)
51423 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51424 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51425 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51426
a98275aa
UD
514272011-12-02 Joseph Myers <joseph@codesourcery.com>
51428
51429 * sysdeps/sh/backtrace.c: New file.
51430
d4cc29a2
AS
514312011-12-02 Andreas Schwab <schwab@redhat.com>
51432
51433 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51434 parenthesis.
51435
6257af2d
AS
514362011-12-01 Andreas Schwab <schwab@redhat.com>
51437
51438 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51439 falling back to utime.
51440
b5f44c1a
AS
514412011-11-30 Andreas Schwab <schwab@redhat.com>
51442
51443 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51444 expectations for float.
51445
f3a6cc0a
AS
514462011-11-29 Andreas Schwab <schwab@redhat.com>
51447
51448 * locale/weight.h (findidx): Add parameter len.
51449 * locale/weightwc.h (findidx): Likewise.
51450 * posix/fnmatch_loop.c (FCT): Adjust caller.
51451 * posix/regcomp.c (build_equiv_class): Likewise.
51452 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51453 * posix/regexec.c (check_node_accept_bytes): Likewise.
51454 * string/strcoll_l.c (STRCOLL): Likewise.
51455 * string/strxfrm_l.c (STRXFRM): Likewise.
51456
9d65ea3a
UD
514572011-11-17 Ulrich Drepper <drepper@gmail.com>
51458
51459 * Makefile.in: Remove CVSOPT handling.
51460 * configure.in: Remove use of AC_REVISION.
51461 * iconvdata/Makefile (distribute): No need to filter out CVS.
51462 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51463 handling.
51464
5583a086
AS
514652011-11-16 Andreas Schwab <schwab@redhat.com>
51466
51467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51468 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51469 [USE_AS_STRNCASECMP_L]: Likewise.
51470 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51471 NO_TLS_DIRECT_SEG_REFS.
51472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51473 Fix argument offsets for non-PIC.
51474 [USE_AS_STRNCASECMP_L]: Likewise.
51475 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51476 NO_TLS_DIRECT_SEG_REFS.
51477
d62a8200
UD
514782011-11-15 Ulrich Drepper <drepper@gmail.com>
51479
9d65ea3a 51480 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51481 O_CLOEXEC.
51482 * locale/loadlocale.c (_nl_load_locale): Likewise.
51483
09f93bd3
AS
514842011-11-15 Andreas Schwab <schwab@redhat.com>
51485
446514f9
AS
51486 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51487 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51488 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51489 (SYSCALL_GETTIME): Set errno on error.
51490
09f93bd3
AS
51491 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51492 count references to noai6ai_cached.
51493
312be3f9
UD
514942011-11-15 Ulrich Drepper <drepper@gmail.com>
51495
51496 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51497
51498 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51499 FD_CLOEXEC for /proc/self/maps.
51500
51501 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51502 FD_CLOEXEC for /proc/meminfo.
51503
51504 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51505 gai.conf.
51506
51507 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51508 FD_CLOEXEC for given file.
51509
51510 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51511
51512 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51513 FD_CLOEXEC for /etc/hosts.
51514 (_gethtent): Likewise.
51515
51516 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51517
51518 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51519 cancellation and set FD_CLOEXEC for /etc/netgroup.
51520
51521 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51522 reading /etc/publickey.
51523
51524 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51525 allow cancellation when reading /etc/group.
51526
51527 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51528 cancellation.
51529 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51530
51531 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51532 when using data file.
51533
51534 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51535
51536 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51537 (write_nis_obj): Use "c" and "e" in fopen.
51538
51539 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51540
51541 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51542
51543 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51544
51545 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51546
51547 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51548 locale.alias.
51549
51550 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51551
51552 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51553
51554 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51555
51556 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51557 file parsing and set FD_CLOEXEC.
51558
82af0fa8
UD
515592011-11-14 Ulrich Drepper <drepper@gmail.com>
51560
51561 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51562
a5fb313c
AS
515632011-11-14 Andreas Schwab <schwab@redhat.com>
51564
51565 * malloc/arena.c (arena_get2): Don't call reused_arena when
51566 _int_new_arena failed.
51567
6abf3465
UD
515682011-11-14 Ulrich Drepper <drepper@gmail.com>
51569
51570 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51571 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51573 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51574 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51576 to compile strcasecmp and strncasecmp.
51577 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51578 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51579
51580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51581
76e3966e
UD
515822011-11-13 Ulrich Drepper <drepper@gmail.com>
51583
51584 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51585 locale-defines.sym to gen-as-const-headers.
51586 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51587 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51589 to compile strcasecmp and strncasecmp.
51590 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51591 strcasecmp_l and strncasecmp_l.
51592 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51593 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51594 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51595 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51596 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51597 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51598 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51599 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51600 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51601 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51602 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51603
ab26144e
UD
516042011-11-12 Ulrich Drepper <drepper@gmail.com>
51605
7edb22ef
UD
51606 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51607 result of SYSDEP_GETTIME_CPU to retval.
51608 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51609 parameter list to macro. Remove trailing semicolon. Adjust users.
51610
9694fc44
UD
51611 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51612 variable.
51613
8ad89ef8
UD
51614 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51615 mantissa words.
51616 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51617
0c822ef9
UD
51618 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51619 from unused variable.
51620
874e0564
UD
51621 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51622 DWARF definitions.
51623 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51624 for assembling.
51625
3a2edc79
UD
51626 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51627 over namespaces.
51628
f3c2577f
UD
51629 * sunrpc/rpc_prot.c (rejected): Fix case value.
51630
294ce126
UD
51631 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51632 unsigned long long int to avoid warnings in shift.
51633
5e2b63c6
UD
51634 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51635 of use of trans.
51636 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51637 variable tmp.
51638
e7f4b08e
UD
51639 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51640 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51641 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51642
ab26144e
UD
51643 * nis/nis_table.c (nis_list): Use variable of correct type for
51644 result of __follow_path call.
51645
8a6d5255
AZ
516462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51647
51648 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51649 of math functions ceil, trunc, floor, round, and sqrt, when
51650 avaliable on the platform.
51651 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51652 name clash.
51653 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51654 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51655 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51656
aaddc98c
MP
516572011-10-30 Marek Polacek <mpolacek@redhat.com>
51658
51659 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51660 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51661
95b7042b
RM
516622011-11-11 Roland McGrath <roland@hack.frob.com>
51663
51664 * include/unistd.h: Fix __readlink return type.
51665 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51666
57769839
UD
516672011-11-11 Ulrich Drepper <drepper@gmail.com>
51668
51669 * stdlib/ucontext.h: Undo last change for makecontext.
51670
edc5984d
AS
516712011-11-11 Andreas Schwab <schwab@redhat.com>
51672
98591e58
AS
51673 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51674
edc5984d
AS
51675 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51676 * setjmp/setjmp.h: Mark functions as non-leaf.
51677 * setjmp/bits/setjmp2.h: Likewise.
51678 * stdlib/ucontext.h: Likewise.
51679
77cdc054
AS
516802011-11-10 Andreas Schwab <schwab@redhat.com>
51681
51682 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51683 (reused_arena): Don't check arena limit.
51684 (arena_get2): Atomically check arena limit.
51685
fe72eebd
UD
516862011-11-08 Ulrich Drepper <drepper@gmail.com>
51687
5f078c32
UD
51688 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51689 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51690
fe72eebd
UD
51691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51692 instructions.
51693
ae1bc2fa
AS
516942011-11-07 Andreas Schwab <schwab@redhat.com>
51695
7583a88d
AS
51696 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51697 handler when locking.
51698
ae1bc2fa
AS
51699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51700 Fix size of allocated buffer.
51701
10fb0bfa
AS
517022011-11-04 Andreas Schwab <schwab@redhat.com>
51703
998832a4
AS
51704 [BZ #10103]
51705 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51706 declarations for long double functions.
51707 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51708
10fb0bfa
AS
51709 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51710
3d7ba52b
AS
517112011-11-03 Andreas Schwab <schwab@redhat.com>
51712
a9ae54a1
AS
51713 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51714 installed.
51715
3d7ba52b
AS
51716 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51717 is disabled.
51718
bc8db248
ST
517192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51720
51721 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51722
45b96dd6
AS
517232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51724
647776f6
AS
51725 * include/alloca.h (stackinfo_alloca_round): Define.
51726 (extend_alloca): Use it.
51727 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51728 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51729 here.
51730
d91a8b93
AS
51731 * scripts/check-local-headers.sh: Ignore libaudit.h.
51732
45b96dd6
AS
51733 * nscd/Makefile (extra-objs): Make recursively expanded.
51734
432d41ce
UD
517352011-11-01 Ulrich Drepper <drepper@gmail.com>
51736
34372fc6
UD
51737 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51739
fadb59f8
UD
51740 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51741 * posix/tst-rfc3484-2.c: Likewise.
51742 * posix/tst-rfc3484-3.c: Likewise.
51743
78239589
UD
51744 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51745 process_vm_writev.
51746 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51747 process_vm_writev.
51748 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51749 process_vm_writev from libc using GLIBC_2.15 version.
51750
432d41ce
UD
51751 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51752
02f9c6cf
PP
517532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51754
51755 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51756 stack usage.
51757
3a2c0242
UD
517582011-10-31 Ulrich Drepper <drepper@gmail.com>
51759
f4ec4833
UD
51760 [BZ #13367]
51761 * nss/getent.c (initgroups_keys): Show error message in case no group
51762 names are given.
51763
3a2c0242
UD
51764 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51765 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51766 __bump_nl_timestamp.
51767 * nscd/connections (nscd_init): When host database is served open
51768 netlink socket and request notification about configuration changes.
51769 (main_loop_poll): Track netlink file descriptor and bump timestamp
51770 in case data becomes available.
51771 (main_loop_epoll): Likewise.
51772 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51773 (database_pers_head): Add extra_data fileds.
51774 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51775 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51776 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51777 Adjust caller.
51778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51779 in6ai data, call __free_in6ai.
51780 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51781 Add -DHAVE_NETLINK.
51782 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51783 interface information. Reuse previous data if netlink timestamp
51784 is not changed.
51785 (__bump_nl_timestamp): New function.
51786 (__free_in6ai): New function.
51787
636064eb
UD
517882011-10-30 Ulrich Drepper <drepper@gmail.com>
51789
51790 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51791 close_not_cancel_no_status here.
51792 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51793
9beb2334
UD
517942011-10-29 Ulrich Drepper <drepper@gmail.com>
51795
6ef76f3b
UD
51796 [BZ #13276]
51797 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51798 return value.
51799
0ffc4f3e 51800 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51801 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51802 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51803
cb95113e
UD
518042011-07-03 Andreas Jaeger <aj@suse.de>
51805
51806 [BZ #10709]
51807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51808 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51809 * math/libm-test.inc (sin_test): Add test case.
51810
a1b560ff
UD
518112011-10-29 Ulrich Drepper <drepper@gmail.com>
51812
c9aaface
UD
51813 [BZ #13337]
51814 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51815 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51816
d272e7f1
UD
51817 * elf/chroot_canon.c (chroot_canon): Cleanups.
51818
1bc33071
UD
51819 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51820
1760874d
TJ
51821 [BZ #13335]
51822 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51823 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51824
51d91b18
UD
51825 * string/test-strchr.c: Make usable for strchrnul testing.
51826 * string/test-strchrnul.c: New file.
51827 * string/Makefile (strop-tests): Add strchrnul.
51828
a1b560ff 51829 * po/it.po: Update from translation team.
b611fb81 51830 * po/es.po: Likewise.
a1b560ff 51831
a5b81e1f
UD
518322011-10-28 Ulrich Drepper <drepper@gmail.com>
51833
fd52bc6d
UD
51834 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51835 the three constants needed as parameters. Drop the others.
51836 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51837 __m128i_strloadu_tolower.
52e4b9eb
UD
51838 Create and initialize variable zero and use it in all the places
51839 where _mm_setzero_si128 was used.
fd52bc6d 51840
a5b81e1f
UD
51841 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51842 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51843 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51844 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51845 anymore.
51846 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51847 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51848 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51849 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51850 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51851 __mpranred, __mptan.
51852 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51853 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51854 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51855 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51856 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51857 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51859 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51860 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51861
b4343346
AS
518622011-10-28 Andreas Schwab <schwab@redhat.com>
51863
0c92d8a8
AS
51864 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51865 redefine if SHARED.
51866 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51867
b4343346
AS
51868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51869 wide char related routines to wcsmbs subdir.
51870
3871f58f
AS
518712011-10-27 Andreas Schwab <schwab@redhat.com>
51872
51873 [BZ #13344]
51874 * misc/sys/cdefs.h (__THROWNL): Define.
51875 * posix/unistd.h: Use __THREADNL instead of __THREAD
51876 for memory synchronization functions.
51877
94d44d9f
RM
518782011-10-26 Roland McGrath <roland@hack.frob.com>
51879
21b64b15 51880 [BZ #13349]
94d44d9f
RM
51881 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51882 doesn't exist.
51883 * manual/stdio.texi (Obstack Streams): Node removed.
51884
f6ce9294
AS
518852011-10-26 Andreas Schwab <schwab@redhat.com>
51886
80479147
AS
51887 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51888 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51889 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51890
f6ce9294
AS
51891 * math/math_private.h (math_force_eval): Allow non-addressable
51892 arguments.
51893 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51894
618280a1
UD
518952011-10-25 Ulrich Drepper <drepper@gmail.com>
51896
e0016b11
UD
51897 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51898 file is not needed.
51899
51900 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51901 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51903 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51904 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51907 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51908 Add AVX variants.
51909 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51910 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51911 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51912 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51913 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51914 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51915 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51916 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51917 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51918 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51919 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51920 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51921 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51922 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51923 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51924 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51925 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51926 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51927 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51928
51929 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51930 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51931
618280a1
UD
51932 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51933 place. Use VEX encoding when compiling for AVX.
51934
37822576
AS
519352011-10-25 Andreas Schwab <schwab@redhat.com>
51936
1f1e1947
AS
51937 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51938 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51939
37822576
AS
51940 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51941
31ea014d
UD
519422011-10-25 Ulrich Drepper <drepper@gmail.com>
51943
d7826aa1 51944 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51945 useless if() expression.
d7826aa1
UD
51946 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51947 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51948 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51949 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51950 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51951 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51952 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51954 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51955 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51956 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51957 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51958 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51959 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51960 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51962 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51963 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51964 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51965
31ea014d
UD
51966 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51967
16437fec
AS
519682011-10-25 Andreas Schwab <schwab@redhat.com>
51969
51970 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51971 condition.
51972 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51973
31d3cc00
UD
519742011-10-25 Ulrich Drepper <drepper@gmail.com>
51975
51976 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51977 .text section. Avoid duplicate constants.
51978 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51980 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51982 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51986 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51987 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51988 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51990 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51993 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51994 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51995 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51998 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51999 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52000 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52001 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52002 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52003 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52004 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52005 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52007 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52008 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52009 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52011 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52012 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52013 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52014 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52015 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52016 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52017 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52018 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52019 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52020 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52022 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52023
58985aa9
UD
520242011-10-24 Ulrich Drepper <drepper@gmail.com>
52025
202c9deb
UD
52026 * sysdeps/x86_64/dla.h: Move to ...
52027 * sysdeps/x86_64/fpu/dla.h: ...here.
52028 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52029 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52030
af968f62
UD
52031 * config.make.in: Add have-mfma4 entry.
52032 * configure.in: Substitute libc_cv_cc_fma4.
52033 * math/Makefile (dbl-only-routines): Add sincostab.
52034 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52035 Use __sincostab not sincos.
52036 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52037 name is a macro.
52038 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52042 using __copysign.
52043 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52044 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52045 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52046 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52047 and __inv.
52048 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52049 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52050 __copysign.
52051 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52052 define aliases when function name is a macro.
52053 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52054 sysdeps/ieee754/dbl-64/sincos.tbl.
52055 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52056 fma4-enabled routines.
52057 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52058 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52059 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52060 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52061 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52062 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52063 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52064 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52065 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52066 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52067 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52068 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52069 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52070 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52072 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52073 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52074 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52075 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52076 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52077 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52078 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52080 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52081 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52082 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52084 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52085 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52086 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52087
58985aa9
UD
52088 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52089 rename.
52090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52098
a201fbcf
AS
520992011-10-24 Andreas Schwab <schwab@redhat.com>
52100
52101 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52102
fc2ee42a
LD
521032011-10-23 Ulrich Drepper <drepper@gmail.com>
52104
bb3129bd
UD
52105 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52106
0275fff8
UD
52107 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52108 prediction.
52109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52110
2fa2ae85
UD
52111 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52112 Remove unused variable magic_bits.
52113 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52114
fc2ee42a
LD
52115 * string/strnlen.c: Define and use STRNLEN macro.
52116 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52117 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52118 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52119 * wcsmbs/wcslen.c: Define and use WCSLEN.
52120 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52121 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52122 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52123 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52124 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52125 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52126 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52127
ce7dd29f
LD
521282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52129
52130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52131 strnlen-sse2-no-bsf.
52132 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52134 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52135 Add strnlen support.
52136 (USE_AS_STRNLEN): New macro.
52137 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52138 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52139 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52140 * sysdeps/x86_64/wcslen.S: New file.
52141
979c70a3
MZ
521422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52143
52144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52145 XMM-moves are used for copying on small sizes.
52146
2d09f82f
LD
521472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52148
52149 * wcsmbs/Makefile (strop-tests): Add wcschr.
52150 * wcsmbs/test-wcschr.c: New file.
52151 * string/test-strchr.c: Update.
52152 Add wcschr support.
52153 (WIDE): New macro.
52154
619fccca
LD
521552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52156
2d09f82f 52157 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52158 * wcsmbs/test-wcslen.c: New file.
52159 * string/test-strlen.c: Update.
52160 Add wcslen support.
52161 (WIDE): New macro.
52162
09f699ea
UD
521632011-10-23 Ulrich Drepper <drepper@gmail.com>
52164
52165 * po/it.po: Update from translation team.
52166
95584d3b
LD
521672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52168
52169 * sysdeps/x86_64/wcscmp.S: Update.
52170 Fix wrong comparison semantics.
52171 wcscmp shall use signed comparison not unsigned.
52172 Don't use substraction to avoid overflow bug.
52173 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52174 * wcsmbc/wcscmp.c: Likewise.
52175 * string/test-strcmp.c: Likewise.
52176 Add new tests to check cases with negative values.
52177
c8b3296b
UD
521782011-10-23 Ulrich Drepper <drepper@gmail.com>
52179
52180 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52181 * sysdeps/x86_64/dla.h: ...here. New file.
52182 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52191
246ad57a
AS
521922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52193
52194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52195 __ynl_finite aliases.
52196
a1a87169
UD
521972011-10-22 Ulrich Drepper <drepper@gmail.com>
52198
0d355eb7
UD
52199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52200
a1a87169
UD
52201 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52202 define DLA_FMA.
52203 [DLA_FMA] (EMULV): Use DLA_FMA.
52204 [DLA_FMA] (MUL12): Use EMULV.
52205 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52206 that are not needed.
52207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52214
ee2aafe0
AS
522152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52216
52217 * math/s_nan.c: Undef __nan.
52218 * math/s_nanf.c: Undef __nanf.
52219 * math/s_nanl.c: Undef __nanl.
52220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52221 "math_private.h".
52222
bc62c2fb
UD
522232011-10-22 Ulrich Drepper <drepper@gmail.com>
52224
77425c63
UD
52225 * math/s_catan.c: Add branch predictions.
52226 * math/s_catanf.c: Likewise.
52227 * math/s_catanh.c: Likewise.
52228 * math/s_catanhf.c: Likewise.
52229 * math/s_catanhl.c: Likewise.
52230 * math/s_catanl.c: Likewise.
52231 * math/s_cexp.c: Likewise.
52232 * math/s_cexpf.c: Likewise.
52233 * math/s_cexpl.c: Likewise.
52234 * math/s_clog.c: Likewise.
52235 * math/s_clog10.c: Likewise.
52236 * math/s_clog10f.c: Likewise.
52237 * math/s_clog10l.c: Likewise.
52238 * math/s_clogf.c: Likewise.
52239 * math/s_clogl.c: Likewise.
52240 * math/s_csqrt.c: Likewise.
52241 * math/s_csqrtf.c: Likewise.
52242 * math/s_csqrtl.c: Likewise.
52243 * math/s_ctanf.c: Likewise.
52244 * math/s_ctanh.c: Likewise.
52245 * math/s_ctanhf.c: Likewise.
52246 * math/s_ctanhl.c: Likewise.
52247 * math/s_ctanl.c: Likewise.
52248
bc62c2fb
UD
52249 * math/math_private.h: Define __nan, __nanf, __nanl.
52250 * math/s_cacosh.c: Include <math_private.h>.
52251 * math/s_cacoshl.c: Likewise.
52252 * math/s_casinh.c: Likewise.
52253 * math/s_casinhf.c: Likewise.
52254 * math/s_casinhl.c: Likewise.
52255 * math/s_ccos.c: Rely entire on ccosh.
52256 * math/s_ccosf.c: Rely entire on ccoshf.
52257 * math/s_ccosl.c: Rely entirely on ccoshl.
52258 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52259 Remove tests for FE_INVALID.
52260 * math/s_ccoshf.c: Likewise.
52261 * math/s_ccoshl.c: Likewise.
52262 * math/s_csin.c: Likewise.
52263 * math/s_csinf.c: Likewise.
52264 * math/s_csinh.c Likewise.
52265 * math/s_csinhf.c: Likewise.
52266 * math/s_csinhl.c: Likewise.
52267 * math/s_csinl.c: Likewise.
52268 * math/s_ctan.c: Likewise.
52269 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52270 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52271 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52272
8ec250a4
UD
522732011-10-21 Ulrich Drepper <drepper@gmail.com>
52274
c196fed8
UD
52275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52276 compilation problems.
52277
8ec250a4
UD
52278 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52279 __builtin_expect.
52280
8d4f46c6
UD
522812011-10-20 Ulrich Drepper <drepper@gmail.com>
52282
ed72b654
UD
52283 * sysdeps/i386/configure.in: Test for -mfma4 option.
52284 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52285 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52286 COMMON_CPUID_INDEX_80000001.
52287 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52288 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52289 use it if FMA3 is not supported.
52290 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52291
8d4f46c6
UD
52292 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52293 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52294
d45c60c2
AS
522952011-10-20 Andreas Schwab <schwab@redhat.com>
52296
52297 [BZ #12892]
52298 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52299 it would create a cycle with a link time dependency.
52300
d9a4d2ab
UD
523012011-10-19 Ulrich Drepper <drepper@gmail.com>
52302
855d1560
UD
52303 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52304 instruction.
52305 * string/Makefile (strop-tests): Add rawmemchr.
52306 * string/test-rawmemchr.c: New file.
52307
d9a4d2ab
UD
52308 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52309 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52310 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52311 when compiling str{,n}casecmp and when AVX is available. Hook up
52312 new optimized code in initializers.
52313
8f3b1ffe
AS
523142011-10-19 Andreas Schwab <schwab@redhat.com>
52315
52316 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52317 __feraiseexcept instead of feraiseexcept.
52318
d38f1dba
UD
523192011-10-18 Ulrich Drepper <drepper@gmail.com>
52320
d9a8d0ab
UD
52321 * math/math_private.h: Define defaults for libc_fetestexcept and
52322 libc_feupdateenv.
52323 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52324 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52325 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52326 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52327 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52328 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52329 libc_fetestexcept and libc_feupdateenv.
52330
4855e3dd
UD
52331 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52332 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52333 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52334 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52335 libc_feholdexcept_setround.
52336
581d30e3
UD
52337 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52338 Add s_nearbyint-c and s_nearbyintf-c.
52339 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52340 nearbyintf inlines.
52341 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52342 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52343 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52344 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52345
d38f1dba
UD
52346 * math/math_private.h: Define defaults for libc_fegetround,
52347 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52348 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52349 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52351 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52352 standard functions.
52353 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52354 Remove comments and hacks for old compiler versions.
52355 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52356 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52357 libc_feholdexceptl.
52358
caa6c9d8
AS
523592011-10-18 Andreas Schwab <schwab@redhat.com>
52360
52361 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52362 (__feraiseexcept_renamed): Add __NTH.
52363 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52364 namespace violations.
52365
97c066e6
UD
523662011-10-17 Ulrich Drepper <drepper@gmail.com>
52367
99ce7b04
UD
52368 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52369
1004d182
UD
52370 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52371
228a984d
UD
52372 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52373 recently added interfaces.
52374 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52375
c8553a6a
UD
52376 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52377 about macro parameter expansion.
52378
ed22dcf6
UD
52379 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52380 __NO_MATH_INLINES is defined. Cleanups.
52381
52382 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52383 and __floorf is target has SSE4.1.
52384 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52385 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52386 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52387 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52388
b171c137
UD
52389 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52390 name.
52391 (floorf): Likewise.
52392
97c066e6
UD
52393 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52394
629f62ef
AS
523952011-10-17 Andreas Schwab <schwab@redhat.com>
52396
49a43d80
AS
52397 * misc/sys/cdefs.h: Fix last change.
52398
629f62ef
AS
52399 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52400 database lookup.
52401
e453f6cd
UD
524022011-10-16 Ulrich Drepper <drepper@gmail.com>
52403
aa78043a
UD
52404 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52405
ad0f5cad
UD
52406 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52413 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52414 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52415 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52416 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52417 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52418 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52419 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52420 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52421 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52422 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52423 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52424 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52425 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52426 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52427 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52428
52429 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52430 ceil, ceilf, floor, floorf.
52431
52432 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52433 Perform IRELATIVE relocations last.
52434
e453f6cd
UD
52435 * elf/do-rel.h: Add another parameter nrelative, replacing the
52436 local variable with the same name. Change name of the function
52437 to end in Rel or Rela (uppercase).
52438 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52439 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52440 elf_dynamic_do_##reloc function.
52441
fd5bdc09
UD
524422011-10-15 Ulrich Drepper <drepper@gmail.com>
52443
79b195b5
UD
52444 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52445 is sufficient, at least on modern CPUs.
52446
d4a28569
UD
52447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52448
b61099b5
UD
52449 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52450 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52451
bcf01e6d
UD
52452 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52453 __expl_finite.
52454 * math/bits/math-finite.h: Add entries for exp.
52455 * math/e_expl.c: Add __*_finite alias.
52456 * sysdeps/i386/fpu/e_exp.S: Likewise.
52457 * sysdeps/i386/fpu/e_expf.S: Likewise.
52458 * sysdeps/i386/fpu/e_expl.c: Likewise.
52459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52461 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52462 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52463 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52464 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52465 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52466
ba1a0d59
UD
52467 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52468 is sufficient, at least on modern CPUs.
52469
fd5bdc09
UD
52470 * ctype/ctype-info.c (__ctype_init): Define.
52471 * include/ctype.h (__ctype_init): Declare.
52472 (__ctype_b_loc): The variable is always initialized.
52473 (__ctype_toupper_loc): Likewise.
52474 (__ctype_tolower_loc): Likewise.
52475 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52476 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52477
7872cfb0
AS
524782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52479
b468825a
AS
52480 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52481
7872cfb0
AS
52482 * configure.in: Also look in $cxxmachine/include for C++ system
52483 headers.
52484
be13f7bf
LD
524852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52486
52487 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52488 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52489 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52490 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52491 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52492 (USE_AS_WMEMCMP): New macro.
52493 Fixing indents.
52494 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52495 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52496 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52497 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52499 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52500 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52501 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52502 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52503 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52504 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52505 (USE_AS_WMEMCMP): New macro.
52506 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52507 * sysdeps/string/test-memcmp.c: Update.
52508 Fix simple_wmemcmp.
52509 Add new tests.
52510 * wcsmbs/wmemcmp.c: Update.
52511 (WMEMCMP): New macro.
52512 Fix overflow bug.
52513
556a2007
AJ
525142011-10-12 Andreas Jaeger <aj@suse.de>
52515
52516 [BZ #13268]
52517 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52518
538faaa7
UD
525192011-10-15 Ulrich Drepper <drepper@gmail.com>
52520
ab6737ff
UD
52521 * libio/iofwide.c (do_length): Avoid warning.
52522
538faaa7
UD
52523 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52524
396a21b1
UD
525252011-10-14 Ulrich Drepper <drepper@gmail.com>
52526
cdf2901f
UD
52527 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52528
38ad40ce
UD
52529 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52530 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52531 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52532 * sysdeps/i386/i686/fpu/e_log.S: New file.
52533 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52534 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52535
396a21b1
UD
52536 * ctype/ctype.h: Add support for inlined isXXX functions when
52537 compiling C++ code.
52538
6b1f68c9
AS
525392011-10-14 Andreas Schwab <schwab@redhat.com>
52540
349290c0
AS
52541 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52542
6b1f68c9
AS
52543 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52544
f2282d42
RM
525452011-10-13 Roland McGrath <roland@hack.frob.com>
52546
52547 [BZ #13291]
52548 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52549
5298ffa8
AS
525502011-10-13 Andreas Schwab <schwab@redhat.com>
52551
714fad23
AS
52552 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52553 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52554 feraiseexcept.
52555
81dcc7fb
AS
52556 * sysdeps/x86_64/memrchr.S: Check for zero size.
52557
5298ffa8
AS
52558 * string/stratcliff.c: Add memrchr tests.
52559
951fbcec
LD
525602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52561
52562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52563 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52564 rawmemchr-sse2 rawmemchr-sse2-bsf.
52565 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52566 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52567 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52568 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52569 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52570 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52571 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52572 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52573 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52574 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52575 * string/memrchr.c (MEMRCHR): New macro.
52576
0ac5ae23
UD
525772011-10-12 Ulrich Drepper <drepper@gmail.com>
52578
52579 Add integration with gcc's -ffinite-math-only and optimize wrapper
52580 functions in libm.
52581 * Versions.def: Define GLIBC_2.15 version for libm.
52582 * math/Makefile (headers): Add bits/math-finite.h.
52583 * math/bits/math-finite.h: New file.
52584 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52585 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52586 * math/e_acoshl.c: Add __*_finite alias.
52587 * math/e_acosl.c: Likewise.
52588 * math/e_asinl.c: Likewise.
52589 * math/e_atan2l.c: Likewise.
52590 * math/e_atanhl.c: Likewise.
52591 * math/e_coshl.c: Likewise.
52592 * math/e_exp10.c: Likewise.
52593 * math/e_exp10f.c: Likewise.
52594 * math/e_exp10l.c: Likewise.
52595 * math/e_exp2l.c: Likewise.
52596 * math/e_fmodl.c: Likewise.
52597 * math/e_gammal_r.c: Likewise.
52598 * math/e_hypotl.c: Likewise.
52599 * math/e_j0l.c: Likewise.
52600 * math/e_j1l.c: Likewise.
52601 * math/e_jnl.c: Likewise.
52602 * math/e_lgammal_r.c: Likewise.
52603 * math/e_log10l.c: Likewise.
52604 * math/e_log2l.c: Likewise.
52605 * math/e_logl.c: Likewise.
52606 * math/e_powl.c: Likewise.
52607 * math/e_sinhl.c: Likewise.
52608 * math/e_sqrtl.c: Likewise.
52609 * math/e_scalb.c: Completely rewritten and optimized.
52610 * math/e_scalbf.c: Likewise.
52611 * math/e_scalbl.c: Likewise.
52612 * math/w_acos.c: Likewise.
52613 * math/w_acosf.c: Likewise.
52614 * math/w_acosl.c: Likewise.
52615 * math/w_acosh.c: Likewise.
52616 * math/w_acoshf.c: Likewise.
52617 * math/w_acoshl.c: Likewise.
52618 * math/w_asin.c: Likewise.
52619 * math/w_asinf.c: Likewise.
52620 * math/w_asinl.c: Likewise.
52621 * math/w_atan2.c: Likewise.
52622 * math/w_atan2f.c: Likewise.
52623 * math/w_atan2l.c: Likewise.
52624 * math/w_atanh.c: Likewise.
52625 * math/w_atanhf.c: Likewise.
52626 * math/w_atanhl.c: Likewise.
52627 * math/w_exp10.c: Likewise.
52628 * math/w_exp10f.c: Likewise.
52629 * math/w_exp10l.c: Likewise.
52630 * math/w_fmod.c: Likewise.
52631 * math/w_fmodf.c: Likewise.
52632 * math/w_fmodl.c: Likewise.
52633 * math/w_j0.c: Likewise.
52634 * math/w_j0f.c: Likewise.
52635 * math/w_j0l.c: Likewise.
52636 * math/w_j1.c: Likewise.
52637 * math/w_j1f.c: Likewise.
52638 * math/w_j1l.c: Likewise.
52639 * math/w_jn.c: Likewise.
52640 * math/w_jnf.c: Likewise.
52641 * math/w_log.c: Likewise.
52642 * math/w_logf.c: Likewise.
52643 * math/w_logl.c: Likewise.
52644 * math/w_log10.c: Likewise.
52645 * math/w_log10f.c: Likewise.
52646 * math/w_log10l.c: Likewise.
52647 * math/w_log2.c: Likewise.
52648 * math/w_log2f.c: Likewise.
52649 * math/w_log2l.c: Likewise.
52650 * math/w_pow.c: Likewise.
52651 * math/w_powf.c: Likewise.
52652 * math/w_powl.c: Likewise.
52653 * math/w_remainder.c: Likewise.
52654 * math/w_remainderf.c: Likewise.
52655 * math/w_remainderl.c: Likewise.
52656 * math/w_scalb.c: Likewise.
52657 * math/w_scalbf.c: Likewise.
52658 * math/w_scalbl.c: Likewise.
52659 * math/w_sqrt.c: Likewise.
52660 * math/w_sqrtf.c: Likewise.
52661 * math/w_sqrtl.c: Likewise.
52662 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52663 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52664 used.
52665 * math/math_private.h: Declare __kernel_standard_f.
52666 * math/w_cosh.c: Remove cruft and optimize a bit.
52667 * math/w_coshf.c: Likewise.
52668 * math/w_coshl.c: Likewise.
52669 * math/w_exp2.c: Likewise.
52670 * math/w_exp2f.c: Likewise.
52671 * math/w_exp2l.c: Likewise.
52672 * math/w_hypot.c: Likewise.
52673 * math/w_hypotf.c: Likewise.
52674 * math/w_hypotl.c: Likewise.
52675 * math/w_lgamma.c: Likewise.
52676 * math/w_lgamma_r.c: Likewise.
52677 * math/w_lgammaf.c: Likewise.
52678 * math/w_lgammaf_r.c: Likewise.
52679 * math/w_lgammal.c: Likewise.
52680 * math/w_lgammal_r.c: Likewise.
52681 * math/w_sinh.c: Likewise.
52682 * math/w_sinhf.c: Likewise.
52683 * math/w_sinhl.c: Likewise.
52684 * math/w_tgamma.c: Likewise.
52685 * math/w_tgammaf.c: Likewise.
52686 * math/w_tgammal.c: Likewise.
52687 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52689 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52690 Minor optimizations. Pretty printing. Remove cruft.
52691 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52692 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52693 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52694 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52695 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52696 * sysdeps/i386/fpu/e_asin.S: Likewise.
52697 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52698 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52699 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52700 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52701 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52703 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52704 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52705 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52706 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52707 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52708 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52709 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52710 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52711 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52712 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52713 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52714 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52715 * sysdeps/i386/fpu/e_log.S: Likewise.
52716 * sysdeps/i386/fpu/e_log10.S: Likewise.
52717 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52718 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52719 * sysdeps/i386/fpu/e_log2.S: Likewise.
52720 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52722 * sysdeps/i386/fpu/e_logf.S: Likewise.
52723 * sysdeps/i386/fpu/e_logl.S: Likewise.
52724 * sysdeps/i386/fpu/e_pow.S: Likewise.
52725 * sysdeps/i386/fpu/e_powf.S: Likewise.
52726 * sysdeps/i386/fpu/e_powl.S: Likewise.
52727 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52728 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52729 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52730 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52731 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52732 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52733 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52734 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52735 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52737 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52739 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52740 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52741 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52742 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52743 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52747 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52749 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52750 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52752 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52753 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52756 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52757 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52760 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52761 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52762 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52763 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52764 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52765 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52766 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52767 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52768 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52769 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52770 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52771 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52772 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52773 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52774 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52775 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52776 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52777 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52778 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52779 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52780 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52781 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52786 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52788 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52791 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52792 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52793 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52795 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52800 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52801 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52802 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52803 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52804 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52805 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52806 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52807 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52808 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52809 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52811 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52812 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52813 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52814 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52815 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52816 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52817 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52818 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52820 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52821 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52824 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52825 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52826 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52827 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52828 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52829 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52830 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52831 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52832 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52833 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52834 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52835 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52836 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52837 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52838 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52839 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52840 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52841 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52842 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52843 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52844 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52845 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52846 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52847 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52848 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52849 (__isnanf): Likewise.
52850 (__isinf_ns): Likewise.
52851 (__isinf_nsf): Likewise.
52852 (__finite): Likewise.
52853 (__finitef): Likewise.
52854 (__ieee754_sqrt): Define as macro.
52855 (__ieee754_sqrtf): Define as macro.
52856 (__ieee754_sqrtl): Define as macro.
52857 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52858 inlined copy.
52859 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52860 __FINITE_MATH_ONLY__ consistent.
52861 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52862
12cc2fcd
AS
528632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52864
a843a204
AS
52865 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52866 of rawmemchr.
52867
12cc2fcd
AS
52868 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52869
c853acd5
UD
528702011-10-09 Ulrich Drepper <drepper@gmail.com>
52871
52872 * po/ja.po: Update from translation team.
52873
c658d255
RM
528742011-10-08 Roland McGrath <roland@hack.frob.com>
52875
110946e4
RM
52876 * locale/programs/locarchive.c (prepare_address_space): New function.
52877 (create_archive, enlarge_archive, open_archive): Use it.
52878
50604220
RM
52879 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52880 inside [SHARED], where it is used.
52881
c658d255
RM
52882 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52883
52884 * nss/getent.c (netgroup_keys): Remove unused variable.
52885 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52886
6a621eb7
UD
528872011-10-08 Ulrich Drepper <drepper@gmail.com>
52888
7edb55ce
UD
52889 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52890 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52893 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52894 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52895 * math/Makefile (libm-calls): Add s_isinf_ns.
52896 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52897 * math/multc3.c: Likewise.
52898 * math/s_casin.c: Likewise.
52899 * math/s_casinf.c: Likewise.
52900 * math/s_casinl.c: Likewise.
52901 * math/s_ccos.c: Likewise.
52902 * math/s_ccosf.c: Likewise.
52903 * math/s_ccosl.c: Likewise.
52904 * math/s_ctan.c: Likewise.
52905 * math/s_ctanf.c: Likewise.
52906 * math/s_ctanh.c: Likewise.
52907 * math/s_ctanhf.c: Likewise.
52908 * math/s_ctanhl.c: Likewise.
52909 * math/s_ctanl.c: Likewise.
52910 * math/w_fmod.c: Likewise.
52911 * math/w_fmodf.c: Likewise.
52912 * math/w_fmodl.c: Likewise.
52913 * math/w_remainder.c: Likewise.
52914 * math/w_remainderf.c: Likewise.
52915 * math/w_remainderl.c: Likewise.
52916 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52917 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52918 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52920 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52921 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52922 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52923 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52924
187da0ae
UD
52925 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52926 of the number.
52927 * stdio-common/printf_fphex.c: Likewise.
52928 * stdio-common/printf_size.c: Likewise.
52929
9277c064
UD
52930 * math/e_exp10.c: Include math_private.h using <...> not "...".
52931 * math/e_exp10f.c: Likewise.
52932 * math/e_exp10l.c: Likewise.
52933 * math/e_exp2l.c: Likewise.
52934 * math/e_j0l.c: Likewise.
52935 * math/e_j1l.c: Likewise.
52936 * math/e_jnl.c: Likewise.
52937 * math/e_lgammal_r.c: Likewise.
52938 * math/e_rem_pio2l.c: Likewise.
52939 * math/e_scalb.c: Likewise.
52940 * math/e_scalbf.c: Likewise.
52941 * math/e_scalbl.c: Likewise.
52942 * math/k_cosl.c: Likewise.
52943 * math/k_sinl.c: Likewise.
52944 * math/k_tanl.c: Likewise.
52945 * math/s_cacoshf.c: Likewise.
52946 * math/s_catan.c: Likewise.
52947 * math/s_catanf.c: Likewise.
52948 * math/s_catanh.c: Likewise.
52949 * math/s_catanhf.c: Likewise.
52950 * math/s_catanhl.c: Likewise.
52951 * math/s_catanl.c: Likewise.
52952 * math/s_ccosh.c: Likewise.
52953 * math/s_ccoshf.c: Likewise.
52954 * math/s_ccoshl.c: Likewise.
52955 * math/s_cexp.c: Likewise.
52956 * math/s_cexpf.c: Likewise.
52957 * math/s_cexpl.c: Likewise.
52958 * math/s_clog.c: Likewise.
52959 * math/s_clog10.c: Likewise.
52960 * math/s_clog10f.c: Likewise.
52961 * math/s_clog10l.c: Likewise.
52962 * math/s_clogf.c: Likewise.
52963 * math/s_clogl.c: Likewise.
52964 * math/s_csin.c: Likewise.
52965 * math/s_csinf.c: Likewise.
52966 * math/s_csinh.c: Likewise.
52967 * math/s_csinhf.c: Likewise.
52968 * math/s_csinhl.c: Likewise.
52969 * math/s_csinl.c: Likewise.
52970 * math/s_csqrt.c: Likewise.
52971 * math/s_csqrtf.c: Likewise.
52972 * math/s_csqrtl.c: Likewise.
52973 * math/s_ctan.c: Likewise.
52974 * math/s_ctanf.c: Likewise.
52975 * math/s_ctanh.c: Likewise.
52976 * math/s_ctanhf.c: Likewise.
52977 * math/s_ctanhl.c: Likewise.
52978 * math/s_ctanl.c: Likewise.
52979 * math/s_ldexp.c: Likewise.
52980 * math/s_ldexpf.c: Likewise.
52981 * math/s_ldexpl.c: Likewise.
52982 * math/s_significand.c: Likewise.
52983 * math/s_significandf.c: Likewise.
52984 * math/s_significandl.c: Likewise.
52985 * math/w_acos.c: Likewise.
52986 * math/w_acosf.c: Likewise.
52987 * math/w_acosh.c: Likewise.
52988 * math/w_acoshf.c: Likewise.
52989 * math/w_acoshl.c: Likewise.
52990 * math/w_acosl.c: Likewise.
52991 * math/w_asin.c: Likewise.
52992 * math/w_asinf.c: Likewise.
52993 * math/w_asinl.c: Likewise.
52994 * math/w_atan2.c: Likewise.
52995 * math/w_atan2f.c: Likewise.
52996 * math/w_atan2l.c: Likewise.
52997 * math/w_atanh.c: Likewise.
52998 * math/w_atanhf.c: Likewise.
52999 * math/w_atanhl.c: Likewise.
53000 * math/w_cosh.c: Likewise.
53001 * math/w_coshf.c: Likewise.
53002 * math/w_coshl.c: Likewise.
53003 * math/w_dremf.c: Likewise.
53004 * math/w_exp10.c: Likewise.
53005 * math/w_exp10f.c: Likewise.
53006 * math/w_exp10l.c: Likewise.
53007 * math/w_exp2.c: Likewise.
53008 * math/w_exp2f.c: Likewise.
53009 * math/w_fmod.c: Likewise.
53010 * math/w_fmodf.c: Likewise.
53011 * math/w_fmodl.c: Likewise.
53012 * math/w_hypot.c: Likewise.
53013 * math/w_hypotf.c: Likewise.
53014 * math/w_hypotl.c: Likewise.
53015 * math/w_j0.c: Likewise.
53016 * math/w_j0f.c: Likewise.
53017 * math/w_j0l.c: Likewise.
53018 * math/w_j1.c: Likewise.
53019 * math/w_j1f.c: Likewise.
53020 * math/w_j1l.c: Likewise.
53021 * math/w_jn.c: Likewise.
53022 * math/w_jnf.c: Likewise.
53023 * math/w_jnl.c: Likewise.
53024 * math/w_lgamma.c: Likewise.
53025 * math/w_lgamma_r.c: Likewise.
53026 * math/w_lgammaf.c: Likewise.
53027 * math/w_lgammaf_r.c: Likewise.
53028 * math/w_lgammal.c: Likewise.
53029 * math/w_lgammal_r.c: Likewise.
53030 * math/w_log.c: Likewise.
53031 * math/w_log10.c: Likewise.
53032 * math/w_log10f.c: Likewise.
53033 * math/w_log10l.c: Likewise.
53034 * math/w_log2.c: Likewise.
53035 * math/w_log2f.c: Likewise.
53036 * math/w_log2l.c: Likewise.
53037 * math/w_logf.c: Likewise.
53038 * math/w_logl.c: Likewise.
53039 * math/w_pow.c: Likewise.
53040 * math/w_powf.c: Likewise.
53041 * math/w_powl.c: Likewise.
53042 * math/w_remainder.c: Likewise.
53043 * math/w_remainderf.c: Likewise.
53044 * math/w_remainderl.c: Likewise.
53045 * math/w_scalb.c: Likewise.
53046 * math/w_scalbf.c: Likewise.
53047 * math/w_scalbl.c: Likewise.
53048 * math/w_sinh.c: Likewise.
53049 * math/w_sinhf.c: Likewise.
53050 * math/w_sinhl.c: Likewise.
53051 * math/w_sqrt.c: Likewise.
53052 * math/w_sqrtf.c: Likewise.
53053 * math/w_sqrtl.c: Likewise.
53054 * math/w_tgamma.c: Likewise.
53055 * math/w_tgammaf.c: Likewise.
53056 * math/w_tgammal.c: Likewise.
53057
6a621eb7
UD
53058 * po/ja.po: Update from translation team.
53059
bf582445
AJ
530602011-09-29 Andreas Jaeger <aj@suse.de>
53061
f9efbf3a
AJ
53062 [BZ #13179]
53063 * sunrpc/netname.c (netname2host): Fix logic.
53064
bf582445
AJ
53065 [BZ #6779]
53066 [BZ #6783]
53067 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53068 correctly.
53069 * math/w_remainder.c (__remainder): Likewise.
53070 * math/w_remainderf.c (__remainderf): Likewise.
53071 * math/libm-test.inc (remainder_test): Add test cases.
53072
48693bea
AK
530732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53074
53075 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53076 sdiv_qrnnd.
53077
42622229
LD
530782011-10-07 Ulrich Drepper <drepper@gmail.com>
53079
53080 * string/test-memcmp.c: Avoid unncessary #defines.
53081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53082
093ecf92
LD
530832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53084
53085 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53086 Use new sse2 version for core i3 - i7 as it's faster
53087 than sse42 version.
53088 (bit_Prefer_PMINUB_for_stringop): New.
53089 * sysdeps/x86_64/rawmemchr.S: Update.
53090 Replace with faster SSE2 version.
53091 * sysdeps/x86_64/memrchr.S: New file.
53092 * sysdeps/x86_64/memchr.S: Update.
53093 Replace with faster SSE2 version.
53094
fde56e5c
MP
530952011-09-12 Marek Polacek <mpolacek@redhat.com>
53096
53097 * elf/dl-load.c (lose): Add cast to avoid warning.
53098
21fd49a9
UD
530992011-10-07 Ulrich Drepper <drepper@gmail.com>
53100
5a06e643
UD
53101 * po/ca.po: Update from translation team.
53102
684ae515
UD
53103 * inet/getnetgrent_r.c: Hook up nscd.
53104 * nscd/Makefile (routines): Add nscd_netgroup.
53105 (nscd-modules): Add netgroupcache.
53106 (CFLAGS-netgroupcache.c): Define.
53107 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53108 (cache_search): Add const to second parameter.
53109 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53110 INNETGR.
53111 (dbs): Add netgrdb entry.
53112 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53113 (verify_persistent_db): Handle netgrdb.
53114 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53115 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53116 GETFDNETGR.
53117 (netgroup_response_header): Define.
53118 (innetgroup_response_header): Define.
53119 (datahead): Add netgroup_response_header and innetgroup_response_header
53120 elements.
53121 * nscd/nscd.conf: Add entries for netgroup cache.
53122 * nscd/nscd.h (dbtype): Add netgrdb.
53123 (_PATH_NSCD_NETGROUP_DB): Define.
53124 (netgroup_iov_disabled): Declare.
53125 (xmalloc, xcalloc, xrealloc): Move declarations here.
53126 (cache_search): Adjust prototype.
53127 Add netgroup-related prototypes.
53128 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53129 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53130 (__nscd_innetgr): Declare.
53131 * nscd/selinux.c (perms): Use access_vector_t as element type and
53132 add netgroup-related initializers.
53133 * nscd/netgroupcache.c: New file.
53134 * nscd/nscd_netgroup.c: New file.
53135 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53136 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53137 For four parameters use innetgr.
53138 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53139 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53140 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53141 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53142
21fd49a9
UD
53143 * nscd/connections.c (register_traced_file): Don't register file
53144 for disabled databases.
53145
054c0457
UD
531462011-10-06 Ulrich Drepper <drepper@gmail.com>
53147
32b63198
UD
53148 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53149
054c0457
UD
53150 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53151 from tree and freeing node.
53152
64031225
JO
531532011-09-25 Jiri Olsa <jolsa@redhat.com>
53154
53155 * nss/nsswitch.c (__nss_database_lookup): Handle
53156 nss_parse_service_list out of memory case.
53157
0490345c
JO
531582011-09-15 Jiri Olsa <jolsa@redhat.com>
53159
53160 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53161 out of memory case.
53162
3a62d00d
AS
531632011-10-04 Andreas Schwab <schwab@redhat.com>
53164
53165 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53166 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53167 pass it down.
53168 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53169 elf_machine_rela, elf_machine_lazy_rel.
53170 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53171 (ELF_DYNAMIC_DO_REL): Likewise.
53172 (ELF_DYNAMIC_DO_RELA): Likewise.
53173 (ELF_DYNAMIC_RELOCATE): Likewise.
53174 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53175 to ELF_DYNAMIC_DO_REL.
53176 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53177 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53178 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53179 elf_machine_rela.
53180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53181 skip_ifunc, don't call ifunc function if non-zero.
53182 (elf_machine_rela): Likewise.
53183 (elf_machine_lazy_rel): Likewise.
53184 (elf_machine_lazy_rela): Likewise.
53185 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53186 (elf_machine_lazy_rel): Likewise.
53187 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53188 Likewise.
53189 (elf_machine_lazy_rel): Likewise.
53190 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53191 Likewise.
53192 (elf_machine_lazy_rel): Likewise.
53193 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53194 (elf_machine_lazy_rel): Likewise.
53195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53196 (elf_machine_lazy_rel): Likewise.
53197 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53198 (elf_machine_lazy_rel): Likewise.
53199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53200 (elf_machine_lazy_rel): Likewise.
53201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53202 (elf_machine_lazy_rel): Likewise.
53203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53204 (elf_machine_lazy_rel): Likewise.
53205
68577918
UD
532062011-09-28 Ulrich Drepper <drepper@gmail.com>
53207
53208 * nss/nss_files/files-init.c (_nss_files_init): Use static
53209 initialization for all the *_traced_file variables.
53210
68822d74
AS
532112011-09-28 Andreas Schwab <schwab@redhat.com>
53212
53213 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53214
2056100b
RM
532152011-09-27 Roland McGrath <roland@hack.frob.com>
53216
53217 [BZ #13226]
53218 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53219
32c76b63
AS
532202011-09-27 Andreas Schwab <schwab@redhat.com>
53221
53222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53223 Reread the line before reparsing it.
53224
bf972c9d
AS
532252011-09-26 Andreas Schwab <schwab@redhat.com>
53226
53227 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53228
e057a1b5
JM
532292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53230 Maxim Kuvyrkov <maxim@codesourcery.com>
53231 Joseph Myers <joseph@codesourcery.com>
53232
53233 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53234 if needed for __stack_chk_guard.
53235
bc7e1c36
RM
532362011-09-19 Roland McGrath <roland@hack.frob.com>
53237
ecb1482f
RM
53238 * sysdeps/posix/spawni.c (script_execute): Always define it.
53239 It will be optimized away if unused.
53240 (maybe_script_execute): New function.
53241 (__spawni): Call it.
53242
bc7e1c36
RM
53243 * Makerules: Don't include tls.make.
53244 (config-tls): Always set to thread.
53245 * tls.make.c: File removed.
53246
1c3b002b
MF
532472011-09-19 Mike Frysinger <vapier@gentoo.org>
53248
53249 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53250 * config.make.in (CPPFLAGS-config): New substituted variable.
53251
2840865d
UD
532522011-09-15 Ulrich Drepper <drepper@gmail.com>
53253
88738eb6
UD
53254 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53255
cbf645a6 53256 [BZ #13192]
2840865d
UD
53257 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53258 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53259
b402e91a
RM
532602011-09-15 Roland McGrath <roland@hack.frob.com>
53261
53262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53263 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53265 (CALL_FAIL): Likewise.
53266 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53267 (CALL_FAIL): Macro removed.
53268 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53269
4c1a1f71
UD
532702011-09-15 Ulrich Drepper <drepper@gmail.com>
53271
53272 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53273 for __FINITE_MATH_ONLY__ == 1.
53274
edc121be
AS
532752011-09-15 Andreas Schwab <schwab@redhat.com>
53276
53277 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53278 __ieee754_sqrt instead of sqrt.
53279 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53280 __ieee754_sqrtf instead of sqrtf.
53281 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53282 __floorf instead of floorf.
53283 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53284 __floorf, __truncf instead of floorf, truncf.
53285
cd205654
UD
532862011-09-14 Ulrich Drepper <drepper@gmail.com>
53287
ee4d0315
UD
53288 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53289
cd205654
UD
53290 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53291 __extern_always_inline.
53292 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53293 32-bit.
53294
48b67d71
AS
532952011-09-14 Andreas Schwab <schwab@redhat.com>
53296
53297 * elf/rtld.c (dl_main): Also relocate in dependency order when
53298 doing symbol dependency testing.
53299
1ae12c75
AS
533002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53301
53302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53303 Always define `refsym'.
53304
995a80df
AS
533052011-09-13 Andreas Schwab <schwab@redhat.com>
53306
e529793b
AS
53307 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53308 (__FD_ELT): Renamed from __FDELT.
53309 * misc/bits/select2.h (__FD_ELT): Likewise.
53310 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53311 __FD_MASK instead of __FDELT, __FDMASK.
53312 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53313 Likewise.
53314 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53315 Likewise.
53316
52d4fef8
AS
53317 * elf/Makefile (gen-ldd): Fix pattern.
53318
995a80df
AS
53319 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53320 (init_tls): Likewise.
53321
8682f8b0
UD
533222011-09-12 Ulrich Drepper <drepper@gmail.com>
53323
53324 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53325
de82006d
AS
533262011-09-12 Andreas Schwab <schwab@redhat.com>
53327
a7c8e6a1
AS
53328 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53329 `struct cmsghdr *' instead of `void *'.
53330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53331 Likewise.
53332
0f31fe77
AS
533332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53334
53335 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53336 if non-absolute.
53337 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53338 ldd_rewrite_script.
0f31fe77 53339
32b4c839
UD
533402011-09-11 Ulrich Drepper <drepper@gmail.com>
53341
83cd1420
UD
53342 * configure.in: Remove --with-tls option.
53343 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53344 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53345 out in case it is missing.
53346 * sysdeps/ia64/elf/configure.in: Likewise.
53347 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53348 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53349 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53350 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53351 * sysdeps/sh/elf/configure.in: Likewise.
53352 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53353 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53354 * sysdeps/x86_64/elf/configure.in: Likewise.
53355 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53356 * sysdeps/mach/hurd/tls.h: Likewise.
53357
633f745d
UD
53358 [BZ #13067]
53359 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53360
f318beb8
UD
53361 [BZ #13090]
53362 * configure.in: Fix use of AC_INIT.
53363
32b4c839
UD
53364 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53365
3ce1f295
UD
533662011-09-10 Ulrich Drepper <drepper@gmail.com>
53367
bb016596
UD
53368 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53369 __set_errno.
8e58439c
UD
53370 * malloc/hooks.c: Likewise.
53371
aebae053 53372 [BZ #11929]
02d46fc4
UD
53373 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53374 variables statically.
53375 (narenas): Initialize.
53376 (list_lock): Initialize.
bb016596
UD
53377 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53378 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53379 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53380 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53381 Add initializers to main_arena and mp_.
53382 (malloc_state): Remove pagesize member. Change all users to use
53383 GLRO(dl_pagesize).
53384
53385 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53386 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53387 is always initialized.
53388
22a89187
UD
53389 * malloc/malloc.c: Removed unused configurations and dead code.
53390 * malloc/arena.c: Likewise.
53391 * malloc/hooks.c: Likewise.
02d46fc4 53392 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53393
d063d164
UD
53394 * include/tls.h: Removed. USE___THREAD must always be defined.
53395 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53396 * elf/dl-libc.c: Likewise.
53397 * elf/dl-tsd.c: Likewise.
53398 * include/errno.h: Likewise.
53399 * include/netdb.h: Likewise.
53400 * include/resolv.h: Likewise.
53401 * inet/herrno-loc.c: Likewise.
53402 * inet/herrno.c: Likewise.
53403 * malloc/arena.c: Likewise.
53404 * malloc/hooks.c: Likewise.
53405 * malloc/malloc.c: Likewise.
53406 * resolv/res-state.c: Likewise.
53407 * resolv/res_libc.c: Likewise.
53408 * sysdeps/i386/dl-machine.h: Likewise.
53409 * sysdeps/ia64/dl-machine.h: Likewise.
53410 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53411 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53412 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53413 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53414 * sysdeps/sh/dl-machine.h: Likewise.
53415 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53416 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53417 * sysdeps/unix/i386/sysdep.S: Likewise.
53418 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53419 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53423 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53424 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53429 * sysdeps/x86_64/dl-machine.h: Likewise.
53430 * tls.make.c: Likewise.
53431
3ce1f295
UD
53432 * configure.in: Remove --with-__thread option. Make tests for
53433 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53434 tls_model attribute fail if no support is available. Remove
53435 USE_IN_LIBIO.
53436 * Makeconfig: Adjust for dropped configure option. All features are
53437 now mandatory.
53438 * Makerules: Likewise.
53439 * Versions.def: Likewise.
53440 * argp/argp-fmtstream.c: Likewise.
53441 * argp/argp-fmtstream.h: Likewise.
53442 * argp/argp-help.c: Likewise.
53443 * assert/assert.c: Likewise.
53444 * config.h.in: Likewise.
53445 * config.make.in: Likewise.
53446 * configure: Likewise.
53447 * configure.in: Likewise.
53448 * csu/Versions: Likewise.
53449 * csu/init.c: Likewise.
53450 * elf/tst-audit2.c: Likewise.
53451 * elf/tst-tls10.c: Likewise.
53452 * elf/tst-tls10.h: Likewise.
53453 * elf/tst-tls11.c: Likewise.
53454 * elf/tst-tls12.c: Likewise.
53455 * elf/tst-tls14.c: Likewise.
53456 * elf/tst-tlsmod11.c: Likewise.
53457 * elf/tst-tlsmod12.c: Likewise.
53458 * elf/tst-tlsmod13.c: Likewise.
53459 * elf/tst-tlsmod13a.c: Likewise.
53460 * elf/tst-tlsmod14a.c: Likewise.
53461 * elf/tst-tlsmod15b.c: Likewise.
53462 * elf/tst-tlsmod16a.c: Likewise.
53463 * elf/tst-tlsmod16b.c: Likewise.
53464 * elf/tst-tlsmod7.c: Likewise.
53465 * elf/tst-tlsmod8.c: Likewise.
53466 * elf/tst-tlsmod9.c: Likewise.
53467 * gmon/gmon.c: Likewise.
53468 * grp/fgetgrent_r.c: Likewise.
53469 * grp/putgrent.c: Likewise.
53470 * hurd/fopenport.c: Likewise.
53471 * include/libc-symbols.h: Likewise.
53472 * include/tls.h: Likewise.
53473 * intl/gettextP.h: Likewise.
53474 * intl/loadinfo.h: Likewise.
53475 * locale/global-locale.c: Likewise.
53476 * locale/localeinfo.h: Likewise.
53477 * mach/devstream.c: Likewise.
53478 * malloc/arena.c: Likewise.
53479 * malloc/set-freeres.c: Likewise.
53480 * misc/err.c: Likewise.
53481 * misc/getttyent.c: Likewise.
53482 * misc/mntent_r.c: Likewise.
53483 * posix/getopt.c: Likewise.
53484 * posix/wordexp.c: Likewise.
53485 * pwd/fgetpwent_r.c: Likewise.
53486 * resolv/Versions: Likewise.
53487 * resolv/res_hconf.c: Likewise.
53488 * shadow/fgetspent_r.c: Likewise.
53489 * shadow/putspent.c: Likewise.
53490 * stdio-common/printf_fphex.c: Likewise.
53491 * stdio-common/tmpfile.c: Likewise.
53492 * stdlib/abort.c: Likewise.
53493 * stdlib/fmtmsg.c: Likewise.
53494 * sunrpc/auth_unix.c: Likewise.
53495 * sunrpc/clnt_perr.c: Likewise.
53496 * sunrpc/clnt_tcp.c: Likewise.
53497 * sunrpc/clnt_udp.c: Likewise.
53498 * sunrpc/clnt_unix.c: Likewise.
53499 * sunrpc/openchild.c: Likewise.
53500 * sunrpc/svc_simple.c: Likewise.
53501 * sunrpc/svc_tcp.c: Likewise.
53502 * sunrpc/svc_udp.c: Likewise.
53503 * sunrpc/svc_unix.c: Likewise.
53504 * sunrpc/xdr.c: Likewise.
53505 * sunrpc/xdr_array.c: Likewise.
53506 * sunrpc/xdr_rec.c: Likewise.
53507 * sunrpc/xdr_ref.c: Likewise.
53508 * sunrpc/xdr_stdio.c: Likewise.
53509
1248c1c4
PB
535102011-09-09 Ulrich Drepper <drepper@gmail.com>
53511
53512 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53513
535142011-07-03 Andreas Jaeger <aj@suse.de>
53515
53516 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53517 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53518 regenerate with gen-libm-tests.pl.
53519
535202010-05-12 Petr Baudis <pasky@suse.cz>
53521
53522 [BZ #11589]
53523 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53524 around j0() zero points by switching to j1().
53525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53528 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53529
f22e1074
UD
535302011-09-09 Ulrich Drepper <drepper@gmail.com>
53531
f19009c1
UD
53532 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53533 instead of 0.
53534 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53535 instead of 0.
f19009c1
UD
53536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53537 Patch in part by Pavel Roskin <proski@gnu.org>.
53538
3f8cc204
UD
53539 [BZ #13138]
53540 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53541 realloc.
53542 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53543 Free memory block if necessary.
53544
f22e1074
UD
53545 [BZ #12847]
53546 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53547 be NULL. Don't lock in this case.
53548
0a2349f9
RM
535492011-09-09 Roland McGrath <roland@hack.frob.com>
53550
53551 * elf/elf.h (ELFOSABI_GNU): New macro.
53552 (ELFOSABI_LINUX): Define to that.
53553
f3cdd467
DZ
535542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53555
53556 * string/strncat.c (strncat): Undef the symbol in case it has been
53557 defined in bits/string.h.
53558
74718d13
UD
535592011-09-09 Ulrich Drepper <drepper@gmail.com>
53560
633e9e0f
UD
53561 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53562
0a2349f9 53563 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53564 link map.
53565
f9924780
AJ
535662011-08-17 Andreas Jaeger <aj@suse.de>
53567
53568 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53569
7f5517aa
PP
535702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53571 Ian Lance Taylor <iant@google.com>
53572
53573 * math/libm-test.inc (lround_test): New testcase.
53574 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53575
762011fe
UD
535762011-09-08 Ulrich Drepper <drepper@gmail.com>
53577
92963737
UD
53578 * Makefile: Remove support for automatic cvs check-ins.
53579 * Makerules: Likewise.
53580 * config.make.in: Likewise.
53581 * configure.in: Likewise.
53582 * intl/Makefile: Likewise.
53583 * locale/Makefile: Likewise.
53584 * po/Makefile: Likewise.
53585 * posix/Makefile: Likewise.
53586 * sysdeps/gnu/Makefile: Likewise.
53587 * sysdeps/mach/hurd/Makefile: Likewise.
53588 * sysdeps/sparc/sparc32/Makefile: Likewise.
53589
b0727fd8
JS
53590 [BZ #13118]
53591 * posix/Makefile (bug-regex32-ENV): Define.
53592 Patch by John Stanley <jpsinthemix@verizon.net>.
53593
a0f33f99
UD
53594 * misc/Makefile (headers): Add bits/select2.h.
53595 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53596 * misc/bits/select2.h: New file.
53597 * include/bits/select2.h: New file.
53598 * debug/Makefile (routines): Add fdelt_chk.
53599 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53600 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53601 FD_ISSET.
53602 * debug/fdelt_chk.c: New file.
53603
762011fe
UD
53604 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53605 * wcsmbs/test-wmemcmp.c: Likewise.
53606 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53607 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53608
536092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53610
53611 * string/Makefile (strop-tests): Add memcmp.
53612 * string/test-wmemcmp.c: New file.
53613 * string/test-memcmp.c: Add wmemcmp support.
53614
7f513ec8
RM
536152011-09-08 Roland McGrath <roland@hack.frob.com>
53616
0442afb4
RM
53617 [BZ #13153]
53618 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53619 2011-07-19 change.
53620
7f513ec8
RM
53621 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53622 garbage value in a __mach_port_mod_refs call in the cases of the
53623 task-self and thread-self ports.
53624
a12b2239
ST
536252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53626
53627 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53628
610f9ab4
AS
536292011-09-08 Andreas Schwab <schwab@redhat.com>
53630
7f513ec8 53631 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53632
48882a1a
LD
536332011-09-07 Ulrich Drepper <drepper@gmail.com>
53634
b49865be
UD
53635 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53636
fdc86bc9
UD
53637 * elf/dl-libc.c (dlerror_run): Pass back error code from
53638 dl_catch_error.
53639
c966526a
UD
53640 [BZ #13123]
53641 * elf/dl-load.c (lose): Free l_origin if it is valid.
53642
48882a1a
LD
53643 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53644 names.
53645 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53646 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53649 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53650 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53651
77a2a8b4
AZ
536522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53653
53654 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53655 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53656 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53657 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53658 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53659 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53660 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53661 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53662 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53663 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53664
24f579d8
AM
536652011-08-15 Alan Modra <amodra@gmail.com>
53666
53667 [BZ #13092]
53668 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53669 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53670 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53671 ppc_mcount to static-only-routines.
53672 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53673 __mcount_internal.
53674 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53675 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53676
3d4837df
UD
536772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53678
53679 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53680 for finite and infinity parameters.
53681
22700377
WS
536822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53683
53684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53685 and add nop instructions for throughput optimization.
53686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53687
5025581e
WS
536882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53689
53690 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53691 aligned copy for power7 with vector-scalar instructions.
53692 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53693
08a300c9
L
536942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53695
53696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53697 AVX check.
53698
59178ef9
AS
536992011-09-07 Andreas Schwab <schwab@redhat.com>
53700
53701 [BZ #13144]
53702 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53703 last change.
53704
e38ba7ab
UD
537052011-09-07 Ulrich Drepper <drepper@gmail.com>
53706
53707 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53708 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53709 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53710 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53711 clock_gettime.
53712
d53a73ac
UD
537132011-09-06 Ulrich Drepper <drepper@gmail.com>
53714
fc8bffcc
UD
53715 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53716 Forgot to demangle the pointer.
53717
ceaa0c5d
UD
53718 * sysdeps/i386/sysdep.h: Define atom_text_section.
53719 * sysdeps/x86_64/sysdep.h: Likewise.
53720 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53721 section with atom_text_section.
53722 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53723 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53724 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53727
a77d3c17
UD
53728 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53729 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53730 already be defined. Change to take two parameters and don't assign
53731 result to variable. Adjust all users.
53732 Define INTERNAL_GETTIME if not already defined.
53733 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53734 call.
53735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53736 HAVE_CLOCK_GETTIME_VSYSCALL.
53737 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53738
d53a73ac
UD
53739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53740 gettimeofday vsyscall, just use time.
53741
a8f84144
AS
537422011-09-06 Andreas Schwab <schwab@redhat.com>
53743
53744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53745 <errno.h>.
53746
ef606249
UD
537472011-09-06 Ulrich Drepper <drepper@gmail.com>
53748
53749 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53750 syscall on x86-64.
53751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53752 syscall.
53753 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53755 syscall if possible.
53756
6585cb60
UD
537572011-09-05 Ulrich Drepper <drepper@gmail.com>
53758
53759 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53760 e_ident. Don't pass to find_mapsXX.
53761 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53762
a5f524e4
LD
537632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53764
53765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53766 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53767 * sysdeps/x86_64/multiarch/strchr.S: Update.
53768 Check bit_slow_BSF bit.
53769 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53770 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53771 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53772
554881ef
UD
537732011-09-05 Ulrich Drepper <drepper@gmail.com>
53774
d96de963
UD
53775 [BZ #13134]
53776 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53777 before glibc 2.15.
53778 (tryshell): Define.
53779 (__spawni): Change last parameter to be flag. Test
53780 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53781 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53782 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53783 * posix/spawni.c: Likewise.
53784 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53785 * posix/spawnp.c: Likewise. Change normal version to use
53786 SPAWN_XFLAGS_USE_PATH.
53787 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53788 SPAWN_XFLAGS_TRY_SHELL.
53789
d48e5868
UD
53790 [BZ #13150]
53791 * posix/glob.h: Remove gcc 1.x support.
53792
554881ef
UD
53793 [BZ #13068]
53794 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53795
693fb948
LD
537962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53797
53798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53799 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53800 strrchr-sse2-bsf
53801 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53802 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53803 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53804 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53805 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53806 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53807
1b48c537
UD
538082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53809
49d42c37
UD
53810 * sysdeps/x86_64/wcscmp.S: New file.
53811
1b48c537
UD
53812 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53813 wcscmp-c wcscmp-sse2
53814 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53815 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53816 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53817 * wcsmbs/wcscmp.c: Allow renaming.
53818
15c95c5d
DM
538192011-09-05 David S. Miller <davem@davemloft.net>
53820
53821 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53822 stack slot, rather than the struct return pointer slot.
53823 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53824 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53826 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53827
2f0ad8f3
UD
538282011-09-05 Ulrich Drepper <drepper@gmail.com>
53829
d88ae418
UD
53830 * po/ja.po: Update from translation team.
53831
2f0ad8f3
UD
53832 [BZ #13144]
53833 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53834 kernel in 64-bit binaries.
53835
5f4318d1
DM
538362011-09-01 David S. Miller <davem@davemloft.net>
53837
53838 * elf/elf.h (HWCAP_SPARC_*): Move to..
53839 * sysdeps/sparc/sysdep.h: this new file and add new values.
53840 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53841 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53842 _DL_HWCAP_COUNT to 24.
53843 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53844 entries.
53845 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53846 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53847 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53848 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53849 instead of magic constants.
53850 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53851
3ba57516
DM
538522011-08-31 David S. Miller <davem@davemloft.net>
53853
53854 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53856 Reimplement to do errno handling inline.
53857 (SYSCALL_ERROR_HANDLER): New macro.
53858 (__SYSCALL_STRING): Do not do errno handling in asm.
53859 (__CLONE_SYSCALL_STRING): Delete.
53860 (__INTERNAL_SYSCALL_STRING): Delete.
53861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53862 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53863 (PSEUDO): Reimplement to do errno handling inline.
53864 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53865 (SYSCALL_ERROR_HANDLER): New macro.
53866 (__SYSCALL_STRING): Do not do errno handling in asm.
53867 (__CLONE_SYSCALL_STRING): Delete.
53868 (__INTERNAL_SYSCALL_STRING): Delete.
53869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53870 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53871 i386.
53872 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53873 (inline_syscall*): Add 'err' argument.
53874 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53875 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53876 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53877 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53878
53879 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53880 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53881
2bc17433
AS
538822011-08-30 Andreas Schwab <schwab@redhat.com>
53883
53884 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53885
fbeb5f4d
JO
538862011-08-29 Jiri Olsa <jolsa@redhat.com>
53887
53888 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53889 directive.
53890
ad69cc26
DM
538912011-08-24 David S. Miller <davem@davemloft.net>
53892
53893 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53894
39dd69df
AS
538952011-08-24 Andreas Schwab <schwab@redhat.com>
53896
53897 * elf/Makefile: Add rules to build and run unload8 test.
53898 * elf/unload8.c: New file.
53899 * elf/unload8mod1.c: New file.
53900 * elf/unload8mod1x.c: New file.
53901 * elf/unload8mod2.c: New file.
53902 * elf/unload8mod3.c: New file.
53903
53904 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53905 it wasn't used.
53906
2c0b250a
DM
539072011-08-23 David S. Miller <davem@davemloft.net>
53908
53909 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53910 subtract stack bias.
53911 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53912 %sp not %fp in calculations.
53913 (_JMPBUF_UNWINDS_ADJ): Likewise.
53914
22044b48
DM
53915 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53916 (aio_suspend): Call it to force an exception region around the
53917 AIO_MISC_WAIT() invocation.
53918
2cae4995
AS
539192011-08-23 Andreas Schwab <schwab@redhat.com>
53920
53921 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53922 backslash.
53923
873a772e
AJ
539242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53925
53926 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53927 protection macro.
53928 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53929 and <dl-machine.h>.
53930 (Elf64_FuncDesc): Remove.
53931
25ad0df1
DM
539322011-08-22 David S. Miller <davem@davemloft.net>
53933
53934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53935 sigaltstack check, add missing cfi directives.
53936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53937 missing cfi directives, and sigaltstack handling.
53938
e888bcbe
AS
539392011-08-16 Andreas Schwab <schwab@redhat.com>
53940
53941 [BZ #11724]
53942 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53943 object is seen twice.
53944 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53945
53946 * elf/Makefile (distribute): Add tst-initorder2.c.
53947 (tests): Add tst-initorder2.
53948 (modules-names): Add tst-initorder2a tst-initorder2b
53949 tst-initorder2c tst-initorder2d. Add rules to build them.
53950 ($(objpfx)tst-initorder2.out): New rule.
53951 * elf/tst-initorder2.c: New file.
53952 * elf/tst-initorder2.exp: New file.
53953
87162f46
AS
539542011-08-22 Andreas Schwab <schwab@redhat.com>
53955
70538b7f
AS
53956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53957
f55ffe58
AS
53958 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53959 dependencies back to end of function.
53960
87162f46
AS
53961 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53962 $(elfobjdir)/ld.so.
53963
91b392a4
UD
539642011-08-21 Ulrich Drepper <drepper@gmail.com>
53965
53966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53967 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53969 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53970 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53971 of __vdso_gettimeofday.
53972 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53973 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53974 attribute_hidden.
53975 (_libc_vdso_platform_setup): Remove initialization of
53976 __vdso_gettimeofday and __vdso_time.
53977
5c43483f
UD
539782011-08-20 Ulrich Drepper <drepper@gmail.com>
53979
775a77e7
UD
53980 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53981 and fgetc_unlocked.
53982 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53983 getc_unlocked.
89f447ed 53984
49c74ba9
UD
53985 * elf/dl-open.c (add_to_global): Report additions to the global scope
53986 for LD_DEBUG=scopes.
53987 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53988 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53989
5c43483f
UD
53990 [BZ #13114]
53991 * stdio-common/Makefile (tests): Add bug24.
53992 * stdio-common/bug24.c: New file.
53993
a101b025
AJ
539942011-08-19 Andreas Jaeger <aj@suse.de>
53995
53996 [BZ #13114]
53997 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53998 non-existant file when using close-on-exec mode.
53999
c88f1766
UD
540002011-08-20 Ulrich Drepper <drepper@gmail.com>
54001
0276a718
UD
54002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54003 the very first instruction.
54004
c88f1766
UD
54005 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54006 the CFI state in the end.
54007 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54008 inclusion of dl-trampoline.h.
54009 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54010
51ccffa0
AS
540112011-08-19 Andreas Schwab <schwab@redhat.com>
54012
94d7165f
AS
54013 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54014 expectations for long double.
54015
51ccffa0
AS
54016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54017 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54018
fd708658 540192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54020
54021 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54022 artificual limit depends upon the system page size.
54023
44f0a71e
UD
540242011-08-17 Ulrich Drepper <drepper@gmail.com>
54025
54026 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54027 * resolv/Makefile: Define CFLAGS-libresolv.
54028
8de79a24
AS
540292011-08-17 Andreas Schwab <schwab@redhat.com>
54030
54031 * nss/makedb.c (compute_tables): Make variables used in nested
54032 function static.
54033
27724598
UD
540342011-08-17 Ulrich Drepper <drepper@gmail.com>
54035
c5305d88
UD
54036 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54037 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54038 if buffer was too small.
54039
27724598
UD
54040 * elf/pldd.c (main): Attach to all threads in the process.
54041 Rewrite /proc handling to use *at functions.
54042
076fe015
UD
540432011-08-16 Ulrich Drepper <drepper@gmail.com>
54044
174baab3
UD
54045 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54046 specifies first scope to show.
54047 (dl_open_worker): Update callers. Move printing scope of new
54048 object to before the relocation.
44f0a71e 54049 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54050 * sysdeps/generic/ldsodefs.h: Update declaration.
54051
076fe015
UD
54052 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54053 string for the scope number.
54054
a60df2c3
UD
540552011-08-14 Ulrich Drepper <drepper@gmail.com>
54056
54057 * nscd/servicescache.c (cache_addserv): Make sure written is always
54058 initialized.
54059
5e4287d1
RM
540602011-08-14 Roland McGrath <roland@hack.frob.com>
54061
85ae0589
RM
54062 * sysdeps/i386/i486/bits/atomic.h
54063 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54064 statement expression, so as to suppress "set but not used" warning.
54065 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54066
69f63097
RM
54067 * string/strncat.c (STRNCAT): Use prototype definition.
54068
675456ef
RM
54069 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54070 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54071 -Iprograms here.
54072 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54073 (localedef-modules): Add localedef.
54074 (locale-modules): Add locale.
54075
5e4287d1
RM
54076 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54077 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54078 to avoid a warning.
54079
9c96ff23
DM
540802011-08-14 David S. Miller <davem@davemloft.net>
54081
54082 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54083 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54084
f9ddf089
UD
540852011-08-13 Ulrich Drepper <drepper@gmail.com>
54086
44f0a71e 54087 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54088 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54089 * elf/rtld.c (dl_main): Set l_name of vDSO.
54090 Call _dl_show_scope when DL_DEBUG_SCOPES.
54091 (process_dl_debug): Recognize scopes flag and also set it for all.
54092 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54093 Declare _dl_show_scope.
54094
1dc27704
UD
54095 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54096 (do_dlopen): Pass caller_dlopen to dl_open.
54097 (__libc_dlopen_mode): Initialize caller_dlopen.
54098
f9ddf089
UD
54099 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54100 of libc. Make tolower call locale-independent. Optimize a bit by
54101 using isdigit instead of isalnum.
54102 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54103
9ac533d3
UD
541042011-08-12 Ulrich Drepper <drepper@gmail.com>
54105
54106 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54107 was a dependency or dynamically loaded.
54108
89edf2e9
UD
541092011-08-11 Ulrich Drepper <drepper@gmail.com>
54110
8e999d29
UD
54111 * intl/l10nflist.c: Allow architecture-specific pop function.
54112 * sysdeps/x86_64/l10nflist.c: New file.
54113
89edf2e9
UD
54114 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54115 classification.
54116
14d96785
AS
541172011-08-10 Andreas Schwab <schwab@redhat.com>
54118
54119 * include/dirent.h: Add libc_hidden_proto for scandirat and
54120 scandirat64. Don't declare __scandirat64.
54121 * dirent/scandirat.c: Add libc_hidden_def.
54122 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54123 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54124
6761ac04
DM
541252011-08-10 David S. Miller <davem@davemloft.net>
54126
54127 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54128 enum.
54129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54132
c55fbd1e
UD
541332011-08-09 Ulrich Drepper <drepper@gmail.com>
54134
54135 * Versions.def [libc]: Add GLIBC_2.15.
54136 * dirent/Makefile (routines): Add scandirat and scandirat64.
54137 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54138 GLIBC_2.15.
54139 * dirent/dirent.h: Declare scandirat and scandirat64.
54140 * dirent/scandirat.c: New file.
54141 * dirent/scandirat64.c: New file.
54142 * sysdeps/wordsize-64/scandirat.c: New file.
54143 * sysdeps/wordsize-64/scandirat64.c: New file.
54144 * dirent/opendir.c: Define opendirat.
54145 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54146 using scandirat.
54147 * dirent/scandir64.c: Adjust for scandir.c change.
54148 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54149 __scandirat64, and __scandir_cancel_handler.
54150 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54151 additional parameter and use openat instead of open (outside of ld.so).
54152 Add new __opendir as wrapper around __opendirat.
54153 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54154 here without requiring old scandirat implementation.
54155
879165f2
UD
541562011-08-08 Ulrich Drepper <drepper@gmail.com>
54157
54158 * dirent/scandir.c (cancel_handler): Renamed to
54159 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54160 defined. Adjust users.
54161 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54162 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54163
cb7e923b
UD
541642011-08-04 Ulrich Drepper <drepper@gmail.com>
54165
16292edd
UD
54166 * string/test-string.h (IMPL): Use __STRING to expand name and then
54167 stringify it.
54168
cb7e923b
UD
54169 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54170 of cleanups.
54171
cff82933
LD
541722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54173
54174 * string/Makefile: Update.
54175 (strop-tests): Append strncat.
54176 * string/test-wcscmp.c: New file.
54177 New comprehensive test for wcscmp.
54178 * string/test-strcmp.c: Update.
54179 (WIDE): New define.
54180
9be9bfcc
AS
541812011-07-22 Andreas Schwab <schwab@redhat.com>
54182
54183 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54184 line.
54185
2e96f1c7
AS
541862011-07-26 Andreas Schwab <schwab@redhat.com>
54187
54188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54189 encoding to ACE if AI_IDN.
54190
85188888
JJ
541912011-08-01 Jakub Jelinek <jakub@redhat.com>
54192
54193 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54194 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54195
5fa16e9b
LD
541962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54197
54198 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54199 Fix overflow bug in strncat.
54200 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54201
54202 * string/test-strncat.c: Update.
54203 Add new tests for checking overflow bugs.
54204
542052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54206
54207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54208 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54209 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54210 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54212 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54213 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54214 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54215 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54216
54217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54218 (USE_AS_STRCAT): Define.
54219 Add strcat and strncat support.
54220 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54221
8c1a459f
AS
542222011-07-25 Andreas Schwab <schwab@redhat.com>
54223
54224 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54225 __n bigger than INT_MAX+1.
54226 (__strncmp_g): Likewise.
54227
bba33c28
UD
542282011-07-23 Ulrich Drepper <drepper@gmail.com>
54229
798be72d
UD
54230 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54231 * libio/stido.h: Likewise.
54232
8accd4dc
UD
54233 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54234 (AF_NFC): Define.
54235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54236 (AF_NFC): Define.
54237
cbff0d96
UD
54238 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54240 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54241 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54242 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54243
9191c04a
UD
54244 [BZ #13021]
54245 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54246 installed.
54247
bba33c28
UD
54248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54249 typo.
54250 (_dl_x86_64_save_sse): Likewise.
54251
90f139dd
UD
542522011-07-22 Ulrich Drepper <drepper@gmail.com>
54253
1aae088a
UD
54254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54255 OSXSAVE.
54256 (_dl_x86_64_save_sse): Likewise.
54257
8e2045f5
UD
54258 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54259
90f139dd
UD
54260 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54261
1d002f25
AS
542622011-07-21 Andreas Schwab <schwab@redhat.com>
54263
54264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54265 change.
54266 (_dl_x86_64_save_sse): Use correct AVX check.
54267
21137f89
UD
542682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54269
54270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54271 bug in strncpy/strncat.
54272 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54273
a65c0b7a
UD
542742011-07-21 Ulrich Drepper <drepper@gmail.com>
54275
54276 * string/tester.c (test_strcat): Add tests for different alignments
54277 of source and destination.
54278 (test_strncat): Likewise.
54279
6986b98a
UD
542802011-07-20 Ulrich Drepper <drepper@gmail.com>
54281
90bb2039
UD
54282 [BZ #12852]
54283 * posix/glob.c (glob): Check passed in values before using them in
54284 expressions to avoid some overflows.
54285 (glob_in_dir): Likewise.
54286
5644ef54
UD
54287 [BZ #13007]
54288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54289 check for AVX enablement so that we don't crash with old kernels and
54290 new hardware.
54291 * elf/tst-audit4.c: Add same checks here.
54292 * elf/tst-audit6.c: Likewise.
54293
54294 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54295
bfc9dc9b
AS
542962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54297
54298 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54299
702e64bb
UD
543002011-07-20 Ulrich Drepper <drepper@gmail.com>
54301
54302 * po/cs.po: Update from translation team.
54303 * po/bg.po: Likewise.
54304
295e904f
MP
543052011-07-12 Marek Polacek <mpolacek@redhat.com>
54306
54307 * misc/sys/cdefs.h: Add support for const attribute.
54308 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54309 to gnu_dev_{major,minor,makedev} functions.
54310
3ff94596
MP
543112011-07-20 Marek Polacek <mpolacek@redhat.com>
54312
54313 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54314
28b59fca
AS
543152011-07-20 Andreas Schwab <schwab@redhat.com>
54316
54317 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54318 strlen results.
54319
19df733e
AK
543202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54321
54322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54323 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54324 register in order to avoid conflicts with the soft frame pointer
54325 being held in r11 when necessary.
54326 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54327 (INTERNAL_VSYSCALL_NCS): Likewise.
54328
c8835729
MP
543292011-07-14 Marek Polacek <mpolacek@redhat.com>
54330
54331 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54332 * elf/dl-fini.c (_dl_fini): Adjust caller.
54333 * elf/dl-close.c (_dl_close_worker): Likewise.
54334 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54335
b902330c
MP
543362011-07-15 Marek Polacek <mpolacek@redhat.com>
54337
8991e135
MP
54338 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54339 "aux_cache->nlibs < 0".
54340
b902330c
MP
54341 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54342 in the reload-count case.
54343
99710781
LD
543442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54345
54346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54347 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54348 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54349 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54350 * sysdeps/x86_64/multiarch/strcat.S: New file.
54351 * sysdeps/x86_64/multiarch/strncat.S: New file.
54352 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54353 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54354 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54355 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54356 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54357 (USE_AS_STRCAT): Define.
54358 Add strcat and strncat support.
54359 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54360 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54361 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54362 * string/strncat.c: Update.
54363 (USE_AS_STRNCAT): Define.
54364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54365 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54366 and i7.
54367 * sysdeps/x86_64/multiarch/init-arch.h
54368 (bit_Prefer_PMINUB_for_stringop): New.
54369 (index_Prefer_PMINUB_for_stringop): Likewise.
54370 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54371 bit_Prefer_PMINUB_for_stringop.
54372
7dc6bd90
UD
543732011-07-19 Ulrich Drepper <drepper@gmail.com>
54374
54375 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54376 buffer64.
54377 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54378 of casting of buffer.
54379 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54380 buffer32 and buffer64.
54381 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54382 writes instead of casting of buffer.
54383 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54384 buffer32.
54385 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54386 casting of buffer.
54387
e0e72284
AS
543882011-07-19 Andreas Schwab <schwab@redhat.com>
54389
54390 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54391
feb1eb0b
UD
543922011-07-19 Ulrich Drepper <drepper@gmail.com>
54393
54394 * nscd/nscd.c (termination_handler): Don't do anything for a database
54395 if it has not yet been initialized.
54396
298711ff
UD
543972011-07-18 Ulrich Drepper <drepper@gmail.com>
54398
54399 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54400
544012011-07-15 Marek Polacek <mpolacek@redhat.com>
54402
54403 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54404
f9d68389
UD
544052011-07-18 Ulrich Drepper <drepper@gmail.com>
54406
54407 * po/nl.po: Update from translation team.
54408 * po/sv.po: Likewise.
54409
db290cf5
RM
544102011-07-16 Roland McGrath <roland@hack.frob.com>
54411
54412 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54413 now disallowed by GCC.
5c550700 54414
fd5e21c7
RM
54415 * configure.in (use-default-link): Default to yes if a test -shared
54416 link meets our qualifications.
54417 * configure: Regenerated.
54418
5c550700
RM
54419 * config.make.in (output-format): New variable.
54420 * configure.in: Check for ld --print-output-format support.
54421 * configure: Regenerated.
54422 * Makerules ($(common-objpfx)format.lds)
54423 [$(output-format) != unknown]: Just use $(output-format),
54424 instead of the linker-script munging.
54425
9fa2c032
RM
544262011-07-14 Roland McGrath <roland@hack.frob.com>
54427
a6928d51
RM
54428 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54429 of $(common-objpfx)shlib.lds.
54430 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54431
661607b3
RM
54432 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54433 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54434
9fa2c032
RM
54435 * configure.in (-z relro check): Adjust test code to add a large
54436 writable data section after it.
54437 * configure: Regenerated.
54438
defe9061
RM
544392011-07-11 Roland McGrath <roland@hack.frob.com>
54440
54441 * configure.in (-z relro check): Fix test code to make the variable
54442 truly const.
54443 * configure: Regenerated.
54444
319b9ad4
UD
544452011-07-11 Ulrich Drepper <drepper@gmail.com>
54446
54447 * nscd/nscd.h (struct traced_file): Define.
54448 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54449 elements. Add traced_files.
54450 (inotify_fd): Declare.
54451 (register_traced_file): Declare.
54452 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54453 (inotify_fd): Export.
54454 (resolv_conf_descr): Remove.
54455 (nscd_init): Move inotify descriptor creation to main.
54456 Don't register files for notification here.
54457 (register_traced_file): New function.
54458 (invalidate_cache): Don't use reset_res to determine whether to call
54459 res_init, go through the list of registered files.
54460 (main_loop_poll): The inotify descriptors are now stored in the
54461 structures for the traced files.
54462 (main_loop_epoll): Likewise
54463 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54464 to __nss_disable_nscd.
54465 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54466 for a database anymore. Check the records for all the registered
54467 files instead.
54468 * nss/Makefile (libnss_files-routines): Add files-init.
54469 (libnss_db-routines): Add db-init.
54470 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54471 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54472 * nss/nss_db/db-init.c: New file.
54473 * nss/nss_files/files-init.c: New file.
54474 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54475 __nss_lookup_function.
54476 (__nss_lookup_function): Call nss_load_library.
54477 (nss_load_all_libraries): New function.
54478 (__nss_disable_nscd): Take parameter with callback function for files
54479 to register. Set is_nscd. Load all the DSOs for the NSS modules
54480 used for the cached services.
54481 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54482 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54483 options for features to all the files in nscd.
54484
54485 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54486
23bee3e8
RM
544872011-07-10 Roland McGrath <roland@hack.frob.com>
54488
54489 * csu/elf-init.c (__libc_csu_init): Comment typo.
54490
46a5b7f0
UD
544912011-07-09 Ulrich Drepper <drepper@gmail.com>
54492
54493 * po/pl.po: Update from translation team.
54494 * po/ja.po: Likewise.
54495 * po/ru.po: Likewise.
54496 * po/ko.po: Likewise.
54497 * po/fr.po: Likewise.
54498
d30cf5bb
RM
544992011-07-09 Roland McGrath <roland@hack.frob.com>
54500
113ddea4
RM
54501 * configure.in (.ctors/.dtors header and trailer check):
54502 Use an empirical test on a built program.
54503 * configure: Regenerated.
54504
574920b4
RM
54505 * configure.in (-z relro check): Use an empirical test on a built DSO.
54506 Detect, but do not require, on ia64.
54507 * configure: Regenerated.
54508
d30cf5bb
RM
54509 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54510 Update tests that use readelf to use $READELF instead.
54511 * configure: Regenerated.
54512
8538fdb3
UD
545132011-07-08 Ulrich Drepper <drepper@gmail.com>
54514
54515 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54516 if the result is not used.
54517
04d08991
AJ
545182011-07-05 Andreas Jaeger <aj@suse.de>
54519
54520 [BZ#9696]
54521 * stdlib/tst-strtod.c: Add testcase.
54522
de283087
AD
545232011-07-07 Ulrich Drepper <drepper@gmail.com>
54524
4e5f31c8 54525 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54526 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54527 The latter has a higher limit. Take additional parameter to pass to
54528 the new function.
54529 (__pathconf): Pass file to __statfs_link_max.
54530 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54531 __statfs_link_max.
54532 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54533 __statfs_link_max.
54534
de283087
AD
54535 [BZ #12868]
54536 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54538 Handle Lustre.
54539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54540 (__statfs_filesize_max): Likewise.
54541 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54542
c75fa153
AJ
545432011-07-05 Andreas Jaeger <aj@suse.de>
54544
54545 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54546
1a544854
UD
545472011-07-06 Marek Polacek <mpolacek@redhat.com>
54548
54549 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54550 `status' variable.
54551 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54552 Likewise.
54553
6f0eec67
UD
545542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54555
54556 * Makefile (strop-tests): Add strncat.
54557 * string/test-strncat.c: New file.
54558
aae30307
UD
545592011-06-30 Marek Polacek <mpolacek@redhat.com>
54560
54561 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54562
c0cfb5eb
UD
545632011-06-21 Andreas Jaeger <aj@suse.de>
54564
54565 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54566 Copy rule from iconvdata/Makefile.
54567
01636b21
UD
545682011-07-06 Ulrich Drepper <drepper@gmail.com>
54569
54570 [BZ #12922]
54571 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54572 but no long options are defined, just return 'W'.
54573
9895c8bc
UD
545742011-06-22 Marek Polacek <mpolacek@redhat.com>
54575
54576 [BZ #9696]
54577 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54578
5d4cf042
UD
545792011-07-06 Ulrich Drepper <drepper@gmail.com>
54580
54581 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54582 netgroups to read.
960e5535 54583 (innetgr): Likewise.
5d4cf042 54584
751eb97e
RM
545852011-07-05 Roland McGrath <roland@hack.frob.com>
54586
54587 * config.make.in (install_root): Default to $(DESTDIR).
54588
f15f1e45
UD
545892011-07-05 Ulrich Drepper <drepper@gmail.com>
54590
54591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54592
4e34ac6a
RM
545932011-07-02 Roland McGrath <roland@hack.frob.com>
54594
5e9b6af4
RM
54595 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54596
84f9ea0f
RM
54597 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54598 containing directory rather than embedding absolute directory names.
54599
ea5ee9f7
RM
54600 * scripts/check-local-headers.sh: Rewritten using awk.
54601 Match by word, not by line. Print error messages for matches.
54602 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54603
1b74661a
RM
54604 * Makerules [shlib-lds-flags empty]:
54605 ($(common-objpfx)libc_pic.opts): New target.
54606 ($(common-objpfx)libc_pic.os.clean): New target.
54607 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54608
54609 * config.make.in (OBJCOPY): New variable.
54610 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54611 * configure: Regenerated.
54612
f781ef40
RM
54613 * config.make.in (use-default-link): New variable.
54614 * configure.in (use_default_link): Grok --with-default-link to set it.
54615 * configure: Regenerated.
54616 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54617 (shlib-lds, shlib-lds-flags): Define to empty.
54618
2d4fa81e
RM
54619 * Makerules (shlib-lds): New variable.
54620 (shlib-lds-flags): New variable.
54621 (build-shlib, build-moduile, build-module-asneeded): Use it.
54622 ($(common-objpfx)libc.so): Use $(shlib-lds).
54623 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54624 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54625
31fffa6b
RM
54626 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54627 DT_FLAGS/DT_FLAGS_1 with zero flags.
54628
4e34ac6a
RM
54629 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54630 linker script munging.
54631
fcfc776b
UD
546322011-07-02 Ulrich Drepper <drepper@gmail.com>
54633
54634 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54635 as 128-bit value.
54636 * crypt/sha512.c (sha512_process_block): Perform total addition using
54637 128-bit if possible.
54638 (__sha512_finish_ctx): Likewise.
54639 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54640 as 64-bit value.
54641 * crypt/sha256.c (SWAP64): Define.
54642 (sha256_process_block): Perform total addition using 64-bit if
54643 possible.
54644 (__sha256_finish_ctx): Likewise.
54645
99231d9a
UD
546462011-07-01 Ulrich Drepper <drepper@gmail.com>
54647
54648 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54649 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54650 * nscd/hstcache.c (cache_addhst): Likewise.
54651 * nscd/grpcache.c (cache_addgr): Likewise.
54652 * nscd/aicache.c (addhstaiX): Likewise
54653 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54654
445b4a53
TK
546552011-07-01 Thorsten Kukuk <kukuk@suse.de>
54656
54657 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54659 * nscd/hstcache.c (cache_addhst): Likewise.
54660 * nscd/grpcache.c (cache_addgr): Likewise.
54661 * nscd/aicache.c (addhstaiX): Likewise
54662
6d4d8e8e
AS
546632011-07-01 Andreas Schwab <schwab@redhat.com>
54664
54665 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54666 domain only when needed.
54667
89f654c5
AS
546682011-06-30 Andreas Schwab <schwab@redhat.com>
54669
54670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54671 is always restored.
54672
cf3b23ff
UD
546732011-06-29 Ulrich Drepper <drepper@gmail.com>
54674
54675 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54676 are re-adding the entry.
54677 * nscd/servicescache.c (cache_addserv): Likewise.
54678
751626f9
AJ
546792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54680
54681 * sysdeps/generic/dl-irel.h: fix protection against multiple
54682 inclusions.
54683 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54684
9113ea1f
UD
546852011-06-28 Ulrich Drepper <drepper@gmail.com>
54686
5c0b8d90
UD
54687 [BZ #12935]
54688 * malloc/memusage.sh: Fix quoting in message.
54689 * debug/xtrace.sh: Likewise.
54690
9113ea1f
UD
54691 * configure.in: Remove support for --experimental-malloc option, make
54692 it the default.
54693 * config.make.in: Likewise.
54694 * malloc/Makefile: Likewise.
54695
a4172181
AS
546962011-06-27 Andreas Schwab <schwab@redhat.com>
54697
54698 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54699 two-byte characters.
54700
78a7eee7
RM
547012011-06-27 Roland McGrath <roland@hack.frob.com>
54702
62bede13
RM
54703 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54704 AC_CACHE_CHECK invocation.
54705 * configure: Regenerated.
54706
78a7eee7
RM
54707 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54708
5ce33a62
UD
547092011-06-27 Ulrich Drepper <drepper@gmail.com>
54710
034807a9
UD
54711 [BZ #12350]
54712 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54713 bit from old_res_options.
54714
4902da17
UD
54715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54716
5ce33a62
UD
54717 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54718 value type for setfct.
54719
c2344f56
L
547202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54721
54722 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54723 __gettimeofday instead of gettimeofday.
54724
68468076
UD
547252011-06-26 Ulrich Drepper <drepper@gmail.com>
54726
54727 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54728
acb0d739
L
547292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54730
54731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54732
54733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54734 info.
54735
8912479f
L
547362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54737
54738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54739 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54740 strcpy-sse2-unaligned strncpy-sse2-unaligned
54741 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54742 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54743 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54744 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54745 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54746 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54748 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54749 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54750 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54751 (STRCPY): Support SSE2 and SSSE3 versions.
54752
d5495a11
UD
547532011-06-24 Ulrich Drepper <drepper@gmail.com>
54754
54755 [BZ #12874]
54756 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54757 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54758 kernels which artificially limit size of requests.
54759
0b1cbaae
L
547602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54761
54762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54763 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54764 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54765 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54766 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54767 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54768 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54769 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54770 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54771 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54772 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54773 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54774 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54775 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54776 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54778 Enable unaligned load optimization for Intel Core i3, i5 and i7
54779 processors.
54780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54781 Define.
54782 (index_Fast_Unaligned_Load): Define.
54783 (HAS_FAST_UNALIGNED_LOAD): Define.
54784
07f494a0
MP
547852011-06-23 Marek Polacek <mpolacek@redhat.com>
54786
54787 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54788
fa3fc0fe
UD
547892011-06-22 Ulrich Drepper <drepper@gmail.com>
54790
54791 [BZ #12907]
54792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54793 until it is clear that the information is realy needed.
54794 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54795
e12df166
AS
547962011-06-22 Andreas Schwab <schwab@redhat.com>
54797
54798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54799
852eb34d
UD
548002011-06-22 Ulrich Drepper <drepper@gmail.com>
54801
84e2a551
UD
54802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54803 /sys/devices/system/cpu/online if it is usable.
54804
852eb34d
UD
54805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54806 reading the information from the /proc filesystem to once a second.
54807
6e502e19
UD
548082011-06-21 Andreas Jaeger <aj@suse.de>
54809
54810 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54811 NULL after inclusion of kernel headers.
54812
75d39ff2
UD
548132011-06-21 Ulrich Drepper <drepper@gmail.com>
54814
51f9aa6a
UD
54815 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54816 calls to internal_setent.
54817
c0244a9d
UD
54818 [BZ #12885]
54819 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54820 addresses using gethostbyname4_r ignore IPv4 addresses.
54821
c5e3c2ae
UD
54822 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54823 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54824
75d39ff2
UD
54825 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54826
42675c6f
DM
548272011-06-20 David S. Miller <davem@davemloft.net>
54828
54829 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54830 inclusions.
54831 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54832
54833 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54834 (elf_irel): Use it.
54835 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54836 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54837 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54838 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54839 * sysdeps/x86_64/dl-irel.h: Likewise.
54840
54841 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54842 * elf/dl-sym.c: Likewise.
54843
57912a71
UD
548442011-06-15 Ulrich Drepper <drepper@gmail.com>
54845
54846 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54847 need to dereference resplen2.
54848
ee22793d
AS
548492011-06-14 Andreas Schwab <schwab@redhat.com>
54850
54851 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54852
a9e836b0
UD
548532011-06-15 Ulrich Drepper <drepper@gmail.com>
54854
77fb9117
UD
54855 * Makeconfig: Define vardbdir and inst_vardbdir.
54856 * nss/Makefile: Add rules to install db-Makefile.
54857
40c1b22c
UD
54858 * nss/nss_db/db-XXX.c: Cleanup.
54859
9f2da732
UD
54860 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54861 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54862 GLIBC_PRIVATE.
54863 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54864 * nss/makedb.c: Implement -g option to specify that value strings
54865 are generated and should not be added to table iterated over for
54866 get*ent calls.
54867 * nss/nss_db/db-initgroups.c: New file.
54868
82e9a1f7
UD
54869 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54870 interface.
54871
c41af17e
UD
54872 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54873 (internal_getgrouplist): Adjust to name change.
54874 Update use_initgroups_entry if this is not the first call.
54875 * nss/databases.def: Add initgroups entry.
54876
a9e836b0
UD
54877 * nss/makedb.c (compute_tables): Check result of multiple hash table
54878 sizes to minimize maximum chain length.
54879
2666d441
UD
548802011-06-14 Ulrich Drepper <drepper@gmail.com>
54881
54882 * Versions.def: Add entry for libnss_db.
54883 * shlib-versions: Likewise.
54884 * nss/Makefile: Add rules to build libnss_db.
54885 * nss/Versions: Add libnss_db information. Organize libnss_files
54886 entries better.
54887 * nss/db-Makefile: Add gshadow support. Change rules for the new
54888 makedb progra. Some minor improvements to generate smaller files.
54889 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54890 here from...
54891 * nss/makedb.c: ...here.
54892 Improve database format to be smaller and require less memory at
54893 runtime.
54894 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54895 db anymore.
54896 * nss/nss_db/db-netgrp.c: Likewise.
54897 * nss/nss_db/db-open.c: Likewise.
54898 * nss/nss_files/flies-XXX.x: Adjust comments.
54899 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54900 * nss/nss_files/files-grp.c: Likewise.
54901 * nss/nss_files/files-hosts.c: Likewise.
54902 * nss/nss_files/files-network.c: Likewise.
54903 * nss/nss_files/files-proto.c: Likewise.
54904 * nss/nss_files/files-pwd.c: Likewise.
54905 * nss/nss_files/files-rpc.c: Likewise.
54906 * nss/nss_files/files-service.c: Likewise.
54907 * nss/nss_files/files-sgrp.c: Likewise.
54908 * nss/nss_files/files-spwd.c: Likewise.
54909 * nss/nss_db/db-alias.c: Removed.
54910 * nss/nss_db/dummy-db.h: Removed.
54911
9ee76b5a
UD
549122011-06-02 Ulrich Drepper <drepper@gmail.com>
54913
54914 * nss/makedb.c: Rewritten to not use database library.
54915 * nss/Makefile: Update to build new makedb program.
54916
c71ca1f8
AJ
549172011-06-14 Andreas Jaeger <aj@suse.de>
54918
54919 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54920 memset declaration.
54921
3154bfb8
UD
549222011-06-10 Andreas Schwab <schwab@redhat.com>
54923
54924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54925 tmpbuf.
54926
b350afab
RM
549272011-06-10 Roland McGrath <roland@hack.frob.com>
54928
decd4e50
RM
54929 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54930 * elf/Makefile ($(objpfx)ld.so): Likewise.
54931
5615eaf2
RM
54932 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54933 Don't list ld.so twice in dependencies.
54934
54935 * posix/bug-regex31.c: Include <stdlib.h>.
54936
54937 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54938
54939 * nis/nss_compat/compat-spwd.c
54940 (getspent_next_nss_netgr): Remove unused variable.
54941 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54942
54943 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54944 nonmembers" output to use the right array.
54945
54946 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54947
54948 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54949
54950 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54951 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54952 * catgets/gencat.c (read_input_file): Likewise.
54953 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54954
54955 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54956 variable definition inside #if's controlling its use.
54957
54958 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54959
54960 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54961
54962 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54963
54964 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54965 unreachable code.
54966
54967 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54968
b68e08db
RM
54969 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54970 * configure: Regenerated.
54971
b350afab
RM
54972 * Makerules: Revert last change.
54973 * elf/Makefile: Likewise.
54974
28368601
RM
549752011-06-09 Roland McGrath <roland@hack.frob.com>
54976
54977 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54978 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54979 (reloc-link): Likewise.
54980
11988f8f
UD
549812011-06-09 Ulrich Drepper <drepper@gmail.com>
54982
54983 * elf/Makefile: Add rules to build pldd.
54984 * elf/pldd.c: New file.
54985 * elf/pldd-xx.c: New file.
54986
e80fab37
UD
549872011-06-07 Ulrich Drepper <drepper@gmail.com>
54988
54989 * version.h: Update for 2.15 development version.
54990
9b849836
DM
549912011-06-07 David S. Miller <davem@davemloft.net>
54992
54993 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54994 ifuncs.
54995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54996 elf_machine_lazy_rel): Likewise.
54997 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54999 elf_machine_lazy_rel): Likewise.
55000 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55001 dl_hwcap via passed in argument.
55002 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55003 Likewise.
55004
5a31b283
AK
550052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55006
55007 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55008
069e52f8
RM
550092011-06-06 Roland McGrath <roland@hack.frob.com>
55010
55011 [BZ #12849]
55012 * manual/fdl-1.1.texi: New file, verbatim from:
55013 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55014 * manual/lgpl-2.1.texi: New file, verbatim from:
55015 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55016 * manual/Makefile (licenses): New variable, list those new file names.
55017 (texis): Use it.
55018 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55019
55020 * manual/fdl.texi: File removed.
55021 * manual/lesser.texi: File removed.
55022 * manual/libc.texinfo (Copying, Documentation License):
55023 Use new @include file names, put @appendix directive before @include.
55024
f16846a5
JJ
550252011-06-04 Jakub Jelinek <jakub@redhat.com>
55026
55027 [BZ #12841]
55028 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55029 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55030 (mq_open): Add __NTH.
55031
3d29045b
L
550322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55033
55034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55035 Assume Intel Core i3/i5/i7 processor if AVX is available.
55036
8c297311
UD
550372011-05-31 Ulrich Drepper <drepper@gmail.com>
55038
55039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55040 typo.
55041
c8fc0c91
UD
550422011-05-31 Andreas Schwab <schwab@redhat.com>
55043
55044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55045 memory. Use alloca_account. Fix memory leak when retrying.
55046
5b27a807
UD
550472011-05-31 Ulrich Drepper <drepper@gmail.com>
55048
356f8bc6
UD
55049 * version.h (RELEASE): Bump for 2.14 release.
55050 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55051
5b27a807
UD
55052 * config.make.in (RANLIB): Remove entry.
55053
01f16ab0
UD
550542011-05-30 Ulrich Drepper <drepper@gmail.com>
55055
41fce8bd
UD
55056 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55057 (libc.pot): Work around missing support for .ksh extension in xgettext.
55058
4769ae77
UD
55059 [BZ #12684]
55060 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55061 if both request failed.
55062 (send_dg): In case of server errors clear resplen or *resplen2.
55063
6b1e7d19
UD
55064 [BZ #12454]
55065 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55066 when there are multiple maps.
55067 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55068 (_dl_fini): Remove test here.
55069
01f16ab0
UD
55070 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55071
b1ebd700
UD
550722011-05-29 Ulrich Drepper <drepper@gmail.com>
55073
7ae22829
UD
55074 [BZ #12350]
55075 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55076 bit from old_res_options.
55077 (gaih_inet): Likewise.
55078
553149f6 55079 [BZ #11099]
18a84741 55080 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55081 as signed.
55082
652ffab1
UD
55083 * resolv/res_init.c (res_setoptions): Make the code more compact.
55084
16985fd0
UD
55085 [BZ #11558]
55086 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55087 set RES_USEVC.
55088
0464f746
UD
55089 [BZ #11634]
55090 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55091
7d17596c
UD
55092 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55093
cf6bbbd7
UD
55094 [BZ #11781]
55095 * malloc/malloc.h: Declare malloc hook variables as volatile.
55096
13f1ab36
UD
55097 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55098 in last patch.
55099
b1ebd700
UD
55100 [BZ #11799]
55101 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55102 raise in the comment.
80e2212d
UD
55103 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55105 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55106
ce67228d
UD
551072011-05-28 Ulrich Drepper <drepper@gmail.com>
55108
8887a920
UD
55109 [BZ #12811]
55110 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55111 grow the buffers more if it already has to be sufficient.
55112 (build_wcs_upper_buffer): Likewise.
55113 * posix/regexec.c (check_matching): Likewise.
55114 (clean_state_log_if_needed): Likewise.
55115 (extend_buffers): Don't enlarge buffers beyond size of the input
55116 buffer.
55117 Patches mostly by Emil Wojak <emil@wojak.eu>.
55118 * posix/bug-regex32.c: New file.
55119 * posix/Makefile (tests): Add bug-regex32.
55120
4f031072
UD
55121 * locale/findlocale.c (_nl_find_locale): Return right away if
55122 _nl_explode_name failed.
55123 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55124
d0478f0c
UD
55125 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55126
de81b246
UD
55127 * debug/xtrace.sh: Unify messages.
55128 * malloc/memusage.sh: Likewise.
55129
c738465a
UD
55130 [BZ #12813]
55131 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55132 time symbol from vDSO. Substitute with vsyscall if not available.
55133 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55134 __vdso_time.
55135
f1f929d7
UD
55136 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55137 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55138 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55139 Add sendmmsg and internal_sendmmsg.
55140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55141 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55143
ce67228d
UD
55144 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55145 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55147
e57420c6
UD
551482011-05-27 Ulrich Drepper <drepper@gmail.com>
55149
a8509ca5
UD
55150 [BZ #12813]
55151 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55152 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55153 available.
55154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55155 __vdso_getcpu.
55156
e57420c6
UD
55157 [BZ #12814]
55158 * iconvdata/Makefile (tests): Add bug-iconv9.
55159 * iconvdata/bug-iconv9.c: New file.
55160
4d07db15
AS
551612011-05-27 Andreas Schwab <schwab@redhat.com>
55162
55163 [BZ #12814]
55164 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55165
ea486f69
JJ
551662011-05-25 Jakub Jelinek <jakub@redhat.com>
55167
55168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55169 (struct user_regs_struct): Change intcs field back to cs.
55170
6f038433
UD
551712011-05-25 Ulrich Drepper <drepper@gmail.com>
55172
55173 * po/ja.po: Update from translation team.
55174
67f86a25
UD
551752011-05-23 Ulrich Drepper <drepper@gmail.com>
55176
55177 [BZ #12795]
55178 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55179 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55180
def7fbd6
AS
551812011-05-20 Andreas Schwab <schwab@redhat.com>
55182
55183 * stdlib/longlong.h: Update from GCC.
55184
f50ef8f1
AS
551852011-05-23 Andreas Schwab <schwab@redhat.com>
55186
55187 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55188 parameter name.
55189 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55190 Add parameter name.
55191 (__sysconf): Pass it down.
55192
de7ce8f1
UD
551932011-05-22 Ulrich Drepper <drepper@gmail.com>
55194
f2962a71
UD
55195 [BZ #12671]
55196 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55197 some situations.
55198 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55199 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55200 add in in __libc_use_alloca calls. Adjust callers.
55201 (glob): Use malloc in some situations.
55202
de7ce8f1
UD
55203 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55204 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55205 pltexit.
55206
aec84f53
UD
552072011-05-21 Ulrich Drepper <drepper@gmail.com>
55208
05bb4a68
UD
55209 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55210 and CLOCK_BOOTTIME_ALARM.
55211
7ea72f99
UD
55212 [BZ #12782]
55213 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55214 is returned.
55215
7e4afad5
UD
55216 * string/_strerror.c (__strerror_r): Print negative errors as signed
55217 numbers.
55218
8e211fec
UD
55219 [BZ #12777]
55220 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55221 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55222 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55223
f7d82dc9
UD
55224 * configure.in: Fix typo in redirection and correct removal of test
55225 files in two cases.
55226
cc9e536d
UD
55227 [BZ #12788]
55228 * locale/setlocale.c (new_composite_name): Fix test to check for
55229 identical name of all categories.
55230
aec84f53
UD
55231 [BZ #12792]
55232 * libio/filedoalloc.c (local_isatty): New function.
55233 (_IO_file_doallocate): Use local_isatty.
55234 * stdio-common/perror.c (perror): In case a new stream is used
55235 forward the stream error.
55236 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55237 error flag.
55238
78e64fdc
RT
552392011-05-20 Ulrich Drepper <drepper@gmail.com>
55240
34a9094f
UD
55241 [BZ #11869]
55242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55243 alloca.
55244 * include/alloca.h (extend_alloca_account): Define.
55245
78e64fdc
RT
55246 [BZ #11857]
55247 * posix/regex.h: Fix comments with documentation of user-accessible
55248 fields after compilation and describe correct free'ing of pattern
55249 after re_compile_pattern.
55250 Patch by Reuben Thomas <rrt@sc3d.org>.
55251
457bddfc
RA
552522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55253
55254 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55255 and -mno-altivec to prevent the compiler from using Altivec and/or
55256 VSX instructions when the corresponding registers are not available.
55257
a4527b51
AS
552582011-05-19 Andreas Schwab <schwab@redhat.com>
55259
55260 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55261
ed690b2f
UD
552622011-05-19 Ulrich Drepper <drepper@gmail.com>
55263
55264 * libio/freopen.c (freopen): Use __dup2, not dup2.
55265 * libio/freopen64.c (freopen64): Likewise.
55266
8db73634
L
552672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55268
55269 [BZ #12775]
55270 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55271 * math/Makefile (tests): Add test-powl.
55272 (CFLAGS-test-powl.c): Define.
55273 * math/test-powl.c: New file.
55274
0a197a9d
L
552752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55276
55277 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55278
ee30c380
UD
552792011-05-17 Ulrich Drepper <drepper@gmail.com>
55280
55281 [BZ #11837]
55282 * iconvdata/gb18030.c: Update to GB18020-2005.
55283
6ce75379
UD
552842011-05-16 Ulrich Drepper <drepper@gmail.com>
55285
a4b89fd8
AR
55286 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55287 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55288 Patch by Aharon Robbins <arnold@skeeve.com>.
55289
ea389b12
UD
55290 [BZ #11892]
55291 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55292 on the stack.
55293
68a3f91f
UD
55294 [BZ #11895]
55295 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55296 through underflows.
55297
15cc7dd1
UD
55298 [BZ #12766]
55299 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55300 point to strings before performing equality test for error_one_per_line
55301 mode.
55302
f3799213
UD
55303 [BZ #11697]
55304 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55305
d79a9c94
UD
55306 [BZ #11820]
55307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55308 (struct user_fpregs_struct): Avoid __uint*_t types.
55309
56e5eb46
UD
55310 [BZ #6420]
55311 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55312 symbol info. Use it instead of calling _dl_addr locally.
55313 (lock_and_info): New function.
55314 (tr_freehook): Call lock_and_info and pass symbol info as additional
55315 parameter to tr_where.
55316 (tr_mallochook): Likewise.
55317 (tr_reallochook): Likewise.
55318 (tr_memalignhook): Likewise.
55319
6ce75379
UD
55320 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55321 used and couldn't be at all thread-safe.
55322
f8a3b5bf
UD
553232011-05-15 Ulrich Drepper <drepper@gmail.com>
55324
94b7cc37
UD
55325 * libio/freopen.c (freopen): Don't close old file descriptor
55326 before the new one is opened. Instead dup the new file descriptor
55327 to the old one after the new stream is created.
55328 * libio/freopen64.c (freopen64): Likewise.
55329 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55330 * libio/fileops.c (_IO_new_file_close_it): Handle new
55331 _IO_FLAGS2_NOCLOSE flag.
55332 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55333 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55334 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55335 _IO_FLAGS2_NOCLOSE flag.
55336 * include/unistd.h: Add hidden_proto for dup3.
55337 Define __have_dup3.
55338 * io/dup3.c: Define hidden symbol.
55339 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55340
bd25564e
UD
55341 [BZ #7101]
55342 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55343 when an incomplete long option is used.
55344 * posix/tst-getopt_long1.c: New file.
55345 * posix/Makefile (tests): Add tst-getopt_long1.
55346
c84cfef4
UD
55347 [BZ #10138]
55348 * scripts/config.guess: Update from autoconf-2.68.
55349 * scripts/config.sub: Likewise.
55350
3b85df27
UD
55351 [BZ #10157]
55352 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55353 tests into ...
55354 (has_cpuclock): ...this. New function.
55355 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55356 macro here based on has_cpuclock code.
55357
15a856b1
UD
55358 [BZ #10149]
55359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55360 First byte (not low byte) is now always NUL.
55361 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55362
05f399e6
UD
55363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55364 Use non-cancelable interfaces.
55365
10a52685 55366 [BZ #9809]
94ecc67d
UD
55367 * locale/iso-639.def: Add entry for Sorani.
55368
f8a3b5bf
UD
55369 [BZ #11901]
55370 * include/stdlib.h: Move include protection to the right place.
55371 Define abort_msg_s. Declare __abort_msg with it.
55372 * stdlib/abort.c (__abort_msg): Adjust type.
55373 * assert/assert.c (__assert_fail_base): New function. Majority
55374 of code from __assert_fail. Allocate memory for __abort_msg with
55375 mmap.
55376 (__assert_fail): Now call __assert_fail_base.
55377 * assert/assert-perr.c: Remove bulk of implementation. Use
55378 __assert_fail_base.
55379 * include/assert.hL Declare __assert_fail_base.
55380 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55381 mmap.
55382 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55383
1af4e298
UD
553842011-05-14 Ulrich Drepper <drepper@gmail.com>
55385
f8a3b5bf 55386 [BZ #11952]
d26dfc60
MG
55387 [BZ #12453]
55388 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55389 until all modules are registered in the DTV.
55390 * elf/Makefile: Add rules to build and run tst-tls19.
55391 * elf/tst-tls19.c: New file.
55392 * elf/tst-tls19mod1.c: New file.
55393 * elf/tst-tls19mod2.c: New file.
55394 * elf/tst-tls19mod3.c: New file.
55395 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55396
2fc54d6f
UD
55397 [BZ #12083]
55398 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55399 correctly.
55400
98d76b46
UD
55401 [BZ #12601]
55402 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55403 two-byte sequence errors.
55404 * iconvdata/Makefile (tests): Add bug-iconv8.
55405 * iconvdata/bug-iconv8.c: New file.
55406
da3c19ef
UD
55407 [BZ #12626]
55408 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55409 buf2 definition.
55410
ca408c15
UD
55411 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55412
d6f67f7d
UD
55413 [BZ #12432]
55414 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55415 (dummy_getcfa): New function.
55416 (init): Get _Unwind_GetCFA address, use dummy if not found.
55417 (backtrace_helper): In recursion check, also check whether CFA changes.
55418 (__backtrace): Completely initialize arg.
55419
1af4e298 55420 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55421 storing incomplete byte sequence in state object. Avoid testing for
55422 guaranteed too small input if we know there is enough data available.
1af4e298 55423
da62f81b
AS
554242011-05-11 Andreas Schwab <schwab@redhat.com>
55425
55426 * Makeconfig (+link-pie): Indent.
55427 * Rules (binaries-pie): Define if $(have-fpie) and
55428 $(build-shared).
55429 (binaries-shared): Also filter out $(binaries-pie).
55430 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55431 * nscd/Makefile (others-pie): Add nscd.
55432 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55433 ($(objpfx)nscd): Remove command override.
55434 * login/Makefile (others-pie): Add pt_chown.
55435 ($(objpfx)pt_chown): Remove command override.
55436 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55437 remove command overrides.
55438
fcabc0f8
UD
554392011-05-13 Ulrich Drepper <drepper@gmail.com>
55440
20030ae6
UD
55441 * libio/tst_putwc.c: Fix error messages.
55442
fcabc0f8
UD
55443 [BZ #12724]
55444 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55445 currently writing and seek to current position when not.
55446 * libio/Makefile (tests): Add bug-fclose1.
55447 * libio/bug-fclose1.c: New file.
55448
320a5dc0
PB
554492011-05-12 Ulrich Drepper <drepper@gmail.com>
55450
55451 [BZ #12511]
55452 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55453 don't set DF_1_NODELETE here.
55454 (do_lookup_x): When entering new entry test for copy relocation
55455 and if necessary set DF_1_NODELETE flag.
55456 * elf/tst-unique4.cc: New file.
55457 * elf/tst-unique4.h: New file.
55458 * elf/tst-unique4lib.cc: New file.
55459 * elf/Makefile: Add rules to build and run tst-unique4.
55460 Patch by Piotr Bury <pbury@goahead.com>.
55461
22836f52
UD
554622011-05-11 Ulrich Drepper <drepper@gmail.com>
55463
f574184a
UD
55464 [BZ #12052]
55465 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55466
e1fb097f
UD
55467 [BZ #12625]
55468 * misc/mntent_r.c (addmntent): Flush the stream after the output
55469
22836f52
UD
55470 [BZ #12393]
55471 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55472 (is_trusted_path_normalize): Skip initial colon. Append slash
55473 to empty buffer. Duplicate is_trusted_path code but allow
55474 constructed patch to be prefix.
55475 (is_dst): Allow $ORIGIN followed by /.
55476 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55477 Correct testing of result of is_trusted_path_normalize
55478 (decompose_rpath): Fix warning.
55479
7b3b0b2a
UD
554802011-05-10 Ulrich Drepper <drepper@gmail.com>
55481
55482 [BZ #11257]
55483 * grp/initgroups.c (internal_getgrouplist): When we found the service
55484 list through the initgroups entry in nsswitch.conf do not always
55485 continue on a successful lookup. Don't always use the
eac80ce2 55486 __nss_group_database value if it is set.
7b3b0b2a
UD
55487 * nss/nsswitch.conf (initgroups): Change action for successful db
55488 lookup to continue for compatibility.
55489
2a81eaa5
UD
554902011-05-09 Ulrich Drepper <drepper@gmail.com>
55491
be97a69e
UD
55492 [BZ #11532]
55493 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55494 and CP774 modules.
55495 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55496 and CP774 modules.
55497 * iconvdata/tst-tables.sh: Likewise.
55498 * iconvdata/cp770.c: New file.
55499 * iconvdata/cp771.c: New file.
55500 * iconvdata/cp772.c: New file.
55501 * iconvdata/cp773.c: New file.
55502 * iconvdata/cp774.c: New file.
55503 * iconvdata/testdata/CP770: New file.
55504 * iconvdata/testdata/CP770..UTF8: New file.
55505 * iconvdata/testdata/CP771: New file.
55506 * iconvdata/testdata/CP771..UTF8: New file.
55507 * iconvdata/testdata/CP772: New file.
55508 * iconvdata/testdata/CP772..UTF8: New file.
55509 * iconvdata/testdata/CP773: New file.
55510 * iconvdata/testdata/CP773..UTF8: New file.
55511 * iconvdata/testdata/CP774: New file.
55512 * iconvdata/testdata/CP774..UTF8: New file.
55513
55514 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55515 END CHARMAP line.
55516 * iconvdata/gen-8bit-gap.sh: Likewise.
55517 * iconvdata/gen-8bit.sh: Likewise.
55518
c1e9e399
UD
55519 * locale/iso-639.def: Add ary entry.
55520
24c55fb3 55521 [BZ #11258]
96b4b1b0
UD
55522 * locale/C-translit.h.in: Add U20A1 transliteration.
55523
bdc2f971
KB
55524 [BZ #12178]
55525 * locale/iso-639.def: Add wae entry.
55526 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55527
2952b117
UD
55528 [BZ #12545]
55529 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55530 for n.
55531
2a81eaa5
UD
55532 [BZ #12711]
55533 * locale/C-translit.h.in: Add entry for U20B9.
55534 Patch by pravin.d.s@gmail.com.
55535
28377d1b
UD
555362011-05-08 Ulrich Drepper <drepper@gmail.com>
55537
7fb90fb8
UD
55538 [BZ #12713]
55539 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55540 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55541 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55542 in rtld. Use *stat64.
7fb90fb8 55543 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55544 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55545 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55546 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55547 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55548 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55549 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55550 __fstatat64 macros.
7fb90fb8
UD
55551 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55552 * dirent/rewinddir.c: Add libc_hidden_def.
55553 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55554 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55555
28377d1b
UD
55556 * include/dirent.h (__alloc_dir): Add flags parameter.
55557 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55558 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55559 __alloc_dir.
55560 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55561 from fdopendir if O_CLOEXEC is already set.
55562
66bdbaa4
AM
555632011-03-15 Alan Modra <amodra@gmail.com>
55564
55565 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55566 l_tls_firstbyte_offset non-zero. Save padding offset in
55567 l_tls_firstbyte_offset for later use.
55568 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55569 freeing static tls block.
55570
95721191
JN
555712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55572
55573 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55574 where #ifdef was intended. The intent is to prevent ARG_MAX from
55575 being defined by the kernel headers.
55576
f87dfb1f
UD
555772011-05-07 Ulrich Drepper <drepper@gmail.com>
55578
55579 [BZ #12734]
55580 * resolv/resolv.h: Define RES_NOTLDQUERY.
55581 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55582 no-tld-query and set RES_NOTLDQUERY.
55583 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55584 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55585 modern BIND to search name as TLD unless forbidden.
55586
47c3cd7a
UD
555872011-05-07 Petr Baudis <pasky@suse.cz>
55588 Ulrich Drepper <drepper@gmail.com>
55589
55590 [BZ #12393]
55591 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55592 (is_trusted_path): ...to here.
c1e9ea35 55593 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55594 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55595 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55596
8a35c912
PP
555972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55598
55599 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55600 __BEGIN/__END_DECLS.
55601
acd41f47
UD
556022011-05-06 Ulrich Drepper <drepper@gmail.com>
55603
55604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55605 NSS_STATUS_NOTFOUND if no record was found.
55606
597df647
AS
556072011-05-05 Andreas Schwab <schwab@redhat.com>
55608
55609 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55610 (headers-not-in-tirpc): Remove rpc/netdb.h
55611 * resolv/netdb.h: Revert last change.
55612
b9af1301
PP
556132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55614
55615 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55616 circular dependency between libgcc.a and libc.a.
55617
4e34d5f5
AS
556182011-05-05 Andreas Schwab <schwab@redhat.com>
55619
55620 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55621 * nis/Makefile: Don't install rpcsvc/*.
55622 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55623 instead of <rpc/types.h>.
55624 (MAXHOSTNAMELEN): Define.
55625
00ee369c
AS
556262011-05-03 Andreas Schwab <schwab@redhat.com>
55627
55628 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55629
0b592a30
MB
556302011-04-28 Maciej Babinski <mbabinski@google.com>
55631
55632 [BZ #12714]
55633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55634 gethostbyname4_r when IPv6 results are possible.
55635
6e04cbbe
UD
556362011-05-02 Ulrich Drepper <drepper@gmail.com>
55637
55638 [BZ #12723]
55639 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55640 _PC_PIPE_BUF handling.
55641
e4ecafe0
BH
556422011-04-30 Bruno Haible <bruno@clisp.org>
55643
55644 [BZ #12717]
55645 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55646 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55647 to 'int'.
55648 * inet/getnameinfo.c (getnameinfo): Likewise.
55649
125ee683
UD
556502011-04-29 Ulrich Drepper <drepper@gmail.com>
55651
55652 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55653 to groups setting in database lookup.
55654 * nss/nsswitch.conf: Add initgroups entry.
55655
b722481a
EB
556562011-04-22 Ulrich Drepper <drepper@gmail.com>
55657
55658 [BZ #12685]
55659 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55660 mode string.
55661 Patch by Eric Blake <eblake@redhat.com>.
55662
4df46dbd
L
556632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55664
55665 * sunrpc/Makefile (need-export-routines): Add svc_run.
55666 (routines): Remove svc_run.
55667 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55668 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55669 * sunrpc/svc_run.c (svc_run): Likewise.
55670 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55671
e84142d2
UD
556722011-04-21 Ulrich Drepper <drepper@gmail.com>
55673
55674 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55675 problem in reallocation in last patch.
55676
877175d8
UD
556772011-04-20 Ulrich Drepper <drepper@gmail.com>
55678
55679 * sunrpc/Makefile: Move inclusion of Rules.
55680
ab8eed78
UD
556812011-04-19 Ulrich Drepper <drepper@gmail.com>
55682
55683 * nss/nss_files/files-initgroups.c: New file.
55684 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55685 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55686 _nss_files_initgroups_dyn.
55687
e3d8f584
RS
556882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55689
55690 * elf/elf.h (R_ARM_IRELATIVE): Define.
55691
af190f45
UD
556922011-04-19 Ulrich Drepper <drepper@gmail.com>
55693
55694 * po/ru.po: Update from translation team.
55695
53cf59ef
UD
556962011-04-17 Ulrich Drepper <drepper@gmail.com>
55697
55698 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55699 dependencies.
55700
4c559bcd
MF
557012011-02-06 Mike Frysinger <vapier@gentoo.org>
55702
55703 [BZ #12653]
55704 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55705 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55706 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55709
4420675c
AS
557102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55711
55712 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55713 differing bytes.
55714 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55717
75ea32ab
UD
557182011-04-17 Ulrich Drepper <drepper@gmail.com>
55719
55720 [BZ #12420]
55721 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55722 storing it.
55723 * stdlib/bug-getcontext.c: New file.
55724 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55725
27390476
AK
557262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55727
55728 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55729 instructions into .machine "z9-109".
55730 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55731 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55732
10442705
AK
557332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55734
55735 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55736 between environment variables and auxiliary vector.
55737
7b57bfe5
UD
557382011-04-16 Ulrich Drepper <drepper@gmail.com>
55739
55740 * Makefile: Add rules to build linkobj/libc.so.
55741 * include/libc-symbols.h: Define libc_hidden_nolink.
55742 * include/rpc/auth.h: Mark functions which are to be hidden.
55743 * include/rpc/auth_des.h: Likewise.
55744 * include/rpc/auth_unix.h: Likewise.
55745 * include/rpc/clnt.h: Likewise.
55746 * include/rpc/des_crypt.h: Likewise.
55747 * include/rpc/key_prot.h: Likewise.
55748 * include/rpc/pmap_clnt.h: Likewise.
55749 * include/rpc/pmap_prot.h: Likewise.
55750 * include/rpc/pmap_rmt.h: Likewise.
55751 * include/rpc/rpc_msg.h: Likewise.
55752 * include/rpc/svc.h: Likewise.
55753 * include/rpc/svc_auth.h: Likewise.
55754 * include/rpc/xdr.h: Likewise.
55755 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55756 * nss/Makefile: Likewise.
55757 * sunrpc/Makefile: Don't install headers. Build library with normal
55758 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55759 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55760 for the compat linking library. Remove use of INTDEF/INTUSE.
55761 * sunrpc/auth_none.c: Likewise.
55762 * sunrpc/auth_unix.c: Likewise.
55763 * sunrpc/authdes_prot.c: Likewise.
55764 * sunrpc/authuxprot.c: Likewise.
55765 * sunrpc/clnt_gen.c: Likewise.
55766 * sunrpc/clnt_perr.c: Likewise.
55767 * sunrpc/clnt_raw.c: Likewise.
55768 * sunrpc/clnt_simp.c: Likewise.
55769 * sunrpc/clnt_tcp.c: Likewise.
55770 * sunrpc/clnt_udp.c: Likewise.
55771 * sunrpc/clnt_unix.c: Likewise.
55772 * sunrpc/des_crypt.c: Likewise.
55773 * sunrpc/des_soft.c: Likewise.
55774 * sunrpc/get_myaddr.c: Likewise.
55775 * sunrpc/key_call.c: Likewise.
55776 * sunrpc/key_prot.c: Likewise.
55777 * sunrpc/netname.c: Likewise.
55778 * sunrpc/pm_getmaps.c: Likewise.
55779 * sunrpc/pm_getport.c: Likewise.
55780 * sunrpc/pmap_clnt.c: Likewise.
55781 * sunrpc/pmap_prot.c: Likewise.
55782 * sunrpc/pmap_prot2.c: Likewise.
55783 * sunrpc/pmap_rmt.c: Likewise.
55784 * sunrpc/publickey.c: Likewise.
55785 * sunrpc/rpc_cmsg.c: Likewise.
55786 * sunrpc/rpc_common.c: Likewise.
55787 * sunrpc/rpc_dtable.c: Likewise.
55788 * sunrpc/rpc_prot.c: Likewise.
55789 * sunrpc/rpc_thread.c: Likewise.
55790 * sunrpc/rtime.c: Likewise.
55791 * sunrpc/svc.c: Likewise.
55792 * sunrpc/svc_auth.c: Likewise.
55793 * sunrpc/svc_authux.c: Likewise.
55794 * sunrpc/svc_raw.c: Likewise.
55795 * sunrpc/svc_run.c: Likewise.
55796 * sunrpc/svc_simple.c: Likewise.
55797 * sunrpc/svc_tcp.c: Likewise.
55798 * sunrpc/svc_udp.c: Likewise.
55799 * sunrpc/svc_unix.c: Likewise.
55800 * sunrpc/svcauth_des.c: Likewise.
55801 * sunrpc/xcrypt.c: Likewise.
55802 * sunrpc/xdr.c: Likewise.
55803 * sunrpc/xdr_array.c: Likewise.
55804 * sunrpc/xdr_float.c: Likewise.
55805 * sunrpc/xdr_intXX_t.c: Likewise.
55806 * sunrpc/xdr_mem.c: Likewise.
55807 * sunrpc/xdr_rec.c: Likewise.
55808 * sunrpc/xdr_ref.c: Likewise.
55809 * sunrpc/xdr_sizeof.c: Likewise.
55810 * sunrpc/xdr_stdio.c: Likewise.
55811
e6c61494
UD
558122011-04-10 Ulrich Drepper <drepper@gmail.com>
55813
55814 [BZ #12650]
55815 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55816 * sysdeps/ia64/dl-tls.h: Likewise.
55817 * sysdeps/powerpc/dl-tls.h: Likewise.
55818 * sysdeps/s390/dl-tls.h: Likewise.
55819 * sysdeps/sh/dl-tls.h: Likewise.
55820 * sysdeps/sparc/dl-tls.h: Likewise.
55821 * sysdeps/x86_64/dl-tls.h: Likewise.
55822 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55823
34fe483e
AS
558242011-03-14 Andreas Schwab <schwab@redhat.com>
55825
55826 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55827 rpath element also skip the following colon.
55828 (expand_dynamic_string_token): Add is_path parameter and pass
55829 down to DL_DST_REQUIRED and _dl_dst_substitute.
55830 (decompose_rpath): Call expand_dynamic_string_token with
55831 non-zero is_path. Ignore empty rpaths.
55832 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55833 with zero is_path.
55834
f12a32e6
AS
558352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55836
55837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55838 Make cancelable.
55839
38a7d692
UD
558402011-04-09 Ulrich Drepper <drepper@gmail.com>
55841
55842 [BZ #12655]
55843 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55844 Patch by Filipe David Manana <fdmanana@apache.org>.
55845
e451d22b
AS
558462011-04-07 Andreas Schwab <schwab@redhat.com>
55847
55848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55849 Maintain aligned stack.
55850 (CHECK_RSP): Remove unused macro.
55851
dedc7c7b
UD
558522011-04-03 Ulrich Drepper <drepper@gmail.com>
55853
55854 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55856
94521213
UD
558572011-04-02 Ulrich Drepper <drepper@gmail.com>
55858
55859 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55860
8cb700c0 55861 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55862
0354e355
L
558632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55864
55865 [BZ #12518]
55866 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55867 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55868 * sysdeps/x86_64/memmove.c: New file.
55869 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55870 (memcpy): Renamed to ...
55871 (__new_memcpy): This.
55872 (memcpy): Provide GLIBC_2_14 memcpy.
55873 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55874 (memcpy): Provide GLIBC_2_2_5 memcpy.
55875
8593482f
UD
558762011-04-01 Ulrich Drepper <drepper@gmail.com>
55877
55878 [BZ #12631]
55879 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55880
81a5726b
AS
558812011-03-30 Andreas Schwab <schwab@redhat.com>
55882
55883 * misc/syncfs.c: New file.
55884 * misc/Makefile (routines): Add syncfs.
55885 * posix/unistd.h: Declare syncfs.
55886 * sysdeps/unix/syscalls.list: Add syncfs.
55887
00e5419f
AS
558882011-04-01 Andreas Schwab <schwab@redhat.com>
55889
55890 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55891 open_by_handle_at.
55892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55895 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55897 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55899
748876bf
UD
559002011-04-01 Ulrich Drepper <drepper@gmail.com>
55901
658e451d
UD
55902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55904 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55909
748876bf
UD
55910 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55911 sync_file_range.c with -fexceptions.
55912 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55913 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55914 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55915 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55916 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55917 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55919 sync_file_range as cancellation point
55920 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55921 now a wrapper around __call_sync_file_range with cancellation handling.
55922 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55923 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55924 function name to __call_sync_file_range.
55925 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55926 Add call_sync_file_range.
748876bf 55927
6e63d5e1
AS
559282011-04-01 Andreas Schwab <schwab@redhat.com>
55929
55930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55931 bits/timex.h.
6e63d5e1 55932
46998f74
UD
559332011-04-01 Ulrich Drepper <drepper@gmail.com>
55934
4c1423ed
UD
55935 * iconv/iconv.h: Fix typo in comment.
55936 * io/fcntl.h: Likewise.
55937 * libio/stdio.h: Likewise.
55938 * posix/spawn.h: Likewise.
55939 * posix/unistd.h: Likewise.
55940 * stdlib/stdlib.h: Likewise.
55941 * time/time.h: Likewise.
55942 * wcsmbs/wchar.h: Likewise.
55943
158648c0
UD
55944 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55945 open_by_handle): Add.
55946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55947 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55948 Augment a few comments.
55949 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55951 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55952 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55953 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55954 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55955 open_by_handle.
55956
46998f74
UD
55957 * io/fcntl.h (AT_EMPTY_PATH): Define.
55958
83fe108b
UD
559592011-03-30 Ulrich Drepper <drepper@gmail.com>
55960
55961 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55962 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55963 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55964 to...
55965 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55966 * Versions.def: Add GLIBC_2.14.
55967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55968 Export.
83fe108b 55969
bb242059
UD
559702011-03-22 Ulrich Drepper <drepper@gmail.com>
55971
55972 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55973 round counter.
55974 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55975
c97a1282
L
559762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55977
55978 [BZ #12597]
55979 * string/test-strncmp.c (do_page_test): New function.
55980 (check2): Likewise.
55981 (test_main): Call check2.
55982 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55983
2a115601
UD
559842011-03-20 Ulrich Drepper <drepper@gmail.com>
55985
55986 [BZ #12587]
55987 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55988 Handle cache information in CPU leaf 4.
55989 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55990
8126d904
UD
559912011-03-18 Ulrich Drepper <drepper@gmail.com>
55992
042c49c6 55993 [BZ #12583]
8126d904
UD
55994 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55995 character representation.
55996 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55997
ccfe366e
RA
559982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55999
56000 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56001 END(__isnan) to END(__isnanf) to match function entry point/label
56002 EALIGN(__isnanf,...).
56003
c6e13027
JJ
560042011-03-10 Jakub Jelinek <jakub@redhat.com>
56005
56006 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56007
33f85a3f
UD
560082011-03-10 Ulrich Drepper <drepper@gmail.com>
56009
028478fa
UD
56010 [BZ #12510]
56011 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56012 copy from the symbol referenced in the relocation to initialize the
56013 used variable.
56014 Patch by Piotr Bury <pbury@goahead.com>.
56015 * elf/Makefile: Add rules to build and tst-unique3.
56016 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56017 * elf/tst-unique3.cc: New file.
56018 * elf/tst-unique3.h: New file.
56019 * elf/tst-unique3lib.cc: New file.
56020 * elf/tst-unique3lib2.cc: New file.
56021
33f85a3f
UD
56022 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56023
03592fc7
MF
560242011-03-10 Mike Frysinger <vapier@gentoo.org>
56025
56026 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56027 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56028 to _start.
03592fc7 56029
6a5ee102
UD
560302011-03-06 Ulrich Drepper <drepper@gmail.com>
56031
56032 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56033 to-be-loaded object along a path to loader is ld.so.
56034
7e4ba49c
HJ
560352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56036 Ulrich Drepper <drepper@gmail.com>
56037
56038 * sysdeps/x86_64/memset.S: After aligning destination, code
56039 branches to different locations depending on the value of
56040 misalignment, when multiarch is enabled. Fix this.
56041
560422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56043
56044 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56045 Set _x86_64_preferred_memory_instruction for AMD processsors.
56046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56047 Set bit_Prefer_SSE_for_memop for AMD processors.
56048
13a804de
UD
560492011-03-04 Ulrich Drepper <drepper@gmail.com>
56050
56051 * libio/fmemopen.c (fmemopen): Optimize a bit.
56052
9d25c392
AS
560532011-03-03 Andreas Schwab <schwab@redhat.com>
56054
56055 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56056
a5543c6a
RM
560572011-03-03 Roland McGrath <roland@redhat.com>
56058
56059 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56060
012d35f7
DM
560612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56062
7e4ba49c 56063 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56064 __bzero_ultra1 instead of __memset_ultra1.
56065
4bff6e01
AS
560662011-02-23 Andreas Schwab <schwab@redhat.com>
56067 Ulrich Drepper <drepper@gmail.com>
56068
56069 [BZ #12509]
56070 * include/link.h (struct link_map): Add l_orig_initfini.
56071 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56072 returning unsuccessfully.
56073 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56074 close of a file loaded at startup, restore the original l_initfini
56075 list.
56076 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56077 list, store the pointer.
56078 * elf/Makefile ($(objpfx)noload-mem): New rule.
56079 (noload-ENV): Define.
56080 (tests): Add $(objpfx)noload-mem.
56081 * elf/noload.c: Include <memcheck.h>.
56082 (main): Call mtrace. Close all opened handles.
56083
f2092faf
AS
560842011-02-17 Andreas Schwab <schwab@redhat.com>
56085
56086 [BZ #12454]
56087 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56088 dependencies are missing.
56089
6c8a2e88
ST
560902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56091
f2092faf 56092 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56093 Hurd needs munmap.
56094 * sysdeps/mach/hurd/ifreq.h: New file.
56095
84a42118
PB
560962011-01-27 Petr Baudis <pasky@suse.cz>
56097 Ulrich Drepper <drepper@gmail.com>
56098
071f805e 56099 [BZ 12445]#
84a42118
PB
56100 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56101 to extend_alloca().
56102 * stdio-common/bug23.c: New file.
56103 * stdio-common/Makefile (tests): Add bug23.
56104
e23fe25b
AS
561052010-09-28 Andreas Schwab <schwab@redhat.com>
56106 Ulrich Drepper <drepper@gmail.com>
56107
56108 [BZ #12489]
56109 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56110 before performing relro protection. At old place add assertion
56111 to make sure nothing changed.
56112
d3f02e10
NS
561132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56114 Glauber de Oliveira Costa <glommer@gmail.com>
56115
56116 * elf/elf.h: Add new ARM TLS relocs.
56117
d55fd7a5
RA
561182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56119
56120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56121 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56122 cast from r3.
56123 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56124 'tests' variable.
56125 * sysdeps/wordsize-64/tst-writev.c: New file.
56126
2206397e
RA
561272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56128
56129 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56130 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56131 insns in _dl_start to prevent a TOC reference before relocs are
56132 resolved.
56133
e9433893
UD
561342011-02-15 Ulrich Drepper <drepper@gmail.com>
56135
56136 [BZ #12469]
56137 * Makeconfig: Remove RANLIB definition.
56138 * Makerules: Don't use RANLIB.
56139 * aclocal.m4: Remove ranlib test.
56140 * configure.in: No need to check for ranlib.
56141 * elf/rtld-Rules: Don't use RANLIB.
56142
f75286c6
ST
561432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56144
8e31c82d
ST
56145 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56146 protection macro.
56147 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56148 inclusion protection macro.
56149
f75286c6
ST
56150 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56151 SIGRTMIN and SIGRTMAX and print information in that case only when
56152 SIGRTMIN is defined.
56153
c1d0e639
JJ
561542011-02-11 Jakub Jelinek <jakub@redhat.com>
56155
56156 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56157 arginfo fn returning -1.
56158
56159 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56160 and thousands string is zero terminated.
56161
edf9294e
AS
561622011-02-03 Andreas Schwab <schwab@redhat.com>
56163
56164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56165 sysdeps/unix/sysv/linux/bits/socket.h.
56166
2b7e92df
ST
561672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56168
edf9294e
AS
56169 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56170 (__CPU_COUNT): Remove old macros.
56171 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56172 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56173 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56174 (__sched_cpualloc, __sched_cpufree): Add declarations.
56175
a4c7ea7b
UD
561762011-02-05 Ulrich Drepper <drepper@gmail.com>
56177
56178 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56179 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56180 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56181 (readdhstai): Return value of addhstaiX call.
56182 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56183 (addgrbyX): Return value returned by cache_addgr.
56184 (readdgrbyname): Return value returned by addgrbyX.
56185 (readdgrbygid): Likewise.
56186 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56187 (addpwbyX): Return value returned by cache_addpw.
56188 (readdpwbyname): Return value returned by addhstbyX.
56189 (readdpwbyuid): Likewise.
56190 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56191 (addservbyX): Return value returned by cache_addserv.
56192 (readdservbyname): Return value returned by addservbyX:
56193 (readdservbyport): Likewise.
56194 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56195 (addhstbyX): Return value returned by cache_addhst.
56196 (readdhstbyname): Return value returned by addhstbyX.
56197 (readdhstbyaddr): Likewise.
56198 (readdhstbynamev6): Likewise.
56199 (readdhstbyaddrv6): Likewise.
56200 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56201 (readdinitgroups): Return value returned by addinitgroupsX.
56202 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56203 (prune_cache): Keep track of timeout value of re-added entries.
56204 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56205 * nscd/nscd.h: Adjust prototypes of readd* functions.
56206
a0bf67cc
RM
562072011-02-04 Roland McGrath <roland@redhat.com>
56208
56209 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56210 (nis_stats): Likewise.
56211 * nis/nis_modify.c (nis_modify): Likewise.
56212 * nis/nis_remove.c (nis_remove): Likewise.
56213 * nis/nis_add.c (nis_add): Likewise.
56214
56215 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56216
56217 * posix/fnmatch_loop.c: Add some consts.
56218
56219 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56220
435b95eb
L
562212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56222
56223 [BZ #12460]
56224 * config.make.in (config-cflags-novzeroupper): Define.
56225 * configure.in: Substitute libc_cv_cc_novzeroupper.
56226 * elf/Makefile (AVX-CFLAGS): Define.
56227 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56228 (CFLAGS-tst-auditmod4a.c): Likewise.
56229 (CFLAGS-tst-auditmod4b.c): Likewise.
56230 (CFLAGS-tst-auditmod6b.c): Likewise.
56231 (CFLAGS-tst-auditmod6c.c): Likewise.
56232 (CFLAGS-tst-auditmod7b.c): Likewise.
56233 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56234
8517b15e
UD
562352011-02-02 Ulrich Drepper <drepper@gmail.com>
56236
56237 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56238 function to the callback.
56239 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56240
10a656fe
AS
562412011-02-02 Andreas Schwab <schwab@redhat.com>
56242
56243 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56244 of errno.
56245
968dad0a
UD
562462011-01-19 Ulrich Drepper <drepper@gmail.com>
56247
9f94d2ea 56248 [BZ #11724]
968dad0a
UD
56249 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56250 of constructors.
56251 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56252 of destructors.
56253 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56254
56255 [BZ #11724]
56256 * elf/Makefile: Add rules to build and run new test.
56257 * elf/tst-initorder.c: New file.
56258 * elf/tst-initorder.exp: New file.
56259 * elf/tst-initordera1.c: New file.
56260 * elf/tst-initordera2.c: New file.
56261 * elf/tst-initordera3.c: New file.
56262 * elf/tst-initordera4.c: New file.
56263 * elf/tst-initorderb1.c: New file.
56264 * elf/tst-initorderb2.c: New file.
56265 * elf/tst-order-a1.c: New file.
56266 * elf/tst-order-a2.c: New file.
56267 * elf/tst-order-a3.c: New file.
56268 * elf/tst-order-a4.c: New file.
56269 * elf/tst-order-b1.c: New file.
56270 * elf/tst-order-b2.c: New file.
56271 * elf/tst-order-main.c: New file.
56272 New test case by George Gensure <werkt0@gmail.com>.
56273
86e92359
UD
562742010-10-01 Andreas Schwab <schwab@redhat.com>
56275
56276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56277 decoding ACE if AI_CANONIDN.
56278
5d5732b0
UD
562792011-01-18 Ulrich Drepper <drepper@gmail.com>
56280
56281 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56282
a77e8cbc
UD
562832011-01-17 Ulrich Drepper <drepper@gmail.com>
56284
6392473f
UD
56285 * version.h (RELEASE): Bump for 2.13 release.
56286 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56287
620a0529
UD
56288 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56289
18ba70a5
UD
56290 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56291 MADV_NOHUGEPAGE.
32465c3e
UD
56292 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56293 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56294 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56298
c0dafcf1
UD
56299 * posix/getconf.c: Update copyright year.
56300 * catgets/gencat.c: Likewise.
56301 * csu/version.c: Likewise.
56302 * debug/catchsegv.sh: Likewise.
56303 * debug/xtrace.sh: Likewise.
56304 * elf/ldconfig.c: Likewise.
56305 * elf/ldd.bash.in: Likewise.
56306 * elf/sprof.c (print_version): Likewise.
56307 * iconv/iconv_prog.c: Likewise.
56308 * iconv/iconvconfig.c: Likewise.
56309 * locale/programs/locale.c: Likewise.
56310 * locale/programs/localedef.c: Likewise.
56311 * malloc/memusage.sh: Likewise.
56312 * malloc/mtrace.pl: Likewise.
56313 * nscd/nscd.c (print_version): Likewise.
56314 * nss/getent.c: Likewise.
56315
a77e8cbc
UD
56316 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56317 PF_CAIF, and PF_ALG.
56318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56319
77e8bddf
AS
563202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56321
1f20b93a
AS
56322 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56323 (modules-names): Use them.
56324 (ifunc-test-modules, ifunc-pie-tests): Define.
56325 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56326 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56327 (test-extras): Likewise.
56328 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56329 $(compile-command.c).
56330 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56331 (all-built-dso): Define.
56332 (check-textrel.out, check-execstack.out): Depend on it.
56333
77e8bddf
AS
56334 * configure.in: Don't override --enable-multi-arch.
56335
bc425b33
UD
563362011-01-15 Ulrich Drepper <drepper@gmail.com>
56337
56338 [BZ #6812]
56339 * nscd/hstcache.c (tryagain): Define.
56340 (cache_addhst): Return tryagain not notfound for temporary errors.
56341 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56342 failed.
56343
794c3ad3
UD
563442011-01-14 Ulrich Drepper <drepper@gmail.com>
56345
70181fdd
UD
56346 [BZ #10563]
56347 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56348 to make the syscall.
56349 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56350
794c3ad3
UD
56351 [BZ #12378]
56352 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56353 and fall back to matching as normal character if the string ends before
56354 the matching ']' is found. This is what POSIX requires.
56355 * posix/testfnm.c: Adjust test result.
56356 * posix/globtest.sh: Adjust test result. Add new test.
56357 * posix/tst-fnmatch.input: Likewise.
56358 * posix/tst-fnmatch2.c: Add new test.
56359
68dc9497
AS
563602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56361
56362 * elf/Makefile (check-execstack): Revert last change. Depend on
56363 check-execstack.h.
56364 (check-execstack.h): New target.
56365 (generated): Add check-execstack.h.
56366 * elf/check-execstack.c: Include "check-execstack.h".
56367 (main): Revert last change.
56368 (handle_file): Return zero if GNU_STACK is absent and
56369 DEFAULT_STACK_PERMS doesn't include PF_X.
56370
451f001b
UD
563712011-01-13 Ulrich Drepper <drepper@gmail.com>
56372
cfa28e56
UD
56373 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56374 in child fails because the descriptor is already closed.
8cf8ce17
UD
56375 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56376 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56377 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56378
1086d70d
UD
56379 [BZ #12397]
56380 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56381 syscall.
56382
451f001b
UD
56383 [BZ #10484]
56384 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56385 temporary buffer used to handle multi lookups locally.
a85b5cb4 56386 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56387
08769175
UD
563882011-01-12 Ulrich Drepper <drepper@gmail.com>
56389
56390 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56391 loader is ld.so.
56392
5e49c52e
UD
563932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56394
56395 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56396 alignment for SSE2.
56397
60522a5f
UD
563982011-01-12 Ulrich Drepper <drepper@gmail.com>
56399
56400 [BZ #12394]
56401 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56402 characters. When rounding increased number of integer digits recompute
56403 number of groups.
56404 * stdio-common/tst-grouping.c: New file.
56405 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56406
f257bbd7
UD
564072011-01-09 Ulrich Drepper <drepper@gmail.com>
56408
56409 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56410 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56411
56412 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56413 void.
56414 * bits/select.h: Likewise.
56415
fa9c15cb
UD
564162011-01-08 Ulrich Drepper <drepper@gmail.com>
56417
56418 * po/ja.po: Update from translation team.
56419
16c2895f
DM
564202011-01-04 David S. Miller <davem@sunset.davemloft.net>
56421
56422 [BZ #11155]
56423 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56424 implementation just like for lxstat, fxstatat, et al.
56425
2543fef2
JM
564262010-12-27 Jim Meyering <meyering@redhat.com>
56427
56428 [BZ #12348]
56429 * posix/regexec.c (build_trtable): Return failure indication upon
56430 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56431
98727dbe
UD
564322010-12-25 Ulrich Drepper <drepper@gmail.com>
56433
5bd6dc5c
UD
56434 [BZ #12201]
56435 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56436 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56437 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56439
97983464
UD
56440 [BZ #12207]
56441 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56442
98727dbe
UD
56443 [BZ #12204]
56444 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56445 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56446
4a531bb0
L
564472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56448
56449 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56450 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56451 script has SORT_BY_INIT_PRIORITY.
56452 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56453 NO_CTORS_DTORS_SECTIONS is defined.
56454 * elf/soinit.c: Likewise.
56455 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56456 NO_CTORS_DTORS_SECTIONS is defined.
56457 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56458 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56459 * sysdeps/sh/init-first.c: Likewise.
56460 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56461
07eb4b71
UD
564622010-12-24 Ulrich Drepper <drepper@gmail.com>
56463
56464 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56465 always use the slow path.
56466
30950a5f
RA
564672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56468
56469 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56470 similar rule which adds the sysdep directories to the header search in
56471 order to pick up the correct platform stackinfo.h.
56472 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56473 perform test if it is, otherwise return successfully without testing.
56474 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56475 DEFAULT_STACK_PERMS define in stackinfo.h.
56476 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56477 defined in stackinfo.h.
56478 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56479 DEFAULT_STACK_PERMS defined in stackinfo.h.
56480 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56481 * sysdeps/ia64/stackinfo.h: Likewise.
56482 * sysdeps/s390/stackinfo.h: Likewise.
56483 * sysdeps/sh/stackinfo.h: Likewise.
56484 * sysdeps/sparc/stackinfo.h: Likewise.
56485 * sysdeps/x86_64/stackinfo.h: Likewise.
56486 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56487 PF_X for powerpc64. Retain PF_X for powerpc32.
56488
db753e2c
UD
564892010-12-19 Ulrich Drepper <drepper@gmail.com>
56490
14b697f7
UD
56491 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56492 accurately.
db753e2c
UD
56493 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56494 GETDENTS_64BIT_ALIGNED.
56495
28300719
UD
564962010-12-14 Ulrich Drepper <dreper@gmail.com>
56497
14b697f7 56498 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56499
4f197237
AS
565002010-12-10 Andreas Schwab <schwab@redhat.com>
56501
dbb0472f
AS
56502 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56503 _GNU_SOURCE.
56504
4f197237
AS
56505 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56506 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56507 Remove __restrict.
56508 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56509 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56510
fb88ac72
UD
565112010-12-09 Ulrich Drepper <drepper@gmail.com>
56512
56513 [BZ #11655]
56514 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56515 are initialized.
56516
42acbb92
JJ
565172010-12-09 Jakub Jelinek <jakub@redhat.com>
56518
56519 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56520
c038d98d
UD
565212010-12-03 Ulrich Drepper <drepper@gmail.com>
56522
56523 * po/it.po: Update from translation team.
56524
3a4a2499
L
565252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56526
56527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56528 unused codes.
56529
1e24cf6e
UD
565302010-11-30 Ulrich Drepper <drepper@gmail.com>
56531
56532 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56533
a7690819
AS
565342010-11-24 Andreas Schwab <schwab@redhat.com>
56535
56536 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56537 specially.
56538 (gaih_getanswer_slice): Likewise.
56539
3bf8d1b1
JJ
565402010-10-20 Jakub Jelinek <jakub@redhat.com>
56541
56542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56543
6db52fbb
PB
565442010-05-31 Petr Baudis <pasky@suse.cz>
56545
56546 [BZ #11149]
56547 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56548 silently even in the chroot mode.
56549
eaca7569
UD
565502010-11-22 Ulrich Drepper <drepper@gmail.com>
56551
56552 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56553 last patch a bit. Pretty printing
56554
3056dcdb
UD
565552010-05-31 Petr Baudis <pasky@suse.cz>
56556
56557 [BZ #10085]
56558 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56559 initialization of skip_initgroups_dyn.
56560
cf7c9078
UD
565612010-11-19 Ulrich Drepper <drepper@gmail.com>
56562
56563 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56565
a1fb5e3e
UD
565662010-11-16 Ulrich Drepper <drepper@gmail.com>
56567
56568 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56569
3540d66b
AS
565702010-11-11 Andreas Schwab <schwab@redhat.com>
56571
56572 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56573 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56574 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56575 ($(objpfx)tst-fnmatch-mem): New rule.
56576 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56577 * posix/tst-fnmatch.c (main): Call mtrace.
56578
13b69574
L
565792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56580
56581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56582 Support Intel processor model 6 and model 0x2c.
56583
da93d214
LM
565842010-11-10 Luis Machado <luisgpm@br.ibm.com>
56585
56586 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56587 signed comparison.
56588
8ca52c6e
L
565892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56590
56591 [BZ #12205]
56592 * string/test-strncasecmp.c (check_result): New function.
56593 (do_one_test): Use it.
56594 (check1): New function.
56595 (test_main): Use it.
56596 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56597 Support strcasecmp and strncasecmp.
56598
69da074d
UD
565992010-11-08 Ulrich Drepper <drepper@gmail.com>
56600
56601 [BZ #12194]
56602 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56603 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56604
ff02d528
L
566052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56606
56607 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56608 IFUNC support.
56609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56610 memset-x86-64.
56611 * sysdeps/x86_64/multiarch/bzero.S: New file.
56612 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56613 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56614 * sysdeps/x86_64/multiarch/memset.S: New file.
56615 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56617 Set bit_Prefer_SSE_for_memop for Intel processors.
56618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56619 Define.
56620 (index_Prefer_SSE_for_memop): Define.
56621 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56622
344d0b54
LM
566232010-11-04 Luis Machado <luisgpm@br.ibm.com>
56624
56625 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56626 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56627
c0dde15b
UD
566282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56629
56630 [BZ #12191]
56631 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56632 (__x86_64_raw_data_cache_size_half): Likewise.
56633 (__x86_64_raw_shared_cache_size): Likewise.
56634 (__x86_64_raw_shared_cache_size_half): Likewise.
56635
56636 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56637 (__x86_64_raw_data_cache_size_half): Likewise.
56638 (__x86_64_raw_shared_cache_size): Likewise.
56639 (__x86_64_raw_shared_cache_size_half): Likewise.
56640 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56641 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56642 and __x86_64_raw_shared_cache_size_half. Round
56643 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56644 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56645 to multiple of 256 bytes.
56646
0e516e0e
MS
566472010-11-03 Ulrich Drepper <drepper@gmail.com>
56648
56649 [BZ #12167]
56650 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56651 of inacessible symlinks. Verify result of symlink before returning it.
56652 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56653 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56654
0e012e87
ER
566552010-10-28 Erich Ritz <erichritz@gmail.com>
56656
56657 * math/math.h (isinf): Fix typo in comment.
56658
de0ff7bc
UD
566592010-11-01 Ulrich Drepper <drepper@gmail.com>
56660
56661 * po/da.po: Update from translation team.
56662
fa41c84d
UD
566632010-10-26 Ulrich Drepper <drepper@gmail.com>
56664
56665 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56666 is added to the list.
56667
f0967738
AK
566682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56669 Ulrich Drepper <drepper@gmail.com>
56670
56671 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56672 the global list here. Move code to...
56673 (_dl_add_to_namespace_list): ...here. New function.
56674 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56675 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56676 * elf/dl-load.c (lose): Don't remove the element from the list.
56677 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56678 (_dl_map_object): Likewise.
56679
566802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56681
56682 [BZ #12159]
56683 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56684 into all bytes of SSE register.
56685 Patch by Richard Li <richardpku@gmail.com>.
56686
f0967738 566872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56688
56689 [BZ #12140]
56690 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56691 perturbing.
56692
d0b9e94f
MB
566932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56694
56695 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56696 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56697 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56698 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56700 submachine.
56701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56702
8e9f92e9
AS
567032010-10-22 Andreas Schwab <schwab@redhat.com>
56704
56705 * include/dlfcn.h (__RTLD_SECURE): Define.
56706 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56707 mode & __RTLD_SECURE instead.
56708 (open_path): Rename preloaded parameter to secure.
56709 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56710 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56711 * elf/dl-deps.c (openaux): Likewise.
56712 * elf/rtld.c (struct map_args): Remove is_preloaded.
56713 (map_doit): Don't use it.
56714 (dl_main): Likewise.
56715 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56716 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56717
bc96fbda
AS
567182010-09-09 Andreas Schwab <schwab@redhat.com>
56719
56720 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56721 (sysd-rules-targets): Remove duplicates.
56722 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56723 rtld-%.$o dependency.
56724
22cd1c9b
AS
567252010-10-18 Andreas Schwab <schwab@redhat.com>
56726
56727 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56728 _dl_map_object do it.
56729
18edac48
UD
567302010-10-19 Ulrich Drepper <drepper@gmail.com>
56731
56732 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56733 fast fma builtins, define the macros in the C99 standard.
56734 (FP_FAST_FMAF): Likewise.
56735 (FP_FAST_FMAL): Likewise.
56736 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56737
56738 * bits/mathdef.h: Update copyright year.
56739 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56740
d2050124
MM
567412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56742
56743 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56744 builtins, define the macros in the C99 standard.
56745 (FP_FAST_FMAF): Likewise.
56746 (FP_FAST_FMAL): Likewise.
56747 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56748 multiply/add.
56749 (FP_FAST_FMAF): Likewise.
56750
475facd1
JJ
567512010-10-15 Jakub Jelinek <jakub@redhat.com>
56752
56753 [BZ #3268]
56754 * math/libm-test.inc (fma_test): Some new testcases.
56755 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56756 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56757 y and infinite z. Do multiplication by C already in long double.
56758 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56760 y and infinite z. Do bitwise or of inexact bit into u.d.
56761 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56762 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56763 * sysdeps/i386/fpu/s_fma.S: Removed.
56764 * sysdeps/i386/fpu/s_fmal.S: Removed.
56765
7c08a05c
JJ
567662010-10-16 Jakub Jelinek <jakub@redhat.com>
56767
56768 [BZ #3268]
56769 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56770 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56771 computation is not scheduled after fetestexcept. Fix value
56772 of minimum denormal long double.
56773
f3f7372d
JJ
567742010-10-14 Jakub Jelinek <jakub@redhat.com>
56775
56776 [BZ #3268]
56777 * math/libm-test.inc (fma_test): Add some more tests.
56778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56779 correctly.
56780
14d43591
AS
567812010-10-15 Andreas Schwab <schwab@redhat.com>
56782
56783 * scripts/data/localplt-s390-linux-gnu.data: New file.
56784 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56785
5e908464
JJ
567862010-10-13 Jakub Jelinek <jakub@redhat.com>
56787
56788 [BZ #3268]
56789 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56790 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56791 instead of dbl-64.
56792 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56793 inlines.
56794 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56796 if one of x and y is very large and the other is subnormal.
56797 * sysdeps/s390/fpu/s_fmaf.c: New file.
56798 * sysdeps/s390/fpu/s_fma.c: New file.
56799 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56800 * sysdeps/powerpc/fpu/s_fma.S: New file.
56801 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56802 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56803 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56804
568052010-10-12 Jakub Jelinek <jakub@redhat.com>
56806
56807 [BZ #3268]
56808 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56809 fma tests.
56810 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56811 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56812 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56813 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56814 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56815 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56816 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56817
b833d51f
UD
568182010-10-12 Ulrich Drepper <drepper@redhat.com>
56819
56820 [BZ #12078]
56821 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56822 * posix/bug-regex31.input: Add test case.
56823
1751705d
UD
568242010-10-11 Ulrich Drepper <drepper@gmail.com>
56825
e9b9cbf5
UD
56826 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56827 * posix/bug-regex31.input: New file.
56828
56829 [BZ #12078]
56830 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56831 (parse_sub_exp): Fix last change, use postorder.
56832
ef06edbe
UD
56833 * posix/bug-regex31.c: New file.
56834 * posix/Makefile: Add rules to build and run bug-regex31.
56835
a129c80d
UD
56836 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56837
56838 [BZ #12078]
56839 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56840
b76b818e
UD
56841 [BZ #12108]
56842 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56843 to have entries in sys_siglist.
56844
1751705d
UD
56845 [BZ #12093]
56846 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56847 be NULL.
56848
9ff8d36f
JJ
568492010-10-07 Jakub Jelinek <jakub@redhat.com>
56850
56851 [BZ #3268]
56852 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56853 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56854 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56855 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56856 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56857 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56858 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56859 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56860 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56861 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56862 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56863 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56864 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56865 * math/ftestexcept.c (fetestexcept): Likewise.
56866 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56867 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56868 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56869 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56870 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56871 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56872 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56873
af325969
UD
568742010-10-11 Ulrich Drepper <drepper@gmail.com>
56875
c579b202 56876 [BZ #12107]
af325969
UD
56877 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56878 newline.
56879
67a67b95
UD
568802010-10-06 Ulrich Drepper <drepper@gmail.com>
56881
56882 * string/bug-strstr1.c: New file.
56883 * string/Makefile: Add rules to build and run bug-strstr1.
56884
5fb308bc
EB
568852010-10-05 Eric Blake <eblake@redhat.com>
56886
56887 [BZ #12092]
56888 * string/str-two-way.h (two_way_long_needle): Always clear memory
56889 when skipping input due to the shift table.
56890
45db99c7
UD
568912010-10-03 Ulrich Drepper <drepper@gmail.com>
56892
3b111893
UD
56893 [BZ #12005]
56894 * malloc/mcheck.c: Handle large requests.
56895
45db99c7
UD
56896 [BZ #12077]
56897 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56898 for strncmp and strncasecmp.
56899 * string/stratcliff.c: Add tests for strcmp and strncmp.
56900 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56901
cf7a1eb8
NI
569022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56903
56904 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56905 __set_fpscr.
56906
6484ba5e
AJ
569072010-09-30 Andreas Jaeger <aj@suse.de>
56908
56909 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56910 (CGROUP_SUPER_MAGIC): Define.
56911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56912 Handle btrfs and cgroup file systems.
56913 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56914 Likewise.
56915
91c42559
LM
569162010-09-27 Luis Machado <luisgpm@br.ibm.com>
56917
56918 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56919 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56920
87a97932
AK
569212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56922
56923 [BZ #12067]
56924 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56925 trying to locate the ELF header.
56926
c21cc9bc
AS
569272010-09-27 Andreas Schwab <schwab@redhat.com>
56928
56929 [BZ #11611]
56930 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56931 Mask out sign-bit copies when constructing f_fsid.
56932
315970f6
PB
569332010-09-24 Petr Baudis <pasky@suse.cz>
56934
56935 * debug/stack_chk_fail_local.c: Add missing licence exception.
56936 * debug/warning-nop.c: Likewise.
56937
1ac7a2c7
JM
569382010-09-15 Joseph Myers <joseph@codesourcery.com>
56939
56940 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56941 implementing getdents64 using getdents syscall, set d_type if
56942 __ASSUME_GETDENTS32_D_TYPE.
56943
56801c50
AS
569442010-09-16 Andreas Schwab <schwab@redhat.com>
56945
56946 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56947 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56948
dda51327
UD
569492010-09-21 Ulrich Drepper <drepper@redhat.com>
56950
56951 [BZ #12037]
56952 * posix/unistd.h: Undo change of feature selection for ftruncate from
56953 2010-01-11.
56954
8ffcee4a
UD
569552010-09-20 Ulrich Drepper <drepper@redhat.com>
56956
a545ecd9 56957 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56958 detection.
56959
e24f0a8b
AS
569602010-09-20 Andreas Schwab <schwab@redhat.com>
56961
56962 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56963 fanotify_mark.
56964 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56965
7291c56f
AS
569662010-09-14 Andreas Schwab <schwab@redhat.com>
56967
56968 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56969 variables after CHECK_SP call.
56970 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56971
bc5fb037
AS
569722010-09-13 Andreas Schwab <schwab@redhat.com>
56973 Ulrich Drepper <drepper@redhat.com>
56974
56975 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56976 re-relocationg ld.so.
56977 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56978 _dl_init_paths call.
56979 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56980 here anymore.
56981
e66e7419
UD
569822010-09-14 Ulrich Drepper <drepper@redhat.com>
56983
56984 * resolv/res_init.c (__res_vinit): Count the default server we added.
56985
c044aa75
CLT
569862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56987 Ulrich Drepper <drepper@redhat.com>
56988
56989 [BZ #11968]
56990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56991 (____longjmp_chk): Use %ebx for saving value across system call.
56992 Add unwind info.
56993
32cf4069
AS
569942010-09-06 Andreas Schwab <schwab@redhat.com>
56995
56996 * manual/Makefile: Don't mix pattern rules with normal rules.
56997
817328ee
AS
569982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56999
57000 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57001 operation.
57002 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57003 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57004 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57005 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57007 Likewise.
57008
29fddf61
UD
570092010-09-04 Ulrich Drepper <drepper@redhat.com>
57010
57011 [BZ #11979]
57012 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57013 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57014
0959ffc9
UD
570152010-09-02 Ulrich Drepper <drepper@redhat.com>
57016
57017 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57018 * sysdeps/x86_64/addmul_1.S: Likewise.
57019 * sysdeps/x86_64/lshift.S: Likewise.
57020 * sysdeps/x86_64/mul_1.S: Likewise.
57021 * sysdeps/x86_64/rshift.S: Likewise.
57022 * sysdeps/x86_64/sub_n.S: Likewise.
57023 * sysdeps/x86_64/submul_1.S: Likewise.
57024
ece29840
ST
570252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57026
0959ffc9
UD
57027 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57028 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57029 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57030 * bits/sched.h [__need_schedparam]
ece29840 57031 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57032 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57033 (__defined_schedparam): Define to 1.
ece29840
ST
57034 (__sched_param): New structure, identical to sched_param.
57035 (__need_schedparam): Undefine.
57036
e53a31fe
MF
570372010-08-31 Mike Frysinger <vapier@gentoo.org>
57038
fdc0c10d
MF
57039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57040 (epoll_create1): Declare.
57041
e53a31fe
MF
57042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57043
a726d796
AS
570442010-08-31 Andreas Schwab <schwab@redhat.com>
57045
57046 [BZ #7066]
57047 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57048 shifting retval into place.
57049
2f3e3dc7
UD
570502010-09-01 Ulrich Drepper <drepper@redhat.com>
57051
f2933da9
UD
57052 * nis/rpcsvc/nis.h: Update copyright notice.
57053 * nis/rpcsvc/nis.x: Likewise.
57054 * nis/rpcsvc/nis_callback.h: Likewise.
57055 * nis/rpcsvc/nis_callback.x: Likewise.
57056 * nis/rpcsvc/nis_object.x: Likewise.
57057 * nis/rpcsvc/nis_tags.h: Likewise.
57058 * nis/rpcsvc/yp.h: Likewise.
57059 * nis/rpcsvc/yp.x: Likewise.
57060 * nis/rpcsvc/ypupd.h: Likewise.
57061 * nis/yp_xdr.c: Likewise.
57062 * nis/ypupdate_xdr.c: Likewise.
57063
2f3e3dc7
UD
57064 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57065 mainly the body of pmap_getport. Add parameters to specify timeouts.
57066 (pmap_getport): Use __libc_rpc_getport.
57067 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57068 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57069 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57070
f3dcc2f9
AS
570712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57072
57073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57074 fanotify_mark.
57075
6d34eb5b
RM
570762010-08-27 Roland McGrath <roland@redhat.com>
57077
57078 * sysdeps/i386/i686/multiarch/Makefile
57079 (CFLAGS-varshift.c): New variable.
57080
9ea3de11
UD
570812010-08-27 Ulrich Drepper <drepper@redhat.com>
57082
c96d23fc
UD
57083 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57084 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57085
9ea3de11
UD
57086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57087
57088 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57089
623aac7f
L
570902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57091
57092 * sysdeps/x86_64/strlen.S: Unroll the loop.
57093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57094 strlen-sse2 strlen-sse2-bsf.
57095 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57096 __strlen_no_bsf if bit_Slow_BSF is set.
57097 (__strlen_sse42): Removed.
57098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57099 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57100
8b2b7715
RM
571012010-08-25 Roland McGrath <roland@redhat.com>
57102
57103 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57104 * sysdeps/x86_64/multiarch/varshift.c: New file.
57105 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57106 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57107 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57108 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57109
e73015f2
L
571102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57111
57112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57113 strlen-sse2 strlen-sse2-bsf.
57114 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57115 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57116 (__strlen_sse2): Removed.
57117 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57118 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57120 bit_Slow_BSF for Atom.
57121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57122 (index_Slow_BSF): Define.
57123 (HAS_SLOW_BSF): Define.
57124
df24a73e
UD
571252010-08-25 Ulrich Drepper <drepper@redhat.com>
57126
57127 [BZ #10851]
57128 * resolv/res_init.c (__res_vinit): When no server address at all
57129 is given default to loopback.
57130
f2ac4868
RM
571312010-08-24 Roland McGrath <roland@redhat.com>
57132
09055553
RM
57133 * configure.in: Remove config-name.h generation.
57134 * configure: Regenerated.
57135 * config-name.in: File removed.
57136 * scripts/config-uname.sh: New file.
57137 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57138 ($(objdir)config-name.h): New target.
57139
f2ac4868
RM
57140 * sunrpc/rpc_parse.h: Avoid nested comment.
57141
73f27d5e
RH
571422010-08-24 Richard Henderson <rth@redhat.com>
57143 Ulrich Drepper <drepper@redhat.com>
57144 H.J. Lu <hongjiu.lu@intel.com>
57145
57146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57148 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57149 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57150 _mm_alignr_epi8 with _mm_loadu_si128.
57151 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57152 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57153 (__m128i_shift_right): Removed.
57154 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57155 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57156 * sysdeps/x86_64/multiarch/varshift.h: New file.
57157 * sysdeps/x86_64/multiarch/varshift.S: New file.
57158
84b9230c
MF
571592010-08-21 Mike Frysinger <vapier@gentoo.org>
57160
57161 * configure.in: Move assembler checks to before sysdep dir checking.
57162
9bbd0ddc
PB
571632010-08-20 Petr Baudis <pasky@suse.cz>
57164
57165 * LICENSES: Sync the sunrpc license.
57166
9da4bb31
UD
571672010-08-19 Ulrich Drepper <drepper@redhat.com>
57168
a7ab6ec8
UD
57169 * sunrpc/auth_des.c: Update copyright notice once again.
57170 * sunrpc/auth_none.c: Likewise.
57171 * sunrpc/auth_unix.c: Likewise.
57172 * sunrpc/authdes_prot.c: Likewise.
57173 * sunrpc/authuxprot.c: Likewise.
57174 * sunrpc/bindrsvprt.c: Likewise.
57175 * sunrpc/clnt_gen.c: Likewise.
57176 * sunrpc/clnt_perr.c: Likewise.
57177 * sunrpc/clnt_raw.c: Likewise.
57178 * sunrpc/clnt_simp.c: Likewise.
57179 * sunrpc/clnt_tcp.c: Likewise.
57180 * sunrpc/clnt_udp.c: Likewise.
57181 * sunrpc/clnt_unix.c: Likewise.
57182 * sunrpc/des_crypt.c: Likewise.
57183 * sunrpc/des_soft.c: Likewise.
57184 * sunrpc/get_myaddr.c: Likewise.
57185 * sunrpc/getrpcport.c: Likewise.
57186 * sunrpc/key_call.c: Likewise.
57187 * sunrpc/key_prot.c: Likewise.
57188 * sunrpc/openchild.c: Likewise.
57189 * sunrpc/pm_getmaps.c: Likewise.
57190 * sunrpc/pm_getport.c: Likewise.
57191 * sunrpc/pmap_clnt.c: Likewise.
57192 * sunrpc/pmap_prot.c: Likewise.
57193 * sunrpc/pmap_prot2.c: Likewise.
57194 * sunrpc/pmap_rmt.c: Likewise.
57195 * sunrpc/rpc/auth.h: Likewise.
57196 * sunrpc/rpc/auth_unix.h: Likewise.
57197 * sunrpc/rpc/clnt.h: Likewise.
57198 * sunrpc/rpc/des_crypt.h: Likewise.
57199 * sunrpc/rpc/key_prot.h: Likewise.
57200 * sunrpc/rpc/netdb.h: Likewise.
57201 * sunrpc/rpc/pmap_clnt.h: Likewise.
57202 * sunrpc/rpc/pmap_prot.h: Likewise.
57203 * sunrpc/rpc/pmap_rmt.h: Likewise.
57204 * sunrpc/rpc/rpc.h: Likewise.
57205 * sunrpc/rpc/rpc_des.h: Likewise.
57206 * sunrpc/rpc/rpc_msg.h: Likewise.
57207 * sunrpc/rpc/svc.h: Likewise.
57208 * sunrpc/rpc/svc_auth.h: Likewise.
57209 * sunrpc/rpc/types.h: Likewise.
57210 * sunrpc/rpc/xdr.h: Likewise.
57211 * sunrpc/rpc_clntout.c: Likewise.
57212 * sunrpc/rpc_cmsg.c: Likewise.
57213 * sunrpc/rpc_common.c: Likewise.
57214 * sunrpc/rpc_cout.c: Likewise.
57215 * sunrpc/rpc_dtable.c: Likewise.
57216 * sunrpc/rpc_hout.c: Likewise.
57217 * sunrpc/rpc_main.c: Likewise.
57218 * sunrpc/rpc_parse.c: Likewise.
57219 * sunrpc/rpc_parse.h: Likewise.
57220 * sunrpc/rpc_prot.c: Likewise.
57221 * sunrpc/rpc_sample.c: Likewise.
57222 * sunrpc/rpc_scan.c: Likewise.
57223 * sunrpc/rpc_scan.h: Likewise.
57224 * sunrpc/rpc_svcout.c: Likewise.
57225 * sunrpc/rpc_tblout.c: Likewise.
57226 * sunrpc/rpc_util.c: Likewise.
57227 * sunrpc/rpc_util.h: Likewise.
57228 * sunrpc/rpcinfo.c: Likewise.
57229 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57230 * sunrpc/rpcsvc/key_prot.x: Likewise.
57231 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57232 * sunrpc/rpcsvc/mount.x: Likewise.
57233 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57234 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57235 * sunrpc/rpcsvc/rex.x: Likewise.
57236 * sunrpc/rpcsvc/rstat.x: Likewise.
57237 * sunrpc/rpcsvc/rusers.x: Likewise.
57238 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57239 * sunrpc/rpcsvc/spray.x: Likewise.
57240 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57241 * sunrpc/rtime.c: Likewise.
57242 * sunrpc/svc.c: Likewise.
57243 * sunrpc/svc_auth.c: Likewise.
57244 * sunrpc/svc_authux.c: Likewise.
57245 * sunrpc/svc_raw.c: Likewise.
57246 * sunrpc/svc_run.c: Likewise.
57247 * sunrpc/svc_simple.c: Likewise.
57248 * sunrpc/svc_tcp.c: Likewise.
57249 * sunrpc/svc_udp.c: Likewise.
57250 * sunrpc/svc_unix.c: Likewise.
57251 * sunrpc/svcauth_des.c: Likewise.
57252 * sunrpc/xcrypt.c: Likewise.
57253 * sunrpc/xdr.c: Likewise.
57254 * sunrpc/xdr_array.c: Likewise.
57255 * sunrpc/xdr_float.c: Likewise.
57256 * sunrpc/xdr_mem.c: Likewise.
57257 * sunrpc/xdr_rec.c: Likewise.
57258 * sunrpc/xdr_ref.c: Likewise.
57259 * sunrpc/xdr_sizeof.c: Likewise.
57260 * sunrpc/xdr_stdio.c: Likewise.
57261
9da4bb31
UD
57262 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57263 handling.
57264
bdaa77bc
AS
572652010-08-19 Andreas Schwab <schwab@redhat.com>
57266
57267 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57268
fe2f79db
LM
572692010-08-19 Luis Machado <luisgpm@br.ibm.com>
57270
57271 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57272 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57273 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57274 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57275 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57276 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57277 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57278 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57280 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57281 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57282 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57283 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57284 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57285
b9b42ee0
AB
572862010-07-26 Anton Blanchard <anton@samba.org>
57287
57288 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57289 * malloc/arena.c (heap_trim): Likewise.
57290
1c06ba31
UD
572912010-08-16 Ulrich Drepper <drepper@redhat.com>
57292
57293 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57294 here. Not...
57295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57296 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57297
f8392f40
L
572982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57299
57300 * sysdeps/i386/elf/Makefile: New file.
57301
3162f12e
AS
573022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57303
57304 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57305 from fanotify_init.
57306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57308
28c90b2c
UD
573092010-08-15 Ulrich Drepper <drepper@redhat.com>
57310
57311 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57312 of strncasecmp_l.
1feccb6c 57313 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57314
ca6bb004
UD
573152010-08-14 Ulrich Drepper <drepper@redhat.com>
57316
e9f82e0d
UD
57317 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57318 strncase_l-nonascii.
57319 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57320 Add strncase_l-ssse3.
57321 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57322 * sysdeps/x86_64/strcmp.S: Likewise.
57323 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57324 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57325 * sysdeps/x86_64/strncase.S: New file.
57326 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57327 * sysdeps/x86_64/strncase_l.S: New file.
57328 * string/Makefile (strop-tests): Add strncasecmp.
57329 * string/test-strncasecmp.c: New file.
57330
57331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57332 warning.
57333
ca6bb004
UD
57334 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57335 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57336
052fa7b3
AS
573372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57338
57339 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57340
962dba78
UD
573412010-08-12 Ulrich Drepper <drepper@redhat.com>
57342
57343 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57344 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57345 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57346
bebff237
AM
573472010-05-01 Alan Modra <amodra@gmail.com>
57348
57349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57350 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57351 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57352 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57353 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57354 tidying. Don't tail-call __sigjmp_save for static lib.
57355 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57356 save location.
57357 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57358 (CALL_MCOUNT): Add eh info, and nop after bl.
57359 (TAIL_CALL_SYSCALL_ERROR): New macro.
57360 (PSEUDO_RET): Use it.
57361 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57362 Correct save location of integer regs and cr.
57363 (_dl_profile_resolve): Correct cr save location. Delete nops
57364 after bl when SHARED. Reduce cfi size a little by better
57365 placement of cfi directives.
57366 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57367 make a stack frame. Instead use parm save area as a temp.
57368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57369 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57371 Don't make a stack frame for parent, use parm save area.
57372 Increase child stack frame to 112 bytes. Don't save unused reg,
57373 and adjust reg usage. Set up cfi on error recovery and
57374 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57376 (__makecontext): Add dummy nop after jump to exit.
57377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57378 Use correct parm save area and cr save, reduce stack frame.
57379 Correct cfi for possible PSEUDO_RET frame setup.
57380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57381 Branch to local label emitted by PSEUDO_RET rather than
57382 __syscall_error.
57383
02637374
AS
573842010-08-12 Andreas Schwab <schwab@redhat.com>
57385
57386 [BZ #11904]
57387 * locale/programs/locale.c (print_assignment): New function.
57388 (show_locale_vars): Use it.
57389
c3e2f19b
UD
573902010-08-11 Ulrich Drepper <drepper@redhat.com>
57391
3cdaa6ad
UD
57392 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57393 field.
57394 (struct statfs64): Likewise.
57395 (_STATFS_F_FLAGS): Define.
57396 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57397 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57398 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57399 (ST_VALID): Define locally.
57400 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57401 __statvfs_getflags, use the provided value.
57402 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57403 __ASSUME_STATFS_F_FLAGS.
57404
754f7da3
UD
57405 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57406
10b3bedc
UD
57407 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57408 Add sys/fanotify.h.
57409 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57410 fanotify_mask for GLIBC_2.13.
57411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57412 fanotify_init and fanotify_mark.
57413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57414 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57415
c08fb0d7
UD
57416 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57417 Add prlimit.
57418 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57419 prlimit64 for GLIBC_2.13.
57420 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57421 prlimit64.
57422 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57423 syscall.
57424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57426 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57427 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57429 add prlimit alias.
57430 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57431
15bac72b
UD
57432 [BZ #11903]
57433 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57434 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57435
c3e2f19b
UD
57436 * nss/Makefile: Add rules to build and run tst-nss-test1.
57437 * shlib-versions: Add entry for libnss_test1.
57438 * nss/nss_test1.c: New file.
57439 * nss/tst-nss-test1.c: New file.
57440
57441 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57442 (__nss_configure_lookup): Set appropriate entry in
57443 __nss_configure_lookup to true.
57444 * nss/nsswitch.h: Define enum with indeces of databases in
57445 databases and __nss_database_custom arrays. Declare
57446 __nss_database_custom.
57447 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57448 to avoid using nscd when custom rules are installed.
57449 * nss/getXXbyYY_r.c: Likewise.
57450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57451
57452 * nss/nss_files/files-parse.c: Whitespace fixes.
57453
f15ce4d8
UD
574542010-08-09 Ulrich Drepper <drepper@redhat.com>
57455
57456 [BZ #11883]
57457 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57458 * posix/fnmatch_loop.c: Likewise.
57459
d22e4cc9
AK
574602010-07-17 Andi Kleen <ak@linux.intel.com>
57461
57462 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57463 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57464 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57465 * Versions.def [GLIBC_2.13]: Add.
57466
805bc17d
UD
574672010-08-06 Ulrich Drepper <drepper@redhat.com>
57468
57469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57470 Also fail if tpwd after pwuid call is NULL.
57471
5a42321d
ST
574722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57473
57474 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57475 when converting to ms.
57476
fd3ebeda
ST
574772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57478
57479 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57480 EOPNOTSUPP errors with ENOTTY.
57481 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57482 EOPNOTSUPP errors with ENOTTY.
57483
73507d3a
UD
574842010-07-31 Ulrich Drepper <drepper@redhat.com>
57485
57486 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57487 Add strcasecmp_l-ssse3.
57488 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57489 strcasecmp.
57490 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57491 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57492 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57493
fe36dd02
UD
574942010-07-30 Ulrich Drepper <drepper@redhat.com>
57495
66f6765a
UD
57496 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57497
42e08a54
UD
57498 * string/Makefile (strop-tests): Add strcasecmp.
57499 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57500 strcasecmp_l-nonascii.
57501 (gen-as-const-headers): Add locale-defines.sym.
57502 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57503 * sysdeps/x86_64/strcasecmp.S: New file.
57504 * sysdeps/x86_64/strcasecmp_l.S: New file.
57505 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57506 * sysdeps/x86_64/locale-defines.sym: New file.
57507 * string/test-strcasecmp.c: New file.
57508
fe36dd02
UD
57509 * string/test-strcasestr.c: Test both ends of the range of characters.
57510 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57511
48cbc0d6
RM
575122010-07-29 Roland McGrath <roland@redhat.com>
57513
76e6d6bc 57514 [BZ #11856]
48cbc0d6
RM
57515 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57516
880113d9
UD
575172010-07-27 Ulrich Drepper <drepper@redhat.com>
57518
57519 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57520 for ld.so.
57521
deb9cabb
AS
575222010-07-27 Andreas Schwab <schwab@redhat.com>
57523
57524 * manual/memory.texi (Malloc Tunable Parameters): Document
57525 M_PERTURB.
57526
1c7570ff
RM
575272010-07-26 Roland McGrath <roland@redhat.com>
57528
57529 [BZ #11840]
57530 * configure.in (-fgnu89-inline check): Set and substitute
57531 gnu89_inline, not libc_cv_gnu89_inline.
57532 * configure: Regenerated.
57533 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57534
24fb0f88
UD
575352010-07-26 Ulrich Drepper <drepper@redhat.com>
57536
57537 * string/test-strnlen.c: New file.
57538 * string/Makefile (strop-tests): Add strnlen.
57539 * string/tester.c (test_strnlen): Add a few more test cases.
57540 * string/tst-strlen.c: Better error reporting.
57541
57542 * sysdeps/x86_64/strnlen.S: New file.
57543
8e96b93a
UD
575442010-07-24 Ulrich Drepper <drepper@redhat.com>
57545
57546 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57547 lower-latency instructions.
57548
dbc676d4
UD
575492010-07-23 Ulrich Drepper <drepper@redhat.com>
57550
57551 * string/test-strcasestr.c: New file.
57552 * string/test-strstr.c: New file.
57553 * string/Makefile (strop-tests): Add strstr and strcasestr.
57554 * string/str-two-way.h: Don't undefine MAX.
57555 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57556
f6a31e0e
AS
575572010-07-21 Andreas Schwab <schwab@redhat.com>
57558
57559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57560 strcasestr-nonascii.
57561 (CFLAGS-strcasestr-nonascii.c): Define.
57562 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57563 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57564 Remove unused attribute.
57565
5dbc3b6c
RM
575662010-07-20 Roland McGrath <roland@redhat.com>
57567
57568 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57569 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57570 ld.so.cache was broken. With it, there is no way to disable dsocaps
57571 like LD_HWCAP_MASK can disable hwcaps.
57572
23d101d8
EPM
575732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57574
57575 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57576
cc9f2e47
UD
575772010-07-16 Ulrich Drepper <drepper@redhat.com>
57578
57579 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57580 call in strcasestr.
57581 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57582 __strcasestr_sse42_nonascii.
57583 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57584 strcasestr-nonascii.c.
57585 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57586
77c1b069
LM
575872010-06-15 Luis Machado <luisgpm@br.ibm.com>
57588
57589 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57590 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57591 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57592 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57593
440566c3
UD
575942010-07-09 Ulrich Drepper <drepper@redhat.com>
57595
57596 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57597 fcntl.
57598
5be9d05d
AS
575992010-07-06 Andreas Schwab <schwab@redhat.com>
57600
c30b7ee2 57601 [BZ #11577]
5be9d05d
AS
57602 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57603 dl_signal_cerror.
57604
8a492a67
UD
576052010-07-06 Ulrich Drepper <drepper@redhat.com>
57606
57607 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57608 _PC_PIPE_BUF using F_GETPIPE_SZ.
57609
713df3d5
RM
576102010-07-05 Roland McGrath <roland@redhat.com>
57611
57612 * manual/arith.texi (Rounding Functions): Fix rint description
57613 implicit in round description.
57614
702e8f14
UD
576152010-07-02 Ulrich Drepper <drepper@redhat.com>
57616
57617 * elf/Makefile: Fix linking for a few tests to make recent linker
57618 happy.
57619
52ed8be9
AS
576202010-06-30 Andreas Schwab <schwab@redhat.com>
57621
57622 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57623 $(common-objpfx)libc_nonshared.a.
57624
f47c9a11
LM
576252010-06-21 Luis Machado <luisgpm@br.ibm.com>
57626
57627 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57628 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57629 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57630 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57631 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57632 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57633 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57634 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57649 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57650 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57651 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57652 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57653 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57654 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57655 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57656 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57657 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57658 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57659 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57660 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57675
6fb8cbcb
L
576762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57677
57678 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57679 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57680 * string/memmove.c (memmove): Renamed to ...
57681 (MEMMOVE): ...this. Default to memmove.
57682 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57683 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57684 (END_CHK): Define.
57685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57686 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57687 mempcpy-ssse3-back memmove-ssse3-back.
57688 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57689 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57690 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57691 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57692 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57693 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57694 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57695 * sysdeps/x86_64/multiarch/memmove.c: New file.
57696 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57697 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57698 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57699 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57700 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57701 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57702 Define.
57703 (index_Fast_Copy_Backward): Define.
57704 (HAS_ARCH_FEATURE): Define.
57705 (HAS_FAST_REP_STRING): Define.
57706 (HAS_FAST_COPY_BACKWARD): Define.
57707
4e733bac 577082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57709
57710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57711 Restore proper fallback handling.
57712
63c4ed22
UD
577132010-06-19 Ulrich Drepper <drepper@redhat.com>
57714
ac2b484c
UD
57715 [BZ #11701]
57716 * posix/group_member.c (__group_member): Correct checking loop.
57717
63c4ed22
UD
57718 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57719 OOM in getpwuid_r correctly. Return error number when the caller
57720 should return, otherwise -1.
57721 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57722 call returning > 0 value.
57723 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57724
765ade4b
AS
577252010-06-07 Andreas Schwab <schwab@redhat.com>
57726
57727 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57728 libc_nonshared.a from targets in modules-names.
57729
80da2e09
KS
577302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57731
57732 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57733 requires it.
57734
158db122
LM
577352010-06-10 Luis Machado <luisgpm@br.ibm.com>
57736
57737 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57738 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57739 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57741
caa78cf8
AS
577422010-06-02 Andreas Schwab <schwab@redhat.com>
57743
57744 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57745
b2ef2c01
UD
577462010-06-14 Ulrich Drepper <drepper@redhat.com>
57747
57748 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57749 and F_GETPIPE_SZ.
57750 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57756
fbd643b6
RM
577572010-06-14 Roland McGrath <roland@redhat.com>
57758
57759 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57760
f32f2869
JJ
577612010-06-07 Jakub Jelinek <jakub@redhat.com>
57762
57763 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57764 __REDIRECT followed by __THROW.
57765 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57766 * posix/getopt.h (getopt): Likewise.
57767
2a50c078
EPM
577682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57769
57770 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57771 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57772 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57773 in AT_FLAGS.
57774 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57775 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57776
eb5ad2eb
LM
577772010-05-28 Luis Machado <luisgpm@br.ibm.com>
57778
57779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57780
3c88fe1e
L
577812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57782
57783 [BZ #11640]
57784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57785 Properly check family and model.
57786
d2f73151
TY
577872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57788
57789 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57790
ebd2e13d
LM
577912010-05-24 Luis Machado <luisgpm@br.ibm.com>
57792
57793 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57794
b32b8b45
UD
577952010-05-21 Ulrich Drepper <drepper@redhat.com>
57796
57797 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57798 symbol reference.
57799
9acbe24d
AS
578002010-05-19 Andreas Schwab <schwab@redhat.com>
57801
57802 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57803 symbol reference.
57804
f0ccf6ea
AS
578052010-05-21 Andreas Schwab <schwab@redhat.com>
57806
3d04ff3a
AS
57807 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57808 and internal_recvmmsg.
57809 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57810 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57811 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57812 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57813
f0ccf6ea
AS
57814 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57815 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57816 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57817
5b08ac57
AS
578182010-05-20 Andreas Schwab <schwab@redhat.com>
57819
57820 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57821
4828935d
LM
578222010-05-17 Luis Machado <luisgpm@br.ibm.com>
57823
57824 POWER7 optimizations.
57825 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57826 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57827
373d545e
UD
578282010-05-19 Ulrich Drepper <drepper@redhat.com>
57829
57830 * version.h: Update for 2.13 development version.
57831
21a2b1ae
AS
578322010-05-12 Andrew Stubbs <ams@codesourcery.com>
57833
57834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57835 exceptions. Return 0.
57836
3f7dcb2b
RM
578372010-05-07 Roland McGrath <roland@redhat.com>
57838
57839 * elf/ldconfig.c (main): Add a const.
57840
5f24d53a 578412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57842
a160f8d8
UD
57843 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57844 (args_options): Add no-idn option.
57845 (ahosts_keys_int): Add idn_flags to ai_flags.
57846 (parse_option): Handle 'i' option to clear idn_flags.
57847
5f24d53a
UD
57848 * malloc/malloc.c (_int_free): Possible race in the most recently
57849 added check. Only act on the data if no current modification
57850 happened.
265bb1ce
UD
57851
57852See ChangeLog.17 for earlier changes.