]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove HAVE_ASM_PPC_REL16 references
[thirdparty/glibc.git] / ChangeLog
CommitLineData
59261ad3
AM
12015-03-23 Alan Modra <amodra@gmail.com>
2
3 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5 and false branch of conditional.
6 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7 Likewise.
8
d583531a
ST
92015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
10
11 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12 libc-modules.h
868df0f9
ST
13 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14 unused declaration of _hurd_intr_rpc_msg_in_trap.
15 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16 defined instead of whether it is non-zero.
17 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18 input constraint instead of both input and output constraint. Use ecx
19 clobber instead of %ecx.
20 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21 mutex_unlock): Use a statement expression instead of an expression list.
22 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23 type to vm_size_t instead of vm_address_t.
24 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25 defined instead of whether it is non-zero.
26 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29 comparisons with mapaddr.
30 * nscd/nscd-client.h: Include <time.h>.
31 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32 9th parameter to __vm_region instead of int.
661a7dba 33 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
34 * scripts/check-local-headers.sh (exclude): Add device/,
35 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36 cthreads.h.
d583531a 37
298e5d56
RM
382015-03-19 Roland McGrath <roland@hack.frob.com>
39
40 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
41 to account for alignment padding.
42 * sysdeps/arm/memmove.S: Likewise.
43
becb26b8
CM
442015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
45
46 * sysdeps/unix/sysv/linux/generic/README: New file.
47
c2f5813a
JM
482015-03-18 Joseph Myers <joseph@codesourcery.com>
49
50 [BZ #18138]
51 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
52 (futex_abstimed_wait)
53 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
54 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
55 of lll_futex_timed_wait.
56
ed6b0fe7
BH
572015-03-18 Brad Hubbard <bhubbard@redhat.com>
58
59 [BZ #17542]
60 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
61
f8aeae34
AO
622015-03-17 Alexandre Oliva <aoliva@redhat.com>
63
64 [BZ #17090]
65 [BZ #17620]
66 [BZ #17621]
67 [BZ #17628]
68 * NEWS: Update.
69 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
70 entries with Static TLS too. Skip entries past the end of the
71 allocated DTV, from Alan Modra.
72 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
73 Static TLS DTV entry set up from...
74 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
75 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
76 * nptl/allocatestack.c (init_one_static_tls): ... and here...
77 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
78 for Static TLS.
79 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
80 that the slot we find is associated with the given map before
81 using its generation count.
82 * nptl_db/db_info.c: Include ldsodefs.h.
83 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
84 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
85 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
86 (link_map::l_tls_offset): New struct field.
87 (dtv_t::counter): Likewise.
88 (rtld_global): New struct.
89 (_rtld_global): New rtld variable.
90 (dl_tls_dtv_slotinfo_list): New rtld global field.
91 (dtv_slotinfo_list): New struct.
92 (dtv_slotinfo): Likewise.
93 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
94 (td_lookup): Rename to...
95 (td_mod_lookup): ... this. Use new mod parameter instead of
96 LIBPTHREAD_SO.
97 * nptl_db/td_thr_tlsbase.c: Include link.h.
98 (dtv_slotinfo_list, dtv_slotinfo): New functions.
99 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
100 addresses even if the DTV is out of date or missing them.
101 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
102 index zero-length arrays.
103 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
104 (td_lookup): Make it a macro implemented in terms of...
105 (td_mod_lookup): ... this declaration.
106 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
107 (DB_MAIN_VARIABLE): Likewise.
108
b97eb2bd
L
1092015-03-16 H.J. Lu <hongjiu.lu@intel.com>
110
111 [BZ #18134]
112 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
113
cb219290
PE
1142015-03-15 Paul Eggert <eggert@cs.ucla.edu>
115
116 * stdlib/setenv.c (__add_to_environ): Revert previous change.
117
a3905fd9
AS
1182015-03-14 Andreas Schwab <schwab@linux-m68k.org>
119
120 [BZ #18128]
121 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
122 (atomic_add, atomic_increment_and_test)
123 (atomic_decrement_and_test): Fix 64-bit arithmetic.
124
2ecccaed
PE
1252015-03-13 Paul Eggert <eggert@cs.ucla.edu>
126
127 * stdlib/setenv.c (__add_to_environ):
128 Dump core quickly if setenv (..., NULL, ...) is called.
129
cdaf79d0
RM
1302015-03-13 Roland McGrath <roland@hack.frob.com>
131
132 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
133 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
134 all the necessary asm magic in one place.
135 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
136 using those.
137
cf9313e7
CD
1382015-03-13 Carlos O'Donell <carlos@redhat.com>
139
140 [BZ #14906]
141 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
142 traced file mtime. Use consistent log message.
143 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
144 (register_traced_file): Call install_watches. Always set mtime.
145 (invalidate_cache): Iterate over all trace files. Call install_watches.
146 (inotify_check_files): Don't inline. Handle watching parent
147 directories and configuration file movement in and out.
148 (handle_inotify_events): New function.
149 (main_loop_poll): Call handle_inotify_events.
150 (main_loop_epoll): Likewise.
151 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
152 (struct traced_file): Use array of inotify fds. Add parent directory,
153 and basename.
154 (struct database_dyn): Remove unused file_mtime.
155 (init_traced_file): New inline function.
156 (define_traced_file): New macro.
157 * nss/nss_db/db-init.c: Use define_traced_file.
158 (_nss_db_init): Use init_traced_file.
159 * nss/nss_files/files-init.c: Use define_traced_file.
160 (_nss_files_init): Use init_traced_file.
161
7d67a196
JM
1622015-03-12 Joseph Myers <joseph@codesourcery.com>
163
164 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
165 [_LIBC]: Do not include <stdlib.h>.
166 [!_LIBC] (abort): Remove declaration.
167 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
168 _FP_STATIC_ASSERT instead of conditionally calling abort.
169 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
170 (_FP_EXTEND_CNAN): Likewise.
171 (FP_TRUNC): Likewise.
172 (__FP_CLZ): Likewise.
173 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
174
af85ebcd
YS
1752015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
176
177 * manual/string.texi (XPG basename): Fix prototype.
178
2e807f29
SL
1792015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
180
181 [BZ #18080]
182 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
183 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
184 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
185 (__setcontext): Likewise.
186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
187 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
188 Call rt_sigprocmask syscall one time to set new signal mask
189 and retrieve the current signal mask instead of two calls.
190 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
191 (__swapcontext): Likewise.
192 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
193 * stdlib/tst-setcontext2.c: New file.
194
1b2bebe6
SL
1952015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
196
197 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
198
6a1cf708
AJ
1992015-03-11 Aurelien Jarno <aurelien@aurel32.net>
200
201 [BZ #18093]
202 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
203 the wrong size.
204
a2d4cf72
PP
2052015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
206
207 [BZ #18043]
208 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
209
5ca10a0c
AZ
2102015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
211
212 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
213 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
214 Remove define.
215 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
216 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
217 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
218 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
219 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
220 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
221 define.
222 * nptl_db/td_symbol_list.c (td_lookup): Remove
223 HAVE_ASM_GLOBAL_DOT_NAME code.
224 * sysdeps/powerpc/powerpc64/configure.ac: Remove
225 HAVE_ASM_GLOBAL_DOT_NAME check.
226 * sysdeps/powerpc/powerpc64/configure: Regenerate.
227 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
228 (DOT_LABEL): Remove define.
229 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
230 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
231 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
232 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
233 (__TLS_GET_ADDR): Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
235 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
236
e4363cfb
CD
2372015-03-11 Carlos O'Donell <carlos@redhat.com>
238
239 [BZ #18111]
240 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
241 (_FPU_SETCW): Initialize cw from fpsr before storing.
242 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
243 (fesetexceptflag): Rewrite using fpu_control.h.
244 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
245
fae1aa8d
JDA
2462015-03-11 John David Anglin <danglin@gcc.gnu.org>
247
248 [BZ #18110]
249 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
250 asms.
251 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
252
068a6274
JM
2532015-03-11 Joseph Myers <joseph@codesourcery.com>
254
255 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
256 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
257 abort.
258 (_FP_FMA): Likewise.
259 (_FP_DIV): Likewise.
260
d3821ab0
RM
2612015-03-10 Roland McGrath <roland@hack.frob.com>
262
44a6213c
RM
263 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
264 with 0 in that case.
265 * Makefile (summarize-tests): New canned sequence, factored out of
266 commands for targets tests and xtests. Display summary lines that
267 don't start with PASS: or XFAIL: rather than ones that do start with
268 ERROR: or FAIL:. Make the commands fail if any summary lines fail
269 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
270 do start with ERROR: or FAIL:.
271 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
272 (except for [$(build-shared) = yes]).
273 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
274 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
275 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
276 * nptl/Makefile: Revert 2015-03-04 changes.
277 [$(CXX) empty] (tests-unsupported): New variable.
278 * debug/Makefile: Likewise.
279
d3821ab0
RM
280 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
281 gnulib file. Replace __attribute with __attribute__ throughout.
282
85ca85ae
CD
2832015-03-10 Carlos O'Donell <carlos@redhat.com>
284
285 * sysdeps/hppa/fpu/libm-test-ulps: Update.
286
6411f81d
JM
2872015-03-10 Joseph Myers <joseph@codesourcery.com>
288
289 [BZ #18104]
290 * math/auto-libm-test-in: Add another test of pow.
291 * math/auto-libm-test-out: Regenerated.
292
d421868b
AZ
2932015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
296 $(config-cflags-nofma).
297
a2f8be9c
JM
2982015-03-10 Joseph Myers <joseph@codesourcery.com>
299
300 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
301 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
302 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
303 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
304 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
305 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
306 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
307 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
308 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
309 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
310 Add comment on closing #endif.
311
01d032e0
PP
3122015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
313
314 * posix/wordexp.c (CHAR_IN_SET): New macro.
315 (parse_param): Use it.
316
d439bc56
AZ
3172015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
318
319 * sysdeps/powerpc/fpu/libm-test-ulps: update.
320
5f85a4bf
PP
3212015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
322
323 [BZ #18043]
324 * posix/wordexp.c (parse_param): Fix buffer overflow.
325 * posix/wordexp-test.c (test_case): Add test case.
326
f8ba70e9
PP
3272015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
328
329 [BZ #18042]
330 * posix/wordexp.c (parse_backtick): Fix off-by-one.
331 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
332
36103ba2
PP
3332015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
334
335 [BZ #18043]
336 * posix/wordexp-test.c (test_case): Add test for BZ #18043
337 (do_bz18043): Delete.
338 (at_page_end): New.
339 (testit): Refactor to have words at the edge of unreadable page.
340
18d26750
PP
3412015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
342
343 [BZ #16734]
344 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
345 Cleanup read-only streams as well.
346 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
347
9f95dc5d
ST
3482015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
349
350 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
351 <bits/libc-lockP.h>
352
b838844b
JM
3532015-03-07 Joseph Myers <joseph@codesourcery.com>
354
355 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
356 on [__KERNEL__].
357 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
358 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
359 * soft-fp/op-common.h (_FP_DECL): Likewise.
360
e0ed2fb4
L
3612015-03-06 H.J. Lu <hongjiu.lu@intel.com>
362
363 * elf/ifuncdep2.c (global): Replace
364 __attribute__((visibility("protected"))) with
365 asm (".protected global").
366 * elf/ifuncmod1.c (global): Likewise.
367 * elf/ifuncmod5.c (global): Likewise.
368
fa9dda64
JM
3692015-03-06 Joseph Myers <joseph@codesourcery.com>
370
371 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
372 <asm/sfp-machine.h> instead of <sfp-machine.h>.
373
4acc27ed
RM
3742015-03-06 Roland McGrath <roland@hack.frob.com>
375
376 * manual/install.texi (Configuring and compiling):
377 Document test-wrapper-env-only.
378 * INSTALL: Regenerated.
379
895c30cb
PP
3802015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
381
382 [BZ #18043]
383 * posix/wordexp.c (parse_param): Fix buffer overflow.
384 * posix/wordexp-test.c (do_bz18043): Add test case.
385
5df56c7e
VB
3862015-03-06 Vincent Bernat <vincent@bernat.im>
387
388 * time/tst-strptime2.c (do_test): Ensure failing tests are
389 reported correctly.
390 * time/tst-strptime3.c (do_test): Likewise.
391
1cdf2ea1
ST
3922015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
393
394 Fix aio_error thread-safety.
1cdf2ea1
ST
395 * sysdeps/pthread/aio_error.c: New file
396 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
397 synchronization.
398
d176a41a
FW
3992015-03-06 Florian Weimer <fweimer@redhat.com>
400
401 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
402 (group_number, vfprintf): Use it.
1597b744
FW
403 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
404 (JUMP, REF): Use it.
405 (WORK_BUFFER_SIZE): New enum constant.
406 (process_arg, vfprintf): Use it.
d176a41a 407
7e7af349
RJ
4082015-03-06 Rical Jasan <ricaljasan@pacific.net>
409
410 * manual/errno.texi (Error Messages): Complete example function
411 by adding missing #define.
412 (program_invocation_name): Add statement indicating GNU
413 extension and reference which header file declares the variable.
414 (program_invocation_short_name): Likewise.
415
4ca8ddfb
MF
4162015-03-06 Mike Frysinger <vapier@gentoo.org>
417
418 * manual/errno.texi (Error Messages): Delete strerror ISO C89
419 compatibility note.
420
9162c01d
RM
4212015-03-05 Roland McGrath <roland@hack.frob.com>
422
423 * Makeconfig (test-wrapper-env-only): New variable.
424 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
425 then use that with $(test-wrapper-env-only) rather than using
426 $(test-wrapper-env) $(run-program-env) $($*-ENV).
427
209826bc
L
4282015-03-05 H.J. Lu <hongjiu.lu@intel.com>
429
430 [BZ #18082]
431 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
432 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
433 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
434 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
435 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
436 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
437 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
438 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
439 Likewise.
440 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
441 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
442 Likewise.
443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
444 Likewise.
445 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
446 Likewise.
447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
448 Likewise.
449 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
451 Likewise.
452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
453 Likewise.
454 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
455 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
456
2cfe32bc
RM
4572015-03-04 Roland McGrath <roland@hack.frob.com>
458
8bff5aab
RM
459 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
460 (ETH_ALEN): New macro.
461 (struct ether_addr): Use it for length of ether_addr_octet.
462
2752f338
RM
463 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
464 (setdb): Don't call __nss_configure_lookup for "rpc".
465 (do_test): Don't call test_rpc.
466 (output_rpcent, test_rpc): Functions moved ...
467 * sunrpc/test-rpcent.c: ... to this new file.
468 * sunrpc/Makefile (tests): Add it.
469
2cfe32bc
RM
470 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
471 __xpg_sigpause.
472 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
473 * nptl/tst-signal6.c: Likewise.
474 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
475 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
476
e4693aa7
RM
477 * configure.ac (libc_cv_cxx_link_ok): New check.
478 Reset CXX to empty if it fails to link.
479 * configure: Regenerated.
480 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
481 bug-atexit3-lib only if $(CXX) is nonempty.
482 * nptl/Makefile (tests): Likewise for tst-cancel24.
483 (tests, tests-static): Likewise for tst-cancel24-static.
484 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
485 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
486 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
487 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 488
8e2e833a
AS
4892015-03-04 Andreas Schwab <schwab@suse.de>
490
491 [BZ #17631]
492 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
493 for non-GCC compilers.
494 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
495 Likewise.
496
85b29045
AZ
4972015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
498
499 [BZ #17776]
500 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
501 integer before bitwise and assembly operations.
502 (feclearexcept): Likewise.
503 * math/test-fenvinline.c: New file.
504 * math/Makefile: Add test-fenvinline test.
505
a0af371c
AM
5062015-03-03 Alan Modra <amodra@gmail.com>
507
508 [BZ #16512]
509 * scripts/localplt.awk: Strip off symbol version.
510 * NEWS: Mention bug fix.
511
47465629
RM
5122015-03-02 Roland McGrath <roland@hack.frob.com>
513
514 * sysdeps/pthread/timer_routines.c
515 (timer_free_list, thread_free_list, thread_active_list): Make static.
516
6d08b022
JM
5172015-03-02 Joseph Myers <joseph@codesourcery.com>
518
519 [BZ #17779]
520 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
521 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
522 Undefine.
523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
524 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
525 Likewise.
526 * sysdeps/unix/sysv/linux/sh/kernel-features.h
527 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
528 Likewise.
529
c2c6d39f
PP
5302015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
531
532 [BZ #18036]
533 * posix/fnmatch_loop.c (END): Detect invalid pattern.
534 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
535
e8b6be00
AS
5362015-03-02 Andreas Schwab <schwab@suse.de>
537
538 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
539 variable name.
540
1a2d98af
FW
5412015-03-02 Florian Weimer <fweimer@redhat.com>
542
543 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
544 Return error status.
545
e7f07af5
AO
5462015-02-27 Alexandre Oliva <aoliva@redhat.com>
547
548 [BZ #15969]
549 * locale/findlocale.c (_nl_find_locale): Introduce const
550 version of loc_name and drop unsafe type casts.
551
c7b19ca9
RM
5522015-02-27 Roland McGrath <roland@hack.frob.com>
553
554 * dlfcn/tststatic2.c (main): Converted to ...
555 (do_test): ... this.
556 (TEST_FUNCTION): New macro.
557 Include test-skeleton.c.
558
ef4ad06f
L
5592015-02-27 H.J. Lu <hongjiu.lu@intel.com>
560
561 [BZ #17711]
562 * elf/Makefile (tests): Add vismain only if PIE is enabled.
563 (tests-pie): Add vismain.
564 (CFLAGS-vismain.c): New.
565 * elf/vismain.c: Add comments for PIE requirement.
566
2ca725c5
JM
5672015-02-27 Joseph Myers <joseph@codesourcery.com>
568
569 [BZ #18046]
570 [BZ #18047]
571 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
572 0x1p-56L as threshold for just returning the argument.
573 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
574 0x1p-32L as threshold for just returning the argument.
575 * math/auto-libm-test-in: Add more tests of atanh.
576 * math/auto-libm-test-out: Regenerated.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
579
af96be34
WD
5802015-02-27 Wilco Dijkstra wdijkstr@arm.com
581
582 * string/bcopy.c (bcopy): Call memmove for performance.
583
ddcf6798
WD
5842015-02-27 Wilco Dijkstra wdijkstr@arm.com
585
586 * string/bzero.c (__bzero): Call memset for performance.
587
49f476f4
JDA
5882015-02-27 John David Anglin <dave.anglin@bell.net>
589
b42e14ff 590 [BZ #18068]
49f476f4
JDA
591 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
592 to 00100000.
593
f8ab5d38
JM
5942015-02-27 Joseph Myers <joseph@codesourcery.com>
595
596 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
597
380bd0fd
JM
5982015-02-26 Joseph Myers <joseph@codesourcery.com>
599
31331a07
JM
600 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
601 (__kernel_standard): Use CSTR macro when setting exc.name.
602 * sysdeps/ieee754/Makefile [$(subdir) = math]
603 (CFLAGS-k_standard.c): Remove variable.
604
09220e66
JM
605 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
606 setting p and q from "else if" to "else".
607 (qzero): Likewise.
608 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
609 (qone): Likewise.
610 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
611 (qzerof): Likewise.
612 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
613 (qonef): Likewise.
614 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
615 (qzero): Likewise.
616 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
617 (qone): Likewise.
618
1d9ab20c
JM
619 [BZ #18038]
620 [BZ #18039]
621 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
622 return pi/2 for arguments below 0x1p-113L.
623 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
624 return pi/2 for arguments below 0x1p-106L.
625 * math/auto-libm-test-in: Add more tests of acos.
626 * math/auto-libm-test-out: Regenerated.
627
ec0ce0d3
JM
628 [BZ #16351]
629 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
630 (MO): New macro.
631 (__ieee754_asin): Force underflow exception for results with small
632 absolute value.
633 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
634 (MO): New macro.
635 (__ieee754_asinf): Force underflow exception for results with
636 small absolute value.
637 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
638 (__ieee754_asin): Force underflow exception for results with small
639 absolute value.
640 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
641 (__ieee754_asinf): Force underflow exception for results with
642 small absolute value.
643 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
644 (__ieee754_asinl): Force underflow exception for results with
645 small absolute value.
646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
647 (__ieee754_asinl): Force underflow exception for results with
648 small absolute value.
649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
650 (__ieee754_asinl): Force underflow exception for results with
651 small absolute value.
652 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
653 Include <math.h>.
654 * math/auto-libm-test-in: Do not mark underflow exceptions as
655 possibly missing for bug 16351.
656 * math/auto-libm-test-out: Regenerated.
657
380bd0fd
JM
658 [BZ #18030]
659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
660 of power of 2 down when low part has opposite sign.
661 * math/libm-test.inc (logb_test_data): Add more tests.
662
4a28f4d5
AS
6632015-02-26 Andreas Schwab <schwab@suse.de>
664
665 [BZ #18032]
666 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
667 over collating symbol inside a bracket expression. Minor cleanup.
668 * posix/tst-fnmatch3.c (do_test): Add test case.
669
524ae9ea
JM
6702015-02-26 Joseph Myers <joseph@codesourcery.com>
671
672 [BZ #18029]
673 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
674 Adjust exponent of power of 2 down when low part has opposite
675 sign.
676 * math/libm-test.inc (ilogb_test_data): Add more tests.
677
23d43090
AO
6782015-02-26 Alexandre Oliva <aoliva@redhat.com>
679
680 [BZ #15969]
681 * locale/findlocale.c (_nl_find_locale): Fix constness error in
682 the previous change.
0d822a01
AO
683
684 [BZ #15969]
685 * locale/findlocale.c (_nl_find_locale): Retry archive search
686 after alias expansion.
687
d19df6ac
RM
6882015-02-25 Roland McGrath <roland@hack.frob.com>
689
ca681b7b
RM
690 * iconv/tst-iconv3.c (main): Converted to ...
691 (do_test): ... this.
692 (TEST_FUNCTION): New macro.
693 Include test-skeleton.c.
694
fd1f2f1c
RM
695 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
696 (convert): Make function static.
697 (test_unalign): Likewise. Add const to argument pointee types.
698 (main): Replace with static function do_test.
699 Print "Succeeded." only if RET is zero.
700 (TEST_FUNCTION): New macro.
701 Include test-skeleton.c.
702
d19df6ac
RM
703 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
704 returns a null pointer.
705
115e0de7
AZ
7062015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707
708 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
709 to __memcpy_ppc only for static builds.
710
137cef7d
JM
7112015-02-25 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #18020]
714 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
715 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
716 * math/auto-libm-test-in: Add more tests of asinh.
717 * math/auto-libm-test-out: Regenerated.
718 * sysdeps/i386/fpu/libm-test-ulps: Update.
719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
720
cb43bb0d
CW
7212015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
722
723 [BZ #15850]
724 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
725 and ip6_mtuinfo definitions here.
726 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
727 in this define too. Update comment.
728
9be1052b
BS
7292015-02-24 Benno Schulenberg <bensberg@justemail.net>
730
731 * elf/sprof.c (load_shobj): Tweak error message to match others.
732
6807b1db
KE
7332015-02-24 Kevin Easton <kevin@guarana.org>
734
735 [BZ #16145] (partial fix)
736 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
737 to reduce lock contention.
738
b433df00
ML
7392015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
740
741 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
742 (struct timex): Update time comment.
743 (ADJ_SETOFFSET): Define.
744
440169d6
JM
7452015-02-24 Joseph Myers <joseph@codesourcery.com>
746
747 [BZ #18019]
748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
749 2**56 not 2**28 as threshold for log (2x) formula.
750 * math/auto-libm-test-in: Add more tests of acosh.
751 * math/auto-libm-test-out: Regenerated.
752 * sysdeps/i386/fpu/libm-test-ulps: Update.
753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
754
ba7d2c54
MF
7552015-02-24 Mike Frysinger <vapier@gentoo.org>
756
757 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
758 parenthesis around the buf assignment.
759 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
760
9438b237
JM
7612015-02-24 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #16783]
764 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
765 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
766 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
767 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
768 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
769 * math/libm-test.inc (scalb_test_data): Add more tests.
770
6909d276
PP
7712015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
772
773 [BZ #17916]
774 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
775 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
776
65f6f938
ER
7772015-02-24 Eric Rannaud <e@nanocritical.com>
778
779 [BZ #17523]
780 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
781 * io/bits/fcntl2.h (open): Use it.
782 (openat): Likewise.
783 * io/open.c (__libc_open): Likewise.
784 * io/open64.c (__libc_open64): Likewise.
785 * io/open64_2.c (__open64_2): Likewise.
786 * io/open_2.c (__open_2): Likewise.
787 * io/openat.c (__openat): Likewise.
788 * io/openat64.c (__openat64): Likewise.
789 * io/openat64_2.c (__openat64_2): Likewise.
790 * io/openat_2.c (__openat_2): Likewise.
791 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
792 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
793 * sysdeps/posix/open64.c (__libc_open64): Likewise.
794 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
795 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
796 (__open_nocancel): Likewise.
797 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
798 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
799 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
800
3e3002ff
SP
8012015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 [BZ #14841]
804 * resolv/gethnamaddr.c (getanswer): Skip logging if
805 RES_USE_DNSSEC is set.
806 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
807
9813dd58
MF
8082015-02-24 Mike Frysinger <vapier@gentoo.org>
809
810 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
811
7b1ec6a0
AO
8122015-02-23 Alexandre Oliva <aoliva@redhat.com>
813
814 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
815 201304L, for Unicode 7.
816
d49499c1
L
8172015-02-23 H.J. Lu <hongjiu.lu@intel.com>
818
819 [BZ #17836]
820 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
821 shared library. Add gmon-start.os otherwise.
822 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
823 $(objpfx)gmon-start.os if builing shared library.
824 ($(objpfx)g$(static-start-installed-name)): Likewise.
825
51225803
AS
8262015-02-23 Andreas Schwab <schwab@suse.de>
827
828 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
829
bdf1ff05
PP
8302015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
831
832 [BZ #17269]
833 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
834 (enlarge_userbuf): Likewise.
835
95296112
CLT
8362015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
837
838 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
839 * math/atest-exp.c (TIMEOUT): Adjust to 200.
840 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
841 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
842
e4a399dc
JM
8432015-02-20 Joseph Myers <joseph@codesourcery.com>
844
845 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
846 expression inside statement expression.
847
7133957f
SL
8482015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
849
850 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
851 <sysdeps/nptl/lowlevellock.h> and remove macros and
852 functions that are now defined there.
853 (SYS_futex): Remove.
854 (lll_compare_and_swap): Remove.
855 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
856
40176158
JM
8572015-02-19 Joseph Myers <joseph@codesourcery.com>
858
859 [BZ #17999]
860 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
861 instead of scandirat.
862 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
863 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
864 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
865 __scandirat.
866 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
867 (__scandirat): Declare. Use libc_hidden_proto.
868 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
869 Remove variable.
870 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
871
4629c866
JM
8722015-02-18 Joseph Myers <joseph@codesourcery.com>
873
874 [BZ #15319]
875 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
876 (MO): New macro.
877 (__ieee754_atan2): For results with small absolute value, force
878 underflow exception and remove excess range and precision from
879 return value.
880 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
881 (MO): New macro.
882 (__ieee754_atan2f): For results with small absolute value, force
883 underflow exception and remove excess range and precision from
884 return value.
885 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
886 (MO): New macro.
887 (__atan): For results with small absolute value, force underflow
888 exception and remove excess range and precision from return value.
889 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
890 (MO): New macro.
891 (__atanf): For results with small absolute value, force underflow
892 exception and remove excess range and precision from return value.
893 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
894 <math.h>.
895 (__ieee754_atan2): Force underflow exception for results with
896 small absolute value.
897 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
898 <math_private.h>.
899 (atan): Force underflow exception for results with small absolute
900 value.
901 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
902 (__atanf): Force underflow exception for results with small
903 absolute value.
904 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
905 <math.h>.
906 (__atanl): Force underflow exception for results with small
907 absolute value.
908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
909 (__atanl): Force underflow exception for results with small
910 absolute value.
911 * sysdeps/x86/fpu/bits/mathinline.h
912 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
913 (__ieee754_atan2): Only define inline for long double.
914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
915 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
916 * math/auto-libm-test-in: Do not mark underflow exceptions as
917 possibly missing for bug 15319. Add more tests of atan2.
918 * math/auto-libm-test-out: Regenerated.
919 * math/libm-test.inc (casin_test_data): Do not mark underflow
920 exceptions as possibly missing for bug 15319.
921 (casinh_test_data): Likewise.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923
9ee16d8b
SE
9242015-02-18 Steve Ellcey <sellcey@imgtec.com>
925
926 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
927 * sysdeps/mips/bits/endian.h: Fix comments.
928
4ffb1771
JM
9292015-02-18 Joseph Myers <joseph@codesourcery.com>
930
931 [BZ #17996]
932 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
933 (hdestroy_r): Likewise.
934 (hsearch_r): Likewise.
935 (__hcreate_r): Declare and use libc_hidden_proto.
936 (__hdestroy_r): Likewise.
937 (__hsearch_r): Likewise.
938 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
939 (hcreate): Call __hcreate_r instead of hcreate_r.
940 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
941 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
942 as weak alias of __hcreate_r.
943 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
944 __hdestroy_r.
945 (hsearch_r): Rename to __hsearch_r and define as weak alias of
946 __hsearch_r.
947 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
948 Remove variable.
949 (test-xfail-XPG4/search.h/linknamespace): Likewise.
950 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
951 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
952 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
953
94c5a52a
SP
9542015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
955
956 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
957 arena_lock into a single arena_get.
958
8a35c3fe
CD
9592015-02-17 Carlos O'Donell <carlos@redhat.com>
960
961 * dl-reloc.c: Inlucde libc-internal.h.
962 (_dl_try_allocate_static_tls): Call ALIGN_UP.
963 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
964 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
965 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
966 (grow_heap): Likewise.
967 * malloc/malloc.c: Include libc-internal.h.
968 (do_check_malloc): Call powerof2.
969 (sysmalloc): Use pagesize. Call ALIGN_UP.
970 (systrim): Use pagesize.
971 (mremap_chunk): Use pagesize. Call ALIGN_UP.
972 (__libc_valloc): Use pagesize.
973 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
974
1a2325c0
JM
9752015-02-17 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #17991]
978 * include/sys/resource.h (__getrlimit64): Declare. Use
979 libc_hidden_proto.
980 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
981 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
982 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
983 getrlimit64.
984 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
985 __getrlimit64.
986 [!getrlimit64] (getrlimit64): Define as weak alias of
987 __getrlimit64. Use libc_hidden_weak.
988 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
989 using __getrlimit64 not __new_getrlimit64.
990 (__GI_getrlimit64): Likewise.
991 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
992 Likewise.
993 (__GI_getrlimit64): Likewise.
994 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
996 (getrlimit): Add __getrlimit64 alias.
997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
998 Likewise.
999 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1000 Remove variable.
1001 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1002 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1003
8ae4bb5a
PP
10042015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1005
1006 * libio/fileops.c: Add missing sys/mman.h
1007 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1008
18a218b7
JM
10092015-02-17 Joseph Myers <joseph@codesourcery.com>
1010
1011 * manual/math.texi (Errors in Math Functions): Clarify goals
1012 regarding inexact and underflow exceptions.
1013
e72ad0ef
SE
10142015-02-17 Steve Ellcey <sellcey@imgtec.com>
1015
1016 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1017 * sysdeps/mips/memset.S: Ditto.
1018
2caa4099
SE
10192015-02-17 Steve Ellcey <sellcey@imgtec.com>
1020
1021 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1022
f20bfc9b
SL
10232015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1024
1025 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1026 (__v1longjmp): Remove versioned symbol.
1027 (__v1siglongjmp): Remove alias and versioned symbol.
1028 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1029 (__v2siglongjmp): Likewise.
1030
71c06b69
TR
10312015-02-16 Torvald Riegel <triegel@redhat.com>
1032
1033 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1034
a9a05adb
MF
10352015-02-16 Mike Frysinger <vapier@gentoo.org>
1036
1037 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1038
ce8fc784
JM
10392015-02-16 Joseph Myers <joseph@codesourcery.com>
1040
1041 [BZ #17987]
1042 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1043 zero result does not depend on the sign resulting from
1044 subtraction.
1045 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1046 Likewise.
1047 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1048 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1049 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1050 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1051 * math/libm-test.inc (remquo_test_data): Add more tests.
1052
0d7036bd
PE
10532015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1054
1055 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1056 Problem reported by J William Piggott.
1057
86c56b16
JM
10582015-02-16 Joseph Myers <joseph@codesourcery.com>
1059
a820f9b3
JM
1060 [BZ #17978]
1061 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1062 products 4 * y and 2 * y where those would overflow.
1063 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1064 Likewise.
1065 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1066 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1067 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1068 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1069 * math/libm-test.inc (remquo_test_data): Add more tests.
1070
be802953
JM
1071 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1072
e5e72fe9
JM
1073 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1074 [defined _COMPILING_NEWLIB].
1075 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1076 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1077
86c56b16
JM
1078 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1079 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1080
35264d14
TR
10812015-02-16 Torvald Riegel <triegel@redhat.com>
1082
1083 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1084 acquired.
1085
6f49e32a
MF
10862015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1087
1088 [BZ #17792]
1089 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1090 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1091 HOST_STACK_END_ADDR): Likewise.
1092
e525154e
SE
10932015-02-13 Steve Ellcey <sellcey@imgtec.com>
1094
1095 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1096 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1097 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1098
4ab770b7
RM
10992015-02-13 Roland McGrath <roland@hack.frob.com>
1100
1101 * sysdeps/generic/c++-types.data: New file.
1102 * sysdeps/generic/ld.abilist: New file.
1103 * sysdeps/generic/libBrokenLocale.abilist: New file.
1104 * sysdeps/generic/libanl.abilist: New file.
1105 * sysdeps/generic/libc.abilist: New file.
1106 * sysdeps/generic/libcrypt.abilist: New file.
1107 * sysdeps/generic/libdl.abilist: New file.
1108 * sysdeps/generic/libm.abilist: New file.
1109 * sysdeps/generic/libpthread.abilist: New file.
1110 * sysdeps/generic/libresolv.abilist: New file.
1111 * sysdeps/generic/librt.abilist: New file.
1112
d9afe48d
JM
11132015-02-13 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #17569]
1116 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1117 Compute absolute value of x as modified by fmod, not original
1118 value of x.
1119 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1120 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1121 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1122 RUN_TEST_ffI_f1_mod8.
1123 (remquo_test_data): Add more tests.
1124
3846188b
RM
11252015-02-13 Roland McGrath <roland@hack.frob.com>
1126
1127 * sysdeps/init_array/pt-crti.S: New file.
1128
95c26233
JM
11292015-02-13 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #17967]
1132 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1133 __builtin_fmaf instead of relying on contraction of a * b + c.
1134
3f293d61
WP
11352015-02-12 J William Piggott <elseifthen@gmx.com>
1136
1137 [BZ #17969]
1138 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1139 node.
1140
e8bd5286
JM
11412015-02-12 Joseph Myers <joseph@codesourcery.com>
1142
1143 [BZ #17964]
1144 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1145 __builtin_fma instead of relying on contraction of a * b + c.
1146
04f5a636
RM
11472015-02-12 Roland McGrath <roland@hack.frob.com>
1148
96a15749
RM
1149 * Makeconfig (ASFLAGS): Add -Werror=undef.
1150 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1151 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1152 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1153
04f5a636
RM
1154 * Makeconfig (after-link): New variable.
1155 (+link-pie, +link-pie-tests): Use it.
1156 (+link-static, +link-static-tests): Likewise.
1157 (+link, +link-tests): Likewise.
1158 * Makerules (build-module, build-module-asneeded): Likewise.
1159 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1160 Likewise.
1161 * elf/Makefile ($(objpfx)ld.so): Likewise.
1162
87a629c5
RS
11632015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1164
1165 [BZ #17965]
1166 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1167 both struct timeval and struct timespec.
1168
03d95bd4
JM
11692015-02-12 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #16560]
1172 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1173 and redefine.
1174 (__ieee754_exp2l): Do not multiply small fractional parts by
1175 M_LN2l.
1176 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1177 small argument.
1178 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1179 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1180 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1181 * math/auto-libm-test-in: Add more tests of exp2.
1182 * math/auto-libm-test-out: Regenerated.
1183
98408b95
RS
11842015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1185
1186 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1187 unaligned path.
1188
6f741503
AZ
11892015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1190
1191 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1192 little endian.
1193
2868e070
AS
11942015-02-12 Andreas Schwab <schwab@suse.de>
1195
1196 [BZ #15790]
1197 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1198 Filter out elision flags from value returned in kind.
1199 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1200 * nptl/tst-pthread-mutexattr.c: New file.
1201
ebf27d12
ST
12022015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1203
1204 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1205 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1206 into gnu-gnu, and update comment to refer to abi-tags.
1207
d435569c
JM
12082015-02-11 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #15467]
1211 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1212 (__sincos): Set errno to EDOM for infinite argument.
1213 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1214 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1215 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1216 (__sincosl): Set errno to EDOM for infinite argument.
1217 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1218 (__sincosl): Set errno to EDOM for infinite argument.
1219 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1220 (__sincosl): Set errno to EDOM for infinite argument.
1221 * math/libm-test.inc (sincos_test_data): Test errno setting.
1222
d35273f2
LH
12232015-02-11 Leonhard Holz <leonhard.holz@web.de>
1224
1225 * string/strxfrm_l.c: Remove #define STRCMP.
1226 * string/strcoll_l.c: Remove #define STRLEN.
1227 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1228 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1229
306bc0d1
JM
12302015-02-10 Joseph Myers <joseph@codesourcery.com>
1231
1232 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1233 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1234 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1235 * sysdeps/mips/mips64/Makefile: ... here.
1236 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1237 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1238 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1239 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1240 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1241 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1242 * sysdeps/mips/mips64/n64/Implies: Likewise.
1243
92b67e8d
RM
12442015-02-10 Roland McGrath <roland@hack.frob.com>
1245
1246 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1247 <sys/time.h>, <string.h>, and <errno.h>.
1248 (dest_offset, dest_address, value, zero): Remove unused variables.
1249 (ldouble): Remove typedef.
1250 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1251 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1252 1). Fix code style.
1253 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1254 (check): Function removed.
1255 (CHECK): New macro.
1256 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1257 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1258 Don't call set_sigaction_FP and remove_sigaction_FP here.
1259 (ldouble_test): Just use 'long double' as macro argument, no need for
1260 the 'ldouble' typedef.
1261 (do_test): Set up SIGFPE handler at start, using plain signal rather
1262 than sigaction. Fix code style.
1263
132a1328
EF
12642015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1265
1266 [BZ #17949]
1267 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1268 jump label.
1269
3001e54c
AZ
12702015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1271
bc0cdc49
AZ
1272 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1274
83658961
AZ
1275 * sysdeps/powerpc/configure.ac: Remove file.
1276 * sysdeps/powerpc/configure: Likewise.
1277
10169938
AZ
1278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1279 [sysdep_routines]: Remove wordcopy-power6 object.
1280 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1281 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1283 (__memmove_ppc32): Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1285 file.
1286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1287 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1288 Remove preprocessor.
1289
8548a53d
AZ
1290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1291 [sysdep_routines]: Remove wide chars objects.
1292 [wcsmbs]: New rule for wide char objects.
1293
b2692114
AZ
1294 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1295 Remove wordcopy-power6 obejct.
1296 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1297 Use local call for wordcopy and memcpy symbols.
1298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1300 implementation for loader.
1301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1302
18e270aa
AZ
1303 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1304 Remove wordcopy-power7 object.
1305 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1307 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1308 (_wordcopy_fwd_dest_aligned): Likewise.
1309 (_wordcopy_bwd_aligned): Likewise.
1310 (_wordcopy_bwd_dest_aligned): Likewise.
1311
6f0993a6
AZ
1312 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1313 Rewrite to call __memmove_ppc instead of include default
1314 implementation.
1315
3001e54c
AZ
1316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1317 Remove wide chars objects.
1318 [wcsmbs]: New rule for wide char objects.
1319
59b61c82
AS
13202015-02-09 Andreas Schwab <schwab@suse.de>
1321
1322 [BZ #17912]
1323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1324 in terms of __O_DIRECTORY.
1325
ebd7aede
ST
13262015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1327
1328 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1329 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1330 call PTR_MANGLE.
1331 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1332 PTR_DEMANGLE.
ebd7aede 1333
3999d26e
PE
13342015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1335
1336 Add ersatz _Static_assert on older C hosts
1337 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1338 pre-C11 C platform that is not known to support _Static_assert.
1339
e9a5bc1c
ST
13402015-02-07 Richard Braun <rbraun@sceen.net>
1341
1342 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1343 sigstate.
e86c5b64 1344 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1345
e2049d17
ST
13462015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1347
1348 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1349 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1350 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1351 instead of int.
1352 * misc/fchflags.c (fchflags): Likewise.
1353 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1354 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1355 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1356 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1357 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1358 Declare macros.
1359 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1360 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1361 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1362 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1363 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1364 45.
a9a002fb
ST
1365 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1366 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1367 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1368 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1369 * hurd/hurd/signal.h (_hurd_self_sigstate,
1370 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1371 Explicit casts from void *.
4fc81a77 1372 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1373 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1374
f05826f0
ST
1375 [BZ #4719]
1376 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1377 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1378 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1379 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1380 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1381 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1382
a5eb23de
ST
1383 [BZ #17944]
1384 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1385 duplicates ADDR->sun_path with sockaddr LEN limitation.
1386 * sysdeps/mach/hurd/connect.c: Include <string.h>
1387 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1388 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1389 * sysdeps/mach/hurd/sendto.c: Likewise.
1390 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1391 implementing it by hand.
1392
ac9e0e5e
RM
13932015-02-06 Roland McGrath <roland@hack.frob.com>
1394
f8d1bb4c
RM
1395 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1396 Use sfi_breg on ldr.
1397 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1398 Likewise.
1399
022f4812
RM
1400 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1401 it's defined.
1402 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1403 Test SIGSETXID only if it's defined.
1404
1ac074e6
RM
1405 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1406
f50ad78b
RM
1407 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1408 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1409
9e7265f4
RM
1410 * nptl/tst-align2.c: Moved ...
1411 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1412 * nptl/Makefile (tests): Remove tst-align2.
1413 * sysdeps/unix/sysv/linux/Makefile
1414 [$(subdir) = nptl] (tests): Add tst-align-clone.
1415 * nptl/tst-getpid1.c: Moved ...
1416 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1417 * nptl/tst-getpid2.c: Moved ...
1418 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1419 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1420 * sysdeps/unix/sysv/linux/Makefile
1421 [$(subdir) = nptl] (tests): ... here.
1422 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1423 * sysdeps/unix/sysv/linux/Makefile
1424 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1425
62ad2abc
RM
1426 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1427 Drop trailing \n from perror argument. Use return rather than exit.
1428
cfa69b0b
RM
1429 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1430 on [SA_SIGINFO].
1431 * nptl/tst-cancel21.c (do_test): Likewise.
1432 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1433 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1434 [!SA_SIGINFO]: Make it a stub test.
1435
82727806
RM
1436 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1437 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1438
da3a1594
RM
1439 * posix/tst-getlogin.c: Move to ...
1440 * login/tst-getlogin.c: ... here.
1441 * posix/Makefile (tests): Move tst-getlogin to ...
1442 * login/Makefile (tests): ... here.
1443
b65c0ff9
RM
1444 * libio/tst-atime.c (do_test): Move local variables SV and E
1445 inside [ST_NOATIME] conditional.
1446
56606ab3
RM
1447 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1448
ebf7d6ee
RM
1449 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1450
ca0e0675
RM
1451 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1452 (wait_code): New function replaces macro.
1453 Call nanosleep rather than syscall.
1454
8c28bbc6
RM
1455 * nptl/pt-system.c: Rewritten. Put everything under
1456 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1457 Use IFUNC to redirect when possible.
1458
ec2a88b3
RM
1459 * nptl/pt-longjmp.c: Rewritten. Put everything under
1460 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1461 Use IFUNC to redirect when possible.
1462
beff1d13
RM
1463 * nptl/pt-fork.c: Rewritten. Put everything under
1464 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1465 Use IFUNC to redirect when possible.
1466 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1467
ea02c6b8
RM
1468 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1469 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1470 unconditionally nowadays. This included the only reference to
1471 __vdso_clock_gettime that appears outside libc proper.
1472 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1473 Remove version set (containing only __vdso_clock_gettime).
1474 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1475 Add attribute_hidden.
1476 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1477 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1478 libc_hidden_data_def.
1479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1481
a1309c2b
RM
1482 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1483 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1484 setrpcent, and getrpcport to ...
1485 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1486 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1487 getrpcbynumber_r, and getrpcent_r to ...
1488 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1489 * inet/getrpcbyname.c: Moved ...
1490 * sunrpc/getrpcbyname.c: ... here.
1491 * inet/getrpcbyname_r.c: Moved ...
1492 * sunrpc/getrpcbyname_r.c: ... here.
1493 * inet/getrpcbynumber.c: Moved ...
1494 * sunrpc/getrpcbynumber.c: ... here.
1495 * inet/getrpcbynumber_r.c: Moved ...
1496 * sunrpc/getrpcbynumber_r.c: ... here.
1497 * inet/getrpcent.c: Moved ...
1498 * sunrpc/getrpcent.c: ... here.
1499 * inet/getrpcent_r.c: Moved ...
1500 * sunrpc/getrpcent_r.c: ... here.
1501 * inet/Makefile (routines): Move those to ...
1502 * sunrpc/Makefile (routines): ... here.
1503 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1504 the $(subdirs) list.
1505 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1506 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1507 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1508 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1509
ac9e0e5e
RM
1510 * elf/Makefile (routines): Include $(all-dl-routines), not just
1511 $(dl-routines).
1512 (rtld-routines): Likewise. Use = rather than :=.
1513 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1514 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1515 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1516 * sysdeps/arm/Makefile: Likewise.
1517 * sysdeps/i386/Makefile: Likewise.
1518 * sysdeps/x86_64/Makefile: Likewise.
1519 * sysdeps/hppa/Makefile [$(subdir) = elf]
1520 (sysdep_routines, sysdep-rtld-routines): Don't add
1521 $(sysdep-dl-routines) to these.
1522 * sysdeps/ia64/Makefile: Likewise.
1523 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1524 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1525 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1526 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1527 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1528 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1530 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1531 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1532 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1533 these; sysdep-dl-routines alone is enough.
1534
639e42eb
JM
15352015-02-06 Joseph Myers <joseph@codesourcery.com>
1536
1c7a4a51
JM
1537 [BZ #17932]
1538 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1539 where multiplication results in zero and third argument is finite
1540 and nonzero.
1541 * math/auto-libm-test-in: Add more tests of fma.
1542 * math/auto-libm-test-out: Regenerated.
1543
61f006c1
JM
1544 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1545 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1546 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1547 (_FP_CMP_EQ): Likewise.
1548 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1549
639e42eb
JM
1550 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1551 extra argument CHECK_NAN. Redefine as wrapper around
1552 _FP_EXTEND_CNAN.
1553
3c0c543b
CD
15542015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1555
4e42b5b8
CD
1556 * version.h (RELEASE): Set to "stable".
1557 (VERSION): Set to "2.21"
1558 * include/features.h (__GLIBC_MINOR__): Set to 21.
1559
3c0c543b
CD
1560 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1561
5bd80bfe 15622015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1563 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1564
1565 [BZ #16618]
1566 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1567 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1568 size in bytes. Store needed elements in wpmax. Use needed size
1569 in bytes for extend_alloca.
1570
3f823f48
CD
15712015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1572
04cb913d
CD
1573 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1574 binutls 2.25, and texinfo 5.2.
1575 * INSTALL: Regenerate.
1576 * sysdeps/nios2/configure: Regenerate.
1577 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1578 * manual/contrib.texi: Update.
1579 * po/be.po: Update.
1580 * po/bg.po: Update.
1581 * po/ca.po: Update.
1582 * po/cs.po: Update.
1583 * po/da.po: Update.
1584 * po/de.po: Update.
1585 * po/el.po: Update.
1586 * po/eo.po: Update.
1587 * po/es.po: Update.
1588 * po/fi.po: Update.
1589 * po/fr.po: Update.
1590 * po/gl.po: Update.
1591 * po/hr.po: Update.
1592 * po/hu.po: Update.
1593 * po/ia.po: Update.
1594 * po/id.po: Update.
1595 * po/it.po: Update.
1596 * po/ja.po: Update.
1597 * po/ko.po: Update.
1598 * po/lt.po: Update.
1599 * po/nb.po: Update.
1600 * po/nl.po: Update.
1601 * po/pl.po: Update.
1602 * po/pt_BR.po: Update.
1603 * po/ru.po: Update.
1604 * po/rw.po: Update.
1605 * po/sk.po: Update.
1606 * po/sl.po: Update.
1607 * po/sv.po: Update.
1608 * po/tr.po: Update.
1609 * po/uk.po: Update.
1610 * po/vi.po: Update.
1611 * po/zh_CN.po: Update.
1612 * po/zh_TW.po: Update.
1613
3f823f48
CD
1614 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1615 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1616 * sysdeps/hppa/dl-irel.h: Remove #warning.
1617 * sysdeps/hppa/entry.h: Provide prototype for
1618 __canonicalize_funcptr_for_compare and cast argument.
1619 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1620 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1621 * sysdeps/hppa/sotruss-lib.c: New file.
1622 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1623 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1624 (atomic_compare_and_exchange_bool_acq): Likewise.
1625 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1626 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1627
1628 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1629 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1630 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1631
34c56048
CLT
16322015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1633
1634 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1635 called function in non-PIC case.
1636
d4abeca5
DM
16372015-01-31 David S. Miller <davem@davemloft.net>
1638
edac0a60
DM
1639 * sysdeps/sparc/sparc32/bits/atomic.h
1640 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1641 unlock not after it.
1642 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1643 volatile register usage warnings from the compiler.
1644
d4abeca5
DM
1645 * sysdeps/sparc/nptl/sem_init.c: Delete.
1646 * sysdeps/sparc/nptl/sem_post.c: Delete.
1647 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1648 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1649 * sysdeps/sparc/sparc32/sem_init.c: New file.
1650 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1651 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1652 padding explicitly initialized.
1653 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1654 padding for in-semaphore spinlock.
1655 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1656 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1657 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1658 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1659 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1660 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1661 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1662 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1663 version.
1664 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1665 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1666
5f3d0b78
L
16672015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 [BZ #17801]
1670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1671 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1672 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1673 New.
1674 (index_AVX_Fast_Unaligned_Load): Likewise.
1675 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1676 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1677 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1678 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1679 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1680 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1681 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1682 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1683 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1684
b658fdd8
AS
16852015-01-29 Andreas Schwab <schwab@suse.de>
1686
1687 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1688
3cb26316
SP
16892015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1690
1691 [BZ #17892]
1692 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1693
527de9e4
MS
16942015-01-28 Martin Sebor <msebor@redhat.com>
1695
1696 * math/README.libm-test: Clarify. Add "How to read the test output."
1697
06991eb8
CM
16982015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1699
1700 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1701 Define to 0.
1702
df341342
JM
17032015-01-28 Joseph Myers <joseph@codesourcery.com>
1704
1705 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1706 (__HAVE_64B_ATOMICS): Define to 0.
1707
08cee2a4
AZ
17082015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1709
d4d0ecb2
AZ
1710 [BZ #17885]
1711 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1712 value to set as new flag.
1713
08cee2a4
AZ
1714 [BZ #16576]
1715 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1716 and use _ARCH_PPCSQ instead.
1717 (__ieee754_sqrt): Likewise.
1718 (__ieee754_sqrtf): Likewise.
1719 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1720 _ARCH_PPCSQ is defined.
1721 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1722 fsqrt instruction.
1723 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1724 _ARCH_PPCSQ is defined.
1725 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1726 fsqrts instruction.
1727 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1728
5fe8e359
AK
17292015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1730
1731 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1732 bug (GCC BZ #64739).
1733
24bb7432
AS
17342015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1735
fa20da31
AS
1736 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1737 Mark _retval as used.
1738 (lll_futex_wake_unlock): Likewise.
1739 (lll_futex_timed_wait_requeue_pi): Likewise.
1740
45819cbc
AS
1741 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1742 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1743 register variables.
1744
403cc231
AS
1745 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1746 libm_hidden_def.
1747
24bb7432
AS
1748 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1749 (__bswap_64): Mark as __always_inline.
1750
9317ea65
B
17512015-01-25 Bram <bug_rh@spam.wizbit.be>
1752
1753 [BZ #15378]
1754 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1755 when none of the search directories exist.
1756
0e87343e
AZ
17572015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1758
bea58013
AZ
1759 [BZ #17869]
1760 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1761 power8 in .machine directive.
1762
0e87343e
AZ
1763 [BZ #17868]
1764 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1765 set dependency from opd value.
1766
ede0236c
L
17672015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1770 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1771 architecture.
ede0236c 1772
22971c35
L
17732015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 [BZ #17870]
1776 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1777 with uint64_t.
1778 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1779 (uint64_t) 1.
e0da28a1 1780 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1781 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1782 Replace 1UL with (uint64_t) 1.
1783 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1784 int with uint64_t.
1785
da5bf245
RM
17862015-01-23 Roland McGrath <roland@hack.frob.com>
1787
2ec2d703
RM
1788 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1789 (if_freenameindex): Likewise.
1790
da5bf245
RM
1791 * resource/getrlimit64.c: Add missing libc_hidden_def.
1792
d7423856
JM
17932015-01-22 Joseph Myers <joseph@codesourcery.com>
1794
1795 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1796 __label__.
1797 (_FP_FMA): Likewise.
1798 (_FP_TO_INT_ROUND): Likewise.
1799 (_FP_FROM_INT): Likewise.
1800
6b2ba95b
AZ
18012015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 [BZ #16418]
1804 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1805 Make code racy and cancel safe.
1806
ccdb048d
CD
18072015-01-21 Carlos O'Donell <carlos@redhat.com>
1808
191220b3
CD
1809 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1810 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1811 attribution.
1812
0897c551
CD
1813 * pwd/tst-getpw.c: Rewrite.
1814
ccdb048d
CD
1815 [BZ #17702]
1816 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1817 (modules-names): Add moddummy1 and moddummy2.
1818 ($(objpfx)tst-rec-dlopen): Define.
1819 * dlfcn/moddummy1.c: New file.
1820 * dlfcn/moddummy2.c: New file.
1821 * dlfcn/tst-rec-dlopen.c: New file.
1822 * elf/dl-cache.c (_dl_load_cache_lookup):
1823 Return char*. Copy result with alloca/strcpy/strdup.
1824 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1825 returns char*. Free cached. If not saving realname
1826 free cached.
1827 * elf/dl-open.c (dl_open_worker): Do not assert that
1828 _r_debug->r_state is RT_CONSISTENT.
1829 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1830 returns char*.
1831
042e1521
CD
18322015-01-21 Torvald Riegel <triegel@redhat.com>
1833 Carlos O'Donell <carlos@redhat.com>
1834
1835 [BZ #12674]
1836 * nptl/sem_waitcommon.c: New file.
1837 * nptl/sem_wait.c: Include sem_waitcommon.c.
1838 (__sem_wait_cleanup, do_futex_wait): Remove.
1839 (__new_sem_wait): Adapt.
1840 (__new_sem_trywait): New function.
1841 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1842 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1843 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1844 (sem_timedwait): Adapt.
1845 * nptl/sem_post.c (__new_sem_post): Adapt.
1846 (futex_wake): New function.
1847 (__old_sem_post): Add release MO fence.
1848 * nptl/sem_open.c (sem_open): Adapt.
1849 * nptl/sem_init.c (__new_sem_init): Adapt.
1850 (futex_private_if_supported): New function.
1851 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1852 (__old_sem_getvalue): Add using previous code.
1853 * sysdeps/nptl/internaltypes.h: Adapt.
1854 * nptl/tst-sem13.c (do_test): Adapt.
1855 * nptl/tst-sem11.c (main): Adapt.
1856 * nptl/sem_trywait.c: Remove.
1857 * nptl/DESIGN-sem.txt: Remove.
1858 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1859 (gen-as-const-headers): Remove structsem.sym.
1860 * nptl/structsem.sym: Remove.
1861 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1862 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1863 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1864 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1865 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1866 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1867 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1868 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1869 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1870 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1871 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1872 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1873 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1874 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1875 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1876 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1877 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1878 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1879 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1880 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1881 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1882 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1883
fe0e85af
CD
18842015-01-20 Carlos O'Donell <carlos@redhat.com>
1885
a8db092e
CD
1886 * INSTALL: Regenerated.
1887
fe0e85af
CD
1888 * po/libc.pot: Regenerated.
1889
522e6ee3
CLT
18902015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1891 Sandra Loosemore <sandra@codesourcery.com>
1892 Andrew Jenner <andrew@codesourcery.com>
1893 Joseph Myers <joseph@codesourcery.com>
1894 Nathan Sidwell <nathan@codesourcery.com>
1895
1896 * NEWS: Mention new Nios II port.
1897 * sysdeps/nios2/Implies: New file.
1898 * sysdeps/nios2/Makefile: New file.
1899 * sysdeps/nios2/Subdirs: New file.
1900 * sysdeps/nios2/Versions: New file.
1901 * sysdeps/nios2/__longjmp.S: New file.
1902 * sysdeps/nios2/abort-instr.h: New file.
1903 * sysdeps/nios2/backtrace.c: New file.
1904 * sysdeps/nios2/bits/endian.h: New file.
1905 * sysdeps/nios2/bits/fenv.h: New file.
1906 * sysdeps/nios2/bits/link.h: New file.
1907 * sysdeps/nios2/bits/setjmp.h: New file.
1908 * sysdeps/nios2/bsd-_setjmp.S: New file.
1909 * sysdeps/nios2/bsd-setjmp.S: New file.
1910 * sysdeps/nios2/configure: New generated file.
1911 * sysdeps/nios2/configure.ac: New file.
1912 * sysdeps/nios2/crti.S: New file.
1913 * sysdeps/nios2/crtn.S: New file.
1914 * sysdeps/nios2/dl-init.c: New file.
1915 * sysdeps/nios2/dl-machine.h: New file.
1916 * sysdeps/nios2/dl-sysdep.h: New file.
1917 * sysdeps/nios2/dl-tls.h: New file.
1918 * sysdeps/nios2/dl-trampoline.S: New file.
1919 * sysdeps/nios2/gccframe.h: New file.
1920 * sysdeps/nios2/gmp-mparam.h: New file.
1921 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1922 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1923 * sysdeps/nios2/ldsodefs.h: New file.
1924 * sysdeps/nios2/libc-tls.c: New file.
1925 * sysdeps/nios2/libm-test-ulps: New file.
1926 * sysdeps/nios2/machine-gmon.h: New file.
1927 * sysdeps/nios2/math-tests.h: New file.
1928 * sysdeps/nios2/math_private.h: New file.
1929 * sysdeps/nios2/memusage.h: New file.
1930 * sysdeps/nios2/nptl/Makefile: New file.
1931 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1932 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1933 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1934 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1935 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1936 * sysdeps/nios2/nptl/tls.h: New file.
1937 * sysdeps/nios2/preconfigure: New file.
1938 * sysdeps/nios2/s_fma.c: New file.
1939 * sysdeps/nios2/s_fmaf.c: New file.
1940 * sysdeps/nios2/setjmp.S: New file.
1941 * sysdeps/nios2/sfp-machine.h: New file.
1942 * sysdeps/nios2/sotruss-lib.c: New file.
1943 * sysdeps/nios2/stackguard-macros.h: New file.
1944 * sysdeps/nios2/stackinfo.h: New file.
1945 * sysdeps/nios2/start.S: New file.
1946 * sysdeps/nios2/sysdep.h: New file.
1947 * sysdeps/nios2/tls-macros.h: New file.
1948 * sysdeps/nios2/tst-audit.h: New file.
1949 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1950 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1951 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1952 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1953 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1954 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1955 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1956 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1957 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1958 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1959 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1960 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1961 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1962 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1963 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1964 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1965 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1966 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1967 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1968 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1969 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1970 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1971 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1972 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1973 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1974 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1975 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1976 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1977 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1978 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1979 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1980 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1981 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1982 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1983 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1984 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1985 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1986 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1987 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1988 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1989 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1990 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1991 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1992 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1993
026eb207
SL
19942015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1995
1996 [BZ #17844]
1997 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1998 (getutent): Use weak_alias in non SHARED case
1999 and default_symbol_version in SHARED case.
2000 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2001 (getutent_r, pututline): Likewise.
2002 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2003 (getutid): Likewise.
2004 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2005 (getutid_r): Likewise.
2006 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2007 (getutline): Likewise.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2009 (getutline_r): Likewise.
2010 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2011 (updwtmp): Likewise.
2012
1d532483
SL
20132015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2014
2015 [BZ #17848]
2016 * sysdeps/s390/s390-32/memcmp.S
2017 (memcmp_g5): Rename to __memcmp_g5.
2018 * sysdeps/s390/s390-32/memcpy.S
2019 (memcpy_g5): Rename to __memcpy_g5.
2020 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2021 (memcpy_mvcle) Rename to __memcpy_mvcle.
2022 * sysdeps/s390/s390-32/memset.S
2023 (memset_g5): Rename to __memset_g5.
2024 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2025 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2026 and use prefixed functions.
2027 * sysdeps/s390/s390-32/multiarch/memcmp.S
2028 (memcmp_z196): Rename to __memcmp_z196.
2029 (memcmp_z10): Rename to __memcmp_z10.
2030 (memcmp): Set alias to __memcmp_g5.
2031 (bcmp): Set alias to __memcmp_g5.
2032 * sysdeps/s390/s390-32/multiarch/memcpy.S
2033 (memcpy_z196): Rename to __memcpy_z196.
2034 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2035 (memcpy_z10): Rename to __memcpy_z10.
2036 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2037 (memcpy): Set alias to __memcpy_g5.
2038 * sysdeps/s390/s390-32/multiarch/memset.S
2039 (memset_z196): Rename to __memset_z196.
2040 Jump to __memset_mvcle instead of memset_mvcle.
2041 (memset_z10): Rename to __memset_z10.
2042 Jump to __memset_mvcle instead of memset_mvcle.
2043 (memset_mvcle) Rename to __memset_mvcle.
2044 (memset): Set alias to __memset_g5.
2045 * sysdeps/s390/s390-64/memcmp.S
2046 (memcmp_z900): Rename to __memcmp_z900.
2047 * sysdeps/s390/s390-64/memcpy.S
2048 (memcpy_z900): Rename to __memcpy_z900.
2049 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2050 (memcpy_mvcle) Rename to __memcpy_mvcle.
2051 * sysdeps/s390/s390-64/memset.S
2052 (memset_z900): Rename to __memset_z900.
2053 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2054 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2055 and use prefixed functions.
2056 * sysdeps/s390/s390-64/multiarch/memcmp.S
2057 (memcmp_z196): Rename to __memcmp_z196.
2058 (memcmp_z10): Rename to __memcmp_z10.
2059 (memcmp): Set alias to __memcmp_z900.
2060 (bcmp): Set alias to __memcmp_z900.
2061 * sysdeps/s390/s390-64/multiarch/memcpy.S
2062 (memcpy_z196): Rename to __memcpy_z196.
2063 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2064 (memcpy_z10): Rename to __memcpy_z10.
2065 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2066 (memcpy): Set alias to __memcpy_z900.
2067 * sysdeps/s390/s390-64/multiarch/memset.S
2068 (memset_z196): Rename to __memset_z196.
2069 Jump to __memset_mvcle instead of memset_mvcle.
2070 (memset_z10): Rename to __memset_z10.
2071 Jump to __memset_mvcle instead of memset_mvcle.
2072 (memset_mvcle) Rename to __memset_mvcle.
2073 (memset): Set alias to __memset_z900.
2074
53fbd169
JM
20752015-01-14 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #17748]
2078 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2079 __fesetenv instead of fesetenv.
2080
d639a363
SP
20812015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2082
2083 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2084 macro.
2085
d3b00f46
AZ
20862015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087
ce6615c9
AZ
2088 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2089 regression on LE.
2090
d3b00f46
AZ
2091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2092 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2093 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2094 strncmp-power8 object.
2095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2096 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2097 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2098 * NEWS: Update.
2099
72607db0
RS
21002015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2101 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102
2103 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2104 trailing byte check.
2105
54dc5461
DM
21062015-01-13 David S. Miller <davem@davemloft.net>
2107
2108 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2109
1c6e6f23
RM
21102015-01-13 Roland McGrath <roland@hack.frob.com>
2111
2112 * login/logout.c (logout): Use memset rather than bzero.
2113 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2114 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2115 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2116 (_gethtbyaddr): Likewise.
2117 * locale/programs/simple-hash.c (bcopy): Macro removed.
2118
96d6fd6c
AZ
21192015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
8bedcb5f
AZ
2121 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2122 Add strcmp-power8 object.
2123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2124 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2125 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2126 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2127 __strcmp_power8 implementation.
2128 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2129 * NEWS: Update.
2130
f06a4faf
AZ
2131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2132 Add strncpy-power8 and stpncpy-power8 objects.
2133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2134 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2135 implementations.
2136 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2137 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2138 __stpncpy_power8 implementation.
2139 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2140 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2141 __strncpy_power8 implementation.
2142 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2143 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2144 * NEWS: Update.
2145
9f2f36e5
AZ
2146 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2147 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2148 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2149
96d6fd6c 2150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2151 strncat-power8 object.
2152 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2153 __strcat_power8 implementation.
2154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2155 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2156 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2157 optimized strcat for power8.
2158
2159 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2160 strcpy-power8 and stpcpy-power8 objects.
2161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2162 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2163 implementations.
2164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2165 multiarch stpcpy implementation for POWER8.
2166 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2167 multiarch strcpy implementation for POWER8.
2168 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2169 __strcpy_power8 function.
2170 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2171 stpcpy for POWER8.
2172 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2173 strcpy for POWER8.
2174 * NEWS: Update.
2175
0f9e5854
LH
21762015-01-13 Leonhard Holz <leonhard.holz@web.de>
2177
2178 [BZ #16009]
2179 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2180 weights and rules. Use do_xfrm_cached if data fits in cache,
2181 do_xfrm otherwise. Moved former main loop to...
2182 * (do_xfrm_cached): New function.
2183 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2184 find_idx, find_position and stack_push.
2185 * (find_idx): New function.
2186 * (find_position): Likewise.
2187 * localedata/sort-test.sh: Added test run for do_xfrm.
2188 * localedata/xfrm-test.c (main): Added command line option
2189 -nocache to run the test with strings that are too large for
2190 the STRXFRM cache.
2191
c60ec0e0
TR
21922015-01-13 Torvald Riegel <triegel@redhat.com>
2193
2194 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2195 variable to lll_futex_wake call, not the value itself.
2196
34e93d6c
JM
21972015-01-12 Joseph Myers <joseph@codesourcery.com>
2198
5a9e4c09
JM
2199 [BZ #17803]
2200 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2201 twom64. Adjust value to 0x1p-64L.
2202 (__scalblnl): Only return standard underflowing result for K <=
2203 -64 not K <= -63; adjust exponent for underflowing result by 64
2204 not 63.
2205 * math/libm-test.inc (scalbn_test_data): Add more tests.
2206 (scalbln_test_data): Likewise.
2207
34e93d6c
JM
2208 [BZ #17834]
2209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2210 0x1p63L.
2211 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2212 not HX.
2213 * math/libm-test.inc (scalbn_test_data): Add more tests.
2214 (scalbln_test_data): Likewise.
2215
ca677d3c
AZ
22162015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2217 Stefani Seibold <stefani@seibold.net>
2218
2219 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2220 (sysdep_routines): Add dl-vdso here, ...
2221 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2222 (sysdep_routines): ... not here.
2223 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2224 fallback when vDSO is not presented.
2225 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2226 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2227 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2228 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2229 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2230 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2231 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2233 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2235 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2236 fallback configurable symbol when vDSO is not available.
2237 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2238 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2239 be able to redefine fallback symbol when vDSO is not available.
2240 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2241 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2242
49a9f6ab 22432015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2244
56cf2763
AZ
2245 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2246 (TLS_INIT_TP): Add tm_capable initialization.
2247 (TLS_DEFINE_INIT_TP): Likewise.
2248 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2249 TCB.
2250 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2251 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2252 calculation.
2253 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2254 transactoion is lock elision is built and TCB tm_capable is set.
2255 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2257 (INTERNAL_SYSCALL_NCS): Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2259 (INTERNAL_SYSCALL_NCS): Likewise.
2260 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2261
4b45943a
AZ
2262 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2263 for powerpc.
2264 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2265 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2266 and remove it for 32 bits case.
2267 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2268 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2269 initialization.
2270 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2271 Disable lock elision with rdlocks if elision is not available.
2272
8d2c0a59
AZ
2273 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2274 (sysdep_routines): Add lock elision objects.
2275 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2276 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2277 [pthread_mutex_t] (__elision): Add field.
2278 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2279 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2280 elision definitions for powerpc.
2281 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2282 implementation of lock elision for powerpc.
2283 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2284 implementation of timed lock elision for powerpc.
2285 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2286 implementation of trylock with lock elision for powerpc.
2287 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2288 implementaion of unlock for lock elision for powerpc.
2289 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2290 automatic enable lock elision for mutexes.
2291 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2292 transaction execution definitions for powerpc.
2293 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2294 definitions.
2295 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2296 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2297 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2299 * NEWS: Update.
2300
bc0ed9f7
RM
23012015-01-09 Roland McGrath <roland@hack.frob.com>
2302
2303 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2304 for #include of <shm-directory.h>.
2305
585d9c18
CLT
23062015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2307
2308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2309 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2310
aee6626c
MF
23112015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2312
2313 [BZ #17791]
2314 * NEWS: Mention bug fix.
2315 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2316 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2317 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2318
9e560f48
TR
23192015-01-09 Torvald Riegel <triegel@redhat.com>
2320
2321 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2322
e1cfbd0c
TR
23232015-01-09 Torvald Riegel <triegel@redhat.com>
2324
2325 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2326
cf71e44f
DH
23272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2328
2329 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2330 pointer and cast to uintptr_t.
2331
b360ee62
DH
23322015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2333
2334 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2335 removed.
2336 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2337
caff764e
DH
23382015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2339
2340 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2341 of 0.
2342
59ff172f
RM
23432015-01-08 Roland McGrath <roland@hack.frob.com>
2344
c97d27f1
RM
2345 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2346 <nptl/pthreadP.h> instead.
2347 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2348
08734ccd
RM
2349 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2350 already defined.
2351 [__SIGRTMIN] (init): Function removed.
2352 [__SIGRTMIN] (initialized): Variable removed.
2353 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2354 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2355 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2356 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2357 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2358 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2359 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2360 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2361 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2362 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2363 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2364 * sysdeps/nptl/allocrtsig.c: New file.
2365 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2366 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2367 * sysdeps/generic/testrtsig.h: File removed.
2368
7b052e33
RM
2369 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2370 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2371
cc40d25e
RM
2372 * nptl/nptl-init.c (pthread_functions): Conditionalize
2373 .ptr__nptl_setxid initialization on [SIGSETXID].
2374
9287adf0
RM
2375 * sysdeps/nptl/sys/procfs.h: New file.
2376 * nptl_db/Makefile (headers): Add it.
2377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2378
59ff172f
RM
2379 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2380 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2381 * nptl/pthread_attr_setaffinity.c: Include it.
2382 * nptl/pthread_setattr_default_np.c: Likewise.
2383 * nptl/check-cpuset.h: New file.
2384
b9205857
RH
23852015-01-08 Richard Henderson <rth@redhat.com>
2386
2387 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2388 (CFLAGS-tst-execstack-prog.c): Likewise.
2389 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2390
1a0a8d15
CLT
23912015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2392 Sandra Loosemore <sandra@codesourcery.com>
2393 Andrew Jenner <andrew@codesourcery.com>
2394 Joseph Myers <joseph@codesourcery.com>
2395 Nathan Sidwell <nathan@codesourcery.com>
2396
2397 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2398 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2399 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2400 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2401 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2402 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2403 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2404 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2405 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2406 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2407 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2408 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2409 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2410 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2411 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2412 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2413 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2414
dd6e8af6
AZ
24152015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2416
2417 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2418 timespec struct member in syscall macro.
2419 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2420 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2421 first timeval struct member in syscall macro.
2422 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2423
8116321f
JM
24242015-01-07 Joseph Myers <joseph@codesourcery.com>
2425
2426 [BZ #17748]
2427 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2428 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2429 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2430 __feupdateenv and define as weak alias of __feupdateenv. Use
2431 libm_hidden_weak.
2432 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2433 libm_hidden_def.
2434 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2435 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2436 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2437 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2438 libm_hidden_def.
2439 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2440 __feupdateenv and define as weak alias of __feupdateenv. Use
2441 libm_hidden_weak.
2442 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2443 libm_hidden_def.
2444 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2445 __feupdateenv and define as weak alias of __feupdateenv. Use
2446 libm_hidden_weak.
2447 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2448 libm_hidden_def.
2449 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2450 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2451 (__feupdateenv): Likewise.
2452 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2453 __feupdateenv and define as weak alias of __feupdateenv. Use
2454 libm_hidden_weak.
2455 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2456 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2457 libm_hidden_def.
2458 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2459 function.
2460 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2461 libm_hidden_def.
2462 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2463 __feupdateenv instead of feupdateenv.
2464 (default_libc_feupdateenv_test): Likewise.
2465 (libc_feresetround_ctx): Likewise.
2466
882dfe18
AZ
24672015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2468
2469 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2470 prototype.
2471
39a12f8d
CM
24722015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2473
2474 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2475 COLL_SYM in a couple of places to avoid uninitialized variable
2476 wanings on tilegx gcc 4.8.2.
2477
dc400d7b
RE
24782015-01-07 Richard Earnshaw <rearnsha@arm.com>
2479
2480 * sysdeps/aarch64/strcpy.S: New file.
2481 * sysdeps/aarch64/stpcpy.S: New file.
2482 * NEWS: Updated.
2483
ec582ca0
RE
24842015-01-07 Richard Earnshaw <rearnsha@arm.com>
2485
2486 * sysdeps/aarch64/strrchr.S: New file.
2487 * NEWS: Updated.
2488
d5b1c5ed
EB
24892015-01-07 Eric Biggers <ebiggers3@gmail.com>
2490
2491 [BZ #17658]
2492 * stdlib/setenv.c: Fix memory leak when setting large,
2493 duplicate string.
2494
fb87ee96
VN
24952015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2496
60f046a8 2497 [BZ #17273]
fb87ee96
VN
2498 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2499 and tabs from buffer before parsing fstab entry.
2500 * misc/tst-mntent.c (main): Add test for mount entry with
2501 trailing spaces and tabs.
2502
cd42798a
JM
25032015-01-06 Joseph Myers <joseph@codesourcery.com>
2504
01238691
JM
2505 [BZ #17748]
2506 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2507 * math/fesetround.c (fesetround): Rename to __fesetround and
2508 define as weak alias of __fesetround. Use libm_hidden_weak.
2509 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2510 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2511 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2512 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2513 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2514 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2515 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2516 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2517 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2518 __fesetround_inline.
2519 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2520 __fesetround_inline instead of __fesetround.
2521 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2522 __fesetround and define as weak alias of __fesetround. Use
2523 libm_hidden_weak. Call __fesetround_inline instead of
2524 __fesetround.
2525 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2526 __fesetround and define as weak alias of __fesetround. Use
2527 libm_hidden_weak.
2528 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2529 Likewise.
2530 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2532 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2533 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2534 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2535 __fesetround and define as weak alias of __fesetround. Use
2536 libm_hidden_weak.
2537 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2538 __fesetround instead of fesetround.
2539 (default_libc_feholdexcept_setround): Likewise.
2540 (libc_feholdsetround_ctx): Likewise.
2541 (libc_feholdsetround_noex_ctx): Likewise.
2542
cd42798a
JM
2543 [BZ #17748]
2544 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2545 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2546 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2547 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2548 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2549 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2550 define as weak alias of __fesetenv. Use libm_hidden_weak.
2551 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2552 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2553 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2554 define as weak alias of __fesetenv. Use libm_hidden_weak.
2555 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2556 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2557 define as weak alias of __fesetenv. Use libm_hidden_weak.
2558 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2559 libm_hidden_def.
2560 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2561 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2562 Likewise.
2563 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2564 define as weak alias of __fesetenv. Use libm_hidden_weak.
2565 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2566 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2567 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2568 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2569 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2570 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2571 __fesetenv instead of fesetenv.
2572 (libc_feresetround_noex_ctx): Likewise.
2573 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2574 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2575 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2576 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2577 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2578 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2579 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2580 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2581 (__feupdateenv): Likewise.
2582 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2583 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2584 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2585 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2586
38949026
AJ
25872015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2588
1cf98e27 2589 [BZ #17806]
38949026
AJ
2590 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2591 addresses have been freed.
2592
5fe55e9c
AJ
25932015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2594
2595 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2596 and nservall.
2597
dc8ab018
OB
25982015-01-06 Ondřej Bílka <neleai@seznam.cz>
2599
2600 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2601 Clean up check_pf allocation pattern. addresses
2602
14bb4e57
AZ
26032015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604
2605 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2606 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2607 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2608 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2609 * nptl/pthread_join.c (pthread_join): Likewise.
2610 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2611 * sysdeps/posix/waitid.c (__waitid): Likewise.
2612 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2613 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2614 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2615 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2619 (__libc_pread64): Likewise.
2620 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2621 (__libc_pwrite): Likewise.
2622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2623 (__libc_pwrite64): Likewsie.
2624 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2625 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2626 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2627 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2628 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2629 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2630 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2634 (__libc_pread64): Likewise.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2638 (__libc_pwrite64): Likewise.
2639 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2640 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2641 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2642 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2643 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2644 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2645 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2646 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2647 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2648 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2649 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2650 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2651 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2652 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2653 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2655 Likewise.
2656
10a5e112
AS
26572015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2658
2659 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2660 (CFLAGS-test-double.c): Likewise.
2661 (CFLAGS-test-ldouble.c): Likewise.
2662 (CPPFLAGS-test-ifloat.c): Likewise.
2663 (CPPFLAGS-test-idouble.c): Likewise.
2664 (CPPFLAGS-test-ildoubl.c): Likewise.
2665 (CFLAGS-test-test-fenv.c): Remove variable.
2666 (CFLAGS-test-misc.c): Likewise.
2667
57ada0e7
L
26682015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 [BZ #17797]
2671 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2672 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2673 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2674 CLOCKS_PER_SEC == 1000000.
2675 * time/clocktest.c (main): Replace %ld with %jd and cast to
2676 intmax_t.
2677
46abb64d
RM
26782015-01-05 Roland McGrath <roland@hack.frob.com>
2679
2680 * sysdeps/generic/unwind-resume.h: New file.
2681 * sysdeps/gnu/unwind-resume.c: Include it.
2682 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2683 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2684 argument list.
2685 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2686 global rather than static.
2687 (_Unwind_Resume): Update user.
2688 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2689 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2690 rather than static. Add __attribute__ ((cold)).
2691 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2692 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2693 * sysdeps/arm/arm-unwind-resume.S: New file.
2694 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2695 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2696 * sysdeps/arm/Makefile [$(subdir) = csu]
2697 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2698 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2699 Add rt-arm-unwind-resume.
2700 [$(subdir) = nptl]
2701 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2702 Add pt-arm-unwind-resume.
2703 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2704 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2705
ef9faf13
JM
27062015-01-05 Joseph Myers <joseph@codesourcery.com>
2707
2708 [BZ #17748]
2709 * include/fenv.h (__feholdexcept): Declare. Use
2710 libm_hidden_proto.
2711 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2712 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2713 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2714 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2715 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2716 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2717 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2718 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2719 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2720 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2721 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2722 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2723 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2724 (feholdexcept): Likewise.
2725 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2726 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2727 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2728 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2729 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2730 __feholdexcept instead of feholdexcept.
2731 (default_libc_feholdexcept_setround): Likewise.
2732
295a453e
SE
27332015-01-05 Steve Ellcey <sellcey@imgtec.com>
2734
2735 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2736 to avoid using stl/str to align destination.
2737
882c4b9f
SE
27382015-01-05 Steve Ellcey <sellcey@imgtec.com>
2739
2740 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2741
ac4c11f5
JM
27422015-01-05 Joseph Myers <joseph@codesourcery.com>
2743
2744 [BZ #17796]
2745 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2746 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2747 Define as weak alias not strong alias.
2748
03403e30
SE
27492015-01-05 Steve Ellcey <sellcey@imgtec.com>
2750
2751 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2752 bltzal with addiupc.
2753 (RTLD_START): Ditto.
2754
1dca195e
CM
27552015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2756
00b8b9ba
SP
2757 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2758 for __vdso_* functions in declarations.
2759 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2760 definitions.
2761 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2762 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2763
1dca195e
CM
2764 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2765 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2766 function with cast from llround().
2767 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2768 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2769 Define.
2770
a287953a
JM
27712015-01-05 Joseph Myers <joseph@codesourcery.com>
2772
ab70da77
JM
2773 [BZ #17793]
2774 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2775 Define as weak alias not strong alias.
2776
b8986484
JM
2777 [BZ #17635]
2778 * ctype/ctype-c99.c: New file. isblank implementation moved from
2779 ...
2780 * ctype/ctype-extn.c: ... here.
2781 (__isblank_l): Move to ...
2782 * ctype/ctype-c99_l.c: ... here. New file.
2783 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2784 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2785 Remove variable.
2786 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2787 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2788 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2789 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2790 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2791
a287953a
JM
2792 [BZ #17777]
2793 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2794 (posix_fadvise64): Define as weak alias not strong alias.
2795 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2796 (posix_fallocate64): Likewise.
2797 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2798 Remove variable.
2799 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2800 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2801 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2802 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2803 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2804
b1efe3bb
MF
28052015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2806
2807 [BZ #16191]
2808 * NEWS: Mention bug fix.
2809 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2810 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2811 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2812 (HOST_STACK_END_ADDR): Likewise.
2813
9706dc5f
JM
28142015-01-02 Joseph Myers <joseph@codesourcery.com>
2815
b93c2205
JM
2816 [BZ #17748]
2817 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2818 * math/fegetround.c (fegetround): Rename to __fegetround and
2819 define as weak alias of __fegetround. Use libm_hidden_weak.
2820 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2821 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2822 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2823 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2824 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2825 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2826 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2827 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2828 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2829 Undefine after rather than before function definition; use
2830 parentheses around function name in definition.
2831 (__fegetround): Also undefine macro after function definition.
2832 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2833 __fegetround and define as weak alias of __fegetround. Use
2834 libm_hidden_weak. Do not undefine as macro.
2835 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2836 Likewise.
2837 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2838 __fegetround and define as weak alias of __fegetround. Use
2839 libm_hidden_weak.
2840 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2841 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2842 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2843 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2844 __fegetround and define as weak alias of __fegetround. Use
2845 libm_hidden_weak.
2846 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2847 __fegetround instead of fegetround.
2848
253a59cc
JM
2849 [BZ #17782]
2850 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2851 Condition macro definition on [__USE_MISC].
2852
27dae011
JM
2853 [BZ #17781]
2854 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2855 (struct sigaction): Change type of sa_flags field to int.
2856
172019c0
JM
2857 [BZ #17780]
2858 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2859 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2860 __glibc_reserved0.
2861
522ad1d6
JM
2862 * nptl/version.c (banner): Use single year in copyright notice.
2863
9706dc5f
JM
2864 * NEWS: Update copyright dates.
2865 * catgets/gencat.c (print_version): Likewise.
2866 * csu/version.c (banner): Likewise.
2867 * debug/catchsegv.sh: Likewise.
2868 * debug/pcprofiledump.c (print_version): Likewise.
2869 * debug/xtrace.sh (do_version): Likewise.
2870 * elf/ldconfig.c (print_version): Likewise.
2871 * elf/ldd.bash.in: Likewise.
2872 * elf/pldd.c (print_version): Likewise.
2873 * elf/sotruss.sh: Likewise.
2874 * elf/sprof.c (print_version): Likewise.
2875 * iconv/iconv_prog.c (print_version): Likewise.
2876 * iconv/iconvconfig.c (print_version): Likewise.
2877 * locale/programs/locale.c (print_version): Likewise.
2878 * locale/programs/localedef.c (print_version): Likewise.
2879 * login/programs/pt_chown.c (print_version): Likewise.
2880 * malloc/memusage.sh (do_version): Likewise.
2881 * malloc/memusagestat.c (print_version): Likewise.
2882 * malloc/mtrace.pl: Likewise.
2883 * manual/libc.texinfo: Likewise.
2884 * nptl/version.c (banner): Likewise.
2885 * nscd/nscd.c (print_version): Likewise.
2886 * nss/getent.c (print_version): Likewise.
2887 * nss/makedb.c (print_version): Likewise.
2888 * posix/getconf.c (main): Likewise.
2889 * scripts/test-installation.pl: Likewise.
2890 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2891
b8607aac
WN
28922015-01-02 Will Newton <will.newton@linaro.org>
2893
2894 * sysdeps/arm/armv7/configure: Removed.
2895 * sysdeps/arm/armv7/configure.ac: Likewise.
2896
b168057a
JM
28972015-01-02 Joseph Myers <joseph@codesourcery.com>
2898
2899 * All files with FSF copyright notices: Update copyright dates
2900 using scripts/update-copyrights.
2901 * intl/plural.c: Regenerated.
2902 * locale/programs/charmap-kw.h: Likewise.
2903 * locale/programs/locfile-kw.h: Likewise.
2904
b217c15f
SP
29052015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2906
2907 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2908
73a268c7
JM
29092014-12-31 Joseph Myers <joseph@codesourcery.com>
2910
2911 [BZ #17748]
2912 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2913 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2914 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2915 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2916 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2917 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2918 define as weak alias of __fegetenv. Use libm_hidden_weak.
2919 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2920 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2921 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2922 define as weak alias of __fegetenv. Use libm_hidden_weak.
2923 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2924 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2925 define as weak alias of __fegetenv. Use libm_hidden_weak.
2926 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2927 libm_hidden_def.
2928 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2929 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2930 Likewise.
2931 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2932 define as weak alias of __fegetenv. Use libm_hidden_weak.
2933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2934 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2935 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2936 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2937 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2938 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2939 __fegetenv instead of fegetenv.
2940 (libc_feholdsetround_noex_ctx): Likewise.
2941
0bd95672
MF
29422014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2943
2944 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2945 (Elf_MIPS_ABIFlags_v0): New structure.
2946 (EF_MIPS_FP64): Define.
2947 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2948 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2949 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2950 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2951 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2952 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2953 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2954 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2955 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2956 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2957 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2958 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2959 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2960 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2961 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2962 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2963 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2964 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2965 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2966 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2967 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2968 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2969 field.
2970 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2971 EF_MIPS_FP64.
2972 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2973 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2974 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2975 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2976 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2977 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2978 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2979 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2980 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2981 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2982 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2983 record the current FP ABI extension.
2984 (mips-mode-switch): Define to show if kernel headers support mode
2985 switching.
2986 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2987 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2988 supported SYSV ABI version to 3.
2989 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2990 feature.
2991
f59ad976
RS
29922014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2993 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994
2995 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2996 path.
2997 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2998
4a3d3999
JM
29992014-12-31 Joseph Myers <joseph@codesourcery.com>
3000
3001 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3002 __fegetround and redefine to call __fegetround. Remove condition
3003 on [!__NO_MATH_INLINES].
3004 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3005 function.
3006 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3007 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3008 Remove macro.
3009 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3010 instead of <fenv_libc.h>.
3011 (__llrintl): Call fegetround instead of __fegetround.
3012 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3013 instead of <fenv_libc.h>.
3014 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3015 (__lrintl): Call fegetround instead of __fegetround.
3016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3017 instead of <fenv_libc.h>.
3018 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3019 (__rintl): Call fegetround instead of __fegetround.
3020
195f3afc
SP
30212014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3022
3023 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3024 arrays.
3025
7062bd42
L
30262014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 [BZ #17775]
3029 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3030 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3031 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3032
07256e18
AS
30332014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3034
3035 * sysdeps/i386/tls-macros.h: Include <features.h>.
3036 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3037 (TLS_IE): Likewise.
3038 (TLS_LD): Likewise.
3039 (TLS_GD): Likewise.
3040 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3041 define for GCC >= 5.0.
3042
1ff950ad
CM
30432014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3044
3045 * math/test-fenv.c (test_single_exception, set_single_exc,
3046 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3047 feexcp_mask_test, feenable_test, fe_single_test): Add
3048 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3049 case where they are not used.
3050 * math/libm-test.inc: Likewise.
3051 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3052 unused in the absence of FP rounding/exception support.
3053 * stdio-common/tst-printf-round.c: Likewise.
3054 * stdlib/tst-strtod-round.c: Likewise.
3055 * stdlib/tst-strtod-underflow.c: Likewise.
3056
0747f818
JM
30572014-12-30 Joseph Myers <joseph@codesourcery.com>
3058
3059 [BZ #17723]
3060 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3061 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3062 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3063 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3064 libm_hidden_weak.
3065 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3066 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3067 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3068 libm_hidden_def.
3069 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3070 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3071 libm_hidden_weak.
3072 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3073 Likewise.
3074 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3075 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3076 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3077 libm_hidden_weak.
3078 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3079 libm_hidden_def.
3080 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3081 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3082 (__feraiseexcept): Likewise.
3083 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3084 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3085 libm_hidden_weak.
3086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3087 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3088 libm_hidden_def.
3089 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3090 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3091 Use libm_hidden_def.
3092 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3093 libm_hidden_def.
3094 (feraiseexcept): Define as weak not strong alias. Use
3095 libm_hidden_weak.
3096 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3097 New inline function. Factored out of ...
3098 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3099 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3100 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3101 feraiseexcept.
3102 * math/w_acos.c (__acos): Likewise.
3103 * math/w_asin.c (__asin): Likewise.
3104 * math/w_ilogb.c (__ilogb): Likewise.
3105 * math/w_j0.c (y0): Likewise.
3106 * math/w_j1.c (y1): Likewise.
3107 * math/w_jn.c (yn): Likewise.
3108 * math/w_log.c (__log): Likewise.
3109 * math/w_log10.c (__log10): Likewise.
3110 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3111 * sysdeps/aarch64/fpu/math_private.h
3112 (libc_feupdateenv_test_aarch64): Likewise.
3113 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3114 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3115 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3116 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3117 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3118 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3119 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3120 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3121 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3122 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3123
8d2b2763
L
31242014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 [BZ #17732]
3127 * io/test-utime.c (main): Replace %ld with %jd and cast to
3128 intmax_t.
41fad830 3129 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3130 * nptl/tst-mutex5.c: Include <stdint.h>.
3131 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3132 * posix/tst-regex.c (run_test): Likewise.
3133 (run_test_backwards): Likewise.
5d619de4
L
3134 * rt/tst-clock.c: Include <stdint.h>.
3135 (clock_test): Replace %ld with %jd and cast to intmax_t.
3136 * rt/tst-cpuclock1.c: Include <stdint.h>.
3137 (do_test): Replace %lu with %ju and cast to uintmax_t.
3138 * rt/tst-cpuclock2.c: Include <stdint.h>.
3139 (do_test): Replace %lu with %ju and cast to uintmax_t.
3140 * rt/tst-mqueue1.c: Include <stdint.h>.
3141 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3142 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3143 intmax_t.
3144 * rt/tst-mqueue4.c (do_test): Likewise.
3145 * rt/tst-timer4.c: Include <stdint.h>.
3146 (check_ts): Replace %ld with %jd and cast to intmax_t.
3147 (do_test): Likewise.
ad86fbc3
L
3148 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3149 and cast to intmax_t.
37f46900 3150 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3151 * time/clocktest.c (main): Likewise.
3152 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3153 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3154
8b4416d8
AS
31552014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3156 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3159 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3162 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3163 version if bit_Fast_Unaligned_Load is set.
3164 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3165 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3166 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3167 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3168 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3169 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3171 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3172 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3174 to 4.
3175 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3176 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3177 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3178 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3179
e47b8d3b
CM
31802014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3181
6d6d7fde
CM
3182 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3183 instead of #if to avoid a Wundef warning.
3184 * stdlib/tst-limits.c (do_test): Likewise.
3185
cd2c37c9
CM
3186 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3187 parallel other exception macros.
3188 (fegetenv): Convert from macro to extern inline so that it applies
3189 retroactively to inline functions already seen by the compiler.
3190 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3191
e47b8d3b
CM
3192 * posix/Makefile (before-compile): Use $(objpfx) for
3193 posix-conf-vars-def.h.
3194
4a6aca7b
SP
31952014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3196
7910c2ae
SP
3197 * posix/getconf.c (main): Use size_t for type of I.
3198 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3199 NSPEC.
3200
50cbbaa9
SP
3201 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3202 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3203 * posix/posix-envs.def: Likewise.
3204 * sysdeps/posix/sysconf.c: Likewise.
3205 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3206 (specs): Remove array.
3207 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3208 array.
3209
3b566046
SP
3210 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3211 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3212 (__sysconf): Use CONF_IS_* macros.
3213
4a6aca7b
SP
3214 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3215 ($(objpfx)posix-conf-vars-def.h): New target.
3216 * posix/posix-conf-vars.list: New file.
3217 * posix/posix-conf-vars.h: New file.
3218 * posix/confstr.c: Include posix-conf-vars.h.
3219 (confstr): Use CONF_IS_* macros.
3220 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3221 CONF_IS_* macros.
3222 * scripts/gen-posix-conf-vars.awk: New file.
3223
7c1395a7
CM
32242014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3225
0025b4cc
CM
3226 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3227 fegetround): Add no-op macros to avoid linknamespace issues.
3228
d8aaf74b
CM
3229 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3230 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3231
5d24aa60
CM
3232 * sysdeps/unix/sysv/linux/tile/sysdep.h
3233 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3234 assembly-specific section to avoid a redefinition warning.
3235
7c1395a7
CM
3236 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3237 long before casting to pointer to avoid a cast warning.
3238
3c87c616
CM
32392014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3240
3241 * sysdeps/tile/tilegx/Implies: New file.
3242
f559d8cf
RE
32432014-12-23 Richard Earnshaw <rearnsha@arm.com>
3244
3245 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3246
7d81e8d6
FW
32472014-12-23 Florian Weimer <fweimer@redhat.com>
3248
3249 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3250
90aa3d09
JM
32512014-12-22 Joseph Myers <joseph@codesourcery.com>
3252
3253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3254 not define.
3255 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3256 <kernel-features.h>.
3257 (__utimes) [__NR_utimes]: Make code unconditional.
3258 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3259 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3260 (__ASSUME_UTIMES): Do not undefine.
3261 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3262 (__ASSUME_UTIMES): Likewise.
3263 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3264 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3265 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3266 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3267
4c0c0e2a
SE
32682014-12-22 Steve Ellcey <sellcey@imgtec.com>
3269
3270 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3271
0dacd7a3
CM
32722014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3273
b638f96a
CM
3274 [BZ #17747]
3275 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3276 alias to weak alias for j0l, y0l.
3277 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3278 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3279
0dacd7a3
CM
3280 [BZ #17746]
3281 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3282 conversion.
3283
528479c4
SE
32842014-12-22 Steve Ellcey <sellcey@imgtec.com>
3285
3286 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3287 to zero if not already defined.
3288
f56f9124
JM
32892014-12-22 Joseph Myers <joseph@codesourcery.com>
3290
3291 [BZ #17724]
3292 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3293 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3294 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3295 (char *) casts added.
3296 * sysdeps/ieee754/k_standardf.c: New file.
3297 * sysdeps/ieee754/k_standardl.c: Likewise.
3298 * math/Makefile (libm-support): Remove k_standard.
3299 (libm-calls): Add k_standard.
3300
8622d556
WD
33012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3302
3303 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3304 Optimize to avoid an unnecessary FPCR read.
3305
f3806bdb
WD
33062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3307
3308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3309 Optimize to reduce FPCR/FPSR accesses.
3310
9b47df58
WD
33112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3312
3313 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3314 Call libc_fetestexcept_aarch64.
3315
97be3cac
WD
33162014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3317
3318 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3319 Call libc_fesetround_aarch64.
3320
935ab817
JM
33212014-12-22 Joseph Myers <joseph@codesourcery.com>
3322
3323 [BZ #17733]
3324 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3325 (__bind): Do not define as weak alias.
3326 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3327 define.
3328 (__getsockname): Do not define as weak alias.
3329
cc8623f1
WN
33302014-12-22 Will Newton <will.newton@linaro.org>
3331
3332 * manual/install.texi: Document that we require bison 2.7
3333 or above.
3334 * INSTALL: Regenerate.
3335 * configure.ac: Use AC_CHECK_PROG_VER instead of
3336 AC_PATH_PROG when checking for bison and check for
3337 version 2.7 or above.
3338 * configure: Regenerate.
3339
a19ca65a
CM
33402014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3341
92901170 3342 [BZ #17745]
e969965a
CM
3343 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3344 * sysdeps/tile/ffsll.c (ffsll): To here.
3345
a19ca65a
CM
3346 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3347
050f7298
L
33482014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3351 if not defined.
3352 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3353 definition.
3354 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3355 hidden ___tls_get_addr.
3356 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3357 hidden __tls_get_addr.
3358 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3359 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3360 Likewise.
3361
6df5547e
AS
33622014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3365 _dl_init call.
3366
7432d613
L
33672014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3370 from "call _dl_init@PLT".
3371 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3372
98fe149e
AK
33732014-12-21 Anders Kaseorg <andersk@mit.edu>
3374
3375 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3376 guarantees.
3377
d12455f5
CM
33782014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3379
3380 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3381
95dee05f
CM
33822014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3383
92901170 3384 [BZ #17744]
95dee05f
CM
3385 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3386 strnlen.
3387
2ef4b74a
SE
33882014-12-19 Steve Ellcey <sellcey@imgtec.com>
3389
3390 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3391 of multu on MIPSr6.
3392 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3393 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3394 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3395 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3396 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3397
33982014-12-19 Steve Ellcey <sellcey@imgtec.com>
3399
3400 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3401 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3402 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3403 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3404 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3405 mips32r6/mips64r6.
3406 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3407
3eb38795
OB
34082014-12-19 Ondřej Bílka <neleai@seznam.cz>
3409
3410 * string/strncat.c (STRNCAT): Simplify implementation.
3411
6d4188dd
DM
34122014-12-19 David S. Miller <davem@davemloft.net>
3413
0d4ba8be
DM
3414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3415 access the quad as both a long double and as a series of 4 words.
3416
6d4188dd
DM
3417 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3418 link_map->l_info array access.
3419
4ef91cdc
CM
34202014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3421
804c54f7
CM
3422 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3423
4ef91cdc
CM
3424 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3425 * math/atest-exp2.c (TIMEOUT): Likewise.
3426 * math/atest-sincos.c (TIMEOUT): Likewise.
3427
afd176d6
L
34282014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3431 -Wno-error with -fno-builtin-lround.
3432
a4a43a90
TR
34332014-12-19 Torvald Riegel <triegel@redhat.com>
3434
3435 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3436 Contains futex constants and functions moved over from ...
3437 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3438 <lowlevellock-futex.h>.
3439 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3440 (lll_timedwait_tid): Add comments and parentheses around macro
3441 arguments.
3442
76f71081
TR
34432014-12-19 Torvald Riegel <triegel@redhat.com>
3444
3445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3446 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3447 (__lll_private_flag): Remove.
3448 (lll_futex_wait): Likewise.
3449 (lll_futex_timed_wait): Likewise.
3450 (lll_futex_wake): Likewise.
3451 (lll_futex_requeue): Likewise.
3452 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3453 (__lll_timedwait_tid): Spell out argument names.
3454 (lll_timedwait_tid): Add comments and parentheses around macro
3455 arguments.
3456 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3457 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3458
6b814909
TR
34592014-12-19 Torvald Riegel <triegel@redhat.com>
3460
3461 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3462 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3463 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3464 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3465 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3466 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3467 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3468 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3469 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3471 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3473 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3475 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3477 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3478 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3479 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3480
9cd4d4ab
L
34812014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * sysdeps/x86_64/x32/Makefile: New file.
3484
c9c1a2d0
L
34852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3488 1L with (mp_limb_t) 1.
3489
af102d95
RM
34902014-12-17 Roland McGrath <roland@hack.frob.com>
3491
dd690454
RM
3492 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3493 * nptl/libc_pthread_init.c: ... here.
3494 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3495 * nptl/register-atfork.c: ... here.
3496
74eb826c
RM
3497 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3498 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3499 Use assert_perror to check its return value.
3500 (__gai_create_helper_thread): Likewise.
3501
c9ce306b
RM
3502 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3503
af102d95
RM
3504 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3505
8ac5a76a
JM
35062014-12-17 Joseph Myers <joseph@codesourcery.com>
3507
ea41469b
JM
3508 [BZ #17725]
3509 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3510 __profil_counter.
3511 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3512 Likewise.
3513 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3514 Likewise.
3515 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3516 Likewise.
3517 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3518 (profil_counter): Likewise.
3519 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3520 (profil_counter): Likewise.
3521 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3522 Likewise.
3523 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3524 Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3526 (profil_counter): Likewise.
3527 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3528 Likewise.
3529 [!__profil_counter] (profil_counter): Define as weak alias of
3530 __profil_counter.
3531 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3532 (profil_counter): Rename to __profil_counter.
3533 [!__profil_counter] (profil_counter): Define as weak alias of
3534 __profil_counter.
3535 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3536 (profil_counter): Rename to __profil_counter.
3537 [!__profil_counter] (profil_counter): Define as weak alias of
3538 __profil_counter.
3539 * sysdeps/posix/profil.c: Update comment referring to
3540 profil_counter.
3541 (__profil): Use __profil_counter instead of profil_counter.
3542 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3543 __profil_counter. Use __profil_counter_ushort and
3544 __profil_counter_uint in definitions.
3545 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3546 instead of profil_counter_uint and profil_counter_ushort.
3547
8ac5a76a
JM
3548 [BZ #17722]
3549 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3550 define as weak alias of __inet_makeaddr.
3551 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3552 as weak alias of __inet_addr.
3553 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3554 as weak alias of __inet_pton. Use libc_hidden_weak.
3555 * include/arpa/inet.h (__inet_pton): Declare. Use
3556 libc_hidden_proto.
3557 (inet_makeaddr): Don't use libc_hidden_proto.
3558 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3559 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3560 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3561 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3562 Remove variable.
3563 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3564 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3565
66ce3cb1
SE
35662014-12-17 Steve Ellcey <sellcey@imgtec.com>
3567
3568 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3569
d22ce01b
SL
35702014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3571
3572 * stdio-common/bug-vfprintf-nargs.c (do_test):
3573 Cast value to intptr_t to avoid format warning
3574 for usage with PRIdPTR printing macro.
3575
eca2772b
SL
35762014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3577
3578 * libio/tst-widetext.c (do_test):
3579 Use format type %td instead of %Zd for ptrdiff_t
3580 in order to avoid format warning.
3581
bdf079da
AS
35822014-12-17 Andreas Schwab <schwab@suse.de>
3583
3584 * nscd/mem.c (gc): Add size_t cast to match printf format.
3585
3eb5d2fc
RM
35862014-12-16 Roland McGrath <roland@hack.frob.com>
3587
3588 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3589 (init): Apply PTR_MANGLE to pointers before storing them.
3590 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3591 before using them.
3592
d003ada2
JM
35932014-12-16 Joseph Myers <joseph@codesourcery.com>
3594
380292ba
JM
3595 [BZ #17719]
3596 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3597 define as weak alias of __memrchr.
3598 (__memrchr): Do not define as strong alias of memrchr.
3599 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3600 Remove variable.
3601 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3602 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3604
9a44d530
JM
3605 [BZ #17717]
3606 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3607 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3608 (if_indextoname): Rename to __if_indextoname and define as weak
3609 alias of __if_indextoname. Use libc_hidden_weak.
3610 (if_freenameindex): Rename to __if_freenameindex and define as
3611 weak alias of __if_freenameindex.
3612 (if_nameindex): Rename to __if_nameindex and define as weak alias
3613 of __if_nameindex.
3614 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3615 __if_nametoindex and define as weak alias of __if_nametoindex.
3616 Use libc_hidden_weak.
3617 (if_freenameindex): Rename to __if_freenameindex and define as
3618 weak alias of __if_freenameindex.
3619 (if_nameindex): Rename to __if_nameindex and define as weak alias
3620 of __if_nameindex.
3621 (if_indextoname): Rename to __if_indextoname and define as weak
3622 alias of __if_indextoname. Use libc_hidden_weak.
3623 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3624 __if_nametoindex and define as weak alias of __if_nametoindex.
3625 Use libc_hidden_weak.
3626 (if_freenameindex): Rename to __if_freenameindex and define as
3627 weak alias of __if_freenameindex. Use libc_hidden_weak.
3628 (if_nameindex_netlink): Use __if_freenameindex instead of
3629 if_freenameindex.
3630 (if_nameindex): Rename to __if_nameindex and define as weak alias
3631 of __if_nameindex. Use libc_hidden_weak.
3632 (if_indextoname): Rename to __if_indextoname and define as weak
3633 alias of __if_indextoname. Use libc_hidden_weak.
3634 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3635 libc_hidden_proto.
3636 [!_ISOMAC] (__if_freenameindex): Likewise.
3637 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3638 if_nametoindex.
3639 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3640 variable.
3641 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3642 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3643 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3644 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3645 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3646 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3647 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3648
d003ada2
JM
3649 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3650 Remove variable.
3651 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3652 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3653
a0d424ef
SP
36542014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3655
0cd85520
SP
3656 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3657 subscript above bounds'
3658
a0d424ef
SP
3659 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3660 bounds.
3661
0e426475
AS
36622014-12-16 Arjun Shankar <arjun.is@lostca.se>
3663
8b460906
AS
3664 * libio/tst-fopenloc.c: Use test-skeleton.c.
3665
fa13e15b
AS
3666 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3667 (entry): Rename to ITEM.
3668 (do_test, comp): Adjust.
3669
0e426475
AS
3670 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3671
4f646bce
TR
36722014-12-16 Torvald Riegel <triegel@redhat.com>
3673
3674 * string/tester.c: Include <libc-internal.h>.
3675 (test_memset): Ignore -Wmemset-transposed-args.
3676
a07c4427
TR
36772014-12-16 Torvald Riegel <triegel@redhat.com>
3678
3679 * misc/tst-mntent2.c (do_test): Fix warning.
3680
1469f466
TR
36812014-12-16 Torvald Riegel <triegel@redhat.com>
3682
3683 * elf/tst-unique4lib.cc(a): Mark as used.
3684
11e3417a
FW
36852014-12-16 Florian Weimer <fweimer@redhat.com>
3686
3687 [BZ #17630]
3688 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3689 names.
3690
ae61fc7b
AM
36912014-12-16 Allan McRae <allan@archlinux.org>
3692
3693 * stdio-common/Makefile (tests): Re-add bug26.
3694
363a9899
OB
36952014-12-15 Ondřej Bílka <neleai@seznam.cz>
3696
3697 [BZ #17657]
3698 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3699 static array.
3700
d52c62df
TR
37012014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3702
3703 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3704 (__lll_lock_wait): Likewise.
3705 (__lll_timedlock_wait): Likewise.
3706 (__lll_timedwait_tid): Likewise.
3707 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3708 (__lll_robust_timedlock_wait): Likewise.
3709 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3710 (lll_cond_trylock): Likewise.
3711 (__lll_lock): Likewise.
3712 (__lll_robust_lock): Likewise.
3713 (__lll_cond_lock): Likewise.
3714 (lll_robust_cond_lock): Likewise.
3715 (__lll_timedlock): Likewise.
3716 (__lll_robust_timedlock): Likewise.
3717 (__lll_unlock): Likewise.
3718 (__lll_robust_unlock): Likewise.
3719 (lll_wait_tid): Likewise.
3720 (lll_timedwait_tid): Likewise.
3721
045a6bcd
TR
37222014-12-15 Torvald Riegel <triegel@redhat.com>
3723
3724 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3725
7f786dc1
TR
37262014-12-15 Torvald Riegel <triegel@redhat.com>
3727
3728 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3729
e7e21cba
AZ
37302014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3731
3732 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3733 * stdio-common/tst-sprintf.c: Likewise.
3734
bc89c0fc
TR
37352014-12-15 Torvald Riegel <triegel@redhat.com>
3736
3737 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3738
a5357b7c
JL
37392014-12-15 Jeff Law <law@redhat.com>
3740
3741 [BZ #16617]
3742 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3743 on the heap. (CVE-2012-3406)
3744 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3745 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3746 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3747
3a12c70f
WN
37482014-12-15 Will Newton <will.newton@linaro.org>
3749
3750 * manual/install.texi: Bump required version of texinfo
3751 to 4.7 from 4.5.
3752 * INSTALL: Regenerated.
3753 * configure.ac: Check for makeinfo version 4.7 and above.
3754 * configure: Regenerated.
3755
e4f639e4
RM
37562014-12-12 Roland McGrath <roland@hack.frob.com>
3757
3758 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3759 PREFIX, string constant to insert between directory and name.
3760 * sysdeps/posix/shm_open.c: Update caller.
3761 * sysdeps/posix/shm_unlink.c: Likewise.
3762 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3763 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3764 (SEM_SHM_PREFIX): New macro.
3765 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3766 [$(have-thread-library) = no].
3767 * nptl/Makefile (libpthread-routines): Add shm-directory.
3768 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3769 * sysdeps/nptl/shm-directory.h: New file.
3770 * sysdeps/posix/shm-directory.c
3771 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3772 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3773 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3774 INTERNAL_SYSCALL.
3775 (__where_is_shmfs): Function removed.
3776 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3777 Variables removed.
3778 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3779 Use SHM_GET_NAME.
3780 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3781
3782 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3783 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3784 unconditional for use inside libpthread.
3785 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3786
439c43f6
RM
37872014-12-12 Roland McGrath <roland@hack.frob.com>
3788
c76d1ff5
RM
3789 * nptl/pthread_getaffinity.c: New file.
3790 * nptl/pthread_setaffinity.c: New file.
3791 * nptl/pthread_getname.c: New file.
3792 * nptl/pthread_setname.c: New file.
3793
439c43f6
RM
3794 * nptl/pthread_create.c (START_THREAD_DEFN)
3795 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3796
48e435cd
SL
37972014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3798 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3799
3800 * resolv/res_send.c (send_vc): Disable warning resplen may
3801 be used uninitialized.
3802
9d9c0019
SL
38032014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3804
3805 * nptl/tst-mutex6.c
3806 (ATTR_NULL): New define checks ATTR against NULL.
3807 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3808 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3809
9173840b
JL
38102014-12-11 James Lemke <jwlemke@codesourcery.com>
3811
3812 [BZ #17581]
3813 * malloc/hooks.c
3814 (mem2mem_check): Revert my previous change.
3815 (malloc_check_get_size): Revert my previous change.
3816 (mem2chunk_check): Revert my previous change.
3817
78e21c5d
RM
38182014-12-11 Roland McGrath <roland@hack.frob.com>
3819
3820 * sysdeps/posix/shm-directory.c: New file.
3821 * sysdeps/posix/shm-directory.h: New file.
3822 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3823 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3824 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3825 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3826 Transmute EPERM to EACCES.
3827 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3828 from ...
3829 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3830 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3831
f82c43af
KK
38322014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3833
3834 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3835 pointer and cast to uintptr_t.
3836 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3837 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3838 Add cast to avoid warning.
3839 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3840
fc00cf7b
JM
38412014-12-11 Joseph Myers <joseph@codesourcery.com>
3842
3843 * nptl/semaphore.h: Move to ...
3844 * sysdeps/pthread/semaphore.h: ... here.
3845 * Makefile (installed-headers): Change nptl/semaphore.h to
3846 sysdeps/pthread/semaphore.h.
3847
1c4053db
RM
38482014-12-11 Roland McGrath <roland@hack.frob.com>
3849
73b0c1a1
RM
3850 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3851 generated error format strings.
3852
1c4053db
RM
3853 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3854 -Wformat-extra-args warnings for scanf formats.
3855 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3856 test of zero-length format (duh).
3857 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3858 corner-case scanf format test.
3859 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3860 generated fprintf format string.
3861 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3862 corner-case sprintf format tests.
3863 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3864 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3865 -Wformat-extra-args warnings throughout.
3866 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3867 (CFLAGS-scanf4.c): Likewise.
3868 (CFLAGS-scanf7.c): Likewise.
3869 (CFLAGS-tst-sprintf.c): Likewise.
3870 (CFLAGS-tst-printf.c): Likewise.
3871 (CFLAGS-tst-printfsz.c): Likewise.
3872
47d51f4f
JM
38732014-12-11 Joseph Myers <joseph@codesourcery.com>
3874
a1edbf3c
JM
3875 * include/cpio.h: New file.
3876 * include/fmtmsg.h: Likewise.
3877
47d51f4f
JM
3878 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3879 corresponding format argument to size_t.
3880 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3881 arguments.
3882 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3883 corresponding format argument to size_t.
3884 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3885 arguments.
3886 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3887 corresponding format argument to size_t.
3888 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3889 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3890 (CFLAGS-tst-mbswcs2.c): Likewise.
3891 (CFLAGS-tst-mbswcs3.c): Likewise.
3892 (CFLAGS-tst-mbswcs4.c): Likewise.
3893 (CFLAGS-tst-mbswcs5.c): Likewise.
3894 (CFLAGS-tst-trans.c): Likewise
3895
e9813cfb
RM
38962014-12-11 Roland McGrath <roland@hack.frob.com>
3897
3898 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3899 rather than assuming they won't contain any '%'s.
3900
f627ca82
CM
39012014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3902
3903 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3904 inhibit_loop_to_libcall to avoid recursive calls.
3905 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3906 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3907
7f296942
AZ
39082014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3909
3910 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3911 prototype.
3912
d0276e18
SE
39132014-12-11 Steve Ellcey <sellcey@imgtec.com>
3914
3915 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3916 integer value instead of boolean.
3917
fc56e970
SE
39182014-12-11 Steve Ellcey <sellcey@imgtec.com>
3919
3920 * malloc/malloc.c: Fix powerof2 check.
3921
40e53917
SL
39222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3923
3924 * locale/programs/locfile.h (maybe_swap_uint32):
3925 Remove inline and add unused attribute.
3926
1ea166df
SL
39272014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3928
9d9c0019 3929 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3930 Truncating assembler expression to a .long expression.
3931
acf869f4
AS
39322014-12-11 Andreas Schwab <schwab@suse.de>
3933
3934 * elf/rtld.c (struct map_args): Constify str member.
3935 (do_preload): Constify fname argument.
3936
9d969099
AZ
39372014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3938
3939 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3940 constants definition.
3941
da5bcaa4
AS
39422014-12-11 Andreas Schwab <schwab@suse.de>
3943
b0a3c164
AS
3944 [BZ #16657]
3945 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3946 FORCE_ELISION instead of DO_ELISION.
3947 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3948 Remove.
3949 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3950 Likewise.
3951
da5bcaa4
AS
3952 * iconvdata/gconv-modules: Remove duplicate entry.
3953
6d248857
WN
39542014-12-11 Will Newton <will.newton@linaro.org>
3955
3956 Merge gettext 0.19.3 into intl/.
3957
3958 This involves a number of cosmetic changes to comments
3959 and ANSI function definitions and prototypes throughout
3960 all the files. The gettext copyright header is used but
3961 with the date ranges taken from the glibc copy.
3962
3963 * NEWS: Add gettext merge to 2.21.
3964 * intl/bindtextdom.c: Switch to gettext copyright.
3965 Use ANSI definitions and prototypes.
3966 Use gl_* locking primitives rather than __libc_* ones.
3967 Use __builtin_expect rather than __glibc_likely/unlikely.
3968 * intl/dcgettext.c: Switch to gettext copyright.
3969 Use ANSI definitions and prototypes.
3970 * intl/dcigettext.c: Switch to gettext copyright.
3971 Use ANSI definitions and prototypes.
3972 (INTDIV0_RAISES_SIGFPE): New define.
3973 Use gl_* locking primitives rather than __libc_* ones.
3974 Include eval-plural.h instead of plural-eval.c.
3975 Use __builtin_expect rather than __glibc_likely/unlikely.
3976 * intl/dcngettext.c: Switch to gettext copyright.
3977 Use ANSI definitions and prototypes.
3978 * intl/dgettext.c: Likewise.
3979 * intl/dngettext.c: Likewise.
3980 * intl/plural-eval.c: Renamed to...
3981 * intl/eval-plural.h: ...this.
3982 * intl/explodename.c: Switch to gettext copyright.
3983 Use ANSI definitions and prototypes.
3984 (_nl_explode_name): Use strchr instead of __rawmemchr.
3985 * intl/finddomain.c: Switch to gettext copyright.
3986 Use ANSI definitions and prototypes.
3987 Use gl_* locking primitives rather than __libc_* ones.
3988 (_nl_find_domain): Use malloc rather than alloca for
3989 allocation of temporary locale name.
3990 * intl/gettext.c: Switch to gettext copyright.
3991 Use ANSI definitions and prototypes.
3992 * intl/gettextP.h: Switch to gettext copyright.
3993 Use ANSI definitions and prototypes.
3994 Use gl_* locking primitives rather than __libc_* ones.
3995 * intl/gmo.h: Switch to gettext copyright.
3996 (struct sysdep_string): Move struct segment_pair outside of
3997 struct definition.
3998 * intl/hash-string.c: Use ANSI definitions and prototypes.
3999 * intl/hash-string.h: Switch to gettext copyright.
4000 Use ANSI definitions and prototypes.
4001 * intl/l10nflist.c: Switch to gettext copyright.
4002 Use ANSI definitions and prototypes.
4003 (_nl_normalize_codeset): Avoid integer overflow.
4004 * intl/loadinfo.h: Switch to gettext copyright.
4005 Use ANSI definitions and prototypes.
4006 (LIBINTL_DLL_EXPORTED): New define.
4007 (PATH_SEPARATOR): New define.
4008 * intl/loadmsgcat.c: Switch to gettext copyright.
4009 * intl/localealias.c: Switch to gettext copyright.
4010 Use ANSI definitions and prototypes.
4011 (_nl_expand_alias): Use PATH_SEPARATOR.
4012 * intl/ngettext.c: Switch to gettext copyright.
4013 Use ANSI definitions and prototypes.
4014 * intl/plural-exp.c: Likewise.
4015 * intl/plural-exp.h: Switch to gettext copyright.
4016 Use ANSI definitions and prototypes.
4017 (struct expression): Move definition of enum operator outside
4018 of struct definition.
4019 * intl/plural.c: Regenerate.
4020 * intl/plural.y: Switch to gettext copyright.
4021 Use ANSI definitions and prototypes.
4022 Port to bison 3.0.
4023 * intl/textdomain.c: Switch to gettext copyright.
4024 Use ANSI definitions and prototypes.
4025 Use gl_* locking primitives rather than __libc_* ones.
4026
48c43298
SE
40272014-12-10 Steve Ellcey <sellcey@imgtec.com>
4028
4029 * debug/warning-nop.c: Add used atrribute.
4030
2b89bce9
JM
40312014-12-10 Joseph Myers <joseph@codesourcery.com>
4032
c153ac9f
JM
4033 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4034
2b89bce9
JM
4035 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4036 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4037 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4038
2cfbdb9a
JM
40392014-12-10 Joseph Myers <joseph@codesourcery.com>
4040 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041
4042 [BZ #17634]
4043 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4044 Undefine after defining function. Define as weak alias of
4045 __wcschr. Use libc_hidden_weak.
4046 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4047 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4048 (libc_hidden_def): Also define __GI___wcschr alias.
4049 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4050 __wcschr and define as weak alias of __wcschr.
4051 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4052 __wcschr.
4053 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4054 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4055 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4056 libc_hidden_weak. Do not use libc_hidden_def.
4057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4058 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4059 __GI___wcschr alias.
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4061 [IS_IN (libc)] (wcschr): Define as macro expanding to
4062 __redirect_wcschr.
4063 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4064 [IS_IN (libc)] (__wcschr_power6): Likewise.
4065 [IS_IN (libc)] (__wcschr_power7): Likewise.
4066 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4067 instead of wcschr.
4068 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4069 __libc_wcschr.
4070 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4071 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4072 __wcschr and define as weak alias of __wcschr. Use
4073 libc_hidden_builtin_def.
4074 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4075 as weak alias of __wcschr. Use libc_hidden_weak.
4076 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4077 wcschr.
4078 * time/era.c (_nl_init_era_entries): Likewise.
4079 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4080 variable.
4081 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4082 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4083
1b8bf351
JM
40842014-12-10 Joseph Myers <joseph@codesourcery.com>
4085
4086 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4087 format for long int variable.
4088
f5f46d51
AK
40892014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4090
4091 [BZ #10672]
07008f7d 4092 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4093 qsort stable.
4094
217a74a8
AS
40952014-12-10 Andreas Schwab <schwab@suse.de>
4096
4097 [BZ #12847]
4098 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4099 user-controlled locks.
4100
aa76a5c7
RE
41012014-12-10 Richard Earnshaw <rearnsha@arm.com>
4102
4103 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4104 register.
4105
2084e7ca
JM
41062014-12-10 Joseph Myers <joseph@codesourcery.com>
4107
a4ecc9eb
JM
4108 * configure.ac (--disable-werror): New configure option.
4109 (enable_werror): New AC_SUBST.
4110 * configure: Regenerated.
4111 * config.make.in (enable-werror): New variable.
4112 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4113 -Wno-error=undef.
4114 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4115 * manual/install.texi (Configuring and compiling): Document
4116 --disable-werror.
4117 * INSTALL: Regenerated.
4118 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4119 (CFLAGS-tst-chk2.c): Likewise.
4120 (CFLAGS-tst-chk3.c): Likewise.
4121 (CFLAGS-tst-chk4.cc): Likewise.
4122 (CFLAGS-tst-chk5.cc): Likewise.
4123 (CFLAGS-tst-chk6.cc): Likewise.
4124 (CFLAGS-tst-lfschk1.c): Likewise.
4125 (CFLAGS-tst-lfschk2.c): Likewise.
4126 (CFLAGS-tst-lfschk3.c): Likewise.
4127 (CFLAGS-tst-lfschk4.cc): Likewise.
4128 (CFLAGS-tst-lfschk5.cc): Likewise.
4129 (CFLAGS-tst-lfschk6.cc): Likewise.
4130
0f88636c
JM
4131 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4132 (main): Disable -Wdeprecated-declarations around calls to
4133 register_printf_function.
4134
c81e9deb
JM
4135 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4136 (do_test): Disable -Wdiv-by-zero around some calls to
4137 fwrite_unlocked and fread_unlocked.
4138
2084e7ca
JM
4139 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4140 (DIAG_POP_NEEDS_COMMENT): Likewise.
4141 (_DIAG_STR1): Likewise.
4142 (_DIAG_STR): Likewise.
4143 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4144 * stdio-common/bug21.c: Include <libc-internal.h>.
4145 (do_test): Disable -Wformat around call to sscanf.
4146 * stdio-common/scanf14.c: Include <libc-internal.h>.
4147 (main): Disable -Wformat around some calls to scanf functions.
4148
df7ecc6b
TR
41492014-12-09 Torvald Riegel <triegel@redhat.com>
4150
4151 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4152
2aa3862e
AZ
41532014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4156 stack variable alignment.
4157
c5c2b7c3
JM
41582014-12-06 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #17682]
4161 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4162 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4163 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4164 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4165 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4166 __getrlimit instead of getrlimit.
4167 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4168 __gettimeofday instead of gettimeofday.
4169 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4170 Likewise.
4171 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4172 Likewise.
4173 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4174 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4175 Remove variable.
4176 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4177 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4178
9752c3cd
AZ
41792014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4180
4181 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4182 for wide-character tests.
4183
4bee4cd9
RM
41842014-12-04 Roland McGrath <roland@hack.frob.com>
4185
4186 * io/openat64.c: #include <libc-internal.h>
4187 (__openat64): Prototypify. Use ignore_value on MODE.
4188 * io/openat.c: Likewise.
4189 * misc/reboot.c: #include <libc-internal.h>
4190 (reboot): Prototypify. Use ignore_value on HOWTO.
4191 * misc/ptrace.c: #include <libc-internal.h>
4192 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4193
84dbedb6
JM
41942014-12-04 Joseph Myers <joseph@codesourcery.com>
4195
4196 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4197 XPG4, UNIX98 and XOPEN2K.
4198 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4199 Remove variable.
4200 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4201
b7a3e1c4 42022014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4203
af50dfc1 4204 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4205 * libio/iofopen.c: Likewise.
4206 * libio/wfileops.c: Likewise.
4207
fe8b4d98
SP
4208 [BZ #17653]
4209 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4210 offset on EOF.
4211 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4212 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4213 (fgets_func): Function pointer to fgets and fgetws.
4214 (do_ftell_test): Add test to verify ftell value after read
4215 EOF.
4216 (do_test): Set fgets_func.
4217
61b4f792
SP
4218 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4219 O_TRUNC flag for w and w+ modes.
4220 (do_rewind_test): Likewise.
4221 (do_ftell_test): Likewise.
4222 (do_write_test): Likewise.
4223
be349d70
SP
4224 [BZ #17647]
4225 * libio/fileops.c (do_ftell): Seek only when there are
4226 unflushed writes.
4227 * libio/wfileops.c (do_ftell_wide): Likewise.
4228 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4229 test case.
4230 (do_one_test): Call it.
4231
e3d6dba5
JM
42322014-12-03 Joseph Myers <joseph@codesourcery.com>
4233
4234 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4235 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4236 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4237 Remove variable.
4238 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4239 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4240 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4241
7f994279
JM
42422014-12-02 Joseph Myers <joseph@codesourcery.com>
4243
28a91e8f
JM
4244 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4245 Remove variable.
4246 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4247
7f994279
JM
4248 [BZ #17668]
4249 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4250 as weak alias of __getifaddrs. Use libc_hidden_weak.
4251 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4252 __freeifaddrs. Use libc_hidden_weak.
4253 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4254 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4255 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4256 __freeifaddrs. Use libc_hidden_weak.
4257 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4258 __getifaddrs and define as weak alias of __getifaddrs. Use
4259 libc_hidden_weak.
4260 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4261 __freeifaddrs. Use libc_hidden_weak.
4262 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4263 Remove variable.
4264 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4265 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4266
bbe4c142
PJ
42672014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4268
4269 [BZ #17601]
4270 * sysdeps/mips/start.S (__start): Use indirect jump to call
4271 __libc_start_main.
4272
66cadc05
JM
42732014-12-02 Joseph Myers <joseph@codesourcery.com>
4274
909e16d9
JM
4275 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4276
4e0b9016
JM
4277 * nptl/tst-mutex1.c: Include <stdbool.h>.
4278 [!ATTR] (ATTR_NULL): New macro.
4279 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4280 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4281 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4282
b1aff6a4
JM
4283 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4284 to char *.
4285
266865c0
JM
4286 [BZ #17665]
4287 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4288 Change conditional to [__USE_MISC].
4289
84e5e756
JM
4290 [BZ #17664]
4291 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4292 fgets_unlocked.
4293 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4294 __fgets_unlocked.
4295 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4296 fgets_unlocked.
4297 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4298 Remove variable.
4299 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4300 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4301 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4302 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4303 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4304 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4305 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4306 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4307 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4308
66cadc05
JM
4309 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4310
2e8a2de2 43112014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4312
4313 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4314 Remove strpbrk objects.
4315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4316 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4317 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4318 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4319 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4320 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4321
bb2542e0
AZ
4322 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4323 Remove strcspn objects.
4324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4325 (__libc_ifunc_impl_list): Remove strcspn implementation.
4326 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4327 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4328 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4329 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4330
4331 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4332 Remove strspn objetcs.
4333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4334 (__libc_ifunc_impl_list): Remove strspn implementation.
4335 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4336 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4337 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4338 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4339
08f1e1d2
JL
43402014-12-01 James Lemke <jwlemke@codesourcery.com>
4341
4342 [BZ #17581]
4343 * malloc/hooks.c
4344 (mem2mem_check): Add a terminator to the chain of checking blocks.
4345 (malloc_check_get_size): Use it here.
4346 (mem2chunk_check): Ditto.
4347
a8a7d7d2
RS
43482014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4349
4350 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4351 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4352
97114a38
CD
43532014-11-29 Carlos O'Donell <carlos@redhat.com>
4354
c8dc1727
CD
4355 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4356
6d03458e
CD
4357 * nptl/nptl-init.c: Include libc-internal.h.
4358 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4359
97114a38
CD
4360 * elf/ldconfig.c (search_dir): Expand comment.
4361
0e7e69ba
JM
43622014-11-29 Joseph Myers <joseph@codesourcery.com>
4363
4364 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4365 variable.
4366 (linknamespace-symlist-stdlibs-tests): Likewise.
4367 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4368 instead of $(objpfx)symlist-stdlibs.
4369 (linknamespace-libs-isoc): New variable.
4370 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4371 (linknamespace-libs-ISO): New variable.
4372 (linknamespace-libs-ISO99): Likewise.
4373 (linknamespace-libs-ISO11): Likewise.
4374 (linknamespace-libs-XPG3): Likewise.
4375 (linknamespace-libs-XPG4): Likewise.
4376 (linknamespace-libs-POSIX): Likewise.
4377 (linknamespace-libs-UNIX98): Likewise.
4378 (linknamespace-libs-XOPEN2K): Likewise.
4379 (linknamespace-libs-POSIX2008): Likewise.
4380 (linknamespace-libs-XOPEN2K8): Likewise.
4381 ($(objpfx)symlist-stdlibs): Replace by
4382 $(linknamespace-symlist-stdlibs-tests). Use
4383 $(linknamespace-libs-$*) as set of libraries.
4384 ($(linknamespace-header-tests)): Update dependencies. Use
4385 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4386 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4387 * conform/linknamespace.pl: Remove comment about considering
4388 definitions of symbols from irrelevant libraries.
4389
d8dd0080
L
43902014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 [BZ #13862]
4393 * elf/dl-tls.c: Include <atomic.h>.
4394 (oom): Remove #ifdef SHARED/#endif.
4395 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4396 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4397 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4398 big enough.
4399 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4400 * nptl/Makefile (tests): Add tst-stack4.
4401 (modules-names): Add tst-stack4mod.
4402 ($(objpfx)tst-stack4): New.
4403 (tst-stack4mod.sos): Likewise.
4404 ($(objpfx)tst-stack4.out): Likewise.
4405 ($(tst-stack4mod.sos)): Likewise.
4406 (clean): Likewise.
4407 * nptl/tst-stack4.c: New file.
4408 * nptl/tst-stack4mod.c: Likewise.
4409
167da422
B
44102014-11-27 J. Brown <jb999@gmx.de>
4411
4412 * sysdeps/x86/bits/string.h: Add recent CPUs.
4413
9114625b
JM
44142014-11-27 Joseph Myers <joseph@codesourcery.com>
4415
6b5189eb
JM
4416 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4417 sigblock.
4418
49051f8e
JM
4419 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4420 feof.
4421
9114625b
JM
4422 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4423 variable.
4424
e7300fef
SL
44252014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4426
4427 * nscd/connections.c: Include libc-internal.h because of macro
4428 usage ignore_value.
4429
1721f0a4
SP
44302014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4431
4432 * string/bits/string3.h (__warn_memset_zero_len): Don't
4433 declare for gcc newer than 5.0.
4434 (memset): Don't test for zero-length __LEN for gcc newer than
4435 5.0.
4436
be970916
JM
44372014-11-27 Joseph Myers <joseph@codesourcery.com>
4438
d88548f4
JM
4439 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4440 size_t for %zu format.
4441
be970916
JM
4442 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4443 difference, not %ju.
4444
3b20fd5c
JM
44452014-11-26 Joseph Myers <joseph@codesourcery.com>
4446
8915eace
JM
4447 * include/libc-internal.h (ignore_value): New macro.
4448 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4449 with ignore_value.
4450
f1a5a0e3
JM
4451 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4452 definition.
4453
59ef1715
JM
4454 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4455 pthread_cleanup_push to void *.
4456
a6f3079b
JM
4457 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4458 Undefine.
4459
706688aa
JM
4460 [BZ #16619]
4461 [BZ #16740]
4462 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4463 instead of 1L << 52.
4464
12da14a5
JM
4465 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4466 * libio/bug-rewind2.c (do_test): Likewise.
4467
bd5dadac
JM
4468 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4469 * debug/test-strcpy_chk-ifunc.c: Likewise.
4470 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4471 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4472 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4473 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4474 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4475 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4476 * Rules [$(multi-arch) = no] (tests): Do not filter out
4477 $(tests-ifunc).
4478 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4479 * debug/Makefile (tests-ifunc): Remove variable.
4480 (tests): Do not add $(tests-ifunc).
4481 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4482 (tests): Do not add $(tests-ifunc).
4483 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4484 [TEST_IFUNC]: Remove conditionals.
4485 * string/test-string.h (TEST_IFUNC): Remove macro.
4486 [TEST_IFUNC]: Remove conditionals.
4487
3b20fd5c
JM
4488 * string/test-strchr.c [!WIDE] (L): New macro.
4489 [WIDE] (L): Likewise.
4490 (check1): Use CHAR instead of char. Use L on string and character
4491 constants.
4492
704f7947
AZ
44932014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4494
4495 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4496 tests.
4497 * sysdeps/powerpc/bits/atomic.h
4498 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4499 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4500 (atomic_exchange_and_add_acq): Likewise.
4501 (atomic_exchange_and_add_rel): Likewise.
4502 * sysdeps/powerpc/powerpc32/bits/atomic.h
4503 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4504 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4505 * sysdeps/powerpc/powerpc64/bits/atomic.h
4506 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4507 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4508
cdcb42d7
TR
45092014-11-26 Torvald Riegel <triegel@redhat.com>
4510
4511 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4512 Change synchronization of __sched_fifo_min_prio and
4513 __sched_fifo_max_prio.
4514 * nptl/pthread_mutexattr_getprioceiling.c
4515 (pthread_mutexattr_getprioceiling): Likewise.
4516 * nptl/pthread_mutexattr_setprioceiling.c
4517 (pthread_mutexattr_setprioceiling): Likewise.
4518 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4519 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4520 Likewise.
4521
c82f5c0c
JM
45222014-11-26 Joseph Myers <joseph@codesourcery.com>
4523
4524 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4525 void.
4526
439e1ad6
JM
45272014-11-25 Joseph Myers <joseph@codesourcery.com>
4528
4529 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4530 third argument const.
4531
b1eda10e
PE
45322014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4533
4534 fnmatch: work around GCC compiler warning bug with uninit var
4535 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4536 This works around a bug with x86-64 GCC 4.9.2 and earlier
4537 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4538 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4539 used uninitialized in this function [-Wmaybe-uninitialized]".
4540
bde2667a
JM
45412014-11-25 Joseph Myers <joseph@codesourcery.com>
4542
4543 * posix/bug-regex31.c (main): Return RES not 0.
4544
5fbb5691
AB
45452014-11-25 Anton Blanchard <anton@samba.org>
4546
4547 * sysdeps/powerpc/bits/atomic.h
4548 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4549
467fec0b
BM
45502014-11-24 Sterling Augustine <saugustine@google.com>
4551
4552 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4553
e9ff8efb
RC
45542014-11-24 Ryan Cumming <etaoins@gmail.com>
4555
4556 [BZ #17608]
4557 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4558
9744496f
JM
45592014-11-24 Joseph Myers <joseph@codesourcery.com>
4560
4561 [BZ #17633]
4562 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4563 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4564 variable.
4565 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4566 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4567
6423d475
WD
45682014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4569
4570 * string/strncpy.c (strncpy): Improve performance by using memset.
4571
45722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4573
4574 * string/strcpy.c (strcpy):
4575 Improve performance by using strlen and memcpy.
4576
5d178c37
LH
45772014-11-24 Leonhard Holz <leonhard.holz@web.de>
4578
4579 * string/strcoll_l.c (get_next_seq): __always_inline.
4580 * string/strcoll_l.c (do_compare): __always_inline.
4581
279bc5b3
SP
45822014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4583
7a9ebfa1
SP
4584 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4585 defined.
4586 * include/mqueue.h: Likewise.
4587 * include/stdlib.h: Likewise.
4588
4f41c682
SP
4589 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4590 (get_null_defines): Adjust.
4591 * sunrpc/Makefile: Adjust comment.
4592 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4593 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4594 (CFLAGS-interp.c): Likewise.
4595 (CFLAGS-ldconfig.c): Likewise.
4596 (CPPFLAGS-.os): Likewise.
4597 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4598 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4599 * extra-modules.mk (extra-modules.mk): Likewise.
4600 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4601 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4602 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4603 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4604 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4605 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4606 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4607 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4608 * iconvdata/Makefile (CPPFLAGS): Likewise.
4609 (cpp-srcs-left): Add libof for all iconvdata routines.
4610 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4611 * include/assert.h: Likewise.
4612 * include/ctype.h: Likewise.
4613 * include/errno.h: Likewise.
4614 * include/libc-symbols.h: Likewise.
4615 * include/math.h: Likewise.
4616 * include/netdb.h: Likewise.
4617 * include/resolv.h: Likewise.
4618 * include/stdio.h: Likewise.
4619 * include/stdlib.h: Likewise.
4620 * include/string.h: Likewise.
4621 * include/sys/stat.h: Likewise.
4622 * include/wctype.h: Likewise.
4623 * intl/l10nflist.c: Likewise.
4624 * libidn/idn-stub.c: Likewise.
4625 * libio/libioP.h: Likewise.
4626 * nptl/libc_multiple_threads.c: Likewise.
4627 * nptl/pthreadP.h: Likewise.
4628 * posix/regex_internal.h: Likewise.
4629 * resolv/res_hconf.c: Likewise.
4630 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4631 * sysdeps/arm/memmove.S: Likewise.
4632 * sysdeps/arm/sysdep.h: Likewise.
4633 * sysdeps/generic/_itoa.h: Likewise.
4634 * sysdeps/generic/symbol-hacks.h: Likewise.
4635 * sysdeps/gnu/errlist.awk: Likewise.
4636 * sysdeps/gnu/errlist.c: Likewise.
4637 * sysdeps/i386/i586/memcpy.S: Likewise.
4638 * sysdeps/i386/i586/memset.S: Likewise.
4639 * sysdeps/i386/i686/memcpy.S: Likewise.
4640 * sysdeps/i386/i686/memmove.S: Likewise.
4641 * sysdeps/i386/i686/mempcpy.S: Likewise.
4642 * sysdeps/i386/i686/memset.S: Likewise.
4643 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4645 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4646 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4648 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4649 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4650 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4651 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4652 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4653 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4654 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4655 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4656 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4657 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4658 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4659 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4660 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4661 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4662 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4663 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4664 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4669 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4670 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4672 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4690 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4695 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4698 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4701 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4704 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4705 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4706 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4707 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4708 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4709 * sysdeps/posix/closedir.c: Likewise.
4710 * sysdeps/posix/opendir.c: Likewise.
4711 * sysdeps/posix/readdir.c: Likewise.
4712 * sysdeps/posix/rewinddir.c: Likewise.
4713 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4714 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4715 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4716 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4717 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4718 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4719 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4720 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4722 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4724 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4725 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4726 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4727 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4728 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4729 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4730 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4731 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4733 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4734 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4735 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4736 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4739 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4741 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4748 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4749 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4750 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4752 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4753 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4755 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4757 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4758 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4770 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4773 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4774 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4775 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4776 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4777 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4778 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4779 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4780 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4781 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4785 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4786 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4788 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4789 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4790 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4791 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4793 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4795 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4796 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4797 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4798 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4799 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4800 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4801 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4802 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4803 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4804 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4805 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4809 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4811 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4812 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4814 * sysdeps/unix/alpha/sysdep.S: Likewise.
4815 * sysdeps/unix/alpha/sysdep.h: Likewise.
4816 * sysdeps/unix/make-syscalls.sh: Likewise.
4817 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4819 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4820 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4821 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4822 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4823 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4824 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4825 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4826 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4828 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4830 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4831 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4832 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4833 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4834 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4835 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4836 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4837 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4838 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4839 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4840 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4841 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4842 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4843 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4846 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4851 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4855 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4856 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4857 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4858 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4859 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4860 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4864 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4865 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4867 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4868 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4869 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4870 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4871 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4872 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4873 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4875 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4876 * sysdeps/x86_64/memcpy.S: Likewise.
4877 * sysdeps/x86_64/memmove.c: Likewise.
4878 * sysdeps/x86_64/memset.S: Likewise.
4879 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4880 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4881 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4882 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4883 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4884 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4886 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4887 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4888 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4889 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4890 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4891 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4892 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4893 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4894 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4895 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4896 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4897 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4898 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4899 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4900 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4903 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4904 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4905 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4906 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4907 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4908 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4910 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4911 * sysdeps/x86_64/strcmp.S: Likewise.
4912
76ca86a5
SP
4913 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4914
a3848485
SP
4915 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4916 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4917 * elf/rtld-Rules: Likewise.
4918 * elf/setup-vdso.h: Likewise.
4919 * include/assert.h: Likewise.
4920 * include/bits/stdlib-float.h: Likewise.
4921 * include/errno.h: Likewise.
4922 * include/sys/stat.h: Likewise.
4923 * include/unistd.h: Likewise.
4924 * sysdeps/aarch64/setjmp.S: Likewise.
4925 * sysdeps/alpha/setjmp.S: Likewise.
4926 * sysdeps/arm/__longjmp.S: Likewise.
4927 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4928 * sysdeps/arm/setjmp.S: Likewise.
4929 * sysdeps/arm/sysdep.h: Likewise.
4930 * sysdeps/generic/_itoa.h: Likewise.
4931 * sysdeps/generic/dl-sysdep.h: Likewise.
4932 * sysdeps/generic/ldsodefs.h: Likewise.
4933 * sysdeps/i386/dl-tls.h: Likewise.
4934 * sysdeps/i386/setjmp.S: Likewise.
4935 * sysdeps/m68k/setjmp.c: Likewise.
4936 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4937 * sysdeps/mach/hurd/opendir.c: Likewise.
4938 * sysdeps/posix/getcwd.c: Likewise.
4939 * sysdeps/posix/opendir.c: Likewise.
4940 * sysdeps/posix/profil.c: Likewise.
4941 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4942 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4945 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4948 * sysdeps/s390/dl-tls.h: Likewise.
4949 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4950 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4951 * sysdeps/sh/sh3/setjmp.S: Likewise.
4952 * sysdeps/sh/sh4/setjmp.S: Likewise.
4953 * sysdeps/unix/alpha/sysdep.h: Likewise.
4954 * sysdeps/unix/arm/sysdep.S: Likewise.
4955 * sysdeps/unix/i386/sysdep.S: Likewise.
4956 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4957 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4958 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4959 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4960 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4961 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4962 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4963 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4964 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4965 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4966 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4967 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4971 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4974 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4975 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4979 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4980 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4984 * sysdeps/x86_64/setjmp.S: Likewise.
4985
a109996e
SP
4986 * include/math.h: Use IS_IN instead of IS_IN_libm.
4987 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4999 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5007 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5008 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5009 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5010 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5011 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5012 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5014 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5015 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5016 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5017 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5018 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5019 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5021 Likewise.
5022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5023 Likewise.
5024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5025 Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5027 Likewise.
5028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5029 Likewise.
5030 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5032 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5033 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5035 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5041 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5042 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5043 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5044 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5046 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5049 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5050 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5051 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5054 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5056 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5057
ce9f10f7
SP
5058 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5059 * nptl/pthreadP.h: Likewise.
5060 * nptl_db/structs.def: Likewise.
5061 * sysdeps/arm/sysdep.h: Likewise.
5062 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5063 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5064 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5065 * sysdeps/unix/alpha/sysdep.h: Likewise.
5066 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5067 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5068 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5069 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5070 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5071 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5072 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5073 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5074 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5075 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5076 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5077 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5078 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5079 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5084 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5087 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5088 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5089 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5091 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5092
016afc75
SP
5093 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5094 * nptl/pthreadP.h: Likewise.
5095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5096 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5097 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5098 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5099 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5101 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5102 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5103 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5104 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5105 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5106 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5108 Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5113 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5116 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5117 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5118 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5119
9b42a0b3
SP
5120 * dlfcn/dladdr.c: Use IS_IN.
5121 * dlfcn/dladdr1.c: Likewise.
5122 * dlfcn/dlclose.c: Likewise.
5123 * dlfcn/dlerror.c: Likewise.
5124 * dlfcn/dlinfo.c: Likewise.
5125 * dlfcn/dlmopen.c: Likewise.
5126 * dlfcn/dlopen.c: Likewise.
5127 * dlfcn/dlsym.c: Likewise.
5128 * dlfcn/dlvsym.c: Likewise.
5129
85f36372
SP
5130 * include/ifaddrs.h: Use IS_IN.
5131 * inet/check_pf.c: Likewise.
5132 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5133 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5134
fb6784e3
SP
5135 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5136 IS_IN_ldconfig.
5137 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5138 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5139
2886d2d1
SP
5140 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5141 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5142 IS_IN (libc).
5143
9a484857
SP
5144 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5145
a10178bd
SP
5146 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5147 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5148 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5149 * include/libc-symbols.h (IS_IN_LIB): New macro.
5150 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5151 * include/netdb.h: Likewise.
5152 * include/stap-probe.h: Remove all uses of IN_LIB.
5153
279bc5b3
SP
5154 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5155 instead of IN_MODULE.
5156 * include/libc-symbols.h (IN_MODULE): Define using
5157 MODULE_NAME.
5158 (PASTE_NAME, PASTE_NAME1): New macros.
5159 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5160 of IN_LIB.
5161 (STAP_PROBE_ASM): Likewise.
5162
e0cfa510
ST
51632014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5164
5165 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5166 __mach_init in dlopened libc.
5167
34d97d87
MF
51682014-11-22 Mike Frysinger <vapier@gentoo.org>
5169
5170 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5171 * sysdeps/arm/preconfigure: Regenerate.
5172
33cd1f74
RM
51732014-11-21 Roland McGrath <roland@hack.frob.com>
5174
5175 * nptl/pthread_create.c (__pthread_create_2_1): Set
5176 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5177 when copying values from IATTR into PD.
5178
8c230039
WN
51792014-11-21 Will Newton <will.newton@linaro.org>
5180 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5181
6d3db89b
AP
5182 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5183 Refactor inline-asm. Also add comment.
5184
01194ba1
WN
5185 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5186 ElfW macro instead of hardcoded Elf64 types.
5187 (la_aarch64_gnu_pltenter): Likewise.
5188 * sysdeps/aarch64/dl-machine.h
5189 (elf_machine_runtime_setup): Use ElfW(Addr).
5190
8c230039
WN
5191 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5192 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5193 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5194 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5195 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5196 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5197 (R_AARCH64_TLS_DTPMOD): This.
5198 (R_AARCH64_TLS_DTPREL64): Rename to ...
5199 (R_AARCH64_TLS_DTPREL): This.
5200 (R_AARCH64_TLS_TPREL64): Rename to ...
5201 (R_AARCH64_TLS_TPREL): This.
5202 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5203 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5204 R_AARCH64_TLS_TPREL64.
5205 (elf_machine_rela): Likewise.
5206
0d79fa53
TR
52072014-11-21 Torvald Riegel <triegel@redhat.com>
5208
5209 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5210 by setting it to 0. 64b atomics are not supported currently.
5211
b59d114b
AO
52122014-11-21 Alexandre Oliva <aoliva@redhat.com>
5213
5214 [BZ #16469]
5215 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5216 search domain names.
5217
f3d945d5
AO
52182014-11-21 Alexandre Oliva <aoliva@redhat.com>
5219
5220 [BZ #16469]
5221 * NEWS: Update.
5222 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5223 trailing dot.
5224 * posix/tst-getaddrinfo5.c: New.
5225 * posix/Makefile (tests): Add it.
5226
49698902
AO
52272014-11-21 Alexandre Oliva <aoliva@redhat.com>
5228
5229 [BZ #14498]
5230 * NEWS: Fixed.
5231 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5232 after parsing line but before break_if_match.
5233 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5234 if there is a protocol mismatch.
5235
81959214
MS
52362014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5237
5238 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5239 because the potential race is on the user-supplied stream.
5240
7729e0e9
AO
52412014-11-21 Alexandre Oliva <aoliva@redhat.com>
5242
5243 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5244 string literal if not passed a buffer.
5245 * manual/job.texi (ctermid): Update reasoning, note deviation
5246 from posix, suggest mtasurace when not passed a buffer, for
5247 future non-preliminary safety notes.
5248
a4ea5e28
AO
52492014-11-21 Alexandre Oliva <aoliva@redhat.com>
5250
5251 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5252 of not passing it a buffer.
5253 Reported by Peng Haitao.
5254
a2b581cb
AO
52552014-11-21 Alexandre Oliva <aoliva@redhat.com>
5256
5257 * manual/Makefile ($(objpfx)stamp-summary): Require
5258 check-safety.sh to pass.
5259 * manual/check-safety.sh: Wish for verification that every
5260 @deftypefn and @deftypefun is followed by a @safety remark.
5261
f214ff74
RM
52622014-11-20 Roland McGrath <roland@hack.frob.com>
5263
7f0dfae0
RM
5264 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5265
2f531bbb
RM
5266 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5267 PTHREAD_CANCEL_ASYNCHRONOUS.
5268 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5269 send SIGCANCEL.
5270
f214ff74
RM
5271 * nptl/default-sched.h: New file.
5272 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5273 * nptl/pthread_create.c: Include it.
5274 (__pthread_create_2_1): Use collect_default_sched instead of making
5275 Linux syscalls here directly.
5276
e37c91d4
TR
52772014-11-20 Torvald Riegel <triegel@redhat.com>
5278
5279 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5280 __pthread_once): Use C11 atomics.
5281
1eccfecd
TR
52822014-11-20 Torvald Riegel <triegel@redhat.com>
5283
5284 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5285
ff871426
TR
52862014-11-20 Torvald Riegel <triegel@redhat.com>
5287
5288 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5289 atomic_thread_fence_acquire, atomic_thread_fence_release,
5290 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5291 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5292 atomic_compare_exchange_weak_relaxed,
5293 atomic_compare_exchange_weak_acquire,
5294 atomic_compare_exchange_weak_release,
5295 atomic_exchange_acquire, atomic_exchange_release,
5296 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5297 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5298 atomic_fetch_and_acquire,
5299 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5300
1ea339b6
TR
53012014-11-20 Torvald Riegel <triegel@redhat.com>
5302
5303 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5304 USE_ATOMIC_COMPILER_BUILTINS): Define.
5305 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5307 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5309 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5311 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5313 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5315 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5317 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5319 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5320 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5321 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5323 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5325 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5327 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5328 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5329 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5331 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5333 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5334 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5335 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5336 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5337 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5338 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5339 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5340 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5341 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5342 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5343 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5344 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5345
cbd463e2
RM
53462014-11-19 Roland McGrath <roland@hack.frob.com>
5347
d960211f
RM
5348 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5349 the sched_priority value here. It was already checked when the user
5350 called pthread_attr_setschedparam.
5351
cbd463e2
RM
5352 * nptl/tst-bad-schedattr.c: New file.
5353 * nptl/Makefile (tests): Add it.
5354
a39208bd
CD
53552014-11-19 Carlos O'Donell <carlos@redhat.com>
5356 Florian Weimer <fweimer@redhat.com>
5357 Joseph Myers <joseph@codesourcery.com>
5358 Adam Conrad <adconrad@0c3.net>
5359 Andreas Schwab <schwab@suse.de>
5360 Brooks <bmoses@google.com>
5361
5362 [BZ #17625]
5363 * wordexp-test.c (__dso_handle): Add prototype.
5364 (__register_atfork): Likewise.
5365 (__app_register_atfork): New function.
5366 (registered_forks): New global.
5367 (register_fork): New function.
5368 (test_case): Add 3 new tests for WRDE_CMDSUB.
5369 (main): Call __app_register_atfork.
5370 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5371 fork count is non-zero fail the test.
5372 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5373 is set.
5374 (parse_dollars): Remove check for WRDE_NOCMD.
5375 (parse_dquote): Likewise.
5376
9cd47470
SP
53772014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5378
130ac68c
SP
5379 * Makeconfig (built-modules): List non-library modules to be
5380 built.
5381 (module-cppflags): Include libc-modules.h for
5382 everything except shlib-versions.v.i.
5383 (CPPFLAGS): Use it.
5384 (before-compile): Add libc-modules.h.
5385 ($(common-objpfx)libc-modules.h,
5386 $(common-objpfx)libc-modules.stmp): New targets.
5387 (common-generated): Add libc-modules.h and libc-modules.stmp.
5388 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5389 * include/libc-symbols.h: Don't include libc-modules.h.
5390 * include/libc-modules.h: Remove file.
5391 * scripts/gen-libc-modules.awk: New script to generate
5392 libc-modules.h.
5393 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5394 Depend on libc-modules.stmp.
5395
286663c3
SP
5396 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5397
9cd47470
SP
5398 * Makeconfig (in-module): Get value of libof set for the
5399 translation unit.
5400 (CPPFLAGS): Use $(in-module).
5401 * Makerules: Don't suffix routine names for nonlib.
5402 * include/libc-modules.h: New file.
5403 * include/libc-symbols.h: Include libc-modules.h
5404 (IS_IN): New macro to replace IS_IN_* macros.
5405 * elf/Makefile: Set libof-* for each routine.
5406 * elf/rtld-Rules: Likewise.
5407 * extra-modules.mk: Likewise.
5408 * iconv/Makefile: Likewise.
5409 * iconvdata/Makefile: Likewise.
5410 * locale/Makefile: Likewise.
5411 * malloc/Makefile: Likewise.
5412 * nss/Makefile: Likewise.
5413 * sysdeps/gnu/Makefile: Likewise.
5414 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5415 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5416 * sysdeps/s390/s390-64/Makefile: Likewise.
5417 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5418 CPPFLAGS for nscd instead of nonlib.
5419
32fed10f
RM
54202014-11-18 Roland McGrath <roland@hack.frob.com>
5421
d71035bd
RM
5422 * nptl/createthread.c: New file.
5423
6540b991
RM
5424 * nptl/createthread.c: Moved ...
5425 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5426
32fed10f
RM
5427 * nptl/createthread.c: Add proper top-line comment.
5428 (do_clone): Folded into ...
5429 (create_thread): ... here. Take new arguments STOPPED_START and
5430 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5431 increment __nptl_threads, do event-reporting logic, do
5432 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5433 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5434 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5435 just send SIGCANCEL.
5436 * nptl/pthread_create.c: Forward-declare create_thread before
5437 including createthread.c.
5438 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5439 declaration, and new macro START_THREAD_SELF to replace argument.
5440 Remove return statement.
5441 (report_thread_creation): New function.
5442 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5443 synchronization logic, and __nptl_nthreads increment here, around
5444 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5445 PD->parent_cancelhandling here, before create_thread. When
5446 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5447 __deallocate_stack, and ENOMEM translation here.
5448
107a5bf0
JM
54492014-11-18 Joseph Myers <joseph@codesourcery.com>
5450
5451 [BZ #17616]
5452 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5453 (mptwo): Rename to __mptwo.
5454 (__inv): Use __mptwo instead of mptwo.
5455 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5456 (mptwo): Rename to __mptwo.
5457 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5458 of mpone and __mptwo instead of mptwo.
5459 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5460 instead of mpone.
5461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5462 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5463 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5464 of mpone and __mptwo instead of mptwo.
5465 (__mpranred): Use __mpone instead of mpone.
5466 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5467 variable.
5468 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5469 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5470 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5471 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5472 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5473 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5474 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5475 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5476 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5477 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5478 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5480 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5481 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5482 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5483 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5484 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5485 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5486 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5487
3b679ab3
TV
54882014-11-18 Tom de Vries <tom@codesoucery.com>
5489
5490 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5491 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5492
54932014-11-17 Richard Henderson <rth@redhat.com>
5494
5495 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5496 (_FP_PACK_RAW_2): Remove.
5497 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5498 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5499 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5500 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5501 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5502 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5503 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5504 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5505 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5506 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5507 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5508 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5509 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5510 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5511 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5512 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5513
0781a777
RM
55142014-11-14 Roland McGrath <roland@hack.frob.com>
5515
5516 * signal/signal.h [__USE_MISC]
5517 (struct sigvec): Remove type.
5518 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5519 (sigvec): Remove declaration.
5520 * sysdeps/posix/sigvec.c: Moved ...
5521 * signal/sigvec.c: ... here, replacing old file.
5522 (struct sigvec): New type, copied from old signal.h definition.
5523 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5524 (__sigvec): Convert definition to prototype.
5525 (sigvec): Replace weak_alias with compat_symbol.
5526 * signal/Versions (libc: GLIBC_2.21): New version set.
5527 * include/signal.h: Remove __sigvec declaration.
5528 * sysdeps/unix/bsd/sigvec.c: Remove file.
5529 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5530 * manual/signal.texi (BSD Handler): Remove subsection.
5531 Move siginterrupt up to ...
5532 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5533 (Blocking in BSD): Fold subsection into its parent.
5534 * NEWS: Mention sigvec removal.
5535
a4733812
JM
55362014-11-14 Joseph Myers <joseph@codesourcery.com>
5537
5ae4fe60
JM
5538 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5539 (DLA_FMS): Make definition conditional only on [__FMA4__].
5540 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5541 definition.
5542
6a0dd472
JM
5543 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5544 Make definition conditional only on [PROF].
5545 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5546 definition.
5547 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5548 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5549
a4733812
JM
5550 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5551 !__GNUC__].
5552 * include/signal.h (__sigpause): Move declaration above call to
5553 libc_hidden_proto.
5554 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5555 variable.
5556 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5557 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5558
cf7246dd
DM
55592014-11-14 David S. Miller <davem@davemloft.net>
5560
5561 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5562 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5563
c1b0aadc
JM
55642014-11-14 Joseph Myers <joseph@codesourcery.com>
5565
4863355a
JM
5566 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5567 * configure: Regenerated.
5568 * manual/install.texi (Tools for Compilation): Document a
5569 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5570 compiler verified to work.
5571 * INSTALL: Regenerated.
5572
c1b0aadc
JM
5573 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5574 redeclare with asm name.
5575 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5576 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5577 including <string.h>.
5578 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5580 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5581 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5582 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5583 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5584 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5585
2a1cfd94
JM
55862014-11-13 Joseph Myers <joseph@codesourcery.com>
5587
bf438382
JM
5588 * stdlib/strtol.c (__strtol): Use prototype definition.
5589
2a1cfd94
JM
5590 [BZ #17594]
5591 * stdlib/strtol.c (SYM__): New macro.
5592 (SYM__1): Likewise.
5593 (__strtol): Likewise.
5594 (strtol): Rename to __strtol and define as weak alias of
5595 __strtol. Use libc_hidden_weak.
5596
20ed0d26
SL
55972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5598
5599 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5600 Use numbered labels in inline assembly.
5601
53244a4e
SL
56022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5603
5604 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5605 Add setjmp LIBC_PROBE.
5606 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5607 Likewise.
5608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5609 Add longjmp, longjmp_target LIBC_PROBE.
5610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5611 Likewise.
5612
47df8251
SL
56132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5614
5615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5616 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5617 to get rid of unused variable warning.
5618
618cebef
SL
56192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5620
5621 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5622 Check for unwind_backtrace == NULL only in SHARED case.
5623 (__backchain_backtrace): Compile only in SHARED case.
5624 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5625 Likewise.
5626 (__backchain_backtrace): Declare as static.
5627
c6aab2cb
RM
56282014-11-12 Roland McGrath <roland@hack.frob.com>
5629
5630 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5631 (__libc_multiple_threads_ptr): Variable moved ...
5632 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5633
5a6fa4d7
JM
56342014-11-12 Joseph Myers <joseph@codesourcery.com>
5635
24f4f825
JM
5636 * conform/GlibcConform.pm: New file.
5637 * conform/conformtest.pl: Use GlibcConform module.
5638 * conform/linknamespace.pl: New file.
5639 * conform/list-header-symbols.pl: Likewise.
5640 * conform/Makefile (linknamespace-symlists-base): New variable.
5641 (linknamespace-symlists-tests): Likewise.
5642 (linknamespace-header-base): Likewise.
5643 (linknamespace-header-tests): Likewise.
5644 (tests-special): Add new tests.
5645 ($(linknamespace-symlists-tests)): New rule.
5646 (linknamespace-libs): New variable.
5647 ($(objpfx)symlist-stdlibs): New rule.
5648 ($(linknamespace-header-tests)): Likewise.
5649 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5650 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5651 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5652 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5653 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5654 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5655 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5656 (test-xfail-ISO/math.h/linknamespace): Likewise.
5657 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5658 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5659 (test-xfail-ISO/time.h/linknamespace): Likewise.
5660 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5661 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5662 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5663 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5664 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5665 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5666 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5667 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5668 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5669 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5670 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5671 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5672 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5673 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5674 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5675 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5676 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5677 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5678 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5679 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5680 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5681 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5682 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5683 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5684 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5685 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5686 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5687 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5688 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5689 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5690 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5691 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5692 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5693 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5694 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5695 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5696 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5697 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5698 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5699 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5700 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5701 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5702 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5703 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5704 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5705 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5706 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5707 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5708 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5709 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5710 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5711 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5712 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5713 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5714 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5715 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5716 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5717 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5718 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5719 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5720 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5721 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5722 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5723 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5724 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5725 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5726 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5727 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5728 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5729 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5730 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5731 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5732 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5733 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5734 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5735 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5736 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5737 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5738 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5739 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5740 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5741 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5743 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5744 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5745 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5746 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5747 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5748 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5749 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5750 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5751 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5752 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5753 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5754 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5755 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5756 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5757 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5758 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5759 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5760 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5761 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5762 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5763 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5764 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5765 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5766 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5767 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5768 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5769 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5770 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5771 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5772 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5773 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5774 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5775 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5776 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5777 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5778 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5779 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5780 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5781 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5782 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5783 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5784 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5785 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5786 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5787 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5788 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5789 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5790 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5791 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5792 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5793 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5794 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5795 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5796 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5797 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5798 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5799 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5800 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5801 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5802 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5803 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5804 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5805 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5806 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5807 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5808 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5809 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5810
cc67478e
JM
5811 [BZ #17589]
5812 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5813 of fgets_unlocked.
5814
9975e3d3
JM
5815 [BZ #17585]
5816 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5817 (memmem): Rename to __memmem and define as weak alias of
5818 __memmem. Use libc_hidden_weak.
5819 (__memmem): Use libc_hidden_def.
5820 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5821 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5822 memmem.
5823
c4eae752
JM
5824 [BZ #17582]
5825 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5826 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5827 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5828 and define as weak alias of __fgets_unlocked. Use
5829 libc_hidden_weak.
5830 (__fgets_unlocked): Use libc_hidden_def.
5831 * include/stdio.h (__fgets_unlocked): Declare. Use
5832 libc_hidden_proto.
5833 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5834 __fgets_unlocked instead of fgets_unlocked.
5835 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5836 (GET_NPROCS_CONF_PARSER): Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5838 (GET_NPROCS_CONF_PARSER): Likewise.
5839
01cad84e
JM
5840 [BZ #17574]
5841 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5842 weak alias of __wmemset. Use libc_hidden_weak.
5843 (__wmemset): Use libc_hidden_def.
5844 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5845 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5846 of wmemset.
5847
939da411
JM
5848 [BZ #17573]
5849 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5850 with asm name __mempcpy.
5851 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5852
293d9a41
JM
5853 [BZ #17572]
5854 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5855 and define as weak alias of __rawmemchr.
5856 (__rawmemchr): Do not define as strong alias of rawmemchr.
5857
bef8fd60
JM
5858 [BZ #17571]
5859 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5860 alias of __qsort_r.
5861 (qsort): Call __qsort_r instead of qsort_r.
5862 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5863 (__qsort_r): Declare. Call libc_hidden_proto.
5864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5865 instead of qsort_r.
5866 * nscd/gai.c (__qsort_r): Define to qsort_r.
5867 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5868 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5869 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5870
c52ff39e
JM
5871 [BZ #17570]
5872 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5873 define as weak alias of __malloc_info.
5874
2f5c1b00
JM
5875 [BZ #17584]
5876 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5877 as weak alias of __rewinddir. Don't use libc_hidden_def.
5878 (__rewinddir): Use libc_hidden_def.
5879 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5880 as weak alias of __rewinddir. Don't use libc_hidden_def.
5881 (__rewinddir): Use libc_hidden_def.
5882 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5883 weak alias of __rewinddir. Don't use libc_hidden_def.
5884 (__rewinddir): Use libc_hidden_def.
5885 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5886 (__rewinddir): Use libc_hidden_proto.
5887 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5888 rewinddir.
5889 (__getcwd): Use __rewinddir instead of rewinddir.
5890
5a6fa4d7
JM
5891 [BZ #17583]
5892 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5893 alias of __fileno. Use libc_hidden_weak.
5894 (__fileno): Use libc_hidden_def.
5895 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5896 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5897 alias of __ftello.
5898 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5899 __ftello.
5900 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5901 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5902 libc_hidden_def.
5903 (fread_unlocked): Don't use libc_hidden_ver.
5904 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5905 and define as weak alias of __fread_unlocked. Don't use
5906 libc_hidden_def.
5907 (__fread_unlocked): Use libc_hidden_def.
5908 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5909 (ftello): Don't use libc_hidden_proto.
5910 (__ftello): Declare. Use libc_hidden_proto.
5911 (fread_unlocked): Don't use libc_hidden_proto.
5912 (__fread_unlocked): Declare. Use libc_hidden_proto.
5913 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5914 and __ftello instead of fileno, fread_unlocked and ftello.
5915
2581b98e
SP
59162012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
5918 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5919 GOT12.
5920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5921 Likewise.
5922 (_dl_start_user): Likewise.
5923 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5924
533bb7c2
SP
59252014-11-12 Carlos O'Donell <carlos@redhat.com>
5926 Siddhesh Poyarekar <siddhesh@redhat.com>
5927
5928 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5929 Move argv and envp down instead of moving argc up.
5930 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5931
fffa1cf8
LH
59322014-11-12 Leonhard Holz <leonhard.holz@web.de>
5933
5934 [BZ #17506]
5935 * test-skeleton.c (main): Return successful if one of
5936 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5937 * string/tst-strcoll-overflow.c: Define expected status.
5938
fb89b46d
TU
59392014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5940
5941 [BZ #17475]
5942 * locale/iso-639.def: Define Bhili and Tulu language codes.
5943
5c40c3ba
AH
59442014-11-11 Alan Hayward <alan.hayward@arm.com>
5945
5946 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5947
b17fe01b 59482014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5949
5950 [BZ #17555]
5951 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5952
bd805071
AS
59532014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5954
5955 * configure.ac: Updated check of minimal required version to
5956 2.22.
5957 * manual/install.texi (Tools for Compilation): Updated version
5958 number.
5959 * configure: Regenerated.
5960 * INSTALL: Likewise.
5961
1400983e
AS
59622014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5963
5964 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5965 __tls_get_addr.
5966
2c46a66a
JM
59672014-11-07 Joseph Myers <joseph@codesourcery.com>
5968
5969 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5970 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5971 (__waitpid): Don't define as alias. Use libc_hidden_def not
5972 libc_hidden_weak.
5973 (waitpid): Define as alias of __waitpid.
5974 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5975 __waitpid.
5976 (__waitpid): Don't define as alias. Use libc_hidden_def not
5977 libc_hidden_weak.
5978 (waitpid): Define as alias of __waitpid.
5979 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5980 __libc_waitpid alias.
5981 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5983 Likewise.
5984 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5985 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5986 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5987 alias.
5988 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5989 __waitpid.
5990 (__waitpid): Don't define as alias. Use libc_hidden_def not
5991 libc_hidden_weak.
5992 (waitpid): Define as alias of __waitpid.
5993
da53d6db
CD
59942014-11-06 Carlos O'Donell <carlos@redhat.com>
5995
a2887bdb
CD
5996 * manual/llio.texi: Add comment that write safety has been
5997 fixed in Linux.
5998
da53d6db
CD
5999 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6000 (localplt-build-dso): Add elf/ld.so.
6001 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6002 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6003 and free for ld.so.
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6005 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6007 Likewise.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6009 Likewise.
6010 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6011 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6012 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6013 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6014 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6015 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6016 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6017 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6018 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6021
9cf27b8d
JM
60222014-11-05 Joseph Myers <joseph@codesourcery.com>
6023
6024 [BZ #14132]
6025 * include/libc-symbols.h (INTUSE): Remove macro.
6026 (INTDEF): Likewise.
6027 (INTVARDEF): Likewise.
6028 (_INTVARDEF): Likewise.
6029 (INTDEF2): Likewise.
6030 (INTVARDEF2): Likewise.
6031 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6032 rtld_hidden_def instead of INTVARDEF.
6033 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6034 (_dl_starting_up_internal): Remove declaration.
6035 (_dl_starting_up): Use rtld_hidden_proto.
6036 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6037 declaration.
6038 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6039 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6040 _dl_starting_up.
6041 * elf/dl-writev.h (_dl_writev): Likewise.
6042 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6043 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6044 _dl_starting_up_internal.
6045
af83568d
AZ
60462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6049 test-skeleton.c.
6050
b01ee67c
WN
60512014-11-05 Will Newton <will.newton@linaro.org>
6052
6053 * benchtests/Makefile: (bench-malloc): Add malloc thread
6054 scalability benchmark.
6055 * benchtests/bench-malloc-threads.c: New file.
6056
be9d4ccc
RE
60572014-11-05 Richard Earnshaw <rearnsha@arm.com>
6058
6059 * sysdeps/aarch64/strchrnul.S: New file.
6060
7110166d
AZ
60612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6064 definition.
6065 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6066 Likwise.
6067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6068 Likewise.
6069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6070 Likewise.
6071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6072 Likewise.
6073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6074 Likewise.
6075
60762014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6077
6078 * catgets/test-gencat.c: Use test-skeleton.c.
6079 * catgets/tst-catgets.c: Likewise.
6080 * csu/tst-empty.c: Likewise.
6081 * elf/tst-audit2.c: Likewise.
6082 * elf/tst-global1.c: Likewise.
6083 * elf/tst-pathopt.c: Likewise.
6084 * elf/tst-piemod1.c: Likewise.
6085 * elf/tst-tls10.c: Likewise.
6086 * elf/tst-tls11.c: Likewise.
6087 * elf/tst-tls12.c: Likewise.
6088 * gnulib/tst-gcc.c: Likewise.
6089 * iconvdata/tst-e2big.c: Likewise.
6090 * iconvdata/tst-loading.c: Likewise.
6091 * iconv/tst-iconv1.c: Likewise.
6092 * iconv/tst-iconv2.c: Likewise.
6093 * inet/test-inet6_opt.c: Likewise.
6094 * inet/tst-gethnm.c: Likewise.
6095 * inet/tst-network.c: Likewise.
6096 * inet/tst-ntoa.c: Likewise.
6097 * intl/tst-codeset.c: Likewise.
6098 * intl/tst-gettext2.c: Likewise.
6099 * intl/tst-gettext3.c: Likewise.
6100 * intl/tst-ngettext.c: Likewise.
6101 * intl/tst-translit.c: Likewise.
6102 * io/test-stat.c: Likewise.
6103 * libio/test-fmemopen.c: Likewise.
6104 * libio/tst-freopen.c: Likewise.
6105 * libio/tst-sscanf.c: Likewise.
6106 * libio/tst-ungetwc1.c: Likewise.
6107 * libio/tst-ungetwc2.c: Likewise.
6108 * libio/tst-widetext.c: Likewise.
6109 * localedata/tst-ctype.c: Likewise.
6110 * localedata/tst-digits.c: Likewise.
6111 * localedata/tst-leaks.c: Likewise.
6112 * localedata/tst-mbswcs1.c: Likewise.
6113 * localedata/tst-mbswcs2.c: Likewise.
6114 * localedata/tst-mbswcs3.c: Likewise.
6115 * localedata/tst-mbswcs4.c: Likewise.
6116 * localedata/tst-mbswcs5.c: Likewise.
6117 * localedata/tst-setlocale.c: Likewise.
6118 * localedata/tst-trans.c: Likewise.
6119 * localedata/tst-wctype.c: Likewise.
6120 * localedata/tst-xlocale1.c: Likewise.
6121 * login/tst-grantpt.c: Likewise.
6122 * malloc/tst-calloc.c: Likewise.
6123 * malloc/tst-malloc.c: Likewise.
6124 * malloc/tst-mallocstate.c: Likewise.
6125 * malloc/tst-mcheck.c: Likewise.
6126 * malloc/tst-mtrace.c: Likewise.
6127 * malloc/tst-obstack.c: Likewise.
6128 * math/atest-exp2.c: Likewise.
6129 * math/atest-exp.c: Likewise.
6130 * math/atest-sincos.c: Likewise.
6131 * math/test-matherr.c: Likewise.
6132 * math/test-misc.c: Likewise.
6133 * math/test-powl.c: Likewise.
6134 * math/tst-definitions.c: Likewise.
6135 * misc/tst-dirname.c: Likewise.
6136 * misc/tst-efgcvt.c: Likewise.
6137 * misc/tst-fdset.c: Likewise.
6138 * misc/tst-hsearch.c: Likewise.
6139 * misc/tst-mntent2.c: Likewise.
6140 * nptl/tst-sem7.c: Likewise.
6141 * nptl/tst-sem8.c: Likewise.
6142 * nptl/tst-sem9.c: Likewise.
6143 * nss/test-netdb.c: Likewise.
6144 * posix/tst-fnmatch.c: Likewise.
6145 * posix/tst-getlogin.c: Likewise.
6146 * posix/tst-gnuglob.c: Likewise.
6147 * posix/tst-mmap.c: Likewise.
6148 * pwd/tst-getpw.c: Likewise.
6149 * resolv/tst-inet_ntop.c: Likewise.
6150 * rt/tst-timer.c: Likewise.
6151 * stdio-common/test-fseek.c: Likewise.
6152 * stdio-common/test-popen.c: Likewise.
6153 * stdio-common/test-vfprintf.c: Likewise.
6154 * stdio-common/tst-cookie.c: Likewise.
6155 * stdio-common/tst-fileno.c: Likewise.
6156 * stdio-common/tst-gets.c: Likewise.
6157 * stdio-common/tst-obprintf.c: Likewise.
6158 * stdio-common/tst-perror.c: Likewise.
6159 * stdio-common/tst-sprintf2.c: Likewise.
6160 * stdio-common/tst-sprintf3.c: Likewise.
6161 * stdio-common/tst-sprintf.c: Likewise.
6162 * stdio-common/tst-swprintf.c: Likewise.
6163 * stdio-common/tst-tmpnam.c: Likewise.
6164 * stdio-common/tst-unbputc.c: Likewise.
6165 * stdio-common/tst-wc-printf.c: Likewise.
6166 * stdlib/tst-environ.c: Likewise.
6167 * stdlib/tst-fmtmsg.c: Likewise.
6168 * stdlib/tst-limits.c: Likewise.
6169 * stdlib/tst-rand48-2.c: Likewise.
6170 * stdlib/tst-rand48.c: Likewise.
6171 * stdlib/tst-random2.c: Likewise.
6172 * stdlib/tst-random.c: Likewise.
6173 * stdlib/tst-strtol.c: Likewise.
6174 * stdlib/tst-strtoll.c: Likewise.
6175 * stdlib/tst-tls-atexit.c: Likewise.
6176 * stdlib/tst-xpg-basename.c: Likewise.
6177 * string/test-ffs.c: Likewise.
6178 * string/tst-bswap.c: Likewise.
6179 * string/tst-inlcall.c: Likewise.
6180 * string/tst-strtok.c: Likewise.
6181 * string/tst-strxfrm.c: Likewise.
6182 * sysdeps/x86_64/tst-audit10.c: Likewise.
6183 * sysdeps/x86_64/tst-audit3.c: Likewise.
6184 * sysdeps/x86_64/tst-audit4.c: Likewise.
6185 * sysdeps/x86_64/tst-audit5.c: Likewise.
6186 * time/tst-ftime_l.c: Likewise.
6187 * time/tst-getdate.c: Likewise.
6188 * time/tst-mktime3.c: Likewise.
6189 * time/tst-mktime.c: Likewise.
6190 * time/tst-posixtz.c: Likewise.
6191 * time/tst-strptime2.c: Likewise.
6192 * time/tst-strptime3.c: Likewise.
6193 * wcsmbs/tst-btowc.c: Likewise.
6194 * wcsmbs/tst-mbrtowc.c: Likewise.
6195 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6196 * wcsmbs/tst-wchar-h.c: Likewise.
6197 * wcsmbs/tst-wcpncpy.c: Likewise.
6198 * wcsmbs/tst-wcrtomb.c: Likewise.
6199 * wcsmbs/tst-wcsnlen.c: Likewise.
6200 * wcsmbs/tst-wcstof.c: Likewise.
6201
2004e7fb
JM
62022014-11-04 Joseph Myers <joseph@codesourcery.com>
6203
ab97ee8f
JM
6204 [BZ #14132]
6205 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6206 INTDEF.
6207 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6208 declaration.
6209 (_dl_mcount): Use rtld_hidden_proto.
6210 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6211 _dl_mcount.
6212 * elf/rtld.c (_rtld_global_ro): Likewise.
6213
c5684fdb
JM
6214 [BZ #14132]
6215 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6216 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6217 of _dl_init_internal.
6218 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6219 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6220 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6221 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6222 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6223 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6224 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6225 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6226 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6227 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6228 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6229 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6230 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6231 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6232 * sysdeps/tile/dl-start.S (_start): Likewise.
6233 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6234 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6235
4243cbea
JM
6236 [BZ #14132]
6237 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6238 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6239 (rtld_progname): Make macro definition unconditional.
6240 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6241 INTDEF.
6242 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6243 (dl_main): Likewise.
6244 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6245 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6246 instead of _dl_argv_internal.
6247 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6248 __GI__dl_argv instead of INTUSE(_dl_argv).
6249 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6250 __GI__dl_argv instead of _dl_argv_internal.
6251
2004e7fb
JM
6252 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6253 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6254 macro.
6255 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6256 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6257 New macro.
6258 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6259 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6260 macro.
6261 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6262 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6263
97827bfc
AS
62642014-11-04 Andreas Schwab <schwab@suse.de>
6265
6266 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6267
5e4df284
AZ
62682014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6271 mtvsrd instruction in binary form.
6272
04b76b5a
AS
62732014-11-03 Andreas Schwab <schwab@suse.de>
6274
6275 [BZ #17522]
6276 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6277 for less than MB_LEN_MAX use a local buffer of that size.
6278 * libio/tst-fputws.c: New file.
6279 * libio/Makefile (tests): Add tst-fputws.
6280
4c6da7da
JM
62812014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6282
6283 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6284 the size of the fpu_fr.fpu_dregs[] array.
6285
1679ba8e
JM
62862014-11-01 Joseph Myers <joseph@codesourcery.com>
6287
6288 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6289 (__nanosleep): Do not define as alias.
6290 (nanosleep): Define as alias of __nanosleep.
6291 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6292 __libc_nanosleep name.
6293
2626c183
JM
62942014-10-31 Joseph Myers <joseph@codesourcery.com>
6295
6296 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6297 install.texi in comment.
6298
7f981fc2
TR
62992014-10-31 Torvald Riegel <triegel@redhat.com>
6300
6301 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6302 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6303 ... add here and use lwsync or sync ...
6304 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6305 ... and add here using lwsync.
6306
d6f373d2
MF
63072014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6308
6309 * elf/dl-machine-reject-phdr.h: New file.
6310 * elf/dl-load.c: #include that.
6311 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6312 if that returned true.
6313
67c37987
RM
63142014-10-31 Roland McGrath <roland@hack.frob.com>
6315
6316 [BZ #17496]
6317 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6318 gen-as-const-headers chunk. Add a big scare comment after the last
6319 safe place to touch before-compile.
6320
94a42455 63212014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6322
f3f5d895
JM
6323 * manual/install.texi (Tools for Compilation): Update autoconf
6324 version requirements.
6325 * INSTALL: Regenerated.
6326
f62ff286
JM
6327 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6328 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6329 (__libc_pselect): Likewise.
94a42455
JM
6330
6331 [BZ #14138]
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6336
ff9dbdc0
TR
63372014-10-31 Torvald Riegel <triegel@redhat.com>
6338
6339 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6340 correct barrier instruction.
6341 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6342 Likewise.
6343 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6344 Likewise.
6345
b4f66884
RM
63462014-10-30 Roland McGrath <roland@hack.frob.com>
6347
6348 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6349 after defining inlines. Instead, just use parens to defeat macro
6350 expansion of __isctype in its declaration.
6351
e19c95fd
JM
63522014-10-30 Joseph Myers <joseph@codesourcery.com>
6353
6354 * include/sys/uio.h (__libc_readv): Remove declaration.
6355 (__libc_writev): Likewise.
6356 * misc/readv.c (__libc_readv): Rename to __readv.
6357 (__readv): Do not define as alias.
6358 (readv): Define as alias of __readv.
6359 * misc/writev.c (__libc_writev): Rename to __writev.
6360 (__writev): Do not define as alias.
6361 (writev): Define as alias of __writev.
6362 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6363 (__readv): Do not define as alias.
6364 (readv): Define unconditionally as alias of __readv.
6365 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6366 (__writev): Do not define as alias.
6367 (writev): Define unconditionally as alias of __writev.
6368 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6369 name.
6370 (writev): Do not define __libc_writev name.
6371
65b00b6c
RM
63722014-10-30 Roland McGrath <roland@hack.frob.com>
6373
6374 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6375 (convert_charseq): New function, broken out of ...
6376 (use_from_charmap): ... here. Call it.
6377 (use_to_charmap): Use convert_charseq and free instead of duplicating
6378 its code with a variable-length stack struct.
6379
d4e157aa
JM
63802014-10-30 Joseph Myers <joseph@codesourcery.com>
6381
6382 * include/fcntl.h (__libc_creat): Remove declaration.
6383 * io/creat.c (__libc_creat): Rename to creat.
6384 (creat): Do not define as alias.
6385 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6386 of creat instead of __libc_creat.
6387 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6388 to creat.
6389 (creat): Do not define as alias.
6390 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6391 __libc_creat.
6392 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6393 __libc_creat name.
6394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6395 Likewise.
6396
0c6891a0
CD
63972014-10-29 Carlos O'Donell <carlos@redhat.com>
6398
6399 * manual/llio.texi: Add comments discussing why write() may be
6400 considered MT-unsafe on Linux.
6401
cc00cece
CD
64022014-10-28 Carlos O'Donell <carlos@redhat.com>
6403
6404 * dl-load.c (local_strdup): Remove.
6405 (expand_dynamic_string_token): Use __strdup.
6406 (decompose_rpath): Likewise.
6407 (_dl_map_object): Likewise.
6408
51e623f2
JM
64092014-10-28 Joseph Myers <joseph@codesourcery.com>
6410
6411 [BZ #14132]
6412 * sysdeps/generic/unwind-dw2-fde.c
6413 (__register_frame_info_bases_internal): Do not declare.
6414 (__register_frame_info_table_bases_internal): Likewise.
6415 (__deregister_frame_info_bases_internal): Likewise.
6416 (__register_frame_info_bases): Declare and use hidden_proto before
6417 definition. Use hidden_def instead of INTDEF.
6418 (__register_frame_info_table_bases): Likewise.
6419 (__deregister_frame_info_bases): Likewise.
6420 (__register_frame_info): Do not use INTUSE.
6421 (__register_frame): Likewise.
6422 (__register_frame_info_table): Likewise.
6423 (__register_frame_table): Likewise.
6424 (__deregister_frame_info): Likewise.
6425 (__deregister_frame): Likewise.
6426
03d41216
GC
64272014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6428
6429 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6430 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6431 not undefine.
6432 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6433 Likewise.
6434 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6435 Likewise.
6436
a4b3624d
JM
64372014-10-27 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #14138]
6440 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6441 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6442 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6443 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6444 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6445 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6446 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6447 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6448 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6449 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6452 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6453 syscall.
6454 (setfsuid): Likewise.
6455 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6456 (setfsuid): Likewise.
6457 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6458 (setfsuid): Likewise.
6459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6460 Likewise.
6461 (setfsuid): Likewise.
6462 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6463 (setfsuid): Likewise.
6464 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6465 Likewise.
6466 (setfsuid): Likewise.
6467
3574f2fd
AS
64682014-10-27 Andreas Schwab <schwab@suse.de>
6469
6470 [BZ #17501]
6471 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6472 check for Slow_SSE4_2 feature bit.
6473 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6474 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6475 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6476 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6477
70996a37
RM
64782014-10-24 Roland McGrath <roland@hack.frob.com>
6479
461a7b1e
RM
6480 * configure.ac: Validate compiler version with a empirical test of
6481 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6482 $CC -v output.
6483 * configure: Regenerated.
6484
70996a37
RM
6485 * inet/htons.c (htons): Prototypify.
6486 * inet/htonl.c (htonl): Likewise.
6487
e80514b5
WD
64882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6489
6490 * string/strncat.c (strncat): Improve performance by using strlen.
6491
6e46de42
WD
64922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6493
6494 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6495
6a9ad2fa
WD
64962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6497
6498 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6499 Call libc_fetestexcept_aarch64.
6500
1c8810ed
WD
65012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6502
6503 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6504 Call libc_feholdexcept_aarch64.
6505
8b1af712
WD
65062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6507
6508 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6509 Call get_rounding_mode.
6510
a7b00c11
WD
65112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6512
6513 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6514 Simplify logic.
6515
3a84f1a6
WD
65162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6517
6518 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6519 Simplify logic.
6520
48eb7a94
JM
65212014-10-24 Joseph Myers <joseph@codesourcery.com>
6522
c8bc4038
JM
6523 [BZ #14138]
6524 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6525 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6526 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6527 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6528 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6529 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6530 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6531 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6532 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6533 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6534 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6536 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6537 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6538 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6539 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6540 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6541 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6542 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6543 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6544 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6546 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6547 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6548 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6549 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6551 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6552 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6553 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6554 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6555 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6556 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6557 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6558 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6560 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6562 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6564 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6565 syscall.
6566 (geteuid): Likewise.
6567 (getgid): Likewise.
6568 (getuid): Likewise.
6569 (getresgid): Likewise.
6570 (getresuid): Likewise.
6571 (getgroups): Likewise.
6572 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6573 (geteuid): Likewise.
6574 (getgid): Likewise.
6575 (getuid): Likewise.
6576 (getresgid): Likewise.
6577 (getresuid): Likewise.
6578 (getgroups): Likewise.
6579 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6580 (geteuid): Likewise.
6581 (getgid): Likewise.
6582 (getuid): Likewise.
6583 (getresgid): Likewise.
6584 (getresuid): Likewise.
6585 (getgroups): Likewise.
6586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6587 Likewise.
6588 (geteuid): Likewise.
6589 (getgid): Likewise.
6590 (getuid): Likewise.
6591 (getresgid): Likewise.
6592 (getresuid): Likewise.
6593 (getgroups): Likewise.
6594 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6595 (geteuid): Likewise.
6596 (getgid): Likewise.
6597 (getuid): Likewise.
6598 (getresgid): Likewise.
6599 (getresuid): Likewise.
6600 (getgroups): Likewise.
6601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6602 Likewise.
6603 (geteuid): Likewise.
6604 (getgid): Likewise.
6605 (getuid): Likewise.
6606 (getgroups): Likewise.
6607
48eb7a94
JM
6608 [BZ #14138]
6609 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6610 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6611 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6613 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6614 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6615 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6616 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6617 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6620 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6621 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6622 __chown.
6623 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6624 (lchown): Likewise.
6625 (fchown): Likewise.
6626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6627 Likewise.
6628 (lchown): Likewise.
6629 (fchown): Likewise.
6630 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6631 (lchown): Likewise.
6632 (fchown): Likewise.
6633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6634 Likewise.
6635 (lchown): Likewise.
6636 (fchown): Likewise.
6637
ea9a7c8b
WD
66382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6639
6640 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6641 Simplify logic.
6642
e226de33
WD
66432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6644
6645 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6646 Cleanup logic.
6647
6e3d8ed3
WD
66482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6649
6650 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6651 Remove unused include.
6652
eb04247d
WD
66532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6654
6655 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6656 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6657 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6658 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6659
13d84554
CD
66602014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6661 Helge Deller <deller@gmx.de>
6662
6663 [BZ #17508]
6664 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6665 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6666 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6667
15f9c5df
JM
66682014-10-23 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #14132]
6671 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6672 Remove macro definition.
6673 (__ashrdi3_v_glibc20): Likewise.
6674 (__lshrdi3_v_glibc20): Likewise.
6675 (__cmpdi2_v_glibc20): Likewise.
6676 (__ucmpdi2_v_glibc20): Likewise.
6677 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6678 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6679 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6680 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6681 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6682 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6683
c6dfed24
RM
66842014-10-22 Roland McGrath <roland@hack.frob.com>
6685
6686 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6687 old GNU extension [0] syntax.
6688 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6689 alloca rather than an array member with variable length.
6690 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6691 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6692 (parse_opt): ... here. Likewise use alloca there.
6693 Validate the -i argument before checking for rootness.
6694 (send_shutdown): New function, broken out of ...
6695 (parse_opt): ... here.
6696
8c2b1ed8
RM
66972014-10-22 Roland McGrath <roland@hack.frob.com>
6698
6699 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6700 macro to get at the _rt_local_ro field.
6701 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6702 ([PIC] case) or _dl_hwcap ([!PIC] case).
6703 * sysdeps/arm/setjmp.S: Likewise.
6704
6705 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6706 * sysdeps/arm/configure.ac: New check to define it.
6707 * sysdeps/arm/configure: Regenerated.
6708 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6709 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6710 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6711 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6712 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6713 Use move/movt pair instead of a load.
6714 (LDST_GLOBAL): Macro removed.
6715 (LDR_GLOBAL): New macro replaces it.
6716 (LDR_HIDDEN): New macro.
6717 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6718 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6719
6720 * setjmp/tst-setjmp-static.c: New file.
6721 * setjmp/Makefile (tests): Add it.
6722 (tests-static): New variable.
6723
b5af9297
MR
67242014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6725
6726 [BZ #17485]
6727 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6728
a13d0d74
JM
67292014-10-21 Joseph Myers <joseph@codesourcery.com>
6730
6731 [BZ #14132]
6732 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6733
f05e73f6
RM
67342014-10-21 Roland McGrath <roland@hack.frob.com>
6735
6736 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6737
6ab1d1ea
RM
67382014-10-20 Roland McGrath <roland@hack.frob.com>
6739
6740 * io/fts.c (dirent_not_directory): New function.
6741 (fts_build): Call it.
6742
ab49e763
RM
67432014-10-20 Roland McGrath <roland@hack.frob.com>
6744
e436eb79
RM
6745 * nptl/version.c (__nptl_main): Use normal __write rather than
6746 INTERNAL_SYSCALL.
6747 (banner): Update copyright years.
6748
6af246cf
RM
6749 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6750 gettimeofday.
6751 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6752 * nptl/pthread_cond_timedwait.c: Likewise.
6753 * nptl/pthread_mutex_timedlock.c: Likewise.
6754 * nptl/sem_timedwait.c: Likewise.
6755
ab49e763
RM
6756 * sysdeps/nptl/bits/libc-lock.h
6757 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6758 (__libc_lock_init_recursive): Return void, not 0.
6759 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6760 (__libc_rwlock_init): Likewise.
6761 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6762
f50277c1
TR
67632014-10-20 Torvald Riegel <triegel@redhat.com>
6764
6765 [BZ #15215]
6766 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6767 (__pthread_once_slow): ... here.
6768 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6769 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6770
63668b70
TR
67712014-10-20 Torvald Riegel <triegel@redhat.com>
6772
6773 [BZ #15215]
6774 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6775 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6776 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6777 * nptl/pthread_once.c (__pthread_once): Likewise.
6778 Update comments.
6779
42b7f5d4
JM
67802014-10-20 Joseph Myers <joseph@codesourcery.com>
6781
6782 [BZ #14138]
6783 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6784 name.
6785 (writev): Use __libc_writev as strong name.
6786 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6787 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6788
b0643088
RM
67892014-10-17 Roland McGrath <roland@hack.frob.com>
6790
114c4e09
RM
6791 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6792
674b8978
RM
6793 * sysdeps/i386/nptl/tls.h
6794 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6795 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6796 New macros.
6797 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6798 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6799 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6800 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6801 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6802 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6803
184ee940
RM
6804 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6805 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6806 on [__NR_futex].
6807 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6808 broken out of ...
6809 (__pthread_mutex_init): ... here. Call it.
6810 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6811 Conditionalize PI cases on [__NR_futex].
6812 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6813 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6814 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6815
327ae257
RM
6816 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6817 conditional on [SIGSETXID].
6818 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6819 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6820 is defined. Likewise for SIGSETXID.
6821 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6822 Conditionalize definitions on [SIGSETXID].
6823 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6824 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6825 unblocking on [SIGCANCEL].
6826
b0643088
RM
6827 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6828 [__NR_set_robust_list].
6829
33cc770b
SP
68302014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6833 (do_compare): Likewise.
6834
0742aef6
LH
68352014-10-17 Leonhard Holz <leonhard.holz@web.de>
6836
6837 [BZ #15884]
6838 * string/strcoll_l.c: Don't include stdio.h.
6839 (coll_seq): Remove members idxarr and rulearr.
6840 (get_next_seq_cached): Remove function.
6841 (get_next_seq): Likewise.
6842 (get_next_seq_nocache): Rename to get_next_seq.
6843 (do_compare): Remove function.
6844 (do_compare_nocache): Rename to do_compare.
6845 (STRCOLL): Remove weight and rules cache.
6846
ee54ce44
RM
68472014-10-16 Roland McGrath <roland@hack.frob.com>
6848
6849 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6850 * sysdeps/arm/sfp-machine.h: ... to here.
6851 * sysdeps/arm/Implies: Remove arm/soft-fp.
6852
a75d3b02
JM
68532014-10-14 Joseph Myers <joseph@codesourcery.com>
6854
6855 * conform/data/sys/utsname.h-data (*_t): Allow.
6856 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6857 [POSIX] (WEXITED): Do not expect constant.
6858 [POSIX] (WSTOPPED): Likewise.
6859 [POSIX] (WNOHANG): Likewise.
6860 [POSIX] (WNOWAIT): Likewise.
6861 [POSIX] (siginfo_t): Do not expect type or elements.
6862 [POSIX] (pid_t): Do not expect type.
6863 [POSIX] (signal.h): Do not allow header.
6864 [POSIX] (sys/resource.h): Likewise.
6865 [POSIX] (si_*): Do not allow pattern.
6866 [POSIX] (W*): Likewise.
6867 [POSIX] (P_*): Likewise.
6868 [POSIX] (BUS_*): Likewise.
6869 [POSIX] (CLD_*): Likewise.
6870 [POSIX] (FPE_*): Likewise.
6871 [POSIX] (ILL_*): Likewise.
6872 [POSIX] (POLL_*): Likewise.
6873 [POSIX] (SEGV_*): Likewise.
6874 [POSIX] (SI_*): Likewise.
6875 [POSIX] (TRAP_*): Likewise.
6876 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6877 variable.
6878
fda389c8
SP
68792014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6880
6881 [BZ #12926]
6882 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6883 infinite loop when __recvmsg returns 0.
6884
6bc6bd3b
JM
68852014-10-10 Joseph Myers <joseph@codesourcery.com>
6886
fcb32af1
JM
6887 * CANCEL-FCT-WAIVE: Remove file.
6888 * CANCEL-FILE-WAIVE: Likewise.
6889
6bc6bd3b
JM
6890 [BZ #14132]
6891 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6892 instead of INTVARDEF.
6893 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6894 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6895 rtld_hidden_data_def instead of INTVARDEF.
6896 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6897 * elf/dl-deps.c (expand_dst): Likewise.
6898 * elf/dl-load.c (_dl_dst_count): Likewise.
6899 (_dl_dst_substitute): Likewise.
6900 (decompose_rpath): Likewise.
6901 (_dl_init_paths): Likewise.
6902 (open_path): Likewise.
6903 (_dl_map_object): Likewise.
6904 * elf/rtld.c (dl_main): Likewise.
6905 (process_dl_audit): Likewise.
6906 (process_envvars): Likewise.
6907 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6908 Remove declaration.
6909 (__libc_enable_secure): Use rtld_hidden_proto.
6910
b8c80a7e
KS
69112014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6912
6913 * elf/dl-load.c
6914 (add_path): New function broken out of _dl_rtld_di_serinfo.
6915 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6916
ff12c11f
JM
69172014-10-09 Joseph Myers <joseph@codesourcery.com>
6918
5c0508a3
JM
6919 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6920 parentheses around macro arguments.
6921 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6922 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6923 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6924 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6925 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6926 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6927 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6928 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6931 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6932 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6933 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6934 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6935 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6936 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6937 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6938 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6940 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6941 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6944 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6950 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6951 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6952 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6953 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6954 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6955 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6956 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6957 Likewise.
6958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6959 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6960 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6961 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6963 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6964 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6965 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6966 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6967 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6968 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6969 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6970 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6971 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6972 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6973 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6974 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6975 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6976 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6977 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6978 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6979 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6980 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6981 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6982 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6983 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6984 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6985 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6986 (_FP_FRAC_SRS_1): Likewise.
6987 (_FP_FRAC_CLZ_1): Likewise.
6988 (_FP_MUL_MEAT_1_imm): Likewise.
6989 (_FP_MUL_MEAT_1_wide): Likewise.
6990 (_FP_MUL_MEAT_1_hard): Likewise.
6991 (_FP_SQRT_MEAT_1): Likewise.
6992 (_FP_FRAC_ASSEMBLE_1): Likewise.
6993 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6994 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6995 (__FP_CLZ_2): Likewise.
6996 (_FP_MUL_MEAT_2_wide): Likewise.
6997 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6998 (_FP_MUL_MEAT_2_gmp): Likewise.
6999 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7000 (_FP_SQRT_MEAT_2): Likewise.
7001 (_FP_FRAC_ASSEMBLE_2): Likewise.
7002 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7003 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7004 (_FP_FRAC_CLZ_4): Likewise.
7005 (_FP_MUL_MEAT_4_wide): Likewise.
7006 (_FP_MUL_MEAT_4_gmp): Likewise.
7007 (_FP_SQRT_MEAT_4): Likewise.
7008 (_FP_FRAC_ASSEMBLE_4): Likewise.
7009 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7010 * soft-fp/op-common.h (_FP_CMP): Likewise.
7011 (_FP_CMP_EQ): Likewise.
7012 (_FP_CMP_UNORD): Likewise.
7013 (_FP_TO_INT): Likewise.
7014 (_FP_FROM_INT): Likewise.
7015 [!__FP_CLZ] (__FP_CLZ): Likewise.
7016 (_FP_DIV_HELP_imm): Likewise.
7017 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7018 Likewise.
7019 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7020 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7021 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7022 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7023 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7024 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7025 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7028 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7029 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7030 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7031 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7032 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7033 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7034 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7035 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7036 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7037 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7038 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7039 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7046 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7047 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7048 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7049 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7050 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7051 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7052 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7053 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7054 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7055 (FP_UNPACK_RAW_SP): Likewise.
7056 (FP_PACK_RAW_S): Likewise.
7057 (FP_PACK_RAW_SP): Likewise.
7058 (FP_UNPACK_S): Likewise.
7059 (FP_UNPACK_SP): Likewise.
7060 (FP_UNPACK_SEMIRAW_S): Likewise.
7061 (FP_UNPACK_SEMIRAW_SP): Likewise.
7062 (FP_PACK_S): Likewise.
7063 (FP_PACK_SP): Likewise.
7064 (FP_PACK_SEMIRAW_S): Likewise.
7065 (FP_PACK_SEMIRAW_SP): Likewise.
7066 (_FP_SQRT_MEAT_S): Likewise.
7067 (FP_CMP_S): Likewise.
7068 (FP_CMP_EQ_S): Likewise.
7069 (FP_CMP_UNORD_S): Likewise.
7070 (FP_TO_INT_S): Likewise.
7071 (FP_FROM_INT_S): Likewise.
7072
a736ec37
JM
7073 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7074
ff12c11f
JM
7075 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7076 (FP_EX_INVALID_IMZ): Likewise.
7077 (FP_EX_INVALID_IMZ_FMA): Likewise.
7078 (FP_EX_INVALID_ISI): Likewise.
7079 (FP_EX_INVALID_ZDZ): Likewise.
7080 (FP_EX_INVALID_IDI): Likewise.
7081 (FP_EX_INVALID_SQRT): Likewise.
7082 (FP_EX_INVALID_CVI): Likewise.
7083 (FP_EX_INVALID_VC): Likewise.
7084 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7085 "invalid" exceptions.
7086 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7087 (_FP_ADD_INTERNAL): Likewise.
7088 (_FP_MUL): Likewise.
7089 (_FP_FMA): Likewise.
7090 (_FP_DIV): Likewise.
7091 (_FP_CMP_CHECK_NAN): Likewise.
7092 (_FP_SQRT): Likewise.
7093 (_FP_TO_INT): Likewise.
7094 (FP_EXTEND): Likewise.
7095
b6dcfe8c
AM
70962014-10-09 Allan McRae <allan@archlinux.org>
7097
7098 * po/fr.po: Update French translation from translation project.
7099
2d6a47ba
JM
71002014-10-09 Joseph Myers <joseph@codesourcery.com>
7101
cb831245
JM
7102 [BZ #14132]
7103 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7104 of INTDEF.
7105 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7106 (__cxa_atexit): Use libc_hidden_proto.
7107 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7108
5deeb190
JM
7109 [BZ #14132]
7110 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7111 declaration.
7112 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7113 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7114 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7115 [!_ISOMAC] (__iswctype_internal): Likewise.
7116 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7117 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7118 alias.
7119 (fcntl): Remove __fcntl_internal alias.
7120 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7121 __connect_internal alias.
7122 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7123 Likewise.
7124
454ac701
JM
7125 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7126 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7127 FP_DENORM_ZERO.
7128 (_FP_CHECK_FLUSH_ZERO): New macro.
7129 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7130 (_FP_CMP): Likewise.
7131 (_FP_CMP_EQ): Likewise.
7132 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7133 FP_DENORM_ZERO.
7134 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7135 (FP_TRUNC): Likewise.
7136
0022e688
JM
7137 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7138 treated as invalid conversion, not as normal exponent.
7139
73e28d9c
JM
7140 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7141 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7142 (_FP_CMP_EQ): Likewise.
7143 (_FP_CMP_UNORD): Likewise.
7144 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7145 (FP_CMP_EQ_D): Likewise.
7146 (FP_CMP_UNORD_D): Likewise.
7147 * soft-fp/extended.h (FP_CMP_E): Likewise.
7148 (FP_CMP_EQ_E): Likewise.
7149 (FP_CMP_UNORD_E): Likewise.
7150 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7151 (FP_CMP_EQ_Q): Likewise.
7152 (FP_CMP_UNORD_Q): Likewise.
7153 * soft-fp/single.h (FP_CMP_S): Likewise.
7154 (FP_CMP_EQ_S): Likewise.
7155 (FP_CMP_UNORD_S): Likewise.
7156 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7157 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7158 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7159 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7160 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7161 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7162 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7163 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7164 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7165 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7166 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7167 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7168 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7169 to FP_CMP_Q.
7170 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7171 FP_CMP_Q.
7172 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7173 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7174 FP_CMP_EQ_Q.
7175 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7176 FP_CMP_Q.
7177 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7178 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7179 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7180 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7181 FP_CMP_EQ_Q.
7182 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7183 FP_CMP_Q.
7184 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7185 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7186 FP_CMP_EQ_Q.
7187 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7188 FP_CMP_Q.
7189 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7190 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7191 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7192 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7193 FP_CMP_EQ_Q.
7194
43059f42
JM
7195 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7196 a subnormal result, set the underflow exception if trapping on
7197 underflow is enabled.
7198 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7199 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7200 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7201 redefine to 0.
7202 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7203 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7204 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7205 * soft-fp/extendxftf2.c (__extendxftf2): Use
7206 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7207
2d6a47ba
JM
7208 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7209 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7210 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7211 FP_HANDLE_EXCEPTIONS.
7212 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7213 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7214 FP_HANDLE_EXCEPTIONS.
7215 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7216 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7217 FP_HANDLE_EXCEPTIONS.
7218 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7219 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7220 FP_HANDLE_EXCEPTIONS.
7221
620f462e
JM
72222014-10-08 Joseph Myers <joseph@codesourcery.com>
7223
7224 [BZ #14132]
7225 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7226 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7227 use INTUSE.
7228 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7229 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7230 Remove alias.
7231 (__adjtimex): Define using libc_hidden_ver.
7232 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7233 Remove declaration.
7234 (ntp_gettime): Call __adjtimex directly.
7235 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7236 Remove declaration.
7237 (ntp_gettimex): Call __adjtimex directly.
7238 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7239 __adjtimex_internal alias.
7240
c763c5d2
RM
72412014-10-08 Roland McGrath <roland@hack.frob.com>
7242
7243 [BZ #17460]
7244 * nscd/nscd.c (more_help): Rewrite list of tables collection
7245 using xstrdup and asprintf.
7246
7247 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7248
7b8fb2b8
RM
72492014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7250 Roland McGrath <roland@hack.frob.com>
7251
7252 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7253 (do_lookup_unique): ... local function 'enter' here; update callers.
7254
abb280f7
JM
72552014-10-06 Joseph Myers <joseph@codesourcery.com>
7256
f7b42517
JM
7257 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7258 compat_symbol calls on [SHARED].
7259 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7260 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7261 Remove.
7262 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7263 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7264 (oldsetrlimit): Remove.
7265 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7267 (lchown): New syscall entry.
7268 (oldsetrlimit): Remove.
7269 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7270 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7271 (oldsetrlimit): Remove.
7272 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7273
abb280f7
JM
7274 [BZ #14138]
7275 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7276 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7277 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7278 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7280 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7281 (fchown): Likewise.
7282 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7283 (fchown): Likewise.
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7285 Likewise.
7286
47d46237
AZ
72872014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7288
7289 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7290 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7291 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7292 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7293 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7294 Likewise.
7295 (__old_sem_post): Likewise.
7296
72972014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7298
845a7343
CM
7299 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7300 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7301 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7302 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7303 Use INLINE_VSYSCALL macro.
7304 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7305 __vdso_clock_gettime.
7306 * sysdeps/unix/sysv/linux/tile/init-first.c
7307 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7308 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7309 __vdso_clock_gettime.
7310
83d641ef
CM
7311 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7312 to set up frame more cleanly.
7313
d9cd52e6
CM
7314 * sysdeps/tile/memcmp.c: New file.
7315
4b68ea11
CM
7316 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7317
c86f7b80
CM
7318 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7319 * sysdeps/tile/tilegx/strcasestr.c: New file.
7320 * sysdeps/tile/tilegx/strnlen.c: New file.
7321 * sysdeps/tile/tilegx/strstr.c: New file.
7322
1c4c1a6f
CM
7323 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7324
99d86ea3
AS
73252014-10-06 Arjun Shankar <arjun.is@lostca.se>
7326
7327 * nptl/tst-setuid3.c: Write errors to stdout.
7328
06210a44
KS
73292014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7330
7331 * elf/dl-deps.c
7332 (preload): New functions broken out of _dl_map_object_deps.
7333 (_dl_map_object_deps): Remove a nested function. Update call sites.
7334
6268f532
JM
73352014-10-01 Joseph Myers <joseph@codesourcery.com>
7336
7337 [BZ #14138]
7338 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7339 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7340
b925285f
SE
73412014-10-01 Steve Ellcey <sellcey@mips.com>
7342
7343 * sysdeps/mips/strcmp.S: New.
7344
754a15c6
JM
73452014-09-30 Joseph Myers <joseph@codesourcery.com>
7346
7347 [BZ #14138]
7348 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7349 (linkat): Likewise.
7350 (mkdirat): Likewise.
7351 (readlinkat): Likewise.
7352 (renameat): Likewise.
7353 (symlinkat): Likewise.
7354 (unlinkat): Likewise.
7355 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7356 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7357 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7358 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7359 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7360 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7361 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7362
85bb81c9
WN
73632014-09-30 Will Newton <will.newton@linaro.org>
7364
dc6fe23b
WN
7365 * math/math.h: Define long double math functions if
7366 _LIBC_TEST is defined.
7367 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7368
85bb81c9
WN
7369 * localedata/Makefile: Move assignment to tests-special
7370 into an ifdef testing run-built-tests.
7371 * timezone/Makefile: Likewise.
7372
b7e02da4
JM
73732014-09-29 Joseph Myers <joseph@codesourcery.com>
7374
7375 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7376 with $(BASH) not $(SHELL).
7377
62058ce6
CD
73782014-09-29 Carlos O'Donell <carlos@redhat.com>
7379 Matthew LeGendre <legendre1@llnl.gov>
7380
7381 [BZ #17411]
7382 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7383 l_reloc_result.
7384
8e257a29
KS
73852014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7386
7387 * stdio-common/printf_fp.c
7388 (hack_digit): New function, broken out of ...
7389 (__printf_fp): ... local function here. Update call sites.
7390 hack_digit now takes an additional parameter that is a pointer
7391 to a struct of the referenced locals. Those locals moved inside
7392 the struct and references updated.
7393
f4a58f0d
L
73942014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7395
7396 * aclocal.m4: Require autoconf 2.69.
7397 * configure: Regenerated.
7398 * sysdeps/aarch64/configure: Likewise.
7399 * sysdeps/alpha/configure: Likewise.
7400 * sysdeps/arm/armv7/configure: Likewise.
7401 * sysdeps/arm/configure: Likewise.
7402 * sysdeps/ia64/configure: Likewise.
7403 * sysdeps/mach/configure: Likewise.
7404 * sysdeps/mips/configure: Likewise.
7405 * sysdeps/s390/configure: Likewise.
7406 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7408
7409 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7410 file.
7411 * sysdeps/ia64/configure.ac: Likewise.
7412
93ae1eba
JM
74132014-09-26 Joseph Myers <joseph@codesourcery.com>
7414
1810d3ab
JM
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7416 specify symbol version for ld.so. Do not include entry for
7417 libpthread.
7418 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7419 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7420 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7421
93ae1eba
JM
7422 [BZ #14171]
7423 * Makeconfig [$(build-shared) = yes]
7424 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7425 makefiles.
7426 [$(build-shared) = yes && $(soversions.mk-done) = t]
7427 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7428 [$(build-shared) = yes && $(soversions.mk-done) = t]
7429 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7430 to Makerules.
7431 [$(build-shared) = yes && $(soversions.mk-done) = t]
7432 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7433 here.
7434 [$(build-shared) = yes && $(soversions.mk-done) = t]
7435 (common-generated): Don't append gnu/lib-names.h and
7436 gnu/lib-names.stmp here.
7437 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7438 (lib-names-h-abi): New variable.
7439 [$(build-shared) = yes && $(soversions.mk-done) = t]
7440 (lib-names-stmp-abi): Likewise.
7441 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7442 abi-variants] (before-compile): Append
7443 $(common-objpfx)$(lib-names-h-abi).
7444 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7445 abi-variants] (common-generated): Append gnu/lib-names.h.
7446 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7447 abi-variants] (install-others-nosubdir): Depend on
7448 $(inst_includedir)/$(lib-names-h-abi).
7449 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7450 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7451 [$(build-shared) = yes && $(soversions.mk-done) = t]
7452 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7453 [$(build-shared) = yes && $(soversions.mk-done) = t]
7454 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7455 [$(build-shared) = yes && $(soversions.mk-done) = t]
7456 (common-generated): Append $(lib-names-h-abi) and
7457 $(lib-names-stmp-abi).
7458 * scripts/lib-names.awk: Do not handle multi being set.
7459 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7460 Remove variable.
7461 (abi-lp64_be-ld-soname): Likewise.
7462 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7463 Likewise.
7464 (abi-hard-ld-soname): Likewise.
7465 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7466 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7467 Remove variable.
7468 (abi-o32_hard-ld-soname): Likewise.
7469 (abi-o32_soft_2008-ld-soname): Likewise.
7470 (abi-o32_hard_2008-ld-soname): Likewise.
7471 (abi-n32_soft-ld-soname): Likewise.
7472 (abi-n32_hard-ld-soname): Likewise.
7473 (abi-n32_soft_2008-ld-soname): Likewise.
7474 (abi-n32_hard_2008-ld-soname): Likewise.
7475 (abi-n64_soft-ld-soname): Likewise.
7476 (abi-n64_hard-ld-soname): Likewise.
7477 (abi-n64_soft_2008-ld-soname): Likewise.
7478 (abi-n64_hard_2008-ld-soname): Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7480 Likewise.
7481 (abi-64-v2-ld-soname): Likewise.
7482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7483 ld.so entries.
7484 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7485 variable.
7486 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7487 entry.
7488 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7489 variable.
7490 (abi-64-ld-soname): Likewise.
7491 (abi-x32-ld-soname): Likewise.
7492 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7493 entry.
7494 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7495
68870f12
JM
74962014-09-23 Joseph Myers <joseph@codesourcery.com>
7497
7498 [BZ #14138]
7499 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7500 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7501 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7502 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7503 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7504 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7505 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7506 syscall entry for GLIBC_2.2 symbol version.
7507 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7508 Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7510 (setrlimit): Likewise.
7511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7512 Likewise.
7513
ea58f202
WN
75142014-09-23 Will Newton <will.newton@linaro.org>
7515
7516 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7517 _LINUX_ARM_SYSDEP_H include guard too.
7518 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7519 define.
7520
69eb9a18
RV
75212014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7522
7523 * sysdeps/unix/sysv/linux/eventfd.c:
7524 Make first argument unsigned.
7525 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7526 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7527
20e5a5f7
OB
75282014-09-20 Ondřej Bílka <neleai@seznam.cz>
7529
7530 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7531 * socket/sys/socket.h: Likewise
7532 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7533
d3c827e7
AK
75342014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7535
7536 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7537
fe1cc35a
AS
75382014-09-17 Arjun Shankar <arjun.is@lostca.se>
7539
7540 * time/tst-ftime.c: New test.
7541 * time/Makefile (tests): Add tst-ftime.
7542
4e8afe69
JM
75432014-09-17 Joseph Myers <joseph@codesourcery.com>
7544
c4fe3ea7
JM
7545 * soft-fp/extended.h: Fix comment formatting.
7546 * soft-fp/op-1.h: Likewise.
7547 * soft-fp/op-2.h: Likewise.
7548 * soft-fp/op-4.h: Likewise.
7549 * soft-fp/op-8.h: Likewise.
7550 * soft-fp/op-common.h: Likewise.
7551 * soft-fp/soft-fp.h: Likewise.
7552
4e8afe69
JM
7553 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7554
af296fcd
JM
75552014-09-16 Joseph Myers <joseph@codesourcery.com>
7556
7557 [BZ #6652]
7558 * Makeconfig (soversions-default-setname): Remove variable.
7559 ($(common-objpfx)soversions.i): Don't pass default_setname to
7560 soversions.awk.
7561 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7562 oldest_abi to abi-versions.awk.
7563 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7564 * config.make.in (oldest-abi): Remove variable.
7565 * configure.ac (--enable-oldest-abi): Remove configure option.
7566 * configure: Regenerated.
7567 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7568 text.
7569 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7570 * scripts/soversions.awk: Do not handle default_setname variable.
7571 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7572 variable.
7573 * sysdeps/mach/hurd/configure: Regenerated.
7574 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7575 variable.
7576 * sysdeps/unix/sysv/linux/configure: Regenerated.
7577
545583d6
SP
75782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7579
d330b980
SP
7580 * elf/Makefile (CFLAGS-interp.c): Remove.
7581 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7582 path string.
7583 * elf/interp.c: Include generated runtime-linker.h
7584
02657da2
SP
7585 * Makerules (lib%.so): Don't include $(+interp) in
7586 prerequisites.
7587 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7588 * dlfcn/eval.c: Remove file.
7589
653b1080
SP
7590 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7591 macros.
7592
602f80ec
SP
7593 [BZ #17266]
7594 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7595 4.2 and newer.
7596
545583d6
SP
7597 [BZ #17370]
7598 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7599
884ddc50
SP
76002014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7601 Jakub Jelinek <jakub@redhat.com>
7602
7603 [BZ #17266]
7604 * libio/stdio.h: Check definition of __fortify_function
7605 instead of __extern_always_inline to include bits/stdio2.h.
7606 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7607 check if __extern_always_inline is defined.
7608 [__USE_MISC || __USE_XOPEN]: Likewise.
7609 [__USE_ISOC99] Likewise.
7610 * misc/sys/cdefs.h (__fortify_function): Define only if
7611 __extern_always_inline is defined.
7612 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7613 __extern_always_inline and __extern_inline only for g++-4.3
7614 and newer or a compatible gcc.
7615
a7b87268
AS
76162014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7617
7618 [BZ #17371]
7619 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7620 last change to handle zero prefix length.
7621
3f41521d
SP
76222014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7623
61fe374a
SP
7624 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7625 _SC_REGEX_VERSION.
7626
3f41521d
SP
7627 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7628 _POSIX_RAW_SOCKETS.
7629
d8f879ee
AM
76302014-09-13 Allan McRae <allan@archlinux.org>
7631
7632 * po/ru.po: Update Russian translation from translation project.
7633
c079afb7
RM
76342014-09-12 Roland McGrath <roland@hack.frob.com>
7635
a62b3c15
RM
7636 * locale/programs/locale.c (show_locale_vars): Inline local function
7637 into its sole call site. Clean up some style nits.
7638 (print_item): New function, broken out of ...
7639 (show_info): ... local function here. Clean up style nits.
7640
d7e49b19
RM
7641 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7642 out of ...
7643 (set_class_defaults): ... local function set_default here.
7644 Define set_default as a macro locally to pass constant parameters.
7645 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7646 rather than a shared local.
7647
c079afb7
RM
7648 * stdlib/rpmatch.c (try): New function, broken out of ...
7649 (rpmatch): ... local function here. Also, prototypify definition.
7650
0bd72468
JM
76512014-09-12 Joseph Myers <joseph@codesourcery.com>
7652
ba90e050
JM
7653 * scripts/soversions.awk: Do not handle configuration names.
7654 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7655 vendor and os variables to soversions.awk.
7656 * configure.ac: Do not modify gnu-* host_os.
7657 * configure: Regenerated
7658 * shlib-versions: Remove first column with configuration names.
7659 * nptl/shlib-versions: Likewise.
7660 * nptl_db/shlib-versions: Likewise.
7661 * sysdeps/hppa/shlib-versions: Likewise.
7662 * sysdeps/m68k/shlib-versions: Likewise.
7663 * sysdeps/mach/hurd/shlib-versions: Likewise.
7664 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7665 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7666 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7667 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7668 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7669 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7670 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7671 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7673 Likewise.
7674 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7675 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7676 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7678 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7679 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7680 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7681 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7682
73a39112
JM
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7684 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7686 Regenerated.
7687 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7689 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7690
c729e7c1
JM
7691 * shlib-versions: Remove OS-specific entries. Moved to files in
7692 sysdeps.
7693 * sysdeps/mach/hurd/shlib-versions: New file.
7694 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7695
dc932a24
JM
7696 * nptl/shlib-versions: Remove architecture-specific entries.
7697 Moved to files in sysdeps.
7698 * shlib-versions: Likewise.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7700 file.
7701 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7702 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7705
0bd72468
JM
7706 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7707 (UDP_NO_CHECK6_RX): Likewise.
7708
920238e0
SP
77092014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7710
7711 * sysdeps/posix/sysconf.c (__sysconf): Spell
7712 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7713
ba7b4d29
FW
77142014-08-12 Florian Weimer <fweimer@redhat.com>
7715
7716 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7717 loading.
7718 * iconv/Versions (__gconv_transliterate): Export for use from
7719 gconv modules.
7720 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7721 (struct __gconv_trans_data, __gconv_trans_fct,
7722 __gconv_trans_context_fct, __gconv_trans_query_fct,
7723 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7724 definitions.
7725 (struct __gconv_step_data): Remove __trans member.
7726 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7727 longer hidden. Remove unused trans_data argument.
7728 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7729 (__gconv_translit_find): Remove declaration.
7730 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7731 prototype.
7732 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7733 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7734 trans_data argument. Add hidden definition.
7735 (__gconv_translit_find): Remove.
7736 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7737 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7738 * iconv/skeleton.c: Remove transliteration initialization.
7739 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7740 __gconv_step_data initialization.
7741 * libio/iofwide.c (__libio_translit_): Remove.
7742 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7743 * wcsmbs/btowc.c (__btowc): Likewise.
7744 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7745 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7746 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7747 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7748 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7749 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7750 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7751 * wcsmbs/wctob.c (wctob): Likewise.
7752
5379aebd
SP
77532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7754
7755 [BZ #16194]
7756 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7757 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7758 register usage.
7759 * sysdeps/x86/Makefile: Adjust.
7760
8c0ab919
RM
77612014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7762 Roland McGrath <roland@hack.frob.com>
7763
7764 * locale/weight.h: Add include guard.
7765 (findidx): Make static rather than auto; take new parameters
7766 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7767 * locale/weightwc.h: Likewise.
7768 * posix/fnmatch_loop.c
7769 (FCT): Change type of EXTRA from int32_t to wint_t.
7770 Don't include either header inside the function.
7771 Call FINDIDX rather than findidx, and pass new arguments.
7772 #undef FINDIDX at the end of the file.
7773 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7774 FINDIDX before including fnmatch_loop.c for the non-wide version.
7775 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7776 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7777 for the wide version.
7778 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7779 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7780 Pass new arguments to findidx.
7781 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7782 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7783 Don't #include it inside the function. Pass new arguments to findidx.
7784 * posix/regex_internal.h
7785 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7786 (re_string_elem_size_at): Don't #include it inside the function.
7787 Pass new arguments to findidx.
7788 * string/strcoll_l.c: #include WEIGHT_H at top level.
7789 (get_next_seq): Don't #include it inside the function.
7790 Pass new arguments to findidx.
7791 (get_next_seq_nocache): Likewise.
7792 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7793 (STRXFRM): Don't #include it inside the function.
7794 Pass new arguments to findidx.
7795
52ffbdf2
FW
77962014-09-11 Florian Weimer <fweimer@redhat.com>
7797
7798 [BZ #17344]
7799 * malloc/malloc.c (unlink): Turn asserts into a call to
7800 malloc_printerr.
7801
984c0ea9
TL
78022014-09-11 Tim Lammens <tim.lammens@gmail.com>
7803
7804 [BZ #17370]
7805 * libio/wfileops (do_ftell_wide): Free OUT.
7806
3daee107
CM
78072014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7808
7809 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7810
58b930ae
SP
78112014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7812
7813 [BZ #17363]
7814 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7815 group if the current group is empty.
7816
3b473fec
AZ
78172014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7818
71ae8647
AZ
7819 * benchtests/bench-memset.c (test_main): Add more test from size
7820 from 32 to 512 bytes.
7821 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7822 Add POWER8 memset object.
7823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7824 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7825 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7826 implementation.
7827 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7828 Likewise.
7829 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7830 multiarch POWER8 memset optimization.
7831 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7832 POWER8 memset optimization.
7833
3b473fec
AZ
7834 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7835 Remove bzero multiarch objects.
7836 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7837 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7838 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7839 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7840 Remove define.
7841 [__bzero]: Redefine to specific name.
7842 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7843 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7844 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7845 define.
7846 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7847 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7848
e6fb9587
FW
78492014-09-10 Florian Weimer <fweimer@redhat.com>
7850
7851 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7852 warnings into errors.
7853
7854 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7855 __cxa_thread_atexit_impl prototype.
7856
9d3a350b
SE
78572014-09-09 Steve Ellcey <sellcey@mips.com>
7858
7859 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7860 Fix capitalization of error message.
7861
0febba23
SE
78622014-09-09 Steve Ellcey <sellcey@mips.com>
7863
7864 * sysdeps/mips/preconfigure: Modify ABI tests.
7865
645a0e9c
CD
78662014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7867
7868 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7869
d83f0734
CD
78702014-09-07 Roland McGrath <roland@hack.frob.com>
7871 Carlos O'Donell <carlos@systemhalted.org>
7872
7873 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7874 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7875 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7876 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7877 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7878 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7879 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7880 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7881 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7882 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7883 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7884 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7885 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7886 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7887 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7888 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7889 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7890 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7892 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7893 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7894 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7895 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7896 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7897 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7898 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7899 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7900 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7901 Deconditionalize the code that was previously under [RESET_PID].
7902 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7903 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7904 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7905 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7906 include sysdep.h.
7907
21c83793
AM
79082014-09-08 Allan McRae <allan@archlinux.org>
7909
7910 * version.h (RELEASE): Set to "development".
7911 (VERSION): Set to "2.20.90"
7912
1cd9b65c
AM
79132014-09-07 Allan McRae <allan@archlinux.org
7914
b8079dd0
AM
7915 * version.h (RELEASE): Set to "stable".
7916 (VERSION): Set to "2.20"
7917 * include/features.h (__GLIBC_MINOR__): Set to 20.
7918
c46303ef
AM
7919 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7920 Liebler.
7921
1cd9b65c
AM
7922 * po/ko.po: Update Korean translation from translation project.
7923
8622092d
CM
79242014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7925
7926 [BZ #17354]
7927 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7928 macro for handling signed relocations.
7929
41488498
FW
79302014-09-03 Florian Weimer <fweimer@redhat.com>
7931
7932 [BZ #17325]
7933 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7934 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7935 assert.
7936 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7937 * iconvdata/ibm935.c (BODY): Likewise.
7938 * iconvdata/ibm937.c (BODY): Likewise.
7939 * iconvdata/ibm939.c (BODY): Likewise.
7940 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7941 assert.
7942 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7943 script.
7944 * iconvdata/run-iconv-test.sh: New test loop for checking for
7945 decoder crashers.
7946
a78b712d
KR
79472014-09-02 Khem Raj <raj.khem@gmail.com>
7948
7949 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7950 libm_hidden_ver.
7951
cb08abc6
AM
79522014-09-01 Allan McRae <allan@archlinux.org>
7953
2c31e102
AM
7954 * po/eo.po: Update Esperanto translation from translation project.
7955
cb08abc6
AM
7956 * po/ca.po: Update Catalan translation from translation project.
7957
17a62de1
ST
79582014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7959
7960 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7961 __proc_dostop call.
7962
9570bc53
MW
79632014-08-27 Mark Wielaard <mjw@redhat.com>
7964
7965 [BZ #17319]
7966 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7967 to call set_thread_area instead of hand written asm.
7968 (__NR_set_thread_area): Removed define.
7969 (TLS_FLAG_WRITABLE): Likewise.
7970 (__ASSUME_SET_THREAD_AREA): Remove check.
7971 (TLS_EBX_ARG): Remove define.
7972 (TLS_LOAD_EBX): Likewise.
7973
b0f955c9
ST
79742014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7975
7976 Simplify atomicity of socket creation in bind.
7977
7978 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7979 looking up the name after linking the file.
7980
529bf515
AM
79812014-08-27 Allan McRae <allan@archlinux.org>
7982
7983 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7984
a1a6a401
FW
79852014-08-26 Florian Weimer <fweimer@redhat.com>
7986
7987 [BZ #17187]
7988 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7989 trans_compare, open_translit, __gconv_translit_find):
7990 Remove module loading code.
7991
686ab290
AM
79922014-08-26 Allan McRae <allan@archlinux.org>
7993
e4e7cfd2
AM
7994 * po/vi.po: Update Vietnamese translation from translation project.
7995
6aa09f71
AM
7996 * po/uk.po: Update Ukrainian translation from translation project.
7997
edc0660e
AM
7998 * po/fr.po: Update French translation from translation project.
7999
7eea72ac
AM
8000 * po/ru.po: Update Russian translation from translation project.
8001
93c49eff
AM
8002 * po/pl.po: Update Polish translation from translation project.
8003
46acaf63
AM
8004 * po/cs.po: Update Czech translation from translation project.
8005
a9f5ce98
AM
8006 * po/de.po: Update German translation from translation project.
8007
373f2b78
AM
8008 * po/bg.po: Update Bulgarian translation from translation project.
8009
e7548bd8
AM
8010 * po/sv.po: Update Sweedish translation from translation project.
8011
c526bf4d
AM
8012 * po/nl.po: Update Dutch translation from translation project.
8013
686ab290
AM
8014 * po/es.po: Update Spanish translation from translation project.
8015
eb72478a
SP
80162014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
dd763fdb
SP
8018 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8019
318c7a58
SP
8020 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8021 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8022 (CPPFLAGS-iconvconfig): Likewise.
8023 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8024
eb72478a
SP
8025 * include/libc-symbols.h: Remove unnecessary check for
8026 NOT_IN_libc.
8027 * nptl/pthreadP.h: Likewise.
8028 * sysdeps/aarch64/setjmp.S: Likewise.
8029 * sysdeps/alpha/setjmp.S: Likewise.
8030 * sysdeps/arm/sysdep.h: Likewise.
8031 * sysdeps/i386/setjmp.S: Likewise.
8032 * sysdeps/m68k/setjmp.c: Likewise.
8033 * sysdeps/posix/getcwd.c: Likewise.
8034 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8035 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8036 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8037 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8038 * sysdeps/sh/sh3/setjmp.S: Likewise.
8039 * sysdeps/sh/sh4/setjmp.S: Likewise.
8040 * sysdeps/unix/alpha/sysdep.h: Likewise.
8041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8042 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8043 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8044 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8052 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8054 * sysdeps/x86_64/setjmp.S: Likewise.
8055
d44a052c
JM
80562014-08-13 Joseph Myers <joseph@codesourcery.com>
8057
8058 [BZ #17263]
8059 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8060 <stdint.h>.
8061 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8062 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8063
508ce3ac
SP
80642014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8065
e44c8b0e
SP
8066 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8067
508ce3ac
SP
8068 [BZ #17262]
8069 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8070 and __x86_64__ when disabling x87 inline functions.
8071
b4acef1f
L
80722014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8073
8074 [BZ #17259]
8075 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8076 asm statement with __cpuid_count.
8077
61b1ef6e
MF
80782014-08-12 Mike Frysinger <vapier@gentoo.org>
8079
8080 * configure.ac: Change __ehdr_start code to dereference the struct.
8081 Run readelf on the output to look for relocations.
8082 * configure: Regenerated.
8083
898c62f4
JM
80842014-08-12 Joseph Myers <joseph@codesourcery.com>
8085
8086 [BZ #17261]
8087 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8088 value to 0.
8089 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8090
9a8a5720
RM
80912014-08-12 Roland McGrath <roland@hack.frob.com>
8092
8093 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8094
4e75751c
BO
80952014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8096
8097 [BZ #16892]
8098 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8099 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8100
bb2ce416
SA
81012014-08-12 Sean Anderson <seanga2@gmail.com>
8102
8103 * malloc/malloc.c: Fix typo in comment.
8104
7950a4ee
AM
81052014-08-09 Allan McRae <allan@archlinux.org>
8106
8107 * Regenerate libc.po.
8108
f469c49f
MF
81092014-08-08 Mike Frysinger <vapier@gentoo.org>
8110
8111 * intl/tst-gettext2.sh: Check every lang file for creation.
8112
656b84c2
WD
81132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8114
8115 * sysdeps/aarch64/fpu/math_private.h
8116 (libc_feholdsetround_noex_aarch64_ctx): New function.
8117
538e9e45
W
81182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8119
8120 * sysdeps/arm/armv6/strcpy.S (strcpy):
8121 Fix performance issue in misaligned cases.
8122
d4795e4a
AZ
81232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8124
8125 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8126 Move definition from termios.h.
8127 (struct termio): Likewise.
8128 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8129 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8130 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8131 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8132 Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8134 Move definition to ioctl-types.h
8135 (struct termio): Likewise.
8136 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8137 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8138 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8139 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8140 Likewise.
8141
64accb62
RH
81422014-08-05 Richard Henderson <rth@redhat.com>
8143
27bb6dc0
RH
8144 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8145 exceptions.
8146 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8147 Add fraiseexcpt.
8148 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8149 Use __feraiseexcept.
8150 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8151 Protect libm symbols with IS_IN_libm.
8152
64accb62
RH
8153 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8154
e5292691
BO
81552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8156
8157 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8158
5b4bd2d4
WN
81592014-08-04 Will Newton <will.newton@linaro.org>
8160
8161 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8162 file.
8163
fcadaeef
MF
81642014-08-04 Mike Frysinger <vapier@gentoo.org>
8165
8166 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8167 variants for each function.
8168
43a94c64
RM
81692014-08-04 Roland McGrath <roland@hack.frob.com>
8170
8171 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8172 appended ...
8173 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8174 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8175 appended ...
8176 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8177 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8178 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8179 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8180 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8181 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8182 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8183 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8184 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8185 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8190 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8212 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8213 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8214 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8215 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8216 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8218 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8220 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8222 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8224 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8226 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8227 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8228 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8229 Update #include.
8230 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8231 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8232
8f3c1fa4
RM
82332014-08-04 Roland McGrath <roland@hack.frob.com>
8234
8235 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8236 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8237 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8238 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8239 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8240 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8241
ca08746f
RM
82422014-08-04 Roland McGrath <roland@hack.frob.com>
8243
8244 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8245 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8246 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8247 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8248
9c925ff9
RM
82492014-08-04 Roland McGrath <roland@hack.frob.com>
8250
8251 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8252 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8253 (__libc_vfork): Define function under this name.
8254 (__vfork): Define as an alias.
8255 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8256 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8257
e641054c
RM
82582014-08-04 Roland McGrath <roland@hack.frob.com>
8259
8260 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8261 that was previously under [RESET_PID].
8262 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8263
dacdc867
AS
82642014-08-04 Andreas Schwab <schwab@suse.de>
8265
8266 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8267
41f725ff
MF
82682014-08-03 Mike Frysinger <vapier@gentoo.org>
8269
8270 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8271 (main): Likewise.
8272
277cfb31
RM
82732014-08-01 Roland McGrath <roland@hack.frob.com>
8274
8275 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8276
4896f049
RH
82772014-08-01 Richard Henderon <rth@redhat.com>
8278
8279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8280 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8281 typo in exact zero test.
8282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8285
6f64e7d7
RM
82862014-08-01 Roland McGrath <roland@hack.frob.com>
8287
8288 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8289 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8290 * sysdeps/arm/sysdep.h: ... here.
8291 [!__ASSEMBLER__]: Include <stdint.h>.
8292
3f3dd810
SP
82932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8294
a476ac4b
SP
8295 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8296 (HAVE_WCTYPE_H): Likewise.
8297 (HAVE_ISWCTYPE): Likewise.
8298 (ENABLE_NLS): Likewise.
8299 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8300 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8301
78dd658a
SP
8302 * posix/regex_internal.c: Check if DEBUG is defined and is
8303 set.
8304
3f3dd810
SP
8305 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8306 (HAVE_MBSRTOWCS): Likewise.
8307 * posix/fnmatch.c: Include string.h unconditionally.
8308
95ee7fb1
SL
83092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8310
8311 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8312 reversal.
8313
23fe486b
RM
83142014-07-31 Roland McGrath <roland@hack.frob.com>
8315
f61a113f
RM
8316 * sysdeps/generic/safe-fatal.h: New file.
8317 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8318 * nptl/forward.c: Include it.
8319 (__pthread_unwind): Use __safe_fatal as default action, rather
8320 than a bogus use of INTERNAL_SYSCALL that could never work.
8321
9fe7e787
RM
8322 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8323 * configure.ac (libc_cv_builtin_trap): New test.
8324 * configure: Regenerated.
8325 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8326 (ABORT_INSTRUCTION): Define using __builtin_trap.
8327
23fe486b
RM
8328 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8329 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8330 * sysdeps/nptl/nptl-signals.h: New file.
8331 * nptl/pthreadP.h: Include <nptl-signals.h>.
8332
f349489e
SL
83332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8334
8335 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8336 (ONE_DIRECTION): Define.
8337 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8338 (ONE_DIRECTION): Define.
8339 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8340 (ONE_DIRECTION): Define.
8341
2f438e20
SL
83422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8343
8344 * sysdeps/s390/Makefile: Delete file.
8345 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8346 * sysdeps/s390/__longjmp.c: Delete file.
8347 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8348 Remove fields __flags and __reserved.
8349 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8350 and add versioning.
8351 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8352 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8353 * sysdeps/s390/rtld-setjmp.S: Likewise.
8354 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8355 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8356 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8357 * sysdeps/s390/s390-32/setjmp.S: ... here.
8358 Add versioning.
8359 (__sigsetjmp): Remove setting __flags field.
8360 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8361 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8362 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8363 * sysdeps/s390/s390-64/setjmp.S: ... here.
8364 Add versioning.
8365 (__sigsetjmp): Remove setting __flags field.
8366 * sysdeps/s390/setjmp.S: Delete file.
8367 * sysdeps/s390/sigjmp.c: Likewise.
8368 * sysdeps/s390/v1-longjmp.c: Likewise.
8369 * sysdeps/s390/v1-setjmp.h: Likewise.
8370 * sysdeps/s390/v1-sigjmp.c: Likewise.
8371 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8372 Remove v1-longjmp_chk.
8373 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8374 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8375 Include debug/longjmp_chk.c and add versioning.
8376 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8377 Include nptl/pt-longjmp.c and add versioning.
8378 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8379 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8380 Include __longjmp.c.
8381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8382 Move to ...
8383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8384 (__getcontext): Remove setting __flags field.
8385 Add versioning.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8387 Don't restore upper high grps.
8388 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8389 Likewise.
8390 (__swapcontext): Remove setting uc_flags field.
8391 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8392 Delete file.
8393 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8394 Include __longjmp.c.
8395 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8396 Move to ...
8397 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8398 (__getcontext): Remove setting __flags field.
8399 Add versioning.
8400 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8401 (__swapcontext): Remove setting uc_flags field.
8402 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8404 Remove fields uc_high_gprs and __reserved.
8405 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8406 New file with reverted content.
8407 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8408 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8409 Regenerated.
8410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8411 Regenerated.
8412
6c9578a2
AS
84132014-07-31 Andreas Schwab <schwab@suse.de>
8414
8415 * config.h.in (HAVE_IFUNC): Define to 0.
8416 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8417 definedness.
8418
05f3633d
LM
84192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8420
8421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8422 memmove-avx-unaligned, memcpy-avx-unaligned and
8423 mempcpy-avx-unaligned.
8424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8425 Add tests for AVX memcpy functions.
8426 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8427 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8428 memcpy_chk.
8429 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8430 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8431 memmove_chk.
8432 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8434 mempcpy_chk.
8435 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8436 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8437 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8438
a53fbd8e
AZ
84392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8440
8441 [BZ #17213]
8442 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8443 powerpc64le.
8444
0961f7e1
JL
84452014-07-29 Jeff Layton <jlayton@poochiereds.net>
8446
8447 [BZ #16839]
8448 * manual/llio.texi: Add section about open file description locks.
8449 * manual/examples/ofdlocks.c: Example of open file description
8450 lock usage.
8451 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8452 F_OFD_SETLK, and F_OFD_SETLKW.
8453
cc5fb300
AM
84542014-07-23 Allan McRae <allan@archlinux.org>
8455
8456 * po/es.po: Update Spanish translation from translation project.
8457
23329dca
AS
84582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8459
8460 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8461
9c82da17
MR
84622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8463
8464 [BZ #17078]
8465 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8466 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8467 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8468
29c4f53e
JM
84692014-07-17 Joseph Myers <joseph@codesourcery.com>
8470
831b9896
JM
8471 [BZ #17088]
8472 * math/fesetenv.c (__fesetenv)
8473 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8474 * math/feupdateenv.c (__feupdateenv)
8475 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8476
b21c2d50
JM
8477 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8478 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8479 (__ASSUME_SOCKETCALL): Do not define.
8480
067764ef
JM
8481 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8482 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8483 (__ASSUME_SOCKETCALL): Do not define.
8484 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8485 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8486 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8487 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8488 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8489 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8490 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8491 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8492
642530c1
JM
8493 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8494 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8495 (__ASSUME_SOCKETCALL): Do not define.
8496 (__ASSUME_IPC64): Define unconditionally.
8497 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8498 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8499 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8500 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8501 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8502 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8503 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8504 Likewise.
8505
03f77315
JM
8506 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8507 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8508 (__ASSUME_SOCKETCALL): Do not define.
8509 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8510 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8511 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8512 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8513 (__ASSUME_REQUEUE_PI): Define unconditionally.
8514 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8515 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8516 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8517 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8518 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8519 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8520
083b1f7c
JM
8521 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8522 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8523 (__ASSUME_SOCKETCALL): Do not define.
8524 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8525 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8526 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8527 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8528 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8529 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8530
5be44ea6
JM
8531 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8532 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8533 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8534 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8535 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8536 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8537 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8538 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8539 (__ASSUME_GETCPU_SYSCALL): Likewise.
8540
d95ffd4c
JM
8541 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8542 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8543 cases for individual architectures.
8544 * sysdeps/gnu/configure: Regenerated.
8545 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8546 LIBC_SLIBDIR_RTLDDIR.
8547 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8548 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8549 LIBC_SLIBDIR_RTLDDIR.
8550 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8552 LIBC_SLIBDIR_RTLDDIR.
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8554 Regenerated.
8555 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8556 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8557 file.
8558 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8560 file.
8561 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8562 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8564 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8565
29c4f53e
JM
8566 * sysdeps/aarch64/shlib-versions: Move to ...
8567 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8568 * sysdeps/alpha/shlib-versions: Move to ...
8569 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8570 * sysdeps/arm/shlib-versions: Move to ...
8571 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8572 * sysdeps/hppa/shlib-versions: Move all contents except for
8573 libgcc_s entry to ...
8574 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8575 entry from ...
8576 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8577 * sysdeps/ia64/shlib-versions: Move to ...
8578 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8579 entry from ...
8580 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8581 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8582 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8583 * sysdeps/microblaze/shlib-versions: Move to ...
8584 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8585 * sysdeps/mips/shlib-versions: Move to ...
8586 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8587 entry from ...
8588 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8589 * sysdeps/tile/shlib-versions: Move to ...
8590 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8591 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8592 from ...
8593 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8595 entry from ...
8596 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8597
32bead5b
WN
85982014-07-17 Will Newton <will.newton@linaro.org>
8599
57977c4b
WN
8600 * sysdeps/arm/bits/atomic.h
8601 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8602 (__arch_compare_and_exchange_bool_16_int): Likewise.
8603 (__arch_compare_and_exchange_bool_64_int): Likewise.
8604
32bead5b
WN
8605 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8606 into an #else block.
8607
37fccd41
RM
86082014-07-16 Roland McGrath <roland@hack.frob.com>
8609
8610 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8611 just Linux configurations. Test empirically that the compiler sets
8612 __ARM_EABI__, rather than using the tuple to decide.
8613 * sysdeps/arm/preconfigure: Regenerated.
8614 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8615 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8616 contents appended ...
8617 * sysdeps/arm/configure.ac: ... here.
8618 * sysdeps/arm/configure: Regenerated.
8619
b365f3ec
RM
86202014-07-15 Roland McGrath <roland@hack.frob.com>
8621
8badf496
RM
8622 * nptl/pthread_kill.c: New file.
8623 * nptl/pthread_sigmask.c: New file.
8624 * nptl/pthread_sigqueue.c: New file.
8625
3df6f22e
RM
8626 * sysdeps/nptl/lowlevellock.h: New file.
8627 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8628 * sysdeps/nptl/lowlevellock-futex.h: New file.
8629
b365f3ec
RM
8630 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8631 Remove dead declarations.
8632
f2fef657
L
86332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8634
8635 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8636 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8637 config-cflags-avx2.
8638 * sysdeps/x86_64/configure.ac: Likewise.
8639 * sysdeps/i386/configure: Regenerated.
8640 * sysdeps/x86_64/configure: Likewise.
8641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8642 memset-avx2 only if config-cflags-avx2 is yes.
8643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8644 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8645 defined.
8646 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8647 only if HAVE_AVX2_SUPPORT is defined.
8648 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8649
f6c44d47
AM
86502014-07-14 Alan Modra <amodra@gmail.com>
8651
8652 [BZ #17153]
8653 * elf/elf.h (DT_PPC64_NUM): Correct value.
8654 * NEWS: Add to fixed bug list.
8655
7ee03f00
JM
86562014-07-13 Jim Meyering <meyering@fb.com>
8657
8658 [BZ 17150]
8659 regex: don't deref NULL upon heap allocation failure
8660 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8661 failure in one more place.
8662 To trigger the segfault, configure grep -with-included-regex,
8663 build it, and run these commands:
8664 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8665
9d39d517
AS
86662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8667
8668 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8669
a75b89b7
RH
86702014-07-11 Richard Henderson <rth@redhat.com>
8671
8672 * sysdeps/aarch64/libm-test-ulps: Update.
8673
771eb141
FW
86742014-07-10 Florian Weimer <fweimer@redhat.com>
8675
8676 [BZ #17135]
8677 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8678 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8679 (__nptl_setxid): Initialize error member. Call
8680 __nptl_setxid_error.
8681 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8682 * nptl/descr.h (struct xid_command): Add error member.
8683 * nptl/tst-setuid3.c: New file.
8684 * nptl/Makefile (tests): Add it.
8685
bc1da176
AZ
86862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8687
8688 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8689 New define.
8690 (__lll_trylock): Use __lll_base_trylock.
8691 (__lll_cond_trylock): Likewise.
8692
887865fc
RM
86932014-07-10 Roland McGrath <roland@hack.frob.com>
8694
c0c6bac9
RM
8695 * nptl/pthread_create.c (start_thread): Use atomic_or and
8696 lll_futex_wake directly rather than lll_robust_dead.
8697 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8698 (lll_robust_dead): Macro removed.
6a42be57 8699 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8700 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8701 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8702 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8703 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8704 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8705 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8706 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8707 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8708 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8709 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8710 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8712 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8714
887865fc
RM
8715 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8716 Use atomic_compare_and_exchange_val_acq directly rather than
8717 lll_robust_trylock.
8718 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8719 (__lll_robust_trylock, lll_robust_trylock): Removed.
8720 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8721 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8722 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8723 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8724 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8725 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8726 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8727 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8728 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8729 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8730 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8732 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8733 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8734
58536726
FW
87352014-07-02 Florian Weimer <fweimer@redhat.com>
8736
8737 * manual/locale.texi (Locale Names): New section documenting
8738 locale name syntax. Adjust menu and node chaining accordingly.
8739 (Choosing Locale): Reference Locale Names, Locale Categories.
8740 Mention setting LC_ALL=C. Reflect that name syntax is now
8741 documented.
8742 (Locale Categories): New section title. Reference Locale Names.
8743 LC_ALL is an environment variable, but not a category.
8744 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8745 description, now in Locale Name. Reference that section. Locale
8746 name syntax is now documented.
8747
4e8f95a0
FW
87482014-07-02 Florian Weimer <fweimer@redhat.com>
8749
8750 [BZ #17137]
8751 * locale/findlocale.c (name_present, valid_locale_name): New
8752 functions.
8753 (_nl_find_locale): Use the loc_name variable to store name
8754 candidates. Call name_present and valid_locale_name to check and
8755 validate locale names. Return an error if the locale is invalid.
8756
d1836456
FW
87572014-07-02 Florian Weimer <fweimer@redhat.com>
8758
8759 * locale/setlocale.c (setlocale): Use strdup for allocating
8760 composite name copy.
8761
d69b7f5a
SP
87622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
888c679b
SP
8764 Sync up with gnulib.
8765 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8766 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8767 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8768 and _GL_ARG_NONNULL.
8769 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8770 [!_LIBC]: Include code for Windows and Cygwin.
8771 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8772 Include prototype for int strerror_r.
8773 [!_LIBC] (is_open): New function.
8774 (flush_stdout): New function.
8775 (print_errno_message): Use it.
8776 (error): Likewise.
8777 (error_at_line): Likewise.
8778 (error_tail) Add function attribute macros. Use
8779 __builtin_expect.
8780
180e0e4b
SP
8781 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8782
d22f1fe2
SP
8783 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8784
12f2254b
SP
8785 * io/ftw.c: Include sys/param.h unconditionally.
8786
c3c7c360
SP
8787 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8788
d62aa75a
SP
8789 [BZ #17125]
8790 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8791 libc_freeres_ptr.
8792 (freecache): New function to free CACHE on exit.
8793
d69b7f5a
SP
8794 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8795 initialization.
8796
5efe06a1
DM
87972014-07-09 David S. Miller <davem@davemloft.net>
8798
8799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8800
7000d82e
DM
8801 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8802 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8803 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8804 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8805 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8806 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8807 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8808 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8809 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8810 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8811 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8812 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8813 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8814
c213442d
AS
88152014-07-09 Andreas Schwab <schwab@suse.de>
8816
4a2552c3
AS
8817 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8818 output.
8819 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8820 (do_test): Likewise.
8821
c213442d
AS
8822 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8823
82374e65
WN
88242014-07-09 Will Newton <will.newton@linaro.org>
8825
8826 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8827 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8828 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8829 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8830 * sysdeps/hppa/start.S (_start): Likewise.
8831
6680738a
SP
88322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8833
6ee3eab4
SP
8834 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8835
6680738a
SP
8836 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8837 defined.
8838
80b5c505
SP
88392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8840
e35c53e3
SP
8841 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8842 after checking that it is non-NULL.
8843
80b5c505
SP
8844 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8845
91f4b564
AZ
88462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8847
27b75f56
AZ
8848 * sysdeps/powerpc/memmove.c: Remove file.
8849 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8850 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8852 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8854 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8855 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8856 string memmove instead of removed powerpc one.
8857
e7f95bb5
AZ
8858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8859 [weak_alias]: Fix compiler warning due trailing data.
8860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8861 [weak_alias]: Likewise.
8862 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8863 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8864
91f4b564
AZ
8865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8866 (__libc_ifunc_impl_list): Add memmove functions.
8867
7c33f1e5
SP
88682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8869
8870 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8871 Remove code.
8872 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8873 Likewise
8874 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8875 Likewise
8876 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8877 Likewise
8878 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8879 Likewise
8880 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8881 Likewise
8882 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8883 Likewise
8884 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8885 Likewise
8886 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8887 Likewise
8888 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8889 Likewise
8890 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8891 Likewise
8892 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8893 Likewise
8894 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8895 Likewise
8896 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8897 Likewise
8898 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8899 Likewise
8900 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8901 Likewise
8902 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8903 Likewise
8904
3f17b03b
AZ
89052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8906
87868c24
AZ
8907 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8908 to avoid alignment traps in non-cacheable memory.
8909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8910
07aedd78
AZ
8911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8912 multiarch objects.
8913 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8914 file: multiarch power7 memmove.
8915 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8916 multiarch default memmove.
8917 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8918 multiarch memove for powerpc32/power4.
8919
17762f66
AZ
8920 * string/bcopy.c: Use full path to include memmove.c.
8921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8922 multiarch objects.
8923 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8924 bcopy for powerpc64.
8925 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8926 bcopy for powerpc64.
8927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8928 and memmove implementations.
8929 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8930 optimized multiarch memmove for POWER7/powerpc64.
8931 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8932 default multiarch memmove for powerpc64.
8933 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8934 multiarch for powerpc64.
8935 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8936 for POWER7/powerpc64.
8937 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8938 memmove for POWER7/powerpc64.
8939
d6f68bbe
AZ
8940 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8941 glibc default one.
8942
3f17b03b
AZ
8943 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8944 __ELF_NATIVE_CLASS equal to 64.
8945
08192659
RM
89462014-07-07 Roland McGrath <roland@hack.frob.com>
8947
f4c4021b
RM
8948 * sysdeps/nptl/lowlevellock.h: File removed.
8949
f083450f
RM
8950 * NEWS: NPTL is no longer an add-on!
8951 * nptl/internaltypes.h: Moved ...
8952 * sysdeps/nptl/internaltypes.h: ... here.
8953 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8954 * sysdeps/nptl/fork.c: Likewise.
8955 * sysdeps/nptl/gai_misc.h: Likewise.
8956 * sysdeps/nptl/librt-cancellation.c: Likewise.
8957 * sysdeps/nptl/jmp-unwind.c: Likewise.
8958 * sysdeps/nptl/setxid.h: Likewise.
8959 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8960 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8961 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8962 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8963 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8964 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8965 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8966 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8967 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8968 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8969 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8970 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8971 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8972 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8973 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8974 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8976 * nptl/Makeconfig: Moved ...
8977 * sysdeps/nptl/Makeconfig: ... here.
8978 * nptl/configure: File removed.
8979 * nptl/ANNOUNCE: File removed.
8980 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8981 * sysdeps/unix/sysv/linux/configure: Regenerated.
8982
08192659
RM
8983 * nptl/Makefile (routines): Add libc_pthread_init,
8984 libc_multiple_threads, register-atfork and unregister-atfork.
8985 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8986 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8987 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8988 pthread-pi-defines.sym, structsem.sym.
8989 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8990 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8991 [$(subdir) = nptl] (tests): Add tst-setgetname.
8992 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8993 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8994 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8995 [!LIBC_SIGACTION]: Remove aliases.
8996 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8997 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8998 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8999 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9000 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9001 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9004 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9005 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9006 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9007 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9008 __libc_allocate_rtsig_private.
9009 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9010 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9011 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9012 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9013 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9014 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9015 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9016 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9017 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9018 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9019 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9020 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9021 * nptl/internaltypes.h: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9023 * sysdeps/nptl/jmp-unwind.c: ... here.
9024 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9025 * nptl/libc-lowlevellock.c: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9027 * nptl/libc_multiple_threads.c: ... here.
9028 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9029 * nptl/libc_pthread_init.c: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9031 * nptl/lowlevelbarrier.sym: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9033 * nptl/lowlevelcond.sym: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9035 * nptl/lowlevellock.c: ... here.
9036 * nptl/lowlevellock.h: Moved ...
9037 * sysdeps/nptl/lowlevellock.h: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9039 * nptl/lowlevelrobustlock.c: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9041 * nptl/lowlevelrobustlock.sym: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9043 * nptl/lowlevelrwlock.sym: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9045 * nptl/pt-fork.c: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9047 * nptl/pthread-pi-defines.sym: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9049 * nptl/pthread_attr_getaffinity.c: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9051 * nptl/pthread_attr_setaffinity.c: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9053 * nptl/pthread_mutex_cond_lock.c: ... here.
9054 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9055 Update #include.
9056 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9057 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9058 * nptl/pthread_once.c: ... here, replacing old file.
9059 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9060 * nptl/pthread_yield.c: ... here.
9061 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9062 * nptl/register-atfork.c: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9064 * nptl/sem_post.c: ... here.
9065 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9066 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9067 * nptl/sem_timedwait.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9069 * nptl/sem_trywait.c: ... here.
9070 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9071 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9072 * nptl/sem_wait.c: ... here.
9073 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9074 * nptl/structsem.sym: ... here.
9075 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9076 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9077 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9078 * nptl/unregister-atfork.c: ... here.
9079 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9080 * nptl/unwindbuf.sym: ... here.
9081 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9082 * sysdeps/nptl/fork.c: ... here.
9083 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9084 * sysdeps/nptl/fork.h: ... here.
9085 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9086 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9087 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9088 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9089 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9090 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9091 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9092 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9093 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9095 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9096 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9097 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9098 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9099 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9101 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9102 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9103 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9104 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9105 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9106 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9107 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9108 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9109 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9111 * sysdeps/unix/sysv/linux/raise.c: ... here.
9112 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9113 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9114 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9115 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9116 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9117 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9118 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9119 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9120 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9121 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9122 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9123 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9124 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9125 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9126 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9127
96baf6ff
SP
91282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
9130 * sysdeps/generic/memcopy.h: Add comment for
9131 MEMCPY_OK_FOR_FWD_MEMMOVE.
9132
6b7b14b2
WN
91332014-07-04 Will Newton <will.newton@linaro.org>
9134
1570a72b
WN
9135 * string/memchr.c: Merge from gnulib.
9136 [_LIBC]: Remove conditionals.
9137 (__ptr_t): Remove define.
9138 (LONG_MAX_32_BITS): Likewise.
9139 (LONG_MAX): Likewise.
9140 (MEMCHR): Use ANSI prototype and optimize algorithm.
9141
6b7b14b2
WN
9142 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9143
38851324
SP
91442014-07-03 Roland McGrath <roland@hack.frob.com>
9145
3d9eb57c
RM
9146 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9147 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9148
78b984ae
RM
9149 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9150 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9151 in a bare environment with no <stdlib.h> installed.
9152 * sysdeps/nptl/configure: Regenerated.
9153
2d5976a5
RM
9154 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9155
c1f5acd4
RM
9156 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9157 AC_EGREP_CPP for kernel header checks, so they only succeed if
9158 including <linux/version.h> actually works right.
9159 * sysdeps/unix/sysv/linux/configure: Regenerated.
9160
4d614fe5
RM
9161 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9162 value so it's not diagnosed as unused.
9163
38851324
SP
9164 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9165 thing) with "ifeq ($(subdir),rt)".
9166
b3ec00e5
RH
91672014-07-03 Richard Henderson <rth@redhat.com>
9168
69862e25
RH
9169 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9170 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9171 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9172
d5e16ade
RH
9173 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9174 (math_force_eval): New.
9175
ca7b945c
RH
9176 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9177 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9178
cd1175a3
RH
9179 * sysdeps/alpha/fpu/s_round.c: Remove file.
9180 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9181
b3ec00e5
RH
9182 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9183 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9184 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9185 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9186 (_dl_start, print_statistics): Likewise.
9187 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9188 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9189
9190 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9191 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9192 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9193 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9194 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9195 (HP_SMALL_TIMING_AVAIL): Define.
9196 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9197 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9198 (HP_SMALL_TIMING_AVAIL): Define.
9199 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9200 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9201
9202 * sysdeps/aarch64/hp-timing.h: New file.
9203
9204 * sysdeps/generic/hp-timing.h: Remove dead comment.
9205 * sysdeps/generic/hp-timing-common.h: New file.
9206 * sysdeps/alpha/hp-timing.h: Include it.
9207 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9208 * sysdeps/i386/i686/hp-timing.h: Likewise.
9209 * sysdeps/ia64/hp-timing.h: Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9211 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9212 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9213 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9214 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9215 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9216 (hp_timing_t): New.
9217
9218 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9219 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9220 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9221 * elf/rtld.c (_dl_start_final): Likewise.
9222 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9223 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9224 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9225 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9226 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9227 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9228 (HP_TIMING_DIFF_INIT): Remove.
9229 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9230 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9231 (HP_TIMING_DIFF_INIT): Remove.
9232 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9233 * sysdeps/i386/i686/hp-timing.c: Remove file.
9234 * sysdeps/x86_64/hp-timing.c: Remove file.
9235 * sysdeps/ia64/hp-timing.c: Remove file.
9236 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9237 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9238 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9239 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9240
9241 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9242 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9243 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9244 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9246 (HP_TIMING_ACCUM): Remove.
9247 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9248 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9249 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9250
9251 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9252 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9253 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9254 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9255 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9256 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9257 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9258 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9259
9260 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9261
225f410f
MR
92622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9263
9264 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9265
3247f285
SP
92662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9267
9268 Sync up with gettext.
9269 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9270 [_MSC_VER]: Include malloc.h
9271 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9272 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9273 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9274 TEMP_FAILURE_RETRY. Cast return of alloca.
9275 [!_LIBC] Call gl_rwlock_init.
9276 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9277
d12704c7
SP
92782014-07-02 Roland McGrath <roland@hack.frob.com>
9279
9280 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9281 before checking its value.
9282
99f8dc92
SP
92832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9284
05fdac77
SP
9285 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9286
99f8dc92
SP
9287 * debug/memcpy_chk.c: Don't include pagecopy.h.
9288 * debug/mempcpy_chk.c: Likewise.
9289 * string/memcpy.c: Likewise.
9290 * string/memmove.c: Likewise.
9291 * sysdeps/powerpc/memmove.c: Likewise.
9292 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9293 definition of PAGE_COPY_FWD_MAYBE here...
9294 * sysdeps/generic/pagecopy.h: ... from here.
9295 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9296
bc8ea385
VR
92972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9298 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299
9300 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9302 optimizations.
9303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9304 (__libc_ifunc_impl_list): Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9306 multiarch strcat for PPC64.
9307 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9308 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9309
fe5f34e4
RM
93102014-07-02 Roland McGrath <roland@hack.frob.com>
9311
9312 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9313
256aa665
SP
93142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9315
d4eb8195
SP
9316 * intl/loadmsgcat.c: Remove declaration of
9317 get_sysdep_segment_value.
9318 (get_sysdep_segment_value): Use ISO C style.
9319 (_nl_load_domain): Use ISO C style. Get rid of redundant
9320 semicolon. Fix typo and formatting in comment.
9321 (_nl_unload_domain): Use ISO C style.
9322
256aa665
SP
9323 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9324
b100f9aa
WN
93252014-07-02 Will Newton <will.newton@linaro.org>
9326
9327 * malloc/obstack.c: Merge from gnulib master.
9328 [HAVE_CONFIG_H]: Remove conditional code.
9329 [!_LIBC]: Include config.h.
9330 [!ELIDE_CODE]: Don't include inttypes.h, include
9331 stdint.h unconditionally.
9332 (print_and_abort): Mark as _Noreturn.
9333 (_obstack_allocated_p): Mark as __attribute_pure__.
9334 (obstack_free): Rename to __obstack_free.
9335 [!__attribute__]: Remove conditional code.
9336 * malloc/obstack.h: Merge from gnulib master.
9337 [__cplusplus]: Move conditional down.
9338 [!__attribute_pure__]: Define __attribute_pure__ here
9339 if it is not already defined.
9340 (_obstack_memory_used): Mark as __attribute_pure__.
9341 [!__obstack_free]: Define as obstack_free.
9342 [__GNUC__]: Remove check for ancient NeXT gcc.
9343
c4c41244
PE
93442014-07-02 Will Newton <will.newton@linaro.org>
9345 Paul Eggert <eggert@cs.ucla.edu>
9346
9347 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9348
e1e041c4
SP
93492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9350
9351 * resolv/gethnamaddr.c: Add comment warning that the file is
9352 not maintained.
9353
ccf431ff
CD
93542014-07-01 Carlos O'Donell <carlos@redhat.com>
9355
d34570a6
CD
9356 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9357 entries.
9358
ccf431ff
CD
9359 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9360 entry for aio_cancel and aio_cancel64.
9361 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9362 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9363 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9364 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9365 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9366 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9368 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9369 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9370 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9371 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9372 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9373 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9374
ca06321d
RM
93752014-07-01 Roland McGrath <roland@hack.frob.com>
9376
9377 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9378 * nptl/pthread_mutex_lock.c: Likewise.
9379 * nptl/pthread_mutex_timedlock.c: Likewise.
9380 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9381
a1ac3184
RH
93822014-07-01 Richard henderson <rth@redhat.com>
9383
631021e0
RH
9384 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9385 (__isnan, __isnanl): Remove.
9386 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9387
a1ac3184
RH
9388 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9389
0c1d731f
SL
93902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9391
9392 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9393
76985d3e
SP
93942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9395
9396 * resolv/nss_dns/dns-host.c (getanswer_r)
9397 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9398
b0cb3096
JM
93992014-07-01 Joseph Myers <joseph@codesourcery.com>
9400
9401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9402 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9403 undefine.
9404 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9405 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9406
4d76cb39
RM
94072014-07-01 Roland McGrath <roland@hack.frob.com>
9408
9409 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9410 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9411
9412 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9413 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9414
9415 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9416 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9417 ... here.
9418 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9419 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9420
9421 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9422 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9423 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9424 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9425
9426 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9427 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9428 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9431 Moved ...
9432 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9433 ... here.
9434 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9435 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9453 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9454 ... here.
9455 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9456 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9457 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9458 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9459 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9460 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9461 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9462 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9463
0cdcad17
DH
94642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9465
9466 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9467 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9468 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9469 Add sysdep.
9470
9b71d0e3
AZ
94712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9472
9473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9474
665390c2
JM
94752014-06-30 Joseph Myers <joseph@codesourcery.com>
9476
ae05a9d7
JM
9477 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9478 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9479
a7672a2f
JM
9480 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9481
665390c2
JM
9482 * sysdeps/arm/libm-test-ulps: Regenerated.
9483
d7a05d07
MR
94842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9485 Roland McGrath <roland@hack.frob.com>
9486
9487 * test-skeleton.c (signal_handler): Kill the whole process group
9488 before killing the child individually.
9489 (main): Report any failure on `setpgid'.
9490
46f1d8a6
RM
94912014-06-30 Roland McGrath <roland@hack.frob.com>
9492
9493 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9494 from _TLS_H to _ARM_NPTL_TLS_H.
9495 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9496 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9497
9c37ec0b
JM
94982014-06-30 Joseph Myers <joseph@codesourcery.com>
9499
ce9c5b3e
JM
9500 [BZ #16539]
9501 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9502 (__expm1l): Return argument unchanged when small but not
9503 subnormal.
9504
3a6e9887
JM
9505 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9506 include macro name.
9507 (_FP_UNPACK_RAW_1_P): Likewise.
9508 (_FP_PACK_RAW_1): Likewise.
9509 (_FP_PACK_RAW_1_P): Likewise.
9510 (_FP_MUL_MEAT_1_wide): Likewise.
9511 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9512 (_FP_MUL_MEAT_1_hard): Likewise.
9513 (_FP_DIV_MEAT_1_imm): Likewise.
9514 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9515 (_FP_DIV_MEAT_1_udiv): Likewise.
9516 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9517 (_FP_UNPACK_RAW_2): Likewise.
9518 (_FP_UNPACK_RAW_2_P): Likewise.
9519 (_FP_PACK_RAW_2): Likewise.
9520 (_FP_PACK_RAW_2_P): Likewise.
9521 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9522 (_FP_MUL_MEAT_2_wide): Likewise.
9523 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9524 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9525 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9526 (_FP_MUL_MEAT_2_gmp): Likewise.
9527 (_FP_DIV_MEAT_2_udiv): Likewise.
9528 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9529 (_FP_FRAC_SRL_4): Likewise.
9530 (_FP_FRAC_SRST_4): Likewise.
9531 (_FP_FRAC_SRS_4): Likewise.
9532 (_FP_UNPACK_RAW_4): Likewise.
9533 (_FP_UNPACK_RAW_4_P): Likewise.
9534 (_FP_PACK_RAW_4): Likewise.
9535 (_FP_PACK_RAW_4_P): Likewise.
9536 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9537 (_FP_MUL_MEAT_4_wide): Likewise.
9538 (_FP_MUL_MEAT_4_gmp): Likewise.
9539 (umul_ppppmnnn): Likewise.
9540 (_FP_DIV_MEAT_4_udiv): Likewise.
9541 (__FP_FRAC_ADD_4): Likewise.
9542 (__FP_FRAC_SUB_3): Likewise.
9543 (__FP_FRAC_SUB_4): Likewise.
9544 (__FP_FRAC_DEC_3): Likewise.
9545 (__FP_FRAC_DEC_4): Likewise.
9546 (__FP_FRAC_ADDI_4): Likewise.
9547 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9548 (_FP_FRAC_SRL_8): Likewise.
9549 (_FP_FRAC_SRS_8): Likewise.
9550
9c37ec0b
JM
9551 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9552 include macro name.
9553 (FP_UNPACK_RAW_EP): Likewise.
9554 (FP_PACK_RAW_E): Likewise.
9555 (FP_PACK_RAW_EP): Likewise.
9556 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9557 (_FP_ISSIGNAN): Likewise.
9558 (_FP_ADD_INTERNAL): Likewise.
9559 (_FP_FMA): Likewise.
9560 (_FP_CMP): Likewise.
9561 (_FP_SQRT): Likewise.
9562 (_FP_TO_INT): Likewise.
9563 (_FP_FROM_INT): Likewise.
9564 (FP_EXTEND): Likewise.
9565 (_FP_DIV_MEAT_N_loop): Likewise.
9566
2125f674
MR
95672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9568
9569 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9570 throughout.
9571
edea4028
JM
95722014-06-29 Joseph Myers <joseph@codesourcery.com>
9573
9574 [BZ #17097]
9575 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9576 result with correct sign in case of exponents that produce
9577 overflow except for X very close to 1.
9578
dd0ba018
PE
95792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9580
9581 mktime: merge #if/#ifdef usage from glibc
9582 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9583 as that works with both Glibc's and Gnulib's style.
9584 See thread starting at Siddhesh Poyarekar's bug report at:
9585 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9586
64df73c2
SP
95872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9588
9589 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9590 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9591 * sysdeps/tile/tilegx/memmove.c: Remove file.
9592
f1eafb41
JM
95932014-06-27 Joseph Myers <joseph@codesourcery.com>
9594
9595 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9596 abi-name definition.
9597 * scripts/soversions.awk: Do not handle or generate ABI lines.
9598 * shlib-versions: Remove ABI entries.
9599 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9600 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9601
58eb0862
RM
96022014-06-27 Roland McGrath <roland@hack.frob.com>
9603
37caf178
RM
9604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9605 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9606 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9611 Moved ...
9612 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9613 ... here.
9614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9619 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9637 Moved ...
9638 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9640 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9642 Moved ...
9643 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9651 Moved ...
9652 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9654 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9656 Moved ...
9657 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9659 Moved ...
9660 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9661 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9662 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9664 Moved ...
9665 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9666 ... here.
9667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9668 Identical file removed.
9669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9670 Moved ...
9671 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9673 Identical file removed.
9674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9680 Identical file removed.
9681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9682 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9684 Identical file removed.
9685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9686 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9688 Identical file removed.
9689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9690 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9692 Identical file removed.
9693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9697 Identical file removed.
9698 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9699 Moved ...
9700 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9702 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9703 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9704 Identical file removed.
9705 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9706 Moved ...
9707 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9708 ... here.
9709 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9710 Identical file removed.
9711 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9715 Identical file removed.
9716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9720 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9722 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9724 Moved ...
9725 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9727 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9728
58eb0862
RM
9729 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9730 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9731 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9732 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9733 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9734
6f12d062
AS
97352014-06-27 Arjun Shankar <arjun.is@lostca.se>
9736
9737 [BZ #17092]
9738 * nscd/nscd.c (monitor_child): Return exit status of child
9739 instead of return value from wait syscall.
9740
be254932
JM
97412014-06-27 Joseph Myers <joseph@codesourcery.com>
9742
cb403c34
JM
9743 * configure.ac (libc_commonpagesize): Remove variable.
9744 (libc_relro_required): Likewise.
9745 (libc_cv_z_relro): Remove configure test.
9746 * configure: Regenerated.
9747 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9748 variable.
9749 (libc_relro_required): Likewise.
9750 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9751 (libc_relro_required): Likewise.
9752 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9753 (libc_relro_required): Likewise.
9754 * sysdeps/arm/preconfigure: Regenerated.
9755 * sysdeps/ia64/preconfigure: Remove file.
9756 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9757 variable.
9758 (libc_relro_required): Likewise.
9759
be254932
JM
9760 [BZ #16561]
9761 [BZ #16562]
9762 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9763 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9764 recompute overflowing results in original rounding mode.
9765 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9766 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9767 recompute overflowing results in original rounding mode.
9768 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9769 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9770 recompute overflowing results in original rounding mode.
9771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9772 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9773 recompute overflowing results in original rounding mode.
9774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9775 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9776 recompute overflowing results in original rounding mode.
9777 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9778 (libc_feholdsetround_ctx): New macro.
9779 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9780 * sysdeps/i386/fpu/libm-test-ulps: Update.
9781 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9782
b351d85a
JM
97832014-06-26 Joseph Myers <joseph@codesourcery.com>
9784
9785 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9786 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9787 corresponding .cpsetup call.
9788
3cb4de47
RM
97892014-06-26 Roland McGrath <roland@hack.frob.com>
9790
9791 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9792 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9793 * sysdeps/arm/Makefile [$(subdir) = csu]
9794 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9795 (static-only-routines): Add aeabi_read_tp here.
9796 (shared-only-routines): Add libc-aeabi_read_tp here.
9797 (CFLAGS-libc-start.c): Add -fexceptions here.
9798 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9799 (sysdep_routines, static-only-routines, shared-only-routines):
9800 Don't add to these here.
9801 (CFLAGS-libc-start.c): Likewise.
9802
9803 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9804 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9805 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9806 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9807 * sysdeps/arm/Makefile [$(subdir) = rt]
9808 (librt-sysdep_routines, librt-shared-only-routines):
9809 Append rt-aeabi_unwind_cpp_pr1 here.
9810 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9811 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9812 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9813 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9814 Append nptl-aeabi_unwind_cpp_pr1 here.
9815 (tests): Filter out tst-cleanupx4 here.
9816 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9817 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9818 Don't do those here.
9819
354426bb
JM
98202014-06-26 Joseph Myers <joseph@codesourcery.com>
9821
9822 * scripts/list-sources.sh: Do not handle ports specially.
9823
28b0a8c9
RM
98242014-06-26 Roland McGrath <roland@hack.frob.com>
9825
a3dd035d
RM
9826 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9827 * sysdeps/arm/feupdateenv.c: Likewise.
9828
28b0a8c9
RM
9829 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9830
e66a8203
JM
98312014-06-26 Joseph Myers <joseph@codesourcery.com>
9832
9833 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9834 trailing whitespace removed.
9835 * scripts/config.guess: Update to version 2014-03-23.
9836 * scripts/config.sub: Update to version 2014-05-01
9837 * scripts/install-sh: Update to version 2013-12-25.23.
9838 * scripts/move-if-change: Update from gnulib.
9839
74171115
SP
98402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9841
b97c9ce5
SP
9842 * debug/memmove_chk.c: Remove pagecopy.h include.
9843
4000f892
SP
98442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9845
74171115
SP
9846 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9847 identical to gnulib mktime.
9848
a8779c28
JM
98492014-06-26 Joseph Myers <joseph@codesourcery.com>
9850
e64708de
JM
9851 * configure.ac: Do not test for machine being rs6000. Do not test
9852 for powerpc*-*soft.
9853 * configure: Regenerated.
9854
6a9350c8 9855 [BZ #11505]
a8779c28
JM
9856 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9857 test.
9858 * configure: Regenerated.
9859 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9860 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9861 Remove configure test.
9862 * sysdeps/arm/configure: Regenerated.
9863 * sysdeps/nptl/configure.ac: Do not check
9864 libc_cv_asm_cfi_directives.
9865 * sysdeps/nptl/configure: Regenerated.
9866 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9867 * sysdeps/x86_64/nptl/configure: Remove generated file.
9868 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9869 unconditional.
9870 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9871
2aac0a86
SP
98722014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9873
059bf913
SP
9874 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9875 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9876 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9877 it is defined.
9878
4cf5b6d0
SP
9879 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9880 instead of whether it is defined.
9881 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9882 * sysdeps/hppa/dl-machine.h: Likewise.
9883 * sysdeps/ia64/dl-machine.h: Likewise.
9884 * sysdeps/m68k/dl-machine.h: Likewise.
9885 * sysdeps/microblaze/dl-machine.h: Likewise.
9886 * sysdeps/mips/dl-machine.: Likewise.
9887 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9888 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9889 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9890 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9891 * sysdeps/sh/dl-machine.h: Likewise.
9892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9893 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9894 * sysdeps/tile/dl-machine.h: Likewise.
9895 * sysdeps/x86_64/dl-machine.h: Likewise.
9896
2aac0a86
SP
9897 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9898 code.
9899 (verify_persistent_db): Likewise.
9900
6ad2df0b
RM
99012014-06-26 Roland McGrath <roland@hack.frob.com>
9902
d8a483f3
RM
9903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9904 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9908 Moved ...
9909 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9910 ... here.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9914 Identical file removed.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9920 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9924 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9926 Moved ...
9927 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9933 Moved ...
9934 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9938 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9940 Identical file removed.
9941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9942 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9948 ... here.
9949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9950 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9956 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9960 Moved ...
9961 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9963 Moved ...
9964 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9968 Moved ...
9969 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9971 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9972
52ae23b4
RM
9973 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9974 folded into ...
9975 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9976 * sysdeps/unix/sysv/linux/s390/Versions
9977 (libpthread: GLIBC_2.19): New version set.
9978 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9980 (librt: GLIBC_2.3.3): New version set.
9981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9982 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9983 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9984 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9985 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9987 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9988 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9989 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9991 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9993 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9995 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9996 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9997 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9998 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9999 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10000 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10001 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10003 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10004 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10005 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10007 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10009 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10011 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10017 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10019 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10021 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10026
39507e4a
RM
10027 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10028 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10029 (__libc_vfork): Define the function under this name.
10030 [!NOT_IN_libc] (__vfork): Make this an alias.
10031 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10033 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10034 (__libc_vfork): Define the function under this name.
10035 [!NOT_IN_libc] (__vfork): Make this an alias.
10036 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10037 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10038 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10040 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10041 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10042
e549ee56
RM
10043 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10044 code that was previously under [RESET_PID].
10045 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10046 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10048
6ad2df0b
RM
10049 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10050 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10051 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10052 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10053 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10054 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10055 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10056 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10057 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10058 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10059 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10060 Moved ...
10061 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10067 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10075 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10077 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10079 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10080 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10081 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10082 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10083 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10085 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10086 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10087 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10088 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10089 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10090
7c1c1d8e
RM
100912014-06-25 Roland McGrath <roland@hack.frob.com>
10092
10093 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10094 that was previously under [RESET_PID].
10095 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10096
3e239be6
JM
100972014-06-25 Joseph Myers <joseph@codesourcery.com>
10098
74385da5
JM
10099 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10100 not undefine and redefine.
10101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10102 [O_CLOEXEC]: Make code unconditional.
10103 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10104 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10105 <kernel-features.h>.
10106 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10107 conditional variable definition.
10108 (shm_open) [O_CLOEXEC]: Make code unconditional.
10109 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10110 code.
10111
c2570a0b
JM
10112 * configure.ac (USE_REGPARMS): Don't define here.
10113 * configure: Regenerated.
10114 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10115 * sysdeps/i386/configure: Regenerated.
10116
11b076bb
JM
10117 * nptl/createthread.c: Don't include kernel-features.h.
10118 * nptl/pthread_cancel.c: Likewise.
10119 * nptl/pthread_condattr_setclock.c: Likewise.
10120 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10121 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10122 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10123 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10124 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10125 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10126 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10128 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10129 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10130 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10131 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10132 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10133 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10134 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10135 * nscd/gai.c: Likewise.
10136 * nss/nss_db/db-open.c: Likewise.
10137 * sysdeps/generic/ldsodefs.h: Likewise.
10138 * sysdeps/sh/nptl/tls.h: Likewise.
10139 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10140 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10141 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10142 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10143 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10144 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10145 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10146 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10148 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10149 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10150 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10151 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10152 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10153 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10154 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10155 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10156 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10157 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10158 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10159 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10161 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10162 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10164 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10165 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10167 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10168 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10169 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10170 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10171 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10172 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10173 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10174 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10175 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10176 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10177 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10178 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10179 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10180 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10181 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10182 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10183 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10184 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10185 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10186 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10187 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10188 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10189 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10190 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10191 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10192 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10193 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10194 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10195 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10196 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10219 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10220 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10221 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10222 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10223 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10224 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10225 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10226 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10227 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10228 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10229 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10230 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10231 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10232 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10233 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10234 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10236 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10237 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10238 * sysdeps/unix/sysv/linux/system.c: Likewise.
10239 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10240 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10241 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10242 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10243 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10244 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10245 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10246
92072d57
JM
10247 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10248 * configure: Regenerated.
10249 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10250
3e239be6
JM
10251 * configure.ac (base_machine): Do not set specially for particular
10252 machines here.
10253 * configure: Regenerated.
10254 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10255 settings from configure.ac.
10256 * sysdeps/i386/preconfigure: New file.
10257 * sysdeps/s390/preconfigure: Likewise.
10258 * sysdeps/sh/preconfigure: Likewise.
10259 * sysdeps/sparc/preconfigure: Likewise.
10260
06d50baa
RM
102612014-06-25 Roland McGrath <roland@hack.frob.com>
10262
74836003
RM
10263 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10264 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10265 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10266 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10267 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10268 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10269 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10270 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10271 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10272 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10273 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10274 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10275 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10276 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10279 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10280 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10281 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10282
10283 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10284 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10285 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10286 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10287 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10288 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10289 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10290 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10291 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10292 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10293 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10294 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10295 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10296 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10297 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10298 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10299 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10300 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10301 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10302 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10304 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10305 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10306 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10308 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10310 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10313 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10314 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10315 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10316 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10317 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10318 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10319 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10320 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10321
06d50baa
RM
10322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10323 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10327 Moved ...
10328 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10329 ... here.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10335 Moved ...
10336 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10344 Moved ...
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10347 Moved ...
10348 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10350 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10352 Moved ...
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10357 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10359 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10363 Moved ...
10364 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10365 ... here.
10366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10371 Moved ...
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10380 Moved ...
10381 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10383 Moved ...
10384 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10386 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10388 Moved ...
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10394
a4ccbc9b
JM
103952014-06-25 Joseph Myers <joseph@codesourcery.com>
10396
0828edbf
JM
10397 * timezone/checktab.awk: Update from tzcode 2014e.
10398 * timezone/private.h: Likewise.
10399 * timezone/tzfile.h: Likewise.
10400 * timezone/zdump.c: Likewise.
10401 * timezone/zic.c: Likewise.
10402
a4ccbc9b
JM
10403 * sysdeps/unix/sysv/linux/kernel-features.h
10404 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10405 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10406 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10407 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10408 Remove conditional code.
10409
9aea0cb8
WN
104102014-06-25 Will Newton <will.newton@linaro.org>
10411
10412 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10413 (_dl_arm_cap_flags): Add HWCAP2 values.
10414 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10415 (_DL_HWCAP_COUNT): Increase to 37.
10416 (_DL_HWCAP_LAST): New define.
10417 (_DL_HWCAP2_LAST): New define.
10418 (_dl_procinfo): Add support for printing
10419 AT_HWCAP2 entries.
10420 (_dl_string_hwcap): Use _dl_hwcap_string.
10421
6eaa65ce
AZ
104222014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10423
10424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10425
0f5b7185
JM
104262014-06-25 Joseph Myers <joseph@codesourcery.com>
10427
cfd2ea50
JM
10428 * README: Do not mention ports directory.
10429
cecf2ed4
JM
10430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10431 Remove macro.
10432 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10433 <kernel-features.h>.
10434 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10435 conditional variable definition.
10436 (__futimes): Update comment.
10437 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10438 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10439
a638de82
JM
10440 [BZ #16560]
10441 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10442 arguments close to 0.
10443 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10444 Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10446 Likewise.
10447 * math/auto-libm-test-in: Add more tests of exp10.
10448 * math/auto-libm-test-out: Regenerated.
10449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10450
0f5b7185
JM
10451 * sysdeps/unix/sysv/linux/kernel-features.h
10452 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10453 * sysdeps/unix/sysv/linux/readv.c: Do not include
10454 <kernel-features.h>.
10455 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10456 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10457 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10458 unconditional.
10459 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10460 conditional code.
10461 * sysdeps/unix/sysv/linux/writev.c: Do not include
10462 <kernel-features.h>.
10463 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10464 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10465 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10466 unconditional.
10467 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10468 conditional code.
10469
c7aec4be
WN
104702014-06-25 Will Newton <will.newton@linaro.org>
10471
10472 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10473 comment changes throughout the file. Remove checks
10474 for HAVE_*_H definitions that are not required.
10475 (__gen_tempname): Call abort if an unknown kind value is
10476 passed.
10477
c5241f95
AS
104782014-06-25 Andreas Schwab <schwab@suse.de>
10479
10480 [BZ #17086]
10481 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10482 scalbln, scalblnf, scalblnl in libc.
10483
911422da
SP
104842014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10485
10486 [BZ #17086]
10487 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10488 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10489 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10490
0d749bbe
RM
104912014-06-24 Roland McGrath <roland@hack.frob.com>
10492
10493 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10494 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10495 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10496 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10497 Update #include.
10498 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10499 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10500 Update #include.
10501 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10502 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10503 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10504 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10505 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10506 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10507 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10508 * sysdeps/x86/bits/semaphore.h: ... here.
10509 * sysdeps/x86/nptl/elide.h: Moved ...
10510 * sysdeps/x86/elide.h: ... here.
10511 * sysdeps/x86_64/nptl/Implies: File removed.
10512 * sysdeps/i386/nptl/Implies: File removed.
10513
0ea5d373
JM
105142014-06-24 Joseph Myers <joseph@codesourcery.com>
10515
4060283d
JM
10516 [BZ #16539]
10517 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10518 return the argument for normal arguments with exponent below -64.
10519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10520 Likewise.
10521 * math/auto-libm-test-in: Add another test of expm1.
10522 * math/auto-libm-test-out: Regenerated.
10523
e7dd3c8c
JM
10524 [BZ #16287]
10525 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10526 calling __erfcl for arguments at least 16.
10527 * math/auto-libm-test-in: Add more tests of erf.
10528 * math/auto-libm-test-out: Regenerated.
10529
0ea5d373
JM
10530 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10531 individual architectures.
10532 * sysdeps/unix/sysv/linux/configure: Regenerated.
10533 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10534 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10535 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10536 (ldd_rewrite_script): Define variable.
10537 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10539 file.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10541 generated file.
10542 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10543 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10544 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10545 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10546 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10547 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10548 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10549 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10550
2307e126
SP
105512014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10552
10553 [BZ #17084]
10554 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10555 Rename member __data.d to __data.__elision_data.
10556
c0a4ed77
W
105572014-06-24 Wilco <wdijkstr@arm.com>
10558
10559 * NEWS: Add 16918 to fixed bug list.
10560
b8c00573
W
105612014-06-24 Wilco <wdijkstr@arm.com>
10562
10563 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10564
b5570d92
W
105652014-06-24 Wilco <wdijkstr@arm.com>
10566
10567 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10568 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10569 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10570 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10571 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10572 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10573 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10574 Use _FPU_MASK_RM.
10575
947bdca2
W
105762014-06-24 Wilco <wdijkstr@arm.com>
10577
10578 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10579
00f669ed
W
105802014-06-24 Wilco <wdijkstr@arm.com>
10581
10582 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10583 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10584 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10585 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10586
db59bad3
W
105872014-06-24 Wilco <wdijkstr@arm.com>
10588
10589 [BZ #16918]
10590 * sysdeps/arm/feupdateenv.c (feupdateenv):
10591 Rewrite to reduce FPSCR accesses and fix return value.
10592
001f7b77
W
105932014-06-24 Wilco <wdijkstr@arm.com>
10594
10595 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10596 Optimize to avoid unnecessary FPSCR writes.
10597 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10598 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10599 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10600 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10601
4841e6a6
W
106022014-06-24 Wilco <wdijkstr@arm.com>
10603
10604 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10605 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10606 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10607 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10608 Call libc_fetestexcept_vfp.
10609 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10610 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10611 __SOFTFP__ ifdef so that they can be built for softfp.
10612
0813022c
SP
106132014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10614
08e5862f
SP
10615 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10616 argument type signed char.
10617
0813022c
SP
10618 * Makerules (check-abi): Dump diff of symlist if the test
10619 fails.
10620
3fc7236a
RM
106212014-06-23 Roland McGrath <roland@hack.frob.com>
10622
aba8ef95
RM
10623 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10624 using abort.
10625
3fc7236a
RM
10626 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10627 Remove unused variable ST.
10628
4da6db51
JM
106292014-06-23 Joseph Myers <joseph@codesourcery.com>
10630
4648909d
JM
10631 [BZ #16354]
10632 [BZ #17061]
10633 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10634 small arguments before calling __expm1.
10635 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10636 small arguments before calling __expm1f.
10637 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10638 small arguments before calling __expm1l.
10639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10640 Likewise.
10641 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10642 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10643 spurious underflow for some cosh tests.
10644 * math/auto-libm-test-out: Regenerated.
10645 * sysdeps/i386/fpu/libm-test-ulps: Update.
10646
46a3d3c7
JM
10647 [BZ #17050]
10648 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10649 (__ieee754_y1): Set errno if return value overflows.
10650 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10651 (__ieee754_y1f): Set errno if return value overflows.
10652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10653 (__ieee754_y1l): Set errno if return value overflows.
10654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10655 (__ieee754_y1l): Set errno if return value overflows.
10656 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10657 * math/auto-libm-test-out: Regenerated.
10658
863893ec
JM
10659 * math/gen-auto-libm-tests.c: Document use of
10660 ignore-zero-inf-sign.
10661 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10662 (input_flags): Add ignore-zero-inf-sign.
10663 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10664 * math/gen-libm-test.pl (generate_testfile): Handle
10665 ignore-zero-inf-sign.
10666 * math/auto-libm-test-in: Mark some cpow tests with
10667 ignore-zero-inf-sign and some with xfail-rounding.
10668 * math/auto-libm-test-out: Regenerated.
10669 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10670 * sysdeps/i386/fpu/libm-test-ulps: Update.
10671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10672
4da6db51
JM
10673 [BZ #16315]
10674 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10675 overflowing or underflowing operations take place with sign of
10676 result.
10677 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10678 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10679 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10680 (__ieee754_pow): Recompute overflowing and underflowing results in
10681 original rounding mode.
10682 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10683 (__powl_helper): Allow negative argument X and scale negated value
10684 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10685 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10686 overflowing or underflowing operations take place with sign of
10687 result.
10688 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10689 Include <math.h>.
10690 * math/auto-libm-test-in: Add more tests of pow.
10691 * math/auto-libm-test-out: Regenerated.
10692 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10693 (pow_tonearest_test_data): Remove.
10694 (pow_test_tonearest): Likewise.
10695 (pow_towardzero_test_data): Likewise.
10696 (pow_test_towardzero): Likewise.
10697 (pow_downward_test_data): Likewise.
10698 (pow_test_downward): Likewise.
10699 (pow_upward_test_data): Likewise.
10700 (pow_test_upward): Likewise.
10701 (main): Don't call removed functions.
10702 * sysdeps/i386/fpu/libm-test-ulps: Update.
10703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10704
5686b236
RM
107052014-06-23 Roland McGrath <roland@hack.frob.com>
10706
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10708 Moved ...
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10711 Moved ...
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10714 Moved ...
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10717 Moved ...
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10720 File removed.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10722 File removed.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10724 File removed.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10726 File removed.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10728 File removed.
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10730 File removed.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10732 File removed.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10734 File removed.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10736 File removed.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10738 File removed.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10740 File removed.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10742 File removed.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10744 Moved ...
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10747 Moved ...
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10749 ... here.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10751 Moved ...
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10754 Moved ...
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10757 Moved ...
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10760 Moved ...
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10763 Moved ...
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10766 Moved ...
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10769 Moved ...
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10773 ... here.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10775 Moved ...
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10778 Moved ...
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10780 ... here.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10782 Moved ...
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10784 ... here.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10786 Moved ...
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10788 ... here.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10790 Moved ...
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10793 Moved ...
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10798 Moved ...
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10800 ... here.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10802 Moved ...
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10804 ... here.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10806 Moved ...
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10812 Moved ...
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10815 Moved ...
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10818 Moved ...
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10820 ... here.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10822 Moved ...
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10825 Moved ...
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10828 Moved ...
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10831 Moved ...
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10836 Moved ...
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10839 Moved ...
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10842 Moved ...
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10844 ... here.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10846 Moved ...
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10848 ... here.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10850 Moved ...
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10852 ... here.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10854 Moved ...
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10857 Moved ...
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10860 Moved ...
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10863 Moved ...
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10865 ... here.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10867 Moved ...
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10869 ... here.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10871 Moved ...
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10873 ... here.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10875 Moved ...
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10878 Moved ...
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10880
e6d90d67
WD
108812014-06-23 Will Newton <will.newton@linaro.org>
10882 Wilco <wdijkstr@arm.com>
10883
10884 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10885 implementation. Include get-rounding-mode.h.
10886 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10887 [!libc_feholdsetround_noex_ctx]: Define
10888 libc_feholdsetround_noex_ctx.
10889 [!libc_feholdsetround_noexf_ctx]: Define
10890 libc_feholdsetround_noexf_ctx.
10891 [!libc_feholdsetround_noexl_ctx]: Define
10892 libc_feholdsetround_noexl_ctx.
10893 (libc_feholdsetround_ctx): New function.
10894 (libc_feresetround_ctx): New function.
10895 (libc_feholdsetround_noex_ctx): New function.
10896 (libc_feresetround_noex_ctx): New function.
10897
d42df555
RM
108982014-06-23 Roland McGrath <roland@hack.frob.com>
10899
88a46474
RM
10900 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10901 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10902 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10903 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10904 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10905 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10906
15bed472
RM
10907 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10908 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10909 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10910 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10911 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10912 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10914 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10916 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10918 Moved ...
10919 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10920 ... here.
10921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10922 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10924 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10925 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10926 Moved ...
10927 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10929 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10930 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10931 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10933 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10935 Moved ...
10936 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10937 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10938 Moved ...
10939 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10941 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10943 Moved ...
10944 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10945 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10946 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10947 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10948 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10949 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10950 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10952 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10954 Moved ...
10955 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10956 ... here.
10957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10958 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10970 Moved ...
10971 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10972 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10973 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10974 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10975 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10977 Moved ...
10978 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10982 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10983
d42df555
RM
10984 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10985 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10987 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10991 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10993 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10994 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10995 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10996 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10997 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10999 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11001 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11005 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11007 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11012
76e5216e
JM
110132014-06-23 Joseph Myers <joseph@codesourcery.com>
11014
11015 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11016 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11017 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11018 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11019 (IPV6_PMTUDISC_INTERFACE): Likewise.
11020 (IPV6_PMTUDISC_OMIT): Likewise.
11021
7a81cbcc
AS
110222014-06-23 Andreas Schwab <schwab@suse.de>
11023
11024 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11025 Remove unused errout label.
11026
db224009
AZ
110272014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11028
11029 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11030 macro: hardware supports Vector Crypto instructions.
11031
f393b4aa
WN
110322014-06-23 Will Newton <will.newton@linaro.org>
11033
cc7d0447
WN
11034 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11035 rather than __builtin_expect.
11036
d6d06225
WN
11037 * elf/dl-lookup.c (undefined_msg): Remove variable.
11038 (_dl_lookup_symbol_x): Replace undefined_msg with string
11039 literal.
11040
f393b4aa
WN
11041 * elf/dl-lookup.c (do_lookup_unique): New function.
11042 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11043 to a separate function.
11044
ac60763e
AS
110452014-06-23 Andreas Schwab <schwab@suse.de>
11046
11047 [BZ #17079]
11048 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11049 before reading the next line.
11050
c5c13355
WN
110512014-06-23 Will Newton <will.newton@linaro.org>
11052
11053 * test-skeleton.c (signal_handler): Use printf and %m
11054 rather than perror. Use printf rather than fprintf to
11055 stderr. Use puts rather than fputs to stderr.
11056 (main): Likewise.
11057
bd3675f9
LC
110582014-06-22 Ludovic Courtès <ludo@gnu.org>
11059
11060 * nscd/nscd.c (thread_info_t): Remove typedef.
11061 (thread_info): Remove variable.
11062
d03efb2f
AM
110632014-06-21 Allan McRae <allan@archlinux.org>
11064
11065 * NEWS: Mention CVE-2014-4043.
11066
bc4a86fa
RM
110672014-06-20 Roland McGrath <roland@hack.frob.com>
11068
dc9a54f8
RM
11069 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11070 * nptl/smp.h: ... here.
11071
bd7022c4
RM
11072 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11073
26ffd5e6
RM
11074 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11075 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11076 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11077 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11078
93a6d082
RM
11079 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11080 * nptl/stack-aliasing.h: New file.
11081 * sysdeps/i386/i686/stack-aliasing.h: New file.
11082 * sysdeps/i386/i686/nptl/Makefile: File removed.
11083 * sysdeps/x86_64/stack-aliasing.h: New file.
11084 * sysdeps/x86_64/nptl/Makefile
11085 (CFLAGS-pthread_create.c): Variable removed.
11086
bc4a86fa
RM
11087 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11088 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11089 old file.
11090 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11091 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11092 old file.
11093
2272ffc1
JM
110942014-06-21 Joseph Myers <joseph@codesourcery.com>
11095
11096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11097 (__ASSUME_SIGFRAME_V2): Remove macro.
11098 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11099 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11100 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11101 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11102 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11103 Declare as function. Remove conditional macro definitions.
11104 (__default_rt_sa_restorer): Likewise.
11105 (__default_sa_restorer_v1): Remove declaration.
11106 (__default_sa_restorer_v2): Likewise.
11107 (__default_rt_sa_restorer_v1): Likewise.
11108 (__default_rt_sa_restorer_v2): Likewise.
11109 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11110 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11111 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11112
4b88139b
RM
111132014-06-20 Roland McGrath <roland@hack.frob.com>
11114
11115 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11116 (libpthread-routines): Add sysdep.
11117 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11118 * sysdeps/unix/sysv/linux/sparc/Versions
11119 (libpthread: GLIBC_2.3.3): New version set.
11120 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11121 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11122 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11123 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11124 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11125 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11126 Moved ...
11127 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11129 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11131 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11132 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11133 * sysdeps/sparc/nptl/sem_init.c: ... here.
11134 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11135 * sysdeps/sparc/nptl/sem_post.c: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11137 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11139 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11140 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11141 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11142 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11143 (libpthread-routines): Add cpu_relax.
11144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11145 File removed.
11146 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11147 (librt: GLIBC_2.3.3): New version set.
11148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11149 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11150 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11151 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11156 Moved ...
11157 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11159 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11161 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11163 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11165 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11167 Moved ...
11168 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11169 Update #include.
11170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11171 Moved ...
11172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11173 Update #include.
11174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11175 Moved ...
11176 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11177 Update #include.
11178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11179 Moved ...
11180 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11181 Update #include.
11182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11183 Moved ...
11184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11185 Update #include.
11186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11187 Moved ...
11188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11189 Update #include.
11190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11191 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11197 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11199 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11201 Moved ...
11202 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11204 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11207
d7109027
JM
112082014-06-20 Joseph Myers <joseph@codesourcery.com>
11209
9bc6103d
JM
11210 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11211 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11212 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11213 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11214 * nscd/nscd.c: Likewise.
11215 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11216 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11217 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11218 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11219
d7109027
JM
11220 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11221 <kernel-features.h>.
11222 (init_mq_netlink): Remove conditional have_sock_cloexec
11223 definitions. Remove code conditional on have_sock_cloexec < 0.
11224 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11225 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11226 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11227 <kernel-features.h>.
11228 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11229 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11230
d92d8f8a
L
112312014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11234 Add tests for memset_chk and memset.
11235
11236 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11237 with AVX2_Usable.
11238
4e6d2347
MR
112392014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11240
257ce712
MR
11241 [BZ #16046]
11242 * elf/tst-dl-iter-static.c: New file.
11243 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11244
4e6d2347
MR
11245 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11246 error.
11247
a2a76afe
JM
112482014-06-20 Joseph Myers <joseph@codesourcery.com>
11249
7fd00f99
JM
11250 * sysdeps/unix/sysv/linux/kernel-features.h
11251 (__ASSUME_F_GETOWN_EX): Remove macro.
11252 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11253 <kernel-features.h>.
11254 (miss_F_GETOWN_EX): Remove variable or macro.
11255 (do_fcntl): Do not check miss_F_GETOWN_EX.
11256 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11257
4a103975
JM
11258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11259 Remove macro.
11260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11261 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11262 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11263
a2a76afe
JM
11264 * sysdeps/unix/sysv/linux/kernel-features.h
11265 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11266 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11267 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11268 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11269
90e5dd48
MR
112702014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11271
11272 [BZ #17075]
11273 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11274 Fix calculation of the symbol's value.
11275 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11276 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11277 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11278 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11279 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11280 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11281 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11282 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11283 (modules-names): Add `tst-armtlsdescmod',
11284 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11285 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11286 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11287 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11288 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11289 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11290 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11291 ($(objpfx)tst-armtlsdescloc): New dependency.
11292 ($(objpfx)tst-armtlsdescextnow): Likewise.
11293 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11294 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11295 TLS scheme support.
11296 * sysdeps/arm/configure: Regenerate.
11297
809fdf0d
JM
112982014-06-20 Joseph Myers <joseph@codesourcery.com>
11299
11300 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11301 (__atfct_seterrno_2): Likewise.
11302 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11303 <kernel-features.h>.
11304 (__ASSUME_ATFCTS): Do not undefine and redefine.
11305 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11306 (__have_atfcts): Remove conditional definition.
11307 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11308 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11309 unreachable if [__ASSUME_ATFCTS].
11310 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11311 not undefine and redefine.
11312 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11313 <kernel-features.h>.
11314 (faccessat) [__NR_faccessat]: Make code unconditional.
11315 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11316 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11317 <kernel-features.h>.
11318 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11319 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11320 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11321 <kernel-features.h>.
11322 (fchownat) [__NR_fchownat]: Make code unconditional.
11323 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11324 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11325 <kernel-features.h>.
11326 (futimesat) [__NR_futimesat]: Make code unconditional.
11327 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11328 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11329 <kernel-features.h>.
11330 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11331 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11332 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11333 <kernel-features.h>.
11334 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11335 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11336 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11337 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11338 <kernel-features.h>.
11339 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11340 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11341 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11342 <kernel-features.h>.
11343 (linkat) [__NR_linkat]: Make code unconditional.
11344 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11345 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11346 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11347 <kernel-features.h>.
11348 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11349 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11350 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11351 <kernel-features.h>.
11352 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11353 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11354 * sysdeps/unix/sysv/linux/openat.c: Do not include
11355 <kernel-features.h>.
11356 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11357 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11358 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11359 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11360 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11361 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11362 <kernel-features.h>.
11363 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11364 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11365 result of INLINE_SYSCALL directly, not via int variable.
11366 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11367 <kernel-features.h>.
11368 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11369 (renameat) [__NR_renameat]: Make code unconditional.
11370 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11371 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11372 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11373 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11374 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11375 (__ASSUME_ATFCTS): Do not undefine and redefine.
11376 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11377 <kernel-features.h>.
11378 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11379 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11380 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11381 <kernel-features.h>.
11382 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11383 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11384 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11385 (__ASSUME_ATFCTS): Do not undefine and redefine.
11386 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11387 <kernel-features.h>.
11388 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11389 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11390 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11391 <kernel-features.h>.
11392 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11393 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11394
224c6c51
L
113952014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11396
11397 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11398
aa6ec754
AS
113992014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11400
11401 [BZ #17069]
11402 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11403 constructed tree before returning error.
11404 * posix/bug-regexp36.c: Expand test case.
11405
d8c2869d
SL
114062014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11407
3ef6b850
SL
11408 [BZ #6803]
11409 * math/libm-test.inc (scalbln_test_date):
11410 Add errno expectations.
11411 * math/w_scalblnf.c: New File.
11412 Add wrapper which checks for setting errno to ERANGE.
11413 Add weak_alias for corresponding scalbln function.
11414 * math/w_scalbln.c: Likewise.
11415 * math/w_scalblnl.c: Likewise.
11416 * math/Makefile (libm-calls): Add w_scalbln.
11417 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11418 Remove weak_alias for corresponding scalbln function.
11419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11423 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11424 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11425 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11426 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11427 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11428 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11429 Remove long_double_symbol for scalblnl function in libm, libc.
11430 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11431 Add wrapper which checks for setting errno to ERANGE.
11432 Add long_double_symbol for scalblnl function in libm, libc.
11433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11434 Remove long_double_symbol for scalblnl in libm.
11435 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11436 Add wrapper which checks for setting errno to ERANGE.
11437 Add long_double_symbol for scalblnl function in libm.
11438 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11439 Do not use wrapper because of own implementation.
11440
c8daec5c
L
114412014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11444 3 bytes for __pad1 for x32.
11445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11446
5c74e47c
LM
114472014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11448 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11451 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11452 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11453 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11454 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11455
4d43ef1e
AS
114562014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11457
11458 [BZ #17069]
11459 * posix/regcomp.c (parse_expression): Deallocate partially
11460 constructed tree before returning error.
11461 * posix/Makefile.c (tests): Add bug-regex36.
11462 (generated): Add bug-regex36.mtrace.
11463 (tests-special): Add $(objpfx)bug-regex36-mem.out
11464 (bug-regex36-ENV): New variable.
11465 ($(objpfx)bug-regex36-mem.out): New rule.
11466 * posix/bug-regex36.c: New file.
11467
51a7380b
WN
114682014-06-19 Will Newton <will.newton@linaro.org>
11469
11470 * malloc/malloc.c (systrim): If extra is zero then return
11471 early.
11472
91b84fe5
SP
114732014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11474
11475 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11476
f940b965
RE
114772014-06-19 Richard Earnshaw <rearnsha@arm.com>
11478
11479 * sysdeps/aarch64/strchr.S: New file.
11480
4ba7a00f
JM
114812014-06-18 Joseph Myers <joseph@codesourcery.com>
11482
11483 [BZ #17022]
11484 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11485 from arguments -2 or below.
11486 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11487 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11488
b3a9f56b
AS
114892014-06-18 Andreas Schwab <schwab@suse.de>
11490
11491 [BZ #17062]
11492 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11493 of a bracket expr not to run off the end of the string.
11494 * posix/Makefile (tests): Add tst-fnmatch3.
11495 * posix/tst-fnmatch3.c: New file.
11496
85d89278
JM
114972014-06-18 Joseph Myers <joseph@codesourcery.com>
11498
11499 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11500 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11501 [$(cross-compiling) = no]: Likewise.
11502 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11503 [$(cross-compiling) = no]: Likewise.
11504
754c5a08
RS
115052014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11506
11507 [BZ #17031]
11508 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11509 double, adjusted for any remainder from the high double.
11510 * math/libm-test.inc (nearbyint): Add tests.
11511 (rint): Likewise.
11512
556f529d
AZ
115132014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11514
11515 * nptl/sysdeps/powerpc/Makefile: Moved ...
11516 * sysdeps/powerpc/nptl/Makefile: ... here.
11517 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11518 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11519 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11520 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11521 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11522 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11523 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11524 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11525 * nptl/sysdeps/powerpc/tls.h: Moved ...
11526 * sysdeps/powerpc/nptl/tls.h: ... here.
11527
91c03c53
JM
115282014-06-16 Joseph Myers <joseph@codesourcery.com>
11529
11530 [BZ #16681]
11531 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11532 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11533 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11534 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11535 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11536 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11537 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11538 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11539 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11540
a76e63c5
AS
115412014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11542
11543 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11544
f2f6d82f
AS
115452014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11546
ea8a15f6
AS
11547 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11548 defined operator.
11549
f2f6d82f
AS
11550 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11551 $TIMEOUTFACTOR.
11552
a7291117
FW
115532014-06-16 Florian Weimer <fweimer@redhat.com>
11554
11555 [BZ #17058]
11556 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11557 non-executed part of the test.
11558
3d7c00e3
AS
115592014-06-16 Andreas Schwab <schwab@suse.de>
11560
11561 * string/bits/string2.h (strdup, strndup): Update feature guard.
11562
6957fb31
DM
115632014-06-14 David S. Miller <davem@davemloft.net>
11564
11565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11566
11b9e55b
AS
115672014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11568
1d2a0492
AS
11569 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11570 that was previously under [RESET_PID].
11571 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11572
11b9e55b
AS
11573 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11574 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11575 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11576 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11577 (__libc_vfork): New strong alias.
11578 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11579
0f6901d0
AK
115802014-06-14 Andi Kleen <ak@linux.intel.com>
11581
11582 * sysdeps/generic/elide.h: New file.
11583
38bbbb9f
SL
115842014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11585
11586 * Makefile (installed-headers): Adjust path of pthread.h header.
11587
45193bb8
RM
115882014-06-13 Roland McGrath <roland@hack.frob.com>
11589
9a25fd1e
RM
11590 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11591 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11593 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11594
4004f7e4
RM
11595 * nptl/sysdeps/s390/Makefile: Moved ...
11596 * sysdeps/s390/nptl/Makefile: ... here.
11597 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11598 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11599 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11600 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11601 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11602 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11603 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11604 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11605 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11606 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11607 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11608 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11609 * nptl/sysdeps/s390/tls.h: Moved ...
11610 * sysdeps/s390/nptl/tls.h: ... here.
11611
45193bb8
RM
11612 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11613 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11614
f6fdf533
DM
116152014-06-13 David S. Miller <davem@davemloft.net>
11616
11617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11620 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11625 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11626 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11627 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11628 Remove RESET_PID cpp guards.
11629 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11630 Remove RESET_PID cpp guards.
11631 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11632
f5d71e14
AS
116332014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11634
11635 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11636 __sp to uintptr_t.
11637
b7aa8caa
AK
116382014-06-13 Andi Kleen <ak@linux.intel.com>
11639
4b266200
AZ
11640 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11641 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11642 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11643 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11644 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11645 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11646 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11647 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11648 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11649 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11651 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11652 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11653 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11654 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11658 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11660
11661 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11662 (pthread_rwlock_rdlock): Add elision.
11663 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11664 (pthread_rwlock_wrlock): Add elision.
11665 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11666 (pthread_rwlock_trywrlock): Add elision.
11667 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11668 (pthread_rwlock_tryrdlock): Add elision.
11669 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11670 (pthread_rwlock_tryrdlock): Add elision unlock.
11671 * nptl/sysdeps/pthread/pthread.h:
11672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11673 (PTHREAD_RWLOCK_INITIALIZER,
11674 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11675 Handle new elision field.
11676 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11677 * sysdeps/arm/nptl/bits/pthreadtypes.h
11678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11679 * sysdeps/sh/nptl/bits/pthreadtypes.h
11680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11681 * sysdeps/tile/nptl/bits/pthreadtypes.h
11682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11683 * sysdeps/a/nptl/bits/pthreadtypes.h
11684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11685 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11687 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11689 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11691 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11693 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11695 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11697 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11699 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11701 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11702 (elision_init): Set try_xbegin to zero when no RTM.
11703 * sysdeps/x86/nptl/bits/pthreadtypes.h
11704 (pthread_rwlock_t): Change __pad1 to __rwelision.
11705 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11706
a832bdd3
AK
117072014-06-13 Andi Kleen <ak@linux.intel.com>
11708
11709 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11710 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11711 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11712 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11713
995a46bb
MI
117142014-06-13 Meador Inge <meadori@codesourcery.com>
11715
11716 [BZ #16996]
03ed7738 11717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11718 that the cached result has been set before returning it.
11719
45262aee
RM
117202014-06-12 Roland McGrath <roland@hack.frob.com>
11721
febf6cc5
RM
11722 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11723 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11724 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11725 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11727 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11728
e2682246
RM
11729 * nptl/sysdeps/sparc/Makefile: Moved ...
11730 * sysdeps/sparc/nptl/Makefile: ... here.
11731 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11732 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11733 * nptl/sysdeps/sparc/tls.h: Moved ...
11734 * sysdeps/sparc/nptl/tls.h: ... here.
11735 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11736 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11737 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11738 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11739 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11740 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11741 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11742 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11743 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11744 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11745 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11746 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11747 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11748 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11749 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11750 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11751 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11753 Update #include.
11754 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11755 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11756 Update #include.
11757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11759 Update #include.
11760 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11762 Update #include.
11763
b0725f43
RM
11764 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11765
b14368b8
RM
11766 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11767 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11768
c5620eb3
RM
11769 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11770 (struct list_links): Type removed.
11771 (struct thread_node, struct timer_node): Replace struct list_links
11772 with struct list_head.
11773 (list_unlink_ip): Likewise.
11774 * sysdeps/pthread/timer_routines.c
11775 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11776 (list_append, list_insbefore): Likewise.
11777 (list_init): Function removed.
11778 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11779 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11780 * sysdeps/pthread/Makefile: ... here, new file.
11781
11782 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11783 * sysdeps/nptl/Implies: ... here.
11784 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11785 * nptl/sysdeps/pthread/list.h: Moved ...
11786 * include/list.h: ... here.
11787 * nptl/sysdeps/pthread/createthread.c: Moved ...
11788 * nptl/createthread.c: ... here.
11789 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11790 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11791 * nptl/pt-longjmp.c: ... here.
11792 * nptl/sysdeps/pthread/Makefile: Moved ...
11793 * sysdeps/nptl/Makefile: ... here.
11794 * nptl/sysdeps/pthread/Subdirs: Moved ...
11795 * sysdeps/nptl/Subdirs: ... here.
11796 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11797 * sysdeps/nptl/aio_misc.h: ... here.
11798 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11799 * sysdeps/nptl/bits/libc-lock.h: ... here.
11800 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11801 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11802 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11803 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11804 * nptl/sysdeps/pthread/configure: Moved ...
11805 * sysdeps/nptl/configure: ... here.
11806 * nptl/sysdeps/pthread/configure.ac: Moved ...
11807 * sysdeps/nptl/configure.ac: ... here.
11808 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11809 * sysdeps/nptl/gai_misc.h: ... here.
11810 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11811 * sysdeps/nptl/librt-cancellation.c: ... here.
11812 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11813 * sysdeps/nptl/malloc-machine.h: ... here.
11814 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11815 * sysdeps/nptl/pthread-functions.h: ... here.
11816 * nptl/sysdeps/pthread/pthread.h: Moved ...
11817 * sysdeps/nptl/pthread.h: ... here.
11818 * nptl/sysdeps/pthread/setxid.h: Moved ...
11819 * sysdeps/nptl/setxid.h: ... here.
11820 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11821 * sysdeps/nptl/sigfillset.c: ... here.
11822 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11823 * sysdeps/nptl/tcb-offsets.h: ... here.
11824 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11825 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11826 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11827 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11828 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11829 * sysdeps/pthread/allocalim.h: ... here.
11830 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11831 * sysdeps/pthread/bits/sigthread.h: ... here.
11832 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11833 * sysdeps/pthread/flockfile.c: ... here.
11834 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11835 * sysdeps/pthread/ftrylockfile.c: ... here.
11836 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11837 * sysdeps/pthread/funlockfile.c: ... here.
11838 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11839 * sysdeps/pthread/posix-timer.h: ... here.
11840 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11841 * sysdeps/pthread/timer_create.c: ... here.
11842 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11843 * sysdeps/pthread/timer_delete.c: ... here.
11844 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11845 * sysdeps/pthread/timer_getoverr.c: ... here.
11846 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11847 * sysdeps/pthread/timer_gettime.c: ... here.
11848 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11849 * sysdeps/pthread/timer_routines.c: ... here.
11850 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11851 * sysdeps/pthread/timer_settime.c: ... here.
11852 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11853 * sysdeps/pthread/tst-timer.c: ... here.
11854 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11855 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11856
e876b090
RM
11857 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11858 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11859
f6b07b3d
RM
11860 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11861 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11862 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11863 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11864 Update #include target.
11865 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11866 * sysdeps/i386/i686/nptl/Makefile: ... here.
11867 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11868 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11869 Update #include target.
11870 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11871 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11872 * nptl/sysdeps/i386/Makefile: Moved ...
11873 * sysdeps/i386/nptl/Makefile: ... here.
11874 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11875 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11876 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11877 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11878 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11879 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11880 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11881 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11882 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11883 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11884 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11885 * nptl/sysdeps/i386/tls.h: Moved ...
11886 * sysdeps/i386/nptl/tls.h: ... here.
11887
45262aee
RM
11888 * sysdeps/sh/Makefile [$(subdir) = csu]
11889 (gen-as-const-headers): Add tcb-offsets.sym.
11890 * nptl/sysdeps/sh/Makefile: File removed.
11891 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11892 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11893 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11894 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11895 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11896 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11897 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11898 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11899 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11900 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11901 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11902 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11903 * nptl/sysdeps/sh/tls.h: Moved ...
11904 * sysdeps/sh/nptl/tls.h: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11906 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11907 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11908 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11909 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11910 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11911 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11912 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11913 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11914 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11916 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11918 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11920 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11922 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11924 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11926 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11928 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11930 Moved ...
11931 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11933 Moved ...
11934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11937 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11938 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11939 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11940 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11941 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11942 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11943 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11944 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11946 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11947 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11948 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11949 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11950 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11952 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11953
35a5e3e3
SL
119542014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11955
11956 * posix/spawn_faction_addopen.c: Include string.h.
11957
14642b85
RM
119582014-06-11 Roland McGrath <roland@hack.frob.com>
11959
11960 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11961 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11962 * nptl/sysdeps/x86_64/Makefile: Moved ...
11963 * sysdeps/x86_64/nptl/Makefile: ... here.
11964 * nptl/sysdeps/x86_64/configure: Moved ...
11965 * sysdeps/x86_64/nptl/configure: ... here.
11966 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11967 * sysdeps/x86_64/nptl/configure.ac: ... here.
11968 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11969 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11970 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11971 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11972 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11973 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11974 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11975 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11976 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11977 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11978 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11979 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11980 * nptl/sysdeps/x86_64/tls.h: Moved ...
11981 * sysdeps/x86_64/nptl/tls.h: ... here.
11982 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11983 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11984 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11985 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11986
11987 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11988
31c44fea
AZ
119892014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11990
11991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11992
e81a4f9a
JM
119932014-06-11 Joseph Myers <joseph@codesourcery.com>
11994
11995 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11996 type.
11997 [POSIX] (off_t): Likewise.
11998 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11999 [POSIX] (S_ISBLK): Require macro.
12000 [POSIX] (S_ISCHR): Likewise.
12001 [POSIX] (S_ISDIR): Likewise.
12002 [POSIX] (S_ISFIFO): Likewise.
12003 [POSIX] (S_ISREG): Likewise.
12004 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12005 optional-macro.
12006 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12007 type.
12008 [POSIX] (time_t): Likewise.
12009 [POSIX] (timer_t): Likewise.
12010
89e435f3
FW
120112014-06-11 Florian Weimer <fweimer@redhat.com>
12012
12013 [BZ #17048]
12014 * posix/spawn_int.h (struct __spawn_action): Make the path string
12015 non-const to support deallocation.
12016 * posix/spawn_faction_addopen.c
12017 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12018 * posix/spawn_faction_destroy.c
12019 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12020 path in all spawn_do_open actions.
12021 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12022 posix_spawn_file_actions_addopen.
12023
c3a2ebe1
CM
120242014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12025
12026 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12027 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12028 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12029 conditional code always true.
12030 (__libc_vfork): New alias.
12031
9503784a
RM
120322014-06-11 Roland McGrath <roland@hack.frob.com>
12033
c9cab3d2
RM
12034 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12035 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12036
d3996c79
RM
12037 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12038
ba5ec611
RM
12039 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12040 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12041
f12b4814
RM
12042 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12043 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12044
9503784a
RM
12045 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12046 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12047
e23d3d26
VR
120482014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12049
12050 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12051 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12052 multiarch strcmp for PPC64.
12053 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12054 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12056 multiarch optimizations.
12057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12058 (__libc_ifunc_impl_list): Likewise.
12059
42b1161e
SP
120602014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12061
12062 * benchtests/scripts/validate_benchout.py: New script.
12063 * benchtests/Makefile (bench-func): Call it.
12064 * benchtests/scripts/benchout.schema.json: New file.
12065
2d0fc4dc
CM
120662014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12067
4a594c34
AZ
12068 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12069 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12070 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12071 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12072 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12073 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12074 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12075 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12076 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12077 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12078 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12079 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12080 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12081 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12082 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12083 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12085 Moved ...
4a594c34 12086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12087 ... here.
4a594c34 12088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12089 Moved ...
4a594c34
AZ
12090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12092 Moved ...
4a594c34 12093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12094 ... here.
4a594c34 12095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12096 Moved ...
4a594c34 12097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12098 ... here.
4a594c34 12099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12100 Moved ...
4a594c34
AZ
12101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12103 Moved ...
4a594c34 12104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12105 ... here.
4a594c34 12106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12107 Moved ...
4a594c34 12108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12109 ... here.
4a594c34 12110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12111 Moved ...
4a594c34
AZ
12112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12114 Moved ...
4a594c34 12115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12116 ... here.
4a594c34 12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12118 Moved ...
4a594c34 12119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12120 ... here.
4a594c34 12121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12122 Moved ...
4a594c34 12123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12124 ... here.
4a594c34 12125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12126 Moved ...
4a594c34
AZ
12127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12129 Moved ...
4a594c34 12130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12131 ... here.
4a594c34 12132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12133 Moved ...
4a594c34 12134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12135 ... here.
4a594c34 12136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12137 Moved ...
4a594c34 12138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12139 ... here.
4a594c34 12140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12141 Moved ...
4a594c34
AZ
12142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12144 Moved ...
4a594c34 12145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12146 ... here.
4a594c34 12147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12148 Moved ...
4a594c34 12149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12150 ... here.
4a594c34 12151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12152 Moved ...
4a594c34
AZ
12153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12155 Moved ...
4a594c34 12156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12157 ... here.
4a594c34 12158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12159 Moved ...
4a594c34
AZ
12160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12162 Moved ...
4a594c34
AZ
12163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12165 Moved ...
4a594c34 12166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12167 ... here.
4a594c34 12168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12169 Moved ...
4a594c34 12170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12171 ... here.
4a594c34 12172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12173 Moved ...
4a594c34 12174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12175 ... here.
4a594c34 12176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12177 Moved ...
4a594c34
AZ
12178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12180 Moved ...
4a594c34 12181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12182 ... here.
4a594c34 12183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12184 Moved ...
4a594c34 12185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12186 ... here.
4a594c34
AZ
12187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12188 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12192 Moved ...
4a594c34 12193 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12194 ... here.
4a594c34
AZ
12195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12208 Moved ...
4a594c34
AZ
12209 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12210 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12211 Moved ...
4a594c34
AZ
12212 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12214 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12215 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12216 Moved ...
4a594c34
AZ
12217 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12218 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12219 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12220 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12221 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12222 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12223 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12224
0570cfed
W
122252014-06-10 Wilco <wdijkstr@arm.com>
12226
12227 * math/test-fenv-return.c: New file.
12228 * math/Makefile: Add new test test-fenv-return.
12229
f8ba1b56
JM
122302014-06-10 Joseph Myers <joseph@codesourcery.com>
12231
12232 [BZ #17042]
12233 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12234 when x - 1 is zero.
12235 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12236 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12237 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12238 0.0L for an argument of 1.0L.
12239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12240 Likewise.
12241 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12242 value when x - 1 is zero.
12243 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12244 * sysdeps/i386/fpu/libm-test-ulps: Update.
12245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246
2c3520d9
BO
122472014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12248
12249 [BZ #15119]
12250 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12251
acaa4d24
RM
122522014-06-09 Roland McGrath <roland@hack.frob.com>
12253
12254 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12255 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12256
962b744d
RM
122572014-06-09 Roland McGrath <roland@hack.frob.com>
12258
d752f0cc
RM
12259 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12260 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12261
34eda6d1
RM
12262 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12263 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12264
50f0a637
RM
12265 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12266 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12267
08f41f04
RM
12268 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12269 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12270
962b744d
RM
12271 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12272 if not already defined.
12273 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12274 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12275 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12276 (TLS_INIT_TP): Use it.
12277 (TLS_DEFINE_INIT_TP): New macro.
12278 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12279
09f19b05
JM
122802014-06-09 Joseph Myers <joseph@codesourcery.com>
12281
12282 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12283 constant.
12284 [POSIX] (IXANY): Likewise.
12285 [POSIX] (OLCUC): Likewise.
12286 [POSIX || POSIX2008] (CBAUD): Do not allow.
12287 [POSIX || POSIX2008] (DEFECHO): Likewise.
12288 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12289 [POSIX || POSIX2008] (ECHOKE): Likewise.
12290 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12291 [POSIX || POSIX2008] (EXTA): Likewise.
12292 [POSIX || POSIX2008] (EXTB): Likewise.
12293 [POSIX || POSIX2008] (FLUSHO): Likewise.
12294 [POSIX || POSIX2008] (LOBLK): Likewise.
12295 [POSIX || POSIX2008] (PENDIN): Likewise.
12296 [POSIX || POSIX2008] (SWTCH): Likewise.
12297 [POSIX || POSIX2008] (VDISCARD): Likewise.
12298 [POSIX || POSIX2008] (VDSUSP): Likewise.
12299 [POSIX || POSIX2008] (VLNEXT): Likewise.
12300 [POSIX || POSIX2008] (VREPRINT): Likewise.
12301 [POSIX || POSIX2008] (VSTATUS): Likewise.
12302 [POSIX || POSIX2008] (VWERASE): Likewise.
12303 (B*): Change to B[0123456789]*.
12304 * conform/data/time.h-data [POSIX || UNIX98]
12305 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12306 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12307 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12308 [POSIX] (tm_*): Do not allow.
12309
686554bf
JM
123102014-06-07 Joseph Myers <joseph@codesourcery.com>
12311
12312 * Makefile (install): Don't set LANGUAGE.
12313 * Makefile.in (install): Likewise.
12314 * assert/Makefile (test-assert-ENV): Remove variable.
12315 (test-assert-perr-ENV): Likewise.
12316 * elf/Makefile (neededtest4-ENV): Likewise.
12317 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12318 [$(cross-compiling) = no]: Don't set LANGUAGE.
12319 * io/ftwtest-sh (LANG): Remove variable.
12320 * libio/Makefile (tst-widetext-ENV): Likewise.
12321 * manual/install.texi (Running make install): Don't refer to
12322 environment settings for make install.
12323 * INSTALL: Regenerated.
12324 * nptl/tst-tls6.sh: Don't set LANG.
12325 * posix/globtest.sh (LANG): Remove variable.
12326 * string/Makefile (tester-ENV): Likewise.
12327 (inl-tester-ENV): Likewise.
12328 (noinl-tester-ENV): Likewise.
12329 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12330 [$(cross-compiling) = no]: Don't set LANGUAGE.
12331 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12332 without explicit environment settings.
12333
68e6b6b1
RM
123342014-06-06 Roland McGrath <roland@hack.frob.com>
12335
12336 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12337 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12339 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12340
4d3ae034
CM
123412014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12342
12343 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12344 other files in the crypt directory.
12345 * crypt/crypt.c: Remove duplicate includes.
12346 * crypt/crypt-entry.c: Likewise.
12347 * crypt/crypt_util.c: Likewise.
12348
8540f6d2
JM
123492014-06-06 Joseph Myers <joseph@codesourcery.com>
12350
12351 * Makeconfig (run-program-env): New variable.
12352 (run-program-prefix-before-env): Likewise.
12353 (run-program-prefix-after-env): Likewise.
12354 (run-program-prefix): Define in terms of new variables.
12355 (built-program-cmd-before-env): New variable.
12356 (built-program-cmd-after-env): Likewise.
12357 (built-program-cmd): Define in terms of new variables.
12358 (test-program-prefix-before-env): New variable.
12359 (test-program-prefix-after-env): Likewise.
12360 (test-program-prefix): Define in terms of new variables.
12361 (test-program-cmd-before-env): New variable.
12362 (test-program-cmd-after-env): Likewise.
12363 (test-program-cmd): Define in terms of new variables.
12364 * Rules (make-test-out): Use $(run-program-env).
12365 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12366 (help): Do not mention environment variables. Mention
12367 --timeoutfactor option.
12368 (timeoutfactor): New variable.
12369 (blacklist_exports): Remove function.
12370 (exports): Remove variable.
12371 (command): Do not include ${exports}.
12372 * manual/install.texi (Configuring and compiling): Do not mention
12373 test wrappers preserving environment variables. Mention that last
12374 assignment to a variable must take precedence.
12375 * INSTALL: Regenerated.
12376 * benchtests/Makefile (run-bench): Use $(run-program-env).
12377 * catgets/Makefile ($(objpfx)test1.cat): Use
12378 $(built-program-cmd-before-env), $(run-program-env) and
12379 $(built-program-cmd-after-env).
12380 ($(objpfx)test2.cat): Do not specify environment variables
12381 explicitly.
12382 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12383 $(run-program-env) and $(built-program-cmd-after-env).
12384 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12385 $(run-program-env) and $(test-program-cmd-after-env).
12386 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12387 explicitly.
12388 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12389 run_program_env and test_program_cmd_after_env arguments.
12390 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12391 * elf/tst-pathopt.sh: Use run_program_env argument.
12392 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12393 $(test-wrapper-env) and $(run-program-env).
12394 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12395 run_program_env arguments.
12396 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12397 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12398 $(test-program-prefix-before-env), $(run-program-env) and
12399 $(test-program-prefix-after-env).
12400 ($(objpfx)tst-gettext2.out): Likewise.
12401 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12402 run_program_env and test_program_prefix_after_env arguments.
12403 * intl/tst-gettext2.sh: Likewise.
12404 * intl/tst-gettext4.sh: Do not set environment variables
12405 explicitly.
12406 * intl/tst-gettext6.sh: Likewise.
12407 * intl/tst-translit.sh: Likewise.
12408 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12409 $(test-program-prefix-before-env), $(run-program-env) and
12410 $(test-program-prefix-after-env).
12411 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12412 run_program_env and test_program_prefix_after_env arguments.
12413 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12414 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12415 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12416 explicitly with each use of ${test_wrapper_env}.
12417 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12418 $(test-program-prefix-before-env), $(run-program-env) and
12419 $(test-program-prefix-after-env).
12420 * posix/tst-getconf.sh: Do not set environment variables
12421 explicitly.
12422 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12423 run_program_env and test_program_prefix_after_env arguments.
12424 * stdio-common/tst-printf.sh: Do not set environment variables
12425 explicitly.
12426 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12427 $(test-program-prefix-before-env), $(run-program-env) and
12428 $(test-program-prefix-after-env).
12429 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12430 run_program_env and test_program_prefix_after_env arguments.
12431 Split $test calls into $test_pre and $test.
12432 * timezone/Makefile (build-testdata): Use
12433 $(built-program-cmd-before-env), $(run-program-env) and
12434 $(built-program-cmd-after-env).
12435
ed36bfa1
AZ
124362014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12437
12438 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12439 strlen for non SHARED builds.
12440
fc75bf46
SP
124412014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12442
12443 * nptl/allocatestack.c (check_list): Inlined function...
12444 (__reclaim_stacks): ... here.
12445
d89b3d80
OB
124462014-06-05 Ondřej Bílka <neleai@seznam.cz>
12447
12448 [BZ #15698]
12449 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12450 memory overrun.
12451
2bf18041
JM
124522014-06-05 Joseph Myers <joseph@codesourcery.com>
12453
12454 * Rules (make-test-out): Include
12455 LOCPATH=$(common-objpfx)localedata in default environment.
12456 * debug/Makefile (tst-chk1-ENV): Remove variable.
12457 (tst-chk2-ENV): Likewise.
12458 (tst-chk3-ENV): Likewise.
12459 (tst-chk4-ENV): Likewise.
12460 (tst-chk5-ENV): Likewise.
12461 (tst-chk6-ENV): Likewise.
12462 (tst-lfschk1-ENV): Likewise.
12463 (tst-lfschk2-ENV): Likewise.
12464 (tst-lfschk3-ENV): Likewise.
12465 (tst-lfschk4-ENV): Likewise.
12466 (tst-lfschk5-ENV): Likewise.
12467 (tst-lfschk6-ENV): Likewise.
12468 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12469 (tst-iconv7-ENV): Likewise.
12470 * intl/Makefile (LOCPATH-ENV): Likewise.
12471 (tst-codeset-ENV): Likewise.
12472 (tst-gettext3-ENV): Likewise.
12473 (tst-gettext5-ENV): Likewise.
12474 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12475 (tst-fopenloc-ENV): Likewise.
12476 (tst-fgetws-ENV): Remove variable.
12477 (tst-ungetwc1-ENV): Likewise.
12478 (tst-ungetwc2-ENV): Likewise.
12479 (bug-ungetwc2-ENV): Likewise.
12480 (tst-swscanf-ENV): Likewise.
12481 (bug-ftell-ENV): Likewise.
12482 (tst-fgetwc-ENV): Likewise.
12483 (tst-fseek-ENV): Likewise.
12484 (tst-ftell-partial-wide-ENV): Likewise.
12485 (tst-ftell-active-handler-ENV): Likewise.
12486 (tst-ftell-append-ENV): Likewise.
12487 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12488 (tst-regexloc-ENV): Likewise.
12489 (bug-regex1-ENV): Likewise.
12490 (tst-regex-ENV): Likewise.
12491 (tst-regex2-ENV): Likewise.
12492 (bug-regex5-ENV): Likewise.
12493 (bug-regex6-ENV): Likewise.
12494 (bug-regex17-ENV): Likewise.
12495 (bug-regex18-ENV): Likewise.
12496 (bug-regex19-ENV): Likewise.
12497 (bug-regex20-ENV): Likewise.
12498 (bug-regex22-ENV): Likewise.
12499 (bug-regex23-ENV): Likewise.
12500 (bug-regex25-ENV): Likewise.
12501 (bug-regex26-ENV): Likewise.
12502 (bug-regex30-ENV): Likewise.
12503 (bug-regex32-ENV): Likewise.
12504 (bug-regex33-ENV): Likewise.
12505 (bug-regex34-ENV): Likewise.
12506 (bug-regex35-ENV): Likewise.
12507 (tst-rxspencer-ENV): Likewise.
12508 (tst-rxspencer-no-utf8-ENV): Likewise.
12509 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12510 (tst-sscanf-ENV): Likewise.
12511 (tst-swprintf-ENV): Likewise.
12512 (tst-swscanf-ENV): Likewise.
12513 (test-vfprintf-ENV): Likewise.
12514 (scanf13-ENV): Likewise.
12515 (bug14-ENV): Likewise.
12516 (tst-grouping-ENV): Likewise.
12517 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12518 (tst-strtod3-ENV): Likewise.
12519 (tst-strtod4-ENV): Likewise.
12520 (tst-strtod5-ENV): Likewise.
12521 (testmb2-ENV): Likewise./
12522 * string/Makefile (tst-strxfrm-ENV): Likewise.
12523 (tst-strxfrm2-ENV): Likewise.
12524 (bug-strcoll1-ENV): Likewise.
12525 (test-strcasecmp-ENV): Likewise.
12526 (test-strncasecmp-ENV): Likewise.
12527 * time/Makefile (tst-strptime-ENV): Likewise.
12528 (tst-ftime_l-ENV): Likewise.
12529 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12530 (tst-mbrtowc-ENV): Likewise.
12531 (tst-wcrtomb-ENV): Likewise.
12532 (tst-mbrtowc2-ENV): Likewise.
12533 (tst-c16c32-1-ENV): Likewise.
12534 (tst-mbsnrtowcs-ENV): Likewise.
12535
cd1fb604
OB
125362014-06-05 Ondřej Bílka <neleai@seznam.cz>
12537
12538 * manual/resource.texi (How to get information about the memory
12539 subsystem?): Fix typo.
12540 Reported by Peon de la Parra Ivan <peon@keba.com>
12541
b42eca7d
GY
125422014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12543
12544 [BZ #16882]
12545 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12546 (pthread_spin_lock): Branch out of spin loop to proper location.
12547 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12548 (pthread_spin_lock): Likewise.
12549
902b71f9
DM
12550 * nptl/tst-spin4.c: New test.
12551 * nptl/Makefile (tests): Add tst-spin4.
12552
f9d2d032
AS
125532014-06-03 Andreas Schwab <schwab@suse.de>
12554
12555 [BZ #15946]
12556 * resolv/res_send.c (send_dg): Reload file descriptor after
12557 calling reopen.
12558
cf7bfd28
SL
125592014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12560
12561 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12562
111cc714
RH
125632014-06-03 Richard Henderson <rth@redhat.com>
12564
89b4bd6b
RH
12565 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12566 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12567 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12568 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12569 in the SAVE_PID block.
12570 (__libc_vfork): New alias.
71840409 12571 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12572
111cc714
RH
12573 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12574 child in registers, not on the stack. Remove RESET_PID conditionals.
12575 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12576
ccc39911
MS
125772014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12578
12579 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12580
693096cc
W
125812014-06-03 Wilco <wdijkstr@arm.com>
12582
12583 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12584 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12585 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12586 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12587 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12588 Likewise.
12589
0b4366bc
W
125902014-06-03 Wilco <wdijkstr@arm.com>
12591
12592 * sysdeps/aarch64/fpu/math_private.h
12593 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12594 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12595 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12596 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12597 Fix declarations.
12598
8747cd03
KS
125992014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12600
12601 * crypt/crypt-private.h: Include ufc-crypt.h.
12602 (__b64_from_24bit): Declare extern.
12603 * crypt/crypt_util.c(__b64_from_24bit): New function.
12604 (b64t): New static const variable.
12605 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12606 (b64t): Remove variable.
12607 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12608 * crypt/sha256-crypt.c: Include crypt-private.h.
12609 (b64t): Remove variable.
12610 (__sha256_crypt_r): Remove b64_from_24bit and replace
12611 with __b64_from_24bit.
12612 * crypt/sha512-crypt.c: Likewise.
12613
d936d379
RM
126142014-06-02 Roland McGrath <roland@hack.frob.com>
12615
12616 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12617 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12618 Label the code __libc_vfork rather than __vfork.
12619 [!NOT_IN_libc] (vfork): Define as weak alias.
12620 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12621 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12622 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12623
9fa76613
SP
126242014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12625
12626 * malloc/malloc.c (malloc_info): Fix format specifier for
12627 n_mmaps.
12628
a88dadbe
W
126292014-06-02 Wilco <wdijkstr@arm.com>
12630
12631 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12632 FPCR write.
12633
c95b3011
W
126342014-06-02 Wilco <wdijkstr@arm.com>
12635
12636 [BZ #17009]
12637 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12638 Rewrite to reduce FPCR/FPSR accesses.
12639
6b4d7a90
DM
126402014-06-01 David S. Miller <davem@davemloft.net>
12641
12642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643
30f3d07c
DM
126442014-05-31 David S. Miller <davem@davemloft.net>
12645
12646 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12647 to occur in round to nearest mode when |x| >= 2.0
12648
74f31c18
RH
126492014-05-30 Richard Henderson <rth@twiddle.net>
12650
f0712b54
RH
12651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12652 (PSEUDO_RET_NOERRNO): Remove.
12653 (ret): Don't redefine.
12654 (ret_NOERRNO): Define in terms of ret.
12655 (ret_ERRVAL): Likewise.
12656
74f31c18
RH
12657 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12658 use of PSEUDO_RET; perform the error check directly.
12659
30477995
MM
126602014-05-30 Marko Myllynen <myllynen@redhat.com>
12661
12662 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12663 with __int128_t.
12664
62a58816
SP
126652014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12666
12667 * malloc/malloc (malloc_info): Fix formatting.
12668
4d653a59
SP
126692014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12670 Roland McGrath <roland@hack.frob.com>
12671
12672 * malloc/malloc (malloc_info): Also print mmapped statistics.
12673
5190c17f
RM
126742014-05-30 Roland McGrath <roland@hack.frob.com>
12675
12676 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12677 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12678
987c0269
OB
126792014-05-30 Ondřej Bílka <neleai@seznam.cz>
12680
12681 * malloc/malloc.c (malloc_info): Inline mi_arena.
12682
af4e8ef9
RH
126832014-05-29 Richard Henderson <rth@twiddle.net>
12684
1670e207
RH
12685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12686 Remove comma before expanding ASM_ARGS_##nr.
12687 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12688 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12689 of ASM_ARGS_##nr.
12690 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12691 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12692 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12693 (ASM_ARGS_1): Add leading comma.
12694
11a28aee
RH
12695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12696 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12697 to __errno_location.
12698 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12699 Remove the expected plt for __errno_location.
12700
a17e5ffb 12701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12702 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12703 call to __read_tp.
12704
b5be4597
RH
12705 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12706 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12707 it and break it down.
12708 (DOCARGS_0, DOCARGS_1): Do nothing.
12709 (DOCARGS_2): Update to store into the new stack frame.
12710 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12711 (UNDOCARGS_1): Update to restore from the new stack frame.
12712 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12713 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12714
645d44ab
RH
12715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12716 (SINGLE_THREAD_P): New parameter for result regno.
12717 (PSEUDO): Update to match; use cbz instead of beq.
12718
a8b4f04a
RH
12719 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12720 Use ENTRY to define the _nocancel entry point. Share the syscall
12721 and syscall error check paths with the cancel path.
12722 (PSEUDO_END): New.
12723
af4e8ef9
RH
12724 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12725 whitespace; tabs before and after asm mnemonics.
12726
26b0d2e1
EW
127272014-05-29 Eric Wong <normalperson@yhbt.net>
12728
12729 [BZ #15132]
12730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12731 Call fstat64 or stat64 internally, depending on arguments passed.
12732 Replace stat buffer argument with file descriptor argument.
12733 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12734 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12735 Pass fd to __internal_statvfs instead of calling fstat64.
12736 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12737 Pass fd to __internal_statvfs64 instead of calling fstat64.
12738 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12739 Pass -1 to __internal_statvfs instead of calling stat64.
12740 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12741 Pass -1 to __internal_statvfs64 instead of calling stat64.
12742
1efe2bd9
RM
127432014-05-28 Roland McGrath <roland@hack.frob.com>
12744
0d3b7a19
RM
12745 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12746 that was previously under [RESET_PID].
12747 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12748
1efe2bd9
RM
12749 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12750 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12751
a6bea3ca
RM
127522014-05-27 Roland McGrath <roland@hack.frob.com>
12753
30b6629e
RM
12754 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12755
a6bea3ca
RM
12756 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12757 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12758
3dfb9a5c
OB
127592014-05-27 Ondřej Bílka <neleai@seznam.cz>
12760
12761 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12762
774f9285
AS
127632014-05-27 Andreas Schwab <schwab@suse.de>
12764
12765 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12766 TLS_INIT_TP macro.
12767 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12768 * elf/rtld.c (init_tls, dl_main): Likewise.
12769 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12770 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12771 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12772 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12773 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12774 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12775 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12776 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12777 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12778 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12779 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12780 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12781 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12782 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12783 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12784 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12785 * sysdeps/generic/tls.h: Update description.
12786
36ffe739
WN
127872014-05-27 Will Newton <will.newton@linaro.org>
12788
12789 [BZ #16990]
12790 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12791 and restore r2 rather than just restoring.
12792
2482ae43
SP
127932014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12794
12795 [BZ #16724]
12796 * libio/tst-ftell-append.c: New test case.
12797 * libio/Makefile (tests): Add test case.
12798 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12799 append mode.
12800 * libio/wfileops.c (do_ftell_wide): Likewise.
12801
3d1024e8
AZ
128022014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12803
bab90016
AZ
12804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12805
c7a8d667
AZ
12806 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12807 ...
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12810 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12811 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12813 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12814 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12815 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12817 Moved ...
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12820 Moved ...
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12822 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12823 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12824 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12825 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12827 ...
12828 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12829 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12830 Moved ...
12831 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12832 here.
12833 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12834 ...
12835 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12837 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12838
daee7851
AZ
12839 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12840 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12841 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12842 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12843
50a40819
AZ
12844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12845 merge into ...
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12848 ...
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12851 ...
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12854 Moved ...
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12856 here.
12857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12858 Moved ...
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12861 Moved ...
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12863
8464c2a1
AZ
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12865 conditional [RESET_PID].
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12867 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12868 removed.
12869 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12870 removed.
12871
3d1024e8
AZ
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12873 <tcb-offsets.h>.
12874 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12875 (__libc_vfork): New strong alias.
12876 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12877 removed.
12878 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12879 Removed.
12880
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12882 <tcb-offsets.h>.
12883 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12884 (__libc_vfork): New strong alias.
12885 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12886 removed.
12887 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12888 removed.
12889
fdfd175d
CD
128902014-05-26 Carlos O'Donell <carlos@redhat.com>
12891
12892 * malloc/malloc.c (mi_arena): New function.
12893 (malloc_info): Remove nested function mi_arena. Call non-nosted
12894 function mi_arena.
12895
d298c416
AZ
128962014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897
12898 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12899 by insrwi.
12900 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12901 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12902 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12903 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12904 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12905 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12906 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12907
b60ea6ff
AS
129082014-05-26 Andreas Schwab <schwab@suse.de>
12909
12910 [BZ #16984]
12911 * locale/programs/repertoire.c (repertoire_read): Add slash
12912 between I18NPATH element and file name.
12913 * locale/programs/locfile.c (locfile_read): Likewise.
12914
67365926
SL
129152014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12916
12917 * nptl/pthread_mutexattr_settype.c
12918 (__pthread_mutexattr_settype):
12919 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12920
f8bdf1f0
SL
129212014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12922
12923 * nptl/tst-mutex5 (do_test):
12924 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12925
15eaf6ff
SP
129262014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
12928 * benchtests/README: Document 'init' directive.
12929 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12930 BENCH_INIT.
12931 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12932 (parse_file): Recognize 'init' directive.
12933
75f11331
KM
129342014-05-26 Kyle McMartin <kyle@redhat.com>
12935
12936 [BZ #16796]
12937 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12938 alignment of struct pthread.
12939
c3ec475c
SP
129402014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12941
12942 [BZ #16878]
12943 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12944 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12945 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12946 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12947
82aab97c
RH
129482014-05-25 Richard Henderson <rth@twiddle.net>
12949
aa2f176d
RH
12950 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12951 (SINGLE_THREAD_P_PIC): Remove.
12952 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12953 (SINGLE_THREAD_P_PIC): Remove.
12954
ca3cfa40
RH
12955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12956 branch to syscall error ...
12957 (PSEUDO): ... here.
12958 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12959 from __local_syscall_error to .Lsyscall_error.
12960 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12961 (SYSCALL_ERROR): Update label name.
12962
6e6c2d01
RH
12963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12964 Do not use DOARGS/UNDOARGS.
12965 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12966 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12967 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12968 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12969 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12970
c69abcee
RH
12971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12972 block comment.
12973
82aab97c
RH
12974 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12975 define if !NOT_IN_libc.
12976 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12977 define with non-default symbol versions.
12978
8820e3ac
RH
129792014-05-23 Richard Henderson <rth@twiddle.net>
12980
900e445f
RH
12981 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12982 (vfork, __vfork): Define via compat_symbol.
12983
8820e3ac
RH
12984 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12985 [!HAVE_IFUNC] (vfork_compat): Remove.
12986 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12987
e59252a5
JM
129882014-05-23 Joseph Myers <joseph@codesourcery.com>
12989
12990 [BZ #16978]
12991 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12992 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12993 variable.
12994
132c7f5f
RH
129952014-05-23 Richard Henderson <rth@twiddle.net>
12996
bc89e962
RH
12997 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12998 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12999 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13000 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13001
13002 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13003 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13004 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13005 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13006 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13007 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13008 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13009 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13010 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13011 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13012 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13013 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13014 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13015 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13016 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13017 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13018 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13019 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13020 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13021 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13022 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13023 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13024 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13025 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13026 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13027 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13031 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13033 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13034 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13041 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13042 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13043 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13044 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13045 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13046 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13047 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13049 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13051 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13053 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13055 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13057 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13058
e2fa4bc2
RH
13059 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13060 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13061 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13062 before exiting on error.
13063 (__libc_vfork): New strong alias.
13064 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13065 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13066
279b24e2
RH
13067 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13068 that was previously under [RESET_PID].
13069 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13070
132c7f5f
RH
13071 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13072
b72592e7
JM
130732014-05-23 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #16977]
13076 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13077 value when x - 1 is zero.
13078 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13079 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13080 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13081 0.0L for an argument of 1.0L.
13082 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13083 Likewise.
13084 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13085 value when x - 1 is zero.
13086 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13087 * sysdeps/i386/fpu/libm-test-ulps: Update.
13088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13089
2302d679
RV
130902014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13091
13092 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13093 alphasort and versionsort.
13094
32999d63
AZ
130952014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13096
13097 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13098 macro.
13099 [copysignf]: Likewise.
13100
019324d0
SP
131012014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13102
13103 * crypt/md5-crypt.c: Fix formatting.
13104
34fff5c2
KS
131052014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13106
13107 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13108 (b64_from_24bit): New function.
13109
3d2badac
AZ
131102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13111
13112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13113 libc_hidden_builtin_def to ifunc.
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13115 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13116
f7bb179f 131172014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13118
13119 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13120 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13121
4134b50d
JM
131222014-05-21 Joseph Myers <joseph@codesourcery.com>
13123
bb7d0337
JM
13124 * nscd/Depend (linuxthreads): Remove.
13125 (nptl): Add.
13126 * resolv/Depend (linuxthreads): Remove.
13127 * rt/Depend (linuxthreads): Remove.
13128
4134b50d
JM
13129 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13130 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13131 $(common-objpfx)elf/.
13132 (link-libc-before-gnulib): Likewise.
13133 (elfobjdir): Remove variable.
13134 * Makefile (install): Use $(elf-objpfx) instead of
13135 $(common-objpfx)elf/.
13136 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13137 $(elfobjdir)/.
13138 (link-libc-deps): Likewise.
13139 ($(common-objpfx)libc.so): Likewise.
13140 ($(common-objpfx)linkobj/libc.so): Likewise.
13141 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13142 instead of $(common-objpfx)elf/.
13143 (symbolic-link-list): Likewise.
13144 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13145 [$(cross-compiling) = no]: Likewise.
13146 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13147 $(elfobjdir)/.
13148 (static-gnulib-arch): Likewise.
13149 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13150 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13151 $(common-objpfx)elf/.
13152
3612eb8f
RH
131532014-05-21 Richard Henderson <rth@redhat.com>
13154
a6b3657b
RH
13155 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13156 (SINGLE_THREAD_P): Use the correct width load. Fold
13157 into the ldr offset.
13158
3612eb8f
RH
13159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13160 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13161
175cef41
JM
131622014-05-20 Joseph Myers <joseph@codesourcery.com>
13163
13164 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13165 (libgcc_s_resume): Use __attribute_used__.
13166 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13167 Likewise.
13168
e13bccd3
AZ
131692014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13170
13171 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13172 optimization when used with float constants.
13173
7c112a38
AZ
13174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13175
ae75a883
AJ
131762014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13177
13178 [BZ #16915]
13179 * locale/nl_langinfo_l.c: Make direct reference to every
13180 _nl_current_CATEGORY symbol.
13181 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13182 (tests-static): Add tst-langinfo-static.
13183 (tests-special): Add tst-langinfo-static.out.
13184 ($(objpfx)tst-langinfo.out): Redirect output.
13185 ($(objpfx)tst-langinfo-static.out): New.
13186 * localedata/tst-langinfo.sh: Send output to stdout.
13187 * localedata/tst-langinfo-static.c: New file.
13188
4406c41c
AJ
13189 [BZ #16965]
13190 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13191 when the shift amount is modulo the limb size.
13192
4c0a1e63
RH
131932014-05-20 Richard Henderson <rth@redhat.com>
13194
de9d8f20
RH
13195 [BZ #16967]
13196 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13197 Change type of sa_flags from unsigned int to int.
13198
4c0a1e63
RH
13199 [BZ #16966]
13200 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13201
13202 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13203
a60339aa
WN
132042014-05-20 Will Newton <will.newton@linaro.org>
13205
13206 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13207 Test the return value of the system call in the nocancel case.
13208
7d05a816
YR
132092014-05-20 Will Newton <will.newton@linaro.org>
13210 Yvan Roux <yvan.roux@linaro.org>
13211
13212 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13213 #include of asm/ptrace.h.
13214 (PTRACE_GET_THREAD_AREA): Remove #undef.
13215 (PTRACE_GETHBPREGS): Likewise.
13216 (PTRACE_SETHBPREGS): Likewise.
13217 (struct user_regs_struct): New structure.
13218 (struct user_fpsimd_struct): New structure.
13219 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13220 #include of asm/ptrace.h and second #include of sys/user.h.
13221 (PTRACE_GET_THREAD_AREA): Remove #undef.
13222 (PTRACE_GETHBPREGS): Likewise.
13223 (PTRACE_SETHBPREGS): Likewise.
13224 (ELF_NGREG): Use new struct user_regs_struct.
13225 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13226
af121e37
AZ
132272014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13228
13229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13231
834caf06
JM
132322014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13233
13234 [BZ #16958]
13235 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13236 membar to avoid block loads/stores to overlap previous stores.
13237
e184a918
RH
132382014-05-17 Richard Henderson <rth@redhat.com>
13239
13240 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13241 Create the __##syscall_name##_nocancel entry point.
13242 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13243 Remove; let the sysdep-cancel.h code create it.
13244
f56c7a6a
DM
132452014-05-17 David S. Miller <davem@davemloft.net>
13246
13247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13248 Protect with __USE_GNU.
13249 (TIOCSET_TEMPT): Likewise.
13250 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13251 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13252 these are already provided in bits/ioctl-types.h
13253
f75616b2
RM
132542014-05-16 Roland McGrath <roland@hack.frob.com>
13255
3edeca86
RM
13256 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13257 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13258
f75616b2
RM
13259 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13260 Use wait4 regardless of [__NR_waitpid].
13261
deb0f7f6
MR
132622014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13263
13264 PR libgcc/60166
13265 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13266 (_FP_NANSIGN_Q): Set the quiet bit.
13267
79520f4b
JM
132682014-05-16 Joseph Myers <joseph@codesourcery.com>
13269
13270 * benchtests/Makefile
13271 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13272 not $(common-objpfx)math/libm.so.
13273 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13274 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13275 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13276 $(common-objpfx)dlfcn/libdl.so.
13277 ($(objpfx)tst-audit8): Depend on $(libm), not
13278 $(common-objpfx)math/libm.so.
13279 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13280 not $(common-objpfx)dlfcn/libdl.so.
13281 * math/Makefile
13282 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13283 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13284 [$(build-shared) = yes].
13285 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13286 $(common-objpfx)nptl/libpthread.so.
13287 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13288 $(common-objpfx)math/libm.so$(libm.so-version) or
13289 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13290 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13291 $(common-objpfx)dlfcn/libdl.so.
13292 * setjmp/Makefile (link-libm): Remove variable.
13293 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13294 * stdio-common/Makefile (link-libm): Remove variable.
13295 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13296 * stdlib/Makefile (link-libm): Remove variable.
13297 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13298 ($(objpfx)tst-strtod-round): Likewise.
13299 ($(objpfx)tst-tininess): Likewise.
13300 ($(objpfx)tst-strtod-underflow): Likewise.
13301 ($(objpfx)tst-strtod6): Likewise.
13302 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13303 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13304 $(common-objpfx)dlfcn/libdl.so.
13305
026b0fe4
AZ
133062014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307
13308 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13309 BSD terminal modes definitions.
13310
def4bcb2
RM
133112014-05-16 Roland McGrath <roland@hack.frob.com>
13312
fe39b021
RM
13313 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13314 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13315
1d1fc46e 13316 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13317 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13318 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13319 Don't do #include_next.
13320 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13321 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13322 Don't do #include_next.
13323 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13324 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13325 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13326 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13327
c72399fb
AM
133282014-05-16 Allan McRae <allan@archlinux.org>
13329
d51d659d
AM
13330 * po/sv.po: Update Swedish translation from translation project.
13331
c72399fb
AM
13332 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13333 in sed expression.
13334
d0583c40
AJ
133352014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13336
13337 [BZ #16917]
13338 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13339 errno if the TIOCGPTN ioctl fails with an error different than
13340 EINVAL.
13341 * login/tst-ptsname.c: New file.
13342 * login/Makefile (tests): Add tst-ptsname.
13343
d16e6ec7
AJ
13344 [BZ #16943]
13345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13346 and prlimit64.
13347
cf26a0cb
SP
133482014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13349
13350 [BZ #16849]
13351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13352 herrno to return EAI_AGAIN.
13353
5675da1e
RM
133542014-05-14 Roland McGrath <roland@hack.frob.com>
13355
a5d87b3d
RM
13356 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13357 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13358 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13359 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13360 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13361 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13362 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13363 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13365 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13366 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13367 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13368 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13373 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13374 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13375 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13379 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13381 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13385 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13387 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13391 Moved ...
13392 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13394 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13396 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13398 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13400 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13404 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13406 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13408 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13410 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13414 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13416 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13420 Moved ...
13421 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13429 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13433 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13435 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13437 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13441 Moved ...
13442 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13445
039890a6
RM
13446 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13447 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13448 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13449 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13450 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13451 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13452 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13453 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13454 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13455 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13456 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13457 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13458 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13459 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13460 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13462 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13463 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13464 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13465 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13466 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13468 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13470 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13472 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13473 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13474 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13475 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13476 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13477
65c89320
RM
13478 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13479 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13480
348f8e8c
RM
13481 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13482 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13483 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13484 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13485 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13487 Moved ...
13488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13490 Moved ...
13491 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13493 Moved ...
13494 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13496 Moved ...
13497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13498 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13499 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13501 Moved ...
13502 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13503 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13504 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13506 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13508 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13510 Moved ...
13511 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13512 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13513 Moved ...
13514 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13515 ... here.
13516 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13517 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13518 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13519 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13520 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13521 Moved ...
13522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13523 ... here.
13524 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13525 Moved ...
13526 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13527 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13528 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13529 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13530 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13532 Moved ...
13533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13535 Moved ...
13536 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13538 Moved ...
13539 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13541 Moved ...
13542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13543 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13544 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13546 Moved ...
13547 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13548 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13549 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13551 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13553 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13555 Moved ...
13556 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13557 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13558 Moved ...
13559 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13560 ... here.
13561 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13562 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13564 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13566 Moved ...
13567 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13568 ... here.
13569 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13570 Moved ...
13571 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13573 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13575 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13577 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13578 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13579 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13581 Moved ...
13582 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13584 Moved ...
13585 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13587 Moved ...
13588 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13590 Moved ...
13591 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13593 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13594 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13595 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13596 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13597 Moved ...
13598 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13599 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13600 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13601 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13602 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13603 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13604 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13605 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13606 Moved ...
13607 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13608 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13609 Moved ...
13610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13611 ... here.
13612 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13613 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13615 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13616 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13617 Moved ...
13618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13619 ... here.
13620 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13621 Moved ...
13622 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13623 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13624 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13625 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13626 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13627 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13628 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13629 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13630 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13631 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13632 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13633
5085af05
RM
13634 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13635 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13636
708f0813
RM
13637 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13638 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13639
c96067bc
RM
13640 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13641 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13642 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13643 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13644 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13645 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13646 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13647 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13648 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13649 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13650 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13651 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13652 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13653 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13654 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13656 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13658 Moved ...
13659 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13661 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13662 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13663 Moved ...
13664 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13666 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13668 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13670 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13672 Moved ...
13673 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13675 Moved ...
13676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13678 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13680 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13682 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13684 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13685 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13686 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13687 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13688 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13689 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13690 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13691 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13692 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13693
ec136444
RM
13694 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13695 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13696 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13697 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13698 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13699
2fbdf533
RM
13700 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13701 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13703 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13704 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13705 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13706 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13707 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13708 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13709 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13710
4c68138b
RM
13711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13712 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13713
4eaae765
RM
13714 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13715 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13716 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13717 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13719 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13720 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13721 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13722 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13723 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13725 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13727 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13729 Update #include.
13730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13731 Likewise.
13732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13733 Likewise.
13734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13735 Likewise.
13736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13737 Likewise.
13738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13739 Likewise.
13740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13741 Likewise.
13742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13743 Likewise.
13744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13745 Likewise.
13746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13747 Likewise.
4ef6befa
RM
13748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13754 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13756 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13758 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13760 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13762 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13763
941d7dfd
RM
13764 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13765 that was previously under [RESET_PID].
13766 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13767 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13768 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13769
1b731c35
RM
13770 * sysdeps/i386/nptl/Implies: New file.
13771 * sysdeps/x86_64/nptl/Implies: New file.
13772 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13773 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13774 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13775 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13776
e2787137
RM
13777 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13778 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13779 (__libc_vfork): New strong alias.
13780 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13781 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13782
13783 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13785 (__libc_vfork): New strong alias.
13786 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13787 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13788
5675da1e
RM
13789 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13790 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13791 (__libc_vfork): New strong alias.
13792 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13793 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13794 * nptl/pt-vfork.c: New file.
13795 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13796 (libpthread: GLIBC_2.20): New version set (empty).
13797
4f02e2b8
WN
137982014-05-14 Will Newton <will.newton@linaro.org>
13799
13800 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13801 rather than #if.
13802
0bf061d3
JM
138032014-05-14 Joseph Myers <joseph@codesourcery.com>
13804
1a84c3d6
JM
13805 [BZ #16564]
13806 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13807 arguments with exponent 65 or above.
13808 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13809 arguments 0x1p113L or above.
13810 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13811 to arguments 0x1p107L or above.
13812 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13813 positive arguments with exponent 65 or above.
13814 * math/auto-libm-test-in: Add more tests of log1p.
13815 * math/auto-libm-test-out: Regenerated.
13816
01dbacd2
JM
13817 [BZ #16928]
13818 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13819 non-finite arguments is +0.
13820 * math/s_cacosf.c (__cacosf): Likewise.
13821 * math/s_cacosl.c (__cacosl): Likewise.
13822 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13823 * sysdeps/i386/fpu/libm-test-ulps: Update.
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825
913d03c8
JM
13826 [BZ #16927]
13827 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13828 value.
13829 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13830 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13831 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13832 for explicit high bit of mantissa when testing for argument equal
13833 to 1.
13834 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13835 * sysdeps/i386/fpu/libm-test-ulps: Update.
13836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837
0bf061d3
JM
13838 [BZ #16516]
13839 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13840 (__erf): Scale by 16 instead of 8 in potentially underflowing
13841 case. Ensure exception if result actually underflows.
13842 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13843 (__erff): Scale by 16 instead of 8 in potentially underflowing
13844 case. Ensure exception if result actually underflows.
13845 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13846 (efx8): Remove variable.
13847 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13848 case. Ensure exception if result actually underflows.
13849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13850 (efx8): Remove variable.
13851 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13852 case. Ensure exception if result actually underflows.
13853 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13854 (efx8): Remove variable.
13855 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13856 case. Ensure exception if result actually underflows.
13857 * math/auto-libm-test-in: Add more tests of erf.
13858 * math/auto-libm-test-out: Regenerated.
13859
73ba67cb
AS
138602014-05-14 Andreas Schwab <schwab@suse.de>
13861
3d8c8bff
AS
13862 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13863 Remove code conditionalized on USE___THREAD.
13864
73ba67cb
AS
13865 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13866 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13867 not definedness.
13868
5c521ecd
JM
138692014-05-14 Joseph Myers <joseph@codesourcery.com>
13870
5e7698c6
JM
13871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13872 Define unconditionally.
13873 (__ASSUME_O_CLOEXEC): Likewise.
13874 (__ASSUME_SOCK_CLOEXEC): Likewise.
13875 (__ASSUME_IN_NONBLOCK): Likewise.
13876 (__ASSUME_PIPE2): Likewise.
13877 (__ASSUME_EVENTFD2): Likewise.
13878 (__ASSUME_SIGNALFD4): Likewise.
13879 (__ASSUME_DUP3): Likewise.
13880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13881 (__ASSUME_DUP3): Do not define.
13882 (__ASSUME_EVENTFD2): Likewise.
13883 (__ASSUME_IN_NONBLOCK): Likewise.
13884 (__ASSUME_O_CLOEXEC): Likewise.
13885 (__ASSUME_PIPE2): Likewise.
13886 (__ASSUME_SIGNALFD4): Likewise.
13887 (__ASSUME_SOCK_CLOEXEC): Likewise.
13888 (__ASSUME_UTIMES): Undefine.
13889 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13890 (__ASSUME_UTIMES): Do not define.
13891 (__ASSUME_O_CLOEXEC): Likewise.
13892 (__ASSUME_SOCK_CLOEXEC): Likewise.
13893 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13894 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13895 0x020621].
13896 (__ASSUME_PIPE2): Likewise.
13897 (__ASSUME_EVENTFD2): Likewise.
13898 (__ASSUME_SIGNALFD4): Likewise.
13899 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13900 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13901 Do not define.
13902 (__ASSUME_EVENTFD2): Likewise.
13903 (__ASSUME_SIGNALFD4): Likewise.
13904 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13905 (__ASSUME_32BITUIDS): Likewise.
13906 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13907 (__ASSUME_IPC64): Likewise.
13908 (__ASSUME_ST_INO_64_BIT): Likewise.
13909 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13910 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13911 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13912 (__ASSUME_UTIMES): Do not define.
13913 (__ASSUME_PSELECT): Likewise.
13914 (__ASSUME_PPOLL): Likewise.
13915 (__ASSUME_O_CLOEXEC): Likewise.
13916 (__ASSUME_SOCK_CLOEXEC): Likewise.
13917 (__ASSUME_IN_NONBLOCK): Likewise.
13918 (__ASSUME_PIPE2): Likewise.
13919 (__ASSUME_EVENTFD2): Likewise.
13920 (__ASSUME_SIGNALFD4): Likewise.
13921 (__ASSUME_DUP3): Likewise.
13922 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13923 (__ASSUME_UTIMES): Likewise.
13924 (__ASSUME_O_CLOEXEC): Likewise.
13925 (__ASSUME_SOCK_CLOEXEC): Likewise.
13926 (__ASSUME_IN_NONBLOCK): Likewise.
13927 (__ASSUME_PIPE2): Likewise.
13928 (__ASSUME_EVENTFD2): Likewise.
13929 (__ASSUME_SIGNALFD4): Likewise.
13930 (__ASSUME_DUP3): Likewise.
13931 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13932 (__ASSUME_UTIMES): Likewise.
13933 (__ASSUME_O_CLOEXEC): Likewise.
13934 (__ASSUME_SOCK_CLOEXEC): Likewise.
13935 (__ASSUME_IN_NONBLOCK): Likewise.
13936 (__ASSUME_PIPE2): Likewise.
13937 (__ASSUME_EVENTFD2): Likewise.
13938 (__ASSUME_SIGNALFD4): Likewise.
13939 (__ASSUME_DUP3): Likewise.
13940 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13941 Likewise.
13942 (__ASSUME_UTIMES): Likewise.
13943 (__ASSUME_EVENTFD2): Likewise.
13944 (__ASSUME_SIGNALFD4): Likewise.
13945 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13946 (__ASSUME_O_CLOEXEC): Likewise.
13947 (__ASSUME_SOCK_CLOEXEC): Likewise.
13948 (__ASSUME_IN_NONBLOCK): Likewise.
13949 (__ASSUME_PIPE2): Likewise.
13950 (__ASSUME_EVENTFD2): Likewise.
13951 (__ASSUME_SIGNALFD4): Likewise.
13952 (__ASSUME_DUP3): Likewise.
13953 (__ASSUME_UTIMES): Undefine.
13954
5c521ecd
JM
13955 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13956 feclearexcept. Remove symbol versioning code.
13957 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13958 symbol versioning code.
13959 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13960 symbol versioning code.
13961 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13962 feupdateenv. Remove symbol versioning code.
13963 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13964 fegetexceptflag. Remove symbol versioning code.
13965 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13966 fesetexceptflag. Remove symbol versioning code.
13967 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13968 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13969 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13970 (__posix_fadvise64_l32): Remove prototype.
13971 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13972 code.
13973
5da9dfad
RM
139742014-05-13 Roland McGrath <roland@hack.frob.com>
13975
13976 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13977 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13978 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13979 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13980
893b4f37
SK
139812014-05-13 Sami Kerola <kerolasa@iki.fi>
13982
13983 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13984 current working directory
13985
e0db6517
RM
139862014-05-13 Roland McGrath <roland@hack.frob.com>
13987
58aa195d
RM
13988 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13989 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13990 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13991 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13992 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13993 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13994 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13995 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14006 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14007 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14008 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14009 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14010 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14011 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14013 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14014 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14015 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14016 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14017 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14018 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14019 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14020 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14021 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14022 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14023 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14024 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14025 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14026 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14027 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14028 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14029 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14030
8c6d01f0
RM
14031 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14032 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14033
14034 * sysdeps/unix/sysv/linux/arm/Makefile
14035 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14036 Add rt-aeabi_unwind_cpp_pr1.
14037 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14038 Add nptl-aeabi_unwind_cpp_pr1.
14039 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14040 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14041 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14042 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14043 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14044 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14045
14046 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14047 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14048 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14049 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14050
bba6da4e
RM
14051 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14052 Deconditionalize the code that was previously under [RESET_PID].
14053 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14054
e0db6517
RM
14055 * sysdeps/generic/exit-thread.h: New file.
14056 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14057 * include/unistd.h (__exit_thread): Remove declaration.
14058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14059 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14060 * csu/libc-start.c: Include <exit-thread.h>.
14061 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14062 * nptl/pthread_create.c: Include <exit-thread.h>.
14063 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14064 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14065 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14066 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14067 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14068 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14069 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14070 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14071 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14072 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14073 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14074 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14075 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14076 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14077 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14078 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14079 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14080
01eb16fd
AS
140812014-05-13 Andreas Schwab <schwab@suse.de>
14082
14083 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14084
637461d9
JM
140852014-05-12 Joseph Myers <joseph@codesourcery.com>
14086
14087 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14088 (__ASSUME_UTIMES): Do not condition on kernel version.
14089 (__ASSUME_PSELECT): Define unconditionally.
14090 (__ASSUME_PPOLL): Likewise.
14091 (__ASSUME_ATFCTS): Likewise.
14092 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14093 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14094 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14095 (__ASSUME_UTIMENSAT): Define unconditionally.
14096 (__ASSUME_PRIVATE_FUTEX): Likewise.
14097 (__ASSUME_FALLOCATE): Likewise.
14098 (__ASSUME_O_CLOEXEC): Likewise.
14099 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14100 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14101 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14102 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14103 (__ASSUME_IN_NONBLOCK): Likewise.
14104 (__ASSUME_PIPE2): Likewise.
14105 (__ASSUME_EVENTFD2): Likewise.
14106 (__ASSUME_SIGNALFD4): Likewise.
14107 (__ASSUME_DUP3): Likewise.
14108 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14109 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14110 (__ASSUME_AT_RANDOM): Likewise.
14111 (__ASSUME_PREADV): Likewise.
14112 (__ASSUME_PWRITEV): Likewise.
14113 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14114 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14115 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14116 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14117 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14118 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14119 (__ASSUME_O_CLOEXEC): Define unconditionally.
14120 (__ASSUME_PSELECT): Do not undefine conditionally.
14121 (__ASSUME_PPOLL): Likewise.
14122 (__ASSUME_ATFCTS): Likewise.
14123 (__ASSUME_SET_ROBUST_LIST): Likewise.
14124 (__ASSUME_UTIMENSAT): Likewise.
14125 (__ASSUME_FDATASYNC): Define unconditionally.
14126 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14127 (__ASSUME_SIGFRAME_V2): Likewise.
14128 )__ASSUME_EVENTFD2): Likewise.
14129 (__ASSUME_SIGNALFD4): Likewise.
14130 (__ASSUME_PSELECT): Do not undefine conditionally.
14131 (__ASSUME_PPOLL): Likewise.
14132 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14133 (__ASSUME_PSELECT): Define unconditionally.
14134 (__ASSUME_PPOLL): Likewise.
14135 (__ASSUME_O_CLOEXEC): Likewise.
14136 (__ASSUME_SOCK_CLOEXEC): Likewise.
14137 (__ASSUME_IN_NONBLOCK): Likewise.
14138 (__ASSUME_PIPE2): Likewise.
14139 (__ASSUME_EVENTFD2): Likewise.
14140 (__ASSUME_SIGNALFD4): Likewise.
14141 (__ASSUME_DUP3): Likewise.
14142 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14143 (__ASSUME_O_CLOEXEC): Likewise.
14144 (__ASSUME_SOCK_CLOEXEC): Likewise.
14145 (__ASSUME_IN_NONBLOCK): Likewise.
14146 (__ASSUME_PIPE2): Likewise.
14147 (__ASSUME_EVENTFD2): Likewise.
14148 (__ASSUME_SIGNALFD4): Likewise.
14149 (__ASSUME_DUP3): Likewise.
14150 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14151 (__ASSUME_EVENTFD2): Likewise.
14152 (__ASSUME_SIGNALFD4): Likewise.
14153 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14154
315eb1d8
AS
141552014-05-12 Andreas Schwab <schwab@suse.de>
14156
14157 [BZ #16932]
14158 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14159 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14160 than maximum RPC packet size.
14161 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14162 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14163 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14164 (_nss_nis_getservbyport_r): Likewise.
14165
91df99f7
WN
141662014-05-12 Will Newton <will.newton@linaro.org>
14167
14168 * malloc/Makefile (tests): Add tst-mallopt.
14169 * malloc/tst-mallopt.c: New file.
14170
0a982a29
RM
141712014-05-09 Roland McGrath <roland@hack.frob.com>
14172
14173 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14174 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14175
0ded08a5
AZ
141762014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14177
14178 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14179 (tst-tlsmod6.so): Likewise.
14180
55d4d550
RM
141812014-05-09 Roland McGrath <roland@hack.frob.com>
14182
14183 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14184
77d08aca
JM
141852014-05-09 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #16064]
14188 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14189 and <dl-procinfo.h>.
14190 (__fegetenv): Save SSE state in envp->__eip if supported.
14191 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14192 envp->__eip if supported.
14193 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14194 and <dl-procinfo.h>.
14195 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14196 __data_offset and __data_selector in environment to 0. Set SSE
14197 state if supported.
14198 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14199 test-fenv-sse.
14200 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14201 -mfpmath=sse.
14202 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14203
28162f4d
WN
142042014-05-09 Will Newton <will.newton@linaro.org>
14205
14206 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14207 and libc_relro_required for ARM.
14208 * sysdeps/arm/preconfigure: Regenerate.
14209
5a414ff7
DV
142102014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14211 Stefan Liebler <stli@linux.vnet.ibm.com>
14212
14213 * config.make.in (enable-lock-elision): New Makefile variable.
14214 * configure.ac: Likewise.
14215 * configure: Regenerate.
14216 * sysdeps/s390/configure.ac:
14217 Add check for gcc transactions support.
14218 * sysdeps/s390/configure: Regenerate.
14219 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14220 Build elision files if enabled.
14221 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14222 Add lock elision support for s390.
14223 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14224 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14225 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14226 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14227 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14228 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14230 Likewise.
14231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14232 Likewise.
14233 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14234 Likewise.
14235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14236 Likewise.
14237 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14238 (__lll_timedlock_elision, __lll_lock_elision)
14239 (__lll_unlock_elision, __lll_trylock_elision)
14240 (lll_timedlock_elision, lll_lock_elision)
14241 (lll_unlock_elision, lll_trylock_elision): Add.
14242 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14243 (pthread_mutex_t): Add lock elision support for s390.
14244
1a2f40e5
W
142452014-05-14 Wilco <wdijkstr@arm.com>
14246
14247 * sysdeps/arm/fclrexcpt.c: Cleanup.
14248 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14249 * sysdeps/arm/feenablxcpt.c: Cleanup.
14250 * sysdeps/arm/fegetenv.c: Cleanup.
14251 * sysdeps/arm/fegetexcept.c: Cleanup.
14252 * sysdeps/arm/fegetround.c: Cleanup.
14253 * sysdeps/arm/feholdexcpt.c: Cleanup.
14254 * sysdeps/arm/fesetenv.c: Cleanup.
14255 * sysdeps/arm/fesetround.c: Cleanup.
14256 * sysdeps/arm/feupdateenv.c: Cleanup.
14257 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14258 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14259 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14260 * sysdeps/arm/ftestexcept.c: Cleanup.
14261 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14262 * sysdeps/arm/setfpucw.c: Cleanup.
14263
f63c86fe
WN
142642014-05-09 Will Newton <will.newton@linaro.org>
14265
14266 * sysdeps/arm/armv7/strcmp.S: New file.
14267 * NEWS: Mention addition of ARMv7 optimized strcmp.
14268
7a1a51b5
RM
142692014-05-08 Roland McGrath <roland@hack.frob.com>
14270
95afbbe5
RM
14271 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14272 look for %.ac rather than %.in.
14273
14274 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14275 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14276 * sysdeps/mach/hurd/configure: Regenerated.
14277 * sysdeps/unix/sysv/linux/configure: Regenerated.
14278
7a1a51b5
RM
14279 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14280
5057ad3b
SE
142812014-05-07 Steve Ellcey <sellcey@mips.com>
14282
14283 [BZ# 16922]
14284 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14285 (LONG_SUB): Ditto.
14286 (PTR_SUB): Ditto.
14287
8dc97517
AS
142882014-05-07 Andreas Schwab <schwab@suse.de>
14289
14290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14291 when skipping over non-matching result from nscd.
14292
ce0c5b8f
OB
142932014-05-07 Ondřej Bílka <neleai@seznam.cz>
14294
14295 [BZ #16876]
14296 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14297
a1189263
OB
14298 [BZ #16877]
14299 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14300 nscd security class.
ce0c5b8f 14301
0f58d252
RM
143022014-05-06 Roland McGrath <roland@hack.frob.com>
14303
14304 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14305 * sysdeps/arm/unwind.h: ... here.
14306
83df9ad0
AJ
143072014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14308
ce0c5b8f
OB
14309 [BZ# 16916]
14310 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14311 Define.
83df9ad0 14312
f360f94a
VR
143132014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14314
14315 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14316 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14317 multiarch strncpy for PPC64.
14318 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14319 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14321 multiarch optimizations.
14322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14323 (__libc_ifunc_impl_list): Likewise.
14324 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14326 multiarch stpncpy for PPC64.
14327 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14329
978a41c3
AS
143302014-05-06 Andreas Schwab <schwab@suse.de>
14331
14332 [BZ #16912]
14333 * gmon/mcount.c (_MCOUNT_DECL): Use
14334 atomic_compare_and_exchange_bool_acq instead of
14335 catomic_compare_and_exchange_bool_acq.
14336
eb1ed03d
RM
143372014-05-05 Roland McGrath <roland@hack.frob.com>
14338
fe658845
RM
14339 * elf/Makefile (others, install-bin): Remove pldd.
14340 (pldd-modules): Variable removed.
14341 ($(objpfx)pldd): Target removed.
14342 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14343 (others, install-bin): Append pldd here.
14344 ($(objpfx)pldd): New target.
14345
eb1ed03d
RM
14346 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14347 to 0, so the first #if test emitted later doesn't see it undefined.
14348 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14349 * sysdeps/gnu/errlist.c: Regenerated.
14350
19c4bec0
AZ
143512014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14352
14353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14354 [libc_hidden_builtin_def]: Define to empty value.
14355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14356 [libc_hidden_builtin_def]: Likewise.
14357 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14358 [libc_hidden_builtin_def]: Likewise.
14359 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14360 [libc_hidden_builtin_def]: Likewise.
14361 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14362 __redirect_memcpy and define ifunc as default hidden symbol.
14363 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14364 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14365
7776e669
AC
143662014-05-04 Adam Conrad <adconrad@0c3.net>
14367
14368 * locale/iso-4217.def: Reintroduce XDR currency.
14369
d69aeb12
AM
143702014-05-04 Allan McRae <allan@archlinux.org>
14371
14372 * po/eo.po: Update Esperanto translation from translation project.
14373
8f1df5cf
CD
143742014-05-02 Carlos O'Donell <carlos@redhat.com>
14375
14376 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14377 and FEATURE_INDEX_MAX to 1.
14378 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14379
13e402e7
SE
143802014-05-01 Steve Ellcey <sellcey@mips.com>
14381
14382 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14383 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14384 * iconvdata/big5.c (ONE_DIRECTION): Define.
14385 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14386 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14387 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14388 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14389 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14390 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14391 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14392 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14393 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14394 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14395 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14396 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14397 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14398 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14399 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14400 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14401 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14402 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14403 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14404 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14405 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14406 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14407 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14408 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14409 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14410 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14411 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14412 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14413 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14414 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14415 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14416 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14417 * iconvdata/johab.c (ONE_DIRECTION): Define.
14418 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14419 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14420 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14421 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14422 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14423 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14424 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14425 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14426 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14427 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14428
c727f032
RM
144292014-05-01 Roland McGrath <roland@hack.frob.com>
14430
8f2f08d0
RM
14431 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14432 (_IO_JUMPS_OFFSET): Define to 0.
14433
c727f032
RM
14434 * nptl/sysdeps/pthread/bits/libc-lock.h
14435 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14436 (__libc_lock_define_initialized_recursive): Always define using
14437 initializer. Modern compilers treat uninitialized (implicit zero) and
14438 explicit zero initializers the same (i.e. put the datum in bss).
14439
a849e800
AS
144402014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14441
14442 * nscd/nscd-client.h: Include <string.h>.
14443
5331255b
DM
144442014-05-01 David S. Miller <davem@davemloft.net>
14445
14446 [BZ #16885]
14447 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14448 multiple zero bytes exist at the end of a string.
14449 Reported by Aurelien Jarno <aurelien@aurel32.net>
14450
14451 * string/test-strcmp.c (check): Add explicit test for situations where
14452 there are multiple zero bytes after the first.
14453
4fdfe821
AS
144542014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14455
14456 [BZ #16890]
14457 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14458 when compiling wprintf.
14459 * stdio-common/tstdiomisc.c (t3): New function.
14460 (main): Call it.
14461
0cdddc25
SE
144622014-05-01 Steve Ellcey <sellcey@mips.com>
14463
14464 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14465 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14466 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14467 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14468
6426d77e
SE
144692014-05-01 Steve Ellcey <sellcey@mips.com>
14470
14471 * stdlib/longlong.h: Updated from GCC.
14472
6d96f5e4
WN
144732014-05-01 Will Newton <will.newton@linaro.org>
14474 Bernard Ogden <bernie.ogden@linaro.org>
14475
7470db0c
WN
14476 * NEWS: Update fixed bug list.
14477
6d96f5e4
WN
14478 [BZ #15119]
14479 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14480
211d653c
DM
144812014-04-30 David S. Miller <davem@davemloft.net>
14482
4fa262fa
DM
14483 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14484 (libc_feholdexcept_setround_sparc_ctx): New function.
14485 (libc_fesetenv_sparc_ctx): Likewise.
14486 (libc_feupdateenv_sparc_ctx): Likewise.
14487 (libc_feholdsetround_sparc_ctx): Likewise.
14488 (libc_feholdexcept_setround_ctx): Define.
14489 (libc_feholdexcept_setroundf_ctx): Likewise.
14490 (libc_feholdexcept_setroundl_ctx): Likewise.
14491 (libc_fesetenv_ctx): Likewise.
14492 (libc_fesetenvf_ctx): Likewise.
14493 (libc_fesetenvl_ctx): Likewise.
14494 (libc_feupdateenv_ctx): Likewise.
14495 (libc_feupdateenvf_ctx): Likewise.
14496 (libc_feupdateenvl_ctx): Likewise.
14497 (libc_feresetround_ctx): Likewise.
14498 (libc_feresetroundf_ctx): Likewise.
14499 (libc_feresetroundl_ctx): Likewise.
14500 (libc_feholdsetround_ctx): Likewise.
14501 (libc_feholdsetroundf_ctx): Likewise.
14502 (libc_feholdsetroundl_ctx): Likewise.
14503
1d3d93ef
DM
14504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14505 with __USE_GNU instead of XOPEN cpp guards.
14506
8aa583c3
DM
14507 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14508 0.
14509
211d653c
DM
14510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14511 with XOPEN cpp guards.
14512
60c8f1f6
JB
145132014-04-30 Julian Brown <julian@codesourcery.com>
14514
14515 [BZ #16888]
14516 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14517 handling.
14518
9a461d46
JM
145192014-04-30 Joseph Myers <joseph@codesourcery.com>
14520
d0f5b3f8
JM
14521 [BZ #9894]
14522 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14523 Change to 2.6.32.
14524 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14525 * sysdeps/unix/sysv/linux/configure: Regenerated.
14526 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14527 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14528 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14529 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14530 * README: Update reference to required Linux kernel version.
14531 * manual/install.texi (Linux): Update reference to required Linux
14532 kernel headers version.
14533 * INSTALL: Regenerated.
14534
9a461d46
JM
14535 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14536 header inclusion.
14537 [POSIX] (limits.h): Likewise.
14538 [POSIX] (math.h): Likewise.
14539 [POSIX] (sys/wait.h): Likewise.
14540 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14541 function.
14542 [POSIX] (stddef.h): Do not allow header inclusion.
14543
1775babf
AZ
145442014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14545
57f41c40 14546 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14547
8f630cca
YY
145482014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14549
14550 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14551 Return immediately after lll_futex_wake.
14552
1cdeb237
SP
145532014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14554
bc8f194c
SP
14555 [BZ #16791]
14556 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14557 structure.
14558 (datahead_init_pos): Call datahead_init_common early.
14559 (datahead_init_neg): Likewise.
14560
1cdeb237
SP
14561 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14562 datahead_init_neg): New functions.
14563 * nscd/aicache.c (addhstaiX): Use them.
14564 * nscd/grpcache.c (cache_addgr): Likewise.
14565 * nscd/hstcache.c (cache_addhst): Likewise.
14566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14567 * nscd/netgroupcache.c (do_notfound): Likewise.
14568 (addgetnetgrentX): Likewise.
14569 (addinnetgrX): Likewise.
14570 * nscd/pwdcache.c (cache_addpw): Likewise.
14571 * nscd/servicescache.c (cache_addserv): Likewise.
14572
16b293a7
SP
145732014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14574 Atsushi Onoe <atsushi@onoe.org>
14575
14576 [BZ #14308]
14577 [BZ #12994]
14578 [BZ #13651]
14579 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14580 one response is valid.
14581 * resolv/res_send.c (send_dg): Check for validity of other
14582 response if the current response is a referral.
14583
a28a9b94
SE
145842014-04-29 Steve Ellcey <sellcey@mips.com>
14585
14586 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14587
2ca180e9
SL
145882014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14589
14590 [BZ #16823]
14591 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14592 Always divide by positive zero when computing -Inf result.
14593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14594 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14595
18f2945a
AZ
145962014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14597
14598 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14599 FPSCR if value do not change.
14600 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14601 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14602 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14603 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14604 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14605 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14606 function.
14607
5abebba4
CD
146082014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14609
14610 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14611 * sysdeps/unix/sysv/linux/hppa: Move directory from
14612 ports/systeps/unix/sysv/linux/hppa.
14613 * README: Update listing for hppa-*-linux-gnu.
14614
f7ed60c2
OB
146152014-04-28 Ondřej Bílka <neleai@seznam.cz>
14616
fff763a5
OB
14617 [BZ #16754]
14618 * manual/stdio.texi (Hook functions): Fix types of stream hook
14619 functions.
f7ed60c2
OB
14620 [BZ #16854]
14621 * socket/sys/socket.h: Fix typo in comment.
14622
df639d73
WD
146232014-04-28 Wilco <wdijkstr@arm.com>
14624
f7ed60c2 14625 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14626 * sysdeps/arm/math_private.h: New file.
14627 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14628
48332d82
L
146292014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14630
14631 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14632 with __int128_t.
14633 (La_x86_64_retval): Likewise.
14634
e5e0d9a4
IB
146352014-04-24 Ian Bolton <ian.bolton@arm.com>
14636
14637 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14638 fpsr if value didn't change.
14639 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14640 to fpcr if value didn't change.
14641 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14642 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14643 fpsr or fpcr if value didn't change.
14644 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14645 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14646 fpcr if value didn't change.
14647 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14648 to fpsr if value didn't change.
14649
bacc75f7
SP
146502014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14651
14652 * nptl/tst-sem3.c: Use test-skeleton.c
14653 (main): Rename to do_test. Use return instead of
14654 exit.
14655 * nptl/tst-sem4.c: Use test-skeleton.c
14656 (main): Rename to do_test.
14657
a059d359
DM
146582014-04-22 David S. Miller <davem@davemloft.net>
14659
14660 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14661 (struct sigaction): New struct member __glibc_reserved0, change
14662 type of sa_flags to int.
14663
ea6c92f3
YZ
146642014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14665
14666 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14667 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14668
766c4a36
SP
146692014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14670
14671 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14672 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14673
140cc7ab
VK
146742014-04-22 Will Newton <will.newton@linaro.org>
14675 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14676
14677 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14678 (__longjmp): Add longjmp and longjmp_target SystemTap
14679 probes.
14680 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14681 (__sigsetjmp): Add setjmp SystemTap probe.
14682
c54e5cf7
CD
146832014-04-17 Carlos O'Donell <carlos@redhat.com>
14684
14685 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14686 match manual order.
14687
75ffb047
AZ
146882014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14689
14690 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14691
2cd925f7
AZ
14692 * sysdeps/powerpc/fpu/fenv_private.h
14693 (libc_feholdexcept_setroundl_ctx): Define to
14694 libc_feholdexcept_setround_ppc_ctx.
14695 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14696 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14697 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14698 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14699
39e6cd8d
IB
147002014-04-17 Ian Bolton <ian.bolton@arm.com>
14701
14702 * sysdeps/aarch64/math-tests.h: New file.
14703
f9281df9
SY
147042014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14705
14706 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14707 New.
14708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14709 Check and set bit_AVX2_Usable.
14710 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14711 macro.
14712 (bit_AVX2): Likewise.
14713 (index_AVX2_Usable): Likewise.
14714 (CPUID_AVX2): Likewise.
14715 (HAS_AVX2): Likewise.
14716
37d35007
WN
147172014-04-17 Will Newton <will.newton@linaro.org>
14718
7c677662
WN
14719 * manual/setjmp.texi (System V contexts): Add note that
14720 calling setcontext on a context created by a call to a
14721 signal handler is undefined. Update text to note that
14722 setcontext from a signal handler is possible but not
14723 recommended.
14724
37d35007 14725 [BZ #16629]
e04a4e9d
WN
14726 * stdlib/tst-setcontext.c: Include signal.h.
14727 (main): Check that the signal stack before and
14728 after swapcontext is the same.
14729
37d35007
WN
14730 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14731 Re-implement to restore registers in user code and avoid
14732 rt_sigreturn system call.
14733
423a7160
W
147342014-04-17 Wilco <wdijkstr@arm.com>
14735
14736 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14737 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14738 * math/test-fenv.c: Skip exception trap tests on targets which only
14739 support non-stop mode.
14740
bc93ab29
IB
147412014-04-17 Ian Bolton <ian.bolton@arm.com>
14742 Wilco Dijkstra <wilco.dijkstra@arm.com>
14743
14744 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14745 (libc_feholdsetround_aarch64_ctx)
14746 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14747 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14748 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14749 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14750 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14751 (libc_feresetround_noexl_ctx): Define.
14752
95fc5fa3
RH
147532014-04-16 Richard Henderson <rth@redhat.com>
14754
ddb04724
RH
14755 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14756
d77c0899
RH
14757 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14758 unwind tables.
14759
a3df56fc
RH
14760 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14761 const from the non-libc, non-ldso copy.
14762
95fc5fa3
RH
14763 * sysdeps/alpha/libm-test-ulps: Regenerate.
14764
7e0b6763
IB
147652014-04-16 Ian Bolton <ian.bolton@arm.com>
14766 Wilco Dijkstra <wilco.dijkstra@arm.com>
14767
14768 * sysdeps/aarch64/fpu/math_private.h: New file.
14769
a9ea2e0c
MS
147702014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14771
14772 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14773
ea8ba7cd
IZ
147742014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14775
7e54fd04 14776 [BZ #16275]
ea8ba7cd
IZ
14777 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14778 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14780 Intel MPX bound registers before _dl_profile_fixup.
14781 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14782 registers after _dl_profile_fixup. Save and restore bound
14783 registers bnd0/bnd1 when calling _dl_call_pltexit.
14784 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14785 (LR_BND_OFFSET): Likewise.
14786 (LRV_BND0_OFFSET): Likewise.
14787 (LRV_BND1_OFFSET): Likewise.
14788
9f2a4fbc
ST
147892014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14790
14791 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14792 to...
14793 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14794 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14795 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14796 fields.
9f2a4fbc 14797
fd15a59b
ST
147982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14799
14800 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14801
f19dfa0a
SL
148022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14803
14804 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14805
4fa8bc3b
SL
148062014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14807
14808 [BZ #14770]
14809 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14810 * sysdeps/s390/configure: Regenerate.
14811
8ea587db
SL
14812 [BZ #16824]
14813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14814 Set round-to-nearest internally to reduce error accumulation.
14815
aa5f0ff1
AM
148162014-04-16 Alan Modra <amodra@gmail.com>
14817
14818 [BZ #16740]
14819 [BZ #16619]
14820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14821 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14822 * NEWS: Update fixed bug list.
aa5f0ff1 14823
bb9c256f
SP
148242014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14825
14826 * benchtests/Makefile: Depend on libraries in build directory.
14827 (bench-math): Separate out math tests.
14828 (bench-pthread): Separate out pthread tests.
14829 (bench): Include math and pthread tests.
14830
f737dfd0
CD
148312014-04-14 Carlos O'Donell <carlos@redhat.com>
14832
14833 [BZ #16831]
14834 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14835 _dl_debug_initialize.
14836
0699f766
CD
14837 * configure.ac: Remove SELinux header check.
14838 * configure: Regenerate.
14839 * nscd/selinux.c (perms): Array of const char* to permission names.
14840 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14841 default policy. Call string_to_security_class and string_to_av_perm to
14842 translate strings. Enforce default policy and call avs_has_perm with
14843 results of translated strings.
14844
809bd45f
DM
148452014-04-13 David S. Miller <davem@davemloft.net>
14846
14847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14848
89e691f2
AM
148492014-04-12 Allan McRae <allan@archlinux.org>
14850
14851 [BZ #16838]
14852 * manual/string.texi (Collation Functions): Fix qsort argument
14853 order in example.
14854 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14855
9c9daaeb
CM
148562014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14857
14858 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14859 Make the test a no-op if there are no exceptions defined.
14860
95561fb9
PP
148612014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14862
fe8d072c 14863 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14864 enable-hardcoded-path-in-tests
14865
970c602a
WN
148662014-04-11 Will Newton <will.newton@linaro.org>
14867
14868 * benchtests/Makefile (extra-objs): Add json-lib.o.
14869 (bench-func): Tidy up JSON output.
14870 * benchtests/bench-skeleton.c: Include json-lib.h.
14871 (main): Use JSON library functions to do output of
14872 benchmark results.
14873 * benchtests/bench-timing-type.c (main): Output the
14874 timing type simply, leaving formatting to the user.
14875 * benchtests/json-lib.c: New file.
14876 * benchtests/json-lib.h: Likewise.
14877
36875b06
TR
148782014-04-11 Torvald Riegel <triegel@redhat.com>
14879
14880 [BZ #15215]
14881 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14882 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14883 memory barriers. Add comments.
14884 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14885 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14886 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14887 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14888 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14889 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14890
579db35a
SL
148912014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14892
14893 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14894 * sysdeps/s390/s390-64/configure.ac: ... this ...
14895 * sysdeps/s390/configure.ac: ... to here.
14896 * sysdeps/s390/s390-32/configure: Delete file.
14897 * sysdeps/s390/s390-64/configure: Delete file.
14898 * sysdeps/s390/configure: Regenerate.
14899
c12e9f37
JAPH
149002014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14901
14902 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14903
439bda32
WN
149042014-04-11 Will Newton <will.newton@linaro.org>
14905
14906 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14907 to zero if it is not defined elsewhere. (mtrim): Test
14908 the value of MALLOC_DEBUG with #if rather than #ifdef.
14909
6a5d6ea1
TR
149102014-04-10 Torvald Riegel <triegel@redhat.com>
14911
14912 * benchtests/pthread_once-inputs: New file.
14913 * benchtests/pthread_once-source.c: New file.
14914 * benchtests/README: Update documentation.
14915
a4c75cfd
IZ
149162014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14917 H.J. Lu <hongjiu.lu@intel.com>
14918
7e54fd04 14919 [BZ #16275]
a4c75cfd
IZ
14920 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14921 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14922 * sysdeps/x86_64/configure: Regenerated.
14923 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14924 macro.
14925 (REGISTER_SAVE_RAX): Likewise.
14926 (REGISTER_SAVE_RCX): Likewise.
14927 (REGISTER_SAVE_RDX): Likewise.
14928 (REGISTER_SAVE_RSI): Likewise.
14929 (REGISTER_SAVE_RDI): Likewise.
14930 (REGISTER_SAVE_R8): Likewise.
14931 (REGISTER_SAVE_R9): Likewise.
14932 (REGISTER_SAVE_BND0): Likewise.
14933 (REGISTER_SAVE_BND1): Likewise.
14934 (REGISTER_SAVE_BND2): Likewise.
14935 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14936 bound registers when calling _dl_fixup.
14937
27822ce6
AZ
149382014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14939
14940 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14941 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14942 of its definition.
27822ce6
AZ
14943 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14944 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14945 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14946 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14947 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14948 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14949 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14950
a88ddc90
PTB
149512014-04-09 Peter Brett <peter@peter-b.co.uk>
14952
14953 [BZ #15514]
14954 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14955 pathconf(_PC_NAME_MAX).
14956
01f8eac2
AZ
149572014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14958
14959 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14960 Remove macro usage.
14961 (__PTHREAD_SPINS): Move definition to ...
14962 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14963 (__PTHREAD_SPINS): ... here.
14964 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14965 (__PTHREAD_SPIN): Likewise.
14966 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14967 (__PTHREAD_SPIN): Likewise.
14968 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14969 (__PTHREAD_SPIN): Likewise.
14970 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14971 (__PTHREAD_SPIN): Likewise.
14972 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14973 (__PTHREAD_SPIN): Likewise.
14974 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14975 (__PTHREAD_SPIN): Likewise.
14976 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14977 (__PTHREAD_SPIN): Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14979 (__PTHREAD_SPIN): Likewise.
14980 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14981 (__PTHREAD_SPIN): Likewise.
14982 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14983 (__PTHREAD_SPIN): Likewise.
14984 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14985 (__PTHREAD_SPIN): Likewise.
14986 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14987 (__PTHREAD_SPIN): Likewise.
14988
de21c33c
AZ
14989 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14990 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14991 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14992 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14993 imply folder.
14994 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14995 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14996 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14997 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14998 correct imply path.
14999 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15000 strlen symbol for non multi-arch builds.
15001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15002 missing hidden_def and weak_alias.
15003
862c472e
CD
150042014-04-08 Carlos O'Donell <carlos@redhat.com>
15005
15006 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15007
8667f90e
WN
150082014-04-07 Will Newton <will.newton@linaro.org>
15009
15010 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15011 and contents. [!_LIBC] Remove #ifndef and contents.
15012 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15013 * string/memccpy.c (__memccpy): Use ANSI prototype.
15014 * string/memfrob.c (memfrob): Likewise.
15015 * string/strcoll.c (STRCOLL): Likewise.
15016 * string/strlen.c (strlen): Likewise.
15017 * string/strtok.c (STRTOK): Likewise.
15018 * string/strcat.c: Remove unused #include of memcopy.h.
15019 (strcat): Use ANSI prototype.
15020 * string/strchr.c: Remove unused #include of memcopy.h.
15021 (strchr): Use ANSI prototype.
15022 * string/strcmp.c: Remove unused #include of memcopy.h.
15023 (strcmp): Use ANSI prototype.
15024 * string/strcpy.c: Remove unused #include of memcopy.h.
15025 (strcpy): Use ANSI prototype.
15026
7ffa9423
AZ
150272014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15028
15029 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15030 * config.make.in (config-extra-cppflags): Set it from
15031 libc_extra_cppflags.
15032 * configure.ac (libc_extra_cflags): Make it accumulate over
15033 configure fragments.
15034 (libc_extra_cppflags): New flag.
15035 * configure. Regenerate.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15037 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15038 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15040
8bd70862
AZ
15041 [BZ #16815]
15042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15043 result for FE_DOWNWARD rounding mode.
15044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15045 Likewise.
15046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15047
d42f3448
CM
150482014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15049
15050 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15051 in function argument name.
15052
1c21d115
DS
150532014-04-03 David Svoboda <svoboda@cert.org>
15054
15055 [BZ #5666]
15056 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15057 explicitly.
15058
fcccd512
RM
150592014-04-03 Roland McGrath <roland@hack.frob.com>
15060
15061 * elf/dl-unmap-segments.h: New file.
15062 * sysdeps/generic/ldsodefs.h
15063 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15064 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15065 * elf/dl-fptr.c: Likewise.
15066 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15067 * sysdeps/aarch64/tlsdesc.c: Likewise.
15068 * sysdeps/arm/tlsdesc.c: Likewise.
15069 * sysdeps/i386/tlsdesc.c: Likewise.
15070 * sysdeps/tile/dl-runtime.c: Likewise.
15071 * sysdeps/x86_64/tlsdesc.c: Likewise.
15072 * elf/dl-load.h: New file.
15073 * elf/dl-load.c: Include it.
15074 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15075 Macros moved to dl-load.h.
15076 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15077 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15078 Use _dl_unmap_segments in place of __munmap.
15079 Break out segment-mapping loop into ...
15080 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15081
f6488e2b
WN
150822014-04-03 Will Newton <will.newton@linaro.org>
15083
15084 * elf/dl-lookup.c (do_lookup_x): Remove comment
15085 referring to nested function and move variable
15086 declarations down to before first use.
15087
6f05bafe
JM
150882014-04-02 Joseph Myers <joseph@codesourcery.com>
15089
a84e78c8
JM
15090 [BZ #16799]
15091 [BZ #16800]
15092 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15093 with 0 numerator.
15094 * math/s_catanf.c (__catanf): Likewise.
15095 * math/s_catanh.c (__catanh): Likewise.
15096 * math/s_catanhf.c (__catanhf): Likewise.
15097 * math/s_catanhl.c (__catanhl): Likewise.
15098 * math/s_catanl.c (__catanl): Likewise.
15099 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15100 by positive zero when computing -Inf result.
15101 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15102 (catanh_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15105
6f05bafe
JM
15106 [BZ #16789]
15107 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15108 instead of using underflowing value in computing result.
15109 * math/s_clog10.c (__clog10): Likewise.
15110 * math/s_clog10f.c (__clog10f): Likewise.
15111 * math/s_clog10l.c (__clog10l): Likewise.
15112 * math/s_clogf.c (__clogf): Likewise.
15113 * math/s_clogl.c (__clogl): Likewise.
15114 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15115 (clog10_test): Likewise.
15116 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15118
b0abbc21
AM
151192014-04-02 Alan Modra <amodra@gmail.com>
15120
15121 [BZ #16739]
15122 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15123 output when value is near a power of two. Use int64_t for lx and
15124 remove casts. Use decimal rather than hex exponent constants.
15125 Don't use long double multiplication when double will suffice.
15126 * math/libm-test.inc (nextafter_test_data): Add tests.
15127 * NEWS: Add 16739 and 16786 to bug list.
15128
af6b1797
AM
15129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15130
483818d7
AM
15131 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15132
f6c55796
WN
151332014-04-01 Will Newton <will.newton@linaro.org>
15134
15135 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15136 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15137
13f7fe35
FW
151382014-04-01 Florian Weimer <fweimer@redhat.com>
15139
15140 [BZ #13347]
15141 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15142 * nptl/tst-setuid2.c: New file.
15143 * nptl/Makefile (xtests): Add tst-setuid2.
15144
c859b32e
AM
151452014-04-01 Alan Modra <amodra@gmail.com>
15146
15147 [BZ #16786]
15148 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15149
54fa2475
JM
151502014-03-31 Joseph Myers <joseph@codesourcery.com>
15151
8795b4a4
JM
15152 [BZ #6803]
15153 [BZ #6804]
15154 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15155 set errno as appropriate.
15156 * math/w_scalbf.c (__scalbf): Likewise.
15157 * math/w_scalbl.c (__scalbl): Likewise.
15158 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15159 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15160 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15161 Add more NaN tests.
15162
54fa2475
JM
15163 [BZ #16349]
15164 * math/w_atan2.c: Include <errno.h>.
15165 (__atan2): Set errno for result underflowing to zero.
15166 * math/w_atan2f.c: Include <errno.h>.
15167 (__atan2f): Set errno for result underflowing to zero.
15168 * math/w_atan2l.c: Include <errno.h>.
15169 (__atan2l): Set errno for result underflowing to zero.
15170 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15171 tests.
15172 * math/auto-libm-test-out: Regenerated.
15173
757d9dd5
AZ
151742014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175
15176 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15177 Encode instruction correctly in little endian.
15178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15179 Likewise.
15180 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15181 Likewise.
15182 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15183 Likewise.
15184 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15185 Likewise.
15186
d7a68734
JM
151872014-03-31 Joseph Myers <joseph@codesourcery.com>
15188
47c5adeb
JM
15189 [BZ #9894]
15190 * sysdeps/unix/sysv/linux/kernel-features.h
15191 [__sparc__ && !__arch64__ && !__sparc_v9__]
15192 (__ASSUME_SET_ROBUST_LIST): Do not define.
15193 [__sparc__ && !__arch64__ && !__sparc_v9__]
15194 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15195 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15196 Likewise.
15197 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15198 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15199 (__ASSUME_REQUEUE_PI): Likewise.
15200 (__ASSUME_SET_ROBUST_LIST): Likewise.
15201 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15202 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15203 Undefine.
15204 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15206 Likewise.
15207 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15208 Likewise.
15209 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15210 Likewise.
15211 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15212 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15213 Undefine.
15214 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15215 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15216 Likewise.
15217
d7a68734
JM
15218 [BZ #16648]
15219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15221 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15222
c760f5c2
WN
152232014-03-31 Will Newton <will.newton@linaro.org>
15224
15225 * benchtests/Makefile (bench): Add ffs and ffsll to list
15226 of tests.
15227 * benchtests/ffs-inputs: New file.
15228 * benchtests/ffsll-inputs: Likewise.
15229
ea6029b1
JM
152302014-03-29 Joseph Myers <joseph@codesourcery.com>
15231
15232 [BZ #16770]
15233 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15234 too large before casting to int.
15235 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15236 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15237 * math/libm-test.inc (scalb_test_data): Add more tests.
15238
cf806aff
SP
152392014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15240
56737508
SP
15241 * benchtests/Makefile (DETAILED_OPT): New make option.
15242 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15243 set.
15244 * benchtests/bench-skeleton.c: Include stdbool.h.
15245 (main): Store and print timings per input.
15246 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15247 member to each argument value.
15248 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15249 (_print_arg_data): Initialize per-input timing to 0.
15250
cb5e4aad
SP
15251 * benchtests/Makefile (timing-type): New binary.
15252 (bench-clean): Also remove bench-timing-type.
15253 (bench): New target for timing-type.
15254 (bench-func): Print output in JSON format.
15255 * benchtests/bench-skeleton.c (main): Print output in JSON
15256 format.
15257 * benchtests/bench-timing-type.c: New file.
15258 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15259 (TIMING_PRINT_STATS): Remove.
15260 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15261 name separately.
15262
cf806aff
SP
15263 * benchtests/bench-modf.c: Remove.
15264 * benchtests/modf-inputs: New inputs file.
15265
289e0779
JM
152662014-03-28 Joseph Myers <joseph@codesourcery.com>
15267
15268 [BZ #16362]
15269 * math/s_clog10.c (M_PI_LOG10E): New macro.
15270 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15271 imaginary parts are 0.
15272 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15273 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15274 imaginary parts are 0.
15275 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15276 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15277 imaginary parts are 0.
15278 * math/libm-test.inc (clog10_test_data): Update expected results
15279 for when real and imaginary parts are 0.
15280
277ae3f1
PP
152812014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15282
15283 * elf/dl-load.c: Finish conversion of __builtin_expect into
15284 __glibc_{un}likely.
15285
03a7091f
JM
152862014-03-27 Joseph Myers <joseph@codesourcery.com>
15287
15288 [BZ #16348]
15289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15290 1+x for argument with exponent below -67.
15291 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15292 Likewise.
15293 * math/auto-libm-test-in: Add more tests of exp.
15294 * math/auto-libm-test-out: Regenerated.
15295
ea7d8b95
SP
152962014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
dd3022d7
SP
15298 [BZ #16759]
15299 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15300 (nscd_getnetgrent): Use it.
15301
ea7d8b95
SP
15302 [BZ #16760]
15303 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15304 of stpcpy.
15305
df5b85da
AK
153062014-03-27 Andi Kleen <ak@linux.intel.com>
15307
57f41c40
AS
15308 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15309 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15310 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15311 (lll_robust_unlock): Remove out of line section. Use cfi
15312 intrinsics.
df5b85da 15313 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15314 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15317 (lll_robust_unlock): Remove out of line section. Use cfi
15318 intrinsics.
df5b85da
AK
15319 (LLL_STUB_UNWIND_INFO*): Remove.
15320
fbd6b5a4
SP
153212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15322
15323 [BZ #16758]
15324 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15325 blank values.
15326
1b26b855
PP
153272014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15328
15329 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15330
9be36fb8
JM
153312014-03-26 Joseph Myers <joseph@codesourcery.com>
15332
15333 [BZ #16198]
15334 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15335 fnstenv.
15336 * math/test-fenv-preserve.c: New file.
15337 * math/Makefile (tests): Add test-fenv-preserve.
15338
60a2f3c1
WN
153392014-03-26 Will Newton <will.newton@linaro.org>
15340
15341 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15342
a5e5f1e2
RM
153432014-03-25 Roland McGrath <roland@hack.frob.com>
15344
15345 * scripts/versionlist.awk: Partition the version sets and emit all
15346 GLIBC_* (sorted) before all others (sorted).
15347
00f4012a
JM
153482014-03-25 Joseph Myers <joseph@codesourcery.com>
15349
15350 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15351 GLIBC_2.2.5 version.
15352
7bc5a741
AZ
153532014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15354
15355 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15356 calls.
15357
7578473b
AZ
15358 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15359 previous change.
15360
f3f1dab3
AZ
15361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15362
6da36183
AS
153632014-03-25 Andreas Schwab <schwab@suse.de>
15364
15365 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15366 label to be used after in6ailist is initialized.
15367
f3f1dab3 153682014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15369
7578473b 15370 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15371 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15372
046651c1
JM
153732014-03-25 Joseph Myers <joseph@codesourcery.com>
15374
15375 [BZ #16357]
15376 [BZ #16599]
15377 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15378 min_plus_half.
15379 (fp_formats): Update initializers.
15380 (init_fp_formats): Initialize new field.
15381 (output_for_one_input_case): Allow underflow for results up to
15382 min_plus_half.
15383 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15384 * math/auto-libm-test-in: Don't mark some underflows from asin and
15385 atanh as spurious.
15386 * math/auto-libm-test-out: Regenerated.
15387 * sysdeps/i386/fpu/libm-test-ulps: Update.
15388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389
003e49ed
AS
153902014-03-25 Andreas Schwab <schwab@suse.de>
15391
15392 * libio/Makefile (tst-ftell-partial-wide-ENV)
15393 (tst-ftell-active-handler-ENV): Define.
15394
de031874
SL
153952014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15396
15397 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15398
55a81e3b
PP
153992014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15400
15401 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15402
f3426898
JM
154032014-03-24 Joseph Myers <joseph@codesourcery.com>
15404
15405 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15406 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15407 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15408
a42faf59
PP
154092014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15410
15411 [BZ #16634]
a42faf59 15412 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15413 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15414 (open_path): Change from boolean 'secure' to complete flag 'mode'
15415 (_dl_map_object): Adjust.
a42faf59
PP
15416 * elf/Makefile (tests): Add tst-dlopen-aout.
15417 * elf/tst-dlopen-aout.c: New test.
15418
50936127
SL
154192014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15420
15421 [BZ #16714]
15422 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15423 (struct stat): Rename member pad0 to __glibc_reserved0.
15424
26011b5c
SL
15425 [BZ #16712]
15426 * sysdeps/s390/s390-32/bits/wordsize.h
15427 (__WORDSIZE32_SIZE_ULONG): New define.
15428 * sysdeps/s390/s390-64/bits/wordsize.h
15429 (__WORDSIZE32_SIZE_ULONG): Likewise.
15430 * sysdeps/generic/stdint.h (SIZE_MAX):
15431 Define as UL if __WORDSIZE32_SIZE_ULONG.
15432
a2d86bf1
SL
15433 [BZ #16713]
15434 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15435 (__glibc_reserved0): New variable.
15436 (sa_flags): Change type to int.
15437
78b6eebc
SL
15438 * posix/Makefile (before-compile): Use += before-compile instead
15439 of a :=.
15440
f1399b5a
SL
15441 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15442 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15443
a071766e
AS
154442014-03-20 Andreas Schwab <schwab@suse.de>
15445
15446 [BZ #16743]
15447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15448 non-matching result from nscd.
15449
27c673b8
SP
154502014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15451
15452 * scripts/bench.py: Moved to ...
15453 * benchtests/scripts/bench.py: ... here.
15454 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15455
44152e4b
AS
154562014-03-24 Andreas Schwab <schwab@suse.de>
15457
15458 [BZ #16002]
15459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15460 alloca_account and account alloca use for struct in6ailist.
15461
b376a11a
JM
154622014-03-24 Joseph Myers <joseph@codesourcery.com>
15463
15464 [BZ #16284]
15465 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15466 rounding mode to recompute results that overflow to infinity or
15467 underflow to zero.
15468 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15469 bug 16284.
15470 * math/auto-libm-test-out: Regenerated.
15471 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15472 (ccosh_test): Likewise.
15473 (csin_test_data): Use plus_oflow.
15474 (csin_test): Use ALL_RM_TEST.
15475 (csinh_test_data): Use plus_oflow.
15476 (csinh_test): Use ALL_RM_TEST.
15477 * sysdeps/i386/fpu/libm-test-ulps: Update.
15478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15479
f7be7376
JM
154802014-03-21 Joseph Myers <joseph@codesourcery.com>
15481
1ca2d03e
JM
15482 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15483 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15484 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15485
f7be7376
JM
15486 [BZ #16731]
15487 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15488 when x - 1 is zero.
15489 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15490 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15491 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15493 argument is 1.
15494 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15495 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15496 zero.
15497 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15498 * sysdeps/i386/fpu/libm-test-ulps: Update.
15499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15500
fdf4534d
SP
155012014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15502
df26ea53
SP
15503 * scripts/bench.pl: Remove file.
15504 * scripts/bench.py: New benchmark script.
15505 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15506 * benchtests/README: Mention python dependency.
15507 * scripts/pylintrc: New file.
15508 * scripts/pylint: New file.
15509
fdf4534d
SP
15510 * bits/mathdef.h: Use #ifdef instead of #if.
15511 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15512 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15513 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15514 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15515 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15516 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15517
6f23d093
AZ
155182014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15519 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15520
15521 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15523 and strpbrk-ppc64 objects.
15524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15525 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15527 multiarch strpbrk for POWER7.
15528 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15529 multiarch strpbrk for PPC64.
15530 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15531 ifunc selector.
15532 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15533 strpbrk for POWER7.
15534
8c92dfff
JM
155352014-03-20 Joseph Myers <joseph@codesourcery.com>
15536
15537 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15538 (atan_test): Likewise.
15539 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15540 (atanh_test): Use ALL_RM_TEST.
15541 (atan2_test_data): Likewise.
15542 (cabs_test): Likewise.
15543 (cacosh_test): Likewise.
15544 (carg_test): Likewise.
15545 (casin_test): Likewise.
15546 (casinh_test): Likewise.
15547 (cbrt_test): Likewise.
15548 (csqrt_test): Likewise.
15549 (erf_test): Likewise.
15550 (erfc_test): Likewise.
15551 (pow10_test): Likewise.
15552 (exp2_test): Likewise.
15553 (hypot_test): Likewise.
15554 (j0_test): Likewise.
15555 (j1_test): Likewise.
15556 (lgamma_test): Likewise.
15557 (gamma_test): Likewise.
15558 (sincos_test): Likewise.
15559 (tanh_test): Likewise.
15560 (y0_test): Likewise.
15561 (y1_test): Likewise.
15562 * sysdeps/i386/fpu/libm-test-ulps: Update.
15563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15564
6eaf95cb
AZ
155652014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15566
a387428c
SP
15567 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15569 and strcspn-ppc64 objects.
15570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15571 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15572 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15573 multiarch strcspn for POWER7.
15574 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15575 multiarch strcspn for PPC64.
15576 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15577 ifunc selector.
15578 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15579 strcspn for POWER7.
15580
ae3a5dff
JM
155812014-03-20 Joseph Myers <joseph@codesourcery.com>
15582
15583 * math/gen-libm-test.pl (generate_testfile): Expect only function
15584 name as argument to AUTO_TESTS_* and pass results for all rounding
15585 modes to parse_args.
15586 (parse_auto_input): Separate inputs of automatic tests from
15587 outputs before storing in %auto_tests.
15588 * math/libm-test.inc (acos_test_data): Update call to
15589 AUTO_TESTS_f_f.
15590 (acos_test): Use ALL_RM_TEST.
15591 (acos_tonearest_test_data): Remove.
15592 (acos_test_tonearest): Likewise.
15593 (acos_towardzero_test_data): Likewise.
15594 (acos_test_towardzero): Likewise.
15595 (acos_downward_test_data): Likewise.
15596 (acos_test_downward): Likewise.
15597 (acos_upward_test_data): Likewise.
15598 (acos_test_upward): Likewise.
15599 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15600 (asin_test_data): Likewise.
15601 (asin_test): Use ALL_RM_TEST.
15602 (asin_tonearest_test_data): Remove.
15603 (asin_test_tonearest): Likewise.
15604 (asin_towardzero_test_data): Likewise.
15605 (asin_test_towardzero): Likewise.
15606 (asin_downward_test_data): Likewise.
15607 (asin_test_downward): Likewise.
15608 (asin_upward_test_data): Likewise.
15609 (asin_test_upward): Likewise.
15610 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15611 (atan_test_data): Likewise.
15612 (atanh_test_data): Likewise.
15613 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15614 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15615 (carg_test_data): Likewise.
15616 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15617 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15618 (ccosh_test_data): Likewise.
15619 (cexp_test_data): Likewise.
15620 (clog_test_data): Likewise.
15621 (clog10_test_data): Likewise.
15622 (cos_test_data): Update call to AUTO_TESTS_f_f.
15623 (cos_test): Use ALL_RM_TEST.
15624 (cos_tonearest_test_data): Remove.
15625 (cos_test_tonearest): Likewise.
15626 (cos_towardzero_test_data): Likewise.
15627 (cos_test_towardzero): Likewise.
15628 (cos_downward_test_data): Likewise.
15629 (cos_test_downward): Likewise.
15630 (cos_upward_test_data): Likewise.
15631 (cos_test_upward): Likewise.
15632 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15633 (cosh_test): Use ALL_RM_TEST.
15634 (cosh_tonearest_test_data): Remove.
15635 (cosh_test_tonearest): Likewise.
15636 (cosh_towardzero_test_data): Likewise.
15637 (cosh_test_towardzero): Likewise.
15638 (cosh_downward_test_data): Likewise.
15639 (cosh_test_downward): Likewise.
15640 (cosh_upward_test_data): Likewise.
15641 (cosh_test_upward): Likewise.
15642 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15643 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15644 (ctan_test_data): Likewise.
15645 (ctan_test): Use ALL_RM_TEST.
15646 (ctan_tonearest_test_data): Remove.
15647 (ctan_test_tonearest): Likewise.
15648 (ctan_towardzero_test_data): Likewise.
15649 (ctan_test_towardzero): Likewise.
15650 (ctan_downward_test_data): Likewise.
15651 (ctan_test_downward): Likewise.
15652 (ctan_upward_test_data): Likewise.
15653 (ctan_test_upward): Likewise.
15654 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15655 (ctanh_test): Use ALL_RM_TEST.
15656 (ctanh_tonearest_test_data): Remove.
15657 (ctanh_test_tonearest): Likewise.
15658 (ctanh_towardzero_test_data): Likewise.
15659 (ctanh_test_towardzero): Likewise.
15660 (ctanh_downward_test_data): Likewise.
15661 (ctanh_test_downward): Likewise.
15662 (ctanh_upward_test_data): Likewise.
15663 (ctanh_test_upward): Likewise.
15664 (erf_test_data): Update call to AUTO_TESTS_f_f.
15665 (erfc_test_data): Likewise.
15666 (exp_test_data): Likewise.
15667 (exp_test): Use ALL_RM_TEST.
15668 (exp_tonearest_test_data): Remove.
15669 (exp_test_tonearest): Likewise.
15670 (exp_towardzero_test_data): Likewise.
15671 (exp_test_towardzero): Likewise.
15672 (exp_downward_test_data): Likewise.
15673 (exp_test_downward): Likewise.
15674 (exp_upward_test_data): Likewise.
15675 (exp_test_upward): Likewise.
15676 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15677 (exp10_test): Use ALL_RM_TEST.
15678 (exp10_tonearest_test_data): Remove.
15679 (exp10_test_tonearest): Likewise.
15680 (exp10_towardzero_test_data): Likewise.
15681 (exp10_test_towardzero): Likewise.
15682 (exp10_downward_test_data): Likewise.
15683 (exp10_test_downward): Likewise.
15684 (exp10_upward_test_data): Likewise.
15685 (exp10_test_upward): Likewise.
15686 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15687 (expm1_test_data): Likewise.
15688 (expm1_test): Use ALL_RM_TEST.
15689 (expm1_tonearest_test_data): Remove.
15690 (expm1_test_tonearest): Likewise.
15691 (expm1_towardzero_test_data): Likewise.
15692 (expm1_test_towardzero): Likewise.
15693 (expm1_downward_test_data): Likewise.
15694 (expm1_test_downward): Likewise.
15695 (expm1_upward_test_data): Likewise.
15696 (expm1_test_upward): Likewise.
15697 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15698 (fma_test): Use ALL_RM_TEST.
15699 (fma_towardzero_test_data): Remove.
15700 (fma_test_towardzero): Likewise.
15701 (fma_downward_test_data): Likewise.
15702 (fma_test_downward): Likewise.
15703 (fma_upward_test_data): Likewise.
15704 (fma_test_upward): Likewise.
15705 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15706 (j0_test_data): Update call to AUTO_TESTS_f_f.
15707 (j1_test_data): Likewise.
15708 (jn_test_data): Update call to AUTO_TESTS_if_f.
15709 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15710 (log_test_data): Update call to AUTO_TESTS_f_f.
15711 (log10_test_data): Likewise.
15712 (log1p_test_data): Likewise.
15713 (log2_test_data): Likewise.
15714 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15715 (pow_tonearest_test_data): Likewise.
15716 (sin_test_data): Update call to AUTO_TESTS_f_f.
15717 (sin_test): Use ALL_RM_TEST.
15718 (sin_tonearest_test_data): Remove.
15719 (sin_test_tonearest): Likewise.
15720 (sin_towardzero_test_data): Likewise.
15721 (sin_test_towardzero): Likewise.
15722 (sin_downward_test_data): Likewise.
15723 (sin_test_downward): Likewise.
15724 (sin_upward_test_data): Likewise.
15725 (sin_test_upward): Likewise.
15726 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15727 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15728 (sinh_test): Use ALL_RM_TEST.
15729 (sinh_tonearest_test_data): Remove.
15730 (sinh_test_tonearest): Likewise.
15731 (sinh_towardzero_test_data): Likewise.
15732 (sinh_test_towardzero): Likewise.
15733 (sinh_downward_test_data): Likewise.
15734 (sinh_test_downward): Likewise.
15735 (sinh_upward_test_data): Likewise.
15736 (sinh_test_upward): Likewise.
15737 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15738 (sqrt_test): Use ALL_RM_TEST.
15739 (sqrt_tonearest_test_data): Remove.
15740 (sqrt_test_tonearest): Likewise.
15741 (sqrt_towardzero_test_data): Likewise.
15742 (sqrt_test_towardzero): Likewise.
15743 (sqrt_downward_test_data): Likewise.
15744 (sqrt_test_downward): Likewise.
15745 (sqrt_upward_test_data): Likewise.
15746 (sqrt_test_upward): Likewise.
15747 (tan_test_data): Update call to AUTO_TESTS_f_f.
15748 (tan_test): Use ALL_RM_TEST.
15749 (tan_tonearest_test_data): Remove.
15750 (tan_test_tonearest): Likewise.
15751 (tan_towardzero_test_data): Likewise.
15752 (tan_test_towardzero): Likewise.
15753 (tan_downward_test_data): Likewise.
15754 (tan_test_downward): Likewise.
15755 (tan_upward_test_data): Likewise.
15756 (tan_test_upward): Likewise.
15757 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15758 (tgamma_test_data): Likewise.
15759 (y0_test_data): Likewise.
15760 (y1_test_data): Likewise.
15761 (yn_test_data): Update call to AUTO_TESTS_if_f.
15762 (main): Do not call removed functions.
15763
d71aeee8
JM
157642014-03-19 Joseph Myers <joseph@codesourcery.com>
15765
15766 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15767 (ldexp_test_data): Remove.
15768 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15769 scalbn_test_data.
15770 (scalb_test): Use ALL_RM_TEST.
15771
baaf1ded
AS
157722014-03-19 Andreas Schwab <schwab@suse.de>
15773
15774 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15775
b1115e91
JM
157762014-03-19 Joseph Myers <joseph@codesourcery.com>
15777
15778 [BZ #16649]
15779 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15780 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15781 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15782 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15783 (__ASSUME_PREADV): Undefine.
15784 (__ASSUME_PWRITEV): Likewise.
15785
0283ecca
RM
157862014-03-18 Roland McGrath <roland@hack.frob.com>
15787
7d375303
RM
15788 * bits/mman-linux.h: Add comment about non-Linux use.
15789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15790 bits/mman-linux.h resting place.
15791
0283ecca
RM
15792 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15793 * bits/mman-linux.h: ... here.
15794
aebe1003
AZ
157952014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15796
15797 * conform/conformtest.pl: Add standard definition when calling C
15798 preprocessor on data files.
15799 (checknamespace): Remove unused variable.
15800
b29b6bb8
JM
158012014-03-18 Joseph Myers <joseph@codesourcery.com>
15802
15803 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15804 minus_oflow, plus_uflow and minus_uflow in expected results.
15805 * math/libm-test.inc (scalbn_test_data): Add more tests of
15806 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15807 minus_uflow.
15808 (scalbn_test): Use ALL_RM_TEST.
15809 (scalbln_test_data): Add more tests of negative arguments. Use
15810 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15811 (scalbln_test): Use ALL_RM_TEST.
15812
c8f8fa15
RM
158132014-03-18 Roland McGrath <roland@hack.frob.com>
15814
15815 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15816
fede7a5f
WN
158172014-03-18 Will Newton <will.newton@linaro.org>
15818
15819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15820 inaccurate comment.
15821
80cf0a58
JM
158222014-03-18 Joseph Myers <joseph@codesourcery.com>
15823
15824 * Makerules [!subdir] (check-abi): Exit with error status if a
15825 test failed.
15826
b3620862
JM
158272014-03-17 Joseph Myers <joseph@codesourcery.com>
15828
15829 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15830 for rint. Include results for all rounding modes.
15831 (nearbyint_test): Use ALL_RM_TEST.
15832 (rint_test_data): Include all tests used for nearbyint.
15833
788bba36
WN
158342014-03-17 Will Newton <will.newton@linaro.org>
15835
04ec140a
WN
15836 * nptl/sysdeps/pthread/pthread.h: Revert previous
15837 change.
15838
7579d8d5
WN
15839 * sysdeps/generic/ldsodefs.h: Revert previous
15840 change.
15841
c15cf13a
WN
15842 * libio/genops.c: Revert previous change.
15843 * libio/libioP.h: Likewise.
15844 * stdio-common/vfprintf.c: Likewise.
15845
d0ac1324
WN
15846 * sysdeps/generic/math_private.h: Revert previous
15847 change.
15848
9290130a
WN
15849 * sysdeps/generic/math_private.h: Check whether
15850 HAVE_RM_CTX is defined with #ifdef rather
15851 than #if.
15852
afb466fc
WN
15853 * argp/argp-fmtstream.h: Check whether
15854 __STRICT_ANSI__ is defined with #ifdef rather
15855 than #if.
15856 * argp/argp.h: Likewise.
15857
f7efd7c3
WN
15858 * libio/genops.c: Check whether
15859 _IO_JUMPS_OFFSET is defined with #ifdef rather
15860 than #if.
15861 * libio/libioP.h: Likewise.
15862 * stdio-common/vfprintf.c: Likewise.
15863
53f1bed3
WN
15864 * sysdeps/generic/ldsodefs.h: Check whether
15865 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15866 than #if.
15867
788bba36
WN
15868 * nptl/sysdeps/pthread/pthread.h: Check
15869 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15870 its value.
15871
fcd89ebe
SP
158722014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15873
ae42bbc5
SP
15874 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15875 setting O_APPEND.
15876 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15877 test case.
15878
ea33158c
SP
15879 [BZ #16680]
15880 * libio/fileops.c (_IO_file_open): Seek to end of file but
15881 don't cache the offset.
15882 (get_file_offset): Remove function.
15883 (do_ftell): Use cached offset when available.
15884 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15885 don't cache the offset.
15886 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15887 case.
15888 (do_one_test): Call it.
15889 (do_ftell_test): Fix up expected old offset for a+ mode.
15890 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15891 available.
15892
b1dbb426
SP
15893 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15894 up test status with function return status.
15895 (do_write_test): Likewise.
15896 (do_append_test): Likewise.
15897
fcd89ebe
SP
15898 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15899 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15900 Remove.
15901
9962a2d3
JM
159022014-03-17 Joseph Myers <joseph@codesourcery.com>
15903
15904 * math/gen-libm-test.pl (parse_args): Handle results specified for
15905 each rounding mode separately.
15906 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15907 tests and results from lrint_tonearest_test_data,
15908 lrint_towardzero_test_data, lrint_downward_test_data and
15909 lrint_upward_test_data.
15910 (lrint_test): Use ALL_RM_TEST.
15911 (lrint_tonearest_test_data): Remove.
15912 (lrint_test_tonearest): Likewise.
15913 (lrint_towardzero_test_data): Likewise.
15914 (lrint_test_towardzero): Likewise.
15915 (lrint_downward_test_data): Likewise.
15916 (lrint_test_downward): Likewise.
15917 (lrint_upward_test_data): Likewise.
15918 (lrint_test_upward): Likewise.
15919 (llrint_test_data): Merge in per-rounding-mode tests and results
15920 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15921 llrint_downward_test_data and llrint_upward_test_data.
15922 (llrint_test): Use ALL_RM_TEST.
15923 (llrint_tonearest_test_data): Remove.
15924 (llrint_test_tonearest): Likewise.
15925 (llrint_towardzero_test_data): Likewise.
15926 (llrint_test_towardzero): Likewise.
15927 (llrint_downward_test_data): Likewise.
15928 (llrint_test_downward): Likewise.
15929 (llrint_upward_test_data): Likewise.
15930 (llrint_test_upward): Likewise.
15931 (rint_test_data): Merge in per-rounding-mode tests and results
15932 from rint_tonearest_test_data, rint_towardzero_test_data,
15933 rint_downward_test_data and rint_upward_test_data. Add
15934 per-rounding-mode results for tests not in those arrays.
15935 (rint_test): Use ALL_RM_TEST.
15936 (rint_tonearest_test_data): Remove.
15937 (rint_test_tonearest): Likewise.
15938 (rint_towardzero_test_data): Likewise.
15939 (rint_test_towardzero): Likewise.
15940 (rint_downward_test_data): Likewise.
15941 (rint_test_downward): Likewise.
15942 (rint_upward_test_data): Likewise.
15943 (rint_test_upward): Likewise.
15944 (main): Don't call removed functions.
15945
5006148e
RM
159462014-03-14 Roland McGrath <roland@hack.frob.com>
15947
15948 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15949 "Compiled on ..." crapola. It is anti-useful.
15950
d6fe5e58
JM
159512014-03-14 Joseph Myers <joseph@codesourcery.com>
15952
15953 * scripts/evaluate-test.sh: Handle fourth argument to determine
15954 whether test run should stop on failure.
15955 * Makeconfig (stop-on-test-failure): New variable.
15956 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15957 $(stop-on-test-failure).
15958 * Makefile (tests): Give a summary of results from testing and
15959 exit with failure status if they include an ERROR or FAIL.
15960 (xtests): Likewise.
15961 * manual/install.texi (Configuring and compiling): Mention
15962 stop-on-test-failure=y.
15963 * INSTALL: Regenerated.
15964
498a2233
RM
159652014-03-14 Roland McGrath <roland@hack.frob.com>
15966
22dbc19d
RM
15967 * scripts/versionlist.awk: New file.
15968 * Makerules [$(build-shared) = yes]
15969 (postclean-generated): Add Versions.def, not Versions.def.v and
15970 Versions.def.v.i.
15971 ($(common-objpfx)Versions.def.v.i): Target removed.
15972 ($(common-objpfx)Versions.def): New target.
15973 ($(common-objpfx)Versions.all): Depend on that rather that
15974 $(common-objpfx)Versions.def.v.
15975 * Versions.def: File removed.
15976
498a2233
RM
15977 * Makeconfig (+gccwarn): Add -Wundef.
15978 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15979 a dl-sysdep.h breaking its contract.
15980 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15981 * include/stackinfo.h: New file.
15982 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15983 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15984 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15985 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15986 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15987 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15988 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15989 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15990 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15991 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15992 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15993 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15994 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15995 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15996 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15997
c7de5025
AZ
159982014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15999
16000 [BZ #16707]
16001 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16002 implementation.
16003 * math/libm-test.inc (round_test_data): Add more tests.
16004
98fb27a3
AZ
16005 [BZ #16706]
16006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16007 implementation.
16008 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16009
374f7f61
AZ
16010 [BZ #16701]
16011 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16012 implementation.
16013 * math/libm-test.inc (ceil_test_data): Add more tests.
16014
4655c291
AZ
16015 * math/libm-test.inc (trunc_test_data): Add more tests related to
16016 BZ#16414.
16017
d7329d4b
RM
160182014-03-14 Roland McGrath <roland@hack.frob.com>
16019
16020 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16021 with #if rather than #ifdef.
16022 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16023
aa4de9ce
L
160242014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16025
16026 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16027 first. Disable AVX-512 GCC support if assembler doesn't support
16028 it.
16029 * sysdeps/x86_64/configure: Regenerated.
16030
2e03fae7
CD
160312014-03-13 Carlos O'Donell <carlos@redhat.com>
16032
16033 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16034 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16035 (__old_pthread_attr_setstack): Likewise.
16036 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16037 [!_STACK_GROWS_DOWN]: Likewise.
16038
43ca83ec
MF
160392014-03-13 Mike Frysinger <vapier@gentoo.org>
16040
16041 * config.make.in (have-bash2): Delete.
16042 * configure.ac (libc_cv_have_bash2): Delete.
16043 * configure: Regenerate.
16044 * elf/Makefile (common-ldd-rewrite): Rename to ...
16045 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16046 (sh-ldd-rewrite): Delete.
16047 (bash-ldd-rewrite): Delete.
16048 (have-bash2): Delete checks.
57f41c40
AS
16049 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16050 ldd-rewrite.
c66e48b4
MF
16051
16052 * config.make.in (have-ksh): Delete.
16053 (KSH): Delete.
16054 * configure.ac (libc_cv_have_ksh): Delete.
16055 * configure: Regenerate.
16056
b93834ef
MF
16057 * elf/Makefile: Delete $(have-ksh) check.
16058 ($(objpfx)sotruss): Change KSH to BASH.
16059 * elf/sotruss.ksh: Rename to ...
16060 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16061 function style to match POSIX. Drop ksh vim mode setting.
16062
f3a4632a
MF
16063 * manual/time.texi (Specifying the Time Zone with TZ): Change
16064 Tuesday to Thursday.
16065
5896c8bd
MF
16066 * debug/tst-longjmp_chk2.c: Update header comment.
16067 (stackoverflow_handler): Add comment. Call assert on pass value.
16068
2d63a517
IZ
160692014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16070
7e54fd04 16071 [BZ #16194]
2d63a517
IZ
16072 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16073 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16074 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16075 (La_x86_64_vector): Add zmm.
16076 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16077 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16078 ($(objpfx)tst-audit10): New target.
16079 ($(objpfx)tst-audit10.out): Likewise.
16080 (tst-audit10-ENV): New.
16081 (AVX512-CFLAGS): Likewise.
16082 (CFLAGS-tst-audit10.c): Likewise.
16083 (CFLAGS-tst-auditmod10a.c): Likewise.
16084 (CFLAGS-tst-auditmod10b.c): Likewise.
16085 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16086 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16087 * sysdeps/x86_64/configure: Regenerated.
16088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16089 AVX-512 zmm register support.
16090 (_dl_x86_64_save_sse): Likewise.
16091 (_dl_x86_64_restore_sse): Likewise.
16092 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16093 size vector registers.
16094 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16095 (ZMM_SIZE): Likewise.
16096 * sysdeps/x86_64/tst-audit10.c: New file.
16097 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16098 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16099
44c4e5d5
RM
161002014-03-13 Roland McGrath <roland@hack.frob.com>
16101
16102 * configure.ac (HAVE_EHDR_START): New check.
16103 * configure: Regenerated.
16104 * config.h.in (HAVE_EHDR_START): New #undef.
16105 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16106 assuming the lowest-addressed segment maps the start of the file.
16107
acd6e389
JM
161082014-03-13 Joseph Myers <joseph@codesourcery.com>
16109
16110 * INSTALL: Regenerated.
16111
6f918f36
WN
161122014-03-13 Will Newton <will.newton@linaro.org>
16113
16114 * manual/setjmp.texi (System V contexts): Improve
16115 clarity and grammar of documentation.
16116
798212a0
PP
161172014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16118
16119 [BZ #16381]
798212a0 16120 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16121 (tests-pie): Add tst-pie2.
798212a0
PP
16122 * elf/tst-pie2.c: New file.
16123 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16124 for ET_EXEC.
16125 * elf/rtld.c (map_doit): Load executable as lt_executable.
16126 (dl_main): Likewise.
16127
abe6d90c
JM
161282014-03-12 Joseph Myers <joseph@codesourcery.com>
16129
16130 [BZ #16642]
16131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16132 (__ASSUME_PSELECT): Undefine.
16133
dd3946c6
AZ
161342014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16135
16136 [BZ #16689]
16137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16138 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16139 static build.
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16141 selector for static builds.
16142
c44496df
SP
161432014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16144
16145 [BZ #16695]
16146 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16147 key in the buffer.
16148
27c7220a
AZ
161492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16150
57f41c40
AS
16151 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16152 IFUNC selector for static builds.
27c7220a 16153
600fa361
JM
161542014-03-11 Joseph Myers <joseph@codesourcery.com>
16155
76c96cf7
JM
16156 * sysdeps/mips/math_private.h [__mips_hard_float]
16157 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16158 libc_feresetround_mips_ctx.
16159 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16160 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16161 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16162
600fa361
JM
16163 [BZ #16677]
16164 * math/s_nextafter.c (__nextafter): Do not return value from
16165 overflowing computation.
16166 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16167 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16169 Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16171 Likewise.
16172 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16173 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16174
d7706c32
RM
161752014-03-11 Roland McGrath <roland@hack.frob.com>
16176
16177 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16178 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16179 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16180 the new mov targetting sp.
16181
4facea47
AZ
161822014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16183
16184 [BZ #16683]
16185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16186 Define it for static builds as well.
16187 (NO_BZERO_IMPL): Likewise.
16188
e65caf1f
VR
161892014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16190
16191 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16192 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16193 multiarch strspn for PPC64.
16194 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16195 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16197 (__libc_ifunc_impl_list): Likewise.
16198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16199 multiarch optimizations
16200 * string/strspn.c (strspn): Using macro to redefine symbol name.
16201
ba9cc071
AZ
162022014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16203 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16204
16205 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16206 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16207 multiarch strncat for PPC64.
16208 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16209 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16211 (__libc_ifunc_impl_list): Likewise.
16212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16213 multiarch optimizations
16214
8b4ff974
SP
162152014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16216
16217 [BZ #16639]
16218 * nscd/nscd.service: Make service type forking.
16219
54b46a4b
AZ
162202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16221
16222 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16223 sign in non default rounding modes.
16224 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16225
e9996ef7
JM
162262014-03-08 Joseph Myers <joseph@codesourcery.com>
16227
16228 * math/libm-test.inc (ALL_RM_TEST): New macro.
16229 (ceil_test): Use ALL_RM_TEST.
16230 (cimag_test): Likewise.
16231 (conj_test): Likewise.
16232 (copysign_test): Likewise.
16233 (cproj_test): Likewise.
16234 (creal_test): Likewise.
16235 (fabs_test): Likewise.
16236 (floor_test): Likewise.
16237 (fmax_test): Likewise.
16238 (fmin_test): Likewise.
16239 (fmod_test): Likewise.
16240 (fpclassify_test): Likewise.
16241 (frexp_test): Likewise.
16242 (ilogb_test): Likewise.
16243 (isfinite_test): Likewise.
16244 (finite_test): Likewise.
16245 (isgreater_test): Likewise.
16246 (isgreaterequal_test): Likewise.
16247 (isinf_test): Likewise.
16248 (isless_test): Likewise.
16249 (islessequal_test): Likewise.
16250 (islessgreater_test): Likewise.
16251 (isnan_test): Likewise.
16252 (isnormal_test): Likewise.
16253 (issignaling_test): Likewise.
16254 (isunordered_test): Likewise.
16255 (logb_test): Likewise.
16256 (logb_downward_test_data): Remove.
16257 (logb_test_downward): Likewise.
16258 (lround_test): Use ALL_RM_TEST.
16259 (llround_test): Likewise.
16260 (modf_test): Likewise.
16261 (nexttoward_test): Likewise.
16262 (remainder_test): Likewise.
16263 (drem_test): Likewise.
16264 (remainder_tonearest_test_data): Likewise.
16265 (remainder_test_tonearest): Likewise.
16266 (drem_test_tonearest): Likewise.
16267 (remainder_towardzero_test_data): Likewise.
16268 (remainder_test_towardzero): Likewise.
16269 (drem_test_towardzero): Likewise.
16270 (remainder_downward_test_data): Likewise.
16271 (remainder_test_downward): Likewise.
16272 (drem_test_downward): Likewise.
16273 (remainder_upward_test_data): Likewise.
16274 (remainder_test_upward): Likewise.
16275 (drem_test_upward): Likewise.
16276 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16277 (round_test): Use ALL_RM_TEST.
16278 (signbit_test): Likewise.
16279 (trunc_test): Likewise.
16280 (significand_test): Likewise.
16281 (main): Don't call removed functions.
16282
bc61d27c
JM
162832014-03-07 Joseph Myers <joseph@codesourcery.com>
16284
5c780849
JM
16285 [BZ #16674]
16286 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16287 || __USE_XOPEN2K8].
16288 (ILL_ILLOPN): Likewise.
16289 (ILL_ILLADR): Likewise.
16290 (ILL_ILLTRP): Likewise.
16291 (ILL_PRVOPC): Likewise.
16292 (ILL_PRVREG): Likewise.
16293 (ILL_COPROC): Likewise.
16294 (ILL_BADSTK): Likewise.
16295 (FPE_INTDIV): Likewise.
16296 (FPE_INTOVF): Likewise.
16297 (FPE_FLTDIV): Likewise.
16298 (FPE_FLTOVF): Likewise.
16299 (FPE_FLTUND): Likewise.
16300 (FPE_FLTRES): Likewise.
16301 (FPE_FLTINV): Likewise.
16302 (FPE_FLTSUB): Likewise.
16303 (SEGV_MAPERR): Likewise.
16304 (SEGV_ACCERR): Likewise.
16305 (BUS_ADRALN): Likewise.
16306 (BUS_ADRERR): Likewise.
16307 (BUS_OBJERR): Likewise.
16308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16309 (TRAP_TRACE): Likewise.
16310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16311 __USE_XOPEN2K8].
16312 (CLD_KILLED): Likewise.
16313 (CLD_DUMPED): Likewise.
16314 (CLD_TRAPPED): Likewise.
16315 (CLD_STOPPED): Likewise.
16316 (CLD_CONTINUED): Likewise.
16317 (POLL_IN): Likewise.
16318 (POLL_OUT): Likewise.
16319 (POLL_MSG): Likewise.
16320 (POLL_ERR): Likewise.
16321 (POLL_PRI): Likewise.
16322 (POLL_HUP): Likewise.
16323 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16324 Likewise.
16325 (ILL_ILLOPN): Likewise.
16326 (ILL_ILLADR): Likewise.
16327 (ILL_ILLTRP): Likewise.
16328 (ILL_PRVOPC): Likewise.
16329 (ILL_PRVREG): Likewise.
16330 (ILL_COPROC): Likewise.
16331 (ILL_BADSTK): Likewise.
16332 (FPE_INTDIV): Likewise.
16333 (FPE_INTOVF): Likewise.
16334 (FPE_FLTDIV): Likewise.
16335 (FPE_FLTOVF): Likewise.
16336 (FPE_FLTUND): Likewise.
16337 (FPE_FLTRES): Likewise.
16338 (FPE_FLTINV): Likewise.
16339 (FPE_FLTSUB): Likewise.
16340 (SEGV_MAPERR): Likewise.
16341 (SEGV_ACCERR): Likewise.
16342 (BUS_ADRALN): Likewise.
16343 (BUS_ADRERR): Likewise.
16344 (BUS_OBJERR): Likewise.
16345 (BUS_MCEERR_AR): Likewise.
16346 (BUS_MCEERR_AO): Likewise.
16347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16348 (TRAP_TRACE): Likewise.
16349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16350 __USE_XOPEN2K8].
16351 (CLD_KILLED): Likewise.
16352 (CLD_DUMPED): Likewise.
16353 (CLD_TRAPPED): Likewise.
16354 (CLD_STOPPED): Likewise.
16355 (CLD_CONTINUED): Likewise.
16356 (POLL_IN): Likewise.
16357 (POLL_OUT): Likewise.
16358 (POLL_MSG): Likewise.
16359 (POLL_ERR): Likewise.
16360 (POLL_PRI): Likewise.
16361 (POLL_HUP): Likewise.
16362 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16363 (ILL_ILLOPN): Likewise.
16364 (ILL_ILLADR): Likewise.
16365 (ILL_ILLTRP): Likewise.
16366 (ILL_PRVOPC): Likewise.
16367 (ILL_PRVREG): Likewise.
16368 (ILL_COPROC): Likewise.
16369 (ILL_BADSTK): Likewise.
16370 (FPE_INTDIV): Likewise.
16371 (FPE_INTOVF): Likewise.
16372 (FPE_FLTDIV): Likewise.
16373 (FPE_FLTOVF): Likewise.
16374 (FPE_FLTUND): Likewise.
16375 (FPE_FLTRES): Likewise.
16376 (FPE_FLTINV): Likewise.
16377 (FPE_FLTSUB): Likewise.
16378 (SEGV_MAPERR): Likewise.
16379 (SEGV_ACCERR): Likewise.
16380 (BUS_ADRALN): Likewise.
16381 (BUS_ADRERR): Likewise.
16382 (BUS_OBJERR): Likewise.
16383 (BUS_MCEERR_AR): Likewise.
16384 (BUS_MCEERR_AO): Likewise.
16385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16386 (TRAP_TRACE): Likewise.
16387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16388 __USE_XOPEN2K8].
16389 (CLD_KILLED): Likewise.
16390 (CLD_DUMPED): Likewise.
16391 (CLD_TRAPPED): Likewise.
16392 (CLD_STOPPED): Likewise.
16393 (CLD_CONTINUED): Likewise.
16394 (POLL_IN): Likewise.
16395 (POLL_OUT): Likewise.
16396 (POLL_MSG): Likewise.
16397 (POLL_ERR): Likewise.
16398 (POLL_PRI): Likewise.
16399 (POLL_HUP): Likewise.
16400 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16401 Likewise.
16402 (ILL_ILLOPN): Likewise.
16403 (ILL_ILLADR): Likewise.
16404 (ILL_ILLTRP): Likewise.
16405 (ILL_PRVOPC): Likewise.
16406 (ILL_PRVREG): Likewise.
16407 (ILL_COPROC): Likewise.
16408 (ILL_BADSTK): Likewise.
16409 (ILL_BADIADDR): Likewise.
16410 (ILL_BREAK): Likewise.
16411 (FPE_INTDIV): Likewise.
16412 (FPE_INTOVF): Likewise.
16413 (FPE_FLTDIV): Likewise.
16414 (FPE_FLTOVF): Likewise.
16415 (FPE_FLTUND): Likewise.
16416 (FPE_FLTRES): Likewise.
16417 (FPE_FLTINV): Likewise.
16418 (FPE_FLTSUB): Likewise.
16419 (FPE_DECOVF): Likewise.
16420 (FPE_DECDIV): Likewise.
16421 (FPE_DECERR): Likewise.
16422 (FPE_INVASC): Likewise.
16423 (FPE_INVDEC): Likewise.
16424 (SEGV_MAPERR): Likewise.
16425 (SEGV_ACCERR): Likewise.
16426 (SEGV_PSTKOVF): Likewise.
16427 (BUS_ADRALN): Likewise.
16428 (BUS_ADRERR): Likewise.
16429 (BUS_OBJERR): Likewise.
16430 (BUS_MCEERR_AR): Likewise.
16431 (BUS_MCEERR_AO): Likewise.
16432 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16433 (TRAP_TRACE): Likewise.
16434 (TRAP_BRANCH): Likewise.
16435 (TRAP_HWBKPT): Likewise.
16436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16437 __USE_XOPEN2K8].
16438 (CLD_KILLED): Likewise.
16439 (CLD_DUMPED): Likewise.
16440 (CLD_TRAPPED): Likewise.
16441 (CLD_STOPPED): Likewise.
16442 (CLD_CONTINUED): Likewise.
16443 (POLL_IN): Likewise.
16444 (POLL_OUT): Likewise.
16445 (POLL_MSG): Likewise.
16446 (POLL_ERR): Likewise.
16447 (POLL_PRI): Likewise.
16448 (POLL_HUP): Likewise.
16449 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16450 (ILL_ILLOPN): Likewise.
16451 (ILL_ILLADR): Likewise.
16452 (ILL_ILLTRP): Likewise.
16453 (ILL_PRVOPC): Likewise.
16454 (ILL_PRVREG): Likewise.
16455 (ILL_COPROC): Likewise.
16456 (ILL_BADSTK): Likewise.
16457 (FPE_INTDIV): Likewise.
16458 (FPE_INTOVF): Likewise.
16459 (FPE_FLTDIV): Likewise.
16460 (FPE_FLTOVF): Likewise.
16461 (FPE_FLTUND): Likewise.
16462 (FPE_FLTRES): Likewise.
16463 (FPE_FLTINV): Likewise.
16464 (FPE_FLTSUB): Likewise.
16465 (SEGV_MAPERR): Likewise.
16466 (SEGV_ACCERR): Likewise.
16467 (BUS_ADRALN): Likewise.
16468 (BUS_ADRERR): Likewise.
16469 (BUS_OBJERR): Likewise.
16470 (BUS_MCEERR_AR): Likewise.
16471 (BUS_MCEERR_AO): Likewise.
16472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16473 (TRAP_TRACE): Likewise.
16474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16475 __USE_XOPEN2K8].
16476 (CLD_KILLED): Likewise.
16477 (CLD_DUMPED): Likewise.
16478 (CLD_TRAPPED): Likewise.
16479 (CLD_STOPPED): Likewise.
16480 (CLD_CONTINUED): Likewise.
16481 (POLL_IN): Likewise.
16482 (POLL_OUT): Likewise.
16483 (POLL_MSG): Likewise.
16484 (POLL_ERR): Likewise.
16485 (POLL_PRI): Likewise.
16486 (POLL_HUP): Likewise.
16487 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16488 (ILL_ILLOPN): Likewise.
16489 (ILL_ILLADR): Likewise.
16490 (ILL_ILLTRP): Likewise.
16491 (ILL_PRVOPC): Likewise.
16492 (ILL_PRVREG): Likewise.
16493 (ILL_COPROC): Likewise.
16494 (ILL_BADSTK): Likewise.
16495 (FPE_INTDIV): Likewise.
16496 (FPE_INTOVF): Likewise.
16497 (FPE_FLTDIV): Likewise.
16498 (FPE_FLTOVF): Likewise.
16499 (FPE_FLTUND): Likewise.
16500 (FPE_FLTRES): Likewise.
16501 (FPE_FLTINV): Likewise.
16502 (FPE_FLTSUB): Likewise.
16503 (SEGV_MAPERR): Likewise.
16504 (SEGV_ACCERR): Likewise.
16505 (BUS_ADRALN): Likewise.
16506 (BUS_ADRERR): Likewise.
16507 (BUS_OBJERR): Likewise.
16508 (BUS_MCEERR_AR): Likewise.
16509 (BUS_MCEERR_AO): Likewise.
16510 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16511 (TRAP_TRACE): Likewise.
16512 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16513 __USE_XOPEN2K8].
16514 (CLD_KILLED): Likewise.
16515 (CLD_DUMPED): Likewise.
16516 (CLD_TRAPPED): Likewise.
16517 (CLD_STOPPED): Likewise.
16518 (CLD_CONTINUED): Likewise.
16519 (POLL_IN): Likewise.
16520 (POLL_OUT): Likewise.
16521 (POLL_MSG): Likewise.
16522 (POLL_ERR): Likewise.
16523 (POLL_PRI): Likewise.
16524 (POLL_HUP): Likewise.
16525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16526 (ILL_ILLOPN): Likewise.
16527 (ILL_ILLADR): Likewise.
16528 (ILL_ILLTRP): Likewise.
16529 (ILL_PRVOPC): Likewise.
16530 (ILL_PRVREG): Likewise.
16531 (ILL_COPROC): Likewise.
16532 (ILL_BADSTK): Likewise.
16533 (FPE_INTDIV): Likewise.
16534 (FPE_INTOVF): Likewise.
16535 (FPE_FLTDIV): Likewise.
16536 (FPE_FLTOVF): Likewise.
16537 (FPE_FLTUND): Likewise.
16538 (FPE_FLTRES): Likewise.
16539 (FPE_FLTINV): Likewise.
16540 (FPE_FLTSUB): Likewise.
16541 (SEGV_MAPERR): Likewise.
16542 (SEGV_ACCERR): Likewise.
16543 (BUS_ADRALN): Likewise.
16544 (BUS_ADRERR): Likewise.
16545 (BUS_OBJERR): Likewise.
16546 (BUS_MCEERR_AR): Likewise.
16547 (BUS_MCEERR_AO): Likewise.
16548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16549 (TRAP_TRACE): Likewise.
16550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16551 __USE_XOPEN2K8].
16552 (CLD_KILLED): Likewise.
16553 (CLD_DUMPED): Likewise.
16554 (CLD_TRAPPED): Likewise.
16555 (CLD_STOPPED): Likewise.
16556 (CLD_CONTINUED): Likewise.
16557 (POLL_IN): Likewise.
16558 (POLL_OUT): Likewise.
16559 (POLL_MSG): Likewise.
16560 (POLL_ERR): Likewise.
16561 (POLL_PRI): Likewise.
16562 (POLL_HUP): Likewise.
16563 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16564 (ILL_ILLOPN): Likewise.
16565 (ILL_ILLADR): Likewise.
16566 (ILL_ILLTRP): Likewise.
16567 (ILL_PRVOPC): Likewise.
16568 (ILL_PRVREG): Likewise.
16569 (ILL_COPROC): Likewise.
16570 (ILL_BADSTK): Likewise.
16571 (ILL_DBLFLT): Likewise.
16572 (ILL_HARDWALL): Likewise.
16573 (FPE_INTDIV): Likewise.
16574 (FPE_INTOVF): Likewise.
16575 (FPE_FLTDIV): Likewise.
16576 (FPE_FLTOVF): Likewise.
16577 (FPE_FLTUND): Likewise.
16578 (FPE_FLTRES): Likewise.
16579 (FPE_FLTINV): Likewise.
16580 (FPE_FLTSUB): Likewise.
16581 (SEGV_MAPERR): Likewise.
16582 (SEGV_ACCERR): Likewise.
16583 (BUS_ADRALN): Likewise.
16584 (BUS_ADRERR): Likewise.
16585 (BUS_OBJERR): Likewise.
16586 (BUS_MCEERR_AR): Likewise.
16587 (BUS_MCEERR_AO): Likewise.
16588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16589 (TRAP_TRACE): Likewise.
16590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16591 __USE_XOPEN2K8].
16592 (CLD_KILLED): Likewise.
16593 (CLD_DUMPED): Likewise.
16594 (CLD_TRAPPED): Likewise.
16595 (CLD_STOPPED): Likewise.
16596 (CLD_CONTINUED): Likewise.
16597 (POLL_IN): Likewise.
16598 (POLL_OUT): Likewise.
16599 (POLL_MSG): Likewise.
16600 (POLL_ERR): Likewise.
16601 (POLL_PRI): Likewise.
16602 (POLL_HUP): Likewise.
16603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16604 (ILL_ILLOPN): Likewise.
16605 (ILL_ILLADR): Likewise.
16606 (ILL_ILLTRP): Likewise.
16607 (ILL_PRVOPC): Likewise.
16608 (ILL_PRVREG): Likewise.
16609 (ILL_COPROC): Likewise.
16610 (ILL_BADSTK): Likewise.
16611 (FPE_INTDIV): Likewise.
16612 (FPE_INTOVF): Likewise.
16613 (FPE_FLTDIV): Likewise.
16614 (FPE_FLTOVF): Likewise.
16615 (FPE_FLTUND): Likewise.
16616 (FPE_FLTRES): Likewise.
16617 (FPE_FLTINV): Likewise.
16618 (FPE_FLTSUB): Likewise.
16619 (SEGV_MAPERR): Likewise.
16620 (SEGV_ACCERR): Likewise.
16621 (BUS_ADRALN): Likewise.
16622 (BUS_ADRERR): Likewise.
16623 (BUS_OBJERR): Likewise.
16624 (BUS_MCEERR_AR): Likewise.
16625 (BUS_MCEERR_AO): Likewise.
16626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16627 (TRAP_TRACE): Likewise.
16628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16629 __USE_XOPEN2K8].
16630 (CLD_KILLED): Likewise.
16631 (CLD_DUMPED): Likewise.
16632 (CLD_TRAPPED): Likewise.
16633 (CLD_STOPPED): Likewise.
16634 (CLD_CONTINUED): Likewise.
16635 (POLL_IN): Likewise.
16636 (POLL_OUT): Likewise.
16637 (POLL_MSG): Likewise.
16638 (POLL_ERR): Likewise.
16639 (POLL_PRI): Likewise.
16640 (POLL_HUP): Likewise.
16641 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16642 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16643
bc61d27c
JM
16644 [BZ #16670]
16645 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16646 before #include of <time.h>.
16647 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16648 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16649 (test-xfail-UNIX98/sched.h/conform): Likewise.
16650
302949e2
MS
166512014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16652
16653 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16654 error absence of trapping exception support.
16655 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16656
a00f522a
JM
166572014-03-07 Joseph Myers <joseph@codesourcery.com>
16658
6f99f280
JM
16659 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16660 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16661 * timezone/Makefile (testdata): Move definition above include of
16662 Rules.
16663 (test-zones): New variable.
16664 (tests-special): Add zone files.
16665 (build-testdata): Use $(evaluate-test).
16666
0b20a9e8
JM
16667 * elf/Makefile (tests-special): Rename tests to end with .out.
16668 ($(objpfx)noload-mem): Likewise.
16669 ($(objpfx)tst-leaks1-mem): Likewise.
16670 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16671 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16672 $(objpfx)test-iconvconfig.out.
16673 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16674 set -e inside subshell and redirect output to file.
16675 * iconvdata/Makefile (generated): Rename tests to end with .out.
16676 Correct type.
16677 (tests-special): Rename tests to end with .out.
16678 ($(objpfx)mtrace-tst-loading): Likewise.
16679 * intl/Makefile (generated): Likewise.
16680 (tests-special): Likewise.
16681 ($(objpfx)mtrace-tst-gettext): Likewise.
16682 * misc/Makefile (generated): Likewise.
16683 (tests-special): Likewise.
16684 ($(objpfx)tst-error1-mem): Likewise.
16685 * nptl/Makefile (tests-special): Likewise.
16686 ($(objpfx)tst-stack3-mem): Likewise.
16687 (generated): Likewise.
16688 * posix/Makefile (generated): Likewise.
16689 (tests-special): Likewise.
16690 (xtests-special): Likewise.
16691 ($(objpfx)tst-fnmatch-mem): Likewise.
16692 ($(objpfx)bug-regex2-mem): Likewise.
16693 ($(objpfx)bug-regex14-mem): Likewise.
16694 ($(objpfx)bug-regex21-mem): Likewise.
16695 ($(objpfx)bug-regex31-mem): Likewise.
16696 ($(objpfx)tst-vfork3-mem): Likewise.
16697 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16698 ($(objpfx)tst-pcre-mem): Likewise.
16699 ($(objpfx)tst-boost-mem): Likewise.
16700 ($(objpfx)bug-ga2-mem): Likewise.
16701 ($(objpfx)bug-glob2-mem): Likewise.
16702 * resolv/Makefile (generate): Likewise.
16703 (tests-special): Likewise.
16704 (xtests-special): Likewise.
16705 (generated): Likewise.
16706 ($(objpfx)mtrace-tst-leaks): Likewise.
16707 ($(objpfx)mtrace-tst-leaks2): Likewise.
16708
265d52ab
JM
16709 * scripts/merge-test-results.sh: New file.
16710 * Makefile (tests-special-notdir): New variable.
16711 (tests): Run merge-test-results.sh.
16712 (xtests): Likewise.
16713 * Rules (tests-special-notdir): New variable.
16714 (xtests-special-notdir): Likewise.
16715 (tests): Run merge-test-results.sh
16716 (xtests): Likewise.
16717
54ee292d
JM
16718 * Makeconfig (test-xfail-name): New variable.
16719 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16720 compute variable name for expected failures.
16721 * conform/Makefile (conformtest-headers-data): New variable.
16722 (conformtest-standards): Likewise.
16723 (conformtest-headers-ISO): Likewise.
16724 (conformtest-headers-ISO99): Likewise.
16725 (conformtest-headers-ISO11): Likewise.
16726 (conformtest-headers-POSIX): Likewise.
16727 (conformtest-headers-XPG3): Likewise.
16728 (conformtest-headers-XPG4): Likewise.
16729 (conformtest-headers-UNIX98): Likewise.
16730 (conformtest-headers-XOPEN2K): Likewise.
16731 (conformtest-headers-POSIX2008): Likewise.
16732 (conformtest-headers-XOPEN2K8): Likewise.
16733 (conformtest-header-list-base): Likewise.
16734 (conformtest-header-list-tests): Likewise.
16735 (conformtest-header-base): Likewise.
16736 (conformtest-header-tests): Likewise.
16737 (tests-special): Add $(conformtest-header-list-tests). If
16738 [$(fast-check) && !$(cross-compiling)], add
16739 $(conformtest-header-tests) instead of
16740 $(objpfx)run-conformtest.out.
16741 (generated): Add $(conformtest-header-list-base). If
16742 [$(fast-check) && !$(cross-compiling)], add
16743 $(conformtest-header-base). Remove previous setting.
16744 ($(conformtest-header-list-tests)): New target.
16745 (test-xfail-run-conformtest): Remove variable.
16746 ($(objpfx)run-conformtest.out): Remove target.
16747 (test-xfail-ISO11/complex.h/conform): New variable.
16748 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16749 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16750 (test-xfail-XPG3/varargs.h/conform): Likewise.
16751 (test-xfail-XPG4/varargs.h/conform): Likewise.
16752 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16753 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16754 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16755 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16756 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16757 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16758 (test-xfail-XPG3/ftw.h/conform): Likewise.
16759 (test-xfail-XPG3/grp.h/conform): Likewise.
16760 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16761 (test-xfail-XPG3/limits.h/conform): Likewise.
16762 (test-xfail-XPG3/pwd.h/conform): Likewise.
16763 (test-xfail-XPG3/search.h/conform): Likewise.
16764 (test-xfail-XPG3/signal.h/conform): Likewise.
16765 (test-xfail-XPG3/stdio.h/conform): Likewise.
16766 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16767 (test-xfail-XPG3/string.h/conform): Likewise.
16768 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16769 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16770 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16771 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16772 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16773 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16774 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16775 (test-xfail-XPG3/termios.h/conform): Likewise.
16776 (test-xfail-XPG3/time.h/conform): Likewise.
16777 (test-xfail-XPG3/unistd.h/conform): Likewise.
16778 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16779 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16780 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16781 (test-xfail-XPG4/netdb.h/conform): Likewise.
16782 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16783 (test-xfail-XPG4/signal.h/conform): Likewise.
16784 (test-xfail-XPG4/stdio.h/conform): Likewise.
16785 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16786 (test-xfail-XPG4/stropts.h/conform): Likewise.
16787 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16788 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16789 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16790 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16791 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16792 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16793 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16794 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16795 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16796 (test-xfail-XPG4/termios.h/conform): Likewise.
16797 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16798 (test-xfail-XPG4/unistd.h/conform): Likewise.
16799 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16800 (test-xfail-POSIX/sched.h/conform): Likewise.
16801 (test-xfail-POSIX/signal.h/conform): Likewise.
16802 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16803 (test-xfail-POSIX/tar.h/conform): Likewise.
16804 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16805 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16806 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16807 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16808 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16809 (test-xfail-UNIX98/sched.h/conform): Likewise.
16810 (test-xfail-UNIX98/signal.h/conform): Likewise.
16811 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16812 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16813 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16814 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16815 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16816 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16817 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16818 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16819 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16820 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16821 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16822 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16823 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16824 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16825 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16826 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16827 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16828 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16829 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16830 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16831 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16832 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16833 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16834 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16835 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16836 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16837 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16838 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16839 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16840 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16841 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16842 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16843 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16844 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16845 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16846 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16847 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16848 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16849 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16850 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16851 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16852 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16853 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16854 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16855 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16856 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16857 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16858 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16859 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16860 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16861 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16862 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16863 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16864 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16865 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16866 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16867 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16868 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16869 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16870 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16871 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16872 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16873 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16874 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16875 (conformtest-cc-flags): Likewise.
16876 ($(conformtest-header-tests): New target.
16877 * conform/check-header-lists.sh: New file.
16878 * conform/run-conformtest.sh: Remove.
16879
a00f522a
JM
16880 * conform/conformtest.pl: Allow ' and \ in values given for
16881 constants.
16882 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16883 inclusion.
16884 [POSIX] (sys/types.h): Likewise.
16885 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16886 inclusion.
16887 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16888 inclusion.
16889 * conform/data/signal.h-data (SIGIO): Remove expectation.
16890 [XPG3] (SIGBUS): Do not expect.
16891 [POSIX || XPG3] (SIGPOLL): Likewise.
16892 [POSIX || XPG3] (SIGPROF): Likewise.
16893 [POSIX || XPG3] (SIGSYS): Likewise.
16894 [XPG3] (SIGTRAP): Likewise.
16895 [POSIX || XPG3] (SIGURG): Likewise.
16896 [POSIX || XPG3] (SIGVTALRM): Likewise.
16897 [POSIX || XPG3] (SIGXCPU): Likewise.
16898 [POSIX || XPG3] (SIGXFSZ): Likewise.
16899 [POSIX] (SA_SIGINFO): Expect.
16900 [XPG3] (siginfo_t): Do not expect type or contents.
16901 [POSIX] (si_pid): Do not expect element.
16902 [POSIX] (si_uid): Likewise.
16903 [POSIX] (si_addr): Likewise.
16904 [POSIX] (si_status): Likewise.
16905 [POSIX] (si_band): Likewise.
16906 [XPG4] (si_value): Likewise.
16907 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16908 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16909 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16910 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16911 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16912 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16913 [POSIX || XPG3] (ILL_COPROC): Likewise.
16914 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16915 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16916 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16917 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16918 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16919 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16920 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16921 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16922 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16923 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16924 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16925 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16926 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16927 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16928 [POSIX || XPG3] (CLD_EXITED): Likewise.
16929 [POSIX || XPG3] (CLD_KILLED): Likewise.
16930 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16931 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16932 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16933 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16934 [POSIX || XPG3] (POLL_IN): Likewise.
16935 [POSIX || XPG3] (POLL_OUT): Likewise.
16936 [POSIX || XPG3] (POLL_MSG): Likewise.
16937 [POSIX || XPG3] (POLL_ERR): Likewise.
16938 [POSIX || XPG3] (POLL_PRI): Likewise.
16939 [POSIX || XPG3] (POLL_HUP): Likewise.
16940 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16941 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16942 (SIG*): Do not allow.
16943 [XPG3] (si_*): Likewise.
16944 [XPG3] (SI_*): Likewise.
16945 [XPG3 || XPG4] (sigev_*): Likewise.
16946 [XPG3 || XPG4] (SIGEV_*): Likewise.
16947 [XPG3 || XPG4] (sival_*): Likewise.
16948 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16949 [POSIX || XPG3] (BUS_*): Likewise.
16950 [POSIX || XPG3] (CLD_*): Likewise.
16951 [POSIX || XPG3] (FPE_*): Likewise.
16952 [POSIX || XPG3] (ILL_*): Likewise.
16953 [POSIX || XPG3] (POLL_*): Likewise.
16954 [POSIX || XPG3] (SEGV_*): Likewise.
16955 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16956 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16957 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16958 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16959 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16960 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16961 Specify type and value.
16962 (TVERSLEN): Likewise.
16963 (REGTYPE): Likewise.
16964 (AREGTYPE): Likewise.
16965 (LNKTYPE): Likewise.
16966 (SYMTYPE): Likewise.
16967 (CHRTYPE): Likewise.
16968 (BLKTYPE): Likewise.
16969 (DIRTYPE): Likewise.
16970 (FIFOTYPE): Likewise.
16971 (CONTTYPE): Likewise.
16972 (TSUID): Likewise.
16973 (TSGID): Likewise.
16974 (TSVTX): Likewise.
16975 (TUREAD): Likewise.
16976 (TUWRITE): Likewise.
16977 (TUEXEC): Likewise.
16978 (TGREAD): Likewise.
16979 (TGWRITE): Likewise.
16980 (TGEXEC): Likewise.
16981 (TOREAD): Likewise.
16982 (TOWRITE): Likewise.
16983 (TOEXEC): Likewise.
16984 [POSIX] (TSVTX): Expect constant.
16985
aa97dee1
JM
169862014-03-06 Joseph Myers <joseph@codesourcery.com>
16987
f214606a
JM
16988 * Makefile (tests): Change dependencies to ....
16989 (tests-special): ... additions to this variable.
16990 (tests): Depend on $(tests-special).
16991 * Makerules (check-abi-list): New variable.
16992 (check-abi): Depend on $(check-abi-list).
16993 [$(subdir) = elf] (tests-special): Add
16994 $(objpfx)check-abi-libc.out.
16995 [$(build-shared) = yes && subdir] (tests-special): Add
16996 $(check-abi-list).
16997 [$(build-shared) = yes && subdir] (tests): Do not depend on
16998 check-abi.
16999 * Rules (tests): Depend on $(tests-special).
17000 (xtests): Depend on $(xtests-special).
17001 * catgets/Makefile (tests): Change dependencies to ....
17002 (tests-special): ... additions to this variable.
17003 * conform/Makefile (tests): Change dependencies to ....
17004 (tests-special): ... additions to this variable.
17005 * elf/Makefile (tests): Change dependencies to ....
17006 (tests-special): ... additions to this variable.
17007 * grp/Makefile (tests): Change dependencies to ....
17008 (tests-special): ... additions to this variable.
17009 * iconv/Makefile (xtests): Change dependencies to ....
17010 (xtests-special): ... additions to this variable.
17011 * iconvdata/Makefile (tests): Change dependencies to ....
17012 (tests-special): ... additions to this variable.
17013 * intl/Makefile (tests): Change dependencies to ....
17014 (tests-special): ... additions to this variable. Also add
17015 $(objpfx)tst-gettext.out.
17016 * io/Makefile (tests): Change dependencies to ....
17017 (tests-special): ... additions to this variable.
17018 * libio/Makefile (tests): Change dependencies to ....
17019 (tests-special): ... additions to this variable.
17020 * malloc/Makefile (tests): Change dependencies to ....
17021 (tests-special): ... additions to this variable.
17022 * misc/Makefile (tests): Change dependencies to ....
17023 (tests-special): ... additions to this variable.
17024 * nptl/Makefile (tests): Change dependencies to ....
17025 (tests-special): ... additions to this variable.
17026 * nptl_db/Makefile (tests): Change dependencies to ....
17027 (tests-special): ... additions to this variable.
17028 * posix/Makefile (tests): Change dependencies to ....
17029 (tests-special): ... additions to this variable.
17030 (xtests): Change dependencies to ....
17031 (xtests-special): ... additions to this variable.
17032 * resolv/Makefile (tests): Change dependencies to ....
17033 (tests-special): ... additions to this variable.
17034 (xtests): Change dependencies to ....
17035 (xtests-special): ... additions to this variable.
17036 * stdio-common/Makefile (tests): Change dependencies to ....
17037 (tests-special): ... additions to this variable.
17038 (do-tst-unbputc): Remove target.
17039 (do-tst-printf): Likewise.
17040 * stdlib/Makefile (tests): Change dependencies to ....
17041 (tests-special): ... additions to this variable.
17042 * string/Makefile (tests): Change dependencies to ....
17043 (tests-special): ... additions to this variable.
17044 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17045 (tests-special): ... additions to this variable.
17046
81700b53
JM
17047 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17048 whole file.
17049 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17050 whole file.
17051 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17052 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17053
2ea18461
JM
17054 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17055 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17056 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17057 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17058 * conform/data/libgen.h-data [XPG3]: Likewise.
17059 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17060 * conform/data/ndbm.h-data [XPG3]: Likewise.
17061 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17062 * conform/data/netdb.h-data [XPG3]: Likewise.
17063 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17064 * conform/data/poll.h-data [XPG3]: Likewise.
17065 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17066 * conform/data/strings.h-data [XPG3]: Likewise.
17067 * conform/data/stropts.h-data [XPG3]: Likewise.
17068 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17069 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17070 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17071 Likewise.
17072 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17073 * conform/data/sys/time.h-data [XPG3]: Likewise.
17074 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17075 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17076 * conform/data/sys/un.h-data [XPG3]: Likewise.
17077 * conform/data/syslog.h-data [XPG3]: Likewise.
17078 * conform/data/ucontext.h-data [XPG3]: Likewise.
17079 * conform/data/utmpx.h-data [XPG3]: Likewise.
17080 * conform/data/varargs.h-data [UNIX98]: Enable file.
17081
355bc986
JM
17082 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17083
215db402
JM
17084 * math/libm-test.inc (struct test_f_f_data): Move expected results
17085 into structure for each rounding mode.
17086 (struct test_ff_f_data): Likewise.
17087 (struct test_ff_f_data_nexttoward): Likewise.
17088 (struct test_fi_f_data): Likewise.
17089 (struct test_fl_f_data): Likewise.
17090 (struct test_if_f_data): Likewise.
17091 (struct test_fff_f_data): Likewise.
17092 (struct test_c_f_data): Likewise.
17093 (struct test_f_f1_data): Likewise.
17094 (struct test_fF_f1_data): Likewise.
17095 (struct test_ffI_f1_data): Likewise.
17096 (struct test_c_c_data): Likewise.
17097 (struct test_cc_c_data): Likewise.
17098 (struct test_f_i_data): Likewise.
17099 (struct test_ff_i_data): Likewise.
17100 (struct test_f_l_data): Likewise.
17101 (struct test_f_L_data): Likewise.
17102 (struct test_fFF_11_data): Likewise.
17103 (RM_): New macro.
17104 (RM_FE_DOWNWARD): Likewise.
17105 (RM_FE_TONEAREST): Likewise.
17106 (RM_FE_TOWARDZERO): Likewise.
17107 (RM_FE_UPWARD): Likewise.
17108 (RUN_TEST_LOOP_f_f): Update references to expected results.
17109 (RUN_TEST_LOOP_2_f): Likewise.
17110 (RUN_TEST_LOOP_fff_f): Likewise.
17111 (RUN_TEST_LOOP_c_f): Likewise.
17112 (RUN_TEST_LOOP_f_f1): Likewise.
17113 (RUN_TEST_LOOP_fF_f1): Likewise.
17114 (RUN_TEST_LOOP_fI_f1): Likewise.
17115 (RUN_TEST_LOOP_ffI_f1): Likewise.
17116 (RUN_TEST_LOOP_c_c): Likewise.
17117 (RUN_TEST_LOOP_cc_c): Likewise.
17118 (RUN_TEST_LOOP_f_i): Likewise.
17119 (RUN_TEST_LOOP_f_i_tg): Likewise.
17120 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17121 (RUN_TEST_LOOP_f_b): Likewise.
17122 (RUN_TEST_LOOP_f_b_tg): Likewise.
17123 (RUN_TEST_LOOP_f_l): Likewise.
17124 (RUN_TEST_LOOP_f_L): Likewise.
17125 (RUN_TEST_LOOP_fFF_11): Likewise.
17126 * math/gen-libm-test.pl (parse_args): Output four copies of
17127 expected results for each test.
17128
67737b8f
JM
17129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17130 (__ASSUME_UTIMES): Remove.
17131 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17132 (__ASSUME_UTIMES): Likewise.
17133
aa97dee1
JM
17134 * math/gen-auto-libm-tests.c: Update comment on output format.
17135 (output_for_one_input_case): Generate before-rounding and
17136 after-rounding information as conditions on output flags not
17137 floating-point format.
17138 * math/auto-libm-test-out: Regenerated.
17139 * math/gen-libm-test.pl (cond_value): New function.
17140 (or_cond_value): Use cond_value.
17141 (generate_testfile): Handle conditional exceptions.
17142
e6b6a857
JM
171432014-03-05 Joseph Myers <joseph@codesourcery.com>
17144
2f0a0f44
JM
17145 * math/libm-test.inc (max_valid_error): New variable.
17146 (init_max_error): Take new argument specifying whether function
17147 results are exactly determined. Set max_valid_error and bound
17148 other variables for errors based on this argument.
17149 (set_max_error): Do not record results above max_valid_error.
17150 (check_float_internal): Only accept errors of up to 0.5ulps if
17151 also at most max_valid_error.
17152 (START): Take new argument EXACT and pass it to init_max_error.
17153 (acos_test): Update call to START.
17154 (acos_test_tonearest): Likewise.
17155 (acos_test_towardzero): Likewise.
17156 (acos_test_downward): Likewise.
17157 (acos_test_upward): Likewise.
17158 (acosh_test): Likewise.
17159 (asin_test): Likewise.
17160 (asin_test_tonearest): Likewise.
17161 (asin_test_towardzero): Likewise.
17162 (asin_test_downward): Likewise.
17163 (asin_test_upward): Likewise.
17164 (asinh_test): Likewise.
17165 (atan_test): Likewise.
17166 (atanh_test): Likewise.
17167 (atan2_test): Likewise.
17168 (cabs_test): Likewise.
17169 (cacos_test): Likewise.
17170 (cacosh_test): Likewise.
17171 (carg_test): Likewise.
17172 (casin_test): Likewise.
17173 (casinh_test): Likewise.
17174 (catan_test): Likewise.
17175 (catanh_test): Likewise.
17176 (cbrt_test): Likewise.
17177 (ccos_test): Likewise.
17178 (ccosh_test): Likewise.
17179 (ceil_test): Likewise.
17180 (cexp_test): Likewise.
17181 (cimag_test): Likewise.
17182 (clog_test): Likewise.
17183 (clog10_test): Likewise.
17184 (conj_test): Likewise.
17185 (copysign_test): Likewise.
17186 (cos_test): Likewise.
17187 (cos_test_tonearest): Likewise.
17188 (cos_test_towardzero): Likewise.
17189 (cos_test_downward): Likewise.
17190 (cos_test_upward): Likewise.
17191 (cosh_test): Likewise.
17192 (cosh_test_tonearest): Likewise.
17193 (cosh_test_towardzero): Likewise.
17194 (cosh_test_downward): Likewise.
17195 (cosh_test_upward): Likewise.
17196 (cpow_test): Likewise.
17197 (cproj_test): Likewise.
17198 (creal_test): Likewise.
17199 (csin_test): Likewise.
17200 (csinh_test): Likewise.
17201 (csqrt_test): Likewise.
17202 (ctan_test): Likewise.
17203 (ctan_test_tonearest): Likewise.
17204 (ctan_test_towardzero): Likewise.
17205 (ctan_test_downward): Likewise.
17206 (ctan_test_upward): Likewise.
17207 (ctanh_test): Likewise.
17208 (ctanh_test_tonearest): Likewise.
17209 (ctanh_test_towardzero): Likewise.
17210 (ctanh_test_downward): Likewise.
17211 (ctanh_test_upward): Likewise.
17212 (erf_test): Likewise.
17213 (erfc_test): Likewise.
17214 (exp_test): Likewise.
17215 (exp_test_tonearest): Likewise.
17216 (exp_test_towardzero): Likewise.
17217 (exp_test_downward): Likewise.
17218 (exp_test_upward): Likewise.
17219 (exp10_test): Likewise.
17220 (exp10_test_tonearest): Likewise.
17221 (exp10_test_towardzero): Likewise.
17222 (exp10_test_downward): Likewise.
17223 (exp10_test_upward): Likewise.
17224 (pow10_test): Likewise.
17225 (exp2_test): Likewise.
17226 (expm1_test): Likewise.
17227 (expm1_test_tonearest): Likewise.
17228 (expm1_test_towardzero): Likewise.
17229 (expm1_test_downward): Likewise.
17230 (expm1_test_upward): Likewise.
17231 (fabs_test): Likewise.
17232 (fdim_test): Likewise.
17233 (floor_test): Likewise.
17234 (fma_test): Likewise.
17235 (fma_test_towardzero): Likewise.
17236 (fma_test_downward): Likewise.
17237 (fma_test_upward): Likewise.
17238 (fmax_test): Likewise.
17239 (fmin_test): Likewise.
17240 (fmod_test): Likewise.
17241 (fpclassify_test): Likewise.
17242 (frexp_test): Likewise.
17243 (hypot_test): Likewise.
17244 (ilogb_test): Likewise.
17245 (isfinite_test): Likewise.
17246 (finite_test): Likewise.
17247 (isgreater_test): Likewise.
17248 (isgreaterequal_test): Likewise.
17249 (isinf_test): Likewise.
17250 (isless_test): Likewise.
17251 (islessequal_test): Likewise.
17252 (islessgreater_test): Likewise.
17253 (isnan_test): Likewise.
17254 (isnormal_test): Likewise.
17255 (issignaling_test): Likewise.
17256 (isunordered_test): Likewise.
17257 (j0_test): Likewise.
17258 (j1_test): Likewise.
17259 (jn_test): Likewise.
17260 (ldexp_test): Likewise.
17261 (lgamma_test): Likewise.
17262 (gamma_test): Likewise.
17263 (lrint_test): Likewise.
17264 (lrint_test_tonearest): Likewise.
17265 (lrint_test_towardzero): Likewise.
17266 (lrint_test_downward): Likewise.
17267 (lrint_test_upward): Likewise.
17268 (llrint_test): Likewise.
17269 (llrint_test_tonearest): Likewise.
17270 (llrint_test_towardzero): Likewise.
17271 (llrint_test_downward): Likewise.
17272 (llrint_test_upward): Likewise.
17273 (log_test): Likewise.
17274 (log10_test): Likewise.
17275 (log1p_test): Likewise.
17276 (log2_test): Likewise.
17277 (logb_test): Likewise.
17278 (logb_test_downward): Likewise.
17279 (lround_test): Likewise.
17280 (llround_test): Likewise.
17281 (modf_test): Likewise.
17282 (nearbyint_test): Likewise.
17283 (nextafter_test): Likewise.
17284 (nexttoward_test): Likewise.
17285 (pow_test): Likewise.
17286 (pow_test_tonearest): Likewise.
17287 (pow_test_towardzero): Likewise.
17288 (pow_test_downward): Likewise.
17289 (pow_test_upward): Likewise.
17290 (remainder_test): Likewise.
17291 (drem_test): Likewise.
17292 (remainder_test_tonearest): Likewise.
17293 (drem_test_tonearest): Likewise.
17294 (remainder_test_towardzero): Likewise.
17295 (drem_test_towardzero): Likewise.
17296 (remainder_test_downward): Likewise.
17297 (drem_test_downward): Likewise.
17298 (remainder_test_upward): Likewise.
17299 (drem_test_upward): Likewise.
17300 (remquo_test): Likewise.
17301 (rint_test): Likewise.
17302 (rint_test_tonearest): Likewise.
17303 (rint_test_towardzero): Likewise.
17304 (rint_test_downward): Likewise.
17305 (rint_test_upward): Likewise.
17306 (round_test): Likewise.
17307 (scalb_test): Likewise.
17308 (scalbn_test): Likewise.
17309 (scalbln_test): Likewise.
17310 (signbit_test): Likewise.
17311 (sin_test): Likewise.
17312 (sin_test_tonearest): Likewise.
17313 (sin_test_towardzero): Likewise.
17314 (sin_test_downward): Likewise.
17315 (sin_test_upward): Likewise.
17316 (sincos_test): Likewise.
17317 (sinh_test): Likewise.
17318 (sinh_test_tonearest): Likewise.
17319 (sinh_test_towardzero): Likewise.
17320 (sinh_test_downward): Likewise.
17321 (sinh_test_upward): Likewise.
17322 (sqrt_test): Likewise.
17323 (sqrt_test_tonearest): Likewise.
17324 (sqrt_test_towardzero): Likewise.
17325 (sqrt_test_downward): Likewise.
17326 (sqrt_test_upward): Likewise.
17327 (tan_test): Likewise.
17328 (tan_test_tonearest): Likewise.
17329 (tan_test_towardzero): Likewise.
17330 (tan_test_downward): Likewise.
17331 (tan_test_upward): Likewise.
17332 (tanh_test): Likewise.
17333 (tgamma_test): Likewise.
17334 (trunc_test): Likewise.
17335 (y0_test): Likewise.
17336 (y1_test): Likewise.
17337 (yn_test): Likewise.
17338 (significand_test): Likewise.
17339
e6b6a857
JM
17340 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17341 individual tests in comment.
17342 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17343 (prev_max_error): New variable.
17344 (prev_real_max_error): Likewise.
17345 (prev_imag_max_error): Likewise.
17346 (compare_ulp_data): Don't refer to test names in comment.
17347 (find_test_ulps): Remove function.
17348 (find_function_ulps): Likewise.
17349 (find_complex_function_ulps): Likewise.
17350 (init_max_error): Take function name as argument. Look up ulps
17351 for that function.
17352 (print_ulps): Remove function.
17353 (print_max_error): Use prev_max_error instead of calling
17354 find_function_ulps.
17355 (print_complex_max_error): Use prev_real_max_error and
17356 prev_imag_max_error instead of calling find_complex_function_ulps.
17357 (check_float_internal): Take max_ulp parameter instead of calling
17358 find_test_ulps. Don't call print_ulps.
17359 (check_float): Update call to check_float_internal.
17360 (check_complex): Update calls to check_float_internal.
17361 (START): Pass argument to init_max_error.
17362 * math/gen-libm-test.pl (%results): Don't include "kind"
17363 information.
17364 (parse_ulps): Don't handle ulps of individual tests.
17365 (print_ulps_file): Likewise.
17366 (output_ulps): Likewise.
17367 * math/README.libm-test: Update.
17368 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17369 individual tests.
17370 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17371 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17372 * sysdeps/arm/libm-test-ulps: Likewise.
17373 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17374 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17375 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17376 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17377 * sysdeps/microblaze/libm-test-ulps: Likewise.
17378 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17379 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17380 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17381 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17382 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17383 * sysdeps/sh/libm-test-ulps: Likewise.
17384 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17385 * sysdeps/tile/libm-test-ulps: Likewise.
17386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387
45adef3c
JM
173882014-03-04 Joseph Myers <joseph@codesourcery.com>
17389
17390 * math/libm-test.inc (print_complex_max_error): Check separately
17391 whether real and imaginary errors are within allowed range and
17392 pass 0 to print_complex_function_ulps instead of value within
17393 allowed range.
17394
000232b9
SP
173952014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17396
d4b17258
SP
17397 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17398 formatting.
17399 (get_handles_fopen): Likewise.
17400 (do_write_test): Likewise.
17401
091eff71
SP
17402 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17403
fa3cd248
SP
17404 * libio/fileops.c (do_ftell): Use cached offset when
17405 available.
17406 * libio/iofwide.c (do_ftell_wide): Likewise.
17407 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17408 _IO_file_attach.
17409 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17410
000232b9
SP
17411 [BZ #16532]
17412 * libio/libioP.h (get_file_offset): New function.
17413 * libio/fileops.c (get_file_offset): Likewise.
17414 (do_ftell): Likewise.
17415 (_IO_new_file_seekoff): Split out ftell logic.
17416 * libio/wfileops.c (do_ftell_wide): Likewise.
17417 (_IO_wfile_seekoff): Split out ftell logic.
17418 * libio/tst-ftell-active-handler.c: New test case.
17419 * libio/Makefile (tests): Add it.
17420
116f4d1a
RM
174212014-03-03 Roland McGrath <roland@hack.frob.com>
17422
17423 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17424 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17425
532a6035
SP
174262014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17427
17428 [BZ #16639]
17429 * nscd/connections.c (nscd_init): Call do_exit.
17430 (start_threads): Call do_exit and notify_parent.
17431 (begin_drop_privileges): Call do_exit.
17432 (finish_drop_privileges): Likewise.
17433 * nscd/selinux.c (preserve_capabilities): Likewise.
17434 (install_real_capabilities): Likewise.
17435 (nscd_selinux_enabled): Likewise.
17436 (avc_create_thread): Likewise.
17437 (avc_alloc_lock): Likewise.
17438 (nscd_avc_init): Likewise.
17439 * nscd/nscd.c (parent_fd): New static variable.
17440 (main): Create a pipe between parent and child processes.
17441 Skip closing parent_fd.
17442 (monitor_child): New function.
17443 (do_exit): Likewise.
17444 (notify_parent): Likewise.
17445 * nscd/nscd.h (notify_parent): Likewise.
17446 (do_exit): Likewise.
17447
d6285c9f
CD
174482014-03-03 Carlos O'Donell <carlos@redhat.com>
17449
17450 * malloc/malloc.c (__libc_calloc): Revert last change.
17451
2b85d2a0
AZ
174522014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17453
17454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17455
c7debbdf
RS
174562014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17457
17458 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17460 implementation.
17461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17462 (__libc_ifunc_impl_list): Likewise.
17463 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17464 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17465 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17466 * string/strrchr.c: Define STRRCHR.
17467
235eed86
OB
174682014-02-28 Ondřej Bílka <neleai@seznam.cz>
17469
17470 * benchtest/bench-strtok.c (simple_strtok): Delete.
17471 (strtok_string): Use as benchmark.
17472 * string/strtok (STRTOK): New macro.
17473
8e25d1e7
CD
174742014-02-28 Carlos O'Donell <carlos@redhat.com>
17475
ef563f92
CD
17476 * manual/threads.texi: Add header and standard comments to all
17477 functions.
17478
8e25d1e7
CD
17479 * elf/dl-lookup.c (check_match): New function.
17480 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17481 (do_lookup_x): Remove nested function check_match. Use non-nested
17482 function check_match.
17483
ff71cc37
RM
174842014-02-28 Roland McGrath <roland@hack.frob.com>
17485
f08e9a26
RM
17486 * csu/Makefile (generated, before-compile): Use += rather than =.
17487 * catgets/Makefile (generated, generated-dirs): Likewise.
17488 * debug/Makefile (generated): Likewise.
17489 * dlfcn/Makefile (generated): Likewise.
17490 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17491 * iconvdata/Makefile (before-compile, generated): Likewise.
17492 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17493 * libio/Makefile (generated): Likewise.
17494 * malloc/Makefile (generated): Likewise.
17495 * manual/Makefile (generated, generated-dirs): Likewise.
17496 * misc/Makefile (generated): Likewise.
17497 * posix/Makefile (generated): Likewise.
17498 * resolv/Makefile (generated): Likewise.
17499 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17500 * timezone/Makefile (generated, generated-dirs): Likewise.
17501
ff71cc37
RM
17502 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17503
fe13a20c
AZ
175042014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17505
57f41c40
AS
17506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17507 power8 implementation.
17508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17509 file: POWER8 llround ifunc implementation.
17510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17511 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17512 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17513 POWER8 llround implementation.
17514
57f41c40
AS
17515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17516 power8 implementation.
17517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17518 file: POWER8 llrint ifunc implementation.
17519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17520 Add POWER8 implementation.
1ad8950a
AZ
17521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17522 POWER8 llrint implementation.
17523
57f41c40
AS
17524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17525 power8 implementation.
17526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17527 file: POWER8 finite ifunc implementation.
17528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17529 Add POWER8 implementation.
cac626d6
AZ
17530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17531 Likewise.
17532 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17533 POWER8 finite implementation.
17534 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17535
57f41c40
AS
17536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17537 power8 implementation.
17538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17539 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17541 POWER8 implementation.
17542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17543 Likewise.
57f41c40
AS
17544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17545 isinf implementation.
4393fc11
AZ
17546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17547
57f41c40
AS
17548 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17549 (INIT_ARCH): Add hwcap2 initialization.
17550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17551 power8 implementation.
17552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17553 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17555 POWER8 implementation.
17556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17557 Likewise.
57f41c40
AS
17558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17559 isnan implementation.
487972ae
AZ
17560 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17561
7d92b787
JY
175622014-02-27 Joey Ye <joey.ye@arm.com>
17563
17564 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17565 (_FP_NANFRAC_Q): Set to zero.
17566
1cadc858
SP
175672014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17568
17569 [BZ #16623]
17570 * math/auto-libm-test-in: New test inputs.
17571 * math/auto-libm-test-out: Regenerate.
17572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17573 and DA.
17574 (__cos): Likewise.
17575 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17576
f8c17e79
JM
175772014-02-27 Joseph Myers <joseph@codesourcery.com>
17578
17579 * scripts/evaluate-test.sh: Take new argument indicating whether
17580 failure is expected.
17581 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17582 indicating whether failure is expected.
17583 * conform/Makefile (test-xfail-run-conformtest): New variable.
17584 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17585 level.
17586 * posix/Makefile (test-xfail-annexc): New variable.
17587 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17588
a5f891ac
JM
175892014-02-26 Joseph Myers <joseph@codesourcery.com>
17590
17591 * argp/Makefile: Include Makeconfig immediately after defining
17592 subdir.
17593 * assert/Makefile: Likewise.
17594 * benchtests/Makefile: Likewise.
17595 * catgets/Makefile: Likewise.
17596 * conform/Makefile: Likewise.
17597 * crypt/Makefile: Likewise.
17598 * csu/Makefile: Likewise.
17599 (all): Remove target.
17600 * ctype/Makefile: Include Makeconfig immediately after defining
17601 subdir.
17602 * debug/Makefile: Likewise.
17603 * dirent/Makefile: Likewise.
17604 * dlfcn/Makefile: Likewise.
17605 * gmon/Makefile: Likewise.
17606 * gnulib/Makefile: Likewise.
17607 * grp/Makefile: Likewise.
17608 * gshadow/Makefile: Likewise.
17609 * hesiod/Makefile: Likewise.
17610 * hurd/Makefile: Likewise.
17611 (all): Remove target.
17612 * iconvdata/Makefile: Include Makeconfig immediately after
17613 defining subdir.
17614 * inet/Makefile: Likewise.
17615 * intl/Makefile: Likewise.
17616 * io/Makefile: Likewise.
17617 * libio/Makefile: Likewise.
17618 (all): Remove target.
17619 * locale/Makefile: Include Makeconfig immediately after defining
17620 subdir.
17621 * login/Makefile: Likewise.
17622 * mach/Makefile: Likewise.
17623 (all): Remove target.
17624 * malloc/Makefile: Include Makeconfig immediately after defining
17625 subdir.
17626 (all): Remove target.
17627 * manual/Makefile: Include Makeconfig immediately after defining
17628 subdir.
17629 * math/Makefile: Likewise.
17630 * misc/Makefile: Likewise.
17631 * nis/Makefile: Likewise.
17632 * nss/Makefile: Likewise.
17633 * po/Makefile: Likewise.
17634 (all): Remove target.
17635 * posix/Makefile: Include Makeconfig immediately after defining
17636 subdir.
17637 * pwd/Makefile: Likewise.
17638 * resolv/Makefile: Likewise.
17639 * resource/Makefile: Likewise.
17640 * rt/Makefile: Likewise.
17641 * setjmp/Makefile: Likewise.
17642 * shadow/Makefile: Likewise.
17643 * signal/Makefile: Likewise.
17644 * socket/Makefile: Likewise.
17645 * soft-fp/Makefile: Likewise.
17646 * stdio-common/Makefile: Likewise.
17647 * stdlib/Makefile: Likewise.
17648 * streams/Makefile: Likewise.
17649 * string/Makefile: Likewise.
17650 * sunrpc/Makefile: Likewise.
17651 (all): Remove target.
17652 * sysvipc/Makefile: Include Makeconfig immediately after defining
17653 subdir.
17654 * termios/Makefile: Likewise.
17655 * time/Makefile: Likewise.
17656 * timezone/Makefile: Likewise.
17657 (all): Remove target.
17658 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17659 subdir.
17660 * wctype/Makefile: Likewise.
17661
5b456e9d
SE
176622014-02-26 Steve Ellcey <sellcey@mips.com>
17663
17664 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17665 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17666 (libc_feholdexcept_setround_mips): Ditto.
17667 (libc_feholdsetround): New.
17668 (libc_feholdsetroundf): New.
17669 (libc_feholdsetroundl): New.
17670 (libc_feupdateenv_test_mips): New.
17671 (libc_feupdateenv_test): New.
17672 (libc_feupdateenv_testf): New.
17673 (libc_feupdateenv_testl): New.
17674 (libc_feresetround): New.
17675 (libc_feresetroundf): New.
17676 (libc_feresetroundl): New.
17677 (libc_fetestexcept_mips): New.
17678 (libc_fetestexcept): New.
17679 (libc_fetestexceptf): New.
17680 (libc_fetestexceptl): New.
17681 (HAVE_RM_CTX): New.
17682 (libc_feholdexcept_setround_mips_ctx): New.
17683 (libc_feholdexcept_setround_ctx): New.
17684 (libc_feholdexcept_setroundf_ctx): New.
17685 (libc_feholdexcept_setroundl_ctx): New.
17686 (libc_fesetenv_mips_ctx): New.
17687 (libc_fesetenv_ctx): New.
17688 (libc_fesetenv_ctxf): New.
17689 (libc_fesetenv_ctxl): New.
17690 (libc_feupdateenv_mips_ctx): New.
17691 (libc_feupdateenv_ctx): New.
17692 (libc_feupdateenvf_ctx): New.
17693 (libc_feupdateenvl_ctx): New.
17694 (libc_feholdsetround_mips_ctx): New.
17695 (libc_feholdsetround_ctx): New.
17696 (libc_feholdsetroundf_ctx): New.
17697 (libc_feholdsetroundl_ctx): New.
17698 (libc_feresetround_mips_ctx): New.
17699 (libc_feresetround_ctx): New.
17700 (libc_feresetroundf_ctx): New.
17701 (libc_feresetroundl_ctx): New.
17702
085d0e35
CD
177032014-02-26 Carlos O'Donell <carlos@redhat.com>
17704
f067bf1f
CD
17705 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17706
085d0e35
CD
17707 * manual/ipc.texi: New file.
17708 * manual/Makefile (chapters): Add ipc.
17709 * manual/job.texi: Add "Inter-Process Communication" to next.
17710 * manual/process.texi: Add "Inter-Process Communication" to prev.
17711
86e58c08
AZ
177122014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17713
17714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17715
4248f0da
OB
177162014-02-26 Ondřej Bílka <neleai@seznam.cz>
17717
17718 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17719
cf822e3c
OB
17720 * manual/arith.texi: Fix spaces after sentences.
17721 * manual/charset.texi: Likewise.
17722 * manual/errno.texi: Likewise.
17723 * manual/install.texi: Likewise.
17724 * manual/llio.texi: Likewise.
17725 * manual/locale.texi: Likewise.
17726 * manual/maint.texi: Likewise.
17727 * manual/math.texi: Likewise.
17728 * manual/memory.texi: Likewise.
17729 * manual/message.texi: Likewise.
17730 * manual/probes.texi: Likewise.
17731 * manual/resource.texi: Likewise.
17732 * manual/signal.texi: Likewise.
17733 * manual/socket.texi: Likewise.
17734 * manual/stdio.texi: Likewise.
17735 * manual/string.texi: Likewise.
17736 * manual/time.texi: Likewise.
17737 * manual/users.texi: Likewise.
17738
ade40b10
CD
177392014-02-25 Carlos O'Donell <carlos@redhat.com>
17740
17741 [BZ #16632]
17742 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17743 _DEFAULT_SOURCE is defined.
17744
d0503676
CD
177452014-02-25 Ulrich Drepper <drepper@gmail.com>
17746 Carlos O'Donell <carlos@redhat.com>
17747
17748 [BZ #16613]
17749 * elf/dl-tls.c (_dl_count_modids): New function.
17750 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17751 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17752 audit library and increment generation counter.
17753 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17754 * elf/tst-audit9.c: New file.
17755 * elf/tst-auditmod9a.c: New file.
17756 * elf/tst-auditmod9b.c: New file.
17757 * elf/Makefile: Add rules to build and run tst-audit9.
17758
4cbf380c
FW
177592014-02-25 Florian Weimer <fweimer@redhat.com>
17760
17761 [BZ #15347]
17762 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17763
80a56cc3
WN
177642014-02-25 Will Newton <will.newton@linaro.org>
17765
17766 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17767 (__longjmp): Restore sp and lr before restoring callee
17768 saved registers. Add longjmp and longjmp_target
17769 SystemTap probe point.
17770 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17771 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17772 Define to zero to match jmpbuf layout.
17773 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17774 (__sigsetjmp): Save sp and lr before saving callee
17775 saved registers. Add setjmp SystemTap probe point.
17776
3ea0f74e
SL
177772014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17778
17779 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17780
b04acb26
AS
177812014-02-24 Andreas Schwab <schwab@suse.de>
17782
17783 [BZ #15804]
17784 * elf/pldd.c (wait_for_ptrace_stop): New function.
17785 (main): Call it after attaching.
17786
098ad55c
RM
177872014-02-22 Roland McGrath <roland@hack.frob.com>
17788
d4ec6ae1
RM
17789 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17790 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17791 Versions files is now verboten.
17792 * hurd/Versions (libc: GLIBC_2.0):
17793 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17794 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17795 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17796 * mach/Versions: Likewise.
17797
098ad55c
RM
17798 * csu/Versions: Remove unused %include.
17799 * resolv/Versions: Likewise.
17800
acd7f096
JM
178012014-02-21 Joseph Myers <joseph@codesourcery.com>
17802
f0881698
JM
17803 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17804 ($(objpfx)check-local-headers.out): Likewise.
17805 ($(objpfx)begin-end-check.out): Likewise.
17806 * Makerules (check-abi-%.out): Likewise.
17807 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17808 ($(objpfx)test2.cat): Likewise.
17809 ($(objpfx)de/libc.cat): Likewise.
17810 ($(objpfx)test-gencat.out): Likewise.
17811 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17812 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17813 ($(objpfx)noload-mem): Likewise.
17814 ($(objpfx)tst-pathopt.out): Likewise.
17815 ($(objpfx)tst-rtld-load-self.out): Likewise.
17816 ($(objpfx)tst-array1-cmp.out): Likewise.
17817 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17818 ($(objpfx)tst-array2-cmp.out): Likewise.
17819 ($(objpfx)tst-array3-cmp.out): Likewise.
17820 ($(objpfx)tst-array4-cmp.out): Likewise.
17821 ($(objpfx)tst-array5-cmp.out): Likewise.
17822 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17823 ($(objpfx)check-textrel.out): Likewise.
17824 ($(objpfx)check-execstack.out): Likewise.
17825 ($(objpfx)check-localplt.out): Likewise.
17826 ($(objpfx)order2-cmp.out): Likewise.
17827 ($(objpfx)tst-leaks1-mem): Likewise.
17828 ($(objpfx)tst-leaks1-static-mem): Likewise.
17829 ($(objpfx)tst-initorder-cmp.out): Likewise.
17830 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17831 ($(objpfx)tst-unused-dep.out): Likewise.
17832 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17833 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17834 * iconv/Makefile (test-iconvconfig): Likewise.
17835 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17836 ($(objpfx)iconv-test.out): Likewise.
17837 ($(objpfx)tst-tables.out): Likewise.
17838 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17839 ($(objpfx)tst-gettext.out): Likewise.
17840 ($(objpfx)tst-translit.out): Likewise.
17841 ($(objpfx)tst-gettext2.out): Likewise.
17842 ($(objpfx)tst-gettext4.out): Likewise.
17843 ($(objpfx)tst-gettext6.out): Likewise.
17844 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17845 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17846 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17847 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17848 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17849 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17850 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17851 ($(objpfx)wordexp-tst.out): Likewise.
17852 ($(objpfx)annexc.out): Likewise.
17853 ($(objpfx)tst-fnmatch-mem): Likewise.
17854 ($(objpfx)bug-regex2-mem): Likewise.
17855 ($(objpfx)bug-regex14-mem): Likewise.
17856 ($(objpfx)bug-regex21-mem): Likewise.
17857 ($(objpfx)bug-regex31-mem): Likewise.
17858 ($(objpfx)tst-vfork3-mem): Likewise.
17859 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17860 ($(objpfx)tst-pcre-mem): Likewise.
17861 ($(objpfx)tst-boost-mem): Likewise.
17862 ($(objpfx)tst-getconf.out): Likewise.
17863 ($(objpfx)bug-ga2-mem): Likewise.
17864 ($(objpfx)bug-glob2-mem): Likewise.
17865 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17866 ($(objpfx)mtrace-tst-leaks2): Likewise.
17867 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17868 ($(objpfx)tst-printf.out): Likewise.
17869 ($(objpfx)tst-setvbuf1.out): Likewise.
17870 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17871 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17872 ($(objpfx)tst-fmtmsg.out): Likewise.
17873 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17874 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17875
acd7f096
JM
17876 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17877 * bits/sigaction.h [__USE_MISC]: Likewise.
17878 * bits/waitstatus.h: Update #endif comments.
17879 * ctype/ctype.h: Likewise.
17880 * dirent/dirent.h: Likewise.
17881 [__USE_MISC]: Remove redundant conditionals.
17882 * grp/grp.h: Update #endif comments.
17883 [__USE_GNU]: Remove redundant conditionals.
17884 [__USE_MISC]: Likewise.
17885 * inet/netinet/in.h [__USE_GNU]: Likewise.
17886 * io/sys/stat.h [__USE_MISC]: Likewise.
17887 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17888 * libio/bits/stdio.h: Update #endif comments.
17889 [__USE_MISC]: Remove redundant conditionals.
17890 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17891 * libio/stdio.h: Update #endif comments.
17892 [__USE_MISC]: Remove redundant conditionals.
17893 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17894 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17895 * math/math.h: Update #else and #endif comments.
17896 [__USE_MISC]: Remove redundant conditionals.
17897 * misc/sys/uio.h: Update #endif comments.
17898 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17899 * posix/glob.h [__USE_MISC]: Likewise.
17900 * posix/sys/types.h: Update #endif comments.
17901 [__USE_MISC]: Remove redundant conditionals.
17902 * posix/sys/wait.h: Update #endif comments.
17903 [__USE_MISC]: Remove redundant conditionals.
17904 * posix/unistd.h: Update #endif comments.
17905 [__USE_MISC]: Remove redundant conditionals.
17906 * pwd/pwd.h [__USE_GNU]: Likewise.
17907 [__USE_MISC]: Likewise.
17908 * resolv/netdb.h [__USE_GNU]: Likewise.
17909 * signal/signal.h: Update #endif comments.
17910 [__USE_MISC]: Remove redundant conditionals.
17911 * stdlib/stdlib.h: Update #else and #endif comments.
17912 [__USE_MISC]: Remove redundant conditionals.
17913 [__USE_GNU]: Likewise.
17914 * string/bits/string2.h [__USE_MISC]: Likewise.
17915 * string/string.h: Update #endif comments.
17916 [__USE_MISC]: Remove redundant conditionals.
17917 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17918 Likewise.
17919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17920 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17921 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17922 Likewise.
17923 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17924 Likewise.
17925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17926 comments.
17927 [__USE_MISC]: Remove redundant conditionals.
17928 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17929 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17930 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17931 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17932 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17935 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17936 Likewise.
17937 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17938 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17939 Likewise.
17940 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17941 Likewise.
17942 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17943 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17944 Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17946 Likewise.
17947 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17948 * sysdeps/x86/bits/string.h: Update #endif comments.
17949 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17950 conditionals.
17951 * time/sys/time.h: Update #endif comments.
17952 * time/time.h: Likewise.
17953 [__USE_MISC]: Remove redundant conditionals.
17954
a5d82e4e
YG
179552014-02-21 Yury Gribov <y.gribov@samsung.com>
17956
17957 [BZ #16600]
17958 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17959
9a80491d
AS
179602014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17961
17962 * Versions.def (librt): Add GLIBC_2.17.
17963
105fa381
AC
179642014-02-21 Adam Conrad <adconrad@0c3.net>
17965
17966 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17967 synonym for _SYS_AUXV_H to allow direct inclusion.
17968 * sysdeps/sparc/bits/hwcap.h: Likewise.
17969 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17970 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17971 * sysdeps/sparc/sysdep.h: Likewise.
17972
b8cd1c4e
SP
179732014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17974
17975 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17976
bd939d23
RS
179772014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17978
17979 * benchtests/bench-strrchr.c: Print length instead of position.
17980
5d7b57ca
JM
179812014-02-20 Joseph Myers <joseph@codesourcery.com>
17982
bc688c10
JM
17983 [BZ #16611]
17984 * sysdeps/unix/sysv/linux/kernel-features.h
17985 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17986 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17987 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17988 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17989 Likewise.
17990 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17991 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17992 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17993 (__ASSUME_SENDMMSG): Define instead of using previous
17994 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17995 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17996 (__ASSUME_SENDMMSG_SYSCALL): Define.
17997 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17998 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17999 Likewise.
18000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18001 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18002 Likewise.
18003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18004 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18005 Likewise.
18006 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18007 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18008 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18009 [__ASSUME_SENDMMSG]: Change conditionals to
18010 [__ASSUME_SENDMMSG_SOCKETCALL].
18011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18012 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18013 Define.
18014 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18015 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18016 Likewise.
18017 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18018 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18019 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18020 [!__ASSUME_SENDMMSG]: Change conditional to
18021 [!__ASSUME_SENDMMSG_SOCKETCALL].
18022 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18023 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18024 Define.
18025
0e31b18c
JM
18026 [BZ #16610]
18027 * sysdeps/unix/sysv/linux/kernel-features.h
18028 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18029 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18030 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18031 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18032 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18033 [__i386__ || __sparc__]
18034 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18035 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18036 (__ASSUME_RECVMMSG): Define instead of using previous
18037 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18038 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18039 (__ASSUME_RECVMMSG_SYSCALL): Define.
18040 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18041 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18042 Likewise.
18043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18044 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18045 Likewise.
18046 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18048 Likewise.
18049 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18050 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18051 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18052 [__ASSUME_RECVMMSG]: Change condition to
18053 [__ASSUME_RECVMMSG_SOCKETCALL].
18054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18056 Define.
18057 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18058 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18059 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18060 Likewise.
18061 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18062 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18063 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18064 [!__ASSUME_RECVMMSG]: Change condition to
18065 [!__ASSUME_RECVMMSG_SOCKETCALL].
18066 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18067 (__ASSUME_RECVMMSG_SYSCALL): Define.
18068
dd481ccf
JM
18069 [BZ #16609]
18070 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18071 __powerpc__ || __s390__ || __sh__ || __sparc__]
18072 (__ASSUME_SOCKETCALL): Define.
18073 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18074 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18075 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18076 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18077 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18078 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18079 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18080 (__ASSUME_ACCEPT4): Define instead of using previous
18081 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18082 __powerpc__ || __sparc__ || __s390__)] condition.
18083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18084 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18085 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18086 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18087 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18088 [!__ASSUME_ACCEPT4]: Change condition to
18089 [!__ASSUME_ACCEPT4_SOCKETCALL].
18090 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18091 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18092 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18093 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18094 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18095 __ASSUME_ACCEPT4_SYSCALL.
18096 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18097 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18099 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18100 __ASSUME_ACCEPT4_SYSCALL.
18101 * sysdeps/unix/sysv/linux/internal_accept4.S [__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/m68k/kernel-features.h
18107 (__ASSUME_SOCKETCALL): Define.
18108 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18109 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18110 (__ASSUME_SOCKETCALL): Define.
18111 (__ASSUME_ACCEPT4): Remove.
18112 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18113 Define.
18114 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18115 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18118 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18119
5d7b57ca
JM
18120 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18121 macro.
18122 (HWCAP_ARM_LPAE): Likewise.
18123 (HWCAP_ARM_EVTSTRM): Likewise.
18124 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18125 Add vpfd32, lpae and evtstrm.
18126 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18127 Increase to 22.
18128
63689d61
JM
181292014-02-19 Joseph Myers <joseph@codesourcery.com>
18130
18131 * math/auto-libm-test-in: Add tests of clog10.
18132 * math/auto-libm-test-out: Regenerated.
18133 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18134 * sysdeps/i386/fpu/libm-test-ulps: Update.
18135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136
ab09bf61
AS
181372014-02-18 Andreas Schwab <schwab@suse.de>
18138
18139 [BZ #16574]
18140 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18141 Store non-zero if the second buffer was newly allocated.
18142 (send_dg): Likewise.
18143 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18144 to send_vc and send_dg.
18145 (res_nsend): Pass NULL for ansp2_malloced.
18146 * resolv/res_query.c (__libc_res_nquery): Add parameter
18147 answerp2_malloced and pass it down to __libc_res_nsend.
18148 (res_nquery): Pass additional NULL to __libc_res_nquery.
18149 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18150 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18151 second answer buffer if answerp2_malloced was set.
18152 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18153 (__libc_res_nquerydomain): Add parameter
18154 answerp2_malloced and pass it down to __libc_res_nquery.
18155 (res_nquerydomain): Pass additional NULL to
18156 __libc_res_nquerydomain.
18157 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18158 additional NULL to __libc_res_nsend and __libc_res_nquery.
18159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18160 additional NULL to __libc_res_nsearch.
18161 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18162 parameter of __libc_res_nsearch to check for separately allocated
18163 second buffer.
18164 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18165 __libc_res_nquery.
18166 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18167 additional NULL to __libc_res_nquery.
18168 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18169 __libc_res_nsearch.
18170 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18171 * include/resolv.h: Update prototypes of __libc_res_nquery,
18172 __libc_res_nsearch, __libc_res_nsend.
18173
a4fb7861
JM
181742014-02-18 Joseph Myers <joseph@codesourcery.com>
18175
c6af2d89
JM
18176 * math/auto-libm-test-in: Add tests of fma.
18177 * math/auto-libm-test-out: Regenerated.
18178 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18179 (fma_towardzero_test_data): Likewise.
18180 (fma_downward_test_data): Likewise.
18181 (fma_upward_test_data): Likewise.
18182 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18183 mpc_mode.
18184 (rounding_modes): Add values for new field.
18185 (func_calc_method): Add value mpfr_fff_f.
18186 (func_calc_desc): Add mpfr_fff_f union field.
18187 (test_function): Add field exact_args.
18188 (FUNC): Add macro argument EXACT_ARGS.
18189 (FUNC_mpfr_f_f): Update call to FUNC.
18190 (FUNC_mpfr_f_f): Likewise.
18191 (FUNC_mpfr_ff_f): Likewise.
18192 (FUNC_mpfr_if_f): Likewise.
18193 (FUNC_mpc_c_f): Likewise.
18194 (FUNC_mpc_c_c): Likewise.
18195 (test_functions): Add fma. Update calls to FUNC.
18196 (handle_input_arg): Add argument exact_args.
18197 (add_test): Update call to handle_input_arg.
18198 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18199 (output_for_one_input_case): Update call to calc_generic_results.
18200 Recalculate exact zero results in each rounding mode.
18201
a4fb7861
JM
18202 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18203 non-negative before setting low bit.
18204 * math/auto-libm-test-in: Mark one asin test possibly having
18205 spurious underflow.
18206 * math/auto-libm-test-out: Regenerated.
18207 * sysdeps/i386/fpu/libm-test-ulps: Update.
18208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18209
ef114eaf
DH
182102014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18211
2b7f4f2c
SP
18212 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18213 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18214 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18215 * README: Add missing listing for microblaze*-*-linux-gnu.
18216
8125aedc
AM
182172014-02-16 Ondřej Bílka <neleai@seznam.cz>
18218
18219 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18220 duplicate code
18221
c70a4b1d
MF
182222014-02-16 Mike Frysinger <vapier@gentoo.org>
18223
18224 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18225 * sysdeps/unix/sysv/linux/ia64: Move directory from
18226 ports/sysdeps/unix/sysv/linux/ia64.
18227 * README: Update listing for ia64-*-linux-gnu.
18228
591aeaf7
TD
182292014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18230 Joseph Myers <joseph@codesourcery.com>
18231
18232 * Makeconfig (test-name): New variable.
18233 (evaluate-test): Likewise.
18234 * Makerules (do-test-clean): Remove .test-result files.
18235 (common-mostlyclean): Likewise.
18236 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18237 * scripts/evaluate-test.sh: New file.
18238
6e89caf1
JM
182392014-02-14 Joseph Myers <joseph@codesourcery.com>
18240
7f98f180
JM
18241 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18242 separate $(objpfx)tst-fopenloc-cmp.out and
18243 $(objpfx)tst-fopenloc-mem.out targets.
18244 (tests): Update dependencies.
18245 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18246 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18247 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18248 (tst-rxspencer-no-utf8-ARGS): New variable.
18249 (tst-rxspencer-no-utf8-ENV): Likewise.
18250 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18251 instead of $(objpfx)tst-rxspencer-mem.
18252 ($(objpfx)tst-rxspencer-mem): Change target to
18253 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18254 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18255 * posix/tst-rxspencer-no-utf8.c: New file.
18256
6e89caf1
JM
18257 * elf/Makefile ($(objpfx)order.out): Remove rule.
18258 [$(run-built-tests) = yes] (tests): Depend on
18259 $(objpfx)order-cmp.out.
18260 ($(objpfx)order-cmp.out): New rule.
18261 [$(run-built-tests) = yes] (tests): Depend on
18262 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18263 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18264 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18265 $(objpfx)tst-array5-static-cmp.out.
18266 ($(objpfx)tst-array1.out): Remove rule.
18267 ($(objpfx)tst-array1-cmp.out): New rule.
18268 ($(objpfx)tst-array1-static.out): Remove rule.
18269 ($(objpfx)tst-array1-static-cmp.out): New rule.
18270 ($(objpfx)tst-array2.out): Remove rule.
18271 ($(objpfx)tst-array2-cmp.out): New rule.
18272 ($(objpfx)tst-array3.out): Remove rule.
18273 ($(objpfx)tst-array3-cmp.out): New rule.
18274 ($(objpfx)tst-array4.out): Remove rule.
18275 ($(objpfx)tst-array4-cmp.out): New rule.
18276 ($(objpfx)tst-array5.out): Remove rule.
18277 ($(objpfx)tst-array5-cmp.out): New rule.
18278 ($(objpfx)tst-array5-static.out): Remove rule.
18279 ($(objpfx)tst-array5-static-cmp.out): New rule.
18280 [$(run-built-tests) = yes] (tests): Depend on
18281 $(objpfx)order2-cmp.out.
18282 ($(objpfx)order2.out): Remove rule.
18283 ($(objpfx)order2-cmp.out): New rule.
18284 ($(objpfx)tst-initorder.out): Remove rule.
18285 [$(run-built-tests) = yes] (tests): Depend on
18286 $(objpfx)tst-initorder-cmp.out.
18287 ($(objpfx)tst-initorder-cmp.out): New rule.
18288 ($(objpfx)tst-initorder2.out): Remove rule.
18289 [$(run-built-tests) = yes] (tests): Depend on
18290 $(objpfx)tst-initorder2-cmp.out.
18291 ($(objpfx)tst-initorder2-cmp.out): New rule.
18292 [$(run-built-tests) = yes] (tests): Depend on
18293 $(objpfx)tst-unused-dep-cmp.out.
18294 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18295 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18296 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18297 on $(objpfx)tst-setvbuf1-cmp.out.
18298 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18299 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18300 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18301 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18302 ($(objpfx)tst-svc.out): Remove rule.
18303 ($(objpfx)tst-svc-cmp.out): New rule.
18304
ed9a38e2
JM
183052014-02-13 Joseph Myers <joseph@codesourcery.com>
18306
18307 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18308 * ctype/ctype.h [__USE_MISC]: Likewise.
18309 * dirent/dirent.h [__USE_MISC]: Likewise.
18310 * grp/grp.h [__USE_MISC]: Likewise.
18311 * io/fcntl.h [__USE_MISC]: Likewise.
18312 * io/sys/stat.h [__USE_MISC]: Likewise.
18313 * libio/stdio.h [__USE_MISC]: Likewise.
18314 * posix/unistd.h [__USE_MISC]: Likewise.
18315 * pwd/pwd.h [__USE_MISC]: Likewise.
18316 * stdlib.h [__USE_MISC]: Likewise.
18317 * string/bits/string2.h [__USE_MISC]: Likewise.
18318 * string/string.h [__USE_MISC]: Likewise.
18319 * time/time.h [__USE_MISC]: Likewise.
18320
d6680619
AS
183212014-02-13 Andreas Schwab <schwab@suse.de>
18322
18323 [BZ #16574]
18324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18325 second answer buffer if it was separately allocated.
18326
ace614b8
JM
183272014-02-12 Joseph Myers <joseph@codesourcery.com>
18328
743151ae
JM
18329 * sysdeps/mips/math-tests.h: Include <features.h>.
18330 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18331 (ROUNDING_TESTS_long_double): Do not define.
18332 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18333 (EXCEPTION_TESTS_long_double): Likewise.
18334 * sysdeps/mips/mips64/libm-test-ulps: Update.
18335
498afc54
JM
18336 * include/features.h (__USE_BSD): Remove macro definitions.
18337 (__USE_SVID): Likewise.
18338 (_BSD_SOURCE): Likewise.
18339 (_SVID_SOURCE): Likewise.
18340 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18341 from definition of _DEFAULT_SOURCE.
18342 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18343 [_DEFAULT_SOURCE].
18344 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18345 * bits/mman.h [__USE_BSD]: Likewise.
18346 * bits/termios.h [__USE_BSD]: Likewise.
18347 * bits/waitstatus.h [__USE_BSD]: Likewise.
18348 * ctype/ctype.h [__USE_SVID]: Likewise.
18349 * dirent/dirent.h [__USE_BSD]: Likewise.
18350 * grp/grp.h [__USE_SVID]: Likewise.
18351 [__USE_BSD]: Likewise.
18352 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18353 * io/fcntl.h [__USE_BSD]: Likewise.
18354 * io/ftw.h [__USE_BSD]: Likewise.
18355 * io/sys/stat.h [__USE_BSD]: Likewise.
18356 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18357 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18358 * libio/stdio.h [__USE_SVID]: Likewise.
18359 [__USE_BSD]: Likewise.
18360 * math/math.h [__USE_SVID]: Likewise.
18361 [__USE_BSD]: Likewise.
18362 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18363 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18364 * misc/search.h [__USE_SVID]: Likewise.
18365 * misc/sys/mman.h [__USE_BSD]: Likewise.
18366 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18367 * misc/sys/uio.h [__USE_BSD]: Likewise.
18368 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18369 * posix/glob.h [__USE_BSD]: Likewise.
18370 * posix/regex.h [__USE_BSD]: Likewise.
18371 * posix/sys/types.h [__USE_BSD]: Likewise.
18372 [__USE_SVID]: Likewise.
18373 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18374 * posix/sys/wait.h [__USE_BSD]: Likewise.
18375 [__USE_SVID]: Likewise.
18376 * posix/unistd.h [__USE_BSD]: Likewise.
18377 [__USE_SVID]: Likewise.
18378 * pwd/pwd.h [__USE_SVID]: Likewise.
18379 * resolv/netdb.h [__USE_BSD]: Likewise.
18380 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18381 * signal/signal.h [__USE_BSD]: Likewise.
18382 [__USE_SVID]: Likewise.
18383 * socket/sys/socket.h [__USE_BSD]: Likewise.
18384 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18385 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18386 [__USE_SVID]: Likewise.
18387 * string/bits/string2.h [__USE_BSD]: Likewise.
18388 [__USE_SVID]: Likewise.
18389 * string/bits/string3.h [__USE_BSD]: Likewise.
18390 * string/endian.h [__USE_BSD]: Likewise.
18391 * string/string.h [__USE_SVID]: Likewise.
18392 [__USE_BSD]: Likewise.
18393 * string/strings.h [__USE_BSD]: Likewise.
18394 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18395 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18397 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18398 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18399 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18400 Likewise.
18401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18402 Likewise.
18403 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18405 Likewise.
18406 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18407 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18408 Likewise.
18409 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18410 Likewise.
18411 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18412 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18413 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18414 Likewise.
18415 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18416 Likewise.
18417 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18418 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18419 * termios/termios.h [__USE_BSD]: Likewise.
18420 * time/sys/time.h [__USE_BSD]: Likewise.
18421 * time/time.h [__USE_BSD]: Likewise.
18422 [__USE_SVID]: Likewise.
18423
dd7b064c
JM
18424 * Makefile (subdir_targets): Remove subdir_lint.out.
18425
a2c4c199
JM
18426 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18427 (do-tst-printf): Likewise.
18428 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18429 $(objpfx)tst-printf.out.
18430
8756f740
JM
18431 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18432
1b6dd3f1
JM
18433 * Makerules (check-abi-%): Change target to
18434 $(objpfx)check-abi-%.out.
18435 (check-abi target): Update dependencies.
18436 (check-abi-pattern variable): Redirect output of diff to $@.
18437 (check-abi variable): Likewise.
18438 * elf/Makefile (check-abi): Update dependencies.
18439
ace614b8
JM
18440 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18441 unused.
18442 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18443 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18444 subnormal range.
18445 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18446 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18447 value has largest subnormal exponent.
18448 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18449 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18450 * sysdeps/aarch64/soft-fp/sfp-machine.h
18451 (_FP_TININESS_AFTER_ROUNDING): New macro.
18452 * sysdeps/alpha/soft-fp/sfp-machine.h
18453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18454 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18455 Likewise.
18456 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18458 * sysdeps/mips/soft-fp/sfp-machine.h
18459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18460 * sysdeps/powerpc/soft-fp/sfp-machine.h
18461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18462 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18463 Likewise.
18464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18468 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18469 Likewise.
18470
fbfdf9cb
DAS
184712014-02-12 Dylan Alex Simon <dylan@dylex.net>
18472
18473 [BZ #16545]
18474 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18475 model 1.
18476
68b7efaa
RH
184772014-02-12 Richard Henderson <rth@redhat.com>
18478
c70a4b1d 18479 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18480 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18481 * sysdeps/unix/sysv/linux/alpha: Move directory from
18482 ports/sysdeps/unix/sysv/linux/alpha.
18483 * README: Update listing for alpha-*-linux-gnu.
18484
cb4a2928
JM
184852014-02-11 Joseph Myers <joseph@codesourcery.com>
18486
c941736c
JM
18487 * include/features.h: Update comment documenting feature test
18488 macros.
18489 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18490 _DEFAULT_SOURCE.
18491 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18492 (_SVID_SOURCE): Likewise.
18493 (_DEFAULT_SOURCE): Update description of default features.
18494 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18495 with _GNU_SOURCE.
18496 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18497 (S_ISVTX): Likewise.
18498 * manual/math.texi (Mathematical Constants): Likewise.
18499 * manual/signal.texi (Interrupted Primitives): Likewise.
18500 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18501 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18502 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18503 Don't refer to _SVID_SOURCE in warning text.
18504
e8d8d7ec
JM
18505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18506
cb4a2928
JM
18507 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18508 already defined.
18509 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18510 * sysdeps/mips/dl-lookup.c: Remove.
18511 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18512
7e6424e3
AK
185132014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18514
18515 [BZ #16447]
18516 * math/auto-libm-test-in: Add testcase for expl.
18517 * math/auto-libm-test-out: Regenerate.
18518 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18519 calculation of unsafe.
18520 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18521
75eff3fe
MS
185222014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18523
18524 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18525 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18526 ports/sysdeps/unix/sysv/linux/aarch64.
18527 * README: Update listing for aarch64*-*-linux-gnu.
18528
d35f1e80
WN
185292014-02-11 Will Newton <will.newton@linaro.org>
18530
18531 * manual/probes.texi (Mathematical Function Probes): Use
18532 "triggered" instead of "hit".
18533
7b3436d4
WN
18534 * manual/probes.texi (Internal Probes): Add documentation
18535 of setjmp, longjmp and longjmp_target probes.
18536
b4f12ca3
WN
18537 * include/stap-probe.h: Add comment about probe argument
18538 format.
18539
c13a72b7
WN
18540 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18541 definition. (tr_where, tr_freehook, tr_mallochook,
18542 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18543
195b8165
DM
185442014-02-11 David S. Miller <davem@davemloft.net>
18545
18546 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18547 processing int_tests.
18548
2ad7600b
JM
185492014-02-10 Joseph Myers <joseph@codesourcery.com>
18550
18551 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18552 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18553 * sysdeps/unix/sysv/linux/mips: Move directory from
18554 ports/sysdeps/unix/sysv/linux/mips.
18555 * README: Update listing for mips-*-linux-gnu and
18556 mips64-*-linux-gnu.
18557
73588a72
AS
185582014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18559
18560 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18561 * sysdeps/unix/sysv/linux/m68k: Move directory from
18562 ports/sysdeps/unix/sysv/linux/m68k.
18563 * README: Update listing for m68k-*-linux-gnu.
18564
4372980f
CM
185652014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18566
18567 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18568 * sysdeps/unix/sysv/linux/generic: Move directory from
18569 ports/sysdeps/unix/sysv/linux/generic.
18570 * sysdeps/unix/sysv/linux/tile: Move directory from
18571 ports/sysdeps/unix/sysv/linux/tile.
18572 * README: Update listing for tile*-*-linux-gnu.
18573
a1ffb40e
OB
185742014-02-10 Ondřej Bílka <neleai@seznam.cz>
18575
57f41c40
AS
18576 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18577 __builtin_expect.
a1ffb40e
OB
18578 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18579 * catgets/open_catalog.c (__open_catalog): Likewise.
18580 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18581 * debug/confstr_chk.c: Likewise.
18582 * debug/fread_chk.c (__fread_chk): Likewise.
18583 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18584 * debug/getgroups_chk.c: Likewise.
18585 * debug/mbsnrtowcs_chk.c: Likewise.
18586 * debug/mbsrtowcs_chk.c: Likewise.
18587 * debug/mbstowcs_chk.c: Likewise.
18588 * debug/memcpy_chk.c: Likewise.
18589 * debug/memmove_chk.c: Likewise.
18590 * debug/mempcpy_chk.c: Likewise.
18591 * debug/memset_chk.c: Likewise.
18592 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18593 * debug/strcat_chk.c (__strcat_chk): Likewise.
18594 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18595 * debug/strncat_chk.c (__strncat_chk): Likewise.
18596 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18597 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18598 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18599 * debug/wcpncpy_chk.c: Likewise.
18600 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18601 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18602 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18603 * debug/wcsncpy_chk.c: Likewise.
18604 * debug/wcsnrtombs_chk.c: Likewise.
18605 * debug/wcsrtombs_chk.c: Likewise.
18606 * debug/wcstombs_chk.c: Likewise.
18607 * debug/wmemcpy_chk.c: Likewise.
18608 * debug/wmemmove_chk.c: Likewise.
18609 * debug/wmempcpy_chk.c: Likewise.
18610 * debug/wmemset_chk.c: Likewise.
18611 * dirent/scandirat.c (SCANDIRAT): Likewise.
18612 * dlfcn/dladdr1.c (dladdr1): Likewise.
18613 * dlfcn/dladdr.c (dladdr): Likewise.
18614 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18615 * dlfcn/dlerror.c (__dlerror): Likewise.
18616 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18617 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18618 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18619 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18620 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18621 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18622 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18623 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18624 Likewise.
18625 * elf/dl-conflict.c: Likewise.
18626 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18627 * elf/dl-dst.h: Likewise.
18628 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18629 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18631 * elf/dl-init.c (call_init, _dl_init): Likewise.
18632 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18633 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18634 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18635 Likewise.
a1ffb40e
OB
18636 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18637 Likewise.
18638 * elf/dl-minimal.c (__libc_memalign): Likewise.
18639 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18640 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18641 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18642 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18643 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18644 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18645 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18646 * elf/dl-writev.h (_dl_writev): Likewise.
18647 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18648 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18649 (dl_main): Likewise.
a1ffb40e
OB
18650 * elf/setup-vdso.h (setup_vdso): Likewise.
18651 * grp/compat-initgroups.c (compat_call): Likewise.
18652 * grp/fgetgrent.c (fgetgrent): Likewise.
18653 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18654 * grp/putgrent.c (putgrent): Likewise.
18655 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18656 Likewise.
18657 * hurd/hurdinit.c: Likewise.
18658 * iconvdata/8bit-gap.c (struct): Likewise.
18659 * iconvdata/ansi_x3.110.c : Likewise.
18660 * iconvdata/big5.c : Likewise.
18661 * iconvdata/big5hkscs.c : Likewise.
18662 * iconvdata/cp1255.c: Likewise.
18663 * iconvdata/cp1258.c : Likewise.
18664 * iconvdata/cp932.c : Likewise.
18665 * iconvdata/euc-cn.c: Likewise.
18666 * iconvdata/euc-jisx0213.c : Likewise.
18667 * iconvdata/euc-jp.c: Likewise.
18668 * iconvdata/euc-jp-ms.c : Likewise.
18669 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18670 * iconvdata/gb18030.c : Likewise.
18671 * iconvdata/gbbig5.c (const): Likewise.
18672 * iconvdata/gbgbk.c: Likewise.
18673 * iconvdata/gbk.c : Likewise.
18674 * iconvdata/ibm1364.c : Likewise.
18675 * iconvdata/ibm930.c : Likewise.
18676 * iconvdata/ibm932.c: Likewise.
18677 * iconvdata/ibm933.c : Likewise.
18678 * iconvdata/ibm935.c : Likewise.
18679 * iconvdata/ibm937.c : Likewise.
18680 * iconvdata/ibm939.c : Likewise.
18681 * iconvdata/ibm943.c: Likewise.
18682 * iconvdata/iso_11548-1.c: Likewise.
18683 * iconvdata/iso-2022-cn.c : Likewise.
18684 * iconvdata/iso-2022-cn-ext.c : Likewise.
18685 * iconvdata/iso-2022-jp-3.c: Likewise.
18686 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18687 * iconvdata/iso-2022-kr.c : Likewise.
18688 * iconvdata/iso646.c (gconv_end): Likewise.
18689 * iconvdata/iso_6937-2.c : Likewise.
18690 * iconvdata/iso_6937.c : Likewise.
18691 * iconvdata/iso8859-1.c: Likewise.
18692 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18693 * iconvdata/shift_jisx0213.c : Likewise.
18694 * iconvdata/sjis.c : Likewise.
18695 * iconvdata/t.61.c : Likewise.
18696 * iconvdata/tcvn5712-1.c : Likewise.
18697 * iconvdata/tscii.c: Likewise.
18698 * iconvdata/uhc.c : Likewise.
18699 * iconvdata/unicode.c (gconv_end): Likewise.
18700 * iconvdata/utf-16.c (gconv_end): Likewise.
18701 * iconvdata/utf-32.c (gconv_end): Likewise.
18702 * iconvdata/utf-7.c (base64): Likewise.
18703 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18704 * iconv/gconv_close.c (__gconv_close): Likewise.
18705 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18706 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18707 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18708 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18709 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18710 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18711 * iconv/iconv.c (iconv): Likewise.
18712 * iconv/iconv_close.c: Likewise.
18713 * iconv/loop.c (SINGLE): Likewise.
18714 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18715 * include/atomic.h: Likewise.
18716 * inet/inet6_option.c (option_alloc): Likewise.
18717 * intl/bindtextdom.c (set_binding_values): Likewise.
18718 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18719 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18720 * intl/localealias.c (read_alias_file): Likewise.
18721 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18722 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18723 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18724 * libio/fmemopen.c (fmemopen): Likewise.
18725 * libio/iofgets.c (_IO_fgets): Likewise.
18726 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18727 * libio/iofgetws.c (fgetws): Likewise.
18728 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18729 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18730 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18731 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18732 * locale/findlocale.c (_nl_find_locale): Likewise.
18733 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18734 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18735 Likewise.
18736 * locale/setlocale.c (setlocale): Likewise.
18737 * login/programs/pt_chown.c (main): Likewise.
18738 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18739 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18740 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18741 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18742 * math/e_exp2l.c: Likewise.
18743 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18744 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18745 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18746 * math/s_catan.c (__catan): Likewise.
18747 * math/s_catanf.c (__catanf): Likewise.
18748 * math/s_catanh.c (__catanh): Likewise.
18749 * math/s_catanhf.c (__catanhf): Likewise.
18750 * math/s_catanhl.c (__catanhl): Likewise.
18751 * math/s_catanl.c (__catanl): Likewise.
18752 * math/s_ccosh.c (__ccosh): Likewise.
18753 * math/s_ccoshf.c (__ccoshf): Likewise.
18754 * math/s_ccoshl.c (__ccoshl): Likewise.
18755 * math/s_cexp.c (__cexp): Likewise.
18756 * math/s_cexpf.c (__cexpf): Likewise.
18757 * math/s_cexpl.c (__cexpl): Likewise.
18758 * math/s_clog10.c (__clog10): Likewise.
18759 * math/s_clog10f.c (__clog10f): Likewise.
18760 * math/s_clog10l.c (__clog10l): Likewise.
18761 * math/s_clog.c (__clog): Likewise.
18762 * math/s_clogf.c (__clogf): Likewise.
18763 * math/s_clogl.c (__clogl): Likewise.
18764 * math/s_csin.c (__csin): Likewise.
18765 * math/s_csinf.c (__csinf): Likewise.
18766 * math/s_csinh.c (__csinh): Likewise.
18767 * math/s_csinhf.c (__csinhf): Likewise.
18768 * math/s_csinhl.c (__csinhl): Likewise.
18769 * math/s_csinl.c (__csinl): Likewise.
18770 * math/s_csqrt.c (__csqrt): Likewise.
18771 * math/s_csqrtf.c (__csqrtf): Likewise.
18772 * math/s_csqrtl.c (__csqrtl): Likewise.
18773 * math/s_ctan.c (__ctan): Likewise.
18774 * math/s_ctanf.c (__ctanf): Likewise.
18775 * math/s_ctanh.c (__ctanh): Likewise.
18776 * math/s_ctanhf.c (__ctanhf): Likewise.
18777 * math/s_ctanhl.c (__ctanhl): Likewise.
18778 * math/s_ctanl.c (__ctanl): Likewise.
18779 * math/w_pow.c: Likewise.
18780 * math/w_powf.c: Likewise.
18781 * math/w_powl.c: Likewise.
18782 * math/w_scalb.c (sysv_scalb): Likewise.
18783 * math/w_scalbf.c (sysv_scalbf): Likewise.
18784 * math/w_scalbl.c (sysv_scalbl): Likewise.
18785 * misc/error.c (error_tail): Likewise.
18786 * misc/pselect.c (__pselect): Likewise.
18787 * nis/nis_callback.c (__nis_create_callback): Likewise.
18788 * nis/nis_call.c (__nisfind_server): Likewise.
18789 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18790 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18791 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18792 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18793 * nis/nis_lookup.c (nis_lookup): Likewise.
18794 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18795 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18796 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18797 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18798 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18799 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18800 * nis/nss_compat/compat-initgroups.c (add_group)
18801 (internal_getgrent_r): Likewise.
18802 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18803 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18804 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18805 (internal_getspnam_r): Likewise.
18806 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18807 (_nss_nis_getaliasbyname_r): Likewise.
18808 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18809 (_nss_nis_getntohost_r): Likewise.
18810 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18811 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18812 (_nss_nis_getgrgid_r): Likewise.
18813 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18814 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18815 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18816 (_nss_nis_gethostbyname4_r): Likewise.
18817 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18818 (initgroups_netid): Likewise.
a1ffb40e 18819 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18820 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18821 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18822 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18823 (_nss_nis_getprotobynumber_r): Likewise.
18824 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18825 (_nss_nis_getsecretkey): Likewise.
18826 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18827 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18828 (_nss_nis_getpwuid_r): Likewise.
18829 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18830 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18831 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18832 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18833 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18834 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18835 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18836 Likewise.
57f41c40
AS
18837 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18838 (_nss_nisplus_getntohost_r): Likewise.
18839 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18840 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18841 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18842 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18843 Likewise.
57f41c40
AS
18844 * nis/nss_nisplus/nisplus-initgroups.c
18845 (_nss_nisplus_initgroups_dyn): Likewise.
18846 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18847 (_nss_nisplus_getnetbyaddr_r): Likewise.
18848 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18849 (_nss_nisplus_getprotobynumber_r): Likewise.
18850 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18851 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18852 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18853 Likewise.
57f41c40
AS
18854 * nis/nss_nisplus/nisplus-service.c
18855 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18856 (_nss_nisplus_getservbyport_r): Likewise.
18857 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18858 (_nss_nisplus_getspnam_r): Likewise.
18859 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18860 Likewise.
a1ffb40e
OB
18861 * nscd/aicache.c (addhstaiX): Likewise.
18862 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18863 * nscd/connections.c (register_traced_file, send_ro_fd)
18864 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18865 (main_loop_epoll): Likewise.
a1ffb40e
OB
18866 * nscd/grpcache.c (addgrbyX): Likewise.
18867 * nscd/hstcache.c (addhstbyX): Likewise.
18868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18869 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18870 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18871 (addinnetgrX): Likewise.
18872 * nscd/nscd-client.h (__nscd_acquire_maplock)
18873 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18874 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18875 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18877 Likewise.
18878 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18880 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18881 (__nscd_get_map_ref): Likewise.
a1ffb40e 18882 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18883 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18884 Likewise.
a1ffb40e
OB
18885 * nscd/pwdcache.c (addpwbyX): Likewise.
18886 * nscd/selinux.c (preserve_capabilities): Likewise.
18887 * nscd/servicescache.c (addservbyX): Likewise.
18888 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18889 * posix/fnmatch.c (fnmatch): Likewise.
18890 * posix/getopt.c (_getopt_internal_r): Likewise.
18891 * posix/glob.c (glob, glob_in_dir): Likewise.
18892 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18893 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18894 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18895 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18896 * resolv/res_init.c: Likewise.
18897 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18898 * resolv/res_query.c (__libc_res_nquery): Likewise.
18899 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18900 Likewise.
18901 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18902 * stdio-common/perror.c (perror): Likewise.
18903 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18904 * stdio-common/tmpnam.c (tmpnam): Likewise.
18905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18906 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18907 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18908 Likewise.
a1ffb40e
OB
18909 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18910 * stdlib/putenv.c (putenv): Likewise.
18911 * stdlib/setenv.c (__add_to_environ): Likewise.
18912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18913 * stdlib/strtol_l.c (INTERNAL): Likewise.
18914 * string/memmem.c (memmem): Likewise.
18915 * string/strerror.c (strerror): Likewise.
18916 * string/strnlen.c (__strnlen): Likewise.
18917 * string/test-memmem.c (simple_memmem): Likewise.
18918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18919 * sunrpc/pm_getport.c (__get_socket): Likewise.
18920 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18921 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18922 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18923 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18924 Likewise.
18925 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18927 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18928 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18929 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18930 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18931 Likewise.
18932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18933 Likewise.
a1ffb40e
OB
18934 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18935 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18937 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18938 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18942 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18943 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18944 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18946 Likewise.
18947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18948 Likewise.
18949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18950 Likewise.
18951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18954 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18955 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18957 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18960 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18961 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18964 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18966 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18967 Likewise.
a1ffb40e
OB
18968 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18969 Likewise.
18970 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18971 Likewise.
18972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18973 Likewise.
18974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18976 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18977 Likewise.
18978 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18979 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18980 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18981 * sysdeps/posix/sleep.c: Likewise.
18982 * sysdeps/posix/tempname.c: Likewise.
18983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18984 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18985 Likewise.
57f41c40
AS
18986 * sysdeps/powerpc/powerpc32/dl-machine.h
18987 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18988 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18990 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18992 Likewise.
18993 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18995 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18997 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18998 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18999 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19000 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19001 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19002 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19004 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19005 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19007 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19008 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19009 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19010 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19011 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19012 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19013 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19016 Likewise.
19017 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19018 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19019 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19020 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19021 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19023 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19024 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19027 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19028 Likewise.
19029 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19030 (__posix_fallocate64_l64): Likewise.
19031 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19032 (posix_fallocate): Likewise.
57f41c40
AS
19033 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19034 Likewise.
a1ffb40e 19035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19036 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19037 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19038 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19039 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19040 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19041 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19042 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19043 (__posix_fallocate64_l64): Likewise.
19044 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19045 Likewise.
19046 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19048 (__get_clockfreq): Likewise.
a1ffb40e
OB
19049 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19050 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19051 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19054 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19055 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19056 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19057 Likewise.
19058 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19059 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19060 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19063 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19064 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19065 Likewise.
19066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19067 (posix_fallocate): Likewise.
19068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19069 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19070 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19071 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19072 (elf_machine_rela, elf_machine_rela_relative)
19073 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19074 * time/asctime.c (asctime_internal): Likewise.
19075 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19076 * time/tzset.c (__tzset_parse_tz): Likewise.
19077 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19078 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19079 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19080 * wcsmbs/wcsmbsload.h: Likewise.
19081
f3d338c9
OB
19082 [BZ #15894]
19083 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19084
57f41c40
AS
19085 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19086 (arena_get2): Remove THREAD_STATS conditionals.
19087 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19088 (__malloc_stats, int): Likewise.
bdfe308a 19089
d674667c
MF
190902014-02-08 Mike Frysinger <vapier@gentoo.org>
19091
19092 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19093 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19094
6349768c
MF
19095 * manual/setjmp.texi: Fix typos/grammar errors.
19096
0b7c7473
MF
19097 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19098 Only return early when n is <= 0. Delete unused return statement.
19099
ac8cc9e3
MF
19100 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19101 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19102 * debug/tst-longjmp_chk3.c: New file.
19103
c5bb8e23
MF
19104 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19105 (test_main): Replace code with set_fortify_handler call.
19106 * debug/test-strcpy_chk.c: Likewise.
19107 * debug/tst-chk1.c: Likewise.
19108 * debug/tst-longjmp_chk.c: Likewise.
19109 * test-skeleton.c: Include fcntl.h & paths.h
19110 (set_fortify_handler): Define.
19111
10444e42
MF
19112 * debug/tst-longjmp_chk.c: Add header comment and include
19113 ../test-skeleton.c.
19114 (do_test): Mark static.
19115 (TEST_FUNCTION): Define.
19116
1e805e8d
MF
19117 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19118 (IP_PMTUDISC_INTERFACE): Likewise.
19119 (IP_MULTICAST_IF): Likewise.
19120 (IP_MULTICAST_TTL): Likewise.
19121 (IP_MULTICAST_LOOP): Likewise.
19122 (IP_ADD_MEMBERSHIP): Likewise.
19123 (IP_DROP_MEMBERSHIP): Likewise.
19124 (IP_UNBLOCK_SOURCE): Likewise.
19125 (IP_BLOCK_SOURCE): Likewise.
19126 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19127 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19128 (IP_MSFILTER): Likewise.
19129 (MCAST_JOIN_GROUP): Likewise.
19130 (MCAST_BLOCK_SOURCE): Likewise.
19131 (MCAST_UNBLOCK_SOURCE): Likewise.
19132 (MCAST_LEAVE_GROUP): Likewise.
19133 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19134 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19135 (MCAST_MSFILTER): Likewise.
19136 (IP_MULTICAST_ALL): Likewise.
19137 (IP_UNICAST_IF): Likewise.
19138
73f79bb7
MF
19139 * timezone/Makefile: Delete $(have-ksh) check.
19140 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19141 * timezone/tzselect.ksh: Add +x mode bits.
19142
8da79b60
MF
19143 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19144 (ANON_INODE_FS_MAGIC): Likewise.
19145 (BDEVFS_MAGIC): Likewise.
19146 (BINFMTFS_MAGIC): Likewise.
19147 (BTRFS_TEST_MAGIC): Likewise.
19148 (CRAMFS_MAGIC_WEND): Likewise.
19149 (DEBUGFS_MAGIC): Likewise.
19150 (ECRYPTFS_SUPER_MAGIC): Likewise.
19151 (EXT3_SUPER_MAGIC): Likewise.
19152 (EXT4_SUPER_MAGIC): Likewise.
19153 (FUTEXFS_SUPER_MAGIC): Likewise.
19154 (HOSTFS_SUPER_MAGIC): Likewise.
19155 (HUGETLBFS_MAGIC): Likewise.
19156 (MINIX3_SUPER_MAGIC): Likewise.
19157 (MTD_INODE_FS_MAGIC): Likewise.
19158 (NILFS_SUPER_MAGIC): Likewise.
19159 (OPENPROM_SUPER_MAGIC): Likewise.
19160 (PIPEFS_MAGIC): Likewise.
19161 (PSTOREFS_MAGIC): Likewise.
19162 (QNX6_SUPER_MAGIC): Likewise.
19163 (RAMFS_MAGIC): Likewise.
19164 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19165 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19166 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19167 (SECURITYFS_MAGIC): Likewise.
19168 (SELINUX_MAGIC): Likewise.
19169 (SMACK_MAGIC): Likewise.
19170 (SOCKFS_MAGIC): Likewise.
19171 (SQUASHFS_MAGIC): Likewise.
19172 (STACK_END_MAGIC): Likewise.
19173 (TMPFS_MAGIC): Likewise.
19174 (USBDEVICE_SUPER_MAGIC): Likewise.
19175 (V9FS_MAGIC): Likewise.
19176 (XENFS_SUPER_MAGIC): Likewise.
19177 (CRAMFS_MAGIC): Fix typo in comment.
19178 (EXT2_SUPER_MAGIC): Update comment.
19179 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19180
464263cc
JM
191812014-02-08 Joseph Myers <joseph@codesourcery.com>
19182
c6bfe5c4
JM
19183 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19184 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19185 * sysdeps/unix/sysv/linux/arm: Move directory from
19186 ports/sysdeps/unix/sysv/linux/arm.
19187 * README: Update listing for arm-*-linux-gnueabi.
19188
464263cc
JM
19189 * README: Remove mention of am33.
19190
32749f6c
RM
191912014-02-07 Roland McGrath <roland@hack.frob.com>
19192
19193 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19194 than the comma operator, to avoid "rhs of comma has no effect"
19195 compiler warnings.
19196 (__sigfillset, __sigandset, __sigorset): Likewise.
19197 * include/signal.h (__sigemptyset): Likewise.
19198 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19199
d5b396c1
AM
192002014-02-07 Allan McRae <allan@archlinux.org>
19201
19202 * version.h (RELEASE): Set to "development".
19203 (VERSION): Set to "2.19.90"
19204 * NEWS: Add 2.20 section.
19205
3bfff2ed
CD
192062014-02-06 Carlos O'Donell <carlos@redhat.com>
19207
19208 [BZ #16529]
19209 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19210
ee7cc385
SP
192112014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19212
19213 * manual/contrib.texi: Update entry for Carlos O'Donell,
19214 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19215
f877c4f2
CD
192162014-02-05 Carlos O'Donell <carlos@rehdat.com>
19217
27e839f6
CD
19218 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19219
f877c4f2
CD
19220 * sysdeps/unix/sysv/linux/kernel-features.h
19221 [__LINUX_KERNEL_VERSION >= 0x020621]
19222 (__ASSUME_PROC_PID_TASK_COMM): Define.
19223
68159946
SP
192242014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19225
ba17cdbd
SP
19226 [BZ #16398]
19227 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19228 conversion when destination buffer does not have enough space.
19229 * libio/tst-ftell-partial-wide.c: New test case.
19230 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19231
68159946
SP
19232 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19233 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19234 Leonard and Allan McRae.
19235
2b528732
DM
192362014-02-04 David S. Miller <davem@davemloft.net>
19237
19238 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19239 32-bit.
19240
0ff82463
AZ
192412014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19242
57f41c40
AS
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19244 New file
c01603f7
AZ
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19246 New file
57f41c40
AS
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19248 New file.
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19250 New file.
c01603f7
AZ
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19252 New file.
57f41c40
AS
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19254 New file.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19256 New file.
c01603f7
AZ
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19258 New file.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19260 New file.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19262 New file.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19264 New file.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19266 New file.
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19268 New file.
19269
192702014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19271
0ff82463
AZ
19272 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19273 * shlib-versions: Likewise.
19274
1695c773
AZ
192752014-02-04 Roland McGrath <roland@hack.frob.com>
19276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19277
19278 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19279 (abilist-pattern): New variable, set to %-le.abilist.
19280
19281 * Makerules (abilist-pattern): New variable.
19282 (vpath): Use $(abilist-pattern) in place of %.abilist.
19283 (check-abi-% pattern rule): Likewise.
19284 (check-abi, update-abi): Likewise.
19285
6c0ce4b4
EW
192862014-02-04 Eric Wong <normalperson@yhbt.net>
19287
19288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19289
481e3524
CD
192902014-02-03 Carlos O'Donell <carlos@redhat.com>
19291
19292 * manual/startup.texi: Add next, previous, and top entries for
19293 the `Program Arguments' and `Environment Variables' nodes.
19294
375592d3
AO
192952014-02-03 Alexandre Oliva <aoliva@redhat.com>
19296
19297 * manual/macros.texi: Add comments before MTASC-safety macros.
19298
f54838ba
AO
19299 * manual/users.texi: Document MTASC-safety properties.
19300
57f41c40
AS
19301 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19302 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19303 @deftypefun, and add @safety note.
19304 * manual/signal.texi: Move comments that analyze the above
19305 functions to their home place.
19306
fd3daba4
AM
193072014-02-03 Allan McRae <allan@archlinux.org>
19308
19309 * po/sl.po: Update Slovenian translation from translation project.
19310
597636d7
AO
193112014-02-02 Alexandre Oliva <aoliva@redhat.com>
19312
19313 * manual/time.texi (timegm): Add missing blank after @c.
19314 Reported by Joseph Myers <joseph@codesourcery.com>.
19315
ee196e3c
AO
193162014-02-01 Alexandre Oliva <aoliva@redhat.com>
19317
19318 * manual/check-safety.sh: New.
19319 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19320
f8d529d5
AO
19321 * manual/terminal.texi: Document MTASC-safety properties.
19322
de55fdf4
AO
19323 * manual/filesys.texi: Document MTASC-safety properties.
19324
c3299c08
AO
19325 * manual/errno.texi: Document MTASC-safety properties.
19326
06e90b14
AO
19327 * manual/intro.texi: Document safety identifiers and
19328 conditionals.
19329
1acd4371
AO
19330 * manual/string.texi (wcstok): Fix prototype.
19331 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19332
23e5b8cb
AO
19333 * manual/time.texi: Document MTASC-safety properties.
19334
11087373
AO
19335 * manual/string.texi: Document MTASC-safety properties.
19336
5da2c93d
AO
19337 * manual/threads.texi: Document MTASC-safety properties.
19338
171e9210
AO
19339 * manual/stdio.texi: Document MTASC-safety properties.
19340
d9e02532
AO
19341 * manual/syslog.texi: Document MTASC-safety properties.
19342
6af8bab7
AO
19343 * manual/sysinfo.texi: Document MTASC-safety properties.
19344
663b02d7
AO
19345 * manual/startup.texi: Document MTASC-safety properties.
19346
973f180b
AO
19347 * manual/socket.texi: Document MTASC-safety properties.
19348
8f3c25c8
AO
19349 * manual/signal.texi: Document MTASC-safety properties.
19350
542210fb
AO
193512014-01-31 Alexandre Oliva <aoliva@redhat.com>
19352
19353 * manual/setjmp.texi: Document MTASC-safety properties.
19354
433c45a2
AO
19355 * manual/search.texi: Document MTASC-safety properties.
19356
c8ce789c
AO
19357 * manual/resource.texi: Document MTASC-safety properties.
19358
19f5d29c
AO
19359 * manual/process.texi: Document MTASC-safety properties.
19360
e2dfb7f4
AO
19361 * manual/platform.texi: Document MTASC-safety properties.
19362
8c1413f5
AO
19363 * manual/pipe.texi: Document MTASC-safety properties.
19364
03483ada
AO
19365 * manual/pattern.texi: Document MTASC-safety properties.
19366
29e7e2df
AO
19367 * manual/message.texi: Document MTASC-safety properties.
19368
9f529d7c
AO
19369 [BZ #12751]
19370 * manual/memory.texi: Document MTASC-safety properties.
19371
27aaa791
AO
19372 * manual/math.texi: Document MTASC-safety properties.
19373
f2d58726
AO
19374 * manual/locale.texi: Document MTASC-safety properties.
19375
2cc3615c
AO
19376 * manual/llio.texi: Document MTASC-safety properties.
19377
d9f0ec97
AO
19378 * manual/libdl.texi: New.
19379
e7c4409a
AO
19380 * manual/lang.texi: Document MTASC-safety properties.
19381
27bdc63c
AO
19382 * manual/job.texi: Document MTASC-safety properties.
19383
a7b90ea9
AO
19384 * manual/getopt.texi: Document MTASC-safety properties.
19385
c49130e3
AO
19386 * manual/ctype.texi: Document MTASC-safety properties.
19387
0d23a5c1
MR
193882014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19389
19390 [BZ #16046]
19391 * csu/libc-tls.c (static_map): Remove variable.
19392 (__libc_setup_tls): Use main executable's link map for TLS data.
19393 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19394 casing for LM_ID_BASE and GL(dl_nns).
19395 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19396 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19397 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19398 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19399 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19400 member.
19401 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19402 l_phnum members.
19403
0037bb60
AO
194042014-01-30 Alexandre Oliva <aoliva@redhat.com>
19405
19406 * manual/debug.texi: Document MTASC-safety properties.
19407
409e00bd
L
194082014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19409
19410 [BZ #16510]
19411 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19412 of __x86_64__ when disabling x87 inline functions.
19413
86e60666
AO
194142014-01-29 Alexandre Oliva <aoliva@redhat.com>
19415
19416 * manual/charset.texi: Document MTASC-safety properties.
19417
76167637
AO
19418 * manual/crypt.texi: Document MTASC-safety properties.
19419
e567f2a0
AO
19420 * manual/conf.texi: Document MTASC-safety properties.
19421
b719dafd
AO
19422 * manual/arith.texi: Document MTASC-safety properties.
19423
4a16c662
AO
19424 * manual/argp.texi: Document MTASC-safety properties.
19425
0a57b83e
AO
19426 * manual/macros.texi: Introduce macros to document multi
19427 thread, asynchronous signal and asynchronous cancellation
19428 safety properties.
19429 * manual/intro.texi: Introduce the properties themselves.
19430
feab2397
KK
194312014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19432
19433 * sysdeps/sh/sh4/Makefile: New file.
19434
1c0d11bc
AS
194352014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19436
19437 * math/gen-libm-test.pl ($srcdir): New variable.
19438 ($auto_input): Use it.
19439
af37a8a3
SP
194402014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19441
d7b00f98
SP
19442 [BZ #16506]
19443 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19444 access beyond array bounds when parsing netgroups file.
19445
af37a8a3
SP
19446 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19447 the old buffer before realloc.
19448
0c00f062
AM
194492014-01-27 Allan McRae <allan@archlinux.org>
19450
19451 * po/fr.po: Update French translation from translation project.
19452
7d69a1b0
KK
194532014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19454
19455 * sysdeps/sh/libm-test-ulps: Regenerate.
19456
6e697ff7
DM
194572014-01-24 David S. Miller <davem@davemloft.net>
19458
19459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19460
9cadb35c
KK
194612014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19462
19463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19464 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19465
5d41dadf
SP
194662013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19467
19468 [BZ #16474]
19469 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19470 string pointers after reallocation.
19471
0bad441c
KK
194722014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19473
19474 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19475 __SH4A__ instead of __SH_FPU_ANY__.
19476
7007c661
KK
194772014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19478
19479 * sysdeps/sh/fpu_control.h: New file.
19480 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19481 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19482 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19483 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19484 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19485 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19486 * sysdeps/sh/sys/ucontext.h: Remove.
19487 * sysdeps/sh/sys: Remove directory.
19488
0f0c35e4
AK
194892014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19490
19491 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19492 s390/sys/ucontext.h.
19493 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19495
4959e284
L
194962014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19497
19498 [BZ #15605]
19499 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19500
d98720e0
AZ
195012014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19502
19503 [BZ#16431]
19504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19505 Adjust the vDSO correctly for internal calls.
19506 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19507
91cbd0bc
AM
195082014-01-20 Allan McRae <allan@archlinux.org>
19509
19510 * po/ca.po: Update Catalan translation from translation project.
19511
7a02cfad
MF
195122014-01-16 Mike Frysinger <vapier@gentoo.org>
19513
19514 * sysdeps/s390/sotruss-lib.c: New file.
19515
736c304a
AZ
195162014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19517
19518 [BZ#16430]
6e077ee5 19519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19520 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19521 local calls issues by not having a PLT stub required for IFUNC calls.
19522 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19523
94d0cea0
JM
195242014-01-16 Joseph Myers <joseph@codesourcery.com>
19525
19526 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19527 * math/test-fpucw-static.c: Likewise.
19528
980cb518
SP
195292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
19531 [BZ #16453]
19532 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19533
2393fc01
AZ
195342014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19535
19536 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19537 implementation for powerpc.
19538
d359bcc2
OB
195392014-01-15 Ondřej Bílka <neleai@seznam.cz>
19540
19541 [BZ #14782]
19542 * sysdeps/posix/system.c (__libc_system): Do not enable
19543 asynchronous cancellation.
19544
7beb48cb
AK
195452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19546
19547 [BZ #16427]
19548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19549 handling only for numbers special also in the IEEE case.
19550
c20d5bf5
AK
195512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19552
19553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19554
e83bd4ee
AM
195552014-01-11 Allan McRae <allan@archlinux.org>
19556
76d0ea69
AM
19557 * po/bg.po: Update Bulgarian translation from translation project.
19558
e83bd4ee
AM
19559 * po/de.po: Update German translation from translation project.
19560
bc2ba20a
RM
195612014-01-10 Roland McGrath <roland@hack.frob.com>
19562
19563 * sysdeps/generic/gcc-compat.h: New file.
19564
649ecea2
SP
195652014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19566
19567 * benchtests/asin-inputs: Correct slow inputs.
19568 * benchtests/acos-inputs: Likewise.
19569
1b19c006
AM
195702014-01-10 Allan McRae <allan@archlinux.org>
19571
a46dab08
AM
19572 * po:sv.po: Update Swedish translation from translation project.
19573
421df74a
AM
19574 * po/vi.po: Update Vietnamese translation from translation project.
19575
d61c51a7
AM
19576 * po/eo.po: Update Esperanto translation from translation project.
19577
0339a319
AM
19578 * po/cs.po: Update Czech translation from translation project.
19579
94ad3e99
AM
19580 * po/nl.po: Update Dutch translation from translation project.
19581
e349ca71
AM
19582 * po/pl.po: Update Polish translation from translation project.
19583
ddf930c1
AM
19584 * po/ru.po: Update Russian translation from translation project.
19585
1b19c006
AM
19586 * po/uk.po: Update Ukrainian translation from translation project.
19587
9f236c49
BM
195882014-01-08 Brooks Moses <bmoses@google.com>
19589
19590 * elf/dl-load.c: Fix comment typo.
19591
cd6701cf
CD
195922014-01-08 Carlos O'Donell <carlos@redhat.com>
19593
19594 * po/header.pot: Rename to...
19595 * po/pot.header: ... this.
19596 * po/Makefile: Use pot.header.
19597
66671c84
YK
195982014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19599 Maxim Kuvyrkov <maxim@kugelworks.com>
19600
19601 [BZ #16394]
cd6701cf
CD
19602 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19603 SRC and DEST against LEN.
66671c84 19604
38f34581
AZ
196052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 [BZ #16414]
19608 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19609 implementation.
19610 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19611
196122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19613
19614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19615
4c327f2a
JM
196162014-01-08 Joseph Myers <joseph@codesourcery.com>
19617
19618 [BZ #16408]
19619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19620 for large positive arguments.
19621
b821f414
JM
196222014-01-07 Joseph Myers <joseph@codesourcery.com>
19623
1f0f2067
JM
19624 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19625
a5a326f6
JM
19626 * math/auto-libm-test-in: Mark various tests with
19627 xfail-rounding:ldbl-128ibm.
19628 * math/auto-libm-test-out: Regenerated.
19629
b821f414
JM
19630 [BZ #16407]
19631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19632 Increase overflow threshold.
19633
94c8a4bc
OB
196342014-01-07 Ondřej Bílka <neleai@seznam.cz>
19635
19636 [BZ #14286]
19637 * stdio-common/vfprintf.c: Check for integer overflow.
19638
87ded0c3
AK
196392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19640
19641 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19642 the first argument and return value of __tls_get_addr_internal.
19643
c5eebdd0
AK
196442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19645
19646 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19647 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19648
05d138ef
AK
196492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19650
19651 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19652 * sysdeps/s390/rtld-global-offsets.sym: New file.
19653 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19654 GLIBC_2.19 symbol.
19655 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19658 ... this.
19659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19661 ... this.
19662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19663 Regenerate.
19664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19665 Regenerate.
19666 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19667 halfs of GPRs for high_gprs contexts.
19668 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19669 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19670 field.
19671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19672 uc_flags field.
19673 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19674 64 bit versions:
19675 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19676 for high GPRs (uc_high_gprs) and for future extensions
19677 (__reserved).
19678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19679 for future extensions (__reserved).
19680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19681 64 bit versions:
19682 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19683 SC_HIGHGPRS offset definition.
19684 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19685 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19686
93a45ff1
AK
19687 * Versions.def: Add GLIBC_2.19 for libpthread.
19688 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19689 siglongjmp for libpthread with GLIBC_2.19 symver.
19690 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19691 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19692 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19693 * sysdeps/s390/__longjmp.c: New file.
19694 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19695 * sysdeps/s390/longjmp.c: New file.
19696 * sysdeps/s390/setjmp.S: New file.
19697 * sysdeps/s390/sigjmp.S: New file.
19698 * sysdeps/s390/v1-longjmp.c: New file.
19699 * sysdeps/s390/v1-setjmp.h: New file.
19700 * sysdeps/s390/v1-sigjmp.c: New file.
19701 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19702 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19703 GLIBC_2.19 version.
19704 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19705 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19706 versioned symbols for ____longjmp_chk.
19707 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19708 Likewise.
19709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19710 Regenerate.
19711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19712 Regenerate.
19713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19714 Regenerate.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19716 Regenerate.
19717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19718 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19719 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19720 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19721 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19722 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19723 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19724 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19725 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19726 * sysdeps/s390/rtld-__longjmp.c: New file.
19727 * sysdeps/s390/rtld-setjmp.S: New file.
19728
eb3fc44b
JM
197292014-01-06 Joseph Myers <joseph@codesourcery.com>
19730
19731 [BZ #16400]
19732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19733 Return -__logl (x) for small positive arguments without evaluating
19734 a polynomial.
19735
9341dde4
MF
197362014-01-06 Mike Frysinger <vapier@gentoo.org>
19737
19738 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19739 Rename to ...
19740 (__ptrace_peeksiginfo_args): ... this.
19741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19744
4cff0293
AM
197452014-01-06 Allan McRae <allan@archlinux.org>
19746
19747 * inet/netinet/in.h: Fix typo in comment.
19748
75595dcf
AJ
197492014-01-05 Andreas Jaeger <aj@suse.de>
19750
19751 * sysdeps/i386/fpu/libm-test-ulps: Update.
19752
79c1e109
AM
197532014-01-05 Allan McRae <allan@archlinux.org>
19754
dd804818
AM
19755 * po/libc.pot: Regenerated.
19756
79c1e109
AM
19757 * malloc/memusagestat.c: Fix gettext call formatting.
19758
0c813d1f
SK
197592014-01-04 Sami Kerola <kerolasa@iki.fi>
19760
19761 * nscd/nscd.c: Improve usage() output.
19762
20f4a8d9
MF
197632014-01-04 Mike Frysinger <vapier@gentoo.org>
19764
19765 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19766 * sysdeps/unix/sysv/linux/configure: Regenerated.
19767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19768 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19769
22562bb2
JM
197702014-01-03 Joseph Myers <joseph@codesourcery.com>
19771
19772 [BZ #16390]
19773 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19774 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19775
d7ad2d9b
AZ
197762014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19777
19778 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19779 extra tokens at end of #undef directive.
19780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19783
7dd009d8
JM
197842014-01-03 Joseph Myers <joseph@codesourcery.com>
19785
24db925a
JM
19786 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19787
7dd009d8
JM
19788 * math/auto-libm-test-in: Mark various tests with
19789 xfail-rounding:ldbl-128ibm.
19790 * math/auto-libm-test-out: Regenerated.
19791
396e3ecf
JM
197922014-01-02 Joseph Myers <joseph@codesourcery.com>
19793
819e5d50
JM
19794 [BZ #16386]
19795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19796 numbers with subnormal high part when calculating exponent.
19797
90b6a1e5
JM
19798 [BZ #16385]
19799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19800 fabs.
19801
396e3ecf
JM
19802 [BZ #16384]
19803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19804 M_LN2l.
19805 (__ieee754_acoshl): Use __log1pl not __log1p.
19806
6c8dbf00
OB
198072013-01-02 Ondřej Bílka <neleai@seznam.cz>
19808
57f41c40
AS
19809 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19810 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19811 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19812 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19813 (reused_arena, arena_get2): Convert to GNU style.
19814 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19815 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19816 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19817 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19818 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19819 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19820 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19821 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19822 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19823 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19824 * malloc/malloc.h: Likewise.
57f41c40
AS
19825 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19826 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19827 * malloc/mcheck.h: Likewise.
57f41c40
AS
19828 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19829 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19830 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19831 * malloc/morecore.c (__default_morecore): Likewise.
19832 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19833 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19834 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19835 (print_and_abort): Likewise.
6c8dbf00
OB
19836 * malloc/obstack.h: Likewise.
19837 * malloc/set-freeres.c (__libc_freeres): Likewise.
19838 * malloc/tst-mallocstate.c (main): Likewise.
19839 * malloc/tst-mtrace.c (main): Likewise.
19840 * malloc/tst-realloc.c (do_test): Likewise.
19841
d4124212
SP
198422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19843
9a3c6a6f
SP
19844 [BZ #16366]
19845 * nscd/netgroupcache.c (do_notfound): New function.
19846 (addgetnetgrentX): Use it.
19847
d4124212
SP
19848 [BZ # 16365]
19849 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19850 NSS_STATUS_NOTFOUND.
19851
97b9a009
JM
198522014-01-01 Joseph Myers <joseph@codesourcery.com>
19853
19854 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19856
d4697bc9
AM
198572014-01-01 Allan McRae <allan@archlinux.org>
19858
ddb3687f
AM
19859 * scripts/update-copyrights: Update configure input file suffix.
19860
88726d48
AM
19861 * NEWS: Update copyright year.
19862 * catgets/gencat.c: Likewise.
19863 * csu/version.c: Likewise.
19864 * debug/catchsegv.sh: Likewise.
19865 * debug/pcprofiledump.c: Likewise.
19866 * debug/xtrace.sh: Likewise.
19867 * elf/ldconfig.c: Likewise.
19868 * elf/ldd.bash.in: Likewise.
19869 * elf/pldd.c: Likewise.
19870 * elf/sotruss.ksh: Likewise.
19871 * elf/sprof.c: Likewise.
19872 * iconv/iconv_prog.c: Likewise.
19873 * iconv/iconvconfig.c: Likewise.
19874 * locale/programs/locale.c: Likewise.
19875 * locale/programs/localedef.c: Likewise.
19876 * login/programs/pt_chown.c: Likewise.
19877 * malloc/memusage.sh: Likewise.
19878 * malloc/memusagestat.c: Likewise.
19879 * malloc/mtrace.pl: Likewise.
19880 * manual/libc.texinfo: Likewise.
19881 * nscd/nscd.c: Likewise.
19882 * nss/getent.c: Likewise.
19883 * nss/makedb.c: Likewise.
19884 * posix/getconf.c: Likewise.
19885 * scripts/test-installation.pl: Likewise.
19886
d4697bc9
AM
19887 * All files with FSF copyright notices: Update copyright dates
19888 using scripts/update-copyrights.
19889 * intl/plural.c: Regenerated.
19890 * locale/programs/charmap-kw.h: Likewise.
19891 * locale/programs/locfile-kw.h: Likewise.
19892
c8590f9d
MF
198932013-12-31 Mike Frysinger <vapier@gentoo.org>
19894
19895 * sysdeps/unix/sysv/linux/configure: Regenerated.
19896 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19897 the linux/fanotify.h header.
19898 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19899 HAVE_LINUX_FANOTIFY_H is defined.
19900
b19221b9
SP
199012013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19902
dd1d85e5
SP
19903 * benchtests/cos-inputs: New inputs.
19904 * benchtests/sin-inputs: Likewise.
19905
1acbb90f
SP
19906 * benchtests/atan-inputs: New inputs. Fix name of multiple
19907 precision fallback inputs.
19908
4c012ed3
SP
19909 * benchtests/atanh-inputs: New inputs.
19910 * benchtests/tanh-inputs: Likewise.
19911
eff98324
SP
19912 * benchtests/acosh-inputs: New inputs.
19913 * benchtests/asinh-inputs: Likewise.
19914
ce641152
SP
19915 * benchtests/cosh-inputs: New inputs.
19916 * benchtests/sinh-inputs: Likewise.
19917
b19221b9
SP
19918 * benchtests/acos-inputs: Add more inputs.
19919 * benchtests/asin-inputs: Likewise.
19920
030a4976 199212013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19922
030a4976 19923 [BZ #16375]
9dcc8f11
VS
19924 * manual/arith.texi: Fix spelling.
19925 * manual/charset.texi: Likewise.
19926 * manual/errno.texi: Likewise.
19927 * manual/filesys.texi: Likewise.
19928 * manual/lang.texi: Likewise.
19929 * manual/llio.texi: Likewise.
19930 * manual/locale.texi: Likewise.
19931 * manual/message.texi: Likewise.
19932 * manual/resource.texi: Likewise.
19933 * manual/search.texi: Likewise.
19934 * manual/setjmp.texi: Likewise.
19935 * manual/stdio.texi: Likewise.
19936 * manual/string.texi: Likewise.
19937 * manual/sysinfo.texi: Likewise.
19938 * manual/time.texi: Likewise.
19939
11520a57
CD
199402013-12-27 Carlos O'Donell <carlos@redhat.com>
19941
19942 * po/sl.po: New file.
19943
471103ae
MF
199442013-12-27 Mike Frysinger <vapier@gentoo.org>
19945
19946 * .gitignore: Add core/.gdbinit/.gdb_history.
19947
6c9642ed
AM
199482013-12-27 Allan McRae <allan@archlinux.org>
19949
19950 [BZ #16369]
19951 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19952 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19953
3f637079
BM
199542013-12-24 Brooks Moses <bmoses@google.com>
19955
19956 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19957 all compilers that claim C++98 compliance, not just GCC.
19958 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19959 Likewise.
19960
abc26e99
MK
199612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19962
19963 * NEWS: Restore accidentally deleted bug-fix entries.
19964
362b47fe
MK
199652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19966 Ondřej Bílka <neleai@seznam.cz>
19967
19968 [BZ #15073]
19969 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19970 have_lock.
362b47fe 19971
b9bcbbcb
OB
199722013-12-23 Ondřej Bílka <neleai@seznam.cz>
19973
19974 [BZ #12986]
19975 * manual/stdio.texi (String Input Conversions): Clarify that character
19976 classes are not supported.
19977
fb55fcd2
AZ
199782013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19981
ef7344f0
JM
199822013-12-22 Joseph Myers <joseph@codesourcery.com>
19983
4f40e4b3
JM
19984 [BZ #16337]
19985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19986 Calculate results for small negative arguments directly rather
19987 than using reflection formula with special underflow handling.
19988
ef7344f0
JM
19989 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19990 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19991 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19992 (fchflags): Likewise.
19993 (revoke): Likewise.
19994 (setlogin): Likewise.
19995 (sigaltstack): Likewise.
19996 (wait4): Likewise.
19997 (sigblock): Remove.
19998 (sigsetmask): Likewise.
19999 (wait3): Likewise.
20000 (waitpid): Likewise.
20001 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20002 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20003 file.
20004 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20005 * sysdeps/unix/bsd/Makefile: ... here.
20006 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20007 * sysdeps/unix/bsd/Versions: ... here.
20008 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20009 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20010 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20011 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20012 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20013 * sysdeps/unix/bsd/sigblock.c: ... here.
20014 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20015 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20016 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20017 * sysdeps/unix/bsd/sigvec.c: ... here.
20018 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20019 * sysdeps/unix/bsd/tcdrain.c: ... here.
20020 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20021 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20022 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20023 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20024 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20025 * sysdeps/unix/bsd/wait.c: ... here.
20026 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20027 * sysdeps/unix/bsd/wait3.c: ... here.
20028 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20029 * sysdeps/unix/bsd/waitpid.c: ... here.
20030
5b0626b9
JM
200312013-12-21 Joseph Myers <joseph@codesourcery.com>
20032
20033 [BZ #16356]
20034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20035 round-to-nearest for [!USE_AS_EXPM1L].
20036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20037 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20038 more tests of exp and exp10. Expect some exp10 tests to miss
20039 exceptions or fail in directed rounding modes.
20040 * math/auto-libm-test-out: Regenerated.
20041 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20042 (exp10_test_tonearest): New function.
20043 (exp10_towardzero_test_data): New array.
20044 (exp10_test_towardzero): New function.
20045 (exp10_downward_test_data): New array.
20046 (exp10_test_downward): New function.
20047 (exp10_upward_test_data): New array.
20048 (exp10_test_upward): New function.
20049 (main): Call the new functions.
20050 * sysdeps/i386/fpu/libm-test-ulps: Update.
20051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20052
7fda5682
JM
200532013-12-20 Joseph Myers <joseph@codesourcery.com>
20054
31e3a405
JM
20055 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20056 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20057 * math/auto-libm-test-out: Regenerated.
20058 * math/libm-test.inc (acosh_test_data): Add more tests.
20059 (atanh_test_data): Likewise.
20060 (ceil_test_data): Likewise.
20061 (copysign_test_data): Likewise.
20062 * sysdeps/i386/fpu/libm-test-ulps: Update.
20063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064
85bff96a
JM
20065 * timezone/checktab.awk: Update from tzcode 2013i.
20066 * timezone/private.h: Likewise.
20067 * timezone/scheck.c: Likewise.
20068 * timezone/tzfile.h: Likewise.
20069 * timezone/tzselect.ksh: Likewise.
20070 * timezone/zdump.c: Likewise.
20071 * timezone/zic.c: Likewise.
20072
b7867a3b
JM
20073 * math/auto-libm-test-in: Add tests of cpow.
20074 * math/auto-libm-test-out: Regenerated.
20075 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20076 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20077 mpc_cc_c.
20078 (func_calc_desc): Add mpc_cc_c union field.
20079 (test_functions): Add cpow.
20080 (special_fill_2pi): New function.
20081 (special_real_inputs): Add 2pi.
20082 (calc_generic_results): Handle mpc_cc_c.
20083 * sysdeps/i386/fpu/libm-test-ulps: Update.
20084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085
7fda5682
JM
20086 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20087 csqrt, ctan and ctanh.
20088 * math/auto-libm-test-out: Regenerated.
20089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20090 (TEST_COND_x86): Likewise.
20091 (ccos_test_data): Use AUTO_TESTS_c_c.
20092 (ccosh_test_data): Likewise.
20093 (cexp_test_data): Likewise.
20094 (clog_test_data): Likewise.
20095 (csqrt_test_data): Likewise.
20096 (ctan_test_data): Likewise.
20097 (ctan_tonearest_test_data): Likewise.
20098 (ctan_towardzero_test_data): Likewise.
20099 (ctan_downward_test_data): Likewise.
20100 (ctan_upward_test_data): Likewise.
20101 (ctanh_test_data): Likewise.
20102 (ctanh_tonearest_test_data): Likewise.
20103 (ctanh_towardzero_test_data): Likewise.
20104 (ctanh_downward_test_data): Likewise.
20105 (ctanh_upward_test_data): Likewise.
20106 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20107 mpc_c_c.
20108 (func_calc_desc): Add mpc_c_c union field.
20109 (FUNC_mpc_c_c): New macro.
20110 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20111 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20112 ctanh.
20113 (special_fill_min_subnorm_p120): New function.
20114 (special_real_inputs): Add min_subnorm_p120.
20115 (calc_generic_results): Handle mpc_c_c.
20116 * sysdeps/i386/fpu/libm-test-ulps: Update.
20117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20118
5ff8d60e
SP
201192013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20120
57f41c40
AS
20121 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20122 (do_sin_slow): New functions.
20123 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20124 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20125
84ba214c
SP
20126 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20127 Use M to change sign of result instead of X. Assume X is
20128 positive.
20129 (csloww1): Likewise.
20130 (__sin): Adjust.
20131 (__cos): Adjust.
20132
975195e4
SP
20133 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20134 arguments A and DA.
20135 (__sin): Adjust.
20136 (__cos): Likewise.
20137
5ff8d60e
SP
20138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20139 (__cos): Likewise.
20140 (sloww1): Don't adjust sign of DX.
20141 (csloww1): Likewise.
20142 (sloww2): Use X directly and don't adjust sign of DX.
20143 (csloww2): Likewise.
20144
eb983568
JM
201452013-12-19 Joseph Myers <joseph@codesourcery.com>
20146
64a17f1a
JM
20147 * math/auto-libm-test-in: Add tests of cabs and carg.
20148 * math/auto-libm-test-out: Regenerated.
20149 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20150 (carg_test_data): Likewise.
20151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20152 mpc_c_f.
20153 (func_calc_desc): Add mpc_c_f union field.
20154 (test_functions): Add cabs and carg.
20155 (calc_generic_results): Handle mpc_c_f.
20156
eb983568
JM
20157 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20158 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20159 as a macro and a compat symbol.
20160 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20161 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20162 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20163 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20164 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20166 not use .hidden.
20167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20168 Likewise.
20169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20170 Likewise.
20171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20172 Likewise.
20173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20174 Likewise.
20175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20176 Likewise.
20177 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20178 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20179 from GLIBC_2.3.2.
20180
6eeb678a
AZ
201812013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20182
20183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20184
6f6fc482
JM
201852013-12-19 Joseph Myers <joseph@codesourcery.com>
20186
21fea2e2
JM
20187 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20188 trailing whitespace removed.
20189 * scripts/config.guess: Update to version 2013-11-29.
20190 * scripts/config.sub: Update to version 2013-10-01.
20191
6f6fc482
JM
20192 * math/auto-libm-test-in: Add tests of sincos.
20193 * math/auto-libm-test-out: Regenerated.
20194 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20195 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20196 mpfr_f_11.
20197 (func_calc_desc): Add mpfr_f_11 union field.
20198 (test_functions): Add sincos.
20199 (calc_generic_results): Handle mpfr_f_11.
20200 * sysdeps/i386/fpu/libm-test-ulps: Update.
20201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20202
83f5c32d
AS
202032013-12-19 Andreas Schwab <schwab@suse.de>
20204
20205 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20206 CALL_MCOUNT.
20207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20208 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20209 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20210
c688b419
JM
202112013-12-19 Joseph Myers <joseph@codesourcery.com>
20212
335ee092
JM
20213 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20214 * sysdeps/i386/fpu/libm-test-ulps: Update.
20215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20216
f88acd39
JM
20217 [BZ #16293]
20218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20219 round-to-nearest mode when using frndint.
20220 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20221 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20223 Likewise.
20224 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20225 sinh test to fail.
20226 * math/auto-libm-test-out: Regenerated.
20227 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20228 (TEST_COND_x86): Likewise.
20229 (expm1_tonearest_test_data): New array.
20230 (expm1_test_tonearest): New function.
20231 (expm1_towardzero_test_data): New array.
20232 (expm1_test_towardzero): New function.
20233 (expm1_downward_test_data): New array.
20234 (expm1_test_downward): New function.
20235 (expm1_upward_test_data): New array.
20236 (expm1_test_upward): New function.
20237 (main): Run the new test functions.
20238 * sysdeps/i386/fpu/libm-test-ulps: Update.
20239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20240
c688b419
JM
20241 * include/features.h: Update comment documenting feature test
20242 macros. Mention _DEFAULT_SOURCE in comment.
20243 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20244 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20245 _BSD_SOURCE and _SVID_SOURCE.
20246 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20247 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20248 !_SVID_SOURCE]: Likewise.
20249 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20250 (__USE_POSIX_IMPLICITLY): Define.
20251 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20252 (_POSIX_SOURCE): Undefine and redefine.
20253 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20254 (_POSIX_C_SOURCE): Likewise.
20255 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20256 (Feature Test Macros): Update documentation of default features.
20257
9f6e964c
RS
202582013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20259
20260 * benchtests/Makefile: Add bench-strtok.
20261 * benchtests/bench-strtok.c: New file: strtok benchtest.
20262
ee0a148a
AM
202632013-12-19 Allan McRae <allan@archlinux.org>
20264
20265 * manual/install.texi: Suppress menu for plain text output.
20266 * INSTALL: Regenerated.
20267
b9ab448f
BM
202682013-12-18 Brooks Moses <bmoses@google.com>
20269
20270 [BZ #15846]
20271 * misc/getauxval.c: Include errno.h.
20272 (__getauxval): Set errno to ENOENT if the requested type is not
20273 found.
20274 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20275 don't declare with __attribute_const__.
20276 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20277 * manual/startup.texi: Document that getauxval sets errno.
20278
23776487
JM
202792013-12-18 Joseph Myers <joseph@codesourcery.com>
20280
f889953b
JM
20281 * math/auto-libm-test-in: Add tests of jn and yn.
20282 * math/auto-libm-test-out: Regenerated.
20283 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20284 (yn_test_data): Likewise.
20285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20286 mpfr_if_f.
20287 (func_calc_desc): Add mpfr_if_f union field.
20288 (FUNC_mpfr_if_f): New macro.
20289 (test_functions): Add jn and yn.
20290 (calc_generic_results): Assert type of second input for
20291 mpfr_ff_f. Handle mpfr_if_f.
20292 (output_for_one_input_case): Disable all checking for arguments
20293 fitting floating-point types in case of an integer argument.
20294 * sysdeps/i386/fpu/libm-test-ulps: Update.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296
23776487
JM
20297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20298 Don't expect fegetround reference in libm.so.
20299
cb756c6d
MS
203002013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20301
20302 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20303 $(config-cflags-nofma).
20304
2dec468f
JM
203052013-12-18 Joseph Myers <joseph@codesourcery.com>
20306
5953eb3a
JM
20307 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20308 * math/auto-libm-test-out: Regenerated.
20309
2dec468f
JM
20310 [BZ #16338]
20311 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20312 to determine exponent and adjust argument to have exponent of -1.
20313 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20314 log2.
20315 * math/auto-libm-test-out: Regenerated.
20316 * sysdeps/i386/fpu/libm-test-ulps: Update.
20317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20318
4d84e6ad
OB
203192013-12-18 Ondřej Bílka <neleai@seznam.cz>
20320
20321 * manual/probes.texi: Remove cases when per-thread arenas are
20322 disabled.
20323
1818483b
AS
203242013-12-18 Andreas Schwab <schwab@suse.de>
20325
20326 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20327 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20328 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20329 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20330 * sysdeps/i386/i686/multiarch/Makefile: Update.
20331 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20332
25de95bf
JM
203332013-12-17 Joseph Myers <joseph@codesourcery.com>
20334
20335 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20336 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20337
674762d9
PE
203382013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20339
ed27ed83 20340 [BZ #15968]
0748546f
PE
20341 Support TZ transition times < 00:00:00.
20342 This is needed for version-3 tz-format files; it supports time
20343 stamps past 2037 for America/Godthab (the only entry in the tz
20344 database for which this change is relevant).
20345 * manual/time.texi (TZ Variable): Document transition times
20346 from -167:59:59 through -00:00:01.
20347 * time/tzset.c (tz_rule): Time of day is now signed.
20348 (__tzset_parse_tz): Parse negative time of day.
20349
4480e934
PE
20350 Document TZ transition times >= 25:00:00.
20351 * manual/time.texi (TZ Variable): Document transition times from
20352 25:00:00 through 167:59:59. These are already supported, and this
20353 support will help with version-3 tz-format files.
20354
69947401
PE
20355 * manual/time.texi (TZ Variable): Modernize North America example
20356 to reflect current (i.e., 2007-and-later) daylight saving rules.
20357
674762d9
PE
20358 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20359
7011c262
JM
203602013-12-17 Joseph Myers <joseph@codesourcery.com>
20361
2fc6557e
JM
20362 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20363 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20366 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20367 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20368 * sysdeps/unix/bsd/clock.c: Likewise.
20369 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20370 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20371 * sysdeps/unix/bsd/init-posix.c: Likewise.
20372 * sysdeps/unix/bsd/poll.c: Likewise.
20373 * sysdeps/unix/bsd/ptsname.c: Likewise.
20374 * sysdeps/unix/bsd/seekdir.c: Likewise.
20375 * sysdeps/unix/bsd/setegid.c: Likewise.
20376 * sysdeps/unix/bsd/seteuid.c: Likewise.
20377 * sysdeps/unix/bsd/setgid.c: Likewise.
20378 * sysdeps/unix/bsd/setrgid.c: Likewise.
20379 * sysdeps/unix/bsd/setruid.c: Likewise.
20380 * sysdeps/unix/bsd/setsid.c: Likewise.
20381 * sysdeps/unix/bsd/setuid.c: Likewise.
20382 * sysdeps/unix/bsd/sigaction.c: Likewise.
20383 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20384 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20385 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20386 * sysdeps/unix/bsd/telldir.c: Likewise.
20387 * sysdeps/unix/bsd/times.c: Likewise.
20388 * sysdeps/unix/bsd/usleep.c: Likewise.
20389
029c7b25
JM
20390 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20391 ($(objpfx)libbsd-compat.a): Remove rule.
20392
7011c262
JM
20393 * include/features.h (__FAVOR_BSD): Do not define.
20394 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20395 features conflicting with POSIX.
20396 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20397 (_BSD_SOURCE): Remove description of not being a subset of other
20398 feature test macros.
20399 * manual/job.texi (getpgrp): Do not document BSD version.
20400 (getpgid): Do not document by reference to BSD getpgrp.
20401 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20402 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20403 * signal/signal.h [__FAVOR_BSD]: Likewise.
20404 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20405 instead of making contents conditional on [__FAVOR_BSD].
20406 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20407
affb6f78
AZ
204082013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20409
20410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20411
c88769dd
JM
204122013-12-17 Joseph Myers <joseph@codesourcery.com>
20413
6432a540
JM
20414 [BZ #16314]
20415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20416 values below 2**-450, not 2**-500.
20417 * math/auto-libm-test-in: Don't allow spurious underflow from
20418 hypot.
20419 * math/auto-libm-test-out: Regenerated.
20420
c88769dd
JM
20421 [BZ #16316]
20422 [BZ #16330]
20423 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20424 values of ha and hb and sort them after adjusting subnormal
20425 arguments.
20426 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20427 Likewise.
20428 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20429 values of ea and eb and sort them after adjusting subnormal
20430 arguments.
20431 * math/auto-libm-test-in: Do not expect some hypot tests of
20432 subnormals to fail. Add more hypot tests.
20433 * math/auto-libm-test-out: Regenerated.
20434
29618f6b
KK
204352013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20436
20437 [BZ #13304]
20438 * sysdeps/sh/s_fma.c: New file.
20439 * sysdeps/sh/s_fmaf.c: New file.
20440 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20441 version.
20442 * sysdeps/sh/Implies: Add sh/soft-fp.
20443
eacfdfbf
RM
204442013-12-16 Roland McGrath <roland@hack.frob.com>
20445
20446 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20447 level of indirection to members `objname', `errstring', `malloced'.
20448 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20449 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20450 it as the __longjmp argument (just pass 1 instead).
20451 (_dl_catch_error): Initialize C with argument pointers and address of
20452 volatile local ERRCODE rather than copying values out of C at return.
20453
ff362e5b
JM
204542013-12-16 Joseph Myers <joseph@codesourcery.com>
20455
20456 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20457 * math/auto-libm-test-out: Regenerated.
20458 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20459 (hypot_test_data): Likewise.
20460 (pow_test_data): Likewise.
20461 (pow_tonearest_test_data): Likewise.
20462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20463 mpfr_ff_f.
20464 (func_calc_desc): Add mpfr_ff_f union field.
20465 (FUNC_mpfr_ff_f): New macro.
20466 (test_functions): Add atan2, hypot and pow.
20467 (special_fill_min): New function.
20468 (special_fill_minus_min): Likewise.
20469 (special_fill_min_subnorm): Likewise.
20470 (special_fill_minus_min_subnorm): Likewise.
20471 (special_real_inputs): Add min, -min, min_subnorm and
20472 -min_subnorm.
20473 (calc_generic_results): Handle mpfr_ff_f.
20474 * sysdeps/i386/fpu/libm-test-ulps: Update.
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20476
5764c27f
WN
204772013-12-16 Will Newton <will.newton@linaro.org>
20478
20479 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20480 (Aligned Memory Blocks): Add documentation for aligned_alloc
20481 and suggest it as an alternative to posix_memalign.
20482 (Hooks for Malloc): Document __memalign_hook is also called
20483 for aligned_alloc. (Summary of Malloc): Add summary for
20484 aligned alloc. Document __memalign_hook is also called
20485 for aligned_alloc.
20486
0a096e44
WN
204872013-12-16 Will Newton <will.newton@linaro.org>
20488
20489 * manual/memory.texi (Malloc Examples): Clarify default
20490 alignment documentation. Suggest posix_memalign rather
20491 than memalign or valloc.
20492 (Aligned Memory Blocks): Remove suggestion to use memalign
20493 or valloc. Remove obsolete comment about BSD.
20494 Document memalign errno values and mark the function obsolete.
20495 Document posix_memalign returned error codes. Mark valloc
20496 as obsolete. (Hooks for Malloc): __memalign_hook is also
20497 called for posix_memalign and valloc.
20498 (Summary of Malloc): Add posix_memalign to function summary.
20499 __memalign_hook is also called for posix_memalign and valloc.
20500
8d561986
SP
205012013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
20503 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20504 TAYLOR_SIN.
20505 (__sin): Adjust.
20506 (__cos): Likewise.
20507 (sloww): Use mynumber union. Expand ternary operator into
20508 if-else statements.
20509 (cslow): use mynumber union.
20510
73616a74
AM
205112013-12-16 Allan McRae <allan@archlinux.org>
20512
9e8ac24b
AM
20513 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20514 * configure: Regenerated.
20515
6f8e37eb
AM
20516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20517
8894bad3
AM
20518 [BZ #14120]
20519 * configure.ac: Added --enable-maintainer-mode. Check for
20520 autoconf when enabled.
20521 * configure: Regenerated.
20522
73616a74
AM
20523 * nscd/nscd.service: New file.
20524 * nscd/nscd.tmpfiles: New file.
20525
584b18eb
OB
205262013-12-14 Ondřej Bílka <neleai@seznam.cz>
20527
20528 [BZ #12100]
20529 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20530 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20531 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20532 (strstr): Add __strstr_sse2_unaligned ifunc.
20533 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20534 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20535 (strcasestr): Remove __strcasestr_sse42 ifunc.
20536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20539
8a5c7897
KK
205402013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20541
20542 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20543 * sysdeps/sh/bits/fenv.h: ... here.
20544 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20545
fd712ef3
AZ
205462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20547
20548 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20549
42fcb46c
AZ
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20551 hypotf multiarch implementations.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20555 multiarch hypot for PPC64.
20556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20559 multiarch hypotf for PPC64.
20560
83efded4
AZ
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20562 modff multiarch implementations.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20566 multiarch modf for PPC64.
20567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20570 multiarch modff for PPC64.
20571
43e246d2
AZ
20572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20573 and logl multiarch implementations.
20574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20577 multiarch logb for PPC64.
20578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20581 multiarch logb for PPC64.
20582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20585 multiarch logb for PPC64.
20586
8fdad123
AZ
20587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20588 isinff multiarch implementation.
20589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20590 file.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20593 multiarch isinf for PPC64.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20595 file.
20596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20597 multiarch isinff for PPC64.
20598
1481d706
AZ
20599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20600 finitef multiarch implementation.
20601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20602 file.
20603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20605 multiarch finite for PPC64.
20606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20607 file.
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20609 multiarch finitef for PPC64.
20610
5ccd5fc8
AZ
20611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20612 lrint multiarch implementation.
20613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20614 file.
20615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20617 multiarch llrint for PPC64.
20618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20619 multiarch lrint for PPC64.
20620
2568f3fa
AZ
20621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20622 copysignf multiarch implementation.
20623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20624 file.
20625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20626 file.
20627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20628 multiarch copysign for PPC64.
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20630 multiarch copysignf for PPC64.
20631
1cb341fd
AZ
20632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20633 multiarch implementation.
20634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20635 file.
20636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20637 file.
20638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20639 file.
20640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20641 file.
20642 multiarch llround for PPC64.
20643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20644 multiarch trunc for PPC64.
20645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20646 multiarch truncf for PPC64.
20647
59a3e194
AZ
20648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20649 multiarch implementation.
20650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20651 file.
20652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20653 file.
20654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20655 file.
20656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20657 file.
20658 multiarch llround for PPC64.
20659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20660 multiarch round for PPC64.
20661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20662 multiarch roundf for PPC64.
20663
357fd3b4
AZ
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20665 multiarch implementation.
20666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20667 file.
20668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20669 file.
20670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20671 file.
20672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20673 file.
20674 multiarch llround for PPC64.
20675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20676 multiarch floor for PPC64.
20677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20678 multiarch floorf for PPC64.
20679
96770f12
AZ
20680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20681 multiarch implementation.
20682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20683 file.
20684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20685 file.
20686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20687 file.
20688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20689 file.
20690 multiarch llround for PPC64.
20691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20692 multiarch ceil for PPC64.
20693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20694 multiarch ceilf for PPC64.
20695
c3627f6e
AZ
20696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20697 multiarch implementation.
20698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20699 file.
20700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20701 file.
20702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20703 file.
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20705 multiarch llround for PPC64.
20706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20707 multiarch lround for PPC64.
20708
b2284ad7
AZ
20709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20710 multiarch implementation.
20711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20714 file.
20715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20718 multiarch isnan for PPC64.
20719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20720 multiarch isnanf for PPC64.
20721
69bbc63d
AZ
20722 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20723 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20724 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20725 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20726 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20728
c24517c9
AZ
20729 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20730 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20732 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20733
a52374e8
AZ
20734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20735 multiarch implementations.
20736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20737 (__libc_ifunc_impl_list): Likewise.
20738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20739 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20740 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20741 multiarch stpcpy for PPC64.
20742
7f5ec113
AZ
20743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20744 multiarch implementations.
20745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20746 (__libc_ifunc_impl_list): Likewise.
20747 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20748 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20749 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20750 multiarch strcpy for PPC64.
20751
e28bcd42
AZ
20752 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20753 redefine function name.
20754 (_wordcopy_fwd_dest_aligned): Likewise.
20755 (_wordcopy_bwd_aligned): Likewise.
20756 (_wordcopy_bwd_dest_aligned): Likewise.
20757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20758 multiarch implementations.
20759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20760 (__libc_ifunc_impl_list): Likewise.
20761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20763 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20765 multiarch wcscpy for PPC64.
20766
92cacfce
AZ
20767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20768 multiarch implementations.
20769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20770 (__libc_ifunc_impl_list): Likewise.
20771 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20773 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20775 multiarch wcscpy for PPC64.
20776
7b714620
AZ
20777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20778 multiarch implementations.
20779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20780 (__libc_ifunc_impl_list): Likewise.
20781 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20782 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20783 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20784 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20785 multiarch wcsrchr for PPC64.
20786
16fd2ae3
AZ
20787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20788 multiarch implementations.
20789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20790 (__libc_ifunc_impl_list): Likewise.
20791 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20792 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20793 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20794 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20795 multiarch wcschr for PPC64.
20796
9ee2969b
AZ
20797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20798 multiarch implementations.
20799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20800 (__libc_ifunc_impl_list): Likewise.
20801 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20802 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20803 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20804 multiarch strchrnul for PPC64.
20805
372dc060
AZ
20806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20807 implementations.
20808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20809 (__libc_ifunc_impl_list): Likewise.
20810 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20811 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20812 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20813 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20814 strchr for PPC64.
20815
24c2c3b9
AZ
20816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20817 implementations.
20818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20819 (__libc_ifunc_impl_list): Likewise.
20820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20821 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20822 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20823 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20824 strncmp for PPC64.
20825
1c92d9a0
AZ
20826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20827 multiarch implementations.
20828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20829 (__libc_ifunc_impl_list): Likewise.
20830 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20831 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20832 strncasecmp for PPC64.
20833 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20834 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20835 multiarch strncasecmp_l for PPC64.
20836
17de3ee3
AZ
20837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20838 multiarch implementations.
20839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20840 (__libc_ifunc_impl_list): Likewise.
20841 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20843 multiarch strcasecmp for PPC64.
20844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20845 file.
20846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20847 multiarch strcasecmp_l for PPC64.
20848
62982bf9
AZ
20849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20850 implementations.
20851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20852 (__libc_ifunc_impl_list): Likewise.
20853 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20854 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20855 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20856 strnlen for PPC64.
20857
a65f4904
AZ
20858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20859 implementations.
20860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20861 (__libc_ifunc_impl_list): Likewise.
20862 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20863 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20864 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20865 strlen for PPC64.
20866
1fd005ad
AZ
20867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20868 implementations.
20869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20870 (__libc_ifunc_impl_list): Likewise.
20871 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20872 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20873 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20874 rawmemrchr for PPC64.
20875
cd05ba91
AZ
20876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20877 implementation.
20878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20879 (__libc_ifunc_impl_list): Likewise.
20880 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20881 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20882 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20883 memrchr for PPC64.
20884
870f8676
AZ
20885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20886 implementation.
20887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20888 (__libc_ifunc_impl_list): Likewise.
20889 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20890 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20891 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20892 memchr for PPC64.
20893
f00be62b
AZ
20894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20895 implementation.
20896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20897 (__libc_ifunc_impl_list): Likewise.
20898 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20899 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20900 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20901 mempcpy for PPC64.
20902
8a29a3d0
AZ
20903 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20904 avoid cretion of __bzero symbol.
20905 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20906 Likewise.
20907 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20908 Likewise.
20909 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20910 Likewise.
20911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20912 multiarch implementations.
20913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20914 (__libc_ifunc_impl_list): Likewise.
20915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20916 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20917 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20918 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20919 bzero for PPC32.
20920 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20921 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20922 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20923 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20924 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20925 memset for PPC64.
20926 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20927
07253fcf
AZ
20928 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20930 implementations.
20931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20932 (__libc_ifunc_impl_list): Likewise.
20933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20934 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20935 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20936 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20937 memcmp for PPC64.
20938
b5beafbc
AZ
20939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20940 multiarch for POWER/PPC64.
20941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20942 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20945 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20949 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20950 memcpy for PPC64.
20951
5e6a4d4b
AZ
20952 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20953 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20954 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20955 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20956 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20957 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20959 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20960 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20961 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20962 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20963 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20964 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20965 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20966 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20974
ddfab6dc
KK
209752013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20976
20977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20978
19b5525e
SP
209792013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20980
20981 * benchtests/Makefile (bench): Add exp2 and log2.
20982 (LDLIBS-bench-exp2): Add -lm.
20983 (LDLIBS-bench-log2): Likewise.
20984 * benchtests/exp2-inputs: New inputs file.
20985 * benchtests/log2-inputs: New inputs file.
20986 * benchtests/log-inputs: Add new inputs.
20987 * benchtests/tan-inputs: Likewise.
20988
196f7f5d
SP
209892013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20990
7a74607f
SP
20991 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20992 definition...
57f41c40
AS
20993 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20994 (csloww2): ... from here.
7a74607f 20995
196f7f5d
SP
20996 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20997 instead of structures.
20998 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20999 (POLYNOMIAL): Likewise.
21000 (TAYLOR_SLOW): Likewise.
21001 (__sin): Likewise.
21002 (__cos): Likewise.
21003 (slow1): Likewise.
21004 (slow2): Likewise.
21005 (sloww): Likewise.
21006 (sloww1); Likewise.
21007 (sloww2): Likewise.
21008 (bsloww1): Likewise.
21009 (bsloww2): Likewise.
21010 (cslow2): Likewise.
21011 (csloww): Likewise.
21012 (csloww1): Likewise.
21013 (csloww2): Likewise.
21014
0dfa665c
OB
210152013-12-10 Ondřej Bílka <neleai@seznam.cz>
21016
21017 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21018 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21019 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21020 * malloc/hooks.c (realloc_check): Likewise.
21021
5782a80f
OB
21022 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21023 * malloc/arena.c: Remove PER_THREAD conditional.
21024 [!PER_THREAD]: Remove code.
21025 (ptmalloc_unlock_all2): Likewise.
21026 (ptmalloc_init): Likewise.
21027 (_int_new_arena): Likewise.
21028 (arena_get2): Likewise.
21029 * malloc/hooks.c (__malloc_get_state): Likewise.
21030 (__malloc_set_state): Likewise.
21031 * malloc/malloc.c: Likewise.
21032 (struct malloc_state): Likewise.
21033 (struct malloc_par): Likewise.
21034 (__libc_realloc): Likewise.
21035 (__libc_mallopt): Likewise.
21036
aeb95445
AZ
210372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038
21039 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21040
e8349efd
OB
210412013-12-09 Ondřej Bílka <neleai@seznam.cz>
21042
21043 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21044 macro to a function. Check for zero perturb_byte.
21045 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21046
f3eeb3fc 21047 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21048 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21049 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21050 force_reg by atomic_forced_read.
21051 * malloc/arena.c (ptmalloc_init): Likewise.
21052 * malloc/hooks.c (top_check): Likewise.
21053
be2f9009
AZ
210542013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21055
21056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21057
e7b914bd
MT
210582013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21059
21060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21061
9f0be4f8
JM
210622013-12-08 Joseph Myers <joseph@codesourcery.com>
21063
21064 * math/auto-libm-test-in: Add tests of lgamma.
21065 * math/auto-libm-test-out: Regenerated.
21066 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21067 (M_LOG_2_SQRT_PIl): Likewise.
21068 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21070 mpfr_f_f1.
21071 (func_calc_desc): Add mpfr_f_f1 union field.
21072 (ARGS1): New macro.
21073 (ARGS2): Likewise.
21074 (ARGS3): Likewise.
21075 (ARGS4): Likewise.
21076 (RET1): Likewise.
21077 (RET2): Likewise.
21078 (CALC): Likewise.
21079 (FUNC): Likewise.
21080 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21081 (test_functions): Add lgamma.
21082 (calc_generic_results): Handle mpfr_f_f1.
21083 * sysdeps/i386/fpu/libm-test-ulps: Update.
21084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21085
24eeafdb
AZ
210862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21087
21088 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21089 __mpn_add_n for PowerPC64/POWER7.
21090 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21091 __mpn_sub_n for PowerPC64/POWER7.
21092
4a2c0fd4
AZ
21093 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21094 __mpn_addmul_1 for PowerPC64.
21095 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21096 __mpn_submul_1 for PowerPC64.
21097 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21098 for PowerPC64.
21099 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21100 for PowerPC64.
21101
4b5b548c
FS
211022013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21103
21104 [BZ #15089]
21105 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21106
0a3ac0aa
AZ
211072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21108
21109 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21110
ccdc8438
AZ
21111 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21112 add multiarch folders.
21113 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21114 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21115 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21116 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21117 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21118 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21119 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21120 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21121 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21122 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21123 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21130
2e973d99
AZ
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21132 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21134 New file.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21136 New file.
21137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21138 multiarch __ieee754_hypot for PowerPC32.
21139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21140 New file.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21142 New file.
21143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21144 multiarch __ieee754_hypotf for PowerPC32.
21145
2d9470b2
AZ
21146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21147 long_double_symbol only if __logbl is defined.
21148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21149 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21151 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21153 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21155 path for implementation.
21156 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21159 logb, and logbl multiarch implementations for PowerPC32.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21161 file.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21163 file.
21164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21165 multiarch logb for PowerPC32.
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21167 file.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21169 file.
21170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21171 multiarch logbf for PowerPC32.
21172 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21174 file.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21176 multiarch logbl implementation for PowerPC32.
21177
5212ffce
AZ
21178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21179 and modff multiarch implementations.
21180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21181 New file.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21183 New file.
21184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21185 multiarch modf for PowerPC32.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21187 New file.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21189 New file.
21190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21191 multiarch modff for PowerPC32.
21192
79dccf31
AZ
21193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21194 and lrintf multiarch implementations.
21195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21196 New file.
21197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21198 New file.
21199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21200 multiarch lrint for PowerPC32.
21201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21202 file: multiarch lrintf for PowerPC32.
21203
deb66480
AZ
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21205 and lroundf multiarch implementations.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21207 New file.
21208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21209 New file.
21210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21211 New file.
21212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21213 multiarch lround for PowerPC32.
21214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21215 file: multiarch lroundf for PowerPC32.
21216
264b036b
AZ
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21218 copysign and copysignf multiarch implementations.
21219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21220 New file.
21221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21222 New file.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21224 file: multiarch copysign for PowerPC32.
21225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21226 file: multiarch copysignf for PowerPC32.
21227
d47db6c9
AZ
21228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21229 and truncf multiarch implementations.
21230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21231 New file.
21232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21233 file.
21234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21235 multiarch trunc for PowerPC32.
21236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21237 New file.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21239 New file.
21240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21241 multiarch truncf for PowerPC32.
21242
ddb60b5a
AZ
21243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21244 and roundf multiarch implementations.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21246 New file.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21248 file.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21250 multiarch round for PowerPC32.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21252 New file.
21253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21254 New file.
21255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21256 multiarch roundf for PowerPC32.
21257
bedcf49b
AZ
21258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21259 and floorf multiarch implementations.
21260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21261 New file.
21262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21263 file.
21264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21265 multiarch floor for PowerPC32.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21267 New file.
21268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21269 New file.
21270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21271 multiarch floorf for PowerPC32.
21272
35ae5b40
AZ
21273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21274 and ceilf multiarch implementations.
21275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21276 New file.
21277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21278 file.
21279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21280 multiarch ceil for PowerPC32.
21281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21282 New file.
21283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21284 file.
21285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21286 multiarch ceilf for PowerPC32.
21287
ae1a4cd9
AZ
21288 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21289 is defined.
21290 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21291 FINITEF is defined.
21292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21293 and finitef multiarch implementations.
21294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21295 New file.
21296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21297 file.
21298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21299 multiarch finite for PowerPC32.
21300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21301 New file.
21302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21303 file: multiarch finitef for PowerPC32.
21304
64fffd65
AZ
21305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21306 and isinff multiarch implementations.
21307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21308 file.
21309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21310 file.
21311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21312 multiarch isinf for PowerPC32.
21313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21314 New file.
21315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21316 multiarch isinff for PowerPC32.
21317
8e4e7ba2
AZ
21318 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21319 alias when __isnan is defined.
21320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21321 and isnanf multiarch implementations.
21322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21323 file.
21324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21325 file.
21326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21327 file.
21328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21329 file.
21330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21331 multiarch isnan for PowerPC32.
21332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21333 New file.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21335 New file.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21337 multiarch isnanf for PowerPC32.
21338
ddba588e
AZ
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21340 and sqrtf multiarch implementations.
21341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21342 file.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21344 file.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21346 multiarch sqrt for PowerPC32.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21348 file.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21350 file.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21352 multiarch sqrtf for PowerPC32.
21353
0f96a2f0
AZ
21354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21355 and llroundf multiarch implementations.
21356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21357 New file.
21358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21359 New file.
21360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21361 New file.
21362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21363 file: multiarch llround for PowerPC32.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21365 file: multiarch llroundf for PowerPC32.
21366
c9b5d79e
AZ
21367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21368 multiarch PowerPC32 fpu implementations.
21369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21370 New file.
21371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21372 New file.
21373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21374 multiarch llrint for PowerPC32.
21375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21376 New file.
21377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21378 New file.
21379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21380 file.
21381
9cbb3aab
AZ
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21383
ea5a72f8
AZ
21384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21385 file.
21386 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21387 file.
21388 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21389 file.
21390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21391 multiarch wordcopy for PPC32.
21392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21393 wordcopy objects.
21394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21395 (__libc_ifunc_impl_list): Likewise.
21396 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21397 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21399 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21401 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21402
93be09e7
AZ
21403 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21405 file.
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21407 file.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21409 file.
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21411 multiarch wcscpy for PPC32.
21412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21413 multiarch objects.
21414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21415 (__libc_ifunc_impl_list): Likewise.
21416 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21417 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21418 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21419 sysdeps/powerpc/power6/wcscpy.c.
21420
bb04e529
AZ
21421 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21423 file.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21425 file.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21427 file.
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21429 multiarch wcsrchr for PPC32.
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21431 multiarch objects.
21432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21433 (__libc_ifunc_impl_list): Likewise.
21434 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21435 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21436 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21437 sysdeps/powerpc/power6/wcsrchr.c.
21438
05b5cd1c
AZ
21439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21440 file.
21441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21442 file.
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21445 multiarch wcschr 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/wcschr.c: Move ...
21451 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21452 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21453 sysdeps/powerpc/power6/wcschr.c.
21454
ba964147
AZ
21455 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21456 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21457 file.
21458 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21459 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21460 file: multiarch strchr for PPC32.
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21462 multiarch objects.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21464 (__libc_ifunc_impl_list): Likewise.
21465
31c81aaa
AZ
21466 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21467 name.
21468 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21469 file.
21470 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21471 file.
21472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21473 multiarch strchrnul for PPC32.
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21475 multiarch objects.
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21477 (__libc_ifunc_impl_list): Likewise.
21478
0d0607d9
AZ
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21480 file.
21481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21482 multiarch strncasecmp for PPC32.
21483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21484 file.
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21486 multiarch strncasecmp_l for PPC32.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21488 strncasecmp multiarch objects.
21489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21490 (__libc_ifunc_impl_list): Likewise.
21491
4dfd5c86
AZ
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21493 file.
21494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21495 multiarch strncasecmp for PPC32.
21496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21497 New file.
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21499 multiarch strcasecmp_l for PPC32.
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21501 multiarch objects.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21503 (__libc_ifunc_impl_list): Likewise.
21504
a19e01a3
AZ
21505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21506 file.
21507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21508 file.
21509 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21510 multiarch strncmp for PPC32.
21511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21512 multiarch objects.
21513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21514 (__libc_ifunc_impl_list): Likewise.
21515
ae9cf7a2
AZ
21516 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21517 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21518 file.
21519 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21522 multiarch objects.
21523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21524 (__libc_ifunc_impl_list): Likewise.
21525
3148bb7d
AZ
21526 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21527 file.
21528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21529 file.
21530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21532 multiarch objects.
21533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21534 (__libc_ifunc_impl_list): Likewise.
21535
7af8b946
AZ
21536 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21537 file.
21538 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21539 file.
21540 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21541 multiarch rawmemchr for PPC32.
21542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21543 multiarch objects.
21544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21545 (__libc_ifunc_impl_list): Likewise.
21546
03a6aa6a
AZ
21547 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21548 file.
21549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21550 file.
21551 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21552 file: memrchr multiarch for PPC32.
21553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21554 multiarch objects.
21555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21556 (__libc_ifunc_impl_list): Likewise.
21557
1c62e6d9
AZ
21558 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21560 file.
21561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21562 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21563 multiarch memchr for PPC32.
21564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21565 multiarch objects.
21566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21567 (__libc_ifunc_impl_list): Likewise.
21568
87da8bdb
AZ
21569 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21570 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21571 file.
21572 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21573 file.
21574 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21575 file: multiarch mempcpy for PPC32.
21576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21577 multiarch objects.
21578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21579 (__libc_ifunc_impl_list): Likewise.
21580
20ed4714
AZ
21581 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21583 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21585 multiarch bzero for PPC32.
21586 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21587 file.
21588 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21589 file.
21590 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21591 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21592 file: multiarch memset for PPC32.
21593 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21595 memset multiarch objects.
21596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21597 (__libc_ifunc_impl_list): Likewise.
21598
ab3e3a46
AZ
21599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21600 file.
21601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21603 memcmp for PPC32.
21604 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21606 multiarch objects.
21607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21608 (__libc_ifunc_impl_list): Likewise.
21609
930de6f0
AZ
21610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21613 file.
21614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21615 file.
21616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21617 file.
21618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21619 multiarch memcpy for PPC32.
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21621 multiarch objects.
21622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21623 (__libc_ifunc_impl_list): Likewise.
21624
4c628e00
AZ
21625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21626 support multiarch for POWER/PPC32.
21627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21628 Likewise.
21629 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21631 Implies file to make multiarch folder appers before the fpu and
21632 default folder for power4 configuration.
21633
f4479220
SP
216342013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21635
21636 * scripts/bench.pl: Append volatile keyword to type.
21637
8517800f
KK
216382013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21639
21640 * sysdeps/sh/sotruss-lib.c: New file.
21641 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21642
180138f1
AZ
216432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21644
21645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21646
bbf37bdc
JM
216472013-12-05 Joseph Myers <joseph@codesourcery.com>
21648
e47cc4e0
JM
21649 [BZ #6810]
21650 * math/w_tgamma.c: Include <errno.h>.
21651 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21652 * math/w_tgammaf.c: Include <errno.h>.
21653 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21654 * math/w_tgammal.c: Include <errno.h>.
21655 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21656 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21657 underflow. Add more tgamma tests.
21658 * math/auto-libm-test-out: Regenerated.
21659 * sysdeps/i386/fpu/libm-test-ulps: Update.
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661
bbf37bdc
JM
21662 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21663 sin, sinh, tan, tanh, tgamma, y0 and y1.
21664 * math/auto-libm-test-out: Regenerated.
21665 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21666 (TEST_COND_x86): Likewise.
21667 (M_E2l): Remove macro.
21668 (M_E3l): Likewise.
21669 (M_2_SQRT_PIl): Likewise.
21670 (M_SQRT_PIl): Likewise.
21671 (M_1_DIV_El): Likewise.
21672 (log_test_data): Use AUTO_TESTS_f_f.
21673 (log10_test_data): Likewise.
21674 (log1p_test_data): Likewise.
21675 (log2_test_data): Likewise.
21676 (sin_test_data): Likewise.
21677 (sin_tonearest_test_data): Likewise.
21678 (sin_towardzero_test_data): Likewise.
21679 (sin_downward_test_data): Likewise.
21680 (sin_upward_test_data): Likewise.
21681 (sinh_test_data): Likewise.
21682 (sinh_tonearest_test_data): Likewise.
21683 (sinh_towardzero_test_data): Likewise.
21684 (sinh_downward_test_data): Likewise.
21685 (sinh_upward_test_data): Likewise.
21686 (tan_test_data): Likewise.
21687 (tan_tonearest_test_data): Likewise.
21688 (tan_towardzero_test_data): Likewise.
21689 (tan_downward_test_data): Likewise.
21690 (tan_upward_test_data): Likewise.
21691 (tanh_test_data): Likewise.
21692 (tgamma_test_data): Likewise.
21693 (y0_test_data): Likewise.
21694 (y1_test_data): Likewise.
21695 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21696 (special_real_inputs): Add pi/4.
21697 * sysdeps/i386/fpu/libm-test-ulps: Update.
21698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21699
eb5ad6b9
AZ
217002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21701
21702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21703 "longjmp_target" static probes.
21704 (__longjmp): Rename to __longjmp_symbol.
21705 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21706 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21707 on which longjmp to generate.
21708 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21709 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21710 probe.
21711 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21712 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21713 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21714 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21715 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21716 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21718 __longjmp_symbol based on which __longjmp to generate.
21719 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21720 probe.
21721 (setjmp): Rename to setjmp_symbol.
21722 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21723 (_setjmp): Rename to _setjmp_symbol.
21724 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21725 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21726 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21727 which setjmp to generate.
21728 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21729 "longjmp_target" static probes.
21730
d136c6dc
SP
217312013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21732
9298ecba
SP
21733 * benchtests/README: Add note about output arguments.
21734 * benchtests/bench-sincos.c: Remove file.
21735 * benchtests/sincos-inputs: New file.
21736 * scripts/bench.pl: Identify output arguments and define
21737 static variables for them.
21738
232983e9
SP
21739 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21740
d136c6dc
SP
21741 [BZ #15941]
21742 * Makefile (INSTALL): Add install-plain.texi as the primary
21743 dependency.
21744 * manual/install-plain.texi: New file.
21745 * manual/install.texi: Include node directive only for
21746 non-plaintext output.
21747
699ff837
JM
217482013-12-04 Joseph Myers <joseph@codesourcery.com>
21749
ab07cea8
JM
21750 * stdlib/longlong.h: Update from GCC.
21751
699ff837
JM
21752 [BZ #6807]
21753 [BZ #15901]
21754 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21755 * math/w_j0f.c (y0f): Likewise.
21756 * math/w_j0l.c (__y0l): Likewise.
21757 * math/w_j1.c (y1): Likewise.
21758 * math/w_j1f.c (y1f): Likewise.
21759 * math/w_j1l.c (__y1l): Likewise
21760 * math/w_jn.c (yn): Likewise.
21761 * math/w_jnf.c (ynf): Likewise.
21762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21763 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21764 value for Bessel function domain errors outside _SVID_ mode.
21765 Adjust sign of return value for yn (negative integer, 0).
21766 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21767 by zero in return for negative x and set sign appropriately for
21768 negative n.
21769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21771 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21772 expectations in error cases.
21773 (y1_test_data): Likewise.
21774 (yn_test_data): Likewise.
21775 * sysdeps/i386/fpu/libm-test-ulps: Update.
21776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21777
5b118558
UW
217782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21779
21780 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21781 "64" to "64-v1". Add "64-v2".
21782 (abi-64-options): Rename to ...
21783 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21784 (abi-64-condition): Rename to ...
21785 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21786 (abi-64-ld-soname): Rename to ...
21787 (abi-64-v1-ld-soname): ... this.
21788 (abi-64-v2-options): Define.
21789 (abi-64-v2-condition): Likewise.
21790 (abi-64-v2-ld-soname): Likewise.
21791 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21796
61cd8fe4
UW
217972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21798 Alan Modra <amodra@gmail.com>
21799
21800 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21801 New versions for use with the ELFv2 ABI.
21802 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21803 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21804 declaration.
21805 (struct La_ppc64v2_retval): Likewise.
21806 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21807 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21808 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21809 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21810 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21812 Do not save or restore CR.
21813 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21814 (_dl_profile_resolve): Do no save or restore CR. Support extended
21815 return values for ELFv2 ABI. Fix location of FPR return registers.
21816 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21817 updated values for _CALL_ELF == 2.
21818 (La_regs, La_retval, int_retval): Likewise.
21819
8b8a692c
UW
218202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21821
21822 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21823 (FRAME_MIN_SIZE_PARM): Likewise.
21824 (FRAME_BACKCHAIN): Likewise.
21825 (FRAME_CR_SAVE): Likewise.
21826 (FRAME_LR_SAVE): Likewise.
21827 (FRAME_TOC_SAVE): Likewise.
21828 (FRAME_PARM_SAVE): Likewise.
21829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21830 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21831 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21832 (call_mcount_parm_offset): New macro.
21833 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21834 (PROF): Use symbolic stack frame offsets.
21835 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21837 Redefine in terms of FRAME_MIN_SIZE.
21838 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21839 (_dl_profile_resolve): Likewise. Update comment.
21840 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21841 symbols stack frame offsets.
21842 (__sigsetjmp): Likewise.
21843 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21844 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21845 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21846 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21847
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21849 (FRAME_BACKCHAIN): Remove.
21850 (FRAME_CR_SAVE): Likewise.
21851 (FRAME_LR_SAVE): Likewise.
21852 (FRAME_COMPILER_DW): Likewise.
21853 (FRAME_LINKER_DW): Likewise.
21854 (FRAME_TOC_SAVE): Likewise.
21855 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21856 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21857 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21858 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21860 (CHECK_SP): Use symbolic stack frame offsets.
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21862 zone" instead of caller's parameter save area for temp storage.
21863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21864 Likewise. Also, use symbolic stack frame offsets.
21865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21866 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21867 our own stack frame instead of the caller's.
21868 (__socket): Use symbolic stack frame offsets.
21869
122b66de
UW
218702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21871 Alan Modra <amodra@gmail.com>
21872
21873 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21874 Define.
57f41c40
AS
21875 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21876 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21877 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21878 New function.
21879 (elf_machine_fixup_plt): Call it.
21880 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21881 reloc arguments.
21882 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21883 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21884 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21885 r2 before calling target.
21886
696caf1d
UW
218872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21888 Alan Modra <amodra@gmail.com>
21889
21890 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21891 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21892 versions of macros to support ELFv2 ABI.
21893 (LOCALENTRY): New macro.
21894 (ENTRY, EALIGN): Use it.
21895 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21896 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21897 fall through into ENTRY entry point.
21898 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21899 Only define if _CALL_ELF != 2.
21900
21901 (elf_machine_matches_host): Verify ABI version matches.
21902 (RTLD_START): Use LOCALENTRY.
21903 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21904 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21905 (PLT_ENTRY_WORDS): New macro.
21906 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21907 (elf_machine_runtime_setup): Support ELFv2 ABI.
21908 (elf_machine_fixup_plt): Likewise.
21909 (elf_machine_plt_conflict): Likewise.
21910 (resolve_ifunc): Likewise.
21911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21913 Likewise.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21915 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21917 (makecontext): Support ELFv2 ABI.
21918 * elf/elf.h (EF_PPC64_ABI): Define.
21919
d31beafa
UW
219202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21921
57f41c40
AS
21922 * sysdeps/powerpc/powerpc64/sysdep.h
21923 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21924 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21925 (ENTRY) [ASSEMBLER]: ... but instead here ...
21926 (EALIGN) [ASSEMBLER]: ... and here.
21927 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21928 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21929 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21930 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21931 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21932 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21933 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21934 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21936 Use PPC64_LOAD_FUNCPTR.
21937
b525166b
UW
21938 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21939
7ec07d9a
AM
219402013-12-04 Alan Modra <amodra@gmail.com>
21941
21942 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21943 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21944 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21945 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21946
21947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21948 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21949 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21950 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21951 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21952 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21953
5162e7dd
UW
219542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21955
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21957 (__makecontext): Fix incorrect CFI when backtracing out of
21958 context created via makecontext.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21960 (__setcontext): Fix incorrect CFI during switch to new context.
21961 (__novec_setcontext): Likewise.
21962
19e3372b
OB
219632013-12-04 Ondřej Bílka <neleai@seznam.cz>
21964
21965 [BZ #4772]
21966 * time/strptime_l.c (__strptime_internal): Allow modifiers
21967 in strptime.
21968 * time/tst-strptime.c (day_tests): Add testcase.
21969
ecaf142d
SP
219702013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21971
21972 * scripts/bench.pl: Skip over blank lines.
21973
fbf964ae
PE
219742013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21975
21976 [BZ #926]
21977 * manual/time.texi (Calendar Time): Clarify what timezone functions
21978 use.
21979
fa60a674
AZ
219802013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21981
21982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21983
d674f0ef
OB
219842013-12-04 Ondřej Bílka <neleai@seznam.cz>
21985
21986 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21987 implementation.
21988 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21989 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21990 * debug/memset_chk.c (__memset_chk): Likewise.
21991 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21992 * debug/strncpy_chk.c: Likewise.
21993
17dea188
JM
219942013-12-03 Joseph Myers <joseph@codesourcery.com>
21995
749008ff
JM
21996 [BZ #15268]
21997 [BZ #15425]
21998 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21999 (__ieee754_exp): For possibly underflowing results, check size of
22000 result and force underflow exception if required.
22001 * math/auto-libm-test-in: Add more tests of exp.
22002 * math/auto-libm-test-out: Regenerated.
22003 * sysdeps/i386/fpu/libm-test-ulps: Update.
22004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005
17dea188
JM
22006 [BZ #16283]
22007 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22008 * math/w_exp2f.c (__exp2f): Likewise.
22009 * math/w_exp2l.c (__exp2l): Likewise.
22010 * math/auto-libm-test-in: Do not allow missing errno on exp2
22011 underflow.
22012 * math/auto-libm-test-out: Regenerated.
22013
b20de2c3
OB
220142013-12-03 Ondřej Bílka <neleai@seznam.cz>
22015
22016 [BZ #16274]
22017 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22018 handle filename validation.
22019 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22020 (do_open): Delete.
22021
d8e2dbe3
JM
220222013-12-03 Joseph Myers <joseph@codesourcery.com>
22023
34e16df5
JM
22024 [BZ #6786]
22025 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22026 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22027 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22028 <float.h>.
22029 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22030 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22031 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22033 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22035 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22036 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22037 Add more erfc tests.
22038 * math/auto-libm-test-out: Regenerated.
22039 * sysdeps/i386/fpu/libm-test-ulps: Update.
22040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22041
d8e2dbe3
JM
22042 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22043 exp2, expm1, j0 and j1.
22044 * math/auto-libm-test-out: Regenerated.
22045 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22046 (erfc_test_data): Likewise.
22047 (exp_test_data): Likewise.
22048 (exp_tonearest_test_data): Likewise.
22049 (exp_towardzero_test_data): Likewise.
22050 (exp_downward_test_data): Likewise.
22051 (exp_upward_test_data): Likewise.
22052 (exp10_test_data): Likewise.
22053 (exp2_test_data): Likewise.
22054 (expm1_test_data): Likewise.
22055 (j0_test_data): Likewise.
22056 (j1_test_data): Likewise.
22057 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22058 (input_flag_type): Add flag_xfail_rounding.
22059 (input_flags): Add xfail-rounding.
22060 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22061 (output_for_one_input_case): Handle flag_xfail_rounding.
22062 * sysdeps/i386/fpu/libm-test-ulps: Update.
22063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22064
18d14251
AJ
220652013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22066
3d2e6075 22067 [BZ #16289]
18d14251
AJ
22068 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22069 division by 0.
22070
520d437b
SP
220712013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22072
22073 [BZ #16195]
22074 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22075 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22076 (STAP_PROBE0): New macro.
22077 (STAP_PROBE1): Likewise.
22078 (STAP_PROBE2): Likewise.
22079 (STAP_PROBE3): Likewise.
22080 (STAP_PROBE4): Likewise.
22081
416e0145
OB
220822013-12-02 Ondřej Bílka <neleai@seznam.cz>
22083
22084 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22085
9d17796a
SE
220862013-12-02 Steve Ellcey <sellcey@mips.com>
22087
22088 * benchtests/Makefile (bench): Add sqrt.
22089 (LDLIBS-bench-sqrt): New.
22090 * benchtests/sqrt-input: New.
22091
f524d6a8
PS
220922013-12-02 Pavel Simerda <psimerda@redhat.com>
22093
639a0ef8
PS
22094 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22095 (GAIH_EAI): Likewise.
22096 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22097 (gaih_inet): Likewise.
22098 (getaddrinfo): Don't use GAIH_EAI.
22099
f524d6a8
PS
22100 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22101 (struct gaih): Remove definition.
22102
df3aedaf
SP
221032013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22104
22105 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22106 Use HERRNOP directly.
22107
1ab19dec
AZ
221082013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22109
b42ad38d 22110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22111
176b0c79
JM
221122013-11-30 Joseph Myers <joseph@codesourcery.com>
22113
22114 * math/gen-auto-libm-tests.c (test_functions): Add more
22115 single-argument functions.
22116 (special_fill_pi_2): New function.
22117 (special_fill_minus_pi_2): Likewise.
22118 (special_fill_pi_6): Likewise.
22119 (special_fill_minus_pi_6): Likewise.
22120 (special_fill_pi_3): Likewise.
22121 (special_fill_2pi_3): Likewise.
22122 (special_fill_e): Likewise.
22123 (special_fill_1_e): Likewise.
22124 (special_fill_e_minus_1): Likewise.
22125 (special_real_inputs): Add more special inputs.
22126 (output_for_one_input_case): Do not require ERANGE on underflow to
22127 zero if round-to-nearest result does not underflow to zero, unless
22128 exact results required.
22129 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22130 atan, atanh, cbrt, cos and cosh.
22131 * math/auto-libm-test-out: Regenerated.
22132 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22133 (acos_tonearest_test_data): Likewise.
22134 (acos_towardzero_test_data): Likewise.
22135 (acos_downward_test_data): Likewise.
22136 (acos_upward_test_data): Likewise.
22137 (acosh_test_data): Likewise.
22138 (asin_test_data): Likewise.
22139 (asin_tonearest_test_data): Likewise.
22140 (asin_towardzero_test_data): Likewise.
22141 (asin_upward_test_data): Likewise.
22142 (asinh_test_data): Likewise.
22143 (atan_test_data): Likewise.
22144 (atanh_test_data): Likewise.
22145 (cbrt_test_data): Likewise.
22146 (cos_test_data): Likewise.
22147 (cos_tonearest_test_data): Likewise.
22148 (cos_towardzero_test_data): Likewise.
22149 (cos_downward_test_data): Likewise.
22150 (cos_upward_test_data): Likewise.
22151 (cosh_test_data): Likewise.
22152 (cosh_tonearest_test_data): Likewise.
22153 (cosh_towardzero_test_data): Likewise.
22154 (cosh_downward_test_data): Likewise.
22155 (cosh_upward_test_data): Likewise.
22156 * sysdeps/i386/fpu/libm-test-ulps: Update.
22157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22158
ffb536d0
JM
221592013-11-29 Joseph Myers <joseph@codesourcery.com>
22160
2a77a467
JM
22161 [BZ #6787]
22162 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22163 * math/w_exp10f.c (__exp10f): Likewise.
22164 * math/w_exp10l.c (__exp10l): Likewise.
22165 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22166 errno settings in existing tests.
22167
ea3bc4e8
JM
22168 [BZ #14032]
22169 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22170 precision control set to double precision.
22171 * sysdeps/i386/fpu/w_sqrt.c: New file.
22172 * math/auto-libm-test-in: Add more tests.
22173 * math/auto-libm-test-out: Update.
22174
0712c9d8
JM
22175 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22176 (sqrt_test_tonearest): New function.
22177 (sqrt_towardzero_test_data): New variable.
22178 (sqrt_test_towardzero): New function.
22179 (sqrt_downward_test_data): New variable.
22180 (sqrt_test_downward): New function.
22181 (sqrt_upward_test_data): New variable.
22182 (sqrt_test_upward): New function.
22183 (main): Call the new functions.
22184
ffb536d0
JM
22185 * math/gen-auto-libm-tests.c: New file.
22186 * math/auto-libm-test-in: Likewise.
22187 * math/auto-libm-test-out: New generated file.
22188 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22189 variables.
22190 (%beautify): Add generated representations of zero.
22191 (top level): Set $auto_input and call parse_auto_input.
22192 (beautify): Remove trailing "f" from hex float constants.
22193 (parse_args): Handle XFAIL_TEST.
22194 (convert_condition): New function.
22195 (or_value): Likewise.
22196 (or_cond_value): Likewise.
22197 (generate_testfile): Handle AUTO_TESTS_* lines.
22198 (parse_auto_input): New function.
22199 * math/libm-test.inc (XFAIL_TEST): New macro.
22200 (ERRNO_UNCHANGED): Update value.
22201 (ERRNO_EDOM): Likewise.
22202 (ERRNO_ERANGE): Likewise.
22203 (IGNORE_RESULT): Likewise.
22204 (TEST_COND_flt_32): New macro.
22205 (TEST_COND_dbl_64): Likewise.
22206 (TEST_COND_ldbl_96_intel): Likewise.
22207 (TEST_COND_ldbl_96_m68k): Likewise.
22208 (TEST_COND_ldbl_128): Likewise.
22209 (TEST_COND_ldbl_128ibm): Likewise.
22210 (TEST_COND_long32): Likewise.
22211 (TEST_COND_long64): Likewise.
22212 (TEST_COND_before_rounding): Likewise.
22213 (TEST_COND_after_rounding): Likewise.
22214 (enable_test): Handle XFAIL_TEST flag.
22215 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22216 with finite results.
22217 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22218 auto-libm-test-out.
22219
acd98a8e
AK
222202013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22222
22223 [BZ #16214]
22224 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22225 __tls_get_addr_internal instead of __tls_get_offset in order to
22226 avoid GOT pointer dependency. Make rtld export
22227 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22228 __tls_get_addr since we are a __tls_get_offset platform.
22229 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22230 GOT pointer being set up before.
22231 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22232
3c1c46a6
JM
222332013-11-28 Joseph Myers <joseph@codesourcery.com>
22234
7475aef5
JM
22235 * manual/math.texi (Errors in Math Functions): Document accuracy
22236 goals.
22237
8bca7cd8
JM
22238 [BZ #15004]
22239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22240 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22243 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22255
91a1f3fe
JM
22256 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22257 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22258 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22259 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22260 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22261 Likewise.
22262 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22263 Likewise.
22264 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22265 Likewise.
22266 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22268 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22269 atomic-feupdateenv and flt-rounds.
22270 * sysdeps/powerpc/nofpu/Versions (libc): Add
22271 __atomic_feholdexcept, __atomic_feclearexcept,
22272 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22273 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22274 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22275 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22276 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22277 here.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22279 Update.
22280
c5df7609
JM
22281 * manual/arith.texi (FP Exceptions): Document that exceptions may
22282 not be raised when matherr is used.
22283 (Math Error Reporting): Document overflow in directed rounding
22284 modes. Document that errno may not be set when finite values are
22285 returned on overflow. Document intent to set errno on underflow
22286 only for underflow to zero.
22287
3c1c46a6
JM
22288 [BZ #16271]
22289 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22290 round-to-nearest then adjust result for other rounding modes.
22291 * include/fenv.h (fegetround): Use libm_hidden_proto.
22292 * math/fegetround.c (fegetround): Use libm_hidden_def.
22293 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22294 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22295 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22297 Likewise.
22298 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22300 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22301 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22302
5a4c6d53
SP
223032013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22304
22305 [BZ #16077]
22306 * nss/Versions (libnss_files): Add
22307 _nss_files_gethostbyname3_r.
22308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22309 New function.
22310 (HOST_DB_LOOKUP): Remove macro.
22311 (_nss_files_gethostbyname_r): Implement function without the
22312 HOST_DB_LOOKUP macro.
22313 (_nss_files_gethostbyname2_r): Likewise.
22314
897b98ba
OB
223152013-11-28 Ondřej Bílka <neleai@seznam.cz>
22316
22317 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22318
6f476861
UB
223192013-11-26 Uros Bizjak <ubizjak@gmail.com>
22320
22321 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22322 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22323 warning.
22324
bd12ab55
AZ
223252013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22326
22327 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22328 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22329 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22330 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22332 __fe_nomask_env_priv and attribute_hidden.
22333 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22334 (libc_feupdateenv_test_ppc): Likewise.
22335 (libc_feresetround_ppc): Likewise.
22336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22337 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22338 compat_symbol macro.
22339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22340 (__fe_nomask_env): Likewise.
22341 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22342
52bb6543
OB
223432013-11-26 Ondřej Bílka <neleai@seznam.cz>
22344
22345 * string/Makefile: Remove ifunc tests.
22346 * string/test-string.h: Define TEST_IFUNC.
22347 * string/test-bcopy-ifunc.c: Remove.
22348 * string/test-bzero-ifunc.c: Likewise.
22349 * string/test-memccpy-ifunc.c: Likewise.
22350 * string/test-memchr-ifunc.c: Likewise.
22351 * string/test-memcmp-ifunc.c: Likewise.
22352 * string/test-memcpy-ifunc.c: Likewise.
22353 * string/test-memmem-ifunc.c: Likewise.
22354 * string/test-memmove-ifunc.c: Likewise.
22355 * string/test-mempcpy-ifunc.c: Likewise.
22356 * string/test-memrchr-ifunc.c: Likewise.
22357 * string/test-memset-ifunc.c: Likewise.
22358 * string/test-rawmemchr-ifunc.c: Likewise.
22359 * string/test-stpcpy-ifunc.c: Likewise.
22360 * string/test-stpncpy-ifunc.c: Likewise.
22361 * string/test-strcasecmp-ifunc.c: Likewise.
22362 * string/test-strcasestr-ifunc.c: Likewise.
22363 * string/test-strcat-ifunc.c: Likewise.
22364 * string/test-strchr-ifunc.c: Likewise.
22365 * string/test-strchrnul-ifunc.c: Likewise.
22366 * string/test-strcmp-ifunc.c: Likewise.
22367 * string/test-strcpy-ifunc.c: Likewise.
22368 * string/test-strcspn-ifunc.c: Likewise.
22369 * string/test-strlen-ifunc.c: Likewise.
22370 * string/test-strncasecmp-ifunc.c: Likewise.
22371 * string/test-strncat-ifunc.c: Likewise.
22372 * string/test-strncmp-ifunc.c: Likewise.
22373 * string/test-strncpy-ifunc.c: Likewise.
22374 * string/test-strnlen-ifunc.c: Likewise.
22375 * string/test-strpbrk-ifunc.c: Likewise.
22376 * string/test-strrchr-ifunc.c: Likewise.
22377 * string/test-strspn-ifunc.c: Likewise.
22378 * string/test-strstr-ifunc.c: Likewise.
22379
ab260039 223802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22381
22382 * benchtests/Makefile: Remove ifunc tests.
22383 * benchtests/bench-string.h: Define TEST_IFUNC.
22384 * benchtests/bench-bcopy-ifunc.c: Remove.
22385 * benchtests/bench-bzero-ifunc.c: Likewise.
22386 * benchtests/bench-memccpy-ifunc.c: Likewise.
22387 * benchtests/bench-memchr-ifunc.c: Likewise.
22388 * benchtests/bench-memcmp-ifunc.c: Likewise.
22389 * benchtests/bench-memcpy-ifunc.c: Likewise.
22390 * benchtests/bench-memmem-ifunc.c: Likewise.
22391 * benchtests/bench-memmove-ifunc.c: Likewise.
22392 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22393 * benchtests/bench-memrchr-ifunc.c: Likewise.
22394 * benchtests/bench-memset-ifunc.c: Likewise.
22395 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22396 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22397 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22398 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22399 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22400 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22401 * benchtests/bench-strcat-ifunc.c: Likewise.
22402 * benchtests/bench-strchr-ifunc.c: Likewise.
22403 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22404 * benchtests/bench-strcmp-ifunc.c: Likewise.
22405 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22406 * benchtests/bench-strcpy-ifunc.c: Likewise.
22407 * benchtests/bench-strcspn-ifunc.c: Likewise.
22408 * benchtests/bench-strlen-ifunc.c: Likewise.
22409 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22410 * benchtests/bench-strncat-ifunc.c: Likewise.
22411 * benchtests/bench-strncmp-ifunc.c: Likewise.
22412 * benchtests/bench-strncpy-ifunc.c: Likewise.
22413 * benchtests/bench-strnlen-ifunc.c: Likewise.
22414 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22415 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22416 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22417 * benchtests/bench-strspn-ifunc.c: Likewise.
22418 * benchtests/bench-strstr-ifunc.c: Likewise.
22419
224202013-11-26 Ondřej Bílka <neleai@seznam.cz>
22421
ab260039
OB
22422 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22423
d1d9eaf4 224242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22425
d1d9eaf4
OB
22426 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22427 * rt/aio.h: Likewise.
22428 * sysdeps/gnu/bits/utmp.h: Likewise.
22429 * sysdeps/gnu/bits/utmpx.h: Likewise.
22430 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22431 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22432 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22433 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22434 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22435 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22436 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22437 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22438 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22439 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22440 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22441 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22442 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22444 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22445 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22446 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22447 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22448 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22449 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22450 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22451 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22452 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22453 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22454 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22456 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22457 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22458 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22460 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22461 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22462 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22463 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22464 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22465 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22467 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22470 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22471 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22472
a7624ed9
CD
224732013-11-25 Carlos O'Donell <carlos@redhat.com>
22474
22475 [BZ #16245]
22476 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22477 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22478
63cfe52b
JM
224792013-11-25 Joseph Myers <joseph@codesourcery.com>
22480
22481 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22483 Likewise.
22484
41e8926a
AZ
224852013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22486
22487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22488 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22489 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22490 (__fesetround): Remove define.
22491 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22492 rounding and exceptions handling.
22493 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22494 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22495 (__fe_nomask_env): Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22497 __fegetround instead of fegetround.
22498 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22500
6851bd4d
RM
225012013-11-21 Roland McGrath <roland@hack.frob.com>
22502
070906ff
RM
22503 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22504 it's there.
22505
6851bd4d
RM
22506 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22507
84ae135d
MI
225082013-11-21 Meador Inge <meadori@codesourcery.com>
22509
22510 [BZ #11157]
22511 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22512 (encrypt_r): Likewise.
22513 * malloc/obstack.h (obstack_free): Likewise.
22514 * posix/unistd.h (encrypt): Likewise.
22515
daf75146
GM
225162013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22517
22518 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22519 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22520 DL_CALL_DT_FINI() that call the functions directly.
22521 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22522 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22523 * elf/dl-fini.c: Likewise.
22524
10ad46bc
OB
225252013-11-20 Ondřej Bílka <neleai@seznam.cz>
22526
22527 * malloc/hooks.c (memalign_check): Add alignment rounding.
22528 * malloc/malloc.c (_mid_memalign): New function.
22529 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22530 Implement by calling _mid_memalign.
22531 * manual/probes.texi (Memory Allocation Probes): Remove
22532 memory_valloc_retry and memory_pvalloc_retry.
22533
f3fd2628
SP
225342013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22535
4712799f
SP
22536 * locale/programs/locarchive.c (open_archive): Add const
22537 qualifier to ARCHIVEFNAME and copy default fname to
22538 DEFAULT_FNAME.
22539
0417b20f
SP
22540 [BZ #15601]
22541 * libio/tst-widetext.input: Rename Oriya to Odia.
22542 * locale/iso-639.def: Likewise.
22543
f3fd2628
SP
22544 * manual/probes.texi (Mathematical Function Probes): Add
22545 documentation for sin, cos, asin and acos probes.
22546 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22547 (__sin32): Add slowasin probe.
22548 (__cos32): Add slowacos probe.
22549 (__mpsin): Add slowsin probe.
22550 (__mpcos): Add slowcos probe.
22551
73c1ce4f
JM
225522013-11-19 Joseph Myers <joseph@codesourcery.com>
22553
22554 [BZ #15483]
22555 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22556 thread-local __sim_exceptions_thread and global
22557 __sim_exceptions_global.
22558 (__sim_disabled_exceptions): Change to thread-local
22559 __sim_disabled_exceptions_thread and global
22560 __sim_disabled_exceptions_global.
22561 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22562 and global __sim_round_mode_global.
22563 (__simulate_exceptions): Use thread-local floating-point state and
22564 set global state from it as needed.
22565 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22566 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22567 __sim_round_mode_thread.
22568 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22569 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22570 and global __sim_exceptions_global.
22571 (__sim_disabled_exceptions): Change to thread-local
22572 __sim_disabled_exceptions_thread and global
22573 __sim_disabled_exceptions_global.
22574 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22575 and global __sim_round_mode_global.
22576 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22577 (SIM_SET_GLOBAL): Likewise.
22578 * sysdeps/powerpc/soft-fp/sfp-machine.h
22579 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22580 __sim_round_mode_thread.
22581 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22582 __sim_disabled_exceptions_thread.
22583 (__sim_exceptions): Change to __sim_exceptions_thread.
22584 (__sim_disabled_exceptions): Change to
22585 __sim_disabled_exceptions_thread.
22586 (__sim_round_mode): Change to __sim_round_mode_thread.
22587 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22588 thread-local floating-point state and set global state from it as
22589 needed.
22590 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22591 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22592 (__sim_disabled_exceptions): Remove extern declaration.
22593 (feenableexcept): Use thread-local floating-point state and set
22594 global state from it as needed.
22595 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22596 extern declaration.
22597 (__sim_disabled_exceptions): Likewise.
22598 (__sim_round_mode): Likewise.
22599 (__fegetenv): Use thread-local floating-point state.
22600 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22601 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22602 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22603 floating-point state and set global state from it as needed.
22604 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22605 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22606 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22607 Likewise.
22608 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22609 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22610 Likewise.
22611 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22612 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22613 Use __sim_round_mode_thread.
22614 * math/test-fenv-tls.c: New file.
22615 * math/Makefile (tests): Add test-fenv-tls.
22616 ($(objpfx)test-fenv-tls): Depend on
22617 $(common-objpfx)nptl/libpthread.so.
22618
b5449b12
AS
226192013-11-19 Andreas Schwab <schwab@suse.de>
22620
22621 * locale/programs/locale.c (show_info): Decode wordarray elements.
22622 * locale/categories.def (LC_MONETARY): Add element for
22623 _NL_MONETARY_CRNCYSTR.
22624 * locale/C-monetary.c (conversion_rate): New variable.
22625 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22626 element.
22627
e186536b
CM
226282013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22629
22630 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22631 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22632
5c349950
PP
226332013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22634
22635 * elf/Makefile (tst-auxv): New test.
22636 * elf/tst-auxv.c: New
22637 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22638
699df45b
JM
226392013-11-18 Joseph Myers <joseph@codesourcery.com>
22640
22641 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22642 (hidden_proto): Caller changed.
22643 (hidden_tls_proto): New macro.
22644 (libc_hidden_tls_proto): Likewise.
22645 (rtld_hidden_tls_proto): Likewise.
22646 (libm_hidden_tls_proto): Likewise.
22647 (libresolv_hidden_tls_proto): Likewise.
22648 (librt_hidden_tls_proto): Likewise.
22649 (libdl_hidden_tls_proto): Likewise.
22650 (libnss_files_hidden_tls_proto): Likewise.
22651 (libnsl_hidden_tls_proto): Likewise.
22652 (libnss_nisplus_hidden_tls_proto): Likewise.
22653 (libutil_hidden_tls_proto): Likewise.
22654
b7589107
OB
226552013-11-18 Ondřej Bílka <neleai@seznam.cz>
22656
22657 [BZ #10253]
22658 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22659 (decompose_rpath): Defer expansion to fillin_rpath.
22660 (_dl_init_paths): Pass linkmap to fillin_rpath.
22661
250c23bd
RS
226622013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22663
22664 * benchtests/Makefile: Add strsep.
22665 * benchtests/bench-strsep.c: New file: strsep benchtest.
22666 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22667
a7931fcf
AS
226682013-11-18 Andreas Schwab <schwab@suse.de>
22669
22670 * locale/programs/locale.c (show_info) [case byte]: Check for
22671 '\377' instead of '\177'.
22672 * locale/C-monetary.c (not_available): Always use "\377".
22673 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22674 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22675 detect unavailable sign_posn locale elements.
22676 * locale/localeconv.c (__localeconv): For grouping and
22677 mon_grouping handle "\177" and "\377" like no grouping.
22678 (INT_ELEM): New macro. Use it to set all numeric members.
22679 * locale/programs/ld-monetary.c (monetary_read)
22680 <tok_mon_grouping>: Normalize single -1 to the empty string.
22681 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22682 Likewise.
22683
728dab0e
OB
226842013-11-07 Ondřej Bílka <neleai@seznam.cz>
22685
22686 [BZ #16055]
22687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22688 when we match (nil).
22689 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22690
66294491
JM
226912013-11-16 Joseph Myers <joseph@codesourcery.com>
22692
ce665817
JM
22693 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22694 (NO_TEST_INLINE): Update value.
22695 (ERRNO_UNCHANGED): Likewise.
22696 (ERRNO_EDOM): Likewise.
22697 (ERRNO_ERANGE): Likewise.
22698 (IGNORE_RESULT): Likewise.
22699 (check_float_internal): Check signs of NaN results if
22700 TEST_NAN_SIGN used.
22701 (check_complex): Pass TEST_NAN_SIGN flag through to second
22702 check_float_internal call.
22703 (copysign_test_data): Add tests with quiet NaNs as second
22704 argument. Use TEST_NAN_SIGN.
22705 (fabs_test_data): Add test of negative quiet NaN argument. Use
22706 TEST_NAN_SIGN.
22707 (signbit_test_data): Add tests of quiet NaN argument.
22708 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22709
ee1466a9
JM
22710 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22711 $ignore_result.
22712 (parse_args): Handle function results specified as IGNORE.
22713 * math/libm-test.inc (IGNORE_RESULT): New macro.
22714 (check_float_internal): Do not check numerical result if flag
22715 IGNORE_RESULT set.
22716 (check_complex): Pass through IGNORE_RESULT to second
22717 check_float_internal call.
22718 (check_int): Do not check numerical result if flag IGNORE_RESULT
22719 set.
22720 (check_long): Likewise.
22721 (check_bool): Likewise.
22722 (check_longlong): Likewise.
22723 (lrint_test_data): Add tests of infinite and NaN arguments.
22724 (lrint_tonearest_test_data): Likewise.
22725 (lrint_towardzero_test_data): Likewise.
22726 (lrint_downward_test_data): Likewise.
22727 (lrint_upward_test_data): Likewise.
22728 (llrint_test_data): Likewise.
22729 (llrint_tonearest_test_data): Likewise.
22730 (llrint_towardzero_test_data): Likewise.
22731 (llrint_downward_test_data): Likewise.
22732 (llrint_upward_test_data): Likewise.
22733 (lround_test_data): Likewise.
22734 (llround_test_data): Likewise.
22735
14407b7e
JM
22736 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22737 (ERRNO_UNCHANGED): Update value.
22738 (ERRNO_EDOM): Likewise.
22739 (ERRNO_ERANGE): Likewise.
22740 (NO_TEST_INLINE_FLOAT): New macro.
22741 (NO_TEST_INLINE_DOUBLE): Likewise.
22742 (enable_test): New function.
22743 (RUN_TEST_f_f): Check enable_test before running test.
22744 (RUN_TEST_2_f): Likewise.
22745 (RUN_TEST_fff_f): Likewise.
22746 (RUN_TEST_c_f): Likewise.
22747 (RUN_TEST_f_f1): Likewise.
22748 (RUN_TEST_fF_f1): Likewise.
22749 (RUN_TEST_fI_f1): Likewise.
22750 (RUN_TEST_ffI_f1): Likewise.
22751 (RUN_TEST_c_c): Likewise.
22752 (RUN_TEST_cc_c): Likewise.
22753 (RUN_TEST_f_i): Likewise.
22754 (RUN_TEST_f_i_tg): Likewise.
22755 (RUN_TEST_ff_i_tg): Likewise.
22756 (RUN_TEST_f_b): Likewise.
22757 (RUN_TEST_f_b_tg): Likewise.
22758 (RUN_TEST_f_l): Likewise.
22759 (RUN_TEST_f_L): Likewise.
22760 (RUN_TEST_fFF_11): Likewise.
22761 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22762 conditionals.
22763 (cosh_test_data): Likewise.
22764 (exp_test_data): Likewise.
22765 (expm1_test_data): Likewise.
22766 (hypot_test_data): Likewise.
22767 (pow_test_data): Likewise.
22768 (sinh_test_data): Likewise.
22769 (tanh_test_data): Likewise.
22770 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22771 flags argument.
22772
ca07f197
JM
22773 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22774 tests with quiet NaN input and output.
22775 (acosh_test_data): Likewise.
22776 (asin_test_data): Likewise.
22777 (asinh_test_data): Likewise.
22778 (atan_test_data): Likewise.
22779 (atanh_test_data): Likewise.
22780 (atan2_test_data): Likewise.
22781 (cbrt_test_data): Likewise.
22782 (cos_test_data): Likewise.
22783 (cosh_test_data): Likewise.
22784 (erf_test_data): Likewise.
22785 (erfc_test_data): Likewise.
22786 (exp_test_data): Likewise.
22787 (exp10_test_data): Likewise.
22788 (exp2_test_data): Likewise.
22789 (expm1_test_data): Likewise.
22790 (hypot_test_data): Likewise.
22791 (j0_test_data): Likewise.
22792 (j1_test_data): Likewise.
22793 (jn_test_data): Likewise.
22794 (lgamma_test_data): Likewise.
22795 (log_test_data): Likewise.
22796 (log10_test_data): Likewise.
22797 (log1p_test_data): Likewise.
22798 (log2_test_data): Likewise.
22799 (pow_test_data): Likewise.
22800 (scalb_test_data): Likewise.
22801 (sin_test_data): Likewise.
22802 (sincos_test_data): Likewise.
22803 (sinh_test_data): Likewise.
22804 (tan_test_data): Likewise.
22805 (tanh_test_data): Likewise.
22806 (tgamma_test_data): Likewise.
22807 (y0_test_data): Likewise.
22808 (y1_test_data): Likewise.
22809 (yn_test_data): Likewise.
22810
66294491
JM
22811 [BZ #16167]
22812 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22813 argument being NaN and avoid computations with second argument in
22814 that case.
22815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22817 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22818
1820b143
CL
228192013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22820
22821 * locale/iso-639.def: Add Chitwani Tharu (the).
22822
714bd261
AS
228232013-11-14 Andreas Schwab <schwab@suse.de>
22824
22825 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22826 word instead of empty string.
22827
7ab44563
AZ
228282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22829
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22831 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22833 (__fe_nomask_env): Likewise.
22834
e8470ea2
SE
228352013-11-13 Steve Ellcey <sellcey@mips.com>
22836
22837 * benchtests/bench-timing.h: Include time.h.
22838
17c1d9f0
L
228392013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 [BZ #15997]
22842 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22843 to 3.4.0 for x32.
22844 * sysdeps/unix/sysv/linux/configure: Regenerated.
22845
9310c284
JM
228462013-11-13 Joseph Myers <joseph@codesourcery.com>
22847
22848 [BZ #16151]
22849 * stdlib/strtod_l.c (round_and_return): Do not consider
22850 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22851 exponent one less than half the least subnormal exponent.
22852 * stdlib/test-strtod-round-data: Add more tests.
22853 * stdlib/tst-strtod-round.c (tests): Regenerated.
22854
7a2ad8cf
AZ
228552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22856
22857 [BZ #14143]
22858 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22859 (__fe_mask_env): Likewise.
22860 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22861 libm_hidden_proto and add function prototype.
22862 (__fe_mask_env): Add function prototype.
22863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22864 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22866 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22868 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22869
50727aa7
MS
228702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22871
b2f386c1 22872 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22873 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22874
a615be46
MS
228752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22876
22877 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22878 of htab_find_slot().
22879
7ddace62
DM
228802013-11-11 David S. Miller <davem@davemloft.net>
22881
22882 [BZ #16150]
22883 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22884 symbol in the non-vis3 case in static builds.
22885 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22886 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22887 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22888 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22889
9182aa67
JK
228902013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22891
22892 [BZ #387]
22893 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22894 it is empty.
22895
450a2e2d
AZ
228962013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22897
b2f386c1
SP
22898 * benchtests/Makefile: Add bench-strtod.
22899 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22900
8ec3f656
AS
229012013-11-11 Andreas Schwab <schwab@suse.de>
22902
22903 [BZ #16153]
22904 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22905 terminating NUL in key length.
22906
76a9b998
AZ
229072013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22908
22909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22910 Add artificial ODP entry for vDSO symbol for PPC64.
22911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22912 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22913
e4368156
OB
229142013-11-07 Ondřej Bílka <neleai@seznam.cz>
22915
22916 [BZ #15374]
22917 * nss/getent.c (services_keys): Recognize services starting with digit.
22918
8d6bb57c
DM
229192013-11-06 David S. Miller <davem@davemloft.net>
22920
22921 [BZ #15985]
22922 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22923 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22924
e256c421
WN
229252013-11-06 Will Newton <will.newton@linaro.org>
22926
22927 * manual/memory.texi (Malloc Examples): Remove register
22928 keyword from examples.
22929
f6e12daa 229302013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22931
f6e12daa 22932 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22933
9d880655
AS
229342013-11-04 Joseph Myers <joseph@codesourcery.com>
22935
fd2f9486 22936 [BZ #6981]
9d880655
AS
22937 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22938 depending on [__GCC_IEC_559 > 0].
22939 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22940 depending on [__GCC_IEC_559_COMPLEX > 0].
22941
ae129d3c
CL
229422013-11-03 Chris Leonard <cjl@sugarlabs.org>
22943
22944 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22945 to iso-639.def.
22946
4a15c2a4 229472013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22948
22949 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22950
8b35e35d
OB
229512013-11-01 Ondřej Bílka <neleai@seznam.cz>
22952
22953 [BZ #16112]
22954 * malloc/malloc (malloc_info): Do not handle first bin as
22955 special case.
22956
1d70fd6c
CL
229572013-11-01 Chris Leonard <cjl@sugarlabs.org>
22958
22959 * locale/iso-639.def: Add Central Nahuatl (nhn).
22960
8c5c2600
BH
229612013-11-01 Bruno Haible <bruno@clisp.org>
22962
22963 [BZ #7003]
22964 * manual/math.texi (BSD Random): Specify range upper bound as
22965 in POSIX.
22966
da5579c2
CL
229672013-10-31 Chris Leonard <cjl@sugarlabs.org>
22968
22969 * locale/iso-639.def: Add Meadow Mari (mhr).
22970
5d30d853
OB
229712013-10-31 Ondřej Bílka <neleai@seznam.cz>
22972
22973 [BZ #14752], [BZ #15763]
22974 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22975 Validate name.
22976 * rt/tst_shm.c: Add test for escaping directory.
22977
a4966c61
AS
229782013-10-31 Andreas Schwab <schwab@suse.de>
22979
8a43e768 22980 [BZ #15917]
a4966c61
AS
22981 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22982 followed by 'x' as part of digit sequence.
22983 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22984
28d708c4
MAP
229852013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22986
22987 [BZ #16037]
22988 * configure.ac: allow GNU Make 4.0 and greater.
22989 * configure: Regenerated.
22990
a56ee40b
WN
229912013-10-30 Will Newton <will.newton@linaro.org>
22992
22993 [BZ #16038]
22994 * malloc/hooks.c (memalign_check): Limit alignment to the
22995 maximum representable power of two.
22996 * malloc/malloc.c (__libc_memalign): Likewise.
22997 * malloc/tst-memalign.c (do_test): Add test for very
22998 large alignment values.
22999 * malloc/tst-posix_memalign.c (do_test): Likewise.
23000
c6e4925d
OB
230012013-10-30 Ondřej Bílka <neleai@seznam.cz>
23002
23003 [BZ #11087]
23004 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23005 (munmap_chunk): Likewise.
23006 (mremap_chunk): Likewise.
23007
230082013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23009
8a43e768 23010 [BZ #15799]
bbea82f7
OB
23011 * stdlib/div.c (div): Remove obsolete code.
23012 * stdlib/ldiv.c (ldiv): Likewise.
23013 * stdlib/lldiv.c (lldiv): Likewise.
23014
977f4b31
SP
230152013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23016
23017 [BZ #16071]
23018 * nss/nss_files/files-XXX.c (get_contents_ret): New
23019 enumerator.
23020 (get_contents): New function.
23021 (internal_getent): Use it. Expand size of LINEBUFLEN.
23022
cb8a6dbd
MF
230232013-10-30 Mike Frysinger <vapier@gentoo.org>
23024
23025 * configure.in: Moved to ...
23026 * configure.ac: ... here. Change reference to configure.in
23027 to configure.ac.
23028 * sysdeps/arm/preconfigure.ac: ... here.
23029 configure.in to configure.ac.
23030 * sysdeps/gnu/configure.in: Moved to ...
23031 * sysdeps/gnu/configure.ac: ... here.
23032 * sysdeps/i386/configure.in: Moved to ...
23033 * sysdeps/i386/configure.ac: ... here.
23034 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23035 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23036 * sysdeps/mach/configure.in: Moved to ...
23037 * sysdeps/mach/configure.ac: ... here.
23038 * sysdeps/mach/hurd/configure.in: Moved to ...
23039 * sysdeps/mach/hurd/configure.ac: ... here.
23040 * sysdeps/powerpc/configure.in: Moved to ...
23041 * sysdeps/powerpc/configure.ac: ... here.
23042 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23043 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23044 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23045 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23046 * sysdeps/s390/s390-32/configure.in: Moved to ...
23047 * sysdeps/s390/s390-32/configure.ac: ... here.
23048 * sysdeps/s390/s390-64/configure.in: Moved to ...
23049 * sysdeps/s390/s390-64/configure.ac: ... here.
23050 * sysdeps/sh/configure.in: Moved to ...
23051 * sysdeps/sh/configure.ac: ... here.
23052 * sysdeps/sparc/configure.in: Moved to ...
23053 * sysdeps/sparc/configure.ac: ... here.
23054 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23055 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23056 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23057 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23058 * sysdeps/x86_64/configure.in: Moved to ...
23059 * sysdeps/x86_64/configure.ac: ... here.
23060 * sysdeps/x86_64/preconfigure.in: Moved to ...
23061 * sysdeps/x86_64/preconfigure.ac: ... here.
23062 * aclocal.m4: Change reference to configure.in to configure.ac.
23063 * config.h.in: Likewise.
23064 * manual/install.texi: Likewise.
23065 * manual/maint.texi: Likewise.
23066 * Makefile: Likewise.
23067 * malloc/Makefile: Likewise.
23068 * nscd/Makefile: Likewise.
23069 * Makeconfig: Change reference to configure.in and
23070 preconfigure.in to configure.ac and preconfigure.ac
23071 respectively.
23072 * INSTALL: Regenerated.
23073 * configure: Likewise.
23074 * sysdeps/gnu/configure: Likewise.
23075 * sysdeps/i386/configure: Likewise.
23076 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23077 * sysdeps/mach/configure: Likewise.
23078 * sysdeps/mach/hurd/configure: Likewise.
23079 * sysdeps/powerpc/configure: Likewise.
23080 * sysdeps/powerpc/powerpc32/configure: Likewise.
23081 * sysdeps/powerpc/powerpc64/configure: Likewise.
23082 * sysdeps/s390/s390-32/configure: Likewise.
23083 * sysdeps/s390/s390-64/configure: Likewise.
23084 * sysdeps/sh/configure: Likewise.
23085 * sysdeps/sparc/configure: Likewise.
23086 * sysdeps/unix/sysv/linux/configure: Likewise.
23087 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23088 * sysdeps/x86_64/configure: Likewise.
23089 * sysdeps/x86_64/preconfigure: Likewise.
23090
36a4953a
AS
230912013-10-29 Andreas Schwab <schwab@suse.de>
23092
23093 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23094
c79a1204
SP
230952013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23096
dfa1b402
SP
23097 * benchtests/pow-inputs: Add new inputs.
23098
54f73d9c
SP
23099 * benchtests/exp-inputs: Add new inputs.
23100
c79a1204
SP
23101 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23102 conditional check for return value.
23103 (__cos32): Likewise.
23104
67beb545 231052013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23106
23107 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23108 to provide a boost for large inputs with word alignment.
23109 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23110 implementation based on optimized PPC64 strcpy.
23111 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23112 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23113 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23114 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23115
151659f6
OB
231162013-10-25 Ondřej Bílka <neleai@seznam.cz>
23117
482a077e 23118 [BZ #2801]
151659f6
OB
23119 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23120
10b0f26b
OB
231212013-10-25 Ondřej Bílka <neleai@seznam.cz>
23122
23123 [BZ #14876]
23124 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23125 * time/tst-strptime.c (day_tests): Add testcase.
23126
ca42d35e
OB
231272013-10-25 Ondřej Bílka <neleai@seznam.cz>
23128
482a077e 23129 [BZ #14029]
ca42d35e
OB
23130 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23131
52e6d801
FB
231322013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23133
23134 [BZ #16074]
23135 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23136 MAP_FAILED on error.
23137
7cbcdb36
SP
231382013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23139
23140 [BZ #16072]
23141 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23142 heap for large requests.
23143
894f3f10
AM
231442013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23145
23146 [BZ #9954]
23147 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23148 result if the result has no associated interface.
23149 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23150 interface for all 127.X.Y.Z addresses.
23151
b85545a6
CL
231522013-10-24 Chris Leonard <cjl@sugarlabs.org>
23153
23154 * locale/iso-639.def: Add Ligurian (lij)
23155
d1f23d46
OB
231562013-10-21 Ondřej Bílka <neleai@seznam.cz>
23157
23158 [BZ #15825]
23159 * sunrpc/rpc_main.c: Document rpcgen -5.
23160
4db5b08f
MS
231612013-10-19 Michael Stahl <mstahl@redhat.com>
23162
23163 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23164
a471e96a
OB
231652013-10-19 Ondřej Bílka <neleai@seznam.cz>
23166
d1f23d46 23167 [BZ #10278]
a471e96a
OB
23168 * posix/glob.c: Match only directories when trailing slash is present.
23169 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23170 (main): Add testcase.
23171
45c30c61
OB
231722013-10-19 Ondřej Bílka <neleai@seznam.cz>
23173
23174 [BZ #15670]
23175 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23176
484c12fb
CD
231772013-10-18 Carlos O'Donell <carlos@redhat.com>
23178
3d7dc513
CD
23179 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23180 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23181 AUTH_DES and cindex for FIPS 140-2.
23182 (DES Encryption): Add cindex FIPS 46-3.
23183
484c12fb
CD
23184 * locale/locarchive.h (struct locarhandle): Add fname.
23185 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23186 if an optional argument was specified to --list-archive,
23187 otherwise NULL.
23188 * locale/programs/locarchive.c (show_archive_content): Take new
23189 argument fname and pass it via ah.fname to open_archive.
23190 * locale/programs/localedef.h: Update decl.
23191 (open_archive): If AH->fname is non-null, open that file
23192 rather than the default file name, and don't ignore ENOENT.
23193 (create_archive): Set AH.fname to NULL.
23194 (delete_locales_from_archive): Likewise.
23195 (add_locales_to_archive): Likewise.
23196 * locale/programs/locfile.c (write_all_categories): Likewise.
23197
3c8325fb
JM
231982013-10-18 Joseph Myers <joseph@codesourcery.com>
23199 Aldy Hernandez <aldyh@redhat.com>
23200
23201 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23202 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23203 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23204 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23205 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23207 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23208 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23209 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23210 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23211 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23212 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23213 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23214 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23216 Likewise.
23217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23218 Likewise.
23219 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23220 Likewise.
23221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23222 Likewise.
23223 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23224 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23225 Likewise.
23226 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23227 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23228 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23229 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23230 Likewise.
23231 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23232 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23233 * sysdeps/powerpc/preconfigure: Likewise.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23235 Likewise.
23236 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23237 Replace contents of file by #include of <fenv_libc.h>.
23238 * sysdeps/powerpc/soft-fp/sfp-machine.h
23239 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23240 and <sys/prctl.h>.
23241 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23243 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23254 Allow copysignl PLT reference to be missing.
23255
5abe0682
RS
232562013-10-18 Richard Sandiford <richard@codesourcery.com>
23257 Joseph Myers <joseph@codesourcery.com
23258
23259 [BZ #15948]
23260 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23261 single character.
23262 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23263
c7738d08
SP
232642013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23265
23266 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23267 * elf/tst-tls1.c: Likewise.
23268 * elf/tst-tls10.h: Likewise.
23269 * elf/tst-tls14.c: Likewise.
23270 * elf/tst-tls2.c: Likewise.
23271 * elf/tst-tls3.c: Likewise.
23272 * elf/tst-tls4.c: Likewise.
23273 * elf/tst-tls5.c: Likewise.
23274 * elf/tst-tls6.c: Likewise.
23275 * elf/tst-tls7.c: Likewise.
23276 * elf/tst-tls8.c: Likewise.
23277 * elf/tst-tls9.c: Likewise.
23278 * elf/tst-tlsmod1.c: Likewise.
23279 * elf/tst-tlsmod13.c: Likewise.
23280 * elf/tst-tlsmod13a.c: Likewise.
23281 * elf/tst-tlsmod14a.c: Likewise.
23282 * elf/tst-tlsmod16a.c: Likewise.
23283 * elf/tst-tlsmod16b.c: Likewise.
23284 * elf/tst-tlsmod2.c: Likewise.
23285 * elf/tst-tlsmod3.c: Likewise.
23286 * elf/tst-tlsmod4.c: Likewise.
23287 * elf/tst-tlsmod5.c: Likewise.
23288 * elf/tst-tlsmod6.c: Likewise.
23289
0bfcf2c7
OB
232902013-10-18 Ondřej Bílka <neleai@seznam.cz>
23291
23292 [BZ #12486]
23293 * malloc/malloc.c: remove checks for statistics.
23294
264aad1e
OB
232952013-10-17 Ondřej Bílka <neleai@seznam.cz>
23296
23297 [BZ #15277]
23298 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23299 * inet/tst-network.c: Add testcase.
23300
b957ced8
AS
233012013-10-17 Andreas Schwab <schwab@suse.de>
23302
23303 [BZ #15218]
23304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23305 to determine canonical name.
23306
c5d5d574
OB
233072013-10-17 Ondřej Bílka <neleai@seznam.cz>
23308
23309 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23310 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23333 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23334 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23367
e5c2c2d0
JM
233682013-10-17 Joseph Myers <joseph@codesourcery.com>
23369
23370 [BZ #16041]
23371 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23372 make result into a quiet NaN.
23373
51ca9e29
JM
233742013-10-16 Joseph Myers <joseph@codesourcery.com>
23375
23376 * soft-fp/adddf3.c: Fix horizontal whitespace.
23377 * soft-fp/addsf3.c: Likewise.
23378 * soft-fp/addtf3.c: Likewise.
23379 * soft-fp/divdf3.c: Likewise.
23380 * soft-fp/divsf3.c: Likewise.
23381 * soft-fp/divtf3.c: Likewise.
23382 * soft-fp/double.h: Likewise.
23383 * soft-fp/eqdf2.c: Likewise.
23384 * soft-fp/eqsf2.c: Likewise.
23385 * soft-fp/eqtf2.c: Likewise.
23386 * soft-fp/extenddftf2.c: Likewise.
23387 * soft-fp/extended.h: Likewise.
23388 * soft-fp/extendsfdf2.c: Likewise.
23389 * soft-fp/extendsftf2.c: Likewise.
23390 * soft-fp/extendxftf2.c: Likewise.
23391 * soft-fp/fixdfdi.c: Likewise.
23392 * soft-fp/fixdfsi.c: Likewise.
23393 * soft-fp/fixdfti.c: Likewise.
23394 * soft-fp/fixsfdi.c: Likewise.
23395 * soft-fp/fixsfsi.c: Likewise.
23396 * soft-fp/fixsfti.c: Likewise.
23397 * soft-fp/fixtfdi.c: Likewise.
23398 * soft-fp/fixtfsi.c: Likewise.
23399 * soft-fp/fixtfti.c: Likewise.
23400 * soft-fp/fixunsdfdi.c: Likewise.
23401 * soft-fp/fixunsdfsi.c: Likewise.
23402 * soft-fp/fixunsdfti.c: Likewise.
23403 * soft-fp/fixunssfdi.c: Likewise.
23404 * soft-fp/fixunssfsi.c: Likewise.
23405 * soft-fp/fixunssfti.c: Likewise.
23406 * soft-fp/fixunstfdi.c: Likewise.
23407 * soft-fp/fixunstfsi.c: Likewise.
23408 * soft-fp/fixunstfti.c: Likewise.
23409 * soft-fp/floatdidf.c: Likewise.
23410 * soft-fp/floatdisf.c: Likewise.
23411 * soft-fp/floatditf.c: Likewise.
23412 * soft-fp/floatsidf.c: Likewise.
23413 * soft-fp/floatsisf.c: Likewise.
23414 * soft-fp/floatsitf.c: Likewise.
23415 * soft-fp/floattidf.c: Likewise.
23416 * soft-fp/floattisf.c: Likewise.
23417 * soft-fp/floattitf.c: Likewise.
23418 * soft-fp/floatundidf.c: Likewise.
23419 * soft-fp/floatundisf.c: Likewise.
23420 * soft-fp/floatunditf.c: Likewise.
23421 * soft-fp/floatunsidf.c: Likewise.
23422 * soft-fp/floatunsisf.c: Likewise.
23423 * soft-fp/floatunsitf.c: Likewise.
23424 * soft-fp/floatuntidf.c: Likewise.
23425 * soft-fp/floatuntisf.c: Likewise.
23426 * soft-fp/floatuntitf.c: Likewise.
23427 * soft-fp/fmadf4.c: Likewise.
23428 * soft-fp/fmasf4.c: Likewise.
23429 * soft-fp/fmatf4.c: Likewise.
23430 * soft-fp/gedf2.c: Likewise.
23431 * soft-fp/gesf2.c: Likewise.
23432 * soft-fp/getf2.c: Likewise.
23433 * soft-fp/ledf2.c: Likewise.
23434 * soft-fp/lesf2.c: Likewise.
23435 * soft-fp/letf2.c: Likewise.
23436 * soft-fp/muldf3.c: Likewise.
23437 * soft-fp/mulsf3.c: Likewise.
23438 * soft-fp/multf3.c: Likewise.
23439 * soft-fp/negdf2.c: Likewise.
23440 * soft-fp/negsf2.c: Likewise.
23441 * soft-fp/negtf2.c: Likewise.
23442 * soft-fp/op-1.h: Likewise.
23443 * soft-fp/op-2.h: Likewise.
23444 * soft-fp/op-4.h: Likewise.
23445 * soft-fp/op-8.h: Likewise.
23446 * soft-fp/op-common.h: Likewise.
23447 * soft-fp/quad.h: Likewise.
23448 * soft-fp/single.h: Likewise.
23449 * soft-fp/soft-fp.h: Likewise.
23450 * soft-fp/sqrtdf2.c: Likewise.
23451 * soft-fp/sqrtsf2.c: Likewise.
23452 * soft-fp/sqrttf2.c: Likewise.
23453 * soft-fp/subdf3.c: Likewise.
23454 * soft-fp/subsf3.c: Likewise.
23455 * soft-fp/subtf3.c: Likewise.
23456 * soft-fp/truncdfsf2.c: Likewise.
23457 * soft-fp/trunctfdf2.c: Likewise.
23458 * soft-fp/trunctfsf2.c: Likewise.
23459 * soft-fp/trunctfxf2.c: Likewise.
23460 * soft-fp/unorddf2.c: Likewise.
23461 * soft-fp/unordsf2.c: Likewise.
23462 * soft-fp/unordtf2.c: Likewise.
23463
9ebb0332
JM
234642013-10-15 Joseph Myers <joseph@codesourcery.com>
23465
23466 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23467 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23468
4b1a6d8b
OB
234692013-10-15 Ondřej Bílka <neleai@seznam.cz>
23470
23471 * elf/dl-libc.c: Clear initfini list after freeing.
23472
1e145589
JM
234732013-10-14 Joseph Myers <joseph@codesourcery.com>
23474
23475 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23476 * soft-fp/addsf3.c: Likewise.
23477 * soft-fp/addtf3.c: Likewise.
23478 * soft-fp/divdf3.c: Likewise.
23479 * soft-fp/divsf3.c: Likewise.
23480 * soft-fp/divtf3.c: Likewise.
23481 * soft-fp/double.h: Likewise.
23482 * soft-fp/eqdf2.c: Likewise.
23483 * soft-fp/eqsf2.c: Likewise.
23484 * soft-fp/eqtf2.c: Likewise.
23485 * soft-fp/extenddftf2.c: Likewise.
23486 * soft-fp/extended.h: Likewise.
23487 * soft-fp/extendsfdf2.c: Likewise.
23488 * soft-fp/extendsftf2.c: Likewise.
23489 * soft-fp/extendxftf2.c: Likewise.
23490 * soft-fp/fixdfdi.c: Likewise.
23491 * soft-fp/fixdfsi.c: Likewise.
23492 * soft-fp/fixdfti.c: Likewise.
23493 * soft-fp/fixsfdi.c: Likewise.
23494 * soft-fp/fixsfsi.c: Likewise.
23495 * soft-fp/fixsfti.c: Likewise.
23496 * soft-fp/fixtfdi.c: Likewise.
23497 * soft-fp/fixtfsi.c: Likewise.
23498 * soft-fp/fixtfti.c: Likewise.
23499 * soft-fp/fixunsdfdi.c: Likewise.
23500 * soft-fp/fixunsdfsi.c: Likewise.
23501 * soft-fp/fixunsdfti.c: Likewise.
23502 * soft-fp/fixunssfdi.c: Likewise.
23503 * soft-fp/fixunssfsi.c: Likewise.
23504 * soft-fp/fixunssfti.c: Likewise.
23505 * soft-fp/fixunstfdi.c: Likewise.
23506 * soft-fp/fixunstfsi.c: Likewise.
23507 * soft-fp/fixunstfti.c: Likewise.
23508 * soft-fp/floatdidf.c: Likewise.
23509 * soft-fp/floatdisf.c: Likewise.
23510 * soft-fp/floatditf.c: Likewise.
23511 * soft-fp/floatsidf.c: Likewise.
23512 * soft-fp/floatsisf.c: Likewise.
23513 * soft-fp/floatsitf.c: Likewise.
23514 * soft-fp/floattidf.c: Likewise.
23515 * soft-fp/floattisf.c: Likewise.
23516 * soft-fp/floattitf.c: Likewise.
23517 * soft-fp/floatundidf.c: Likewise.
23518 * soft-fp/floatundisf.c: Likewise.
23519 * soft-fp/floatunsidf.c: Likewise.
23520 * soft-fp/floatunsisf.c: Likewise.
23521 * soft-fp/floatuntidf.c: Likewise.
23522 * soft-fp/floatuntisf.c: Likewise.
23523 * soft-fp/floatuntitf.c: Likewise.
23524 * soft-fp/fmadf4.c: Likewise.
23525 * soft-fp/fmasf4.c: Likewise.
23526 * soft-fp/fmatf4.c: Likewise.
23527 * soft-fp/gedf2.c: Likewise.
23528 * soft-fp/gesf2.c: Likewise.
23529 * soft-fp/getf2.c: Likewise.
23530 * soft-fp/ledf2.c: Likewise.
23531 * soft-fp/lesf2.c: Likewise.
23532 * soft-fp/letf2.c: Likewise.
23533 * soft-fp/muldf3.c: Likewise.
23534 * soft-fp/mulsf3.c: Likewise.
23535 * soft-fp/multf3.c: Likewise.
23536 * soft-fp/negdf2.c: Likewise.
23537 * soft-fp/negsf2.c: Likewise.
23538 * soft-fp/negtf2.c: Likewise.
23539 * soft-fp/op-1.h: Likewise.
23540 * soft-fp/op-2.h: Likewise.
23541 * soft-fp/op-4.h: Likewise.
23542 * soft-fp/op-8.h: Likewise.
23543 * soft-fp/op-common.h: Likewise.
23544 * soft-fp/quad.h: Likewise.
23545 * soft-fp/single.h: Likewise.
23546 * soft-fp/soft-fp.h: Likewise.
23547 * soft-fp/sqrtdf2.c: Likewise.
23548 * soft-fp/sqrtsf2.c: Likewise.
23549 * soft-fp/sqrttf2.c: Likewise.
23550 * soft-fp/subdf3.c: Likewise.
23551 * soft-fp/subsf3.c: Likewise.
23552 * soft-fp/subtf3.c: Likewise.
23553 * soft-fp/truncdfsf2.c: Likewise.
23554 * soft-fp/trunctfdf2.c: Likewise.
23555 * soft-fp/trunctfsf2.c: Likewise.
23556 * soft-fp/trunctfxf2.c: Likewise.
23557 * soft-fp/unorddf2.c: Likewise.
23558 * soft-fp/unordsf2.c: Likewise.
23559 * soft-fp/unordtf2.c: Likewise.
23560
17c48a60
OB
235612013-10-14 Ondřej Bílka <neleai@seznam.cz>
23562
23563 [BZ #15672]
23564 * misc/error.c (error_tail): Fix possible buffer overflow.
23565
cabba934
OB
235662013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23567
23568 [BZ #13028]
23569 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23570 address.
23571
94bf958a
PM
235722013-10-14 P. J. McDermott <pj@pehjota.net>
23573
23574 [BZ #832]
23575 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23576 testing pipefail option.
23577
71b4dea7
JM
235782013-10-12 Joseph Myers <joseph@codesourcery.com>
23579
23580 * soft-fp/double.h: Indent preprocessor directives inside #if.
23581 * soft-fp/extended.h: Likewise.
23582 * soft-fp/op-2.h: Likewise.
23583 * soft-fp/op-4.h: Likewise.
23584 * soft-fp/op-common.h: Likewise.
23585 * soft-fp/quad.h: Likewise.
23586 * soft-fp/single.h: Likewise.
23587 * soft-fp/soft-fp.h: Likewise.
23588
55602758
YC
235892013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23590
23591 * iconv/iconv_prog.c: Fix typos.
23592 * stdio-common/psiginfo-data.h: Likewise.
23593
9cd83302
RT
235942013-10-12 Reuben Thomas <rrt@sc3d.org>
23595
23596 [BZ #15764]
23597 * locale/setlocale.c: Fix typo.
23598
99fd9f47
JM
235992013-10-12 Joseph Myers <joseph@codesourcery.com>
23600
b7ea74f0
JM
23601 [BZ #16036]
23602 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23603 signaling NaN arguments.
23604 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23605 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23606
8a509447
JM
23607 [BZ #14910]
23608 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23609 unordered operands.
23610 * soft-fp/gesf2.c (__gesf2): Likewise.
23611 * soft-fp/getf2.c (__getf2): Likewise.
23612 * soft-fp/ledf2.c (__ledf2): Likewise.
23613 * soft-fp/lesf2.c (__lesf2): Likewise.
23614 * soft-fp/letf2.c (__letf2): Likewise.
23615
98998e9f
JM
23616 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23617 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23618 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23619 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23620 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23621 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23622 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23623 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23624 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23625 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23626 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23627 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23628 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23629 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23630 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23631 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23632 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23633 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23634 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23635 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23636 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23637 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23638 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23639 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23640 * soft-fp/floattidf.c (__floattidf): Likewise.
23641 * soft-fp/floattisf.c (__floattisf): Likewise.
23642 * soft-fp/floattitf.c (__floattitf): Likewise.
23643 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23644 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23645 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23646 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23647 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23648 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23649 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23650 * soft-fp/gesf2.c (__gesf2): Likewise.
23651 * soft-fp/getf2.c (__getf2): Likewise.
23652 * soft-fp/ledf2.c (__ledf2): Likewise.
23653 * soft-fp/lesf2.c (__lesf2): Likewise.
23654 * soft-fp/letf2.c (__letf2): Likewise.
23655
8edc4a11
JM
23656 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23657 Undefine and redefine.
23658 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23659 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23660 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23661 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23662 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23663 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23664 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23665 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23666 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23667 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23668 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23669 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23670 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23671 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23672 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23673
8399acaf
JM
23674 [BZ #16032]
23675 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23676 without decrementing exponent if mantissa >= that for the
23677 denominator, not >.
23678 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23679 denominator, not >. Decrement exponent in < case instead of
23680 incrementing in >= case.
23681 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23682 without decrementing exponent if mantissa >= that for the
23683 denominator, not >.
23684
99fd9f47
JM
23685 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23686 computing saturated result for unsigned overflow.
23687
10e1cf6b
SP
236882013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23689 Jeff Law <law@redhat.com>
23690
23691 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23692 (atan2Mp): Add systemtap probe marker.
23693 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23694 (__ieee754_log): Add systemtap probe marker.
23695 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23696 (atanMp): Add systemtap probe marker.
23697 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23698 (tanMp): Add systemtap probe marker.
23699 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23700 (__slowexp): Add systemtap probe marker.
23701 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23702 (__slowpow): Add systemtap probe marker.
23703 * manual/probes.texi: Document probes.
23704
3d110c7c
EB
237052013-10-11 Eric Biggers <ebiggers3@gmail.com>
23706
23707 [BZ #15362]
23708 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23709 written.
23710 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23711 written.
23712 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23713 written to buffer but not flushed.
23714 * libio/iofwrite_u.c: Likewise.
23715 * libio/iopadn.c: Return bytes returned even if EOF was
23716 encountered.
23717 * libio/iowpadn.c: Likewise.
23718 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23719 if _IO_padn does not write the whole buffer.
23720 [!COMPILE_WPRINTF] (PAD): Likewise.
23721
75b4202a
DM
237222013-10-10 David S. Miller <davem@davemloft.net>
23723
23724 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23725 directory block.
23726
6c6352e6
JM
237272013-10-10 Joseph Myers <joseph@codesourcery.com>
23728
33b853c3
JM
23729 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23730 instead of FSF address.
23731 * soft-fp/fixdfti.c: Likewise.
23732 * soft-fp/fixsfti.c: Likewise.
23733 * soft-fp/fixtfti.c: Likewise.
23734 * soft-fp/fixunsdfti.c: Likewise.
23735 * soft-fp/fixunssfti.c: Likewise.
23736 * soft-fp/fixunstfti.c: Likewise.
23737 * soft-fp/floattidf.c: Likewise.
23738 * soft-fp/floattisf.c: Likewise.
23739 * soft-fp/floattitf.c: Likewise.
23740 * soft-fp/floatuntidf.c: Likewise.
23741 * soft-fp/floatuntisf.c: Likewise.
23742 * soft-fp/floatuntitf.c: Likewise.
23743 * soft-fp/trunctfxf2.c: Likewise.
23744
6c6352e6
JM
23745 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23746 * soft-fp/fixdfti.c: Likewise.
23747 * soft-fp/fixsfti.c: Likewise.
23748 * soft-fp/fixtfti.c: Likewise.
23749 * soft-fp/fixunsdfti.c: Likewise.
23750 * soft-fp/fixunssfti.c: Likewise.
23751 * soft-fp/fixunstfti.c: Likewise.
23752 * soft-fp/floattidf.c: Likewise.
23753 * soft-fp/floattisf.c: Likewise.
23754 * soft-fp/floattitf.c: Likewise.
23755 * soft-fp/floatuntidf.c: Likewise.
23756 * soft-fp/floatuntisf.c: Likewise.
23757 * soft-fp/floatuntitf.c: Likewise.
23758 * soft-fp/trunctfxf2.c: Likewise.
23759
3bf78b71
DM
237602013-10-10 David S. Miller <davem@davemloft.net>
23761
23762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23763
6f10289e
JM
237642013-10-10 Joseph Myers <joseph@codsourcery.com>
23765
bd878fc0
JM
23766 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23767 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23768 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23769 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23770 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23771 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23772 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23773
6f10289e
JM
23774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23775 for NaNs before doing comparisons on argument.
23776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23777 Likewise.
23778
321e2684
WN
237792013-10-10 Will Newton <will.newton@linaro.org>
23780
23781 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23782 passed to _int_memalign does not overflow.
23783
40fefba1
TR
237842013-10-10 Torvald Riegel <triegel@redhat.com>
23785
23786 * scripts/bench.pl: Add include-sources directive.
23787 * benchtests/README: Update documentation.
23788
2ae21ed2
JM
237892013-10-10 Joseph Myers <joseph@codesourcery.com>
23790
dcc2dd3f
JM
23791 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23792 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23793 instead of FP_INIT_ROUNDMODE.
23794 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23795 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23796
2ae21ed2
JM
23797 [BZ #16034]
23798 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23799 copy class of input value.
23800 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23801 not handle exceptions.
23802 * soft-fp/negsf2.c (__negsf2): Likewise.
23803 * soft-fp/negtf2.c (__negtf2): Likewise.
23804 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23805
cb8f9562
JM
238062013-10-09 Joseph Myers <joseph@codesourcery.com>
23807
23808 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23809 semicolon. From Linux kernel.
23810
5b60c59d
AB
238112013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23812
23813 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23814
b86835ca
YC
238152013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23816
23817 [BZ #156]
23818 * manual/socket.texi: Added statement about buffer
23819 for gethostbyname2_r.
23820
e7044ea7
OB
238212013-10-08 Ondřej Bílka <neleai@seznam.cz>
23822
23823 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23824 Use .p2align directive instead, throughout.
23825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23826 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23827 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23830 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23831 * sysdeps/x86_64/strchr.S: Likewise.
23832 * sysdeps/x86_64/strrchr.S: Likewise.
23833
09544cbc
SP
238342013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23835
88576635
SP
23836 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23837
e7b2d1dd
SP
23838 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23839
09544cbc
SP
23840 * sysdeps/generic/math_private.h (__mpsin1): Remove
23841 declaration.
23842 (__mpcos1): Likewise.
23843 (__mpsin): New argument __range_reduce.
23844 (__mpcos): Likewise.
23845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23846 (slow): Use __mpsin and __mpcos.
23847 (slow1): Likewise.
23848 (slow2): Likewise.
23849 (sloww): Likewise.
23850 (sloww1): Likewise.
23851 (sloww2): Likewise.
23852 (bsloww): Likewise.
23853 (bsloww1): Likewise.
23854 (bsloww2): Likewise.
23855 (cslow2): Likewise.
23856 (csloww): Likewise.
23857 (csloww1): Likewise.
23858 (csloww2): Likewise.
23859 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23860 range_reduce. Merge in __mpsin1.
23861 (__mpcos): Likewise.
23862 (__mpsin1): Remove.
23863 (__mpcos1): Likewise.
23864
7602d070
JM
238652013-10-07 Joseph Myers <joseph@codesourcery.com>
23866
23867 * locale/loadlocale.c (_nl_intern_locale_data): Use
23868 LOCFILE_ALIGNED_P.
23869 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23870 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23871 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23872 obstack data is appropriately aligned.
23873 (obstack_int32_grow_fast): Likewise.
23874 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23875 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23876 (add_locale_uint32_array): Likewise.
23877
a357259b
SP
238782013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23879
23880 * benchtests/Makefile: Remove ARGLIST and RET variables.
23881 ($(objpfx)bench-%.c): Pass only function name to the script.
23882 * benchtests/README: Update documentation.
23883 * benchtests/acos-inputs: Add new directives.
23884 * benchtests/acosh-inputs: Likewise.
23885 * benchtests/asin-inputs: Likewise.
23886 * benchtests/asinh-inputs: Likewise.
23887 * benchtests/atan-inputs: Likewise.
23888 * benchtests/atanh-inputs: Likewise.
23889 * benchtests/cos-inputs: Likewise.
23890 * benchtests/cosh-inputs: Likewise.
23891 * benchtests/exp-inputs: Likewise.
23892 * benchtests/log-inputs: Likewise.
23893 * benchtests/pow-inputs: Likewise.
23894 * benchtests/rint-inputs: Likewise.
23895 * benchtests/sin-inputs: Likewise.
23896 * benchtests/sinh-inputs: Likewise.
23897 * benchtests/tan-inputs: Likewise.
23898 * benchtests/tanh-inputs: Likewise.
23899 * scripts/bench.pl: Add support for new directives.
23900
9ec1b13d
AM
239012013-10-07 Alan Modra <amodra@gmail.com>
23902
23903 * README: Fix careless merge.
23904
8b7d57cd
AM
239052013-10-05 Alan Modra <amodra@gmail.com>
23906
23907 * NEWS: Mention powerpc64le support and bugs fixed.
23908 * README: Both big-endian and little-endian powerpc64 supported.
23909
7b7bab13
ST
239102013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23911
57f41c40
AS
23912 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23913 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23914 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23915 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23916
d39baad1
RA
239172013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23918
23919 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23920 match prototype.
23921
cd78f7e7
JM
239222013-10-04 Joseph Myers <joseph@codesourcery.com>
23923
29d73d86
JM
23924 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23925 Move -mhard-float appending from
23926 ports/sysdeps/powerpc/powerpc32/Makefile.
23927 [$(with-fp) = yes] (ASFLAGS): Likewise.
23928 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23929 * sysdeps/powerpc/nofpu: Move directory from
23930 ports/sysdeps/powerpc/nofpu.
23931 * sysdeps/powerpc/soft-fp: Move directory from
23932 ports/sysdeps/powerpc/soft-fp.
23933 * sysdeps/powerpc/powerpc32/405: Move directory from
23934 ports/sysdeps/powerpc/powerpc32/405.
23935 * sysdeps/powerpc/powerpc32/440: Move directory from
23936 ports/sysdeps/powerpc/powerpc32/440.
23937 * sysdeps/powerpc/powerpc32/464: Move directory from
23938 ports/sysdeps/powerpc/powerpc32/464.
23939 * sysdeps/powerpc/powerpc32/476: Move directory from
23940 ports/sysdeps/powerpc/powerpc32/476.
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23951 * README: Update for powerpc-*-linux-gnu software floating point
23952 support in libc.
23953
e246b347
JM
23954 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23955 case to powerpc/powerpc32*.
23956 * sysdeps/unix/sysv/linux/configure: Regenerated.
23957
89c2003e
JM
23958 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23959 (_FPU_MASK_OM): Define as 0x04.
23960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23962 0x00c10080.
23963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23964 0x0000003c.
23965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23966
cd78f7e7
JM
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23968 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23969 getcontext_e500.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23971 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23972 setcontext_e500.
23973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23975 and setcontext_e500.
23976
c755294d
CL
239772013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23978
23979 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23980
e16d221c
SP
239812013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23982
23983 * manual/threads.texi (Default Thread Attributes): Fix typo.
23984
215c7d43
WN
239852013-10-04 Will Newton <will.newton@linaro.org>
23986
23987 * malloc/Makefile: Add tst-memalign.
23988 * malloc/tst-memalign.c: New file.
23989
27d0461b
WN
23990 * malloc/tst-posix_memalign.c: Add comments.
23991 (do_test): Add comments and call free on all potentially
23992 allocated pointers. Add space after cast.
23993
1bc92709
WN
23994 * malloc/tst-pvalloc.c: Add comments.
23995 (do_test): Add comments and call free on all potentially
23996 allocated pointers. Remove duplicate check for NULL pointer.
23997 Add space after cast.
23998
66a9be9d
WN
23999 * malloc/tst-valloc.c: Add comments.
24000 (do_test): Add comments and call free on all potentially
24001 allocated pointers. Remove duplicate check for NULL pointer.
24002 Add space after cast.
24003
4cb81307
AM
240042013-10-04 Alan Modra <amodra@gmail.com>
24005
24006 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24007 Use stdint types in rather than __attribute__((mode())).
24008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24009
f8e3e9f3
AM
240102013-10-04 Alan Modra <amodra@gmail.com>
24011
24012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24013 Correct handling of unaligned relocs for little-endian.
24014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24015
8f9ebb08
AM
240162013-10-04 Alan Modra <amodra@gmail.com>
24017
24018 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24019 * configure: Regenerate.
24020 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24021 * shlib-versions: Likewise.
24022
0edf96c2
AM
240232013-10-04 Alan Modra <amodra@gmail.com>
24024
24025 * string/tester.c (test_memrchr): Increment reported test cycle.
24026
e0f7a380
AM
240272013-10-04 Alan Modra <amodra@gmail.com>
24028
24029 * string/test-memcpy.c (do_one_test): When reporting errors, print
24030 string address and don't overrun end of string.
24031
466b0393
AM
240322013-10-04 Alan Modra <amodra@gmail.com>
24033
24034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24035 insrdi. Make better use of reg selection to speed exit slightly.
24036 Schedule entry path a little better. Remove useless "are we done"
24037 checks on entry to main loop. Handle wrapping around zero address.
24038 Correct main loop count. Handle single left-over word from main
24039 loop inline rather than by using loop_small. Remove extra word
24040 case in loop_small caused by wrong loop count. Add little-endian
24041 support.
24042 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24044 cache hint.
24045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24047 support. Avoid rlwimi.
24048 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24049
3be87c77
AM
240502013-10-04 Alan Modra <amodra@gmail.com>
24051
24052 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24053 insrdi. Formatting.
3be87c77
AM
24054 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24057 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24058 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24059 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24060
759cfef3
AM
240612013-10-04 Alan Modra <amodra@gmail.com>
24062
24063 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24065 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24067 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24072 use of regs. Use power7 mtocrf. Tidy function tails.
24073
fe6e95d7
AM
240742013-10-04 Alan Modra <amodra@gmail.com>
24075
24076 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24077 Formatting. Consistently use rXXX register defines or rN defines.
24078 Use early exit labels that avoid restoring unused non-volatile regs.
24079 Make cr field use more consistent with rWORDn compares. Rename
24080 regs used as shift registers for unaligned loop, using rN defines
24081 for short lifetime/multiple use regs.
24082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24084 addi 1,1,64 to pop stack frame. Simplify return value code.
24085 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24086
664318c3
AM
240872013-10-04 Alan Modra <amodra@gmail.com>
24088
24089 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24090 support. Correct typos, formatting. Optimize tail. Use insrdi
24091 rather than rlwimi.
24092 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24093 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24094 little-endian support. Correct typos.
24095 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24096 rather than rlwimi.
24097 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24098 in loop and entry code to keep "and." results.
24099 (strchr): Add little-endian support. Comment. Move cntlzd
24100 earlier in tail.
24101 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24102
43b84013
AM
241032013-10-04 Alan Modra <amodra@gmail.com>
24104
24105 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24106 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24107 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24108 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24109
8a7413f9
AM
241102013-10-04 Alan Modra <amodra@gmail.com>
24111
24112 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24113 (rTMP): Define as r11.
24114 (strcmp): Add little-endian support. Optimise tail.
24115 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24116 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24117 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24122
33ee81de
AM
241232013-10-04 Alan Modra <amodra@gmail.com>
24124
24125 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24126 little-endian support. Remove unnecessary "are we done" tests.
24127 Handle "s" wrapping around zero and extremely large "size".
24128 Correct main loop count. Handle single left-over word from main
24129 loop inline rather than by using small_loop. Correct comments.
24130 Delete "zero" tail, use "end_max" instead.
24131 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24132
db9b4570
AM
241332013-10-04 Alan Modra <amodra@gmail.com>
24134
24135 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24136 support. Don't branch over align.
24137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24138 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24139 support. Rearrange tmp reg use to suit. Comment.
24140 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24141
f7c399cf
AM
241422013-10-04 Alan Modra <amodra@gmail.com>
24143
24144 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24145
0b2c2ace
AM
241462013-10-04 Alan Modra <amodra@gmail.com>
24147
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24149 conditional form of branch and link when obtaining pc.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24151
02f04a6c
AM
241522013-10-04 Alan Modra <amodra@gmail.com>
24153
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24155 HIWORD/LOWORD.
24156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24158
9b874b2f
AM
241592013-10-04 Alan Modra <amodra@gmail.com>
24160
24161 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24162 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24163 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24165 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24169 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24170 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24171
be1e5d31
AB
241722013-10-04 Anton Blanchard <anton@au1.ibm.com>
24173 Alistair Popple <alistair@ozlabs.au.ibm.com>
24174 Alan Modra <amodra@gmail.com>
24175
24176 [BZ #15723]
24177 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24179 _dl_hwcap access for little-endian.
24180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24181 destroy vmx regs when saving unaligned.
24182 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24183 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24184 destroy vmx regs when saving unaligned.
24185
fef13a78
AM
241862013-10-04 Alan Modra <amodra@gmail.com>
24187
24188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24189 Don't use a union to pack hi/low value.
24190
76a66d51
AB
241912013-10-04 Anton Blanchard <anton@au1.ibm.com>
24192
24193 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24194 for little-endian.
24195 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24197 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24198 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24199 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24200
6a31fe7f
AM
242012013-10-04 Alan Modra <amodra@gmail.com>
24202
24203 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24204 constants to usual value for .cst8 section, and remove redundant
24205 high address load.
24206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24207 constant for 0x1p52. Load little-endian words of double from
24208 correct stack offsets.
24209
7b88401f
AM
242102013-10-04 Alan Modra <amodra@gmail.com>
24211
24212 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24213 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24214 words of double from correct stack offsets.
24215 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24216 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24217 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24218 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24219 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24222 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24224 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24225 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24226 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24227 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24228 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24229 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24230 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24231 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24232
9c008155
AM
242332013-10-04 Alan Modra <amodra@gmail.com>
24234
24235 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24236 64-bit int/double union.
24237 (_FPU_SETCW): Likewise.
24238 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24239 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24240
da13146d
AM
242412013-10-04 Alan Modra <amodra@gmail.com>
24242
24243 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24244 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24245
603e8410
AM
242462013-10-04 Alan Modra <amodra@gmail.com>
24247
24248 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24249 use vector int constants.
24250 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24251
4a28b3ca
AB
242522013-10-04 Anton Blanchard <anton@au1.ibm.com>
24253
24254 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24255 array with long long.
24256 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24257 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24258 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24259 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24260 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24261 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24262 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24263 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24264 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24265 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24266 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24267 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24269
2ca85d2b
AB
242702013-10-04 Anton Blanchard <anton@au1.ibm.com>
24271
24272 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24273 (__signbit): Likewise. Correct for little-endian.
24274 (__signbitl): Call __signbit.
24275 (lrint): Correct for little-endian.
24276 (lrintf): Call lrint.
24277
62a728ae
AM
242782013-10-04 Alan Modra <amodra@gmail.com>
24279
24280 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24281 union 32-bit int array member with 64-bit int array.
24282 (t515, tm256): Double rather than long double.
24283 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24284
32c301df
AM
242852013-10-04 Alan Modra <amodra@gmail.com>
24286
24287 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24288 Delete.
24289 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24291 version of math_ldbl.h.
24292
650ef4bd
AM
242932013-10-04 Alan Modra <amodra@gmail.com>
24294
24295 [BZ #15734], [BZ #15735]
24296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24297 all uses of ieee875 long double macros and unions. Simplify test
24298 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24299 ldbl_extract_mantissa value for ix,iy exponents. Properly
24300 normalize after ldbl_extract_mantissa, and don't add hidden bit
24301 already handled. Don't treat low word of ieee854 mantissa like
24302 low word of IBM long double and mask off bit when testing for
24303 zero.
24304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24305 all uses of ieee875 long double macros and unions. Simplify tests
24306 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24307 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24308 two1022, instead use their values. Recognise that tests for large
24309 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24311 Rewrite all uses of ieee875 long double macros and unions. Simplify
24312 test for 0.0L and nan. Correct negation.
24313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24314 ieee875 long double macros and unions. Correct output for large
24315 magnitude x. Correct absolute value calculation.
24316 (__erfcl): Likewise.
24317 * math/libm-test.inc: Add tests for errors discovered in IBM long
24318 double versions of fmodl, remainderl, erfl and erfcl.
24319
765714ca
AM
243202013-10-04 Alan Modra <amodra@gmail.com>
24321
24322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24323 all uses of ieee854 long double macros and unions. Simplify tests
24324 for long doubles that are fully specified by the high double.
24325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24326 Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24328 Remove dead code too.
24329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24330 (__ieee754_ynl): Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24334 Remove dead code too.
24335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24339 Simplify.
24340 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24341 Simplify.
24342 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24345 Comment on variable precision.
24346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24348 Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24353 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24354
4ebd120c
AM
243552013-10-04 Alan Modra <amodra@gmail.com>
24356
24357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24358 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24359 all uses of ieee854 long double macros and unions.
24360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24365 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24366 Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24373 Simplify sign and nan test too.
24374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24378 Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24381 Likewise.
24382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24383 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24384 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24386 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24388
1b6adf88
AM
243892013-10-04 Alan Modra <amodra@gmail.com>
24390
24391 * stdio-common/printf_size.c (__printf_size): Don't use
24392 union ieee854_long_double in fpnum union.
24393 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24394 signbit macro to retrieve sign from long double.
24395 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24396 retrieve sign from long double.
24397 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24398 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24400 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24401 * math/test-misc.c (main): Don't use union ieee854_long_double.
24402
4cf69995
AM
244032013-10-04 Alan Modra <amodra@gmail.com>
24404
24405 [BZ #15680]
24406 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24407 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24408 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24409 calculation. Remove unnecessary test for denormal exponent.
24410 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24411 Correct handling of denormals. Avoid undefined shift behaviour.
24412 Correct normalisation of low mantissa when low double is denormal.
24413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24414 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24415 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24416 Correct normalisation of low mantissa. Test for overflow of high
24417 mantissa and normalise.
24418 (ldbl_nearbyint): Use more readable constant for two52.
24419 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24420 (__mpn_construct_long_double): Fix test for overflow of high
24421 mantissa and correct normalisation. Avoid undefined shift.
24422
9605ca6c
AM
244232013-10-04 Alan Modra <amodra@gmail.com>
24424
24425 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24426 (union ibm_extended_long_double): Define as an array of ieee754_double.
24427 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24428 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24429 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24430 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24434 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24435 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24436 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24437 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24438
975569d0
JM
244392013-10-03 Joseph Myers <joseph@codesourcery.com>
24440
d3d23756
JM
24441 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24442 page size instead of calling getpagesize.
24443
975569d0
JM
24444 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24445 (LOCFILE_ALIGN_MASK): Likewise.
24446 (LOCFILE_ALIGN_UP): Likewise.
24447 (LOCFILE_ALIGNED_P): Likewise.
24448 * locale/programs/ld-collate.c (collate_output): Use the new
24449 macros instead of __alignof__ (int32_t).
24450 * locale/weight.h (findidx): Likewise.
24451
b1fe1f2b
OB
244522013-10-03 Ondřej Bílka <neleai@seznam.cz>
24453
24454 [BZ #431]
24455 * manual/string.texi: Fix strncat and wcsncat.
24456
5f855e35
BM
244572013-10-03 Brooks Moses <bmoses@google.com>
24458
24459 [BZ #15915]
24460 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24461 * Makerules: ...here, and adjust associated comments.
24462
3cef6009
WN
244632013-10-02 Will Newton <will.newton@linaro.org>
24464
24465 * malloc/Makefile: Add tst-pvalloc.
24466 * malloc/tst-pvalloc.c: New file.
24467
7815420b
WN
244682013-10-02 Will Newton <will.newton@linaro.org>
24469
24470 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24471 improve test coverage.
24472
4868b204
WN
244732013-10-02 Will Newton <will.newton@linaro.org>
24474
24475 * malloc/Makefile: Add tst-posix_memalign.
24476 * malloc/tst-posix_memalign.c: New file.
24477
29c793b3
EB
244782013-10-01 Eric Blake <eblake@redhat.com>
24479
24480 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24481 Use __THROWNL rather than __THROW on static functions.
24482
fd967522
PM
244832013-09-30 Petr Machata <pmachata@redhat.com>
24484
24485 * elf/elf.h (R_AARCH64_ABS16): New macro.
24486 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24487 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24488 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24489 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24490 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24491 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24492 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24493 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24494 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24495 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24496 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24497 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24498 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24499 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24500 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24501 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24502 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24503 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24504 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24505 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24506 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24507 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24508 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24509 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24510 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24511 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24512 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24513 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24514 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24515 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24516 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24517 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24518 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24519 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24520 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24521 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24522 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24523 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24524 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24525 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24526 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24527 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24528 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24529 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24530 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24531 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24532 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24533 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24534 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24535 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24536 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24537 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24538 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24539 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24540 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24541 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24542 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24543 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24544 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24545 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24546 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24547 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24548 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24549 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24550 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24551 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24552 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24553 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24554 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24555 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24556 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24557 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24558 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24559 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24560 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24561 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24562 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24563 (R_AARCH64_TLSDESC_LDR): Likewise.
24564 (R_AARCH64_TLSDESC_ADD): Likewise.
24565 (R_AARCH64_TLSDESC_CALL): Likewise.
24566
b2179107
AS
245672013-09-30 Andreas Schwab <schwab@suse.de>
24568
24569 [BZ #15048]
24570 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24571 the nss database lookup.
24572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24574
47f28d0a
MF
245752013-09-28 Mike Frysinger <vapier@gentoo.org>
24576
24577 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24578
245792013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24580
24581 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24582 ${Bash-specific parameter/pattern/string} parameter expansion.
24583 * sysdeps/unix/make-syscalls.sh: Likewise.
24584
f4518a17
KK
245852013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24586
24587 * sysdeps/sh/stackguard-macros.h: New file.
24588
dc1a95c7
OB
245892013-09-26 Ondřej Bílka <neleai@seznam.cz>
24590
24591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24593 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24596 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24597
5ebbff8f
AZ
245982013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24599
24600 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24601 Fix thread ID register.
24602
4fd2cf9f
JM
246032013-09-25 Joseph Myers <joseph@codesourcery.com>
24604
24605 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24606 [POSIX || UNIX98]: Require rather than permitting all symbols from
24607 <time.h>.
24608 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24609 element of struct sched_param.
24610 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24611 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24612 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24613 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24614 constant.
24615
12c22bc4
OL
246162013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24617
24618 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24619 argument calculation.
24620
a03d8ea7
JM
246212013-09-24 Joseph Myers <joseph@codesourcery.com>
24622
24623 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24624 Expect macro.
24625 [POSIX] (pthread_attr_t): Do not require type.
24626 [POSIX] (pthread_cond_t): Likewise.
24627 [POSIX] (pthread_condattr_t): Likewise.
24628 [POSIX] (pthread_key_t): Likewise.
24629 [POSIX] (pthread_mutex_t): Likewise.
24630 [POSIX] (pthread_mutexattr_t): Likewise.
24631 [POSIX] (pthread_once_t): Likewise.
24632 [POSIX] (pthread_t): Likewise.
24633 [POSIX-based standards] (pthread_atfork): Expect function.
24634
6055173a
JM
246352013-09-24 Joseph Myers <joseph@codesourcery.com>
24636 Richard Sandiford <richard@codesourcery.com>
24637
24638 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24639 (swap_endianness_p): New extern variable.
24640 (set_big_endian): New inline function.
24641 (maybe_swap_uint32): Likewise.
24642 (maybe_swap_uint32_array): Likewise.
24643 (maybe_swap_uint32_obstack): Likewise.
24644 * locale/programs/locfile.c: Include <stdbool.h>.
24645 (swap_endianness_p): New variable.
24646 (add_locale_uint32): Call maybe_swap_uint32.
24647 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24648 (write_locale_data): Call maybe_swap_uint32_array.
24649 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24650 maybe_swap_uint32.
24651 (obstack_int32_grow_fast): Likewise.
24652 (output_weightwc): Call maybe_swap_uint32_obstack.
24653 (collate_output): Likewise.
24654 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24655 (OPT_LITTLE_ENDIAN): Likewise.
24656 (options): Add --little-endian and --big-endian options.
24657 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24658 * locale/programs/locarchive.c: Include "locfile.h".
24659 (GET): New macro.
24660 (SET): Likewise.
24661 (INC): Likewise.
24662 (create_archive): Use the new macros to access fields of
24663 structures directly mapped from or written to locale archives.
24664 (oldlocrecentcmp): Likewise.
24665 (enlarge_archive): Likewise.
24666 (insert_name): Likewise.
24667 (add_alias): Likewise.
24668 (add_locale): Likewise.
24669 (delete_locales_from_archive): Likewise.
24670 (show_archive_content): Likewise.
24671 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24672 locale data.
24673
39bf0bb4
RM
246742013-09-24 Roland McGrath <roland@hack.frob.com>
24675
24676 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24677 http://www.gnu.org/doc/freemanuals.texi.
24678 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24679
f02eed10
WN
246802013-09-24 Will Newton <will.newton@linaro.org>
24681
24682 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24683 macro.
24684
a3a6c312
JM
246852013-09-23 Joseph Myers <joseph@codesourcery.com>
24686
24687 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24688 unsigned char.
24689
107375ac
MR
246902013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24691
24692 * manual/threads.texi (POSIX Threads): Fix a typo.
24693
141f3a77
SP
246942013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24695
303e567a
SP
24696 [BZ #14547]
24697 * string/tst-strcoll-overflow.c: New test case.
24698 * string/Makefile (xtests): Add tst-strcoll-overflow.
24699 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24700 cache if string sizes may cause integer overflow.
24701
141f3a77
SP
24702 [BZ #14547]
24703 * string/strcoll_l.c (coll_seq): New members rule, idx,
24704 save_idx and back_us.
24705 (get_next_seq_nocache): New function.
24706 (do_compare_nocache): New function.
24707 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24708 when malloc fails.
24709
c61b4d41
CD
247102013-09-23 Carlos O'Donell <carlos@redhat.com>
24711
0b1f8e35
CD
24712 [BZ #15754]
24713 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24714 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24715 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24716
c61b4d41
CD
24717 [BZ #15754]
24718 * elf/Makefile (tests): Add tst-ptrguard1.
24719 (tests-static): Add tst-ptrguard1-static.
24720 (tst-ptrguard1-ARGS): Define.
24721 (tst-ptrguard1-static-ARGS): Define.
24722 * elf/tst-ptrguard1.c: New file.
24723 * elf/tst-ptrguard1-static.c: New file.
24724 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24725 * sysdeps/i386/stackguard-macros.h: Likewise.
24726 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24727 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24728 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24729 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24730 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24731 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24732
247332013-09-23 Hector Marco <hecmargi@upv.es>
24734 Ismael Ripoll <iripoll@disca.upv.es>
24735 Carlos O'Donell <carlos@redhat.com>
24736
24737 [BZ #15754]
24738 * sysdeps/generic/stackguard-macros.h: Define
24739 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24740 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24741 Define __pointer_chk_guard_local.
24742 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24743 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24744
f5f4e7b4
VV
247452013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24746
24747 [BZ #15859]
24748 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24749
5bb43a43
AS
247502013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24751
24752 * include/string.h (__ffs): Declare as hidden.
24753 * string/ffs.c (__ffs): Define as hidden.
24754 * sysdeps/i386/ffs.c (__ffs): Likewise.
24755 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24756 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24757 * sysdeps/s390/ffs.c (__ffs): Likewise.
24758 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24759
3ea5be54
AO
247602013-09-20 Alexandre Oliva <aoliva@redhat.com>
24761
ffb89e53
AO
24762 * NEWS: Mention malloc probes.
24763
322dea08
AO
24764 * malloc/arena.c (new_heap): New memory_heap_new probe.
24765 (grow_heap): New memory_heap_more probe.
24766 (shrink_heap): New memory_heap_less probe.
24767 (heap_trim): New memory_heap_free probe.
24768 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24769 (systrim): New memory_sbrk_less probe.
24770 * manual/probes.texi: Document them.
24771
655673f3
AO
24772 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24773 * manual/probes.texi: Document it.
24774
35fed6f1
AO
24775 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24776 (__libc_realloc): Add memory_realloc_retry probe.
24777 (__libc_memalign): Add memory_memalign_retry probe.
24778 (__libc_valloc): Add memory_valloc_retry probe.
24779 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24780 (__libc_calloc): Add memory_calloc_retry probe.
24781 * manual/probes.texi: Document them.
24782
6999d38c
AO
24783 * malloc/arena.c (get_free_list): Add probe
24784 memory_arena_reuse_free_list.
24785 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24786 and memory_arena_reuse.
24787 (arena_get2) [!PER_THREAD]: Likewise.
24788 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24789 memory_arena_reuse_realloc.
24790 * manual/probes.texi: Document them.
24791
0653427f
AO
24792 * malloc/malloc.c (__libc_free): Add
24793 memory_mallopt_free_dyn_thresholds probe.
24794 (__libc_mallopt): Add multiple memory_mallopt probes.
24795 * manual/probes.texi: Document them.
24796
3ea5be54
AO
24797 * malloc/malloc.c: Include stap-probe.h.
24798 (__libc_mallopt): Add memory_mallopt probe.
24799 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24800 * manual/probes.texi: New.
24801 * manual/Makefile (chapters): Add probes.
24802 * manual/threads.texi: Set next node.
24803
e35696c3 248042013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24805
e35696c3
CL
24806 [BZ #15963, #13985]
24807 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24808 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24809 Add `Chinese' to `nan' entry name.
24810
4aafb73c
SP
248112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24812
24813 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24814 (POLYNOMIAL): Likewise.
24815 (TAYLOR_SINCOS): Likewise.
24816 (TAYLOR_SLOW): Likewise.
24817 (__sin): Use TAYLOR_SINCOS.
24818 (__cos): Likewise.
24819 (slow): Use TAYLOR_SLOW.
24820 (sloww): Likewise.
24821 (bsloww): Likewise.
24822 (csloww): Likewise.
24823
d84f25c7
LD
248242013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24825
24826 * stdlib/strtod_l.c: Fix buffer overrun.
24827
5eea0404
SP
248282013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24829
7849ff93
SP
24830 * benchtests/Makefile (bench): Add sincos.
24831 * benchtests/bench-sincos.c: New file.
24832
cfa3c886
SP
24833 * math/libm-test.inc (cos_test_data): New test inputs.
24834 (sin_test_data): Likewise.
24835
b348e1e3
SP
24836 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24837 macro.
24838 (__sin): Use it.
24839 (__cos): Likewise.
24840 (slow1): Likewise.
24841 (slow2): Likewise.
24842 (sloww1): Likewise.
24843 (sloww2): Likewise.
24844 (bsloww1): Likewise.
24845 (bsloww2): Likewise.
24846 (cslow2): Likewise.
24847 (csloww1): Likewise.
24848 (csloww2): Likewise.
24849
6cce25f8
SP
24850 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24851 function.
24852 (__sin): Use it.
24853 (__cos): Likewise.
24854
5eea0404
SP
24855 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24856 gotos.
24857 (__cos): Likewise.
24858
9c21573c
MR
248592013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24860
24861 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24862 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24863 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24864 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24865 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24866 * elf/cache.c (print_entry): Handle the new cache flags.
24867
24d22e65
JM
248682013-09-18 Joseph Myers <joseph@codesourcery.com>
24869 Aldy Hernandez <aldyh@redhat.com>
24870
24871 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24872 Change condition to [_SOFT_FLOAT].
24873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24885 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24888 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24889 declaration.
24890
d13ef066
JM
248912013-09-18 Joseph Myers <joseph@codesourcery.com>
24892
2e071de0
JM
24893 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24894 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24895 (__longjmp): Use LOAD_GP to load saved GPRs.
24896 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24897 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24898 (__sigsetjmp): Use SAVE_GP to save GPRs.
24899
d13ef066
JM
24900 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24901 Do not append -msoft-float.
24902 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24903
97a0650b
SP
249042013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24905
24906 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24907
11ca09e9
JM
249082013-09-17 Joseph Myers <joseph@codesourcery.com>
24909
24910 [BZ #15966]
24911 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24912 (_FPU_GETCW): Use initial "__" on variable and field names but not
24913 on macro parameter name.
24914 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24915 parentheses around reference to macro parameter.
24916
08ffcf34
RS
249172013-09-13 Richard Sandiford <richard@codesourcery.com>
24918
24919 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24920 prototype.
24921 (ctype_startup): Use uint32_t in cast and sizeof for
24922 ctype->charnames.
24923
ae7080d3
JL
249242013-09-11 Jia Liu <proljc@gmail.com>
24925
24926 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24927 __daddr_t_defined.
24928 [__FreeBSD__]: Likewise.
24929
5905e7b3
OB
249302013-09-11 Ondřej Bílka <neleai@seznam.cz>
24931
24932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24933 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24934 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24935 (strchr): Remove __strchr_sse42 ifunc selection.
24936 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24937 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24938
b987c776
WN
249392013-09-11 Will Newton <will.newton@linaro.org>
24940
24941 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24942 parameter to RES. Remove hardcoded 1000 value.
24943 * benchtests/bench-skeleton.c (main): Pass RES parameter
24944 to TIMING_INIT and multiply result by 1000.
24945
ddf985af
AZ
249462013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24947
24948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24949
ffdd3181
AS
249502013-09-11 Andreas Schwab <schwab@suse.de>
24951
24952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24953 if not defined.
24954 (O_TMPFILE) [__USE_GNU]: Define.
24955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24956 Define.
24957
b73ed247
WN
249582013-09-11 Will Newton <will.newton@linaro.org>
24959
24960 [BZ #15857]
24961 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24962 does not overflow.
24963
55e17aad
WN
249642013-09-11 Will Newton <will.newton@linaro.org>
24965
24966 [BZ #15856]
24967 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24968 does not overflow.
24969
1159a193
WN
249702013-09-11 Will Newton <will.newton@linaro.org>
24971
24972 [BZ #15855]
24973 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24974 does not overflow.
24975
5905e7b3 249762013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24977
24978 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24983
cdfc721b
AM
249842013-09-10 Allan McRae <allan@archlinux.org>
24985
aa04af00
AM
24986 [BZ #15748]
24987 * manual/arith.texi (Parsing of Floats): Clarify
24988 cross-reference.
24989
cdfc721b
AM
24990 [BZ #15849]
24991 * manual/install.texi (Running make install): Mention
24992 --enable-pt-chown.
24993 * INSTALL: Regenerated.
24994
95e7cf29
MR
249952013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24996
24997 * csu/init-first.c (_init): Remove the !SHARED condition around
24998 FPU control word initialization.
24999 * elf/dl-support.c (_dl_fpu_control): New variable.
25000 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25001 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25002 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25003 * math/test-fpucw-static.c: New file.
25004 * math/test-fpucw-ieee.c: New file.
25005 * math/test-fpucw-ieee-static.c: New file.
25006 * math/Makefile (tests): Add `test-fpucw-ieee' and
25007 `$(tests-static)'.
25008 (tests-static): New variable.
25009 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25010 dependency to...
25011 [($(build-shared),yes)]
25012 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25013 ... this.
25014 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25015 New dependency.
25016
83e43bf0
AM
250172013-09-09 Allan McRae <allan@archlinux.org>
25018
a9f5ce09
AM
25019 [BZ #15939]
25020 * manual/string.texi (Collation Functions): Fix typo in
25021 strcoll example.
25022 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25023
34829bc2
AM
25024 [BZ #15893]
25025 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25026
3932737d
AM
25027 [BZ #15892]
25028 * libio/memstream.c (open_memstream): Fix memory leak.
25029 * libio/wmemstream.c (open_wmemstream): Likewise.
25030
83e43bf0
AM
25031 [BZ #15895]
25032 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25033
0c66b8e9
WN
250342013-09-09 Will Newton <will.newton@linaro.org>
25035
25036 * malloc/Makefile: Add tst-realloc to tests.
25037 * malloc/tst-realloc.c: New file.
25038
f6b00fd1
AM
250392013-09-09 Allan McRae <allan@archlinux.org>
25040
25041 [BZ #15844]
25042 * COPYING: Update from GNU website to fix FSF address.
25043 * COPYING.LIB: Likewise.
25044
eec55e16
DM
250452013-09-06 David S. Miller <davem@davemloft.net>
25046
25047 * po/zh_TW.po: Update Chinese (traditional) translation from
25048 translation project.
25049
1ecbb381
RS
250502013-09-06 Richard Sandiford <richard@codesourcery.com>
25051 Joseph Myers <joseph@codesourcery.com>
25052
25053 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25054 "localeinfo.h".
25055 (obstack_chunk_alloc): New macro.
25056 (obstack_chunk_free): Likewise.
25057 (record_offset): New function.
25058 (init_locale_data): Likewise.
25059 (align_locale_data): Likewise.
25060 (add_locale_empty): Likewise.
25061 (add_locale_raw_data): Likewise.
25062 (add_locale_raw_obstack): Likewise.
25063 (add_locale_string): Likewise.
25064 (add_locale_wstring): Likewise.
25065 (add_locale_uint32): Likewise.
25066 (add_locale_uint32_array): Likewise.
25067 (add_locale_char): Likewise.
25068 (start_locale_structure): Likewise.
25069 (end_locale_structure): Likewise.
25070 (start_locale_prelude): Likewise.
25071 (end_locale_prelude): Likewise.
25072 (write_locale_data): Take locale_file structure rather than an
25073 iovec.
25074 * locale/programs/locfile.h: Include "obstack.h".
25075 (struct locale_file): Change to store locale file contents instead
25076 of header.
25077 (init_locale_data): New prototype.
25078 (align_locale_data): Likewise.
25079 (add_locale_empty): Likewise.
25080 (add_locale_raw_data): Likewise.
25081 (add_locale_raw_obstack): Likewise.
25082 (add_locale_string): Likewise.
25083 (add_locale_wstring): Likewise.
25084 (add_locale_uint32): Likewise.
25085 (add_locale_uint32_array): Likewise.
25086 (add_locale_char): Likewise.
25087 (start_locale_structure): Likewise.
25088 (end_locale_structure): Likewise.
25089 (start_locale_prelude): Likewise.
25090 (end_locale_prelude): Likewise.
25091 (write_locale_data): Update prototype.
25092 * locale/programs/3level.h (struct TABLE): Remove result field.
25093 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25094 Use new locale_file interface.
25095 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25096 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25097 * locale/programs/ld-address.c (address_output): Use new
25098 locale_file interface.
25099 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25100 NO_ADD_LOCALE.
25101 (collate_finish): Don't call collseq_table_finalize.
25102 (collate_output): Use new locale_file interface.
25103 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25104 in file.
25105 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25106 (TABLE): Move defines earlier in file.
25107 (ELEMENT): Likewise.
25108 (DEFAULT): Likewise.
25109 (wctrans_table_add): Move macro and inline function earlier in
25110 file.
25111 (struct wctype_table): Move type earlier in file.
25112 (add_locale_wctype_table): New static prototype.
25113 (struct locale_ctype_t): Use logical types instead of struct iovec
25114 pointers for members.
25115 (ctype_output): Use new locale_file interface.
25116 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25117 new locale_file interface.
25118 (allocate_arrays): Update for use of new locale_file interface.
25119 * locale/programs/ld-identification.c (identification_output): Use
25120 new locale_file interface.
25121 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25122 * locale/programs/ld-messages.c (messages_output): Likewise.
25123 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25124 * locale/programs/ld-name.c (name_output): Likewise.
25125 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25126 * locale/programs/ld-paper.c (paper_output): Likewise.
25127 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25128 * locale/programs/ld-time.c (time_output): Likewise.
25129
e029e2e5
AZ
251302013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25131
25132 * benchtests/Makefile: Add memrchr benchmark.
25133 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25134 benchmark as memrchr.
25135 * benchtests/bench-memrchr-ifunc.c: New file.
25136 * benchtests/bench-memrchr.c: New file.
25137
bbf6e8e4
WN
251382013-09-06 Will Newton <will.newton@linaro.org>
25139
25140 * benchtests/Makefile (string-bench): Add memcpy.
25141
6c82a2f8
CD
251422013-09-05 Carlos O'Donell <carlos@redhat.com>
25143 Cong Wang <amwang@redhat.com>
25144
e732c5f0 25145 [BZ #15850]
6c82a2f8
CD
25146 * sysdeps/unix/sysv/linux/bits/in.h
25147 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25148 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25149 before __USE_KERNEL_IPV6_DEFS uses.
25150 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25151 IPPROTO_BEETPH.
25152 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25153 sockaddr_in6, or ipv6_mreq.
25154
5430fc65
AZ
251552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25156
25157 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25158 memory access for final bytes in some large inputs.
25159 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25160
4660856c
AZ
251612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25162
25163 * string/test-memrchr.c: New file.
25164 * string/test-memrchr-ifunc.c: New file.
25165 * string/Makefile: Add new memrchr testcase.
25166
bb8ea713
MF
251672013-09-05 Mike Frysinger <vapier@gentoo.org>
25168
25169 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25170 fanotify_init returns EPERM.
25171
b92a20b5
JM
251722013-09-04 Joseph Myers <joseph@codesourcery.com>
25173
25174 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25175 errors.
25176 (top level): Treat second token from macro or constant entries for
25177 allowed headers as allowed.
25178 * include/complex.h: Condition internal declarations on
25179 [!_ISOMAC].
25180 * include/fenv.h: Condition include of <stdbool.h> and internal
25181 declarations on [!_ISOMAC].
7447ccd9
CL
25182
251832013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25184
3e181dda 25185 [BZ #15923]
7447ccd9
CL
25186 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25187
3f2e46a4
JM
251882013-09-04 Joseph Myers <joseph@codesourcery.com>
25189
25190 * configure.in (--enable-versioning): Remove configure option.
25191 (libc_cv_asm_symver_directive): Remove configure test.
25192 (libc_cv_ld_version_script_option): Likewise.
25193 (VERSIONING): Remove variable and AC_SUBST.
25194 (DO_VERSIONING): Remove AC_DEFINE.
25195 * configure: Regenerated.
25196 * config.h.in (DO_VERSIONING): Remove macro.
25197 * Makerules [$(versioning) = yes]: Change conditionals to
25198 [$(build-shared) = yes].
25199 * config.make.in (versioning): Remove variable.
25200 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25201 [$(build-shared) = yes].
25202 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25203 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25204 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25205 [$(build-shared) = yes].
25206 * extra-lib.mk [$(versioning) = yes]: Likewise.
25207 * hurd/Makefile [$(versioning) = yes]: Likewise.
25208 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25209 [SHARED].
25210 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25211 [SHARED].
25212 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25213 [SHARED && !NO_HIDDEN].
25214 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25215 [SHARED].
25216 [SHARED && DO_VERSIONING]: Likewise..
25217 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25218 [$(build-shared) = yes].
25219 * manual/install.texi (--disable-versioning): Remove
25220 documentation.
25221 * INSTALL: Regenerated.
25222 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25223 to [SHARED].
25224 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25225 [$(build-shared) = yes].
25226 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25227 * sysdeps/i386/i686/multiarch/strstr-c.c
25228 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25229 [SHARED && !NO_HIDDEN].
25230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25231 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25232 * sysdeps/powerpc/powerpc32/dl-machine.c
25233 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25234 * sysdeps/powerpc/powerpc32/sysdep.h
25235 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25236 to [SHARED && PIC && !NO_HIDDEN].
25237 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25238 conditional to [SHARED].
25239
44558701
WN
252402013-09-04 Will Newton <will.newton@linaro.org>
25241
25242 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25243 * benchtests/bench-string.h: Include bench-timing.h instead
25244 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25245 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25246 call to HP_TIMING_DIFF_INIT.
25247 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25248 instead of hp-timing.h macros.
25249 * benchtests/bench-memchr.c: Likewise.
25250 * benchtests/bench-memcmp.c: Likewise.
25251 * benchtests/bench-memcpy.c: Likewise.
25252 * benchtests/bench-memmem.c: Likewise.
25253 * benchtests/bench-memmove.c: Likewise.
25254 * benchtests/bench-memset.c: Likewise.
25255 * benchtests/bench-rawmemchr.c: Likewise.
25256 * benchtests/bench-strcasecmp.c: Likewise.
25257 * benchtests/bench-strcasestr.c: Likewise.
25258 * benchtests/bench-strcat.c: Likewise.
25259 * benchtests/bench-strchr.c: Likewise.
25260 * benchtests/bench-strcmp.c: Likewise.
25261 * benchtests/bench-strcpy.c: Likewise.
25262 * benchtests/bench-strcpy_chk.c: Likewise.
25263 * benchtests/bench-strlen.c: Likewise.
25264 * benchtests/bench-strncasecmp.c: Likewise.
25265 * benchtests/bench-strncat.c: Likewise.
25266 * benchtests/bench-strncmp.c: Likewise.
25267 * benchtests/bench-strncpy.c: Likewise.
25268 * benchtests/bench-strnlen.c: Likewise.
25269 * benchtests/bench-strpbrk.c: Likewise.
25270 * benchtests/bench-strrchr.c: Likewise.
25271 * benchtests/bench-strspn.c: Likewise.
25272 * benchtests/bench-strstr.c: Likewise.
25273
cae16d66
WN
252742013-09-04 Will Newton <will.newton@linaro.org>
25275
25276 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25277
ffa3cd7f
JM
252782013-09-03 Joseph Myers <joseph@codesourcery.com>
25279
25280 [BZ #15427]
25281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25282 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25283 * math/libm-test.inc (lgamma_test_data): Add more tests.
25284 * sysdeps/i386/fpu/libm-test-ulps: Update.
25285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25286
8f02859f
OB
252872013-09-03 Ondřej Bílka <neleai@seznam.cz>
25288
25289 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25291 Add ifunc.
25292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25293 Add strcmp-sse2-unaligned
25294 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25295
18d43716
MF
252962013-09-02 Mike Frysinger <vapier@gentoo.org>
25297
25298 * Versions.def (libc): Add GLIBC_2.19.
25299
ac444012
MF
253002013-09-02 Mike Frysinger <vapier@gentoo.org>
25301
25302 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25303 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25304
b7835e32
JM
253052013-09-02 Joseph Myers <joseph@codesourcery.com>
25306
25307 [BZ #14155]
25308 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25309 intermediate calculations in recurrence.
25310 (__ieee754_ynf): Likewise.
25311 * math/libm-test.inc (jn_test_data): Do not allow spurious
25312 underflow exception. Add more tests.
25313 (yn_test_data): Add more tests.
25314 * sysdeps/i386/fpu/libm-test-ulps: Update.
25315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25316
8220f4f0
OB
253172013-09-02 Ondřej Bílka <neleai@seznam.cz>
25318
25319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25320
f24a6d08
OB
253212013-08-30 Ondřej Bílka <neleai@seznam.cz>
25322
25323 * csu/init-first.c: Fix then/than typos.
25324 * locale/programs/ld-collate.c: Likewise.
25325 * locale/programs/linereader.h: Likewise.
25326 * manual/charset.texi: Likewise.
25327 * manual/filesys.texi: Likewise.
25328 * manual/stdio.texi: Likewise.
25329 * manual/string.texi: Likewise.
25330 * stdlib/fmtmsg.c: Likewise.
25331 * sysdeps/i386/stpncpy.S: Likewise.
25332 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25333 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25334 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25335 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25336
382466e0
OB
253372013-08-30 Ondřej Bílka <neleai@seznam.cz>
25338
25339 * elf/dl-open.c: Fix typos.
25340 * iconvdata/gbbig5.c: Likewise.
25341 * iconvdata/iso-2022-jp.c: Likewise.
25342 * iconv/gconv_int.h: Likewise.
25343 * iconv/loop.c: Likewise.
25344 * nis/rpcsvc/nis.h: Likewise.
25345 * resolv/ns_name.c: Likewise.
25346 * stdio-common/vfscanf.c: Likewise.
25347 * streams/stropts.h: Likewise.
25348 * sunrpc/rpc_thread.c: Likewise.
25349 * sysdeps/i386/strpbrk.S: Likewise.
25350 * sysdeps/ieee754/k_standard.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25353 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25354 * sysdeps/mach/hurd/profil.c: Likewise.
25355 * sysdeps/s390/dl-procinfo.h: Likewise.
25356 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25357 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25358 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25359 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25361
0186c6e9
OB
253622013-08-30 Ondřej Bílka <neleai@seznam.cz>
25363
25364 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25366
d4e16af1
OB
253672013-08-29 Ondřej Bílka <neleai@seznam.cz>
25368
25369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25370 aix specific files.
25371 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25372 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25373 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25374 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25375 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25376 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25377 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25379
88335980
TS
253802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25381 Roland McGrath <roland@hack.frob.com>
25382
25383 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25384 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25385
ed479b02
ST
253862013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25387
25388 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25389 __executable_start symbol instead of _start.
25390
f1cc4c86
TS
253912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25392
d821f07c
TS
25393 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25394 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25395 Move macros to...
25396 * sysdeps/gnu/ldsodefs.h: ... this new file.
25397
c54290cf
TS
25398 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25399 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25400 instead of ELFOSABI_LINUX.
25401
0007fc9b 25402 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25403 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25404 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25405 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25406 Likewise.
25407 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25408 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25410 Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25412 (ibm_extended_long_double): Add ieee_nan member.
25413 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25414 (do_test): New function.
25415
f1cc4c86
TS
25416 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25417 TEST_TRUNC.
25418 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25419 functions, renamed from truncdfsf_test, trunctfsf_test,
25420 trunctfdf_test.
25421 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25422 functions.
25423 (do_test): Run all these.
25424
6f65e668
OB
254252013-08-29 Ondřej Bílka <neleai@seznam.cz>
25426
25427 * argp/argp-help.c: Fix typos.
25428 * argp/argp-parse.c: Likewise.
25429 * debug/backtracesyms.c: Likewise.
25430 * elf/elf.h: Likewise.
25431 * malloc/malloc.c: Likewise.
25432 * nis/nis_print.c: Likewise.
25433 * resolv/res_comp.c: Likewise.
25434 * stdlib/stdlib.h: Likewise.
25435 * sunrpc/clnt_tcp.c: Likewise.
25436 * sunrpc/clnt_udp.c: Likewise.
25437 * sunrpc/clnt_unix.c: Likewise.
25438 * sysdeps/unix/bsd/ptsname.c: Likewise.
25439 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25442 Likewise.
25443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25444 Likewise.
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25446 Likewise.
6f65e668
OB
25447 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25448
3a309239
SP
254492013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25450
25451 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25453
3b813b29
MF
254542013-08-27 Mike Frysinger <vapier@gentoo.org>
25455
25456 [BZ #15897]
25457 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25458 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25459 ($(objpfx)bug-dl-leaf): New rule.
25460 ($(objpfx)bug-dl-leaf.so): Likewise.
25461 ($(objpfx)bug-dl-leaf.out): Likewise.
25462 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25463 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25464 * dlfcn/bug-dl-leaf.c: New test.
25465 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25466 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25467 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25468 (dlclose): Likewise.
25469 (dlmopen): Likewise.
25470
8cc3269f
RM
254712013-08-27 Roland McGrath <roland@hack.frob.com>
25472
7f9d0034
RM
25473 * include/netdb.h [!_ISOMAC]:
25474 Don't include <tls.h>.
25475 (h_errno, __libc_h_errno): Move declaration and macros out of
25476 [_LIBC_REENTRANT].
25477
fb431262
RM
25478 * include/resolv.h [_RESOLV_H_]:
25479 Don't include <tls.h>.
25480 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25481 * resolv/res_libc.c: Don't include <tls.h>.
25482 (_res): Use __attribute__ ((nocommon)) in place of
25483 __attribute__ ((section (".bss"))).
25484
bd81123a
RM
25485 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25486 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25487
c4e42566
RM
25488 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25489
f890a59b
RM
25490 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25491 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25492
25493 * resolv/res_mkquery.c: Include <sys/time.h>.
25494
5d1f0a09
RM
25495 * inet/ifreq.c: Moved to ...
25496 * sysdeps/unix/ifreq.c: ... here.
25497 * inet/ifreq.c: New file, true stub version.
25498
6fcf28b3
RM
25499 * socket/sa_len.c: New file.
25500 * socket/Makefile (aux): Add it.
25501 * sysdeps/unix/sysv/linux/Makefile
25502 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25503 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25504 and #include <socket/sa_len.c>.
25505 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25506 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25507
e041fb8b
RM
25508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25509 * bits/socket.h: ... here.
25510
8cc3269f
RM
25511 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25512 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25513 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25514
5d228a43
AS
255152013-08-27 Andreas Schwab <schwab@suse.de>
25516
45b8accc
AS
25517 [BZ #15736]
25518 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25519 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25520 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25521 * string/test-strcasecmp.c (test_main): Run tests in several
25522 locales.
25523 * string/test-strncasecmp.c (test_main): Likewise.
25524
5d228a43
AS
25525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25526 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25527 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25529 (__strncasecmp_ssse3) [PIC]: Likewise.
25530
59d112a4
RM
255312013-08-26 Roland McGrath <roland@hack.frob.com>
25532
53234cc3
RM
25533 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25534
59d112a4
RM
25535 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25536 instead of explicitly declaring xdecrypt.
25537 * nis/nss_nis/nis-publickey.c: Likewise.
25538
595aba70
SP
255392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25540
25541 [BZ #15890]
25542 * nscd/aicache.c: Include res_hconf.h.
25543 (addhstaiX): Initialize res_hconf.
25544
ffabd393
AS
255452013-08-26 Andreas Schwab <schwab@suse.de>
25546
25547 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25548 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25549
e0a69f5c
SP
255502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25551
25552 * nscd/aicache.c (addhstaiX): Fix indentation.
25553
8c12f01d
MF
255542013-08-25 Mike Frysinger <vapier@gentoo.org>
25555
25556 * configure.ac: Quote $build_pt_chown test.
25557 * configure: Regenerated.
25558
8fe89494
JM
255592013-08-23 Joseph Myers <joseph@codesourcery.com>
25560
25561 [BZ #15532]
25562 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25563 * math/s_cexpf.c (__cexpf): Likewise.
25564 * math/s_cexpl.c (__cexpl): Likewise.
25565 * math/libm-test.inc (cexp_test_data): Correct expected return
25566 value for NaN + i0. Add another test.
25567
75b181d6
DM
255682013-08-22 David S. Miller <davem@davemloft.net>
25569
25570 * po/ca.po: Update Catalan translation from translation project.
936241e4 25571 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25572
acd06bb1
JM
255732013-08-21 Joseph Myers <joseph@codesourcery.com>
25574
25575 [BZ #15797]
25576 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25577 is infinite, not alongside NaN test.
25578 * math/s_fdimf.c (__fdimf): Likewise.
25579 * math/s_fdiml.c (__fdiml): Likewise.
25580 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25581 errno is unchanged.
25582
c0c3f78a
OB
255832013-08-21 Ondřej Bílka <neleai@seznam.cz>
25584
25585 * argp/argp-help.c: Fix typos.
25586 * crypt/speeds.c: Likewise.
25587 * csu/check_fds.c: Likewise.
25588 * elf/dl-load.c: Likewise.
25589 * elf/dl-open.c: Likewise.
25590 * elf/reldep3.c: Likewise.
25591 * elf/reldep.c: Likewise.
25592 * elf/sprof.c: Likewise.
25593 * iconv/iconv_charmap.c: Likewise.
25594 * iconv/skeleton.c: Likewise.
25595 * iconv/strtab.c: Likewise.
25596 * io/lockf64.c: Likewise.
25597 * libio/libioP.h: Likewise.
25598 * resolv/gai_notify.c: Likewise.
25599 * resolv/ns_name.c: Likewise.
25600 * resolv/ns_samedomain.c: Likewise.
25601 * resolv/res_send.c: Likewise.
25602 * stdlib/random.c: Likewise.
25603 * sunrpc/rpc/xdr.h: Likewise.
25604 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25612 * sysdeps/mach/hurd/check_fds.c: Likewise.
25613 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25614 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25616 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25617 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25618 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25619 * sysdeps/pthread/aio_notify.c: Likewise.
25620 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25621 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25622 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25624 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25625
46ed1038
LD
256262013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25627
25628 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25629 version if bit_Slow_SSE4_2 is set.
25630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25632
d400dcac
AZ
256332013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25634
25635 [BZ #15867]
25636 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25637 trampoline stack frame information.
25638 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25640 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25641 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25642 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25643 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25644 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25645 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25646 sa_flags value.
25647 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25648 interrupting a syscall and set with option SA_SIGINFO.
25649
42c8fdd8
JM
256502013-08-20 Joseph Myers <joseph@codesourcery.com>
25651
c980f2f4
JM
25652 [BZ #15531]
25653 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25654 argument is infinite.
25655 * math/s_cprojf.c (__cprojf): Likewise.
25656 * math/s_cprojl.c (__cprojl): Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25658 * math/libm-test.inc (cproj_test_data): Add more tests.
25659
0716c4fc
JM
25660 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25661
42c8fdd8
JM
25662 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25663 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25664 size. Use __ffs to determine corresponding shift.
25665
b31469d0
JM
256662013-08-20 Joseph Myers <joseph@codesourcery.com>
25667 Roland McGrath <roland@hack.frob.com>
25668
25669 * Makefile (INSTALL): Remove trailing blank lines from output of
25670 makeinfo.
25671
4e39af6e
AK
256722013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25673
25674 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25675 Align 32 bit compat elf_greg to 8 bytes.
25676
f315524e
AA
256772013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25678
25679 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25680
1326ba1a
SP
256812013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25682
25683 * string/strcoll_l.c (coll_seq): New structure.
25684 (get_next_seq_cached): New function.
25685 (get_next_seq): New function.
25686 (do_compare): New function.
25687 (STRCOLL): Use GNU style definition. Simplify implementation
25688 by using get_next_seq, get_next_seq_cached and do_compare.
25689
91ce4085
FW
256902013-08-16 Florian Weimer <fweimer@redhat.com>
25691
25692 [BZ #14699]
25693 CVE-2013-4237
25694 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25695 member.
25696 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25697 member.
25698 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25699 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25700 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25701 conditional.
25702 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25703 GETDENTS_64BIT_ALIGNED.
25704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25705 * manual/filesys.texi (Reading/Closing Directory): Document
25706 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25707 strongly.
25708 * manual/conf.texi (Limits for Files): Add portability note to
25709 NAME_MAX, PATH_MAX.
25710 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25711
ca0a6bc4
AS
257122013-08-13 Andreas Schwab <schwab@suse.de>
25713
25714 [BZ #15749]
25715 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25716 of fabs.
25717 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25718 LDBL_MAX_EXP >= 16384]: Add tests for it.
25719
6c1fd795
DM
257202013-08-12 David S. Miller <davem@davemloft.net>
25721
25722 * version.h (RELEASE): Set to "development".
25723 (VERSION): Set to "2.18.90".
25724 * NEWS: Add 2.19 section.
25725
31ad488d
DM
257262013-08-03 David S. Miller <davem@davemloft.net>
25727
25728 * po/ko.po: Update Korean translation from translation project.
25729
db24e684
DM
257302013-08-01 David S. Miller <davem@davemloft.net>
25731
25732 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25733 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25734 Bilka.
25735
f723285b
DM
257362013-07-30 David S. Miller <davem@davemloft.net>
25737
25738 * po/fr.po: Update French translation from translation project.
25739
3cbc52db
DM
257402013-07-28 David S. Miller <davem@davemloft.net>
25741
30bbc0cc
DM
25742 * po/cs.po: Update Czech translation from translation project.
25743
3cbc52db
DM
25744 * po/sv.po: Update Swedish translation from translation project.
25745
d492e6d0
DM
257462013-07-27 David S. Miller <davem@davemloft.net>
25747
f1a7f492
DM
25748 * po/eo.po: Update Esperanto translation from translation project.
25749
90e62a4a
DM
25750 * po/vi.po: Update Vietnamese translation from translation project.
25751
d492e6d0
DM
25752 * po/de.po: Update German translation from translation project.
25753
d4baa62d
DM
257542013-07-26 David S. Miller <davem@davemloft.net>
25755
641aa7b4
DM
25756 * po/bg.po: Update Bulgarian translation from translation project.
25757
d4baa62d
DM
25758 * po/nl.po: Update Dutch translation from translation project.
25759 * po/pl.po: Update Polish translation from translation project.
25760 * po/ru.po: Update Russian translation from translation project.
25761
61a9dcb9
DM
257622013-07-24 David S. Miller <davem@davemloft.net>
25763
25764 * po/libc.pot: Update.
25765
7b1f8b58
AZ
257662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25767
25768 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25769 variable page size.
25770 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25771 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25772 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25773
a8fc7a03
AK
257742013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25775
25776 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25777
e4608715
CD
257782013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25779 Andreas Schwab <schwab@suse.de>
25780 Roland McGrath <roland@hack.frob.com>
25781 Joseph Myers <joseph@codesourcery.com>
25782 Carlos O'Donell <carlos@redhat.com>
25783
25784 [BZ #15755]
25785 * config.h.in: Define HAVE_PT_CHOWN.
25786 * config.make.in (build-pt-chown): New variable.
25787 * configure.in (--enable-pt_chown): New configure option.
25788 * configure: Regenerate.
25789 * login/Makefile: Include Makeconfig. Build pt_chown only if
25790 build-pt-chown is enabled.
25791 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25792 pt_chown to fix pty ownership.
25793 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25794 CLOSE_ALL_FDS.
25795 * manual/install.texi (Configuring and compiling): Mention
25796 --enable-pt_chown. Add @findex for grantpt.
25797 * INSTALL: Regenerate.
25798
da2d62df
DM
257992013-07-20 David S. Miller <davem@davemloft.net>
25800
25801 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25802 difference between 32-bit and 64-bit.
25803
d7e06450
CD
258042013-07-15 Carlos O'Donell <carlos@redhat.com>
25805
25806 [BZ #15711]
25807 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25808 Avoid system header dependency with -ffreestanding.
25809 ($(objpfx)bits/syscall%d): Likewise.
25810
f959cfd7
DM
258112013-07-13 David S. Miller <davem@davemloft.net>
25812
25813 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25814 underflows from atanl/atan2l due to bug 15319.
25815 (casinh_test_data): Likewise.
25816
c61f8513
DM
258172013-07-07 David S. Miller <davem@davemloft.net>
25818
25819 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25820
72c90ed0
JA
258212013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25822
25823 * sysdeps/i386/fpu/libm-test-ulps: Update.
25824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25825
52dfbe13
SP
258262013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25827
25828 * configure.in (--enable-lock-elision): Fix message text.
25829 * INSTALL: Regenerate.
25830 * configure: Regenerate.
25831
3f169543
AZ
258322013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25833
25834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25835
521c6785
AJ
258362013-07-03 Andreas Jaeger <aj@suse.de>
25837
25838 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25839 define.
25840 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25841 (ptrace_peeksiginfo_args): Add.
25842 (__ptrace_peeksiginfo_flags): Add.
25843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25846
d2cc15cb
AM
258472013-07-03 Allan McRae <allan@archlinux.org>
25848
25849 * sysdeps/i386/fpu/libm-test-ulps: Update.
25850
3aaeeca7
DM
258512013-07-02 David S. Miller <davem@davemloft.net>
25852
25853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25854
5314ed1a
MT
258552013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25856
25857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25858
67338156
JM
258592013-07-02 Joseph Myers <joseph@codesourcery.com>
25860
25861 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25863
1717da59
AK
258642013-07-02 Andi Kleen <ak@linux.intel.com>
25865
25866 * config.h.in (ENABLE_LOCK_ELISION): Add.
25867 * configure.in (--enable-lock-elision): Add option.
25868 * manual/install.texi: Document --enable lock elision.
25869 * configure: Regenerate
25870 * INSTALL: Regenerate.
25871
1c81621c
L
258722013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25873
25874 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25875 SSE4.2 strcasecmp for libc.a.
25876 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25877
77f01ab5
JM
258782013-07-02 Joseph Myers <joseph@codesourcery.com>
25879
25880 [BZ #13304]
25881 * soft-fp/op-common.h (_FP_FMA): New macro.
25882 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25883 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25884 (_FP_MUL_MEAT_1_imm): ... here.
25885 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25886 (_FP_MUL_MEAT_1_wide): ... here.
25887 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25888 (_FP_MUL_MEAT_1_hard): ... here.
25889 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25890 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25891 (_FP_MUL_MEAT_2_wide): ... here.
25892 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25893 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25894 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25895 (_FP_MUL_MEAT_2_gmp): ... here.
25896 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25897 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25898 (_FP_MUL_MEAT_4_wide): ... here.
25899 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25900 (_FP_MUL_MEAT_4_gmp): ... here.
25901 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25902 (_FP_WFRACBITS_DW_S): Likewise.
25903 (_FP_WFRACXBITS_DW_S): Likewise.
25904 (_FP_HIGHBIT_DW_S): Likewise.
25905 (FP_FMA_S): Likewise.
25906 (_FP_FRAC_HIGH_DW_S): Likewise.
25907 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25908 (_FP_WFRACBITS_DW_D): Likewise.
25909 (_FP_WFRACXBITS_DW_D): Likewise.
25910 (_FP_HIGHBIT_DW_D): Likewise.
25911 (FP_FMA_D): Likewise.
25912 (_FP_FRAC_HIGH_DW_D): Likewise.
25913 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25914 (_FP_WFRACBITS_DW_E): Likewise.
25915 (_FP_WFRACXBITS_DW_E): Likewise.
25916 (_FP_HIGHBIT_DW_E): Likewise.
25917 (FP_FMA_E): Likewise.
25918 (_FP_FRAC_HIGH_DW_E): Likewise.
25919 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25920 (_FP_WFRACBITS_DW_Q): Likewise.
25921 (_FP_WFRACXBITS_DW_Q): Likewise.
25922 (_FP_HIGHBIT_DW_Q): Likewise.
25923 (FP_FMA_Q): Likewise.
25924 (_FP_FRAC_HIGH_DW_Q): Likewise.
25925 * soft-fp/fmasf4.c: New file.
25926 * soft-fp/fmadf4.c: Likewise.
25927 * soft-fp/fmatf4.c: Likewise.
25928
6308fd9a
LD
259292013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25930
25931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25932 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25933 Silvermont.
25934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25935 macro.
25936 (index_Slow_SSE4_2): Likewise.
25937 (index_Prefer_PMINUB_for_stringop): Likewise.
25938 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25939 bit_Slow_SSE4_2 is set.
25940 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25942
89cd9569
RA
259432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25944
25945 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25946 rtld_global._dl_hwcap2.
25947 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25948 POWER8.
25949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25950 POWER8 feature descriptions defined in _dl_hwcap2.
25951 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25952 string handling for POWER8 feature bits.
25953 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25954 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25955 _dl_powerpc_cap_flags.
25956 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25957 * sysdeps/powerpc/rtld-global-offsets.sym
25958 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25959 _dl_hwcap2 in the rtld_global_ro structure.
25960
1ae8bfe0
RA
259612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25962
25963 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25964 hardware capabilities in support of AT_HWCAP2.
25965 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25966 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25967 GLRO(dl_hwcap2).
25968 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25969 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25970 explicitly the unknown a_type display mechanism is used.
25971 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25972 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25973 struct member.
25974 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25975 to macro prototype for AT_HWCAP2 support.
25976 * sysdeps/i386/dl-procinfo.h: Likewise.
25977 * sysdeps/s390/dl-procinfo.h: Likewise.
25978 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25979 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25980 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25981 return -1 for unknown a_type display fallback.
25982 * sysdeps/sparc/dl-procinfo.h: Likewise.
25983 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25984 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25985
8fbec010
JM
259862013-06-28 Joseph Myers <joseph@codesourcery.com>
25987
25988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25989 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25990
0432680e
PY
259912013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25992
25993 [BZ #12492]
25994 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25995 mprotect making __stack_prot writable.
25996
ce61a2ad
NF
259972013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25998 Joseph Myers <joseph@codesourcery.com>
25999
26000 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26001 as being properly aligned.
26002
f91f1c0f
MR
260032013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26004
3d0f5d0c
MR
26005 * dlfcn/modstatic5.c: New file.
26006 * dlfcn/tststatic5.c: New file.
26007 * dlfcn/Makefile (tests): Add tststatic5.
26008 (tests-static): Likewise.
26009 (modules-names): Add modstatic5.
26010 (tststatic5-ENV): New variable.
26011 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26012
f91f1c0f
MR
26013 [BZ #15022]
26014 * elf/dl-support.c (_dl_main_map): New variable.
26015 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26016 (_dl_nns, _dl_load_adds): Set to 1.
26017 (_dl_initial_searchlist): Refer to _dl_main_map.
26018 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26019 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26020 call to _dl_get_origin.
26021 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26022 around call_map.
26023 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26024 * dlfcn/modstatic3.c: New file.
26025 * dlfcn/tststatic3.c: New file.
26026 * dlfcn/tststatic4.c: New file.
26027 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26028 (tests-static): Likewise.
26029 (modules-names): Add modstatic3.
26030 (tststatic3-ENV, tststatic4-ENV): New variables.
26031 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26032 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26033
cbe7d24b
JM
260342013-06-26 Joseph Myers <joseph@codesourcery.com>
26035
26036 * configure.in (CC): Require GCC version 4.4 or later.
26037 * configure: Regenerated.
26038 * manual/install.texi (Tools for Compilation): Update GCC version
26039 requirement.
26040 * INSTALL: Regenerated.
26041
11b8a0e1
LD
260422013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26043
26044 [BZ #15674]
bb5bb87c
L
26045 * string/test-memcmp.c (check2): New.
26046 (main): Call check2.
26047
11b8a0e1
LD
26048 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26049
b0037103
MR
260502013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26051
26052 [BZ #15022]
26053 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26054 over to...
26055 (dl_open_worker) [!SHARED]: ... here.
26056
c18c701d
RA
260572013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26058
26059 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26060
1d17fa5f
RH
260612013-06-25 Richard Henderson <rth@redhat.com>
26062
26063 * locale/programs/locarchive.c: Include <libc-internal.h>
26064
8fcb833a
JM
260652013-06-25 Joseph Myers <joseph@codesourcery.com>
26066
26067 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26068 trailing whitespace removed.
26069
17db6e8d
MF
260702013-06-24 Mike Frysinger <vapier@gentoo.org>
26071
26072 [BZ #10283]
17db6e8d
MF
26073 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26074 * locale/programs/locarchive.c: Include libc-mmap.h.
26075 (prepare_address_space): Take two new outputs (the mmap base and len).
26076 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26077 values.
26078 (create_archive): Declare new mmap base and len values for
26079 prepare_address_space, and store the result in ah.
26080 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26081 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26082 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26083 Declare new mmap base and len values for
26084 prepare_address_space, and store the result in new_ah.
26085 (open_archive): Declare new mmap base and len values for
26086 prepare_address_space, and store the result in ah.
26087 (close_archive): If ah->mmap_base is not NULL, use that and
26088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26089 * sysdeps/generic/libc-mmap.h: New file.
26090
d605071e
MF
260912013-06-24 Mike Frysinger <vapier@gentoo.org>
26092
26093 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26094 (ALIGN_UP): Likewise.
26095 (PTR_ALIGN_DOWN): Likewise.
26096 (PTR_ALIGN_UP): Likewise.
26097
2f063a6e
RA
260982013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26099
26100 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26101 entry mapped to PPC_PLATFORM_POWER8.
26102 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26103 POWER8.
26104 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26105 (_dl_string_platform): Add case for exporting platform position for
26106 POWER8.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26108 search path to sysdeps/powerpc/powerpc32/power8 directory.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26110 search path to sysdeps/powerpc/powerpc64/power8 directory.
26111 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26112 power7 directories.
26113 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26114 power7 directories.
26115
a31ee4b3
SP
261162013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
a74ca98f
SP
26118 * INSTALL: Regenerate.
26119
a31ee4b3
SP
26120 * nscd/connections.c (nscd_init): Fix comment.
26121
695c378f
JM
261222013-06-22 Joseph Myers <joseph@codesourcery.com>
26123
d8412221
JM
26124 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26125
695c378f
JM
26126 [BZ #15667]
26127 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26128 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26129
d1d54715
MR
261302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26131
26132 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26133 DL_DST_REQ_STATIC.
26134 (DL_DST_REQ_STATIC): Remove macro.
26135
8fdda7af
JM
261362013-06-21 Joseph Myers <joseph@codesourcery.com>
26137
26138 [BZ #7006]
26139 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26140 with a shift of 0 bits.
26141
f3bc5e5a
MR
261422013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26143
26144 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26145 $(tststatic-ENV).
26146
be09e8c9
KK
261472013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26148
26149 [BZ #15655]
26150 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26151
85c2e611
AZ
261522013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26153
26154 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26155 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26156 accepts -fno-tree-loop-distribute-patterns.
26157 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26158 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26159 recursive call.
26160 * string/memset.c (memset): Likewise.
26161 * string/test-memmove.c (simple_memmove): Disable loop transformation
26162 to library calls.
26163 * string/test-memset.c (simple_memset): Likewise.
26164 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26165 * benchtests/bench-memset.c (simple_memset): Likewise.
26166 * configure: Regenerated.
26167
c91e0825
JM
261682013-06-20 Joseph Myers <joseph@codesourcery.com>
26169
b8c792af
JM
26170 * math/test-misc.c (main): Ignore fesetround failure when failures
26171 of subsequent rounding tests would be ignored.
26172
c91e0825
JM
26173 [BZ #15654]
26174 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26175 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26176 * math/fegetenv.c (__fegetenv): Return 0.
26177 * math/fegetexcept.c (fegetexcept): Return 0.
26178 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26179 FE_TONEAREST.
26180 * math/feholdexcpt.c (feholdexcept): Return 0.
26181 * math/fesetenv.c (__fesetenv): Return 0.
26182 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26183 argument FE_TONEAREST.
26184 * math/feupdateenv.c (__feupdateenv): Return 0.
26185 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26186
bfcacbde
RM
261872013-06-18 Roland McGrath <roland@hack.frob.com>
26188
26189 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26190 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26191 ($(objpfx)rtld-%.os rules): Use them.
26192
e55a9b25
AZ
261932013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26194
26195 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26196 fields.
26197
346d65b3
RM
261982013-06-17 Roland McGrath <roland@hack.frob.com>
26199
12086fb4
RM
26200 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26201 length of target pattern, then descending length of dependency pattern.
26202 * configure.in (AWK): Require gawk 3.1.2 or newer.
26203 * manual/install.texi (Tools for Compilation): Say that we do.
26204 * configure: Regenerated.
26205
346d65b3
RM
26206 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26207 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26208 * scripts/sysd-rules.awk: ... this new script.
26209 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26210 than a glob-style pattern.
26211
1a846317
JM
262122013-06-17 Joseph Myers <joseph@codesourcery.com>
26213
26214 * math/test-misc.c (main): Do not treat incorrectly rounded
26215 conversions as failure unless ROUNDING_TESTS passes.
26216
8fc75e6f
JM
262172013-06-15 Joseph Myers <joseph@codesourcery.com>
26218
3711a167
JM
26219 [BZ #15631]
26220 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26221 restore exception state around main square root computation, then
26222 check for inexactness explicitly.
26223
8fc75e6f
JM
26224 * math/libm-test.inc (fma_test_data): Add another test.
26225
61dd6208
SP
262262013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26227
adf23d2c
SP
26228 * manual/threads.texi (Non-POSIX Extensions): New document
26229 node. Document pthread_getattr_default_np and
26230 pthread_setattr_default_np.
26231
61dd6208
SP
26232 * Versions.def (libpthread): Add GLIBC_2.18.
26233 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26235 Likewise.
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26237 Likewise.
26238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26239 Likewise.
26240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26241 Likewise.
26242 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26243 Likewise.
26244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26245 Likewise.
26246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26247 Likewise.
26248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26249 Likewise.
26250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26251 Likewise.
26252
d086fc7b
LD
262532013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26254
26255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26256 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26257
747ef469
SP
262582013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 H.J. Lu <hjl.tools@gmail.com>
26260
26261 [BZ #15627]
26262 * sysdeps/x86_64/rtld-memset.c: Remove file.
26263 * sysdeps/x86_64/rtld-memset.S: New file.
26264
1b2feed2
JM
262652013-06-14 Joseph Myers <joseph@codesourcery.com>
26266
26267 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26268 (test_in_one_mode): Take arguments for whether the rounding mode
26269 is supported for each floating-point type.
26270 (do_test): Pass new arguments to test_in_one_mode using
26271 ROUNDING_TESTS.
26272
a58ad3f8
RM
262732013-06-13 Roland McGrath <roland@hack.frob.com>
26274
26275 * posix/tst-waitid.c (do_test): Distinguish different instances of
26276 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26277 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26278 before entering the kernel for waitpid.
26279
c204ab28
SP
262802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26281
26282 * NEWS: Fix note on clock function precision. Text by Roland
26283 McGrath.
26284
f4a29fba
RM
262852013-06-13 Roland McGrath <roland@hack.frob.com>
26286
26287 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26288 it into place only when and if the sanity check passes.
26289
1f24b9ad
JM
262902013-06-13 Joseph Myers <joseph@codesourcery.com>
26291
26292 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26293 output for whether conversion result is exact. Take argument
26294 indicating whether type is IBM long double.
26295 (round_for_all): Change need_exact field to ibm_ld.
26296 * stdlib/tst-strtod-round.c (struct exactness): New type.
26297 (struct test): Change bool ld_ok field to struct exactness exact.
26298 (TEST): Update all definitions for change to field.
26299 (tests): Regenerate array contents.
26300 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26301 field value. Check for IBM long double here.
26302 (do_test): Update calls to test_in_one_mode.
26303
58206c68
SP
263042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26305
26306 [BZ #12515]
26307 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26308 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26309
2d6f4c5b 263102013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26311
26312 [BZ #15605]
26313 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26314 generated by the compiler on loop optimizations.
26315 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26316 general definitions.
26317
94f2c076
JM
263182013-06-12 Joseph Myers <joseph@codesourcery.com>
26319
26320 * math/bug-nextafter.c: Include <math-tests.h>.
26321 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26322 the relevant type.
26323 * math/bug-nexttoward.c: Include <math-tests.h>.
26324 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26325 the relevant type.
26326 * math/test-misc.c: Include <math-tests.h>.
26327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26328 the relevant type.
26329
e0e50a0a
AJ
263302013-06-12 Andreas Jaeger <aj@suse.de>
26331
26332 * po/ia.po: Update Interlingua translation from translation
26333 project.
26334
25061094
SP
263352013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26336
26337 * include/fenv.h: Include stdbool.h.
26338 (struct rm_ctx): New structure.
26339 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26340 Define macro.
26341 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26342 (SET_RESTORE_ROUNDF): Likewise.
26343 (SET_RESTORE_ROUNDL): Likewise.
26344 (SET_RESTORE_ROUND_NOEX): Likewise.
26345 (SET_RESTORE_ROUND_NOEXF): Likewise.
26346 (SET_RESTORE_ROUND_NOEXL): Likewise.
26347 (SET_RESTORE_ROUND_53BIT): Likewise.
26348 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26349 (libc_feresetround_noexf_ctx): Likewise.
26350 (libc_feresetround_noexl_ctx): Likewise.
26351 (libc_feholdsetround_53bit_ctx): Likewise.
26352 (libc_feresetround_53bit_ctx): Likewise.
26353 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26354 (libc_feholdexcept_setround_sse_ctx): New function.
26355 (libc_fesetenv_sse_ctx): Likewise.
26356 (libc_feupdateenv_sse_ctx): Likewise.
26357 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26358 (libc_feholdexcept_setround_387_ctx): Likewise.
26359 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26360 (libc_feholdsetround_387_prec_ctx): Likewise.
26361 (libc_feholdsetround_387_ctx): Likewise.
26362 (libc_feholdsetround_387_53bit_ctx): Likewise.
26363 (libc_feholdsetround_sse_ctx): Likewise.
26364 (libc_feresetround_sse_ctx): Likewise.
26365 (libc_feresetround_387_ctx): Likewise.
26366 (libc_feupdateenv_387_ctx): Likewise.
26367 (libc_feholdexcept_setroundf_ctx): Define macro.
26368 (libc_fesetenvf_ctx): Likewise.
26369 (libc_feupdateenvf_ctx): Likewise.
26370 (libc_feholdsetroundf_ctx): Likewise.
26371 (libc_feresetroundf_ctx): Likewise.
26372 (libc_feholdexcept_setround_ctx): Likewise.
26373 (libc_fesetenv_ctx): Likewise.
26374 (libc_feupdateenv_ctx): Likewise.
26375 (libc_feholdsetround_ctx): Likewise.
26376 (libc_feresetround_ctx): Likewise.
26377 (libc_feholdexcept_setroundl_ctx): Likewise.
26378 (libc_feupdateenvl_ctx): Likewise.
26379 (libc_feholdsetroundl_ctx): Likewise.
26380 (libc_feresetroundl_ctx): Likewise.
26381 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26382 (libc_feresetround_53bit_ctx): Likewise.
26383
59b30555
SP
263842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
26386 * locale/iso-639.def: Convert to UTF-8.
26387
f1d73d30
JM
263882013-06-11 Joseph Myers <joseph@codesourcery.com>
26389
26390 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26391 (EXCEPTION_TESTS_double): Likewise.
26392 (EXCEPTION_TESTS_long_double): Likewise.
26393 (EXCEPTION_TESTS): Likewise.
26394 * math/libm-test.inc (test_exceptions): Only test exceptions if
26395 EXCEPTION_TESTS (FLOAT).
26396
94aca5e7
SP
263972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
26399 * benchtests/Makefile (string-bench): Add strcpy_chk and
26400 stpcpy_chk.
26401 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26402 * benchtests/bench-stpcpy_chk.c: New file.
26403 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26404 * benchtests/bench-strcpy_chk.c: New file.
26405 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26406 code.
26407 (do_test): Likewise.
26408
fac0c5f2
RA
264092013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26410
26411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26412 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26413 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26414 with tabs where appropriate.
26415 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26416 dl-procinfo.h.
26417 [PPC_PLATFORM_PPC440]: Likewise.
26418 [PPC_PLATFORM_PPC464]: Likewise.
26419 [PPC_PLATFORM_PPC476]: Likewise.
26420 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26421 ppc464, and ppc476 platform strings merging from ports/
26422 dl-procinfo.h.
26423
f22bc486
AS
264242013-06-11 Andreas Schwab <schwab@suse.de>
26425
26426 [BZ #14991]
26427 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26428 (from_ucs4_idx): Regenerate.
26429 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26430 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26431 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26432 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26433 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26434 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26435 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26436 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26437 from FROM_LOOP and TO_LOOP specific macros.
26438 (BODY): Handle combining characters.
26439 * iconvdata/BIG5HKSCS.irreversible: Update.
26440 * iconvdata/BIG5HKSCS.precomposed: New file.
26441 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26442 characters.
26443 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26444
c1f75dc3
SP
264452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26446
4eacded2
SP
26447 * include/sys/time.h: Fix indentation and add copyright header.
26448
fec799f8
SP
26449 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26450 (do_test): Likewise.
26451 * string/test-memchr.c (do_one_test): Likewise.
26452 (do_test): Likewise.
26453 * string/test-memcmp.c (do_one_test): Likewise.
26454 (do_test): Likewise.
26455 * string/test-memcpy.c (do_one_test): Likewise.
26456 (do_test): Likewise.
26457 * string/test-memmem.c (do_one_test): Likewise.
26458 (do_test): Likewise.
26459 (do_random_tests): Likewise.
26460 * string/test-memmove.c (do_one_test): Likewise.
26461 (do_test): Likewise.
26462 * string/test-memset.c (do_one_test): Likewise.
26463 (do_test): Likewise.
26464 * string/test-rawmemchr.c (do_one_test): Likewise.
26465 (do_test): Likewise.
26466 * string/test-strcasecmp.c (do_one_test): Likewise.
26467 (do_test): Likewise.
26468 * string/test-strcasestr.c (do_one_test): Likewise.
26469 (do_test): Likewise.
26470 * string/test-strcat.c (do_one_test): Likewise.
26471 (do_test): Likewise.
26472 * string/test-strchr.c (do_one_test): Likewise.
26473 (do_test): Likewise.
26474 * string/test-strcmp.c (do_one_test): Likewise.
26475 (do_test): Likewise.
26476 * string/test-strcpy.c (do_one_test): Likewise.
26477 (do_test): Likewise.
26478 * string/test-string.h: Likewise.
26479 (test_init): Likewise.
26480 * string/test-strlen.c (do_one_test): Likewise.
26481 (do_test): Likewise.
26482 * string/test-strncasecmp.c (do_one_test): Likewise.
26483 (do_test): Likewise.
26484 * string/test-strncat.c (do_one_test): Likewise.
26485 (do_test): Likewise.
26486 * string/test-strncmp.c (do_one_test): Likewise.
26487 (do_test_limit): Likewise.
26488 (do_test): Likewise.
26489 * string/test-strncpy.c (do_one_test): Likewise.
26490 (do_test): Likewise.
26491 * string/test-strnlen.c (do_one_test): Likewise.
26492 (do_test): Likewise.
26493 * string/test-strpbrk.c (do_one_test): Likewise.
26494 (do_test): Likewise.
26495 * string/test-strrchr.c (do_one_test): Likewise.
26496 (do_test): Likewise.
26497 * string/test-strspn.c (do_one_test): Likewise.
26498 (do_test): Likewise.
26499 * string/test-strstr.c (do_one_test): Likewise.
26500 (do_test): Likewise.
26501
97020474
SP
26502 * benchtests/Makefile (string-bench): Add string benchmarks.
26503 * benchtests/bench-bcopy-ifunc.c: New file.
26504 * benchtests/bench-bcopy.c: New file.
26505 * benchtests/bench-bzero-ifunc.c: New file.
26506 * benchtests/bench-bzero.c: New file.
26507 * benchtests/bench-memccpy-ifunc.c: New file.
26508 * benchtests/bench-memccpy.c: New file.
26509 * benchtests/bench-memchr-ifunc.c: New file.
26510 * benchtests/bench-memchr.c: New file.
26511 * benchtests/bench-memcmp-ifunc.c: New file.
26512 * benchtests/bench-memcmp.c: New file.
26513 * benchtests/bench-memmem-ifunc.c: New file.
26514 * benchtests/bench-memmem.c: New file.
26515 * benchtests/bench-memmove-ifunc.c: New file.
26516 * benchtests/bench-memmove.c: New file.
26517 * benchtests/bench-mempcpy-ifunc.c: New file.
26518 * benchtests/bench-mempcpy.c: New file.
26519 * benchtests/bench-memset-ifunc.c: New file.
26520 * benchtests/bench-memset.c: New file.
26521 * benchtests/bench-rawmemchr-ifunc.c: New file.
26522 * benchtests/bench-rawmemchr.c: New file.
26523 * benchtests/bench-stpcpy-ifunc.c: New file.
26524 * benchtests/bench-stpcpy.c: New file.
26525 * benchtests/bench-stpncpy-ifunc.c: New file.
26526 * benchtests/bench-stpncpy.c: New file.
26527 * benchtests/bench-strcasecmp-ifunc.c: New file.
26528 * benchtests/bench-strcasecmp.c: New file.
26529 * benchtests/bench-strcasestr-ifunc.c: New file.
26530 * benchtests/bench-strcasestr.c: New file.
26531 * benchtests/bench-strcat-ifunc.c: New file.
26532 * benchtests/bench-strcat.c: New file.
26533 * benchtests/bench-strchr-ifunc.c: New file.
26534 * benchtests/bench-strchr.c: New file.
26535 * benchtests/bench-strchrnul-ifunc.c: New file.
26536 * benchtests/bench-strchrnul.c: New file.
26537 * benchtests/bench-strcmp-ifunc.c: New file.
26538 * benchtests/bench-strcmp.c: New file.
26539 * benchtests/bench-strcpy-ifunc.c: New file.
26540 * benchtests/bench-strcpy.c: New file.
26541 * benchtests/bench-strcspn-ifunc.c: New file.
26542 * benchtests/bench-strcspn.c: New file.
26543 * benchtests/bench-strlen-ifunc.c: New file.
26544 * benchtests/bench-strlen.c: New file.
26545 * benchtests/bench-strncasecmp-ifunc.c: New file.
26546 * benchtests/bench-strncasecmp.c: New file.
26547 * benchtests/bench-strncat-ifunc.c: New file.
26548 * benchtests/bench-strncat.c: New file.
26549 * benchtests/bench-strncmp-ifunc.c: New file.
26550 * benchtests/bench-strncmp.c: New file.
26551 * benchtests/bench-strncpy-ifunc.c: New file.
26552 * benchtests/bench-strncpy.c: New file.
26553 * benchtests/bench-strnlen-ifunc.c: New file.
26554 * benchtests/bench-strnlen.c: New file.
26555 * benchtests/bench-strpbrk-ifunc.c: New file.
26556 * benchtests/bench-strpbrk.c: New file.
26557 * benchtests/bench-strrchr-ifunc.c: New file.
26558 * benchtests/bench-strrchr.c: New file.
26559 * benchtests/bench-strspn-ifunc.c: New file.
26560 * benchtests/bench-strspn.c: New file.
26561 * benchtests/bench-strstr-ifunc.c: New file.
26562 * benchtests/bench-strstr.c: New file.
26563
c1f75dc3
SP
26564 * benchtests/Makefile: Disable parallel execution of targets.
26565 (string-bench): Add memcpy.
26566 (benchset): New variable to store a list of benchmark sets.
26567 (bench-func): Renamed from bench.
26568 (bench-set): New target.
26569 (bench): Depend on bench-func and bench-set.
26570 * benchtests/README: Add section on benchmark sets.
26571 * benchtests/bench-memcpy-ifunc.c: New file.
26572 * benchtests/bench-memcpy.c: New file.
26573 * benchtests/bench-string.h: New file.
26574
50fd745b
AS
265752013-06-11 Andreas Schwab <schwab@suse.de>
26576
26577 [BZ #15577]
26578 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26579 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26580 values in the triple.
26581 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26582 terminator in the group key.
26583
3ee7e9fe
AJ
265842013-06-11 Andreas Jaeger <aj@suse.de>
26585
26586 * po/zh_TW.po: Update Chinese (traditional) translation from
26587 translation project.
26588
89fb6835
SP
265892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26590
26591 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26592 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26593 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26595 (clock_getcpuclockid): Likewise.
26596 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26597 Add weak_alias and libc_hidden_def.
26598 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26599 * rt/clock_gettime.c (clock_gettime): Rename to
26600 __clock_gettime. Add weak_alias and libc_hidden_def.
26601 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26602 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26603 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26604 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26605 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26606 Likewise.
26607 * rt/clock_settime.c (clock_settime): Rename to
26608 __clock_settime. Add weak_alias and libc_hidden_def.
26609 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26610
0efa6f8b
JM
266112013-06-10 Joseph Myers <joseph@codesourcery.com>
26612
b8c61b4b
JM
26613 * mach/err_boot.sub: Remove trailing whitespace.
26614 * mach/err_ipc.sub: Likewise.
26615 * mach/err_mach.sub: Likewise.
26616
0efa6f8b
JM
26617 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26618 (ROUNDING_TESTS_double): Likewise.
26619 (ROUNDING_TESTS_long_double): Likewise.
26620 (ROUNDING_TESTS): Likewise.
26621 * math/libm-test.inc: Include <math-tests.h>.
26622 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26623 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26624 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26625 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26626
50b818bf
SP
266272013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26628
26629 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26630 of assigning.
26631
60d2f8f3
JM
266322013-06-08 Joseph Myers <joseph@codesourcery.com>
26633
4902d2c3
JM
26634 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26635 otherwise empty TRANS lines.
26636 * sysdeps/gnu/errlist.c: Regenerated.
26637
60d2f8f3
JM
26638 * catgets/gencat.c (error_print): Use (void) in function
26639 definition.
26640 * crypt/crypt_util.c (__init_des): Likewise.
26641 * crypt/speeds.c (Stop): Likewise.
26642 (main): Likewise.
26643 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26644 * inet/ruserpass.c (token): Likewise.
26645 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26646 * intl/localealias.c (extend_alias_table): Likewise.
26647 * intl/plural-exp.c (init_germanic_plural): Likewise.
26648 * libio/fcloseall.c (__fcloseall): Likewise.
26649 * libio/genops.c (_IO_flush_all): Likewise.
26650 (_IO_flush_all_linebuffered): Likewise.
26651 (_IO_cleanup): Likewise.
26652 (_IO_iter_begin): Likewise.
26653 (_IO_iter_end): Likewise.
26654 (_IO_list_lock): Likewise.
26655 (_IO_list_unlock): Likewise.
26656 (_IO_list_resetlock): Likewise.
26657 * libio/getchar.c (getchar): Likewise.
26658 * libio/getchar_u.c (getchar_unlocked): Likewise.
26659 * libio/getwchar.c (getwchar): Likewise.
26660 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26661 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26662 * login/getpt.c (__getpt): Likewise.
26663 * login/tst-utmp.c (main): Likewise.
26664 * malloc/hooks.c (__malloc_check_init): Likewise.
26665 * malloc/malloc.c (__malloc_stats): Likewise.
26666 * malloc/mtrace.c (tr_break): Likewise.
26667 (mtrace): Likewise.
26668 (muntrace): Likewise.
26669 * misc/fstab.c (endfsent): Likewise.
26670 * misc/getclktck.c (__getclktck): Likewise.
26671 * misc/getdtsz.c (__getdtablesize): Likewise.
26672 * misc/gethostid.c (gethostid): Likewise.
26673 * misc/getpagesize.c (__getpagesize): Likewise.
26674 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26675 (__get_nprocs): Likewise.
26676 (__get_phys_pages): Likewise.
26677 (__get_avphys_pages): Likewise.
26678 * misc/getttyent.c (getttyent): Likewise.
26679 (setttyent): Likewise.
26680 (endttyent): Likewise.
26681 * misc/getusershell.c (getusershell): Likewise.
26682 (endusershell): Likewise.
26683 (setusershell): Likewise.
26684 (initshells): Likewise.
26685 * misc/hsearch.c (__hdestroy): Likewise.
26686 * misc/sync.c (sync): Likewise.
26687 * misc/syslog.c (closelog_internal): Likewise.
26688 (closelog): Likewise.
26689 * misc/ttyslot.c (ttyslot): Likewise.
26690 * misc/vhangup.c (vhangup): Likewise.
26691 * posix/fork.c (__fork): Likewise.
26692 * posix/getegid.c (__getegid): Likewise.
26693 * posix/geteuid.c (__geteuid): Likewise.
26694 * posix/getgid.c (__getgid): Likewise.
26695 * posix/getpid.c (__getpid): Likewise.
26696 * posix/getppid.c (__getppid): Likewise.
26697 * posix/getuid.c (__getuid): Likewise.
26698 * posix/pause.c (pause): Likewise.
26699 * posix/setpgrp.c (setpgrp): Likewise.
26700 * posix/setsid.c (__setsid): Likewise.
26701 * posix/test-vfork.c (noop): Likewise.
26702 * resolv/gethnamaddr.c (_endhtent): Likewise.
26703 (_gethtent): Likewise.
26704 (ht_endhostent): Likewise.
26705 (gethostent): Likewise.
26706 (dns_service): Likewise.
26707 * stdlib/drand48.c (drand48): Likewise.
26708 * stdlib/lrand48.c (lrand48): Likewise.
26709 * stdlib/mrand48.c (mrand48): Likewise.
26710 * stdlib/rand.c (rand): Likewise.
26711 * stdlib/random.c (__random): Likewise.
26712 * stdlib/setenv.c (clearenv): Likewise.
26713 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26714 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26715 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26716 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26717 (__get_nprocs): Likewise.
26718 (__get_phys_pages): Likewise.
26719 (__get_avphys_pages): Likewise.
26720 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26721 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26722 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26723 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26724 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26725 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26726 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26727 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26728 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26729 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26730 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26731 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26732 * sysdeps/posix/clock.c (clock): Likewise.
26733 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26734 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26735 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26736 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26737 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26739 (__get_nprocs_conf): Likewise.
26740 (__get_phys_pages): Likewise.
26741 (__get_avphys_pages): Likewise.
26742 * time/clock.c (clock): Likewise.
26743 * time/tzset.c (__tzname_max): Likewise.
26744
2e09a79a
JM
267452013-06-07 Joseph Myers <joseph@codesourcery.com>
26746
26747 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26748 (__bswap_32): Do not use "register".
26749 * crypt/crypt.c (_ufc_doit_r): Likewise.
26750 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26751 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26752 * gmon/gmon.c (__monstartup): Likewise.
26753 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26754 * hurd/hurdmalloc.c (more_memory): Likewise.
26755 (malloc): Likewise.
26756 (free): Likewise.
26757 (realloc): Likewise.
26758 (malloc_fork_prepare): Likewise.
26759 (malloc_fork_parent): Likewise.
26760 (malloc_fork_child): Likewise.
26761 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26762 (_svcauth_des): Likewise.
26763 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26764 * inet/inet_net.c (inet_network): Likewise.
26765 * inet/inet_netof.c (inet_netof): Likewise.
26766 * inet/rcmd.c (__validuser2_sa): Likewise.
26767 * io/fts.c (fts_open): Likewise.
26768 (fts_load): Likewise.
26769 (fts_close): Likewise.
26770 (fts_read): Likewise.
26771 (fts_children): Likewise.
26772 (fts_build): Likewise.
26773 (fts_stat): Likewise.
26774 (fts_sort): Likewise.
26775 (fts_alloc): Likewise.
26776 (fts_lfree): Likewise.
26777 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26778 (_IO_file_xsgetn): Likewise.
26779 (_IO_file_xsgetn_mmap): Likewise.
26780 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26781 (_IO_cookie_write): Likewise.
26782 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26783 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26784 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26785 * malloc/obstack.c (_obstack_begin): Likewise.
26786 (_obstack_begin_1): Likewise.
26787 (_obstack_newchunk): Likewise.
26788 (_obstack_allocated_p): Likewise.
26789 (obstack_free): Likewise.
26790 (_obstack_memory_used): Likewise.
26791 * misc/getttyent.c (getttynam): Likewise.
26792 (getttyent): Likewise.
26793 (skip): Likewise.
26794 (value): Likewise.
26795 * misc/getusershell.c (initshells): Likewise.
26796 * misc/syslog.c (__vsyslog_chk): Likewise.
26797 * misc/ttyslot.c (ttyslot): Likewise.
26798 * nis/nis_hash.c (__nis_hash): Likewise.
26799 * posix/fnmatch_loop.c (FCT): Likewise.
26800 * posix/getconf.c (print_all): Likewise.
26801 (main): Likewise.
26802 * posix/getopt.c (exchange): Likewise.
26803 * posix/glob.c (globfree): Likewise.
26804 (prefix_array): Likewise.
26805 (__glob_pattern_type): Likewise.
26806 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26807 (NS_GET32): Likewise.
26808 (NS_PUT16): Likewise.
26809 (NS_PUT32): Likewise.
26810 * resolv/gethnamaddr.c (getanswer): Likewise.
26811 (gethostbyname2): Likewise.
26812 (gethostbyaddr): Likewise.
26813 (_gethtent): Likewise.
26814 (_gethtbyname2): Likewise.
26815 (_gethtbyaddr): Likewise.
26816 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26817 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26818 * resolv/res_init.c (__res_vinit): Likewise.
26819 (net_mask): Likewise.
26820 * resolv/res_mkquery.c (outchar): Likewise.
26821 (PRINT): Likewise.
26822 * stdio-common/printf_fp.c (outchar): Likewise.
26823 (PRINT): Likewise.
26824 * stdio-common/printf_fphex.c (outchar): Likewise.
26825 (PRINT): Likewise.
26826 * stdio-common/printf_size.c (outchar): Likewise.
26827 (PRINT): Likewise.
26828 * stdio-common/test_rdwr.c (main): Likewise.
26829 * stdio-common/tfformat.c (matches): Likewise.
26830 * stdio-common/vfprintf.c (outchar): Likewise.
26831 (printf_unknown): Likewise.
26832 (buffered_vfprintf): Likewise.
26833 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26834 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26835 (ReadFile): Likewise.
26836 * stdlib/qsort.c (SWAP): Likewise.
26837 (_quicksort): Likewise.
26838 * stdlib/setenv.c (__add_to_environ): Likewise.
26839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26840 * stdlib/strtol_l.c (__strtol_l): Likewise.
26841 * stdlib/tst-strtod.c (main): Likewise.
26842 * stdlib/tst-strtol.c (main): Likewise.
26843 * stdlib/tst-strtoll.c (main): Likewise.
26844 * string/bits/string2.h (__strcmp_cc): Likewise.
26845 (__strcmp_cg): Likewise.
26846 (__strcspn_c1): Likewise.
26847 (__strcspn_c2): Likewise.
26848 (__strcspn_c3): Likewise.
26849 (__strspn_c1): Likewise.
26850 (__strspn_c2): Likewise.
26851 (__strspn_c3): Likewise.
26852 (__strsep_1c): Likewise.
26853 (__strsep_2c): Likewise.
26854 (__strsep_3c): Likewise.
26855 * string/memccpy.c (__memccpy): Likewise.
26856 * string/stpcpy.c (__stpcpy): Likewise.
26857 * string/strcmp.c (strcmp): Likewise.
26858 * string/strrchr.c (strrchr): Likewise.
26859 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26860 Likewise.
26861 * sysdeps/mach/hurd/getcwd.c
26862 (_hurd_canonicalize_directory_name_internal): Likewise.
26863 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26864 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26865 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26866 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26867 Likewise, in both definitions.
26868 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26869 definitions.
26870 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26871 64] (__bswap_64): Likewise.
26872 * time/test_time.c (main): Likewise.
26873 * time/tzfile.c (__tzfile_read): Likewise.
26874 (__tzfile_compute): Likewise.
26875 * time/tzset.c (__tzset_parse_tz): Likewise.
26876 (tzset_internal): Likewise.
26877 (compute_change): Likewise.
26878 * wcsmbs/wcscat.c (__wcscat): Likewise.
26879 * wcsmbs/wcschr.c (wcschr): Likewise.
26880 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26881 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26882 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26883 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26884 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26885 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26886 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26887 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26888 * wcsmbs/wmemset.c (wmemset): Likewise.
26889
9e54314b
JM
268902013-06-06 Joseph Myers <joseph@codesourcery.com>
26891
26892 * scripts/config.guess: Update to version 2013-05-16.
26893 * scripts/config.sub: Update to version 2013-04-24.
26894 * scripts/install-sh: Update to version 2011-11-20.07.
26895 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26896 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26897
350635a5
OB
268982013-06-06 Ondřej Bílka <neleai@seznam.cz>
26899
26900 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26901 * elf/sln.c: Likewise.
26902 * hurd/hurd/ioctl.h: Likewise.
26903 * hurd/hurdmalloc.c: Likewise.
26904 * hurd/xattr.c: Likewise.
26905 * include/shlib-compat.h: Likewise.
26906 * inet/ruserpass.c: Likewise.
26907 * libio/iofgets_u.c: Likewise.
26908 * libio/iofgetws_u.c: Likewise.
26909 * locale/programs/ld-identification.c: Likewise.
26910 * locale/programs/ld-time.c: Likewise.
26911 * mach/msg-destroy.c: Likewise.
26912 * nss/nss_files/files-netgrp.c: Likewise.
26913 * resolv/res_data.c: Likewise.
26914 * soft-fp/op-1.h: Likewise.
26915 * soft-fp/op-2.h: Likewise.
26916 * soft-fp/op-4.h: Likewise.
26917 * soft-fp/op-common.h: Likewise.
26918 * stdio-common/printf_fphex.c: Likewise.
26919 * stdlib/strtod_l.c: Likewise.
26920 * sunrpc/rpc/clnt.h: Likewise.
26921 * sysdeps/generic/framestate.c: Likewise.
26922 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26923 * sysdeps/i386/bsd-setjmp.S: Likewise.
26924 * sysdeps/i386/__longjmp.S: Likewise.
26925 * sysdeps/i386/setjmp.S: Likewise.
26926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26941 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26942 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26943 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26944 * sysdeps/ieee754/support.c: Likewise.
26945 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26946 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26947 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26948 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26949 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26950 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26951 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26952 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26953 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26954 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26955 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26956 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26957 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26958 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26959 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26960 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26961 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26963
44a988af
OB
269642013-06-05 Ondřej Bílka <neleai@seznam.cz>
26965
25506f09 26966 * posix/transbug.c: Remove executable mode.
44a988af 26967
9c84384c
JM
269682013-06-05 Joseph Myers <joseph@codesourcery.com>
26969
26970 * crypt/speeds.c: Remove trailing whitespace.
26971 * dlfcn/default.c: Likewise.
26972 * elf/ifuncdep2.c: Likewise.
26973 * elf/ifuncmain1.c: Likewise.
26974 * elf/ifuncmain1vis.c: Likewise.
26975 * elf/testobj.h: Likewise.
26976 * elf/tst-stackguard1.c: Likewise.
26977 * gmon/sys/gmon.h: Likewise.
26978 * hurd/hurdmsg.c: Likewise.
26979 * hurd/new-fd.c: Likewise.
26980 * hurd/ports-get.c: Likewise.
26981 * iconvdata/ibm1008_420.c: Likewise.
26982 * inet/tst-getni1.c: Likewise.
26983 * inet/tst-getni2.c: Likewise.
26984 * libio/ioungetc.c: Likewise.
26985 * libio/wfiledoalloc.c: Likewise.
26986 * manual/libm-err-tab.pl: Likewise.
26987 * math/w_dremf.c: Likewise.
26988 * misc/ftruncate.c: Likewise.
26989 * posix/bug-glob2.c: Likewise.
26990 * posix/tst-pcre.c: Likewise.
26991 * posix/wait4.c: Likewise.
26992 * resolv/README: Likewise.
26993 * resolv/res_debug.h: Likewise.
26994 * resolv/tst-inet_ntop.c: Likewise.
26995 * setjmp/bug269-setjmp.c: Likewise.
26996 * soft-fp/extended.h: Likewise.
26997 * soft-fp/op-1.h: Likewise.
26998 * soft-fp/op-2.h: Likewise.
26999 * soft-fp/op-4.h: Likewise.
27000 * soft-fp/op-8.h: Likewise.
27001 * soft-fp/testit.c: Likewise.
27002 * stdio-common/bug16.c: Likewise.
27003 * stdlib/random.c: Likewise.
27004 * sunrpc/rpcsvc/rquota.x: Likewise.
27005 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27006 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27008 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27009 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27011 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27012 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27013 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27015 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27026 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27034 * sysdeps/ieee754/s_lib_version.c: Likewise.
27035 * sysdeps/mach/hurd/check_fds.c: Likewise.
27036 * sysdeps/mach/hurd/getsockname.c: Likewise.
27037 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27038 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27039 * sysdeps/powerpc/bits/link.h: Likewise.
27040 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27041 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27042 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27043 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27044 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27045 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27046 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27047 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27048 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27049 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27051 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27052 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27053 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27054 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27055 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27057 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27059 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27061 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27064 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27074 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27075 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27076 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27078 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27080 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27081 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27082 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27083 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27084 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27085 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27086 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27087 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27088 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27089 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27092 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27093 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27094 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27095 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27096 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27099 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27100 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27101 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27102 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27104 * sysdeps/powerpc/sysdep.h: Likewise.
27105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27106 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27107 * sysdeps/sh/dl-trampoline.S: Likewise.
27108 * sysdeps/sh/memset.S: Likewise.
27109 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27110 * sysdeps/sh/strlen.S: Likewise.
27111 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27112 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27113 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27114 * sysdeps/sparc/sparc32/rem.S: Likewise.
27115 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27116 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27117 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27118 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27119 * sysdeps/sparc/sparc32/urem.S: Likewise.
27120 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27121 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27122 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27123 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27125 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27126 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27127 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27128 * sysdeps/unix/bsd/times.c: Likewise.
27129 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27130 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27134 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27135 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27136 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27138 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27141 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27142 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27143 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27144 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27145 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27146 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27147 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27148 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27149 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27150 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27151 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27152 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27153 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27154 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27155 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27156 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27157 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27158 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27159 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27160 * sysdeps/x86_64/strcspn.S: Likewise.
27161
869378a5
RA
271622013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27163
27164 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27165 generated file. Regenerate properly from gen-translit.pl.
27166 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27167 locale/C-translit.h.
27168
840e2943
AS
271692013-06-05 Andreas Schwab <schwab@suse.de>
27170
27171 [BZ #15100]
27172 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27173 week as 6 instead of -1.
27174 * time/tst-strptime.c (day_tests): Add test case.
27175
4c60cb0c
SP
271762013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27177
27178 * sysdeps/generic/math_private.h
27179 (libc_feholdexcept_setround_53bit): Replace with
27180 libc_feholdsetround_53bit.
27181 (libc_feupdateenv_53bit): Replace with
27182 libc_feresetround_53bit.
27183 (SET_RESTORE_ROUND_53BIT): Adjust.
27184
d180203e
SP
271852013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27186
96df079a
SP
27187 * string/test-strchrnul.c: Add copyright header.
27188
d180203e
SP
27189 * posix/tst-getaddrinfo4.c: Increase test timeout.
27190
8b0ccb2d
CD
271912013-06-03 Carlos O'Donell <carlos@redhat.com>
27192
27193 [BZ #15536]
27194 * math/libm-test.inc (MAX_EXP): Remove
27195 (MIN_EXP): Define.
27196 (ulp): Use MIN_EXP - MANT_DIG.
27197 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27198
3b3c4d40
CD
271992013-05-31 Carlos O'Donell <carlos@redhat.com>
27200
27201 * po/be.po: Revert last change.
27202 * po/zh_CN.po: Likewise.
27203 * po/header.pot: Likewise.
27204
fab7ce3f
JM
272052013-05-31 Joseph Myers <joseph@codesourcery.com>
27206
27207 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27208 link-libc-deps to empty as target-specific variable.
27209 * Makerules (link-libc-args): New variable.
27210 (libc-for-link): Likewise.
27211 (link-libc-deps): Likewise.
27212 (lib%.so): Depend on $(link-libc-deps). Link with
27213 $(link-libc-args).
27214 (build-module): Link with $(link-libc-args).
27215 (build-module-asneeded): Likewise.
27216 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27217 list of objects.
27218 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27219 target-specific variable.
27220 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27221 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27222 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27223 libc.
27224 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27225 libc and ld.so.
27226 ($(objpfx)libpcprofile.so): Likewise.
27227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27228 libc_nonshared.a.
27229 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27230 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27231 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27232 $(link-libc-deps).
27233 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27234 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27235 * login/Makefile ($(objpfx)libutil.so): Likewise.
27236 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27237 * math/Makefile ($(objpfx)libm.so): Likewise.
27238 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27239 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27240 variable instead of depending directly on libc.
27241 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27242 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27243 $(link-libc-deps).
27244 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27245 libc.
27246 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27247 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27248 ($(objpfx)libanl.so): Likewise.
27249 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27250 ld.so.
27251 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27252 $(link-libc-deps).
27253 * sysdeps/i386/fpu/Makefile: Remove file.
27254 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27255 ($(objpfx)libm.so): Remove dependency on ld.so.
27256
eca5920c
PF
272572013-05-30 Patsy Franklin <pfrankli@redhat.com>
27258
27259 [BZ # 15553]
27260 * nis/yp_xdr.c (XDRMAXNAME): Define.
27261 (XDRMAXRECORD): Define.
27262 (xdr_domainname): Use XDRMAXNAME.
27263 (xdr_mapname): Likewise.
27264 (xdr_peername): Likewise.
27265 (xdr_keydat): Use XDRMAXRECORD.
27266 (xdr_valdat): Likewise.
27267
272682013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27269
27270 [BZ #14256]
27271 * manual/errno.texi (ESTALE): Update to account for more than
27272 just NFS file systems.
27273 * sysdeps/gnu/errlist.c: Regenerated.
27274
b9375348
SP
272752013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27276
27277 [BZ #15465]
27278 * elf/Makefile (tests): Add tst-null-argv.
27279 (modules-names): Add tst-null-argv-lib.
27280 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27281 (tst-null-argv-ENV): Set environment for tst-null-argv.
27282 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27283 (RTLD_PROGNAME): New macro.
27284 * elf/tst-null-argv.c: New test case.
27285 * elf/tst-null-argv-lib.c: Library for test case.
27286 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27287 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27288 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27289 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27290 * elf/dl-init.c (call_init): Likewise.
27291 (_dl_init): Likewise.
27292 * elf/dl-load.c (print_search_path): Likewise.
27293 (_dl_map_object): Likewise.
27294 * elf/dl-lookup.c (do_lookup_x): Likewise.
27295 (add_dependency): Likewise.
27296 (_dl_lookup_symbol_x): Likewise.
27297 (_dl_debug_bindings): Likewise.
27298 * elf/dl-open.c (_dl_show_scope): Likewise.
27299 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27300 * elf/dl-version.c (match_symbol): Likewise.
27301 (_dl_check_map_versions): Likewise.
27302 * elf/rtld.c (dl_main): Likewise.
27303 (print_unresolved): Use RTLD_PROGNAME.
27304 (print_missing_version): Likewise.
27305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27306 (elf_machine_rela): Likewise.
27307 * sysdeps/powerpc/powerpc32/dl-machine.c
27308 (__process_machine_rela): Likewise.
27309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27310 Likewise.
27311 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27312 Likewise.
27313 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27314 Likewise.
27315 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27317 Likewise.
27318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27319 Likewise.
27320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27321
8a9f20c8
CD
273222013-05-28 Carlos O'Donell <carlos@redhat.com>
27323
27324 * po/be.po: Add descriptive title.
27325 * po/zh_CN.po: Likewise.
27326 * po/header.pot: Likewise.
27327
0e60d68e
MF
273282013-05-28 Mike Frysinger <vapier@gentoo.org>
27329
27330 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27331 error message.
27332 (enlarge_archive): Likewise.
27333
56b672e9
BN
273342013-05-28 Ben North <ben@redfrontdoor.org>
27335
27336 * manual/arith.texi (frexp): It is the magnitude of the return
27337 value which lies in [0.5, 1), not the return value itself.
27338
5e056687
AZ
273392013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27340
27341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27342
2b66ef5d
TS
273432013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27344
528c2405
TS
27345 * stdio-common/bug26.c (main): Correct fscanf template.
27346
07b4c13d
TS
27347 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27348 declare _dl_skip_args.
27349
ec9dd97c
TS
27350 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27351 Don't declare.
27352
2b66ef5d
TS
27353 * manual/platform.texi: Add missing @end deftypefun.
27354
4f8dfe27
JM
273552013-05-24 Joseph Myers <joseph@codesourcery.com>
27356
0323d086
JM
27357 [BZ #15529]
27358 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27359 bit of mantissa of 2^16382.
27360 * math/libm-test.inc (hypot_test_data): Add more tests.
27361
dd4259b9
JM
27362 * math/libm-test.inc: Add drem and pow10 to list of tested
27363 functions.
27364 (pow10_test): New function.
27365 (drem_test): Likewise.
27366 (drem_test_tonearest): Likewise.
27367 (drem_test_towardzero): Likewise.
27368 (drem_test_downward): Likewise.
27369 (drem_test_upward): Likewise.
27370 (main): Call the new functions.
27371
4f8dfe27
JM
27372 * math/libm-test.inc (finite_test_data): Remove.
27373 (finite_test): Run tests from isfinite_test_data.
27374 (gamma_test_data): Remove.
27375 (gamma_test): Run tests from lgamma_test_data.
27376 * sysdeps/i386/fpu/libm-test-ulps: Update.
27377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27378
d116b7c4
AZ
273792013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27380
27381 * manual/platform.texi: Add PowerPC PPR function set documentation.
27382 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27383 implementation.
27384
e96e3767
CD
273852013-05-24 Carlos O'Donell <carlos@redhat.com>
27386
27387 * math/libm-test.inc (MAX_EXP): Define.
27388 (ULPDIFF): Define.
27389 (ulp): New function.
27390 (check_float_internal): Use ULPDIFF.
27391 (cpow_test): Disable failing test.
27392 (check_ulp): Test ulp() implemetnation.
27393 (main): Call check_ulp before starting tests.
27394
b679a606
JM
273952013-05-24 Joseph Myers <joseph@codesourcery.com>
27396
e8bdba36
JM
27397 * math/gen-libm-test.pl (generate_testfile): Do not handle
27398 START_DATA and END_DATA.
27399 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27400 END_DATA.
27401 (acos_tonearest_test_data): Likewise.
27402 (acos_towardzero_test_data): Likewise.
27403 (acos_downward_test_data): Likewise.
27404 (acos_upward_test_data): Likewise.
27405 (acosh_test_data): Likewise.
27406 (asin_test_data): Likewise.
27407 (asin_tonearest_test_data): Likewise.
27408 (asin_towardzero_test_data): Likewise.
27409 (asin_downward_test_data): Likewise.
27410 (asin_upward_test_data): Likewise.
27411 (asinh_test_data): Likewise.
27412 (atan_test_data): Likewise.
27413 (atanh_test_data): Likewise.
27414 (atan2_test_data): Likewise.
27415 (cabs_test_data): Likewise.
27416 (cacos_test_data): Likewise.
27417 (cacosh_test_data): Likewise.
27418 (carg_test_data): Likewise.
27419 (casin_test_data): Likewise.
27420 (casinh_test_data): Likewise.
27421 (catan_test_data): Likewise.
27422 (catanh_test_data): Likewise.
27423 (cbrt_test_data): Likewise.
27424 (ccos_test_data): Likewise.
27425 (ccosh_test_data): Likewise.
27426 (ceil_test_data): Likewise.
27427 (cexp_test_data): Likewise.
27428 (cimag_test_data): Likewise.
27429 (clog_test_data): Likewise.
27430 (clog10_test_data): Likewise.
27431 (conj_test_data): Likewise.
27432 (copysign_test_data): Likewise.
27433 (cos_test_data): Likewise.
27434 (cos_tonearest_test_data): Likewise.
27435 (cos_towardzero_test_data): Likewise.
27436 (cos_downward_test_data): Likewise.
27437 (cos_upward_test_data): Likewise.
27438 (cosh_test_data): Likewise.
27439 (cosh_tonearest_test_data): Likewise.
27440 (cosh_towardzero_test_data): Likewise.
27441 (cosh_downward_test_data): Likewise.
27442 (cosh_upward_test_data): Likewise.
27443 (cpow_test_data): Likewise.
27444 (cproj_test_data): Likewise.
27445 (creal_test_data): Likewise.
27446 (csin_test_data): Likewise.
27447 (csinh_test_data): Likewise.
27448 (csqrt_test_data): Likewise.
27449 (ctan_test_data): Likewise.
27450 (ctan_tonearest_test_data): Likewise.
27451 (ctan_towardzero_test_data): Likewise.
27452 (ctan_downward_test_data): Likewise.
27453 (ctan_upward_test_data): Likewise.
27454 (ctanh_test_data): Likewise.
27455 (ctanh_tonearest_test_data): Likewise.
27456 (ctanh_towardzero_test_data): Likewise.
27457 (ctanh_downward_test_data): Likewise.
27458 (ctanh_upward_test_data): Likewise.
27459 (erf_test_data): Likewise.
27460 (erfc_test_data): Likewise.
27461 (exp_test_data): Likewise.
27462 (exp_tonearest_test_data): Likewise.
27463 (exp_towardzero_test_data): Likewise.
27464 (exp_downward_test_data): Likewise.
27465 (exp_upward_test_data): Likewise.
27466 (exp10_test_data): Likewise.
27467 (exp2_test_data): Likewise.
27468 (expm1_test_data): Likewise.
27469 (fabs_test_data): Likewise.
27470 (fdim_test_data): Likewise.
27471 (finite_test_data): Likewise.
27472 (floor_test_data): Likewise.
27473 (fma_test_data): Likewise.
27474 (fma_towardzero_test_data): Likewise.
27475 (fma_downward_test_data): Likewise.
27476 (fma_upward_test_data): Likewise.
27477 (fmax_test_data): Likewise.
27478 (fmin_test_data): Likewise.
27479 (fmod_test_data): Likewise.
27480 (fpclassify_test_data): Likewise.
27481 (frexp_test_data): Likewise.
27482 (gamma_test_data): Likewise.
27483 (hypot_test_data): Likewise.
27484 (ilogb_test_data): Likewise.
27485 (isfinite_test_data): Likewise.
27486 (isgreater_test_data): Likewise.
27487 (isgreaterequal_test_data): Likewise.
27488 (isinf_test_data): Likewise.
27489 (isless_test_data): Likewise.
27490 (islessequal_test_data): Likewise.
27491 (islessgreater_test_data): Likewise.
27492 (isnan_test_data): Likewise.
27493 (isnormal_test_data): Likewise.
27494 (issignaling_test_data): Likewise.
27495 (isunordered_test_data): Likewise.
27496 (j0_test_data): Likewise.
27497 (j1_test_data): Likewise.
27498 (jn_test_data): Likewise.
27499 (ldexp_test_data): Likewise.
27500 (lgamma_test_data): Likewise.
27501 (lrint_test_data): Likewise.
27502 (lrint_tonearest_test_data): Likewise.
27503 (lrint_towardzero_test_data): Likewise.
27504 (lrint_downward_test_data): Likewise.
27505 (lrint_upward_test_data): Likewise.
27506 (llrint_test_data): Likewise.
27507 (llrint_tonearest_test_data): Likewise.
27508 (llrint_towardzero_test_data): Likewise.
27509 (llrint_downward_test_data): Likewise.
27510 (llrint_upward_test_data): Likewise.
27511 (log_test_data): Likewise.
27512 (log10_test_data): Likewise.
27513 (log1p_test_data): Likewise.
27514 (log2_test_data): Likewise.
27515 (logb_test_data): Likewise.
27516 (logb_downward_test_data): Likewise.
27517 (lround_test_data): Likewise.
27518 (llround_test_data): Likewise.
27519 (modf_test_data): Likewise.
27520 (nearbyint_test_data): Likewise.
27521 (nextafter_test_data): Likewise.
27522 (nexttoward_test_data): Likewise.
27523 (pow_test_data): Likewise.
27524 (pow_tonearest_test_data): Likewise.
27525 (pow_towardzero_test_data): Likewise.
27526 (pow_downward_test_data): Likewise.
27527 (pow_upward_test_data): Likewise.
27528 (remainder_test_data): Likewise.
27529 (remainder_tonearest_test_data): Likewise.
27530 (remainder_towardzero_test_data): Likewise.
27531 (remainder_downward_test_data): Likewise.
27532 (remainder_upward_test_data): Likewise.
27533 (remquo_test_data): Likewise.
27534 (rint_test_data): Likewise.
27535 (rint_tonearest_test_data): Likewise.
27536 (rint_towardzero_test_data): Likewise.
27537 (rint_downward_test_data): Likewise.
27538 (rint_upward_test_data): Likewise.
27539 (round_test_data): Likewise.
27540 (scalb_test_data): Likewise.
27541 (scalbn_test_data): Likewise.
27542 (scalbln_test_data): Likewise.
27543 (signbit_test_data): Likewise.
27544 (sin_test_data): Likewise.
27545 (sin_tonearest_test_data): Likewise.
27546 (sin_towardzero_test_data): Likewise.
27547 (sin_downward_test_data): Likewise.
27548 (sin_upward_test_data): Likewise.
27549 (sincos_test_data): Likewise.
27550 (sinh_test_data): Likewise.
27551 (sinh_tonearest_test_data): Likewise.
27552 (sinh_towardzero_test_data): Likewise.
27553 (sinh_downward_test_data): Likewise.
27554 (sinh_upward_test_data): Likewise.
27555 (sqrt_test_data): Likewise.
27556 (tan_test_data): Likewise.
27557 (tan_tonearest_test_data): Likewise.
27558 (tan_towardzero_test_data): Likewise.
27559 (tan_downward_test_data): Likewise.
27560 (tan_upward_test_data): Likewise.
27561 (tanh_test_data): Likewise.
27562 (tgamma_test_data): Likewise.
27563 (trunc_test_data): Likewise.
27564 (y0_test_data): Likewise.
27565 (y1_test_data): Likewise.
27566 (yn_test_data): Likewise.
27567 (significand_test_data): Likewise.
27568
b679a606
JM
27569 * math/gen-libm-test.pl (@functions): Remove variable.
27570 (generate_testfile): Don't handle START and END lines.
27571 * math/libm-test.inc (START): New macro.
27572 (END): Likewise.
27573 (END_COMPLEX): Likewise.
27574 (acos_test): Use END macro without arguments.
27575 (acos_test_tonearest): Likewise.
27576 (acos_test_towardzero): Likewise.
27577 (acos_test_downward): Likewise.
27578 (acos_test_upward): Likewise.
27579 (acosh_test): Likewise.
27580 (asin_test): Likewise.
27581 (asin_test_tonearest): Likewise.
27582 (asin_test_towardzero): Likewise.
27583 (asin_test_downward): Likewise.
27584 (asin_test_upward): Likewise.
27585 (asinh_test): Likewise.
27586 (atan_test): Likewise.
27587 (atanh_test): Likewise.
27588 (atan2_test): Likewise.
27589 (cabs_test): Likewise.
27590 (cacos_test): Use END_COMPLEX macro without arguments.
27591 (cacosh_test): Likewise.
27592 (carg_test): Use END macro without arguments.
27593 (casin_test): Use END_COMPLEX macro without arguments.
27594 (casinh_test): Likewise.
27595 (catan_test): Likewise.
27596 (catanh_test): Likewise.
27597 (cbrt_test): Use END macro without arguments.
27598 (ccos_test): Use END_COMPLEX macro without arguments.
27599 (ccosh_test): Likewise.
27600 (ceil_test): Use END macro without arguments.
27601 (cexp_test): Use END_COMPLEX macro without arguments.
27602 (cimag_test): Use END macro without arguments.
27603 (clog_test): Use END_COMPLEX macro without arguments.
27604 (clog10_test): Likewise.
27605 (conj_test): Likewise.
27606 (copysign_test): Use END macro without arguments.
27607 (cos_test): Likewise.
27608 (cos_test_tonearest): Likewise.
27609 (cos_test_towardzero): Likewise.
27610 (cos_test_downward): Likewise.
27611 (cos_test_upward): Likewise.
27612 (cosh_test): Likewise.
27613 (cosh_test_tonearest): Likewise.
27614 (cosh_test_towardzero): Likewise.
27615 (cosh_test_downward): Likewise.
27616 (cosh_test_upward): Likewise.
27617 (cpow_test): Use END_COMPLEX macro without arguments.
27618 (cproj_test): Likewise.
27619 (creal_test): Use END macro without arguments.
27620 (csin_test): Use END_COMPLEX macro without arguments.
27621 (csinh_test): Likewise.
27622 (csqrt_test): Likewise.
27623 (ctan_test): Likewise.
27624 (ctan_test_tonearest): Likewise.
27625 (ctan_test_towardzero): Likewise.
27626 (ctan_test_downward): Likewise.
27627 (ctan_test_upward): Likewise.
27628 (ctanh_test): Likewise.
27629 (ctanh_test_tonearest): Likewise.
27630 (ctanh_test_towardzero): Likewise.
27631 (ctanh_test_downward): Likewise.
27632 (ctanh_test_upward): Likewise.
27633 (erf_test): Use END macro without arguments.
27634 (erfc_test): Likewise.
27635 (exp_test): Likewise.
27636 (exp_test_tonearest): Likewise.
27637 (exp_test_towardzero): Likewise.
27638 (exp_test_downward): Likewise.
27639 (exp_test_upward): Likewise.
27640 (exp10_test): Likewise.
27641 (exp2_test): Likewise.
27642 (expm1_test): Likewise.
27643 (fabs_test): Likewise.
27644 (fdim_test): Likewise.
27645 (finite_test): Likewise.
27646 (floor_test): Likewise.
27647 (fma_test): Likewise.
27648 (fma_test_towardzero): Likewise.
27649 (fma_test_downward): Likewise.
27650 (fma_test_upward): Likewise.
27651 (fmax_test): Likewise.
27652 (fmin_test): Likewise.
27653 (fmod_test): Likewise.
27654 (fpclassify_test): Likewise.
27655 (frexp_test): Likewise.
27656 (gamma_test): Likewise.
27657 (hypot_test): Likewise.
27658 (ilogb_test): Likewise.
27659 (isfinite_test): Likewise.
27660 (isgreater_test): Likewise.
27661 (isgreaterequal_test): Likewise.
27662 (isinf_test): Likewise.
27663 (isless_test): Likewise.
27664 (islessequal_test): Likewise.
27665 (islessgreater_test): Likewise.
27666 (isnan_test): Likewise.
27667 (isnormal_test): Likewise.
27668 (issignaling_test): Likewise.
27669 (isunordered_test): Likewise.
27670 (j0_test): Likewise.
27671 (j1_test): Likewise.
27672 (jn_test): Likewise.
27673 (ldexp_test): Likewise.
27674 (lgamma_test): Likewise.
27675 (lrint_test): Likewise.
27676 (lrint_test_tonearest): Likewise.
27677 (lrint_test_towardzero): Likewise.
27678 (lrint_test_downward): Likewise.
27679 (lrint_test_upward): Likewise.
27680 (llrint_test): Likewise.
27681 (llrint_test_tonearest): Likewise.
27682 (llrint_test_towardzero): Likewise.
27683 (llrint_test_downward): Likewise.
27684 (llrint_test_upward): Likewise.
27685 (log_test): Likewise.
27686 (log10_test): Likewise.
27687 (log1p_test): Likewise.
27688 (log2_test): Likewise.
27689 (logb_test): Likewise.
27690 (logb_test_downward): Likewise.
27691 (lround_test): Likewise.
27692 (llround_test): Likewise.
27693 (modf_test): Likewise.
27694 (nearbyint_test): Likewise.
27695 (nextafter_test): Likewise.
27696 (nexttoward_test): Likewise.
27697 (pow_test): Likewise.
27698 (pow_test_tonearest): Likewise.
27699 (pow_test_towardzero): Likewise.
27700 (pow_test_downward): Likewise.
27701 (pow_test_upward): Likewise.
27702 (remainder_test): Likewise.
27703 (remainder_test_tonearest): Likewise.
27704 (remainder_test_towardzero): Likewise.
27705 (remainder_test_downward): Likewise.
27706 (remainder_test_upward): Likewise.
27707 (remquo_test): Likewise.
27708 (rint_test): Likewise.
27709 (rint_test_tonearest): Likewise.
27710 (rint_test_towardzero): Likewise.
27711 (rint_test_downward): Likewise.
27712 (rint_test_upward): Likewise.
27713 (round_test): Likewise.
27714 (scalb_test): Likewise.
27715 (scalbn_test): Likewise.
27716 (scalbln_test): Likewise.
27717 (signbit_test): Likewise.
27718 (sin_test): Likewise.
27719 (sin_test_tonearest): Likewise.
27720 (sin_test_towardzero): Likewise.
27721 (sin_test_downward): Likewise.
27722 (sin_test_upward): Likewise.
27723 (sincos_test): Likewise.
27724 (sinh_test): Likewise.
27725 (sinh_test_tonearest): Likewise.
27726 (sinh_test_towardzero): Likewise.
27727 (sinh_test_downward): Likewise.
27728 (sinh_test_upward): Likewise.
27729 (sqrt_test): Likewise.
27730 (tan_test): Likewise.
27731 (tan_test_tonearest): Likewise.
27732 (tan_test_towardzero): Likewise.
27733 (tan_test_downward): Likewise.
27734 (tan_test_upward): Likewise.
27735 (tanh_test): Likewise.
27736 (tgamma_test): Likewise.
27737 (trunc_test): Likewise.
27738 (y0_test): Likewise.
27739 (y1_test): Likewise.
27740 (yn_test): Likewise.
27741 (significand_test): Likewise.
27742
bae143d2
OB
277432013-05-24 Ondřej Bílka <neleai@seznam.cz>
27744
27745 [BZ #15381]
27746 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27747
9323d39b
EM
277482013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27749
d4ea44a0 27750 [BZ #14894]
9323d39b
EM
27751 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27752 __ppc_mdoio and __ppc_mdoom.
27753 * manual/platform.texi: Document new functions __ppc_yield,
27754 __ppc_mdoio and __ppc_mdoom.
27755
13e23af7
CD
277562013-05-22 Carlos O'Donell <carlos@redhat.com>
27757
27758 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27759 (main): Mention "tls" pseudo-hwcap is legacy.
27760 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27761
351fe550
JM
277622013-05-22 Joseph Myers <joseph@codesourcery.com>
27763
27764 * math/gen-libm-test.pl (parse_args): Output only string of
27765 arguments as text for test name, not full call or descriptions of
27766 tests for extra outputs.
27767 (generate_testfile): Do not pass function name to parse_args.
27768 Generate this_func variable from START.
27769 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27770 field to arg_str.
27771 (struct test_ff_f_data): Likewise.
27772 (test_ff_f_data_nexttoward): Likewise.
27773 (struct test_fi_f_data): Likewise.
27774 (struct test_fl_f_data): Likewise.
27775 (struct test_if_f_data): Likewise.
27776 (struct test_fff_f_data): Likewise.
27777 (struct test_c_f_data): Likewise.
27778 (struct test_f_f1_data): Likewise. Remove field extra_name.
27779 (struct test_fF_f1_data): Likewise.
27780 (struct test_ffI_f1_data): Likewise.
27781 (struct test_c_c_data): Rename test_name field to arg_str.
27782 (struct test_cc_c_data): Likewise.
27783 (struct test_f_i_data): Likewise.
27784 (struct test_ff_i_data): Likewise.
27785 (struct test_f_l_data): Likewise.
27786 (struct test_f_L_data): Likewise.
27787 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27788 and extra2_name.
27789 (COMMON_TEST_SETUP): New macro.
27790 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27791 (COMMON_TEST_CLEANUP): Likewise.
27792 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27793 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27794 macros.
27795 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27796 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27797 macros.
27798 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27799 (RUN_TEST_fff_f): Take argument string. Call new setup and
27800 cleanup macros.
27801 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27802 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27803 macros.
27804 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27805 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27806 macros.
27807 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27808 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27809 cleanup macros.
27810 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27811 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27812 cleanup macros.
27813 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27814 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27815 cleanup macros.
27816 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27817 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27818 macros.
27819 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27820 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27821 macros.
27822 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27823 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27824 macros.
27825 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27826 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27827 cleanup macros.
27828 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27829 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27830 cleanup macros.
27831 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27832 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27833 macros.
27834 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27835 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27836 cleanup macros.
27837 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27838 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27839 macros.
27840 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27841 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27842 macros.
27843 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27844 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27845 cleanup macros.
27846 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27847
85118d4d
EBM
278482013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27849
27850 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27851 to _sifields.sigfault.
27852 (si_addr_lsb): Define new macro.
27853 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27856
7a44c18f
CD
278572013-05-03 Carlos O'Donell <carlos at redhat.com>
27858
27859 [BZ #15441]
27860 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27861 returns -1.
27862 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27863 null return -1.
27864 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27865 loading the domain.
27866
b50a7181
JM
278672013-05-22 Joseph Myers <joseph@codesourcery.com>
27868
27869 * math/gen-libm-test.pl (parse_args): Do not include expected
27870 result in test name.
27871 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27877
051063c8
SP
278782013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27879
3ce9e010
SP
27880 * benchtests/Makefile: Sort function entries.
27881
051063c8
SP
27882 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27883 tanh, asinh, acosh, atanh.
27884 * benchtests/acos-inputs: New file.
27885 * benchtests/acosh-inputs: New file.
27886 * benchtests/asin-inputs: New file.
27887 * benchtests/asinh-inputs: New file.
27888 * benchtests/atanh-inputs: New file.
27889 * benchtests/cosh-inputs: New file.
27890 * benchtests/log-inputs: New file.
27891 * benchtests/sinh-inputs: New file.
27892 * benchtests/tanh-inputs: New file.
27893
47c22455
DL
278942013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27895
27896 [BZ #15339]
27897 * posix/tst-getaddrinfo4.c: New test.
27898 * posix/Makefile (tests): Add it.
27899
3d04f5db
SP
279002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27901
27902 [BZ #15339]
27903 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27904 when no services were used.
27905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27906 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27907
d5dd6189
AS
279082013-05-21 Andreas Schwab <schwab@suse.de>
27909
27910 [BZ #15014]
27911 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27912 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27913 successful.
27914 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27915 redundant variable declarations and reallocation of buffer when
27916 parsing as IPv6 address. Always set NSS status when called from
27917 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27918 buffer too small. Correct computation of needed size.
27919 * nss/Makefile (tests): Add test-digits-dots.
27920 * nss/test-digits-dots.c: New test.
27921
fef94eab
SP
279222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27923
27924 * benchtests/Makefile: Remove instructions for adding
27925 benchmark tests.
27926 * benchtests/README: New file to explain how to execute and
27927 enhance the benchmark tests.
27928
e39adf43
AS
279292013-05-21 Andreas Schwab <schwab@suse.de>
27930
27931 [BZ #15493]
27932 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27933 * setjmp/tst-sigsetjmp.c: New test.
27934
b2b671b6
OB
279352013-05-20 Ondřej Bílka <neleai@seznam.cz>
27936
27937 * sysdeps/x86_64/memset.S (memset): New implementation.
27938 (__bzero): Likewise.
27939 (__memset_tail): New function.
27940
2d48b41c
OB
279412013-05-20 Ondřej Bílka <neleai@seznam.cz>
27942
27943 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27944 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27945 __memcpy_sse2_unaligned ifunc selection.
27946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27947 Add memcpy-sse2-unaligned.S.
27948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27949 Add: __memcpy_sse2_unaligned.
27950
f16cc3eb
JM
279512013-05-19 Joseph Myers <joseph@codesourcery.com>
27952
3e694268
JM
27953 [BZ #15490]
27954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27955 math_force_eval before restoring floating-point envrionment.
27956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27958 Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27960 <math_private.h>.
27961 (__nearbyintl): Use math_force_eval before restoring
27962 floating-point environment.
27963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27964
db62a907
JM
27965 * math/gen-libm-test.pl (special_functions): Remove.
27966 (parse_args): Don't handle TEST_extra. Handle functions with no
27967 return value.
27968 * math/libm-test.inc (struct test_sincos_data): Replace with
27969 struct test_fFF_11_data.
27970 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27971 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27972 (sincos_test_data): Change element type to struct
27973 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27974 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27975 RUN_TEST_LOOP_sincos.
27976 * math/README.libm-test: Don't mention special handling of
27977 individual functions.
27978 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27981 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984
f16cc3eb
JM
27985 * math/gen-libm-test.pl (get_variable): Remove function.
27986 (parse_args): Don't show pointer parameters to call in test
27987 names. Use "extra output N" in test names for extra outputs
27988 rather than naming variables.
27989
3779b5b6
JM
279902013-05-18 Joseph Myers <joseph@codesourcery.com>
27991
2ee094ff
JM
27992 [BZ #15488]
27993 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27994 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27995 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27996 double tests.
27997 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27998 disable.
27999 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28000 check_long_double.
28001
3779b5b6
JM
28002 * math/gen-libm-test.pl (@tests): Remove variable.
28003 ($count): Likewise.
28004 (new_test): Remove function.
28005 (show_exceptions): New function.
28006 (special_functions): Use show_exceptions instead of new_test.
28007 (parse_args): Likewise.
28008 (generate_testfile): Pass only function name in generated call to
28009 print_max_error or print_complex_max_error.
28010 (get_ulps): Do not handle complex tests specially.
28011 (output_test): Rename to ...
28012 (get_all_ulps_for_test): ... this. Return a string rather than
28013 printing to a file. Require ulps to be present.
28014 (output_ulps): Generate arrays rather than #defines.
28015 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28016 (struct ulp_data): New type.
28017 (BUILD_COMPLEX_ULP): Remove macro.
28018 (compare_ulp_data): New function.
28019 (find_ulps): Likewise.
28020 (find_test_ulps): Likewise.
28021 (find_function_ulps): Likewise.
28022 (find_complex_function_ulps): Likewise.
28023 (print_max_error): Determine allowed ulps using
28024 find_function_ulps.
28025 (print_complex_max_error): Determine allowed ulps using
28026 find_complex_function_ulps.
28027 (check_float_internal): Determine max ulps using find_test_ulps.
28028 (check_float): Do not take max_ulp parameter. Update call to
28029 check_float_internal.
28030 (check_complex): Likewise.
28031 (check_int): Do not take max_ulp parameter.
28032 (check_long): Likewise.
28033 (check_bool): Likewise.
28034 (check_longlong): Likewise.
28035 (struct test_f_f_data): Remove max_ulp field.
28036 (struct test_ff_f_data): Likewise.
28037 (struct test_ff_f_data_nexttoward): Likewise.
28038 (struct test_fi_f_data): Likewise.
28039 (struct test_fl_f_data): Likewise.
28040 (struct test_if_f_data): Likewise.
28041 (struct test_fff_f_data): Likewise.
28042 (struct test_c_f_data): Likewise.
28043 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28044 (struct test_fF_f1_data): Likewise.
28045 (struct test_ffI_f1_data): Likewise.
28046 (struct test_c_c_data): Remove max_ulp field.
28047 (struct test_cc_c_data): Likewise.
28048 (struct test_f_i_data): Likewise.
28049 (struct test_ff_i_data): Likewise.
28050 (struct test_f_l_data): Likewise.
28051 (struct test_f_L_data): Likewise.
28052 (struct test_sincos_data): Likewise.
28053 (RUN_TEST_f_f): Do not handle ulps.
28054 (RUN_TEST_LOOP_f_f): Likewise.
28055 (RUN_TEST_2_f): Likewise.
28056 (RUN_TEST_LOOP_2_f): Likewise.
28057 (RUN_TEST_fff_f): Likewise.
28058 (RUN_TEST_LOOP_fff_f): Likewise.
28059 (RUN_TEST_c_f): Likewise.
28060 (RUN_TEST_LOOP_c_f): Likewise.
28061 (RUN_TEST_f_f1): Likewise.
28062 (RUN_TEST_LOOP_f_f1): Likewise.
28063 (RUN_TEST_fF_f1): Likewise.
28064 (RUN_TEST_LOOP_fF_f1): Likewise.
28065 (RUN_TEST_fI_f1): Likewise.
28066 (RUN_TEST_LOOP_fI_f1): Likewise.
28067 (RUN_TEST_ffI_f1): Likewise.
28068 (RUN_TEST_LOOP_ffI_f1): Likewise.
28069 (RUN_TEST_c_c): Likewise.
28070 (RUN_TEST_LOOP_c_c): Likewise.
28071 (RUN_TEST_cc_c): Likewise.
28072 (RUN_TEST_LOOP_cc_c): Likewise.
28073 (RUN_TEST_f_i): Likewise.
28074 (RUN_TEST_LOOP_f_i): Likewise.
28075 (RUN_TEST_f_i_tg): Likewise.
28076 (RUN_TEST_LOOP_f_i_tg): Likewise.
28077 (RUN_TEST_ff_i_tg): Likewise.
28078 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28079 (RUN_TEST_f_b): Likewise.
28080 (RUN_TEST_LOOP_f_b): Likewise.
28081 (RUN_TEST_f_b_tg): Likewise.
28082 (RUN_TEST_LOOP_f_b_tg): Likewise.
28083 (RUN_TEST_f_l): Likewise.
28084 (RUN_TEST_LOOP_f_l): Likewise.
28085 (RUN_TEST_f_L): Likewise.
28086 (RUN_TEST_LOOP_f_L): Likewise.
28087 (RUN_TEST_sincos): Likewise.
28088 (RUN_TEST_LOOP_sincos): Likewise.
28089
8269107f
JM
280902013-05-17 Joseph Myers <joseph@codesourcery.com>
28091
bb38759d
JM
28092 [BZ #15480]
28093 [BZ #15485]
28094 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28095 main case of finite arguments, set rounding mode to FE_TONEAREST
28096 and discard exceptions.
28097 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28098 exceptions.
28099 (remainder_tonearest_test_data): New variable.
28100 (remainder_test_tonearest): New function.
28101 (remainder_towardzero_test_data): New variable.
28102 (remainder_test_towardzero): New function.
28103 (remainder_downward_test_data): New variable.
28104 (remainder_test_downward): New function.
28105 (remainder_upward_test_data): New variable.
28106 (remainder_test_upward): New function.
28107 (main): Call the new test functions.
28108
a00bdcf0
JM
28109 * math/libm-test.inc (struct test_f_f1_data): Remove field
28110 extra_init.
28111 (struct test_fF_f1_data): Likewise.
28112 (struct test_ffI_f1_data): Likewise.
28113 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28114 based on value of EXTRA_EXPECTED.
28115 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28116 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28117 EXTRA_VAR based on value of EXTRA_EXPECTED.
28118 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28119 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28120 EXTRA_VAR based on value of EXTRA_EXPECTED.
28121 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28122 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28123 EXTRA_VAR based on value of EXTRA_EXPECTED.
28124 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28125 * math/gen-libm-test.pl (parse_args): Don't output initializers
28126 for extra output values.
28127
de407f79
JM
28128 * math/libm-test.inc (check_int): Expect result to be exactly
28129 equal to expected value and do not handle ulps.
28130 (check_long): Likewise.
28131 (check_longlong): Likewise.
28132
8269107f
JM
28133 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28134 exceptions.
28135 (cimag_test_data): Likewise.
28136 (conj_test_data): Likewise.
28137 (copysign_test_data): Likewise.
28138 (cproj_test_data): Likewise.
28139 (creal_test_data): Likewise.
28140 (fabs_test_data): Likewise.
28141 (fdim_test_data): Likewise.
28142 (finite_test_data): Likewise.
28143 (floor_test_data): Likewise.
28144 (fmax_test_data): Likewise.
28145 (fmin_test_data): Likewise.
28146 (fmod_test_data): Likewise.
28147 (fpclassify_test_data): Likewise.
28148 (frexp_test_data): Likewise.
28149 (ilogb_test_data): Likewise.
28150 (isfinite_test_data): Likewise.
28151 (isgreater_test_data): Likewise.
28152 (isgreaterequal_test_data): Likewise.
28153 (isinf_test_data): Likewise.
28154 (isless_test_data): Likewise.
28155 (islessequal_test_data): Likewise.
28156 (islessgreater_test_data): Likewise.
28157 (isnan_test_data): Likewise.
28158 (isnormal_test_data): Likewise.
28159 (issignaling_test_data): Likewise.
28160 (isunordered_test_data): Likewise.
28161 (ldexp_test_data): Likewise.
28162 (lrint_test_data): Likewise.
28163 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28164 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28165 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28166 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28167 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28168 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28169 test input.
28170 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28171 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28172 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28173 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28174 that test input.
28175 (lrint_downward_test_data): Test for "inexact" exceptions.
28176 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28177 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28178 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28179 test input.
28180 (lrint_upward_test_data): Test for "inexact" exceptions.
28181 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28182 test input.
28183 (llrint_test_data): Test for "inexact" exceptions.
28184 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28185 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28186 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28187 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28188 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28189 (llrint_downward_test_data): Test for "inexact" exceptions.
28190 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28191 (llrint_upward_test_data): Test for "inexact" exceptions.
28192 (logb_test_data): Likewise.
28193 (logb_downward_test_data): Likewise.
28194 (nextafter_test_data): Likewise.
28195 (nexttoward_test_data): Likewise.
28196 (remainder_test_data): Likewise.
28197 (remquo_test_data): Likewise.
28198 (scalbn_test_data): Likewise.
28199 (scalbln_test_data): Likewise.
28200 (signbit_test_data): Likewise.
28201 (sqrt_test_data): Likewise.
28202 (significand_test_data): Likewise.
28203
48a18de1
SP
282042013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28205
28206 [BZ #15424]
28207 * benchtests/bench-modf.c (struct args): Mark arg0 as
28208 volatile.
28209 * scripts/bench.pl: Mark members of struct args as volatile.
28210
13d3b41a
AZ
282112013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28212
68191c1d 28213 [BZ # 15497]
13d3b41a
AZ
28214 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28215 negative infinity on POWER6 or lower.
28216 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28217
2848b105
MR
282182013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28219
28220 [BZ #15442]
28221 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28222 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28223 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28224 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28225 (_FP_SETQNAN): New macro.
28226 (_FP_SETQNAN_SEMIRAW): Likewise.
28227 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28228 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28229 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28230 (FP_EXTEND): Use _FP_FRAC_SNANP.
28231 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28232 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28233 into account.
28234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28235 New macro.
28236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28237 Likewise.
28238
323e5cb7
JM
282392013-05-16 Joseph Myers <joseph@codesourcery.com>
28240
c58b274f
JM
28241 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28242 with DIVIDE_BY_ZERO_EXCEPTION.
28243 (gamma_test_data): Likewise.
28244 (lgamma_test_data): Likewise.
28245 (log_test_data): Likewise.
28246 (log10_test_data): Likewise.
28247 (log2_test_data): Likewise.
28248 (tgamma_test_data): Likewise.
28249
0ab34904
JM
28250 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28251 (acos_test_tonearest): Likewise.
28252 (acos_test_towardzero): Likewise.
28253 (acos_test_downward): Likewise.
28254 (acos_test_upward): Likewise.
28255 (acosh_test): Likewise.
28256 (asin_test): Likewise.
28257 (asin_test_tonearest): Likewise.
28258 (asin_test_towardzero): Likewise.
28259 (asin_test_downward): Likewise.
28260 (asin_test_upward): Likewise.
28261 (asinh_test): Likewise.
28262 (atan_test): Likewise.
28263 (atanh_test): Likewise.
28264 (atan2_test): Likewise.
28265 (cabs_test): Likewise.
28266 (cacos_test): Likewise.
28267 (cacosh_test): Likewise.
28268 (casin_test): Likewise.
28269 (casinh_test): Likewise.
28270 (catan_test): Likewise.
28271 (catanh_test): Likewise.
28272 (cbrt_test): Likewise.
28273 (ccos_test): Likewise.
28274 (ccosh_test): Likewise.
28275 (cexp_test): Likewise.
28276 (clog_test): Likewise.
28277 (clog10_test): Likewise.
28278 (cos_test): Likewise.
28279 (cos_test_tonearest): Likewise.
28280 (cos_test_towardzero): Likewise.
28281 (cos_test_downward): Likewise.
28282 (cos_test_upward): Likewise.
28283 (cosh_test): Likewise.
28284 (cosh_test_tonearest): Likewise.
28285 (cosh_test_towardzero): Likewise.
28286 (cosh_test_downward): Likewise.
28287 (cosh_test_upward): Likewise.
28288 (cpow_test): Likewise.
28289 (csin_test): Likewise.
28290 (csinh_test): Likewise.
28291 (csqrt_test): Likewise.
28292 (ctan_test): Likewise.
28293 (ctan_test_tonearest): Likewise.
28294 (ctan_test_towardzero): Likewise.
28295 (ctan_test_downward): Likewise.
28296 (ctan_test_upward): Likewise.
28297 (ctanh_test): Likewise.
28298 (ctanh_test_tonearest): Likewise.
28299 (ctanh_test_towardzero): Likewise.
28300 (ctanh_test_downward): Likewise.
28301 (ctanh_test_upward): Likewise.
28302 (erf_test): Likewise.
28303 (erfc_test): Likewise.
28304 (exp_test): Likewise.
28305 (exp_test_tonearest): Likewise.
28306 (exp_test_towardzero): Likewise.
28307 (exp_test_downward): Likewise.
28308 (exp_test_upward): Likewise.
28309 (exp10_test): Likewise.
28310 (exp2_test): Likewise.
28311 (expm1_test): Likewise.
28312 (fmod_test): Likewise.
28313 (gamma_test): Likewise.
28314 (hypot_test): Likewise.
28315 (j0_test): Likewise.
28316 (j1_test): Likewise.
28317 (jn_test): Likewise.
28318 (lgamma_test): Likewise.
28319 (log_test): Likewise.
28320 (log10_test): Likewise.
28321 (log1p_test): Likewise.
28322 (log2_test): Likewise.
28323 (logb_test_downward): Likewise.
28324 (pow_test): Likewise.
28325 (pow_test_tonearest): Likewise.
28326 (pow_test_towardzero): Likewise.
28327 (pow_test_downward): Likewise.
28328 (pow_test_upward): Likewise.
28329 (remainder_test): Likewise.
28330 (remquo_test): Likewise.
28331 (sin_test): Likewise.
28332 (sin_test_tonearest): Likewise.
28333 (sin_test_towardzero): Likewise.
28334 (sin_test_downward): Likewise.
28335 (sin_test_upward): Likewise.
28336 (sincos_test): Likewise.
28337 (sinh_test): Likewise.
28338 (sinh_test_tonearest): Likewise.
28339 (sinh_test_towardzero): Likewise.
28340 (sinh_test_downward): Likewise.
28341 (sinh_test_upward): Likewise.
28342 (sqrt_test): Likewise.
28343 (tan_test): Likewise.
28344 (tan_test_tonearest): Likewise.
28345 (tan_test_towardzero): Likewise.
28346 (tan_test_downward): Likewise.
28347 (tan_test_upward): Likewise.
28348 (tanh_test): Likewise.
28349 (tgamma_test): Likewise.
28350 (y0_test): Likewise.
28351 (y1_test): Likewise.
28352 (yn_test): Likewise.
28353
323e5cb7
JM
28354 * math/gen-libm-test.pl (adjust_arg): Remove function.
28355 (special_function): Remove argument $in_func. Only handle
28356 generating output for tables of tests, not inside functions.
28357 (parse_args): Likewise.
28358 (generate_testfile): Remove variable $in_func. Update call to
28359 parse_args.
28360 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28361 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28362 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28363 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28364 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28365 (MAX_VALUE_INIT): Rename macro to max_value.
28366 (MIN_VALUE_INIT): Rename macro to min_value.
28367 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28368 (plus_zero): Remove variable.
28369 (minus_zero): Likewise.
28370 (plus_infty): Likewise.
28371 (minus_infty): Likewise.
28372 (qnan_value): Likewise.
28373 (max_value): Likewise.
28374 (min_value): Likewise.
28375 (min_subnorm_value): Likewise.
28376
e054f494
RA
283772013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28378
28379 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28380 uint64_t or uint32_t usage.
28381 * crypt/sha256-block.c: Likewise.
28382 * crypt/sha256-crypt.c: Likewise.
28383 * crypt/sha256.c: Likewise.
28384 * crypt/sha512-block.c: Likewise.
28385 * crypt/sha512-crypt.c: Likewise.
28386 * crypt/sha512.c: Likewise.
28387 * debug/backtrace-tst.c: Likewise.
28388 * debug/pcprofiledump.c: Likewise.
28389 * elf/cache.c: Likewise.
28390 * elf/dl-cache.c: Likewise.
28391 * elf/dl-misc.c: Likewise.
28392 * elf/dl-profile.c: Likewise.
28393 * elf/dl-support.c: Likewise.
28394 * elf/ldconfig.c: Likewise.
28395 * elf/sprof.c: Likewise.
28396 * iconv/dummy-repertoire.c: Likewise.
28397 * iconv/iconv_charmap.c: Likewise.
28398 * iconv/skeleton.c: Likewise.
28399 * iconvdata/8bit-generic.c: Likewise.
28400 * iconvdata/cp737.h: Likewise.
28401 * iconvdata/cp775.h: Likewise.
28402 * iconvdata/ibm1008.h: Likewise.
28403 * iconvdata/ibm1025.h: Likewise.
28404 * iconvdata/ibm1046.h: Likewise.
28405 * iconvdata/ibm1097.h: Likewise.
28406 * iconvdata/ibm1112.h: Likewise.
28407 * iconvdata/ibm1122.h: Likewise.
28408 * iconvdata/ibm1123.h: Likewise.
28409 * iconvdata/ibm1124.h: Likewise.
28410 * iconvdata/ibm1129.h: Likewise.
28411 * iconvdata/ibm1130.h: Likewise.
28412 * iconvdata/ibm1132.h: Likewise.
28413 * iconvdata/ibm1133.h: Likewise.
28414 * iconvdata/ibm1137.h: Likewise.
28415 * iconvdata/ibm1140.h: Likewise.
28416 * iconvdata/ibm1141.h: Likewise.
28417 * iconvdata/ibm1142.h: Likewise.
28418 * iconvdata/ibm1143.h: Likewise.
28419 * iconvdata/ibm1144.h: Likewise.
28420 * iconvdata/ibm1145.h: Likewise.
28421 * iconvdata/ibm1146.h: Likewise.
28422 * iconvdata/ibm1147.h: Likewise.
28423 * iconvdata/ibm1148.h: Likewise.
28424 * iconvdata/ibm1149.h: Likewise.
28425 * iconvdata/ibm1153.h: Likewise.
28426 * iconvdata/ibm1154.h: Likewise.
28427 * iconvdata/ibm1155.h: Likewise.
28428 * iconvdata/ibm1156.h: Likewise.
28429 * iconvdata/ibm1157.h: Likewise.
28430 * iconvdata/ibm1158.h: Likewise.
28431 * iconvdata/ibm1160.h: Likewise.
28432 * iconvdata/ibm1161.h: Likewise.
28433 * iconvdata/ibm1162.h: Likewise.
28434 * iconvdata/ibm1163.h: Likewise.
28435 * iconvdata/ibm1164.h: Likewise.
28436 * iconvdata/ibm1166.h: Likewise.
28437 * iconvdata/ibm1167.h: Likewise.
28438 * iconvdata/ibm12712.h: Likewise.
28439 * iconvdata/ibm1390.h: Likewise.
28440 * iconvdata/ibm1399.h: Likewise.
28441 * iconvdata/ibm16804.h: Likewise.
28442 * iconvdata/ibm4517.h: Likewise.
28443 * iconvdata/ibm4899.h: Likewise.
28444 * iconvdata/ibm4909.h: Likewise.
28445 * iconvdata/ibm4971.h: Likewise.
28446 * iconvdata/ibm5347.h: Likewise.
28447 * iconvdata/ibm803.h: Likewise.
28448 * iconvdata/ibm856.h: Likewise.
28449 * iconvdata/ibm901.h: Likewise.
28450 * iconvdata/ibm902.h: Likewise.
28451 * iconvdata/ibm9030.h: Likewise.
28452 * iconvdata/ibm9066.h: Likewise.
28453 * iconvdata/ibm921.h: Likewise.
28454 * iconvdata/ibm922.h: Likewise.
28455 * iconvdata/ibm9448.h: Likewise.
28456 * iconvdata/isiri-3342.h: Likewise.
28457 * iconvdata/jis0201.h: Likewise.
28458 * include/link.h: Likewise.
28459 * include/netdb.h: Likewise.
28460 * inet/check_native.c: Likewise.
28461 * inet/check_pf.c: Likewise.
28462 * inet/getipv4sourcefilter.c: Likewise.
28463 * inet/getnameinfo.c: Likewise.
28464 * inet/getsourcefilter.c: Likewise.
28465 * inet/htonl.c: Likewise.
28466 * inet/setipv4sourcefilter.c: Likewise.
28467 * inet/setsourcefilter.c: Likewise.
28468 * inet/test-inet6_opt.c: Likewise.
28469 * inet/tst-network.c: Likewise.
28470 * locale/C-collate.c: Likewise.
28471 * locale/C-ctype.c: Likewise.
28472 * locale/C-time.c: Likewise.
28473 * locale/C-translit.h: Likewise.
28474 * locale/loadarchive.c: Likewise.
28475 * locale/programs/3level.h: Likewise.
28476 * locale/programs/charmap.c: Likewise.
28477 * locale/programs/charmap.h: Likewise.
28478 * locale/programs/ld-address.c: Likewise.
28479 * locale/programs/ld-collate.c: Likewise.
28480 * locale/programs/ld-ctype.c: Likewise.
28481 * locale/programs/ld-identification.c: Likewise.
28482 * locale/programs/ld-measurement.c: Likewise.
28483 * locale/programs/ld-messages.c: Likewise.
28484 * locale/programs/ld-monetary.c: Likewise.
28485 * locale/programs/ld-name.c: Likewise.
28486 * locale/programs/ld-numeric.c: Likewise.
28487 * locale/programs/ld-paper.c: Likewise.
28488 * locale/programs/ld-telephone.c: Likewise.
28489 * locale/programs/ld-time.c: Likewise.
28490 * locale/programs/linereader.c: Likewise.
28491 * locale/programs/locale.c: Likewise.
28492 * locale/programs/locarchive.c: Likewise.
28493 * locale/programs/locfile.h: Likewise.
28494 * locale/programs/repertoire.c: Likewise.
28495 * locale/programs/simple-hash.c: Likewise.
28496 * locale/programs/simple-hash.h: Likewise.
28497 * malloc/memusage.c: Likewise.
28498 * malloc/memusagestat.c: Likewise.
28499 * nis/nis_defaults.c: Likewise.
28500 * nis/nis_hash.c: Likewise.
28501 * nis/nis_print.c: Likewise.
28502 * nis/nis_xdr.c: Likewise.
28503 * nscd/connections.c: Likewise.
28504 * nscd/hstcache.c: Likewise.
28505 * nscd/nscd_gethst_r.c: Likewise.
28506 * nscd/nscd_getserv_r.c: Likewise.
28507 * nscd/nscd_helper.c: Likewise.
28508 * nscd/servicescache.c: Likewise.
28509 * nss/makedb.c: Likewise.
28510 * nss/nss_db/db-XXX.c: Likewise.
28511 * nss/nss_db/db-initgroups.c: Likewise.
28512 * nss/nss_db/db-netgrp.c: Likewise.
28513 * nss/nss_files/files-network.c: Likewise.
28514 * nss/nss_files/files-parse.c: Likewise.
28515 * posix/bug-regex5.c: Likewise.
28516 * posix/fnmatch_loop.c: Likewise.
28517 * posix/regcomp.c: Likewise.
28518 * posix/regexec.c: Likewise.
28519 * posix/tst-rfc3484-2.c: Likewise.
28520 * posix/tst-rfc3484-3.c: Likewise.
28521 * posix/tst-rfc3484.c: Likewise.
28522 * resolv/nss_dns/dns-canon.c: Likewise.
28523 * resolv/nss_dns/dns-network.c: Likewise.
28524 * resolv/res_init.c: Likewise.
28525 * resolv/res_mkquery.c: Likewise.
28526 * resolv/tst-aton.c: Likewise.
28527 * stdlib/cxa_atexit.c: Likewise.
28528 * stdlib/cxa_finalize.c: Likewise.
28529 * stdlib/gen-fpioconst.c: Likewise.
28530 * stdlib/strtol_l.c: Likewise.
28531 * string/tst-endian.c: Likewise.
28532 * sunrpc/auth_des.c: Likewise.
28533 * sunrpc/clnt_udp.c: Likewise.
28534 * sunrpc/rtime.c: Likewise.
28535 * sunrpc/svcauth_des.c: Likewise.
28536 * sunrpc/xdr.c: Likewise.
28537 * sunrpc/xdr_intXX_t.c: Likewise.
28538 * sunrpc/xdr_rec.c: Likewise.
28539 * sysdeps/generic/ldconfig.h: Likewise.
28540 * sysdeps/generic/ldsodefs.h: Likewise.
28541 * sysdeps/generic/memusage.h: Likewise.
28542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28552 * sysdeps/posix/getaddrinfo.c: Likewise.
28553 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28554 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28555 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28557 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28558 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28559 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28560 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28561 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28562 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28563 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28564 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28565 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28566 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28568 * sysdeps/x86_64/dl-tls.h: Likewise.
28569 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28570 * time/alt_digit.c: Likewise.
28571 * time/era.c: Likewise.
28572 * wcsmbs/tst-c16c32-1.c: Likewise.
28573
8c75f674
JM
285742013-05-16 Joseph Myers <joseph@codesourcery.com>
28575
28576 * math/libm-test.inc (struct test_sincos_data): New type.
28577 (RUN_TEST_LOOP_sincos): New macro.
28578 (sincos_test_data): New variable.
28579 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28580
e6e49e59
RH
285812013-05-16 Richard Henderson <rth@redhat.com>
28582
28583 * math/atest-exp2.c (LIMB64): New macro.
28584 (CONSTSZ): New macro.
28585 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28586 (hexdig): Move ...
28587 (print_mpn_fp): ... to function scope.
28588 (read_mpn_hex): Remove.
28589 (get_log2): Remove.
28590 (exp2_mpn): Use mp_log2.
28591 (main): Use mp_exp1.
28592
15c7c18d
JM
285932013-05-16 Joseph Myers <joseph@codesourcery.com>
28594
105a07df
JM
28595 * math/libm-test.inc: Remove comment about not testing "inexact"
28596 exceptions.
28597 (INEXACT_EXCEPTION): New macro.
28598 (NO_INEXACT_EXCEPTION): Likewise.
28599 (INVALID_EXCEPTION_OK): Update value.
28600 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28601 (OVERFLOW_EXCEPTION_OK): Likewise.
28602 (UNDERFLOW_EXCEPTION_OK): Likewise.
28603 (IGNORE_ZERO_INF_SIGN): Likewise.
28604 (ERRNO_UNCHANGED): Likewise.
28605 (ERRNO_EDOM): Likewise.
28606 (ERRNO_ERANGE): Likewise.
28607 (test_exceptions): Handle testing "inexact" exceptions.
28608 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28609 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28610 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28611 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28612 INEXACT_EXCEPTION.
28613 (rint_towardzero_test_data): Likewise.
28614 (rint_downward_test_data): Likewise.
28615 (rint_upward_test_data): Likewise.
28616
e9eee333
JM
28617 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28618 with OVERFLOW_EXCEPTION.
28619 (exp10_test_data): Likewise.
28620 (exp2_test_data): Likewise.
28621 (expm1_test_data): Likewise.
28622 (lgamma_test_data): Likewise.
28623 (pow_test_data): Likewise.
28624 (tgamma_test_data): Likewise.
28625 (yn_test_data): Remove duplicate test of overflow.
28626
1c38ff73
JM
28627 * math/libm-test.inc (struct test_cc_c_data): New type.
28628 (RUN_TEST_LOOP_cc_c): New macro.
28629 (cpow_test_data): New variable.
28630 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28631
15c7c18d
JM
28632 * math/libm-test.inc (struct test_f_L_data): New type.
28633 (RUN_TEST_LOOP_f_L): New macro.
28634 (llrint_test_data): New variable.
28635 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28636 (llrint_tonearest_test_data): New variable.
28637 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28638 (llrint_towardzero_test_data): New variable.
28639 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28640 (llrint_downward_test_data): New variable.
28641 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28642 (llrint_upward_test_data): New variable.
28643 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28644 (llround_test_data): New variable.
28645 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28646
f137ff13
PC
286472013-05-13 Peter Collingbourne <pcc@google.com>
28648
28649 * math/atest-exp2.c (get_log2): Remove const attribute.
28650
3608cb24
JM
286512013-05-15 Joseph Myers <joseph@codesourcery.com>
28652
28653 * math/libm-test.inc (struct test_f_l_data): New type.
28654 (RUN_TEST_LOOP_f_l): New macro.
28655 (lrint_test_data): New variable.
28656 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28657 (lrint_tonearest_test_data): New variable.
28658 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28659 (lrint_towardzero_test_data): New variable.
28660 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28661 (lrint_downward_test_data): New variable.
28662 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28663 (lrint_upward_test_data): New variable.
28664 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28665 (lround_test_data): New variable.
28666 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28667
39b1f617
PC
286682013-05-15 Peter Collingbourne <pcc@google.com>
28669
1deff3dc
PC
28670 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28671 (EXTRACT_WORDS64) Use where appropriate.
28672 (INSERT_WORDS64) Likewise.
28673
791f3ba0
PC
28674 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28675 constraints with x constraints.
28676 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28677
39b1f617
PC
28678 * malloc/obstack.c (_obstack_compat): Add initializer.
28679
12fba011
EM
286802013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28681
28682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28683 si_trapno and add si_addr_lsb to _sifields.sigfault.
28684 (si_trapno): Remove macro.
28685 (si_addr_lsb): Define new macro.
28686 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28687
d369f531
JM
286882013-05-15 Joseph Myers <joseph@codesourcery.com>
28689
b861c6c4
JM
28690 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28691 instead of TEST_f_l.
28692 (llrint_test_tonearest): Likewise.
28693 (llrint_test_towardzero): Likewise.
28694 (llrint_test_downward): Likewise.
28695 (llrint_test_upward): Likewise.
28696 (llround_test): Likewise.
28697
7abeee12
JM
28698 * math/libm-test.inc (struct test_f_i_data): Add comment.
28699 (RUN_TEST_LOOP_f_b): New macro.
28700 (RUN_TEST_LOOP_f_b_tg): Likewise.
28701 (finite_test_data): New variable.
28702 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28703 (isfinite_test_data): New variable.
28704 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28705 (isinf_test_data): New variable.
28706 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28707 (isnan_test_data): New variable.
28708 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28709 (isnormal_test_data): New variable.
28710 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28711 (issignaling_test_data): New variable.
28712 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28713 (signbit_test_data): New variable.
28714 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28715
cbe8c4d3
JM
28716 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28717 with INVALID_EXCEPTION.
28718 (acosh_test_data): Likewise.
28719 (asin_test_data): Likewise.
28720 (atanh_test_data): Likewise.
28721 (fmod_test_data): Likewise.
28722 (log_test_data): Likewise.
28723 (log10_test_data): Likewise.
28724 (log2_test_data): Likewise.
28725 (pow_test_data): Likewise.
28726 (sqrt_test_data): Likewise.
28727 (y0_test_data): Likewise.
28728 (y1_test_data): Likewise.
28729 (yn_test_data): Likewise.
28730
5575c0e5
JM
28731 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28732 function contents.
28733
d369f531
JM
28734 * math/libm-test.inc (struct test_ff_i_data): New type.
28735 (RUN_TEST_LOOP_ff_i_tg): New macro.
28736 (isgreater_test_data): New variable.
28737 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28738 (isgreaterequal_test_data): New variable.
28739 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28740 (isless_test_data): New variable.
28741 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28742 (islessequal_test_data): New variable.
28743 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28744 (islessgreater_test_data): New variable.
28745 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28746 (isunordered_test_data): New variable.
28747 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28748
781fd748
DM
287492013-05-14 David S. Miller <davem@davemloft.net>
28750
28751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28752
87aa21df
JM
287532013-05-14 Joseph Myers <joseph@codesourcery.com>
28754
5e908270
JM
28755 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28756
f71172e5
JM
28757 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28758 extra_test to int.
28759 (struct test_f_i_data): Change type of max_ulp to int.
28760
8cfa635a
JM
28761 * math/libm-test.inc (test_ffI_f1_data): New type.
28762 (RUN_TEST_LOOP_ffI_f1): New macro.
28763 (remquo_test_data): New variable.
28764 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28765
2bcb36b2
JM
28766 * setjmp/tst-setjmp-fp.c: New file.
28767 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28768 (link-libm): New variable.
28769 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28770
acbd839a
JM
28771 * math/libm-test.inc (struct test_f_i_data): New type.
28772 (RUN_TEST_LOOP_f_i): New macro.
28773 (RUN_TEST_LOOP_f_i_tg): Likewise.
28774 (fpclassify_test_data): New variable.
28775 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28776 (ilogb_test_data): New variable.
28777 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28778
e414d745
JM
28779 * math/libm-test.inc (scalbln_test): Correct function name in END
28780 call.
28781
d9c2a0fd
JM
28782 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28783 (RUN_TEST_LOOP_fI_f1): New macro.
28784 (frexp_test_data): New variable.
28785 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28786
9dc9095d
JM
28787 * math/libm-test.inc (struct test_fF_f1_data): New type.
28788 (RUN_TEST_LOOP_fF_f1): New macro.
28789 (modf_test_data): New variable.
28790 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28791
87aa21df
JM
28792 * math/libm-test.inc (struct test_f_f1_data): New type.
28793 (RUN_TEST_LOOP_f_f1): New macro.
28794 (gamma_test_data): New variable.
28795 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28796 (lgamma_test_data): New variable.
28797 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28798
141af660
CD
287992013-05-13 Carlos O'Donell <carlos@redhat.com>
28800
28801 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28802 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28803 (main): Comment "tls" pseudo-hwcap.
28804
6d33265c
JM
288052013-05-13 Joseph Myers <joseph@codesourcery.com>
28806
68fc074c
JM
28807 * math/libm-test.inc (struct test_fl_f_data): New type.
28808 (RUN_TEST_LOOP_fl_f): New variable.
28809 (scalbln_test_data): New variable.
28810 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28811
243216e1
JM
28812 * math/libm-test.inc (struct test_fi_f_data): New type.
28813 (RUN_TEST_LOOP_fi_f): New macro.
28814 (ldexp_test_data): New variable.
28815 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28816 (scalbn_test_data): New variable.
28817 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28818
6a1992e2
JM
28819 * math/libm-test.inc (struct test_c_f_data): New type.
28820 (RUN_TEST_LOOP_c_f): New macro.
28821 (cabs_test_data): New variable.
28822 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28823 (carg_test_data): New variable.
28824 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28825 (cimag_test_data): New variable.
28826 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28827 (creal_test_data): New variable.
28828 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28829
0e400df5
JM
28830 * math/libm-test.inc (struct test_if_f_data): New type.
28831 (RUN_TEST_LOOP_if_f): New macro.
28832 (jn_test_data): New variable.
28833 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28834 (yn_test_data): New variable.
28835 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28836
6d33265c
JM
28837 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28838
f98ece5f
AZ
288392013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28840
28841 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28842 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28843
0f7d347b
SP
288442013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28845
43fe811b
SP
28846 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28847 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28848 (bench-deps): Add bench-timing.h.
28849 * benchtests-bench-skeleton.c: Include bench-timing.h.
28850 (main): Use TIMING_* macros instead of clock_gettime.
28851 * benchtests/bench-timing.h: New file.
28852
0f7d347b
SP
28853 [BZ #14582]
28854 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28855 Renamed from _LIB_VERSION.
28856 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28857
601a3a5f
JM
288582013-05-12 Joseph Myers <joseph@codesourcery.com>
28859
4f184d30
JM
28860 * math/libm-test.inc (struct test_fff_f_data): New type.
28861 (RUN_TEST_LOOP_fff_f): New macro.
28862 (fma_test_data): New variable.
28863 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28864 (fma_towardzero_test_data): New variable.
28865 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28866 (fma_downward_test_data): New variable.
28867 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28868 (fma_upward_test_data): New variable.
28869 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28870
08198877
JM
28871 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28872 (struct test_c_c_data): New type.
28873 (RUN_TEST_LOOP_c_c): New macro.
28874 (cacos_test_data): New variable.
28875 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28876 (cacosh_test_data): New variable.
28877 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28878 (casin_test_data): New variable.
28879 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28880 (casinh_test_data): New variable.
28881 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28882 (catan_test_data): New variable.
28883 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28884 (catanh_test_data): New variable.
28885 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28886 (ccos_test_data): New variable.
28887 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28888 (ccosh_test_data): New variable.
28889 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28890 (cexp_test_data): New variable.
28891 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28892 (clog_test_data): New variable.
28893 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28894 (clog10_test_data): New variable.
28895 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28896 (conj_test_data): New variable.
28897 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28898 (cproj_test_data): New variable.
28899 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28900 (csin_test_data): New variable.
28901 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28902 (csinh_test_data): New variable.
28903 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28904 (csqrt_test_data): New variable.
28905 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28906 (ctan_test_data): New variable.
28907 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28908 (ctan_tonearest_test_data): New variable.
28909 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28910 (ctan_towardzero_test_data): New variable.
28911 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28912 (ctan_downward_test_data): New variable.
28913 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28914 (ctan_upward_test_data): New variable.
28915 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28916 (ctanh_test_data): New variable.
28917 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28918 (ctanh_tonearest_test_data): New variable.
28919 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28920 (ctanh_towardzero_test_data): New variable.
28921 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28922 (ctanh_downward_test_data): New variable.
28923 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28924 (ctanh_upward_test_data): New variable.
28925 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28926 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28927 of BUILD_COMPLEX.
28928
601a3a5f
JM
28929 * math/libm-test.inc (struct test_ff_f_data): New type.
28930 (struct test_ff_f_data_nexttoward): Likewise.
28931 (RUN_TEST_LOOP_2_f): New macro.
28932 (RUN_TEST_LOOP_ff_f): Likewise.
28933 (atan2_test_data): New variable.
28934 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28935 (copysign_test_data): New variable.
28936 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28937 (fdim_test_data): New variable.
28938 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28939 (fmax_test_data): New variable.
28940 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28941 (fmin_test_data): New variable.
28942 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28943 (fmod_test_data): New variable.
28944 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28945 (hypot_test_data): New variable.
28946 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28947 (nextafter_test_data): New variable.
28948 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28949 (nexttoward_test_data): New variable.
28950 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28951 (pow_test_data): New variable.
28952 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28953 (pow_tonearest_test_data): New variable.
28954 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28955 (pow_towardzero_test_data): New variable.
28956 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28957 (pow_downward_test_data): New variable.
28958 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28959 (pow_upward_test_data): New variable.
28960 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28961 (remainder_test_data): New variable.
28962 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28963 (scalb_test_data): New variable.
28964 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28965 * sysdeps/i386/fpu/libm-test-ulps: Update.
28966
74c57478
JM
289672013-05-11 Joseph Myers <joseph@codesourcery.com>
28968
8329e4da
JM
28969 * math/libm-test.inc (fma_test): Use max_value instead of local
28970 variable fltmax.
28971 (nextafter_test): Likewise.
28972
74c57478
JM
28973 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28974 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28975 (acos_downward_test_data): New variable.
28976 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28977 (acos_upward_test_data): New variable.
28978 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28979 (acosh_test_data): New variable.
28980 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28981 (asin_test_data): New variable.
28982 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28983 (asin_tonearest_test_data): New variable.
28984 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28985 (asin_towardzero_test_data): New variable.
28986 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28987 (asin_downward_test_data): New variable.
28988 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28989 (asin_upward_test_data): New variable.
28990 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28991 (asinh_test_data): New variable.
28992 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28993 (atan_test_data): New variable.
28994 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28995 (atanh_test_data): New variable.
28996 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28997 (cbrt_test_data): New variable.
28998 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28999 (ceil_test_data): New variable.
29000 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29001 (cos_test_data): New variable.
29002 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29003 (cos_tonearest_test_data): New variable.
29004 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29005 (cos_towardzero_test_data): New variable.
29006 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29007 (cos_downward_test_data): New variable.
29008 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29009 (cos_upward_test_data): New variable.
29010 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29011 (cosh_test_data): New variable.
29012 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29013 (cosh_tonearest_test_data): New variable.
29014 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29015 (cosh_towardzero_test_data): New variable.
29016 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29017 (cosh_downward_test_data): New variable.
29018 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29019 (cosh_upward_test_data): New variable.
29020 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29021 (erf_test_data): New variable.
29022 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29023 (erfc_test_data): New variable.
29024 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29025 (exp_test_data): New variable.
29026 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29027 (exp_tonearest_test_data): New variable.
29028 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29029 (exp_towardzero_test_data): New variable.
29030 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29031 (exp_downward_test_data): New variable.
29032 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29033 (exp_upward_test_data): New variable.
29034 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29035 (exp10_test_data): New variable.
29036 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29037 (exp2_test_data): New variable.
29038 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29039 (expm1_test_data): New variable.
29040 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29041 (fabs_test_data): New variable.
29042 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29043 (floor_test_data): New variable.
29044 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29045 (j0_test_data): New variable.
29046 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29047 (j1_test_data): New variable.
29048 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29049 (log_test_data): New variable.
29050 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29051 (log10_test_data): New variable.
29052 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29053 (log1p_test_data): New variable.
29054 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29055 (log2_test_data): New variable.
29056 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29057 (logb_test_data): New variable.
29058 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29059 (logb_downward_test_data): New variable.
29060 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29061 (nearbyint_test_data): New variable.
29062 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29063 (rint_test_data): New variable.
29064 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29065 (rint_tonearest_test_data): New variable.
29066 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29067 (rint_towardzero_test_data): New variable.
29068 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29069 (rint_downward_test_data): New variable.
29070 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29071 (rint_upward_test_data): New variable.
29072 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29073 (round_test_data): New variable.
29074 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29075 (sin_test_data): New variable.
29076 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29077 (sin_tonearest_test_data): New variable.
29078 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29079 (sin_towardzero_test_data): New variable.
29080 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29081 (sin_downward_test_data): New variable.
29082 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29083 (sin_upward_test_data): New variable.
29084 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29085 (sinh_test_data): New variable.
29086 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29087 (sinh_tonearest_test_data): New variable.
29088 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29089 (sinh_towardzero_test_data): New variable.
29090 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29091 (sinh_downward_test_data): New variable.
29092 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29093 (sinh_upward_test_data): New variable.
29094 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29095 (sqrt_test_data): New variable.
29096 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29097 (tan_test_data): New variable.
29098 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29099 (tan_tonearest_test_data): New variable.
29100 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29101 (tan_towardzero_test_data): New variable.
29102 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29103 (tan_downward_test_data): New variable.
29104 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29105 (tan_upward_test_data): New variable.
29106 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29107 (tanh_test_data): New variable.
29108 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29109 (tgamma_test_data): New variable.
29110 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29111 (trunc_test_data): New variable.
29112 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29113 (y0_test_data): New variable.
29114 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29115 (y1_test_data): New variable.
29116 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29117 (significand_test_data): New variable.
29118 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29119
7187d844
CG
291202013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29121
29122 [BZ #12387]
29123 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29124
f63fae73
PT
291252013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29126
29127 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29128
8a67a4b3
AJ
291292013-05-10 Andreas Jaeger <aj@suse.de>
29130
29131 [BZ #15448]
29132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29133 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29134
51df539d
JM
291352013-05-10 Joseph Myers <joseph@codesourcery.com>
29136
29137 * math/gen-libm-test.pl (adjust_arg): New function.
29138 (special_functions): Handle generating output in both functions
29139 and arrays.
29140 (parse_args): Likewise.
29141 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29142 $in_func argument to parse_args.
29143 * math/libm-test.inc (struct test_f_f_data): New type.
29144 (IF_ROUND_INIT_): New macro.
29145 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29146 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29149 (ROUND_RESTORE_): Likewise.
29150 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29151 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29152 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29153 (ROUND_RESTORE_FE_UPWARD): Likewise.
29154 (RUN_TEST_LOOP_f_f): New macro.
29155 (acos_test_data): New variable.
29156 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29157 (acos_tonearest_test_data): New variable.
29158 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29159
5c637fe5
SP
291602013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29161
29162 * benchtests/bench-skeleton.c (startup): Fix coding style.
29163
ab2b9461
JM
291642013-05-10 Joseph Myers <joseph@codesourcery.com>
29165
29166 [BZ #6809]
29167 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29168 negative infinity argument.
29169 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29170 negative infinity argument.
29171 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29172 negative infinity argument.
29173 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29174 domain errors.
29175
4c0fe6fe
FW
291762013-05-10 Florian Weimer <fweimer@redhat.com>
29177
29178 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29179 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29180 * iconv/iconv_prog.c (main): Likewise.
29181 * locale/programs/charmap-dir.c (charmap_readdir)
29182 (fopen_uncompressed): Likewise.
29183 * locale/programs/locfile.c (siblings_uncached)
29184 (write_locale_data): Use lstat64 instead of lstat.
29185 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29186 stat.
29187
a3375d29
AJ
291882013-05-10 Andreas Jaeger <aj@suse.de>
29189
29190 [BZ #15395]
29191 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29192 localization.
29193 Include <locale.h>.
29194
36129722
CD
291952013-05-09 Carlos O'Donell <carlos@redhat.com>
29196
29197 * elf/dl-close.c (_dl_close_worker): Add comments.
29198
faa7f811
JM
291992013-05-09 Joseph Myers <joseph@codesourcery.com>
29200
ed41ffef
JM
29201 [BZ #15359]
29202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29203 high part of pi/2.
29204 (__ieee754_rem_pio2l): Update comments.
29205
d0213cd0
JM
29206 [BZ #15429]
29207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29208 high part of pi/2.
29209 (__ieee754_rem_pio2l): Update comments.
29210
0d3e777a
JM
29211 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29212 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29213
24f56066
JM
29214 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29215 M_PI_4l.
29216
faa7f811
JM
29217 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29218 (M_PI_34_LOG10El): Likewise.
29219 (M_PI2_LOG10El): Likewise.
29220 (M_PI4_LOG10El): Likewise.
29221 (M_PI_LOG10El): Likewise.
29222
e9a5e0fd
AZ
292232013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29224
29225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29226
d8cd06db
JM
292272013-05-08 Joseph Myers <joseph@codesourcery.com>
29228
a0d9f9d7
JM
29229 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29230 (MINUS_ZERO_INIT): Likewise.
29231 (PLUS_INFTY_INIT): Likewise.
29232 (MINUS_INFTY_INIT): Likewise.
29233 (QNAN_VALUE_INIT): Likewise.
29234 (MAX_VALUE_INIT): Likewise.
29235 (MIN_VALUE_INIT): Likewise.
29236 (MIN_SUBNORM_VALUE_INIT): Likewise.
29237 (plus_zero): Initialize with PLUS_ZERO_INIT.
29238 (minus_zero): Initialize with MINUS_ZERO_INIT.
29239 (plus_infty): Initialize with PLUS_INFTY_INIT.
29240 (minus_infty): Initialize with MINUS_INFTY_INIT.
29241 (qnan_value): Initialize with QNAN_VALUE_INIT.
29242 (max_value): Initialize with MAX_VALUE_INIT.
29243 (min_value): Initialize with MIN_VALUE_INIT.
29244 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29245
ae08db3b
JM
29246 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29247 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29248 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29249 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29250
f44bf14a
JM
29251 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29252 (RUN_TEST_2_f): Likewise.
29253 (RUN_TEST_ff_f): Likewise.
29254 (RUN_TEST_fi_f): Likewise.
29255 (RUN_TEST_fl_f): Likewise.
29256 (RUN_TEST_fff_f): Likewise.
29257 (RUN_TEST_c_f): Likewise.
29258 (RUN_TEST_f_f1): Likewise.
29259 (RUN_TEST_fF_f1): Likewise.
29260 (RUN_TEST_fI_f1): Likewise.
29261 (RUN_TEST_ffI_f1): Likewise.
29262 (RUN_TEST_c_c): Likewise.
29263 (RUN_TEST_cc_c): Likewise.
29264 (RUN_TEST_f_i): Likewise.
29265 (RUN_TEST_f_i_tg): Likewise.
29266 (RUN_TEST_ff_i_tg): Likewise.
29267 (RUN_TEST_f_b): Likewise.
29268 (RUN_TEST_f_b_tg): Likewise.
29269 (RUN_TEST_f_l): Likewise.
29270 (RUN_TEST_f_L): Likewise.
29271 (RUN_TEST_sincos): Likewise.
29272 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29273 whether to show exceptions. Do not include ");\n" in return
29274 value.
29275 (special_functions): Output call to RUN_TEST_sincos instead of
29276 check_float calls. Update calls to new_test.
29277 (parse_args): Output call to single RUN_TEST_* macro instead of
29278 check_* calls and other assignments. Update calls to new_test.
29279
d8cd06db
JM
29280 [BZ #2546]
29281 [BZ #2560]
29282 [BZ #5159]
29283 [BZ #15426]
29284 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29285 input to result for tgamma overflow.
29286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29287 (gamma_coeff): New variable.
29288 (NCOEFF): New macro.
29289 (gamma_positive): New function.
29290 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29291 underflow here. Use gamma_positive instead of exp (lgamma) for
29292 other arguments.
29293 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29294 (gamma_coeff): New variable.
29295 (NCOEFF): New macro.
29296 (gammaf_positive): New function.
29297 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29298 underflow here. Use gamma_positive instead of exp (lgamma) for
29299 other arguments.
29300 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29301 (gamma_coeff): New variable.
29302 (NCOEFF): New macro.
29303 (gammal_positive): New function.
29304 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29305 underflow here. Use gamma_positive instead of exp (lgamma) for
29306 other arguments.
29307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29308 (gamma_coeff): New variable.
29309 (NCOEFF): New macro.
29310 (gammal_positive): New function.
29311 (__ieee754_gammal_r): Handle positive infinity, overflow and
29312 underflow here. Handle NaN the same as positive infinity. Remove
29313 check x < 0xffffffff for negative integers. Use gamma_positive
29314 instead of exp (lgamma) for other arguments.
29315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29316 (gamma_coeff): New variable.
29317 (NCOEFF): New macro.
29318 (gammal_positive): New function.
29319 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29320 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29325 * sysdeps/generic/math_private.h (__gamma_productf): New
29326 prototype.
29327 (__gamma_product): Likewise.
29328 (__gamma_productl): Likewise.
29329 * math/Makefile (libm-calls): Add gamma_product.
29330 * math/libm-test.inc (tgamma_test): Add more tests.
29331 * sysdeps/i386/fpu/libm-test-ulps: Update.
29332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29333
bb7cf681
OB
293342013-05-08 Ondřej Bílka <neleai@seznam.cz>
29335
29336 * benchtests/bench-skeleton.c (main): Preheat CPU.
29337
ba853947
AJ
293382013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29339
29340 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29341
8347c74c
RM
293422013-05-07 Roland McGrath <roland@hack.frob.com>
29343
29344 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29345 and _dl_skip_args_internal.
29346
e8dd4791
CD
293472013-05-07 Carlos O'Donell <carlos@redhat.com>
29348
29349 * manual/message.texi (Message Translation): Talk about users.
29350 Message to key mapping impacts design.
29351
c7405830
RM
293522013-05-06 Roland McGrath <roland@hack.frob.com>
29353
a9173057
RM
29354 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29355
976e2f03
RM
29356 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29357
9723ffc5
RM
29358 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29359 * sysdeps/wordsize-64/glob64.c: ... here.
29360
962e6658
RM
29361 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29362 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29363 New macros.
29364
ee586a6d
RM
29365 * debug/getlogin_r_chk.c: Moved to ...
29366 * login/getlogin_r_chk.c: ... here.
29367 * debug/Makefile (routines): Move getlogin_r_chk to ...
29368 * login/Makefile (routines): ... here.
29369 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29370 * login/Versions (libc: GLIBC_2.4): ... here.
29371
355f9165
RM
29372 * io/poll.c (__poll): Renamed from poll.
29373 Add libc_hidden_def.
29374 (poll): Define as weak alias.
29375
bd9ffde6
RM
29376 * debug/ptsname_r_chk.c: Moved to ...
29377 * login/ptsname_r_chk.c: ... here.
29378 * debug/Makefile (routines): Move ptsname_r_chk to ...
29379 * login/Makefile (routines): ... here.
29380 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29381 * login/Versions (libc: GLIBC_2.4): ... here.
29382
8fb16a04
RM
29383 * posix/getlogin.c: Moved to ...
29384 * login/getlogin.c: ... here.
29385 * posix/getlogin_r.c: Moved to ...
29386 * login/getlogin_r.c: ... here.
29387 * posix/getlogin_r.c: Moved to ...
29388 * login/getlogin_r.c: ... here.
29389 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29390 * login/Makefile (routines): ... here.
29391 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29392 * login/Versions (libc: GLIBC_2.0): ... here.
29393
b99b892f
RM
29394 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29395 (setrlimit): Define as weak alias.
29396
c7405830
RM
29397 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29398 Call __ names for open, ftruncate, and close.
29399 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29400 (truncate): Define as weak alias.
29401
5bf96de5
JM
294022013-05-06 Joseph Myers <joseph@codesourcery.com>
29403
9ea3513c
JM
29404 * math/gen-libm-test.pl (parse_args): Initialize x before each
29405 test of frexp, modf and remquo.
29406
5bf96de5
JM
29407 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29408 test signgam value.
29409
16e616a7
AZ
294102013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29411
29412 [BZ #15418]
29413 [BZ #15419]
29414 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29415 internal tests.
29416 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29417
d5e82754
RM
294182013-05-06 Roland McGrath <roland@hack.frob.com>
29419
29420 * elf/dl-writev.h: New file.
29421 * elf/dl-misc.c: Include it.
29422 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29423 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29424
a7548d41
JM
294252013-05-04 Joseph Myers <joseph@codesourcery.com>
29426
b7dab1e4
JM
29427 * math/libm-test.inc (noXFails): Remove variable.
29428 (noXPasses): Likewise.
29429 (BUILD_COMPLEX_INT): Remove macro.
29430 (print_screen): Remove xfail argument.
29431 (print_screen_max_error): Likewise.
29432 (update_stats): Likewise.
29433 (print_max_error): Likewise. Update calls to other affected
29434 functions.
29435 (print_complex_max_error): Likewise.
29436 (test_single_exception): Update calls to print_screen.
29437 (test_single_errno): Likewise.
29438 (check_float_internal): Remove xfail argument. Update calls to
29439 other affected functions.
29440 (check_float): Likewise.
29441 (check_complex): Likewise.
29442 (check_int): Likewise.
29443 (check_long): Likewise.
29444 (check_bool): Likewise.
29445 (check_longlong): Likewise.
29446 (main): Don't print noXFails and noXPasses.
29447 * math/gen-libm-test.pl (top level): Don't mention expected
29448 failure handling in comment.
29449 (new_test): Don't handle expected failures.
29450 (parse_args): Don't mention expected failure handling in comment.
29451 (generate_testfile): Don't handle expected failures.
29452 (parse_ulps): Likewise.
29453 (print_ulps_file): Likewise.
29454 (get_failure): Remove function.
29455 (output_test): Don't handle expected failures.
29456 * make/README.libm-test: Don't mention expected failure handling.
29457
a7548d41
JM
29458 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29459 (minus_zero): Likewise.
29460 (plus_infty): Likewise.
29461 (minus_infty): Likewise.
29462 (qnan_value): Likewise.
29463 (max_value): Likewise.
29464 (min_value): Likewise.
29465 (min_subnorm_value): Likewise.
29466 (initialize): Do not initialize those variables dynamically.
29467
60bfd54c
RM
294682013-05-03 Roland McGrath <roland@hack.frob.com>
29469
cc0e6ed8
RM
29470 * io/open.c (__open_2): Moved to ...
29471 * io/open_2.c: ... this new file.
29472 * io/open64.c (__open64_2): Moved to ...
29473 * io/open64_2.c: ... this new file.
29474 * io/openat.c (__openat_2): Moved to ...
29475 * io/openat_2.c: ... this new file.
29476 * io/openat64.c (__openat64_2): Moved to ...
29477 * io/openat64_2.c: ... this new file.
29478 * io/Makefile (routines): Add them.
29479 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29480 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29481 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29482 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29483 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29484 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29485 (__openat64): Add hidden_ver.
29486 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29487 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29488
60bfd54c
RM
29489 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29490 Separately conditionalize setting of GLRO(dl_sysinfo) so
29491 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29492 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29493
83e7640f
AZ
294942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29495
29496 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29498 definition.
29499 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29500 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29501 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29502 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29503 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29504
d5dc2af3
JM
295052013-05-03 Joseph Myers <joseph@codesourcery.com>
29506
c31a5b1e
JM
29507 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29508 test signgam value.
29509
d5dc2af3
JM
29510 * math/libm-test.inc (hypot_test): Do not use
29511 IGNORE_ZERO_INF_SIGN.
29512
164fd39d
AJ
295132013-05-03 Andreas Jaeger <aj@suse.de>
29514
29515 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29516 Linux 3.9.
29517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29518 (PF_MAX): Adjust for VSOCK change.
29519
8237f48c
AZ
295202013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29521
29522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29523
9df02941
CD
295242013-05-02 Carlos O'Donell <carlos@redhat.com>
29525
29526 [BZ #15264]
29527 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29528 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29529 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29530
d422395e
DM
295312013-05-02 David S. Miller <davem@davemloft.net>
29532
29533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29534
a07c5731
OB
295352013-05-01 Ondřej Bílka <neleai@seznam.cz>
29536
29537 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29538
1324e37f
RM
295392013-05-01 Roland McGrath <roland@hack.frob.com>
29540
29541 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29542
0695940b
RS
295432013-05-01 Richard Smith <richard@metafoo.co.uk>
29544
bb5f27ad 29545 [BZ #14952]
0695940b
RS
29546 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29547 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29548 Use __attribute__ ((__gnu_inline__)).
29549 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29550 Don't use __attribute__ ((__gnu_inline__)).
29551
10de07f5
JM
295522013-05-01 Joseph Myers <joseph@codesourcery.com>
29553
29554 [BZ #15423]
29555 * math/s_catan.c (__catan): Handle small real or imaginary part of
29556 input specially to avoid spurious underflow.
29557 * math/s_catanf.c (__catanf): Likewise.
29558 * math/s_catanh.c (__catanh): Likewise.
29559 * math/s_catanhf.c (__catanhf): Likewise.
29560 * math/s_catanhl.c (__catanhl): Likewise.
29561 * math/s_catanl.c (__catanl): Likewise.
29562 * math/libm-test.inc (catan_test): Add more tests.
29563 (catanh_test): Likewise.
29564 * sysdeps/i386/fpu/libm-test-ulps: Update.
29565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29566
cb4d5414
AZ
295672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29568
29569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29570
caf84319
JM
295712013-04-30 Joseph Myers <joseph@codesourcery.com>
29572
29573 [BZ #15416]
29574 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29575 accurately for denominator in atan2.
29576 * math/s_catanf.c (__catanf): Likewise.
29577 * math/s_catanh.c (__catanh): Likewise.
29578 * math/s_catanhf.c (__catanhf): Likewise.
29579 * math/s_catanhl.c (__catanhl): Likewise.
29580 * math/s_catanl.c (__catanl): Likewise.
29581 * math/libm-test.inc (catan_test): Add more tests.
29582 (catanh_test): Likewise.
29583 * sysdeps/i386/fpu/libm-test-ulps: Update.
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29585
d569c6ee
SP
295862013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29587
6dbe713d
SP
29588 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29589
f0ee064b
SP
29590 * benchtests/Makefile (bench): Remove slow benchmarks.
29591 * benchtests/atan-inputs: Add slow benchmark inputs.
29592 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29593 (BENCH_FUNC): Accept variant offset.
29594 (VARIANT): Define.
29595 * benchtests/bench-skeleton.c (main): Run benchmark for each
29596 variant.
29597 * benchtests/cos-inputs: Add slow benchmark inputs.
29598 * benchtests/exp-inputs: Likewise.
29599 * benchtests/pow-inputs: Likewise.
29600 * benchtests/sin-inputs: Likewise.
29601 * benchtests/slowatan-inputs: Remove.
29602 * benchtests/slowatan.c: Remove.
29603 * benchtests/slowcos-inputs: Remove.
29604 * benchtests/slowcos.c: Remove.
29605 * benchtests/slowexp-inputs: Remove.
29606 * benchtests/slowexp.c: Remove.
29607 * benchtests/slowpow-inputs: Remove.
29608 * benchtests/slowpow.c: Remove.
29609 * benchtests/slowsin-inputs: Remove.
29610 * benchtests/slowsin.c: Remove.
29611 * benchtests/slowtan-inputs: Remove.
29612 * benchtests/slowtan.c: Remove.
29613 * benchtests/tan-inputs: Add slow benchmark inputs.
29614 * scripts/bench.pl: Parse comments and directives.
29615
d569c6ee
SP
29616 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29617 in CPPFLAGS.
29618 ($(objpfx)bench-%.c): Remove *-ITER.
29619 * benchtests/bench-modf.c: Remove definition of ITER.
29620 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29621 (main): Loop for DURATION seconds instead of fixed number of
29622 iterations.
29623 * scripts/bench.pl: Don't expect iterations in parameters.
29624
a6a242fe
RM
296252013-04-29 Roland McGrath <roland@hack.frob.com>
29626
29627 * io/fchdir.c (__fchdir): Renamed from fchdir.
29628 (fchdir): Define as weak alias.
29629
f2da7793
JM
296302013-04-29 Joseph Myers <joseph@codesourcery.com>
29631
29632 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29633 (ERRNO_EDOM): Likewise.
29634 (ERRNO_ERANGE): Likewise.
29635 (noErrnoTests): New variable.
29636 (init_max_error): Set errno to 0.
29637 (test_single_errno): New function.
29638 (test_errno): Likewise.
29639 (check_float_internal): Call test_errno. Set errno to 0.
29640 (check_complex): Refer to errno tests in comment.
29641 (check_int): Call test_errno. Set errno to 0.
29642 (check_long): Likewise.
29643 (check_bool): Likewise.
29644 (check_longlong): Likewise.
29645 (cos_test): Use ERRNO_* flags for errno tests instead of
29646 check_int.
29647 (expm1_test): Likewise.
29648 (fmod_test): Likewise.
29649 (ilogb_test): Likewise.
29650 (lgamma_test): Likewise.
29651 (pow_test): Likewise.
29652 (remainder_test): Likewise.
29653 (sin_test): Likewise.
29654 (tan_test): Likewise.
29655 (yn_test): Likewise.
29656 (initialize): Set errno to 0.
29657 (main): Print number of errno tests.
29658 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29659
b1a36ceb
AJ
296602013-04-29 Andreas Jaeger <aj@suse.de>
29661
c3ed8088
AJ
29662 [BZ #15084]
29663 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29664 and RES_USEVC.
29665
f1a24198
AJ
29666 [BZ #15085]
29667 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29668 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29669 unimplemented.
29670
9ce3b2cb
AJ
29671 [BZ #15380]
29672 * stdlib/random.c (__initstate): Return NULL if
29673 __initstate fails.
29674
f1a24198 29675 [BZ #15086]
b1a36ceb
AJ
29676 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29677 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29678 RES_SNGLKUPREOP.
29679
7e7b6f36
AZ
296802013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29681
29682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29683
4d14f449
JM
296842013-04-29 Joseph Myers <joseph@codesourcery.com>
29685
29686 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29687 of individual tests.
29688 (casin_test): Likewise.
29689 (casinh_test): Likewise.
29690
5b4217d7
JM
296912013-04-27 Joseph Myers <joseph@codesourcery.com>
29692
29693 [BZ #15409]
29694 * math/s_catan.c (__catan): Handle arguments with large real or
29695 imaginary part separately without squaring.
29696 * math/s_catanf.c (__catanf): Likewise.
29697 * math/s_catanh.c (__catanh): Likewise.
29698 * math/s_catanhf.c (__catanhf): Likewise.
29699 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29700 and redefine.
29701 (__catanhl): Handle arguments with large real or imaginary part
29702 separately without squaring.
29703 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29704 and redefine.
29705 (__catanl): Handle arguments with large real or imaginary part
29706 separately without squaring.
29707 * math/libm-test.inc (catan_test): Add more tests.
29708 (catanh_test): Likewise.
29709 * sysdeps/i386/fpu/libm-test-ulps: Update.
29710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29711
4220c3ef
AJ
297122013-04-27 Andreas Jaeger <aj@suse.de>
29713
29714 [BZ #15007]
29715 * stdlib/stdlib.h: Update guards for qecvt.
29716 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29717 <stdlib.h>.
29718
4721b2d1
AM
297192013-04-27 Allan McRae <allan@archlinux.org>
29720
29721 * sysdeps/i386/fpu/libm-test-ulps: Update.
29722
f0302940
JM
297232013-04-26 Joseph Myers <joseph@codesourcery.com>
29724
9457fd95
JM
29725 [BZ #15406]
29726 * math/s_catan.c: Include <float.h>.
29727 (__catan): Ensure underflow exception occurs for underflowed
29728 result.
29729 * math/s_catanf.c: Include <float.h>.
29730 (__catanf): Ensure underflow exception occurs for underflowed
29731 result.
29732 * math/s_catanh.c: Include <float.h>.
29733 (__catanh): Ensure underflow exception occurs for underflowed
29734 result.
29735 * math/s_catanhf.c: Include <float.h>.
29736 (__catanhf): Ensure underflow exception occurs for underflowed
29737 result.
29738 * math/s_catanhl.c: Include <float.h>.
29739 (__catanhl): Ensure underflow exception occurs for underflowed
29740 result.
29741 * math/s_catanl.c: Include <float.h>.
29742 (__catanl): Ensure underflow exception occurs for underflowed
29743 result.
29744 * math/libm-test.inc (catan_test): Add more tests.
29745 (catanh_test): Likewise.
29746
f0302940
JM
29747 [BZ #15405]
29748 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29749 underflowed result.
29750 * math/s_ccoshf.c (__ccoshf): Likewise.
29751 * math/s_ccoshl.c (__ccoshl): Likewise.
29752 * math/s_csin.c (__csin): Likewise.
29753 * math/s_csinf.c (__csinf): Likewise.
29754 * math/s_csinh.c (__csinh): Likewise.
29755 * math/s_csinhf.c (__csinhf): Likewise.
29756 * math/s_csinhl.c (__csinhl): Likewise.
29757 * math/s_csinl.c (__csinl): Likewise.
29758 * math/libm-test.inc (ccos_test): Add more tests.
29759 (ccosh_test): Likewise.
29760 (csin_test): Likewise.
29761 (csinh_test): Likewise.
29762
aa630f59
AZ
297632013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29764
29765 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29766 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29767 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29768 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29769 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29770 powerpc/power5+/fpu folders.
29771 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29772
29773
1b835983
MT
297742013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29775
29776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29777
73709b26
JM
297782013-04-25 Joseph Myers <joseph@codesourcery.com>
29779
29780 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29781 additions to variable.
29782 [$(config-machine) = x86_64] (modules-names): Likewise.
29783 ($(objpfx)tst-audit3): Remove dependency.
29784 ($(objpfx)tst-audit3.out): Likewise.
29785 ($(objpfx)tst-audit4): Likewise.
29786 ($(objpfx)tst-audit4.out): Likewise.
29787 ($(objpfx)tst-audit5): Likewise.
29788 ($(objpfx)tst-audit5.out): Likewise.
29789 ($(objpfx)tst-audit6): Likewise.
29790 ($(objpfx)tst-audit6.out): Likewise.
29791 ($(objpfx)tst-audit7): Likewise.
29792 ($(objpfx)tst-audit7.out): Likewise.
29793 (tst-audit3-ENV): Remove variable.
29794 (tst-audit4-ENV): Likewise.
29795 (tst-audit5-ENV): Likewise.
29796 (tst-audit6-ENV): Likewise.
29797 (tst-audit7-ENV): Likewise.
29798 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29799 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29800 addition to variable.
29801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29802 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29803 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29804 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29805 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29806 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29807 tst-audit3, tst-audit4 and tst-audit5.
29808 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29809 tst-audit6 and tst-audit7.
29810 [$(subdir) = elf] (modules-names): Add audit modules for those
29811 tests.
29812 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29813 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29814 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29815 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29816 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29817 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29818 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29819 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29820 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29821 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29822 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29823 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29824 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29825 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29826 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29827 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29828 Likewise.
29829 [$(subdir) = elf && $(config-cflags-avx) = yes]
29830 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29831 [$(subdir) = elf && $(config-cflags-avx) = yes]
29832 (CFLAGS-tst-auditmod4a.c): Likewise.
29833 [$(subdir) = elf && $(config-cflags-avx) = yes]
29834 (CFLAGS-tst-auditmod4b.c): Likewise.
29835 [$(subdir) = elf && $(config-cflags-avx) = yes]
29836 (CFLAGS-tst-auditmod6b.c): Likewise.
29837 [$(subdir) = elf && $(config-cflags-avx) = yes]
29838 (CFLAGS-tst-auditmod6c.c): Likewise.
29839 [$(subdir) = elf && $(config-cflags-avx) = yes]
29840 (CFLAGS-tst-auditmod7b.c): Likewise.
29841 * elf/tst-audit3.c: Move to ...
29842 * sysdeps/x86_64/tst-audit3.c: ... here.
29843 * elf/tst-audit4.c: Move to ...
29844 * sysdeps/x86_64/tst-audit4.c: ... here.
29845 * elf/tst-audit5.c: Move to ...
29846 * sysdeps/x86_64/tst-audit5.c: ... here.
29847 * elf/tst-audit6.c: Move to ...
29848 * sysdeps/x86_64/tst-audit6.c: ... here.
29849 * elf/tst-audit7.c: Move to ...
29850 * sysdeps/x86_64/tst-audit7.c: ... here.
29851 * elf/tst-auditmod3a.c: Move to ...
29852 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29853 * elf/tst-auditmod3b.c: Move to ...
29854 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29855 * elf/tst-auditmod4a.c: Move to ...
29856 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29857 * elf/tst-auditmod4b.c: Move to ...
29858 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29859 * elf/tst-auditmod5a.c: Move to ...
29860 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29861 * elf/tst-auditmod5b.c: Move to ...
29862 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29863 * elf/tst-auditmod6a.c: Move to ...
29864 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29865 * elf/tst-auditmod6b.c: Move to ...
29866 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29867 * elf/tst-auditmod6c.c: Move to ...
29868 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29869 * elf/tst-auditmod7a.c: Move to ...
29870 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29871 * elf/tst-auditmod7b.c: Move to ...
29872 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29873
1ef74943
PP
298742013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29875
29876 [BZ #15366]
29877 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29878 define unconditionally.
29879 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29880 define unconditionally.
29881 (INT8_C, INT16_C, etc.): Likewise.
29882
93fd48c5
MR
298832013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29884
ae9552cf
MR
29885 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29886 __ehdr_start with hidden visibility.
29887
93fd48c5
MR
29888 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29889
418601aa
CD
298902013-04-24 Carlos O'Donell <carlos@redhat.com>
29891
29892 * math/libm-test.inc (cos_test): Use accurate hex constants.
29893 (sincost_test): Likewise.
29894
2f38fbfe
JM
298952013-04-24 Joseph Myers <joseph@codesourcery.com>
29896
5e221800
JM
29897 * math/libm-test.inc (catan_test): Add more tests.
29898 (catanh_test): Likewise.
29899
77f143fd
JM
29900 * math/s_catanf.c (__catanf): Use suffixed floating-point
29901 constants.
29902 * math/s_catanhf.c (__catanhf): Likewise.
29903 * math/s_catanhl.c (__catanhl): Likewise.
29904 * math/s_catanl.c (__catanl): Likewise.
29905
2f38fbfe
JM
29906 [BZ #15394]
29907 * math/s_catan.c (__catan): Calculate imaginary part of result
29908 with log1p not log unless computing log of number close to 0.
29909 * math/s_catanf.c (__catanf): Likewise.
29910 * math/s_catanl.c (__catanl): Likewise.
29911 * math/s_catanh.c (__catanh): Calculate real part of result with
29912 log1p not log unless computing log of number close to 0.
29913 * math/s_catanhf.c (__catanhf): Likewise.
29914 * math/s_catanhl.c (__catanhl): Likewise.
29915 * math/libm-test.inc (catan_test): Add more tests.
29916 (catanh_test): Likewise.
29917 * sysdeps/i386/fpu/libm-test-ulps: Update.
29918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29919
45d69176
SP
299202013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29921
29922 * benchtests/Makefile: Mention files in which fast and slow
29923 paths of math functions are implemented.
29924
87f51853
RM
299252013-04-23 Roland McGrath <roland@hack.frob.com>
29926
29927 * sysdeps/posix/timespec_get.c: New file.
29928
3c026539
AZ
299292013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29930
29931 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29932 POWER.
29933 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29934 for POWER.
29935 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29936 powerpc/power5/fpu folders.
29937 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29938 * benchtests/Makefile: Add modf testcase.
29939 * benchtests/bench-modf.c: New file: Benchmark test for mo
29940
ff491d14
SP
299412013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29942
29943 [BZ #14888]
29944 * time/Makefile (tests): Add tst-strptime-whitespace.
29945 * time/strptime_l.c (get_number): Use ISSPACE.
29946 (__strptime_internal): Likewise.
29947 * time/tst-strptime-whitespace.c: New test case.
29948
7ed3f4e8
AS
299492013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29950
29951 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29952 member.
29953 (_nss_files_init): Set it here.
29954
5c95f7b6
HC
299552013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29956
29957 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29958 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29959 unsigned.
29960
d34c9158
JBG
299612013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29962
29963 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29964
2169712d
SP
299652013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29966
29967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29968 size just once.
29969
29c5de99
DM
299702013-04-21 David S. Miller <davem@davemloft.net>
29971
29972 * po/ru.po: Update Russion translation from translation project.
29973
ccdad15d
AC
299742013-04-17 Adam Conrad <adconrad@0c3.net>
29975
29976 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29977 and setfsgid.
29978
0f122b8d
CD
299792013-04-17 Carlos O'Donell <carlos@redhat.com>
29980
5c5b07da 29981 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29982 * configure: Regenerate.
5c5b07da 29983 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29984 Add example to error message.
29985 * sysdeps/i386/configure: Regenerate.
29986
037714dd
SP
299872013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29988
29989 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29990 slowtan.
29991 * benchtests/cos-inputs: New file.
29992 * benchtests/slowcos-inputs: New file.
29993 * benchtests/slowcos.c: New file.
29994 * benchtests/slowtan-inputs: New file.
29995 * benchtests/slowtan.c: New file.
29996 * benchtests/tan-inputs: New file.
29997
e913141d
RM
299982013-04-16 Roland McGrath <roland@hack.frob.com>
29999
30000 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30001 considered kosher.
30002
a2964074
SP
300032013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30004
4856bcd2
SP
30005 * benchtests/Makefile: Include cppflags-iterator.mk to add
30006 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30007
a2964074
SP
30008 * Makefile.in (bench-clean): New target.
30009 * benchtests/Makefile (bench-clean): Likewise.
30010
9fbf9aca
DH
300112013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30012
30013 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30014
207d1e2a
TS
300152013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30016
30017 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30018
306dfba9
AS
300192013-04-15 Andreas Schwab <schwab@suse.de>
30020
30021 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30023 * nscd/pwdcache.c (cache_addpw): Likewise.
30024 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30025 more than recsize.
30026
206a6699
SP
300272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30028
30029 * benchtests/Makefile (bench): Write all output to
30030 bench-out.tmp together.
30031
0582f6b3
AS
300322013-04-15 Andreas Schwab <schwab@suse.de>
30033
30034 * nscd/nscd.c (main): Don't fork again after closing files.
30035
acb4325f
SP
300362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30037
5cb26d0a
SP
30038 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30039
acb4325f
SP
30040 * benchtests/Rules (bench-deps): Collect dependencies into a
30041 single variable. Add Makefile to dependencies.
30042 ($(objpfx)bench-%.c): Depend on bench-deps.
30043
47792506
RM
300442013-04-12 Roland McGrath <roland@hack.frob.com>
30045 Xavier Roche <roche+kml2@exalead.com>
30046
30047 [BZ #15361]
30048 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30049 just that it's a file descriptor.
30050 * manual/llio.texi (Synchronizing AIO Operations): Update description
30051 for EBADF error from aio_fsync.
30052
8fc1bee5
SP
300532013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30054
30055 * Rules (bench): Move target definition...
30056 * benchtests/Makefile: ... here.
30057
aba5e333
CD
300582013-04-11 Carlos O'Donell <carlos@redhat.com>
30059
30060 * math/libm-test.inc (cos_test): Fix PI/2 test.
30061 (sincos_test): Likewise.
30062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30063 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30064
273cdee8
AS
300652013-04-11 Andreas Schwab <schwab@suse.de>
30066
6ecec3b6
AS
30067 [BZ #13988]
30068 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30069 accept exponent character only when digits were seen.
30070 * stdio-common/Makefile (tests): Add bug26.
30071 * stdio-common/bug26.c: New file.
30072
273cdee8
AS
30073 [BZ #14293]
30074 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30075 non-freeable.
30076
8da491f5
SP
300772013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30078
01dc6df9
SP
30079 * Makeconfig (rtld-prefix): Define built linker prefix.
30080 * Rules (run-bench): Use it.
30081 * math/Makefile (run-regen-ulps): Likewise.
30082
8da491f5
SP
30083 * Rules (bench): Remove eval.
30084
abe7f530
SP
300852013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30086 Roland McGrath <roland@hack.frob.com>
30087 Ondrej Bilka <neleai@seznam.cz>
30088
30089 [BZ #15346]
30090 * time/getdate.c: Include ctype.h and alloca.h.
30091 (__getdate_r): Trim leading and trailing spaces of input.
30092 * time/tst-getdate.c (tests): Add tests with leading and
30093 trailing spaces.
30094
61c23e62
RM
300952013-04-08 Roland McGrath <roland@hack.frob.com>
30096
30097 [BZ #14280]
30098 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30099 when computing value.
30100
7208a313
CD
301012013-04-06 Carlos O'Donell <carlos@redhat.com>
30102
085b2d41
CD
30103 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30104 Use testrun.sh to run libm tests.
30105
7208a313
CD
30106 [BZ #15309]
30107 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30108
872c0acd
MM
301092013-04-06 Marko Myllynen <myllynen@redhat.com>
30110
30111 [BZ #15264]
30112 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30113
26510bdd
CD
301142013-04-06 Carlos O'Donell <carlos@redhat.com>
30115
30116 * Makefile.in (regen-ulps): New target.
30117 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30118 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30119 [ifneq (no,$(PERL)] (regen-ulps): New target.
30120 [ifeq (no,$(PERL)] (regen-ulps): New target.
30121 * math/libm-test.inc (ulps_file_name): Define.
30122 (output_dir): New variable.
30123 (options): Add "output-dir" option.
30124 (parse_opt): Handle 'o' case.
30125 (main): If output_dir is non-NULL use it as a prefix
30126 otherwise use "".
30127 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30128
a01f19c8
CD
301292013-04-06 Carlos O'Donell <carlos@redhat.com>
30130
30131 [BZ #10060, #10062]
30132 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30133 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30134 fail configure if __sync_val_compare_and_swap is not inlined.
30135 * sysdeps/i386/configure: Regenerate.
30136 * configure.in: Build for i686 when configured for i386.
30137 * configure: Regenerate.
30138 * README: Remove i386 reference.
30139
b7a329a5
CD
301402013-04-06 Carlos O'Donell <carlos@redhat.com>
30141
30142 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30144
bf0f50df
TS
301452013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30146
ee091edf
TS
30147 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30148 (lmsnanval): New variables.
30149 (F): Add conversion tests.
30150 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30151 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30152
a8b792d6
TS
30153 * stdio-common/tstdiomisc.c (F): Properly collect individual
30154 tests' results.
30155
a1cbf437
TS
30156 [BZ #14686, #15336]
30157 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30158 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30159 Instead, use input NaN values or generate a qNaN by arithmetic
30160 operation. Also fix bugs to comply with the standard.
30161 * math/libm-test.inc (remainder_test): Add more tests.
30162
8b43a0c9
TS
30163 [BZ #15335, #15342]
30164 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30166 input NaN values or generate a qNaN by arithmetic operation.
30167
d91da4ce
TS
30168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30169 unreachable code.
30170
bf0f50df
TS
30171 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30172 definitions.
30173
05e166c8
JM
301742013-04-03 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #14478]
30177 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30178 underflowed result.
30179 * math/s_cexpf.c (__cexpf): Likewise.
30180 * math/s_cexpl.c (__cexpl): Likewise.
30181 * math/libm-test.inc (cexp_test): Add more tests.
30182
1cef1b19
AS
301832013-04-03 Andreas Schwab <schwab@suse.de>
30184
30185 [BZ #15330]
30186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30187 order arrays from heap if bigger than alloca cutoff.
30188
74d87055
TS
301892013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30190
30191 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30192 (SNAN_TESTS_double): Refer to GCC PR56831.
30193 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30194 GCC PR56828.
30195
d755bba4
SP
301962013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30197
90d5d5bb
SP
30198 * Rules (bench): Move bench.out after the run is complete.
30199
73e0cd5d
SP
30200 * Rules (bench): Echo currently running benchmark.
30201
64aabd4b
SP
30202 * benchtests/Makefile (bench): Add atan and slowatan.
30203 * benchtests/atan-inputs: New file.
30204 * benchtests/slowatan-inputs: New file.
30205 * benchtests/slowatan.c: New file.
30206
c871eccd
SP
30207 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30209 its value.
30210
d755bba4
SP
30211 [BZ #15305]
30212 * sysdeps/unix/sysv/linux/kernel-features.h
30213 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30214 __ASSUME_XFS_RESTRICTED_CHOWN.
30215 * sysdeps/unix/sysv/linux/pathconf.c
30216 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30217 Save and restore errno.
30218
52ce4860
JM
302192013-04-02 Joseph Myers <joseph@codesourcery.com>
30220
30221 [BZ #15327]
30222 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30223 arguments using __kernel_casinh.
30224 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30225 arguments using __kernel_casinhf.
30226 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30227 arguments using __kernel_casinhl.
30228 * math/libm-test.inc (cacosh_test): Add more tests.
30229 * sysdeps/i386/fpu/libm-test-ulps: Update.
30230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30231
81f311c2
SP
302322013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30233
e7906a47
SP
30234 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30236
92e3664b
SP
30237 * bench/Makefile (bench): Add sin and slowsin.
30238 * benchtests/sin-inputs: New file.
30239 * benchtests/slowsin-inputs: New file.
30240 * benchtests/slowsin.c: New file.
30241
81f311c2
SP
30242 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30243 (bench): Add slowexp and slowpow.
30244 (exp-ITER): Increase iterations.
30245 (pow-ITER): Likewise.
30246 * benchtests/exp-inputs: Change input.
30247 * benchtests/pow-inputs: Likewise.
30248 * benchtests/slowexp-inputs: New file.
30249 * benchtests/slowexp.c: New file.
30250 * benchtests/slowpow-inputs: New file.
30251 * benchtests/slowpow.c: New file.
30252
ab0f1aa9
AZ
302532013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30254
30255 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30256 instructions.
30257 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30258 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30259 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30260 * benchtests/Makefile: Add rint benchtest.
30261 * benchtests/rint-inputs: Input for rint benchtest.
30262
57267616
TS
302632013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30264
30265 * Versions.def (libm): Add GLIBC_2.18.
30266 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30267 hidden libm prototypes.
30268 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30269 * math/Makefile (libm-calls): Add s_issignaling.
30270 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30271 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30272 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30273 declaration.
30274 * math/math.h [__USE_GNU] (issignaling): New macro.
30275 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30276 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30277 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30278 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30279 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30280 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30281 * manual/arith.texi (issignaling): New section.
30282 * manual/libm-err-tab.pl (@all_functions): Update comment.
30283 * math/gen-libm-test.pl (parse_args): Apply special handling for
30284 issignaling.
30285 * math/libm-test.inc (print_float, issignaling_test): New
30286 functions.
30287 (check_float_internal): Add issignaling checks.
30288 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30289 default definition.
30290 * sysdeps/powerpc/math-tests.h: New file.
30291 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30292 tests.
30293 * math/test-snan.c (TEST_FUNC): Likewise.
30294
6142896d
DM
302952013-03-30 David S. Miller <davem@davemloft.net>
30296
30297 * po/de.po: Update from translation team.
30298
ccc8cadf
JM
302992013-03-30 Joseph Myers <joseph@codesourcery.com>
30300
30301 [BZ #10357]
30302 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30303 imaginary part less than 1.0 and real part less than 0.5
30304 specially.
30305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30307 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30308 (cacos_test): Add more tests.
30309 (casin_test): Likewise.
30310 (casinh_test): Likewise.
30311 * sysdeps/i386/fpu/libm-test-ulps: Update.
30312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30313
0f6a8d4b
SP
303142013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30315
0d1029de
SP
30316 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30317 ONE with its value.
30318
c2d94018
SP
30319 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30320 (__pow_mp): Replace ONE and MONE with their values.
30321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30323 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30327
27ec37f1
SP
30328 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30329
a64d7e0e
SP
30330 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30331 (__pow_mp): Replace ZERO and MZERO with their values.
30332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30333 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30334 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30336 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30337 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30338 (__sqr): Likewise.
30339
d26dd3eb
SP
30340 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30341
0f6a8d4b
SP
30342 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30343
e57b0c61
RM
303442013-03-28 Roland McGrath <roland@hack.frob.com>
30345
30346 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30347 Declare with __attribute__ ((weak)).
30348 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30349 Call __call_tls_dtors only if it's not NULL.
30350
356b3480
RM
303512013-03-28 Roland McGrath <roland@hack.frob.com>
30352
288f7d79
RM
30353 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30354 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30355 magic __ehdr_start linker symbol if it's defined.
30356 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30357 them up here if it was already done.
30358
dc0a0263
RM
30359 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30360 (_dl_aux_init): Use const in cast when setting it.
30361 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30362 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30363 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30364
3d3436ae
RM
30365 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30366 Declare them here.
30367 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30368 * csu/libc-tls.c: Nor here.
30369 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30370
356b3480
RM
30371 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30372 (__libc_message): Never call vsyslog.
30373
b0f1246a
AM
303742013-03-28 Alan Modra <amodra@gmail.com>
30375
30376 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30377 Define as empty.
30378 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30379 Likewise.
30380
fbbe2b9a
AZ
303812013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30382
30383 [BZ #15214]
30384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30385 underflow.
30386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30387
1728ab37
SP
303882013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30389
7a86be6e
SP
30390 [BZ #15304]
30391 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30392 Don't add gid passed as argument.
30393
1728ab37
SP
30394 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30395
3a7182a1
JM
303962013-03-27 Joseph Myers <joseph@codesourcery.com>
30397
30398 [BZ #15307]
30399 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30400 imaginary part between 1.0 and 1.5 and real part less than 0.5
30401 specially.
30402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30404 * math/libm-test.inc (cacos_test): Add more tests.
30405 (casin_test): Likewise.
30406 (casinh_test): Likewise.
30407 * sysdeps/i386/fpu/libm-test-ulps: Update.
30408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30409
6f2e90e7
SP
304102013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30411
5739f705
SP
30412 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30413 constants.
30414 (norm): Likewise.
30415 (denorm): Likewise.
30416 (__dbl_mp): Likewise.
30417 (add_magnitudes): Likewise.
30418 (sub_magnitudes): Likewise.
30419 (__add): Likewise.
30420 (__sub): Likewise.
30421 (__mul): Likewise.
30422 (__sqr): Likewise.
30423 (__inv): Likewise.
30424 (__dvd): Likewise.
30425
e375e83d
SP
30426 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30427 commented code.
30428 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30429 (__dubcos): Likewise.
30430 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30431 (__ieee754_acos): Likewise.
30432 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30433 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30434 (__exp1): Likewise.
30435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30437 (log1): Likewise.
30438 (my_log2): Likewise.
30439 (checkint): Likewise.
30440 * sysdeps/ieee754/dbl-64/e_remainder.c
30441 (__ieee754_remainder): Likewise.
30442 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30444 (bsloww): Likewise.
30445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30446
6f2e90e7
SP
30447 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30449 MANTISSA_STORE_T to store computations on mantissa. Use
30450 macros for rounding and division.
30451 (denorm): Likewise.
30452 (__dbl_mp): Likewise.
30453 (add_magnitudes): Likewise.
30454 (sub_magnitudes): Likewise.
30455 (__mul): Likewise.
30456 (__sqr): Likewise.
30457 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30458 powers of two in terms of TWOPOW macro.
30459 (mp_no): Make type of mantissa as MANTISSA_T.
30460 [!RADIXI]: Define RADIXI.
30461 [!TWO52]: Define TWO52.
30462 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30463
fce14d4e
AZ
304642013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30465
30466 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30467 llroundl symbol when building for PPC32.
30468
9ad027fb
MW
304692013-03-24 Mark H Weaver <mhw@netris.org>
30470
30471 * manual/arith.texi (Normalization Functions): Fix prototypes for
30472 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30473
e42a38dd
AZ
304742013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30475
30476 [BZ #13889]
30477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30478 high value to check if expl overflow.
30479 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30480 to check for underflow and overflow.
30481 * math/libm-test.inc: Add exp test.
30482
2e0fb521
DL
304832013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30484
30485 [BZ #11120]
30486 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30487 with NOT_IN_libc.
30488
b5784d95
AZ
304892013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30490
30491 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30492 symbol.
30493
5aa4a1a1
TS
304942013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30495
bdef0be7
TS
30496 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30497 wrap blocks consisting of several statements.
30498
5aa4a1a1
TS
30499 * sysdeps/generic/math-tests.h: New file.
30500 * sysdeps/i386/fpu/math-tests.h: Likewise.
30501 * math/test-snan.c: Include it.
30502 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30503
98c48fe5
JM
305042013-03-21 Joseph Myers <joseph@codesourcery.com>
30505
30506 [BZ #15285]
30507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30508 (__ieee754_j0l): Do not improve calculations using cos of twice
30509 input for inputs above LDBL_MAX / 2.0L.
30510 (__ieee754_y0l): Likewise.
30511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30512 (__ieee754_j1l): Do not improve calculations using cos of twice
30513 input for inputs above LDBL_MAX / 2.0L.
30514 (__ieee754_y1l): Likewise.
30515 * math/libm-test.inc (j0_test): Add another test.
30516 (j1_test): Likewise.
30517 (y0_test): Likewise.
30518 (y1_test): Likewise.
30519 * sysdeps/i386/fpu/libm-test-ulps: Update.
30520
3775a8bc
SP
305212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30522
30523 * Rules ($(objpfx)bench-%.c): Include code from a C source
30524 file.
30525
0a1b2ae6
JM
305262013-03-21 Joseph Myers <joseph@codesourcery.com>
30527
30528 [BZ #15287]
30529 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30530 imaginary part 1.0 and real part less than 0.5 specially.
30531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30533 * math/libm-test.inc (cacos_test): Add more tests.
30534 (casin_test): Likewise.
30535 (casinh_test): Likewise.
30536 * sysdeps/i386/fpu/libm-test-ulps: Update.
30537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30538
b33d4ce4
SP
305392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30540
30541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30542 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30543
bef0b507
JM
305442013-03-20 Joseph Myers <joseph@codesourcery.com>
30545
30546 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30547 * config.make.in (config-cflags-sse4): Remove variable.
30548 (config-cflags-avx): Likewise.
30549 (config-cflags-sse2avx): Likewise.
30550 (config-cflags-novzeroupper): Likewise.
30551 (config-asflags-i686): Likewise.
30552 (have-mfma4): Likewise.
30553 (have-as-vis3): Likewise.
30554 (MIG): Likewise.
30555 * configure.in (MIG): Do not AC_SUBST.
30556 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30557 (libc_cv_cc_sse4): Do not AC_SUBST.
30558 (libc_cv_cc_avx): Likewise.
30559 (libc_cv_cc_sse2avx): Likewise.
30560 (libc_cv_cc_novzeroupper): Likewise.
30561 (libc_cv_cc_fma4): Likewise.
30562 (libc_cv_as_i686): Likewise.
30563 (libc_cv_sparc_as_vis3): Likewise.
30564 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30565 LIBC_CONFIG_VAR.
30566 (config-asflags-i686): Likewise.
30567 (config-cflags-avx): Likewise.
30568 (config-cflags-sse2avx): Likewise.
30569 (have-mfma4): Likewise.
30570 (config-cflags-novzeroupper): Likewise.
30571 * sysdeps/mach/configure.in (MIG): Likewise.
30572 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30573 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30574 LIBC_CONFIG_VAR.
30575 (config-cflags-avx): Likewise.
30576 (config-cflags-sse2avx): Likewise.
30577 (have-mfma4): Likewise.
30578 (config-cflags-novzeroupper): Likewise.
30579 * configure: Regenerated.
30580 * sysdeps/i386/configure: Likewise.
30581 * sysdeps/mach/configure: Likewise.
30582 * sysdeps/sparc/configure: Likewise.
30583 * sysdeps/x86_64/configure: Likewise.
30584
912cc4b3
RM
305852013-03-20 Roland McGrath <roland@hack.frob.com>
30586
30587 [BZ #14812]
30588 * locale/programs/localedef.c (options): Put N_ translation marker
30589 on argument names, not just descriptions.
30590
04eed2b0
MS
305912013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30592
30593 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30594
a065ceff
OB
305952013-03-20 Ondřej Bílka <neleai@seznam.cz>
30596
9bb2a810 30597 [BZ #14176]
a065ceff
OB
30598 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30599
a600e5ce
RM
306002013-03-19 Roland McGrath <roland@hack.frob.com>
30601
30602 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30603 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30604 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30605 [!BEFORE_ABORT] (before_abort): New function.
30606 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30607 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30608 (writev_for_fatal): New function.
30609 (WRITEV_FOR_FATAL): New macro; call that.
30610 (backtrace_and_maps): New function.
30611 (BEFORE_ABORT): New macro; call that.
30612 (struct str_list): Type removed.
30613 (__libc_message, __libc_fatal): Functions removed.
30614 Include <sysdeps/posix/libc_fatal.c> instead.
30615
6b18bea6
JM
306162013-03-19 Joseph Myers <joseph@codesourcery.com>
30617
30618 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30619 constants.
30620 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30621 double constants.
30622
aaa8cb4b
AS
306232013-03-19 Andreas Schwab <schwab@suse.de>
30624
44673770
AS
30625 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30626 * sysdeps/gnu/configure: Regenerate.
30627
aaa8cb4b
AS
30628 * configure.in: Substitute libc_cv_rtlddir.
30629 * configure: Regenerate.
30630 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30631 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30632 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30633 * elf/Makefile (install-others, CFLAGS-interp.c)
30634 (ldso_install, common-ldd-rewrite): Likewise.
30635 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30636 $(inst_slibdir)/$(rtld-installed-name).
30637 * scripts/rellns-sh: Add -p option.
30638 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30639 for source.
30640
d3cfc668
SP
306412013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30642
30643 * manual/nptl.texi: Renamed to ...
30644 * manual/threads.texi: ... this.
30645 * manual/Makefile (chapters): Update.
30646
0e2b9cdd
RM
306472013-03-18 Roland McGrath <roland@hack.frob.com>
30648
30649 [BZ #14812]
30650 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30651 on argument names, not just descriptions.
0e2b9cdd
RM
30652 * malloc/memusagestat.c (options): Likewise.
30653 * nss/getent.c (options): Likewise.
63270c24
RM
30654
306552013-03-18 Benno Schulenberg <bensberg@justemail.net>
30656
30657 [BZ #14812]
30658 * iconv/iconv_prog.c (options): Put N_ translation marker
30659 on argument names, not just descriptions.
30660 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30661
b2e1393c
OB
306622013-03-18 Ondrej Bilka <neleai@seznam.cz>
30663
30664 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30665 implementation which is faster on all x86_64 architectures.
30666 Tested on AMD, Intel Nehalem, SNB, IVB.
30667 * sysdeps/x86_64/strnlen.S: Likewise.
30668
30669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30670 Remove all multiarch strlen and strnlen versions.
30671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30672 Remove strlen and strnlen related parts.
30673
30674 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30675 Inline strlen part.
30676 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30677
30678 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30679 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30680 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30681 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30682 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30683 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30684
ec4ff04d
CD
306852013-03-17 Carlos O'Donell <carlos@redhat.com>
30686
30687 * manual/memory.texi (Malloc Tunable Parameters):
30688 Sort parameters alphabetically. Add comments for missing entries.
30689
cd18e90a
DM
306902013-03-17 David S. Miller <davem@davemloft.net>
30691
30692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30693
2a185d32
JM
306942013-03-16 Joseph Myers <joseph@codesourcery.com>
30695
d2f9799e
JM
30696 [BZ #15283]
30697 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30698 for arguments at most half maximum finite value.
30699 * math/libm-test.inc (j0_test): Add more tests.
30700 (j1_test): Likewise.
30701 (y0_test): Likewise.
30702 (y1_test): Likewise.
30703 * sysdeps/i386/fpu/libm-test-ulps: Update.
30704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30705
2a185d32
JM
30706 [BZ #14155]
30707 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30708 1 / x and functions P and Q for arguments above 0x1p256L.
30709 (__ieee754_y0l): Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30711 (__ieee754_y1l): Likewise.
30712 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30713 (j1_test): Likewise.
30714 (y0_test): Likewise.
30715 (y1_test): Likewise.
30716
6cbec759
TS
307172013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30718
30719 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30720 variable.
30721
bc16e260
RM
307222013-03-15 Roland McGrath <roland@hack.frob.com>
30723
aefc9b8c
RM
30724 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30725 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30726 zero since it's initialized to EXEC_PAGESIZE.
30727
bc16e260
RM
30728 * sysdeps/unix/sysv/linux/ldsodefs.h
30729 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30730 * sysdeps/generic/ldsodefs.h: ... here.
30731
a57da955
TS
307322013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30733
af00a34d
TS
30734 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30735
495ded2c
TS
30736 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30737 math/test-snan.c.
30738 * math/test-snan.c: Renamed from
30739 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30740 * math/Makefile (tests): Add test-snan.
30741 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30742 test-powerpc-snan.
30743
777b0332
TS
30744 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30745 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30746 functions.
30747 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30748 __builtin_nan family of functions.
30749 * math/libm-test.inc (initialize): Initialize qnan_value with
30750 __builtin_nan family of functions.
30751 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30752 Remove variables.
30753 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30754 Remove functions.
30755 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30756 storage class. Initialize qNaN_var and sNaN_var with
30757 __builtin_nan and __builtin_nans families of functions,
30758 respectively.
30759
64d063b8
TS
30760 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30761 (sqrt_test): Remove duplicate test with qNaN input.
30762 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30763 (round_test, signbit_test, significand_test): Note missing +/-Inf
30764 as well as qNaN tests.
30765
67e971f1
TS
30766 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30767 qNaN_var. Fix a few strings, too.
30768 * math/libm-test.inc (nan_value): Rename to qnan_value.
30769 * math/gen-libm-test.pl (%beautify): Adjust to that.
30770 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30771 * math/test-misc.c (main): Likewise.
30772 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30773 to __qnan_bytes, and __qnan_union, respectively.
30774 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30775 Likewise.
30776 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30777 and lqnanval, respectively.
30778 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30779 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30780 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30781 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30782
64487e12
TS
30783 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30784 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30785 doubles.
30786
e015e27b
TS
30787 * math/test-misc.c (main): Fix copy'n'pastos.
30788 * misc/tst-efgcvt.c (special): Likewise.
30789
a57da955
TS
30790 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30791 Remove declarations.
30792
1e380345
SP
307932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30794
30795 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30796 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30797 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30798 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30799
ef26eece
AZ
308002013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30801
30802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30803 macro to return vdso values correctly in IFUNC implementations.
30804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30805 Optimization by using IFUNC.
30806
8cfdb7e0
SP
308072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30808 Richard Henderson <rth@redhat.com>
30809 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30810
30811 * Makefile.in (bench): New target.
30812 * NEWS: Mention the benchmark framework.
30813 * Rules (bench): Likewise.
30814 (binaries-bench): Generate binaries for functions to
30815 benchmark.
30816 * benchtests/Makefile: New makefile for benchmark tests.
30817 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30818 programs.
30819 * benchtests/exp-inputs: New input file for EXP function.
30820 * benchtests/pow-inputs: New input file for POW function.
30821 * scripts/bench.pl: New script to generate source files for
30822 benchmark programs.
30823
bcda9880
SP
308242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30825
d22ca8cd
SP
30826 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30828 computations on mantissa. Use macros for rounding and
30829 division.
30830 (denorm): Likewise.
30831 (__dbl_mp): Likewise.
30832 (add_magnitudes): Likewise.
30833 (sub_magnitudes): Likewise.
30834 (__mul): Likewise.
30835 (__sqr): Likewise.
30836 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30837 powers of two in terms of TWOPOW macro.
30838 (mp_no): Make type of mantissa as MANTISSA_T.
30839 [!RADIXI]: Define RADIXI.
30840 [!TWO52]: Define TWO52.
30841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30842
bcda9880
SP
30843 * manual/nptl.texi (cindex): Modify threads to pthreads.
30844
06d5adfb
JM
308452013-03-15 Joseph Myers <joseph@codesourcery.com>
30846
30847 * sysdeps/x86_64/preconfigure: Regenerated.
30848
41c7328e
JM
308492013-03-14 Joseph Myers <joseph@codesourcery.com>
30850
30851 [BZ #14155]
30852 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30853 0x1p28 and above.
30854 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30855 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30856 0x1p28 and above.
30857 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30858 * math/libm-test.inc (j0_test): Do not allow one spurious
30859 underflow exception.
30860 (y1_test): Likewise.
30861
e25cfa60
SP
308622013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30863
0409959c
SP
30864 * manual/Makefile (chapters): Add nptl.
30865 * manual/debug.texi (Debugging Support): Add link to Threads
30866 chapter.
30867 * manual/nptl.texi: New file.
30868
e25cfa60
SP
30869 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30870
58a1335e
PB
308712013-03-14 Petr Baudis <pasky@ucw.cz>
30872
30873 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30874 for non-NULL pointer before the memory validity test. Pointed
30875 out by Holger Brunck <holger.brunck@keymile.com>.
30876
9dc7c64f
AS
308772013-03-13 Andreas Schwab <schwab@suse.de>
30878
30879 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30880 instead of .os.
30881
54206aa6
JM
308822013-03-13 Joseph Myers <joseph@codesourcery.com>
30883
30884 * timezone/zic.c: Update from tzcode 2013b.
30885
e98cdb38
CD
308862013-03-12 Carlos O'Donell <carlos@redhat.com>
30887
30888 * manual/install.texi (Configuring and compiling):
30889 Mention i686 and i586.
30890 * INSTALL: Regenerate.
30891
9967e003
RM
308922013-03-12 Roland McGrath <roland@hack.frob.com>
30893
30894 * sysdeps/init_array/elf-init.c: New file.
30895 * csu/elf-init.c
30896 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30897 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30898
30899 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30900 __gmon_start__ as global, but as static with a .preinit_array pointer.
30901 * sysdeps/init_array/gmon-start.c: New file. Use that.
30902 * sysdeps/init_array/crti.S: New file, empty except for comments.
30903 * sysdeps/init_array/crtn.S: Likewise.
30904
e6b5a293 309052013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30906
30907 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30908 definining bcopy.
80f844c9
OB
30909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30910 Remove Prefer_SSE_for_memop.
30911 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30912 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30913 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30915 memset-x86-64.
80f844c9 30916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30917 Remove bzero, memset ifunc support.
80f844c9
OB
30918 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30920 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30921 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30922
fb6b0fcb
AS
309232013-03-11 Andreas Schwab <schwab@suse.de>
30924
30925 [BZ #15234]
30926 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30927 by SHLIB_COMPAT.
30928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30929 (GLIBC_2.16): Remove pthread_atfork.
30930
3e6bd4b1
PP
309312013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30932
30933 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30934 (ptestcases.h): Likewise.
30935
222d7f00
RM
309362013-03-08 Roland McGrath <roland@hack.frob.com>
30937
30938 * Makeconfig ($(common-objpfx)config.status): Depend on
30939 sysdeps/*/preconfigure{,.in} too.
30940
1ba4f030
JM
309412013-03-08 Joseph Myers <joseph@codesourcery.com>
30942
a222d91a
JM
30943 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30944 (__free_hook): Use void * instead of __malloc_ptr_t.
30945 (__malloc_hook): Likewise.
30946 (__realloc_hook): Likewise.
30947 (__memalign_hook): Likewise.
30948 (__after_morecore_hook): Likewise.
30949 * malloc/arena.c (save_malloc_hook): Likewise.
30950 (save_free_hook): Likewise.
30951 * malloc/hooks.c (malloc_hook_ini): Likewise.
30952 (realloc_hook_ini): Likewise.
30953 (memalign_hook_ini): Likewise.
30954 * malloc/malloc.c (malloc_hook_ini): Likewise.
30955 (realloc_hook_ini): Likewise.
30956 (memalign_hook_ini): Likewise.
30957 (__free_hook): Likewise.
30958 (__malloc_hook): Likewise.
30959 (__realloc_hook): Likewise.
30960 (__memalign_hook): Likewise.
30961 (__libc_malloc): Likewise.
30962 (__libc_free): Likewise.
30963 (__libc_realloc): Likewise.
30964 (__libc_memalign): Likewise.
30965 (__libc_valloc): Likewise.
30966 (__libc_pvalloc): Likewise.
30967 (__libc_calloc): Likewise.
30968 (__posix_memalign): Likewise.
30969 * malloc/morecore.c (__sbrk): Likewise.
30970 (__default_morecore): Likewise.
30971
5cc45e10
JM
30972 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30973
dd54b864
JM
30974 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30975 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30976 __malloc_ptrdiff_t.
30977
1ba4f030
JM
30978 * malloc/malloc.h (__malloc_size_t): Remove macro.
30979 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30980 __malloc_size_t.
30981 (old_memalign_hook): Likewise.
30982 (old_realloc_hook): Likewise.
30983 (struct hdr): Likewise.
30984 (flood): Likewise.
30985 (mallochook): Likewise.
30986 (memalignhook): Likewise.
30987 (reallochook): Likewise.
30988 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30989 (tr_old_realloc_hook): Likewise.
30990 (tr_old_memalign_hook): Likewise.
30991 (tr_mallochook): Likewise.
30992 (tr_reallochook): Likewise.
30993 (tr_memalignhook): Likewise.
30994
edf66e57
AZ
309952013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30996
30997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30998 default_ldbl_pack and using as default implementation.
30999 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31000 implementation.
31001 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31002 redundant definition.
31003 (ldbl_insert_mantissa): Likewise.
31004 (ldbl_canonicalize): Likewise.
31005 (ldbl_nearbyint): Likewise.
31006 (ldbl_pack): Rename to ldbl_pack_ppc.
31007 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31008 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31009 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31010
6d9145d8
SP
310112013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31012
31013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31014 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31016 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31019 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31020 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31021
4dd4e157
AJ
310222013-03-07 Andreas Jaeger <aj@suse.de>
31023
31024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31025 bits/mman-linux.h.
31026
adbb8027
SP
310272013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31028
ce544b5b
SP
31029 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31030 Include mpa.h and declare __MPEXP.
31031 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31032 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31033 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31035 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31036 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31037 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31038
4cc149fd
SP
31039 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31040 (__slowpow): Use long double EXPL and LOGL functions to
31041 compute POW.
31042 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31043 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31044 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31045 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31046 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31048
e6ebd4a7
SP
31049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31050 intermediate variable to calculate exponent.
31051 (__sqr): Likewise.
31052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31053 Likewise.
31054 (__sqr): Likewise.
31055
82a9811d
SP
31056 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31057 [!NO__SQR]: Define __sqr.
31058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31059 and NO__SQR. Remove all code except __mul and __sqr. Include
31060 sysdeps/ieee754/dbl-64/mpa.c.
31061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31062
adbb8027
SP
31063 [BZ #12723]
31064 * posix/Makefile (tests): Add tst-pathconf.
31065 * posix/tst-pathconf.c: New test case.
31066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31067 _PC_PIPE_BUF.
31068 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31069
39120df9
PF
310702013-03-06 Patsy Franklin <pfrankli@redhat.com>
31071
31072 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31073
67525cb8
AJ
310742013-03-06 Andreas Jaeger <aj@suse.de>
31075
664a9ce4
AJ
31076 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31077 definition via __MAP_ANONYMOUS.
31078
8e39047d
AJ
31079 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31080 it's not part of Linux headers.
31081
67525cb8
AJ
31082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31083 (MAP_HUGE_MASK): Define.
31084
31085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31086 Define.
31087 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31089 Define.
31090 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31091 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31092 Define.
31093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31095 Define.
31096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31097
31098 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31099 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31100 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31101 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31102 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31103 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31104
31105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31106 Handle f2fs.
31107
31108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31109 Handle f2fs and efivarfs.
31110
31111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31112 f2fs.
31113
31114 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31115 (EFIVARFS_MAGIC): Add.
31116 (F2FS_LINK_MAX): Add.
31117
e1b42695
PP
311182013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31119
31120 * stdio-common/vfprintf.c: Replace __builtin_expect with
31121 __glibc_unlikely.
31122
2d67d91a
JM
311232013-03-06 Joseph Myers <joseph@codesourcery.com>
31124
31125 [BZ #13550]
31126 * sysdeps/generic/bp-sym.h: Remove file.
31127 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31128 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31129 <bp-sym.h> and <bp-asm.h>.
31130 (__longjmp): Don't use BP_SYM.
31131 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31132 and <bp-asm.h>.
31133 (memcpy): Don't use BP_SYM.
31134 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31135 <bp-sym.h> and <bp-asm.h>.
31136 (memcpy): Don't use BP_SYM.
31137 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31138 <bp-asm.h>.
31139 (memcpy): Don't use BP_SYM.
31140 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31141 <bp-asm.h>.
31142 (memset): Don't use BP_SYM.
31143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31145 (__bzero): Don't use BP_SYM.
31146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31148 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31149 <bp-sym.h> and <bp-asm.h>.
31150 (memcmp): Don't use BP_SYM. Remove comment about bounded
31151 pointers.
31152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31153 <bp-sym.h> and <bp-asm.h>.
31154 (memcpy): Don't use BP_SYM.
31155 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31156 <bp-sym.h> and <bp-asm.h>.
31157 (memset): Don't use BP_SYM.
31158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31160 (__bzero): Don't use BP_SYM.
31161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31164 <bp-sym.h> and <bp-asm.h>.
31165 (strncmp): Don't use BP_SYM. Remove comment about bounded
31166 pointers.
31167 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31168 <bp-sym.h> and <bp-asm.h>.
31169 (memcpy): Don't use BP_SYM.
31170 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31171 <bp-sym.h> and <bp-asm.h>.
31172 (memset): Don't use BP_SYM.
31173 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31174 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31175 (__bzero): Don't use BP_SYM.
31176 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31177 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31179 <bp-sym.h> and <bp-asm.h>.
31180 (__memchr): Don't use BP_SYM.
31181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31182 <bp-sym.h> and <bp-asm.h>.
31183 (memcmp): Don't use BP_SYM. Remove comment about bounded
31184 pointers.
31185 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31186 <bp-sym.h> and <bp-asm.h>.
31187 (memcpy): Don't use BP_SYM.
31188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31189 <bp-sym.h> and <bp-asm.h>.
31190 (__mempcpy): Don't use BP_SYM.
31191 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31192 <bp-sym.h> and <bp-asm.h>.
31193 (__memrchr): Don't use BP_SYM.
31194 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31195 <bp-sym.h> and <bp-asm.h>.
31196 (memset): Don't use BP_SYM.
31197 (__bzero): Likewise.
31198 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31199 <bp-sym.h> and <bp-asm.h>.
31200 (__rawmemchr): Don't use BP_SYM.
31201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31202 <bp-sym.h> and <bp-asm.h>.
31203 (__STRCMP): Don't use BP_SYM.
31204 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31205 <bp-sym.h> and <bp-asm.h>.
31206 (strchr): Don't use BP_SYM.
31207 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31208 <bp-sym.h> and <bp-asm.h>.
31209 (__strchrnul): Don't use BP_SYM.
31210 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31211 <bp-sym.h> and <bp-asm.h>.
31212 (strlen): Don't use BP_SYM.
31213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31214 <bp-sym.h> and <bp-asm.h>.
31215 (strncmp): Don't use BP_SYM. Remove comment about bounded
31216 pointers.
31217 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31218 <bp-sym.h> and <bp-asm.h>.
31219 (__strnlen): Don't use BP_SYM.
31220 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31221 <bp-sym.h> and <bp-asm.h>.
31222 (__GI__setjmp): Don't use BP_SYM.
31223 (_setjmp): Likewise.
31224 (__sigsetjmp): Likewise.
31225 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31226 (L(start_addresses)): Don't use BP_SYM.
31227 (_start): Likewise.
31228 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31229 <bp-asm.h>.
31230 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31231 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31234 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31235 <bp-asm.h>.
31236 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31237 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31238 about bounded pointers.
31239 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31240 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31241 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31242 <bp-asm.h>.
31243 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31244 about bounded pointers. Remove GKM FIXME comments.
31245 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31246 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31247 <bp-asm.h>.
31248 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31249 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31250 Remove GKM FIXME comments.
31251 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31252 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31253 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31254 <bp-asm.h>.
31255 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31256 about bounded pointers. Remove GKM FIXME comment.
31257 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31258 and <bp-asm.h>.
31259 (strncmp): Don't use BP_SYM. Remove comment about bounded
31260 pointers.
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31262 <bp-sym.h> and <bp-asm.h>.
31263 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31265 <bp-sym.h> and <bp-asm.h>.
31266 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31267 comment.
31268
cdcf361f
PP
312692013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31270
31271 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31272 call free(NULL).
31273
3c4a2b15
DM
312742013-03-05 David S. Miller <davem@davemloft.net>
31275
31276 * po/es.po: Update from translation team.
31277
cdcf361f 312782013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31279
31280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31281 <bits/mman-linux.h>.
31282 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31283 is fine.
31284 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31285 <bits/mman-linux.h> to end of file.
31286 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31287 is fine.
31288 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31289 <bits/mman-linux.h> to end of file.
31290 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31291 is fine.
31292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31293 <bits/mman-linux.h> to end of file.
31294
31295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31296 (MCL_CURRENT, MCL_FUTURE): Define here.
31297
5f67c04f
AK
312982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31299
8a4473cc 31300 [BZ #15232]
5f67c04f
AK
31301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31302 attribute_hidden.
31303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31304
c3e94a95
AK
313052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31306
31307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31308 fourth parameter needed for rt_sigprocmask syscall.
31309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31310 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31311 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31312 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31313 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31314 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31315
cfb6382a
JM
313162013-03-04 Joseph Myers <joseph@codesourcery.com>
31317
31318 [BZ #13550]
31319 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31320 comment about bounded pointers.
31321 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31322 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31323
539d8e01
AJ
313242013-03-04 Andreas Jaeger <aj@suse.de>
31325
31326 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31327 common definitions.
31328
31329 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31330 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31331 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31333 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31335
2e167a70 313362013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31337
31338 [BZ #15055]
31339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31340 __ieee754_sqrl instead of __sqrl.
31341
68508633
JM
313422013-03-01 Joseph Myers <joseph@codesourcery.com>
31343
31344 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31345 * sysdeps/powerpc/fpu_control.h: ... here.
31346 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31347 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31348 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31349 * sysdeps/powerpc/bits/mathinline.h: ... here.
31350
7775448e
RM
313512013-03-01 Roland McGrath <roland@hack.frob.com>
31352
31353 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31354 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31355 to just [NEED_DL_SYSINFO_DSO].
31356 * elf/dl-support.c: Likewise.
31357 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31358 * elf/rtld.c (dl_main): Likewise.
31359 * elf/setup-vdso.h (setup_vdso): Likewise.
31360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31361 * sysdeps/unix/sysv/linux/dl-sysdep.c
31362 (_dl_discover_osversion): Likewise.
31363
4e9b5995
CD
313642013-03-01 Carlos O'Donell <carlos@redhat.com>
31365
31366 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31367 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31368
e23872c8
SP
313692013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31370
e5c74c63
SP
31371 * NEWS: Mention libm performance improvements and non-x86 PI
31372 futex support.
31373
e23872c8
SP
31374 * csu/libc-start.c (__pthread_initialize_minimal): Change
31375 function arguments.
31376 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31377
b5510883
JM
313782013-02-28 Joseph Myers <joseph@codesourcery.com>
31379
31380 [BZ #13550]
31381 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31382 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31383 <bp-sym.h> and <bp-asm.h>.
31384 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31386 and <bp-asm.h>.
31387 (memcpy): Don't use BP_SYM.
31388 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31389 <bp-asm.h>.
31390 (__mpn_add_n): Don't use BP_SYM.
31391 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31392 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31393 and <bp-asm.h>.
31394 (__mpn_addmul_1): Don't use BP_SYM.
31395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31396 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31397 <bp-sym.h>.
31398 (_setjmp): Don't use BP_SYM.
31399 (__novmx_setjmp): Likewise.
31400 (__GI__setjmp): Likewise.
31401 (__vmx_setjmp): Likewise.
31402 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31403 <bp-sym.h>.
31404 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31405 (__bzero): Don't use BP_SYM.
31406 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31407 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31408 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31409 <bp-sym.h> and <bp-asm.h>.
31410 (memcpy): Don't use BP_SYM.
31411 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31412 <bp-sym.h> and <bp-asm.h>.
31413 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31414 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31415 <bp-sym.h> and <bp-asm.h>.
31416 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31417 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31418 <bp-asm.h>.
31419 (__mpn_lshift): Don't use BP_SYM.
31420 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31421 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31422 <bp-asm.h>.
31423 (memset): Don't use BP_SYM.
31424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31426 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31427 <bp-asm.h>.
31428 (__mpn_mul_1): Don't use BP_SYM.
31429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31431 <bp-sym.h> and <bp-asm.h>.
31432 (memcmp): Don't use BP_SYM.
31433 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31434 <bp-sym.h> and <bp-asm.h>.
31435 (memcpy): Don't use BP_SYM.
31436 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31437 <bp-sym.h> and <bp-asm.h>.
31438 (memset): Don't use BP_SYM.
31439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31440 <bp-sym.h> and <bp-asm.h>.
31441 (strncmp): Don't use BP_SYM.
31442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31443 <bp-sym.h> and <bp-asm.h>.
31444 (memcpy): Don't use BP_SYM.
31445 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31446 <bp-sym.h> and <bp-asm.h>.
31447 (memset): Don't use BP_SYM.
31448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31449 <bp-sym.h> and <bp-asm.h>.
31450 (__memchr): Don't use BP_SYM.
31451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31452 <bp-sym.h> and <bp-asm.h>.
31453 (memcmp): Don't use BP_SYM.
31454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31455 <bp-sym.h> and <bp-asm.h>.
31456 (memcpy): Don't use BP_SYM.
31457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31458 <bp-sym.h> and <bp-asm.h>.
31459 (__mempcpy): Don't use BP_SYM.
31460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31461 <bp-sym.h> and <bp-asm.h>.
31462 (__memrchr): Don't use BP_SYM.
31463 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31464 <bp-sym.h> and <bp-asm.h>.
31465 (memset): Don't use BP_SYM.
31466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31467 <bp-sym.h> and <bp-asm.h>.
31468 (__rawmemchr): Don't use BP_SYM.
31469 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31470 <bp-sym.h> and <bp-asm.h>.
31471 (__STRCMP): Don't use BP_SYM.
31472 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31473 <bp-sym.h> and <bp-asm.h>.
31474 (strchr): Don't use BP_SYM.
31475 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31476 <bp-sym.h> and <bp-asm.h>.
31477 (__strchrnul): Don't use BP_SYM.
31478 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31479 <bp-sym.h> and <bp-asm.h>.
31480 (strlen): Don't use BP_SYM.
31481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31482 <bp-sym.h> and <bp-asm.h>.
31483 (strncmp): Don't use BP_SYM.
31484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31485 <bp-sym.h> and <bp-asm.h>.
31486 (__strnlen): Don't use BP_SYM.
31487 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31488 <bp-asm.h>.
31489 (__mpn_rshift): Don't use BP_SYM.
31490 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31491 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31492 <bp-sym.h> and <bp-asm.h>.
31493 (__sigsetjmp): Don't use BP_SYM.
31494 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31495 (L(start_addresses)): Don't use BP_SYM.
31496 (_start): Likewise.
31497 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31498 <bp-asm.h>.
31499 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31500 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31501 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31502 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31503 <bp-asm.h>.
31504 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31507 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31508 <bp-asm.h>.
31509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31510 comments.
31511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31512 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31513 <bp-asm.h>.
31514 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31515 FIXME comments.
31516 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31517 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31518 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31519 <bp-asm.h>.
31520 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31521 comment.
31522 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31523 and <bp-asm.h>.
31524 (strncmp): Don't use BP_SYM,
31525 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31526 <bp-asm.h>.
31527 (__mpn_sub_n): Don't use BP_SYM.
31528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31529 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31530 and <bp-asm.h>.
31531 (__mpn_submul_1): Don't use BP_SYM.
31532 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31534 <bp-sym.h> and <bp-asm.h>.
31535 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31537 <bp-sym.h> and <bp-asm.h>.
31538 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31539 comment.
31540
8d19fe64
SP
315412013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31542
31543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31544 Use ZK to minimize writes to Z.
31545 (sub_magnitudes): Simplify code a bit.
31546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31547 Use ZK to minimize writes to Z.
31548 (sub_magnitudes): Simplify code a bit.
31549
85bd816a
RM
315502013-02-27 Roland McGrath <roland@hack.frob.com>
31551
31552 * csu/gmon-start.c: Add special exception to license text.
31553
b5977bf2
RH
315542013-02-27 Richard Henderson <rth@redhat.com>
31555
31556 * scripts/config.guess: Update from config.git.
31557 * scripts/config.sub: Likewise.
31558
11d6e2f2
SP
315592013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31560
09c14ed2
SP
31561 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31562
a688864e
SP
31563 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31564
6295157a
SP
31565 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31566
b8de2202
SP
31567 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31568
11d6e2f2
SP
31569 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31570
7e80ddb8
RM
315712013-02-26 Roland McGrath <roland@hack.frob.com>
31572
31573 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31574 [$(build-shared = yes].
7e80ddb8 31575
7da6d9ed
SP
315762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31577
45f05884
SP
31578 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31579 (__mul): Reduce iterations for calculating mantissa.
31580
2236d359
SP
31581 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31582 MPTWO.
31583 (__mpranred): Likewise.
31584
7da6d9ed
SP
31585 [BZ #15160]
31586 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31587 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31588
b7688c42
PE
315892013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31590
31591 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31592 Define __attribute__.
31593
53a5c423
SP
315942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31595
31596 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31597 unused.
31598 * posix/regex_internal.h (__attribute): Remove.
31599 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31600 (re_string_context_at): Likewise.
31601 (bitset_not): Use __attribute__ and mark function as possibly
31602 unused.
31603 (bitset_merge): Likewise.
31604 (bitset_mask): Likewise.
31605 (re_string_char_size_at): Likewise.
31606 (re_string_wchar_at): Likewise.
31607 (re_string_elem_size_at): Likewise.
31608
60f5a8b5
SP
316092013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31610
2a983a2e
SP
31611 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31612 code.
31613 (cc32): Likewise.
31614
e69804d1
SP
31615 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31616 (__acr): Likewise.
31617 (__cpy): Likewise.
31618 (norm): Likewise.
31619 (denorm): Likewise.
31620 (__dbl_mp): Likewise.
31621 (add_magnitudes): Likewise.
31622 (sub_magnitudes): Likewise.
31623 (__mul): Likewise.
31624 (__inv): Likewise.
31625
2f22a1e8
SP
31626 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31627 style.
31628
8930ddc7
SP
31629 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31630 style.
31631
dc60cb11
SP
31632 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31633 code.
31634
60f5a8b5
SP
31635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31636 up changes with default code.
31637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31638 Likewise.
31639
b4d1fd33
AM
316402013-02-24 Allan McRae <allan@archlinux.org>
31641
faf6f8bc
AM
31642 * manual/socket.texi (The Internet Namespace): Order menu items
31643 to match that in the file.
31644
b4d1fd33
AM
31645 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31646 node listing of the info page menu.
31647
2366713d
JM
316482013-02-21 Joseph Myers <joseph@codesourcery.com>
31649
31650 [BZ #13550]
31651 * sysdeps/i386/bp-asm.h: Remove file.
31652 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31653 (PARMS): Do not use macros from bp-asm.h.
31654 (S1): Likewise.
31655 (S2): Likewise.
31656 (SIZE): Likewise.
31657 (__mpn_add_n): Do not use BP_SYM
31658 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31659 "bp-asm.h".
31660 (PARMS): Do not use macros from bp-asm.h.
31661 (S1): Likewise.
31662 (SIZE): Likewise.
31663 (__mpn_addmul_1): Do not use BP_SYM
31664 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31665 "bp-asm.h".
31666 (PARMS): Do not use macros from bp-asm.h.
31667 (SIGMSK): Likewise.
31668 (_setjmp): Likewise. Do not use BP_SYM.
31669 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31670 "bp-asm.h".
31671 (PARMS): Do not use macros from bp-asm.h.
31672 (SIGMSK): Likewise.
31673 (setjmp): Likewise. Do not use BP_SYM.
31674 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31675 "bp-asm.h".
31676 (PARMS): Do not use macros from bp-asm.h.
31677 (__frexp): Do not use BP_SYM.
31678 (frexp): Likewise.
31679 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31680 "bp-asm.h".
31681 (PARMS): Do not use macros from bp-asm.h.
31682 (__frexpf): Do not use BP_SYM.
31683 (frexpf): Likewise.
31684 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31685 "bp-asm.h".
31686 (PARMS): Do not use macros from bp-asm.h.
31687 (__frexpl): Do not use BP_SYM.
31688 (frexpl): Likewise.
31689 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31690 "bp-asm.h".
31691 (PARMS): Do not use macros from bp-asm.h.
31692 (__remquo): Do not use BP_SYM.
31693 (remquo): Likewise.
31694 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31695 "bp-asm.h".
31696 (PARMS): Do not use macros from bp-asm.h.
31697 (__remquof): Do not use BP_SYM.
31698 (remquof): Likewise.
31699 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31700 "bp-asm.h".
31701 (PARMS): Do not use macros from bp-asm.h.
31702 (__remquol): Do not use BP_SYM.
31703 (remquol): Likewise.
31704 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31705 "bp-asm.h".
31706 (PARMS): Do not use macros from bp-asm.h.
31707 (DEST): Likewise.
31708 (SRC): Likewise.
31709 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31710 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31711 "bp-asm.h".
31712 (PARMS): Do not use macros from bp-asm.h.
31713 (strlen): Do not use BP_SYM.
31714 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31715 "bp-asm.h".
31716 (PARMS): Do not use macros from bp-asm.h.
31717 (S1): Likewise.
31718 (S2): Likewise.
31719 (SIZE): Likewise.
31720 (__mpn_add_n): Do not use BP_SYM.
31721 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31722 "bp-asm.h".
31723 (PARMS): Do not use macros from bp-asm.h.
31724 (S1): Likewise.
31725 (SIZE): Likewise.
31726 (__mpn_addmul_1): Do not use BP_SYM.
31727 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31728 weak_alias.
31729 (bzero): Likewise.
31730 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31731 "bp-asm.h".
31732 (PARMS): Do not use macros from bp-asm.h.
31733 (S): Likewise.
31734 (SIZE): Likewise.
31735 (__mpn_lshift): Do not use BP_SYM.
31736 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31737 "bp-asm.h".
31738 (PARMS): Do not use macros from bp-asm.h.
31739 (DEST): Likewise.
31740 (SRC): Likewise.
31741 (LEN): Likewise.
31742 (memcpy): Likewise. Do not use BP_SYM.
31743 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31744 libc_hidden_def and weak_alias.
31745 (mempcpy): Do not use BP_SYM in weak_alias.
31746 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31747 "bp-asm.h".
31748 (PARMS): Do not use macros from bp-asm.h.
31749 (DEST): Likewise.
31750 (LEN): Likewise.
31751 [!BZERO_P] (CHR): Likewise.
31752 (memset): Likewise. Do not use BP_SYM.
31753 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31754 "bp-asm.h".
31755 (PARMS): Do not use macros from bp-asm.h.
31756 (S1): Likewise.
31757 (SIZE): Likewise.
31758 (__mpn_mul_1): Do not use BP_SYM.
31759 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31760 "bp-asm.h".
31761 (PARMS): Do not use macros from bp-asm.h.
31762 (S): Likewise.
31763 (SIZE): Likewise.
31764 (__mpn_rshift): Do not use BP_SYM.
31765 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31766 "bp-asm.h".
31767 (PARMS): Do not use macros from bp-asm.h.
31768 (STR): Likewise.
31769 (CHR): Likewise.
31770 (strchr): Likewise. Do not use BP_SYM.
31771 (index): Do not use BP_SYM in weak_alias.
31772 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31773 "bp-asm.h".
31774 (PARMS): Do not use macros from bp-asm.h.
31775 (DEST): Likewise.
31776 (SRC): Likewise.
31777 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31778 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31779 "bp-asm.h".
31780 (PARMS): Do not use macros from bp-asm.h.
31781 (strlen): Do not use BP_SYM.
31782 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31783 "bp-asm.h".
31784 (PARMS): Do not use macros from bp-asm.h.
31785 (S1): Likewise.
31786 (S2): Likewise.
31787 (SIZE): Likewise.
31788 (__mpn_sub_n): Do not use BP_SYM.
31789 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31790 "bp-asm.h".
31791 (PARMS): Do not use macros from bp-asm.h.
31792 (S1): Likewise.
31793 (SIZE): Likewise.
31794 (__mpn_submul_1): Do not use BP_SYM.
31795 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31796 "bp-asm.h".
31797 (PARMS): Do not use macros from bp-asm.h.
31798 (S1): Likewise.
31799 (S2): Likewise.
31800 (SIZE): Likewise.
31801 (__mpn_add_n): Do not use BP_SYM.
31802 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31803 weak_alias.
31804 (bzero): Likewise.
31805 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31806 "bp-asm.h".
31807 (PARMS): Do not use macros from bp-asm.h.
31808 (BLK2): Likewise.
31809 (LEN): Likewise.
31810 (memcmp): Do not use BP_SYM.
31811 (bcmp): Do not use BP_SYM in weak_alias.
31812 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31813 "bp-asm.h".
31814 (PARMS): Do not use macros from bp-asm.h.
31815 (DEST): Likewise.
31816 (SRC): Likewise.
31817 (LEN): Likewise.
31818 (memcpy): Likewise. Do not use BP_SYM.
31819 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31820 "bp-asm.h".
31821 (PARMS): Do not use macros from bp-asm.h.
31822 (DEST): Likewise.
31823 (SRC): Likewise.
31824 (LEN): Likewise.
31825 (memmove): Likewise. Do not use BP_SYM.
31826 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31827 "bp-asm.h".
31828 (PARMS): Do not use macros from bp-asm.h.
31829 (DEST): Likewise.
31830 (SRC): Likewise.
31831 (LEN): Likewise.
31832 (__mempcpy): Likewise. Do not use BP_SYM.
31833 (mempcpy): Do not use BP_SYM in weak_alias.
31834 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31835 "bp-asm.h".
31836 (PARMS): Do not use macros from bp-asm.h.
31837 (DEST): Likewise.
31838 (LEN): Likewise.
31839 [!BZERO_P] (CHR): Likewise.
31840 (memset): Likewise. Do not use BP_SYM.
31841 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31842 "bp-asm.h".
31843 (PARMS): Do not use macros from bp-asm.h.
31844 (STR2): Likewise.
31845 (strcmp): Do not use BP_SYM.
31846 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31847 "bp-asm.h".
31848 (PARMS): Do not use macros from bp-asm.h.
31849 (STR): Likewise.
31850 (DELIM): Likewise.
31851 [USE_AS_STRTOK_R] (SAVE): Likewise.
31852 (FUNCTION): Likewise. Do not use BP_SYM.
31853 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31854 aliases.
31855 (strtok_r): Likewise.
31856 (__GI___strtok_r): Likewise.
31857 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31858 (PARMS): Do not use macros from bp-asm.h.
31859 (S): Likewise.
31860 (SIZE): Likewise.
31861 (__mpn_lshift): Do not use BP_SYM.
31862 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31863 (PARMS): Do not use macros from bp-asm.h.
31864 (STR): Likewise.
31865 (CHR): Likewise.
31866 (__memchr): Do not use BP_SYM.
31867 (memchr): Do not use BP_SYM in weak_alias.
31868 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31869 (PARMS): Do not use macros from bp-asm.h.
31870 (BLK2): Likewise.
31871 (LEN): Likewise.
31872 (memcmp): Do not use BP_SYM.
31873 (bcmp): Do not use BP_SYM in weak_alias.
31874 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31875 (PARMS): Do not use macros from bp-asm.h.
31876 (S1): Likewise.
31877 (SIZE): Likewise.
31878 (__mpn_mul_1): Do not use BP_SYM.
31879 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31880 "bp-asm.h".
31881 (PARMS): Do not use macros from bp-asm.h.
31882 (STR): Likewise.
31883 (CHR): Likewise.
31884 (__rawmemchr): Do not use BP_SYM.
31885 (rawmemchr): Do not use BP_SYM in weak_alias.
31886 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31887 (PARMS): Do not use macros from bp-asm.h.
31888 (S): Likewise.
31889 (SIZE): Likewise.
31890 (__mpn_rshift): Do not use BP_SYM.
31891 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31892 (PARMS): Do not use macros from bp-asm.h.
31893 (SIGMSK): Likewise.
31894 (__sigsetjmp): Likewise. Do not use BP_SYM.
31895 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31896 (_start): Do not use BP_SYM.
31897 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31898 (PARMS): Do not use macros from bp-asm.h.
31899 (DEST): Likewise.
31900 (SRC): Likewise.
31901 (__stpcpy): Likewise. Do not use BP_SYM.
31902 (stpcpy): Do not use BP_SYM in weak_alias.
31903 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31904 "bp-asm.h".
31905 (PARMS): Do not use macros from bp-asm.h.
31906 (DEST): Likewise.
31907 (SRC): Likewise.
31908 (LEN): Likewise.
31909 (__stpncpy): Likewise. Do not use BP_SYM.
31910 (stpncpy): Do not use BP_SYM in weak_alias.
31911 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31912 (PARMS): Do not use macros from bp-asm.h.
31913 (STR): Likewise.
31914 (CHR): Likewise.
31915 (strchr): Likewise. Do not use BP_SYM.
31916 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31917 "bp-asm.h".
31918 (PARMS): Do not use macros from bp-asm.h.
31919 (STR): Likewise.
31920 (CHR): Likewise.
31921 (__strchrnul): Likewise. Do not use BP_SYM.
31922 (strchrnul): Do not use BP_SYM in weak_alias.
31923 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31924 "bp-asm.h".
31925 (PARMS): Do not use macros from bp-asm.h.
31926 (STOP): Likewise.
31927 (strcspn): Do not use BP_SYM.
31928 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31929 "bp-asm.h".
31930 (PARMS): Do not use macros from bp-asm.h.
31931 (STR): Likewise.
31932 (STOP): Likewise.
31933 (strpbrk): Likewise. Do not use BP_SYM.
31934 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31935 "bp-asm.h".
31936 (PARMS): Do not use macros from bp-asm.h.
31937 (STR): Likewise.
31938 (CHR): Likewise.
31939 (strrchr): Likewise. Do not use BP_SYM.
31940 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31941 (PARMS): Do not use macros from bp-asm.h.
31942 (SKIP): Likewise.
31943 (strspn): Do not use BP_SYM.
31944 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31945 (PARMS): Do not use macros from bp-asm.h.
31946 (STR): Likewise.
31947 (DELIM): Likewise.
31948 (SAVE): Likewise.
31949 (FUNCTION): Likewise. Do not use BP_SYM.
31950 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31951 aliases.
31952 (strtok_r): Likewise.
31953 (__GI___strtok_r): Likewise.
31954 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31955 (PARMS): Do not use macros from bp-asm.h.
31956 (S1): Likewise.
31957 (S2): Likewise.
31958 (SIZE): Likewise.
31959 (__mpn_sub_n): Do not use BP_SYM.
31960 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31961 "bp-asm.h".
31962 (PARMS): Do not use macros from bp-asm.h.
31963 (S1): Likewise.
31964 (SIZE): Likewise.
31965 (__mpn_submul_1): Do not use BP_SYM.
31966 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31967 <bp-sym.h>.
31968 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31969 and <bp-asm.h>.
31970 (PARMS): Do not use macros from bp-asm.h.
31971 (FLAGS): Likewise.
31972 (PTID): Likewise.
31973 (TLS): Likewise.
31974 (CTID): Likewise.
31975 (__clone): Do not use BP_SYM.
31976 (clone): Do not use BP_SYM in weak_alias.
31977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31978 and <bp-asm.h>.
31979 (PARMS): Do not use macros from bp-asm.h.
31980 (LEN): Likewise.
31981 (__mmap64): Do not use BP_SYM.
31982 (mmap64): Do not use BP_SYM in weak_alias.
31983 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31984 <bp-sym.h> and <bp-asm.h>.
31985 (PARMS): Do not use macros from bp-asm.h.
31986 (__posix_fadvise64_l64): Do not use BP_SYM.
31987 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31988 (PARMS): Do not use macros from bp-asm.h.
31989 (NSOPS): Likewise.
31990 (semtimedop): Do not use BP_SYM.
31991 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31992 and <bp-asm.h>.
31993
582a3cff
AM
319942013-02-21 Allan McRae <allan@archlinux.org>
31995
31996 * manual/message.texi (Charset conversion in gettext):
31997 Move @end statement to beginning of line.
31998
bab8a695
SP
319992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32000
80945231
SP
32001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32002 static.
32003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32004 Likewise.
32005
bab8a695
SP
32006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32007 (denorm): Likewise.
32008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32010
e21d7aa7
AK
320112013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32012
32013 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32014 tail-call to the resolved function if pltexit isn't needed.
32015
4c7a4263
SP
320162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32017
32018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32019 or Y being zero as being unlikely.
32020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32021 Likewise.
32022
41f49342
CD
320232013-02-20 Carlos O'Donell <carlos@redhat.com>
32024
32025 * manual/nss.texi (System Databases and Name Service Switch):
32026 Remove frobnicate @pxref.
32027
50022a93
TS
320282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32029
32030 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32031 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32032
08cbd996
PM
320332013-02-20 Petr Machata <pmachata@redhat.com>
32034
32035 * elf/elf.h (R_ARM_TARGET1): New macro.
32036 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32037 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32038 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32039 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32040 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32041 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32042 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32043 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32044 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32045 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32046 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32047 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32048 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32049 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32050 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32051 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32052 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32053 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32054 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32055 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32056 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32057 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32058 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32059 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32060 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32061 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32062 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32063 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32064 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32065 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32066 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32067 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32068 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32069 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32070 (R_ARM_THM_GOT_BREL12): Likewise.
32071 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32072 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32073 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32074 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32075 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32076 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32077 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32078 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32079 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32080
c7b275d6
TS
320812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32082
32083 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32084 __attribute_used__ to __attribute__ ((unused)).
32085
20cd7fb3
SP
320862013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32087
32088 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32089 powerpc mpa.c.
32090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32091 comment formatting.
32092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32093
92945b52
JM
320942013-02-19 Joseph Myers <joseph@codesourcery.com>
32095
32096 [BZ #13550]
32097 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32098 Remove macro.
32099 (ENTER): Remove both macro definitions.
32100 (LEAVE): Likewise.
32101 (CHECK_BOUNDS_LOW): Likewise.
32102 (CHECK_BOUNDS_HIGH): Likewise.
32103 (CHECK_BOUNDS_BOTH): Likewise.
32104 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32105 (RETURN_BOUNDED_POINTER): Likewise.
32106 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32107 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32108 (POP_ERRNO_LOCATION_RETURN): Likewise.
32109 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32110 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32111 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32112 macros.
32113 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32114 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32115 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32116 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32117 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32118 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32119 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32120 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32121 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32122 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32123 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32124 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32125 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32126 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32127 removed macros.
32128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32129 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32130 macros.
32131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32132 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32133 * sysdeps/i386/i586/memset.S (memset): Likewise.
32134 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32135 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32136 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32137 macros.
32138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32139 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32140 Change uses of L(2) to L(out).
32141 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32142 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32143 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32144 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32145 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32146 removed macros.
32147 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32148 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32149 macros.
32150 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32151 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32152 (RETURN): Do not use macro LEAVE.
32153 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32154 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32155 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32156 * sysdeps/i386/i686/memset.S (memset): Likewise.
32157 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32158 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32160 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32161 Likewise.
32162 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32163 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32164 L(1_2) and L(1_3) into L(1).
32165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32166 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32168 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32169 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32170 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32171 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32173 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32174 macros.
32175 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32176 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32177 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32178 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32179 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32180 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32181 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32182 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32183 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32184 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32185 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32186 * sysdeps/i386/strspn.S (strspn): Likewise.
32187 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32188 conditional code.
32189 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32190 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32191 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32192 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32193 L(1_3) into L(1_1).
32194 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32195 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32196 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32197 macros.
32198 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32199
2389741a
JJ
322002013-02-19 Jakub Jelinek <jakub@redhat.com>
32201
32202 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32203 macro.
32204
2016b3cd
SP
322052013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32206
e4f22324
SP
32207 * math/atest-exp.c (exp_mpn): Remove ROUND.
32208 * math/atest-exp2.c (exp_mpn): Likewise.
32209 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32210
2016b3cd
SP
32211 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32212 * stdlib/tst-tls-atexit-lib.c: Likewise.
32213 * stdlib/tst-tls-atexit.c: Likewise.
32214
4be9b544
MF
322152013-02-18 Mike Frysinger <vapier@gentoo.org>
32216
32217 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32218 and __attribute_alloc_size__.
32219
2f62b9ee
MF
322202013-02-18 Mike Frysinger <vapier@gentoo.org>
32221
32222 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32223 __attribute_alloc_size__.
32224 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32225 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32226
6ff444c4
MF
322272013-02-18 Mike Frysinger <vapier@gentoo.org>
32228
32229 * include/programs/xmalloc.h: New file.
32230 * catgets/gencat.c: Include it.
32231 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32232 * elf/pldd.c: Likewise.
32233 * iconv/iconv_charmap.c: Likewise.
32234 * iconv/iconvconfig.c: Likewise.
32235 * iconv/strtab.c: Likewise.
32236 * locale/programs/locale.c: Likewise.
32237 * locale/programs/localedef.h: Likewise.
32238 * locale/programs/simple-hash.c: Likewise.
32239 * nscd/nscd.h: Likewise.
32240 * nss/makedb.c: Likewise.
32241 * sysdeps/generic/ldconfig.h: Likewise.
32242
be179c8a
SP
322432013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32244
ba384f6e
SP
32245 * Versions.def: Add GLIBC_2.18.
32246 * include/link.h (struct link_map): New member l_tls_dtor_count.
32247 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32248 (__call_tls_dtors): Likewise.
32249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32250 __cxa_thread_atexit_impl.
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32252 Likewise.
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32254 Likewise.
32255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32256 Likewise.
32257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32258 Likewise.
32259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32261 Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32263 Likewise.
32264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32266 Likewise.
32267 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32268 (tests): Add test case tst-tls-atexit.
32269 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32270 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32271 (GLIBC_PRIVATE): Add __call_tls_dtors.
32272 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32273 for libstdc++.
32274 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32275 * stdlib/tst-tls-atexit.c: New test case.
32276 * stdlib/tst-tls-atexit-lib.c: New test case.
32277
ffaa74cf 32278 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32279
be179c8a
SP
32280 * elf/Versions (ld): Add _dl_find_dso_for_object.
32281 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32282 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32283 (dl_open_worker): Use _dl_find_dso_for_object.
32284 * elf/dl-sym.c (do_sym): Likewise.
32285 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32286
f78b5caa
AK
322872013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32288
32289 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32290 Syntactic changes only.
32291 (_dl_runtime_profile): Do a tail-call to the resolved function.
32292
29691210
JM
322932013-02-17 Joseph Myers <joseph@codesourcery.com>
32294
32295 [BZ #13550]
32296 * sysdeps/x86_64/bp-asm.h: Remove file.
32297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32298 <bp-sym.h> and <bp-asm.h>.
32299 (__clone): Do not use BP_SYM.
32300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32301 <bp-sym.h> and <bp-asm.h>.
32302 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32303 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32304 "bp-asm.h".
32305 (_setjmp): Do not use BP_SYM.
32306 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32307 "bp-asm.h".
32308 (setjmp): Do not use BP_SYM.
32309 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32310 libc_hidden_def.
32311 (mempcpy): Do not use BP_SYM in weak_alias.
32312 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32313 "bp-asm.h".
32314 (strchr): Do not use BP_SYM.
32315 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32316 "bp-asm.h".
32317 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32318 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32319 (_start): Do not use BP_SYM.
32320 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32321 "bp-asm.h".
32322 (strcat): Do not use BP_SYM.
32323 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32324 "bp-asm.h".
32325 (STRCMP): Do not use BP_SYM.
32326 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32327 "bp-asm.h".
32328 (STRCPY): Do not use BP_SYM.
32329 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32330 "bp-asm.h".
32331 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32332 "bp-asm.h".
32333 (FUNCTION): Do not use BP_SYM.
32334 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32335 weak_alias.
32336 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32337
f238fd19
AJ
323382013-02-17 Andreas Jaeger <aj@suse.de>
32339
32340 * time/Versions: Sort entries.
32341 * string/Versions: Likewise.
32342 * resolv/Versions: Likewise.
32343 * posix/Versions: Likewise.
32344 * iconv/Versions: Likewise.
32345 * elf/Versions: Likewise.
32346 * wcsmbs/Versions: Likewise.
32347
bd07f23c 323482013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32349
22af19f9
SP
32350 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32351 loop termination condition.
32352
4709fe76
SP
32353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32354 variable to calculate EZ.
32355 (__sqr): Likewise.
2d0e0f29
SP
32356
32357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32358 the lower precision input.
32359
daaa7713
JM
323602013-02-15 Joseph Myers <joseph@codesourcery.com>
32361
32362 [BZ #13550]
32363 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32364 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32365 (run-via-rtld-prefix): Do not handle %-bp tests.
32366 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32367 (all-object-suffixes): Remove .ob.
32368 (bppfx): Remove variable.
32369 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32370 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32371 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32372 [$(build-bounded) = yes] (libtype.ob): Likewise.
32373 * Makerules (elide-routines.ob): Remove variable.
32374 (do-tests-clean): Do not handle *-bp.out.
32375 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32376 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32377 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32378 (tests): Do not include $(tests-bp.out).
32379 (xtests): Do not include $(xtests-bp.out).
32380 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32381 [$(build-bounded) = yes] ($(addprefix
32382 $(objpfx),$(binaries-bounded))): Remove rule.
32383 ($(objpfx)%-bp.out): Remove rule.
32384 * config.make.in (build-bounded): Remove variable.
32385 * crypt/Makefile [$(build-bounded) = yes]
32386 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32387 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32388 append to variable.
32389 [$(build-bounded) = yes] (install-lib): Likewise.
32390 [$(build-bounded) = yes] (generated): Likewise.
32391 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32392 Remove rule.
32393 * intl/Makefile [$(build-bounded) = yes]
32394 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32395 * math/Makefile [$(build-bounded) = yes]
32396 ($(tests:%=$(objpfx)%-bp): Likewise.
32397 * misc/Makefile [$(build-bounded) = yes]
32398 ($(objpfx)tst-tsearch-bp): Likewise.
32399 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32400 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32401 Remove dependency.
32402 * string/Makefile (o-objects.ob): Remove variable.
32403 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32404 (CFLAGS-.ob): Remove variable.
32405 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32406 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32407 both definitions of variable.
32408 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32409 (ASFLAGS-.ob): Remove variable.
32410
e97ed6dd
JM
324112013-02-14 Joseph Myers <joseph@codesourcery.com>
32412
2bdd4ca6
JM
32413 [BZ #13550]
32414 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32415 Remove __BOUNDED_POINTERS__ from condition.
32416 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32417 * string/bits/string2.h [!__NO_STRING_INLINES &&
32418 !__BOUNDED_POINTERS__]: Likewise.
32419 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32420 Likewise.
32421 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32422 Remove conditional code.
32423 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32424 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32425 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32426 condition.
32427
e97ed6dd
JM
32428 [BZ #13550]
32429 * csu/libc-start.c: Do not include <bp-sym.h>.
32430 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32431 * elf/dl-open.c: Do not include <bp-sym.h>.
32432 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32433 * math/fegetenv.c: Do not include <bp-sym.h>.
32434 (fegetenv): Do not use BP_SYM in versioned symbols.
32435 * nptl/sysdeps/pthread/bits/libc-lockP.h
32436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32437 <bp-sym.h>.
32438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32439 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32441 (__pthread_mutex_destroy): Likewise.
32442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32443 (__pthread_mutex_lock): Likewise.
32444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32445 (__pthread_mutex_trylock): Likewise.
32446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32447 (__pthread_mutex_unlock): Likewise.
32448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32449 (__pthread_mutexattr_init): Likewise.
32450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32451 (__pthread_mutexattr_destroy): Likewise.
32452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32453 (__pthread_mutexattr_settype): Likewise.
32454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32455 (__pthread_rwlock_init): Likewise.
32456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32457 (__pthread_rwlock_destroy): Likewise.
32458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32459 (__pthread_rwlock_rdlock): Likewise.
32460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32461 (__pthread_rwlock_tryrdlock): Likewise.
32462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32463 (__pthread_rwlock_wrlock): Likewise.
32464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32465 (__pthread_rwlock_trywrlock): Likewise.
32466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32467 (__pthread_rwlock_unlock): Likewise.
32468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32469 (__pthread_key_create): Likewise.
32470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32471 (__pthread_setspecific): Likewise.
32472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32473 (__pthread_getspecific): Likewise.
32474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32475 Likewise.
32476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32477 (_pthread_cleanup_push_defer): Likewise.
32478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32479 (_pthread_cleanup_pop_restore): Likewise.
32480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32481 (pthread_setcancelstate): Likewise.
32482 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32483 <bp-sym.h>.
32484 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32485 (memchr): Do not use BP_SYM in weak_alias.
32486 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32487 (fegetenv): Do not use BP_SYM in versioned symbols.
32488 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32489 (fesetenv): Do not use BP_SYM in versioned symbols.
32490 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32491 (feupdateenv): Do not use BP_SYM in versioned symbols.
32492 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32493 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32494 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32495 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32496 (open64): Do not use BP_SYM in weak_alias.
32497 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32498 (fegetenv): Do not use BP_SYM in versioned symbols.
32499 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32500 (fesetenv): Do not use BP_SYM in versioned symbols.
32501 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32502 (feupdateenv): Do not use BP_SYM in versioned symbols.
32503 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32504 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32505 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32506 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32507 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32508 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32509 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32510 <bp-sym.h>.
32511 (__libc_start_main): Do not use BP_SYM.
32512
d6752ccd
SP
325132013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32514
cb57ce60
SP
32515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32516 redundant return line.
32517 (norm): Likewise.
32518 (denorm): Likewise.
32519 (dbl_mp): Likewise.
32520 (sub_magnitudes): Likewise.
32521 (__add): Likewise.
32522 (__sub): Likewise.
32523 (__mul): Likewise.
32524 (__inv): Likewise.
32525 (__dvd): Likewise.
32526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32527 (norm): Likewise.
32528 (denorm): Likewise.
32529 (dbl_mp): Likewise.
32530 (sub_magnitudes): Likewise.
32531 (__add): Likewise.
32532 (__sub): Likewise.
32533 (__mul): Likewise.
32534 (__inv): Likewise.
32535 (__dvd): Likewise.
32536
f414520d
SP
32537 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32538 instead of __mul.
32539 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32540 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32541 (cc32): Likewise.
32542
d6752ccd
SP
32543 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32544 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32546 of __mul for squares.
32547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32548 function
32549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32550 Likewise.
32551 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32552 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32553
70d9946a
JM
325542013-02-13 Joseph Myers <joseph@codesourcery.com>
32555
32556 [BZ #13550]
32557 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32558 code.
32559 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32560 prototype or function definition. Rename ubp_* variables and
32561 parameters. Remove argv definitions conditional on
32562 [__BOUNDED_POINTERS__].
32563 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32564 * elf/dl-runtime.c (_dl_fixup): Likewise.
32565 * include/set-hooks.h (RUN_HOOK): Likewise.
32566 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32567 definition.
32568 * string/strcpy.c (strcpy): Do not use __unbounded.
32569 * sysdeps/generic/frame.h (struct layout): Likewise.
32570 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32571 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32572 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32573 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32574 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32575 (__backtrace): Likewise.
32576 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32577 use __ptrvalue.
32578 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32580 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32581 Likewise.
32582 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32583 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32584 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32585 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32586 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32587 Do not use __unbounded.
32588 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32589 Rename __unboundedrlimits parameter to rlimits in prototype.
32590 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32591 Do not use __unbounded.
32592 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32593 not use __ptrvalue.
32594 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32595 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32596 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32598 __ptrvalue or __unbounded.
32599 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32600 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32601 use __unbounded.
32602 (__new_msgctl): Do not use __ptrvalue.
32603 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32604 __unbounded.
32605 (__libc_msgrcv): Do not use __ptrvalue.
32606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32607 startup_info): Do not use __unbounded.
32608 (__libc_start_main): Likewise. Rename ubp_* variables and
32609 parameters. Remove argv definitions conditional on
32610 [__BOUNDED_POINTERS__].
32611 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32612 __ptrvalue.
32613 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32614 use __unbounded.
32615 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32616 or __ptrvalue.
32617 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32618 use __unbounded.
32619 (__new_shmctl): Do not use __ptrvalue.
32620 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32621 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32622 Likewise.
32623 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32625 (__libc_sigaction): Likewise.
32626 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32628 Likewise.
32629 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32630
cc7834d6
OB
326312013-02-13 Ondřej Bílka <neleai@seznam.cz>
32632
ffb1ec7b 32633 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32634
32635 * string/mempcpy.c: Implement by calling memcpy.
32636
bdf02814
SP
326372013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32638
c2af38aa
SP
32639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32640
4e92d59e
SP
32641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32642 evaluation.
32643
909279a5
SP
32644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32645 values in the mantissa.
32646
bdf02814
SP
32647 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32648 minimize writes to Z.
32649 (sub_magnitudes): Simplify code a bit.
32650
cd525923
RM
326512013-02-12 Roland McGrath <roland@hack.frob.com>
32652
32653 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32654 from the message. The linker prefixes all warnings with that already.
32655
7e2f0d2d
AS
326562013-02-12 Andreas Schwab <schwab@suse.de>
32657
a445af0b
AS
32658 [BZ #15078]
32659 * posix/regexec.c (extend_buffers): Add parameter min_len.
32660 (check_matching): Pass minimum needed length.
32661 (clean_state_log_if_needed): Likewise.
32662 (get_subexp): Likewise.
32663 * posix/Makefile (tests): Add bug-regex34.
32664 (bug-regex34-ENV): Define.
32665 * posix/bug-regex34.c: New file.
32666
7e2f0d2d
AS
32667 [BZ #11561]
32668 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32669 elements compare against the byte sequence of it, not its name.
32670 * posix/Makefile (tests): Add bug-regex35.
32671 (bug-regex35-ENV): Define.
32672 * posix/bug-regex35.c: New file.
32673
a175b684
TV
326742013-02-11 Tom de Vries <tom@codesourcery.com>
32675
32676 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32677 comment.
32678 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32679 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32680 (CHECK_EOL): Add undef.
32681
310998fe 326822013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32683
32684 * bits/stdlib-bsearch.h: New file.
32685 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32686 * stdlib/stdlib.h: Likewise.
41eda41d 32687
8ded91fb
RM
326882013-02-11 Roland McGrath <roland@hack.frob.com>
32689
32690 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32691 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32692 declaration.
32693 * manual/search.texi (Array Search Function): Add missing const in
32694 lfind prototype.
32695 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32696 declaration to use rlim_t.
32697 (Basic Scheduling Functions): Remove erroneous const from
32698 sched_getparam prototype. Remove erroneous * from
32699 sched_get_priority_max and sched_get_priority_min prototypes.
32700 (Resource Usage): Fix summary @comment on vtimes to refer to
32701 sys/vtimes.h rather than vtimes.h.
32702 Add missing *s in vtimes prototype.
32703 (Limits on Resources): Fix ulimit prototype to return long int.
32704 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32705 prototypes to use long int rather than double.
32706 (BSD Random): Fix initstate and setstate to use char *, not void *.
32707 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32708 prototype to make second argument 'struct aiocb64 *const[]'.
32709 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32710 (Status of AIO Operations): Remove erroneous const in aio_return and
32711 aio_return64 prototypes.
32712 (Synchronizing I/O): Fix sync prototype to return void.
32713 * manual/startup.texi (Suboptions): Remove an erroneous const in
32714 getsubopt prototype.
32715 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32716 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32717 use size_t rather than int.
32718 (Scanning All Users): Likewise for getpwent_r.
32719 (Setting Groups): Add missing const to setgroups prototype.
32720 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32721 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32722 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32723 'const void *' rather than 'const char *'.
32724 (Host Address Functions): Likewise for inet_ntop.
32725 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32726 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32727 ssize_t for return value.
32728 (Sending Data): Likewise for send, sendto, sendmsg.
32729 (Socket Option Functions): Add a missing const in setsockopt prototype.
32730 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32731 use wchar_t for the argument.
32732 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32733 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32734 take no arguments.
32735 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32736 double/float/long double for second argument.
32737 Fix return types of significand, significandf, significandl.
32738 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32739 argument in fchmod prototype.
32740 (File Owner): Use uid_t and gid_t in fchown prototype.
32741 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32742 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32743 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32744 use 'const struct dirent **' as argument types to CMP function pointer
32745 argument.
32746 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32747 (File Times): Fix summary magic @comment for struct utimbuf and utime
32748 to refer to utime.h, not time.h.
32749 * manual/string.texi (Argz Functions): Add missing const in
32750 argz_extract and argz_next prototypes.
32751 (Finding Tokens in a String): Likewise for basename.
32752 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32753 (Copying and Concatenation): Fix typo in wmemmove prototype.
32754 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32755 (Signal Stack): Remove erroneous const in sigstack prototype.
32756 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32757 prototype.
32758 (Simple Calendar Time): Likewise for stime.
32759 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32760 prototype.
32761 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32762 say sys/sysctl.h instead.
32763 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32764 and vsyslog prototypes.
32765
fe77fe6d
TV
327662013-02-11 Tom de Vries <tom@codesourcery.com>
32767
32768 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32769 Remove.
32770
3a09b620
RM
327712013-02-11 Roland McGrath <roland@hack.frob.com>
32772
32773 * misc/sys/mman.h: Fix typo in mremap comment.
32774
550a0b89
RM
327752013-02-08 Roland McGrath <roland@hack.frob.com>
32776
32777 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32778 the '\0' terminator.
32779
a2da1673
JM
327802013-02-08 Joseph Myers <joseph@codesourcery.com>
32781
32782 [BZ #13550]
32783 * debug/segfault.c: Don't include <bp-checks.h>.
32784 * sysdeps/generic/bp-checks.h: Remove file.
32785 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32786 (__GETDENTS): Don't use CHECK_N.
32787 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32788 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32789 (__getgroups): Don't use CHECK_N.
32790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32791 (setgroups): Don't use CHECK_N.
32792 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32793 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32794 (__libc_msgrcv): Don't use CHECK_N.
32795 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32796 (__libc_msgsnd): Don't use CHECK_N.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32798 <bp-checks.h>.
32799 (__libc_pread): Don't use CHECK_N.
32800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32801 include <bp-checks.h>.
32802 (__libc_pread64): Don't use CHECK_N.
32803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32804 include <bp-checks.h>.
32805 (__libc_pwrite): Don't use CHECK_N.
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32807 include <bp-checks.h>.
32808 (__libc_pwrite64): Don't use CHECK_N.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32810 <bp-checks.h>.
32811 (__libc_pread): Don't use CHECK_N.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32813 include <bp-checks.h>.
32814 (__libc_pread64): Don't use CHECK_N.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32816 include <bp-checks.h>.
32817 (__libc_pwrite): Don't use CHECK_N.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32819 include <bp-checks.h>.
32820 (__libc_pwrite64): Don't use CHECK_N.
32821 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32822 (do_pread): Don't use CHECK_N.
32823 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32824 (do_pread64): Don't use CHECK_N.
32825 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32826 (do_pwrite): Don't use CHECK_N.
32827 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32828 (do_pwrite64): Don't use CHECK_N.
32829 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32830 (__libc_readv): Don't use CHECK_N.
32831 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32832 (semop): Don't use CHECK_N.
32833 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32834 <bp-checks.h>.
32835 (semtimedop): Don't use CHECK_N.
32836 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32837 (__libc_pread): Don't use CHECK_N.
32838 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32839 <bp-checks.h>.
32840 (__libc_pread64): Don't use CHECK_N.
32841 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32842 <bp-checks.h>.
32843 (__libc_pwrite): Don't use CHECK_N.
32844 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32845 <bp-checks.h>.
32846 (__libc_pwrite64): Don't use CHECK_N.
32847 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32848 <bp-checks.h>.
32849 (__libc_msgrcv): Don't use CHECK_N.
32850 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32851 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32852 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32853 (__libc_writev): Don't use CHECK_N.
32854
b84660a8
RM
328552013-02-08 Roland McGrath <roland@hack.frob.com>
32856
7f3e75f8
RM
32857 * string/strcpy.c: Removed unused variable.
32858
b84660a8
RM
32859 * Makeconfig (+sysdep-includes): Define with := rather than =.
32860 Use an existing include/ subdir of each sysdeps dir before it.
32861
471514d3
CD
328622013-02-08 Carlos O'Donell <carlos@redhat.com>
32863
32864 * nscd/connection.c (register_traced_file): Comment function.
32865 [HAVE_INOTIFY] (union __inev): Define.
32866 [HAVE_INOTIFY] (inotify_check_files): New function.
32867 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32868 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32869 clear_db_cache.
32870 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32871
b2d3c3be
CD
328722013-02-08 Carlos O'Donell <carlos@redhat.com>
32873
32874 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32875 loaded if not already and that a failure is permanent.
32876
b39949d2
CD
328772013-02-08 Carlos O'Donell <carlos@redhat.com>
32878
ddacd1db 32879 [BZ #15006]
b39949d2
CD
32880 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32881 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32882
b2c9eff4
JM
328832013-02-08 Joseph Myers <joseph@codesourcery.com>
32884
f3aae3f3
JM
32885 [BZ #13550]
32886 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32887 (CHECK_1_NULL_OK): Likewise.
32888 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32889 (__fxstat): Do not use CHECK_1.
32890 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32891 <bp-checks.h>.
32892 (___fxstat64): Do not use CHECK_1.
32893 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32894 <bp-checks.h>.
32895 (__fxstatat): Do not use CHECK_1.
32896 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32897 <bp-checks.h>.
32898 (__fxstatat64): Do not use CHECK_1.
32899 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32900 <bp-checks.h>.
32901 (__fxstat): Do not use CHECK_1.
32902 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32903 <bp-checks.h>.
32904 (__fxstatat): Do not use CHECK_1.
32905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32906 <bp-checks.h>.
32907 (__getresgid): Do not use CHECK_1.
32908 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32909 <bp-checks.h>.
32910 (__getresuid): Do not use CHECK_1.
32911 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32912 <bp-checks.h>.
32913 (__lxstat): Do not use CHECK_1.
32914 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32915 <bp-checks.h>.
32916 (__old_msgctl): Do not use CHECK_1.
32917 (__new_msgctl): Likewise.
32918 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32919 <bp-checks.h>.
32920 (__new_setrlimit): Do not use CHECK_1.
32921 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32922 <bp-checks.h>.
32923 (__old_shmctl): Do not use CHECK_1.
32924 (__new_shmctl): Likewise.
32925 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32926 <bp-checks.h>.
32927 (__xstat): Do not use CHECK_1.
32928 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32929 (__lxstat): Do not use CHECK_1.
32930 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32931 <bp-checks.h>.
32932 (___lxstat64): Do not use CHECK_1.
32933 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32934 (__old_msgctl): Do not use CHECK_1.
32935 (__new_msgctl): Likewise.
32936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32937 <bp-checks.h>.
32938 (__gettimeofday): Do not use CHECK_1.
32939 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32940 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32941 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32942 <bp-checks.h>.
32943 (__gettimeofday): Do not use CHECK_1.
32944 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32945 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32946 (__new_shmctl): Do not use CHECK_1.
32947 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32948 <bp-checks.h>.
32949 (do_sigtimedwait): Do not use CHECK_1.
32950 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32951 <bp-checks.h>.
32952 (do_sigwaitinfo): Do not use CHECK_1.
32953 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32954 <bp-checks.h>.
32955 (msgctl): Do not use CHECK_1.
32956 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32957 <bp-checks.h>.
32958 (shmctl): Do not use CHECK_1.
32959 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32960 (ustat): Do not use CHECK_1.
32961 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32962 <bp-checks.h>.
32963 (__fxstat): Do not use CHECK_1.
32964 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32965 <bp-checks.h>.
32966 (__fxstatat): Do not use CHECK_1.
32967 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32968 <bp-checks.h>.
32969 (__lxstat): Do not use CHECK_1.
32970 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32971 <bp-checks.h>.
32972 (__xstat): Do not use CHECK_1.
32973 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32974 (__xstat): Do not use CHECK_1.
32975 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32976 (___xstat64): Do not use CHECK_1.
32977
b2c9eff4
JM
32978 [BZ #13550]
32979 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32980 definitions.
32981 (CHECK_BOUNDS_HIGH): Likewise.
32982 * string/strcpy.c: Do not include <bp-checks.h>.
32983 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32984
f1d70dad
RM
329852013-02-07 Roland McGrath <roland@hack.frob.com>
32986
32987 * nscd/nscd-client.h (__nscd_drop_map_ref):
32988 Add __attribute__ ((unused)).
32989 * nis/nss-nisplus.h (niserr2nss): Likewise.
32990
32991 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32992 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32993
32994 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32995 Remove inline keyword.
32996 * include/rounding-mode.h (round_away): Likewise.
32997 * libio/wfileops.c (adjust_wide_data): Likewise.
32998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32999 (__m128i_strloadu_tolower): Likewise.
33000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33001 (__m128i_strloadu_tolower): Likewise.
33002 * time/mktime.c (ydhms_diff): Likewise.
33003 * locale/elem-hash.h (elem_hash): Likewise.
33004 * locale/setlocale.c (setdata): Likewise.
33005 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33006 (re_string_wchar_at): Likewise.
33007 (bitset_not, bitset_merge, bitset_mask): Likewise.
33008 [!(__GNUC__ > 3)] (inline): Remove macro.
33009 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33010 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33011 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33012 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33013 * string/memcmp.c (memcmp_bytes): Likewise.
33014 * locale/programs/locarchive.c (compute_hashval): Likewise.
33015 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33016 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33017 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33018 * nss/getent.c (print_rpc, print_protocols): Likewise.
33019 (print_passwd, print_group, print_aliases): Likewise.
33020 * nis/nss-nisplus.h (niserr2nss): Likewise.
33021 * nscd/connections.c (restart_p): Likewise.
33022 Change return type to bool.
33023
eab55bfb
RM
330242013-02-05 Roland McGrath <roland@hack.frob.com>
33025
7bd642f5
RM
33026 * Makeconfig (all-Depend-files): Add existing
33027 $(sorted-subdirs:=/Depend) files.
33028 (all-subdirs): Remove nss.
33029 * sysdeps/unix/inet/Subdirs: Add it here instead.
33030 * hesiod/Depend: New file.
33031
573c29b2
RM
33032 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33033 instead of calling alloca.
33034
b2e25af0
RM
33035 * io/lseek.c (__lseek): Rename to __libc_lseek.
33036 Define __lseek as an alias.
33037
eab55bfb
RM
33038 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33039
9a0d1941
CD
330402013-02-04 Carlos O'Donell <carlos@redhat.com>
33041
33042 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33043 else clause and remove check for non-standard endianness.
33044
b83bbec4
DM
330452013-02-04 David S. Miller <davem@davemloft.net>
33046
33047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33048
6277fdab
JM
330492013-02-04 Joseph Myers <joseph@codesourcery.com>
33050
33051 [BZ #13550]
33052 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33053 (__ubp_memchr): Remove prototype.
33054 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33055 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33056 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33057 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33058 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33059 Remove alias.
33060 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33061 (__ubp_memchr): Likewise.
33062 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33063 (__ubp_memchr): Likewise.
33064 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33065 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33066 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33068 CHECK_STRING.
33069 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33070 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33071 (__getcwd): Do not use CHECK_STRING.
33072 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33073 <bp-checks.h>.
33074 (__real_chown): Do not use CHECK_STRING.
33075 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33076 <bp-checks.h>.
33077 (fchownat): Do not use CHECK_STRING.
33078 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33079 CHECK_STRING.
33080 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33081 <bp-checks.h>.
33082 (__lchown): Do not use CHECK_STRING.
33083 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33084 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33086 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33088 include <bp-checks.h>.
33089 (truncate64): Do not use CHECK_STRING.
33090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33091 <bp-checks.h>.
33092 (__real_chown): Do not use CHECK_STRING.
33093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33094 <bp-checks.h>.
33095 (__lchown): Do not use CHECK_STRING.
33096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33097 <bp-checks.h>.
33098 (__chown): Do not use CHECK_STRING.
33099 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33100 <bp-checks.h>.
33101 (truncate64): Do not use CHECK_STRING.
33102 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33103 Likewise.
33104 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33105 (__xmknod): Do not use CHECK_STRING.
33106 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33107 <bp-checks.h>.
33108 (__xmknodat): Do not use CHECK_STRING.
33109 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33110 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33111
903ae060
AS
331122013-02-04 Andreas Schwab <schwab@suse.de>
33113
33114 [BZ #14142]
33115 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33116 * include/netdb.h: Likewise for h_errno.
33117 * elf/tst-stackguard1.c: Include <tls.h>.
33118
542f9466
JK
331192013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33120
33121 * elf/link.h (struct link_map): Extend the l_addr comment.
33122 * include/link.h (struct link_map): Likewise.
33123
e782a927
JM
331242013-02-01 Joseph Myers <joseph@codesourcery.com>
33125
33126 [BZ #13550]
33127 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33128 (BOUNDED_1): Remove macro.
33129 * debug/backtrace.c: Don't include <bp-checks.h>.
33130 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33131 (__backtrace): Likewise.
33132 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33133 <bp-checks.h>.
33134 (__backtrace): Don't use BOUNDED_1.
33135 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33136 <bp-checks.h>.
33137 (__backtrace): Don't use BOUNDED_1.
33138 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33139 (__backtrace): Don't use BOUNDED_1.
33140 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33141 (shmat): Don't use BOUNDED_N.
33142
8cf28c5e
JM
331432013-01-31 Joseph Myers <joseph@codesourcery.com>
33144
3a7ac8a0
JM
33145 [BZ #13550]
33146 * sysdeps/generic/bp-start.h: Remove file.
33147 * csu/libc-start.c: Don't include <bp-start.h>.
33148 (LIBC_START_MAIN): Set up __environ directly instead of using
33149 INIT_ARGV_and_ENVIRON.
33150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33151 <bp-start.h>.
33152
f3499f95
JM
33153 [BZ #13550]
33154 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33155 definitions.
33156 (CHECK_FCNTL): Likewise.
33157 (CHECK_N_PAGES): Likewise.
33158
32a45bea
JM
33159 [BZ #13550]
33160 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33161 definitions.
33162 (CHECK_SIGSET_NULL_OK): Likewise.
33163 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33164 <bp-checks.h>.
33165 (sigpending): Don't use CHECK_SIGSET.
33166 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33167 <bp-checks.h>.
33168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33169 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33170 <bp-checks.h>.
33171 (do_sigsuspend): Don't use CHECK_SIGSET.
33172 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33173 use CHECK_SIGSET.
33174 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33175 (do_sigwait): Don't use CHECK_SIGSET.
33176 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33177 use CHECK_SIGSET.
33178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33179 include <bp-checks.h>.
33180 (sigpending): Don't use CHECK_SIGSET.
33181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33182 include <bp-checks.h>.
33183 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33184 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33185 <bp-checks.h>.
33186 (sigpending): Don't use CHECK_SIGSET.
33187 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33188 <bp-checks.h>.
33189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33190
2e8a5c8c
JM
33191 [BZ #13550]
33192 * sysdeps/generic/bp-semctl.h: Remove file.
33193 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33194 <bp-checks.h> and <bp-semctl.h>.
33195 (__old_semctl): Don't use CHECK_SEMCTL.
33196 (__new_semctl): Likewise.
33197 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33198 and <bp-semctl.h>.
33199 (__old_semctl): Don't use CHECK_SEMCTL.
33200 (__new_semctl): Likewise.
33201 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33202 <bp-checks.h> and <bp-semctl.h>.
33203 (__old_semctl): Don't use CHECK_SEMCTL.
33204 (__new_semctl): Likewise.
33205 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33206 <bp-checks.h> and <bp-semctl.h>.
33207 (semctl): Don't use CHECK_SEMCTL.
33208
c2d54929
JM
33209 [BZ #13550]
33210 * Makerules (elide-bp-thunks): Remove variable.
33211 (elide-routines.oS): Don't use $(elide-bp-thunks).
33212 (elide-routines.os): Likewise.
33213 (elide-routines.o): Likewise.
33214 (elide-routines.op): Likewise.
33215 (elide-routines.og): Likewise.
33216 (objects): Don't use $(bp-thunks).
33217 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33218 include.
33219 (common-generated): Do not add s-proto-bp.d.
33220 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33221 (int): Likewise.
33222 (typ): Likewise.
33223 Do not generate makefile rules for bounded-pointer thunks.
33224 * sysdeps/generic/bp-thunks.h: Remove file.
33225 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33226 * sysdeps/unix/s-proto-bp.S: Likewise.
33227
8cf28c5e
JM
33228 [BZ #15062]
33229 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33230 parts of result separately when argument is not close to line from
33231 -i to i and one part of argument is small.
33232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33234 * math/libm-test.inc (cacos_test): Add more tests.
33235 (casin_test): Likewise.
33236 (casinh_test): Likewise.
33237 * sysdeps/i386/fpu/libm-test-ulps: Update.
33238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33239
c4e33b8d
DM
332402013-01-31 David S. Miller <davem@davemloft.net>
33241
33242 * po/de.po: Update from translation team.
33243
3b60b421
MK
332442013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33245
33246 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33247
bb931195
TS
332482013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33249
b5a5da23
TS
33250 * configure.in (_AC_PROG_CC_C89): New definition.
33251 * configure: Regenerate.
33252
bb931195
TS
33253 * configure.in (AC_PROG_CPP): New definition.
33254 * configure: Regenerate.
33255
8c53a12c
JM
332562013-01-23 Joseph Myers <joseph@codesourcery.com>
33257
33258 * debug/tst-backtrace.h: New file.
33259 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33260 (ret): Remove variable.
33261 (x): Likewise.
33262 (FAIL): Remove macro.
33263 (NO_INLINE): Likewise.
33264 (fn1): Use match function instead of strstr.
33265 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33266 (ret): Remove variable.
33267 (x): Likewise.
33268 (FAIL): Remove macro.
33269 (NO_INLINE): Likewise.
33270 (fn): Use match function instead of strstr.
33271 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33272 (ret): Remove variable.
33273 (x): Likewise.
33274 (FAIL): Remove macro.
33275 (NO_INLINE): Likewise.
33276 (handle_signal): Use match function instead of strstr.
33277 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33278 (ret): Remove variable.
33279 (x): Likewise.
33280 (FAIL): Remove macro.
33281 (NO_INLINE): Likewise.
33282 (handle_signal): Use match function instead of strstr.
33283
4858fa2a
RM
332842013-01-23 Roland McGrath <roland@hack.frob.com>
33285
33286 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33287
bae8e7f5
DM
332882013-01-23 David S. Miller <davem@davemloft.net>
33289
33290 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33291 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33292 argument of CAS if possible.
33293 * sysdeps/sparc/sparc64/bits/atomic.h
33294 (__arch_compare_and_exchange_val_32_acq): Likewise.
33295 (__arch_compare_and_exchange_val_64_acq): Likewise.
33296
9cbbc4ae
PT
332972013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33298
33299 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33300 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33301 Include <limits.h>.
67b3f58c 33302 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33303
5655a0b5
AC
333042013-01-23 Adam Conrad <adconrad@0c3.net>
33305
33306 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33307 (LDFLAGS-tst-array5): Likewise.
33308
052aff95
JM
333092013-01-23 Joseph Myers <joseph@codesourcery.com>
33310
33311 [BZ #15036]
33312 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33313 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33314 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33315 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33316
7c1e01aa
DM
333172013-01-21 David S. Miller <davem@davemloft.net>
33318
33319 * sysdeps/sparc/backtrace.c: New file.
33320 * sysdeps/sparc/sparc32/backtrace.h: New file.
33321 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33322 * sysdeps/sparc/sparc64/backtrace.h: New file.
33323 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33324 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33325 -funwind-tables.
33326
ab087e0a
AS
333272013-01-21 Andreas Schwab <schwab@suse.de>
33328
33329 [BZ #15020]
33330 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33331 closed its stdout.
33332
ed689c2f
AS
333332013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33334
33335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33336 "mpa2.h".
33337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33338
31d470ac
JM
333392013-01-18 Joseph Myers <joseph@codesourcery.com>
33340 Mark Mitchell <mark@codesourcery.com>
33341 Tom de Vries <tom@codesourcery.com>
33342 Paul Pluzhnikov <ppluzhnikov@google.com>
33343
33344 * debug/tst-backtrace2.c: New file.
33345 * debug/tst-backtrace3.c: Likewise.
33346 * debug/tst-backtrace4.c: Likewise.
33347 * debug/tst-backtrace5.c: Likewise.
33348 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33349 (CFLAGS-tst-backtrace3.c): Likewise.
33350 (CFLAGS-tst-backtrace4.c): Likewise.
33351 (CFLAGS-tst-backtrace5.c): Likewise.
33352 (LDFLAGS-tst-backtrace2): Likewise.
33353 (LDFLAGS-tst-backtrace3): Likewise.
33354 (LDFLAGS-tst-backtrace4): Likewise.
33355 (LDFLAGS-tst-backtrace5): Likewise.
33356 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33357 tst-backtrace4 and tst-backtrace5.
33358
90567f30 333592013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33360 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33361
33362 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33363 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33364 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33365 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33367 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33368 "+r" and remove output regs list as redundant. Add explicit inline
33369 asm to specify register of return val to work around compiler codegen
33370 bug. Remove (int) cast on return value. Add return type parameter to
33371 use in macro so that this macro does not truncate return value for
33372 64-bit values.
33373 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33374 pass to INTERNAL_VSYSCALL_NCS.
33375 (INLINE_VSYSCALL): Add 'long int' as return type to
33376 INTERNAL_VSYSCALL_NCS macro invocation.
33377 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33378 INTERNAL_VSYSCALL_NCS macro invocation.
33379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33380
d3b9ea61
SP
333812013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33382
0b57daeb
SP
33383 [BZ #14496]
33384 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33385 Fix application of SIMD FP exception mask.
33386
caa99d06
SP
33387 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33388 mp_no from a power of two.
33389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33390 __mpexp_twomm1. Use __pow_mp.
33391
d3b9ea61
SP
33392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33393 multiplication.
33394
1dbaee3c
DM
333952013-01-17 David S. Miller <davem@davemloft.net>
33396
33397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33398
728d7b43
JM
333992013-01-17 Joseph Myers <joseph@codesourcery.com>
33400
33401 [BZ #15023]
33402 * include/complex.h: Condition contents on [!_COMPLEX_H].
33403 (__kernel_casinhf): New prototype.
33404 (__kernel_casinh): Likewise.
33405 (__kernel_casinhl): Likewise.
33406 * math/Makefile (libm_calls): Add k_casinh.
33407 * math/k_casinh.c: New file.
33408 * math/k_casinhf.c: Likewise.
33409 * math/k_casinhl.c: Likewise.
33410 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33411 finite nonzero arguments.
33412 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33413 finite nonzero arguments.
33414 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33415 finite nonzero arguments.
33416 * math/s_casinh.c: Do not include <float.h>.
33417 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33418 * math/s_casinhf.c: Do not include <float.h>.
33419 (__casinhf): Move code for finite nonzero arguments to
33420 k_casinhf.c.
33421 * math/s_casinhl.c: Do not include <float.h>.
33422 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33423 redefine.
33424 (__casinhl): Move code for finite nonzero arguments to
33425 k_casinhl.c.
33426 * math/libm-test.inc (cacos_test): Add more tests.
33427 * sysdeps/i386/fpu/libm-test-ulps: Update.
33428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33429
2a26ef3a
PT
334302013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33431
33432 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33433 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33434 [!HAVE_MREMAP]: Remove [defined linux] case.
33435 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33436
a897655d
SP
334372013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33438
33439 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33440
881ebe89 334412013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33442
33443 * elf/elf.h (R_386_SIZE32): New relocation.
33444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33445 R_386_SIZE32.
33446 (elf_machine_rela): Likewise.
33447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33448 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33449
59981e9b
JM
334502013-01-17 Joseph Myers <joseph@codesourcery.com>
33451
33452 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33453 (FP_FAST_FMA): Do not define.
33454 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33455 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33456 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33457 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33458 !_SOFT_FLOAT]: Likewise.
33459 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33461 value.
33462 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33463 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33464 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33465 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33466 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33467 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33468 file.
33469
cfa8054f
AS
334702013-01-16 Andreas Schwab <schwab@suse.de>
33471
33472 [BZ #14327]
33473 * include/stdlib.h (__mktemp): Add declaration.
33474 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33475 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33476
dd930cc5
SP
334772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33478
881ebe89
SP
33479 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33480 definitions.
33481 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33482 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33483 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33484 definitions here.
33485 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33486 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33487 definitions.
33488 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33489 and ONE.
33490 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33491 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33493 definitions.
33494 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33495 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33496 definitions.
33497 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33498
dd930cc5
SP
33499 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33500
c19a9f89
DM
335012013-01-15 David S. Miller <davem@davemloft.net>
33502
1aa61767
DM
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33504 trunc{,f} to libm-sysdep_routes.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33507 file.
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33510 file.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33512 file.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33516 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33518 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33519 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33520 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33521
c42d5e98
DM
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33523 nearbyint{,f} to libm-sysdep_routes.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33526 New file.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33528 file.
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33530 New file.
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33532 file.
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33536 file.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33539 file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33543
c19a9f89
DM
33544 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33545 libc_feholdexcept and libc_fesetenv.
33546
357679d2
MF
335472013-01-15 Mike Frysinger <vapier@gentoo.org>
33548
33549 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33550
65a82e3d
DM
335512013-01-14 David S. Miller <davem@davemloft.net>
33552
8b954ab9
DM
33553 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33554 (SPARC_ASM_VIS2_IFUNC): Likewise.
33555 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33557 use of 'siam' instruction.
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33559 Likewise.
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33561 Likewise.
33562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33563 Likewise.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33569 file.
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33571 file.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33573 file.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33575 file.
33576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33581 new VIS2 routines.
33582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33585 Likewise.
33586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33591 routines to libm-sysdep_routines.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33593
65a82e3d
DM
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33595 fdim/fdimf to libm-sysdep_routines.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33597 file.
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33600 file.
33601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33604 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33605 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33606 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33607 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33608
e34ab705
SP
336092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33610
2a91b573
SP
33611 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33612 to optimize copies.
33613
1066a534
SP
33614 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33617
e34ab705
SP
33618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33619 local variable MPTWO.
33620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33621 Likewise.
33622
aba5e596
MF
336232013-01-13 Mike Frysinger <vapier@gentoo.org>
33624
33625 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33626 GLOB_NOESCAPE.
33627
e557e9e5
MF
336282013-01-13 Mike Frysinger <vapier@gentoo.org>
33629
33630 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33631
0428cec9
MF
336322013-01-13 Mike Frysinger <vapier@gentoo.org>
33633
33634 * manual/pattern.texi (glob_t): Document gl_flags.
33635 (glob64_t): Likewise.
33636
8794a964
DM
336372013-01-11 David S. Miller <davem@davemloft.net>
33638
66438c3f
RM
33639 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33640 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33641 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33642 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33643 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33644 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33645 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33646 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33647 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33648 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33649 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33650 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33652
4ae4244d
DM
33653 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33654 sparc V9 rather than using V8 code.
33655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33657
8794a964
DM
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33659 Move to...
33660 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33661 Here.
33662
6270516e
RM
336632013-01-11 Roland McGrath <roland@hack.frob.com>
33664
33665 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33666 not in the main loop.
33667 * configure: Regenerated.
33668
6a57d931
JM
336692013-01-11 Joseph Myers <joseph@codesourcery.com>
33670
33671 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33672 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33673 to just #else.
33674 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33675 [!__GLIBC_HAVE_LONG_LONG] case.
33676 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33677 condition to just #else.
33678 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33679 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33680 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33681 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33682 unconditional.
33683 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33684 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33685 #elif condition to just #else.
33686 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33687 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33688 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33689 #elif condition to just #else.
33690
0e8529e9
SE
336912013-01-11 Steve Ellcey <sellcey@mips.com>
33692
33693 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33694 (EF_MIPS_ARCH_64): Fix value.
33695 (EF_MIPS_ARCH_32R2): New.
33696 (EF_MIPS_ARCH_64R2): New.
33697
740b3dbe
L
336982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33699
33700 * Makeconfig (+link-pie-before-libc): New.
33701 (+link-pie-after-libc): Likewise.
33702 (+link-pie-tests): Likewise.
33703 (+link-pie): Rewritten.
33704 (link-before-libc): Remove $(config-LDFLAGS).
33705 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33706 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33707 (config-LDFLAGS): Renamed to ...
33708 (rtld-LDFLAGS): This.
33709 (rtld-tests-LDFLAGS): New macro.
33710 (link-libc-rpath-link): Likewise.
33711 (link-libc-tests-rpath-link): Likewise.
33712 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33713 (link-libc): Prepand $(link-libc-rpath-link).
33714 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33715 (test-program-prefix): New macro.
33716 (test-via-rtld-prefix): Likewise.
33717 (test-program-cmd): Likewise.
33718 (host-test-program-cmd): Likewise.
33719 * Makefile ($(common-objpfx)testrun.sh): Replace
33720 $(run-program-prefix) with $(test-program-prefix).
33721 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33722 $(rtld-LDFLAGS).
33723 ($(common-objpfx)shlib.lds): Likewise.
33724 (build-module-helper): Likewise.
33725 ($(common-objpfx)format.lds): Likewise.
33726 * Rules (binaries-pie-tests): New.
33727 (binaries-pie-notests): Likewise.
33728 (binaries-pie): Rewritten.
33729 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33730 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33731 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33732 (make-test-out): Replace $(host-built-program-cmd) with
33733 $(host-test-program-cmd).
33734 * config.make.in (build-hardcoded-path-in-tests): New variable.
33735 * configure.in (--enable-hardcoded-path-in-tests): New configure
33736 option.
33737 (hardcoded_path_in_tests): New AC_SUBST.
33738 * configure: Regenerated.
33739 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33740 $(built-program-cmd) with $(test-program-cmd).
33741 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33742 (test_program_cmd): This.
33743 * elf/Makefile ($(objpfx)order.out): Run test with
33744 $(test-program-prefix).
33745 ($(objpfx)order2.out): Likewise.
33746 ($(objpfx)tst-initorder.out): Likewise.
33747 ($(objpfx)tst-initorder2.out): Likewise.
33748 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33749 $(test-program-cmd).
33750 ($(objpfx)tst-array1-static.out): Likewise.
33751 ($(objpfx)tst-array2.out): Likewise.
33752 ($(objpfx)tst-array3.out): Likewise.
33753 ($(objpfx)tst-array4.out): Likewise.
33754 ($(objpfx)tst-array5.out): Likewise.
33755 ($(objpfx)tst-array5-static.out): Likewise.
33756 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33757 $(test-program-cmd).
33758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33759 $(run-program-prefix) with $(test-program-prefix).
33760 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33761 (test_program_prefix): This.
33762 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33763 $(run-program-prefix) with $(test-program-prefix).
33764 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33765 (test_program_prefix): This.
33766 * iconvdata/tst-tables.sh: Likewise.
33767 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33768 $(run-program-prefix) with $(test-program-prefix).
33769 ($(objpfx)tst-translit.out): Likewise.
33770 ($(objpfx)tst-gettext2.out): Likewise.
33771 ($(objpfx)tst-gettext4.out): Likewise.
33772 ($(objpfx)tst-gettext6.out): Likewise.
33773 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33774 (test_program_prefix): This.
33775 * intl/tst-gettext2.sh: Likewise.
33776 * intl/tst-gettext4.sh Likewise.
33777 * intl/tst-gettext6.sh: Likewise.
33778 * intl/tst-translit.sh: Likewise.
33779 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33780 with $(test-program-cmd).
33781 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33782 $(run-program-prefix) with $(test-program-prefix).
33783 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33784 (test_program_prefix): This.
33785 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33786 $(run-program-prefix) with $(test-program-prefix).
33787 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33788 (test_program_prefix): This.
33789 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33790 * posix/Makefile ($(objpfx)globtest.out): Replace
33791 $(run-via-rtld-prefix) and $(test-wrapper) with
33792 $(test-program-prefix) and $(test-via-rtld-prefix).
33793 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33794 $(test-program-prefix).
33795 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33796 $(host-test-program-cmd).
33797 (tst-spawn-ARGS): Likewise.
33798 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33799 $(test-program-prefix).
33800 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33801 (test_via_rtld_prefix): This.
33802 (test_wrapper): Renamed to ...
33803 (test_program_prefix): This.
33804 (run_program_prefix): Replaced by test_program_prefix.
33805 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33806 (test_program_prefix): This.
33807 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33808 with $(host-test-program-cmd).
33809 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33810 $(run-program-prefix) with $(test-program-prefix).
33811 ($(objpfx)tst-printf.out): Likewise.
33812 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33813 $(test-program-cmd).
33814 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33815 (test_program_prefix): This.
33816 * stdio-common/tst-unbputc.sh: Likewise.
33817 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33818 $(run-program-prefix) with $(test-program-prefix).
33819 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33820 (test_program_prefix): This.
33821 * string/Makefile ($(objpfx)tst-svc.out): Replace
33822 $(built-program-cmd) with $(test-program-cmd).
33823
c6fe55cf
AJ
338242013-01-11 Andreas Jaeger <aj@suse.de>
33825
33826 [BZ #15003]
33827 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33828 value. Sync with Linux 3.7.
33829
9e6919c8
DM
338302013-01-10 David S. Miller <davem@davemloft.net>
33831
33832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33835
1c9f1a02
RM
338362013-01-10 Roland McGrath <roland@hack.frob.com>
33837
33838 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33839 never set.
33840 * configure: Regenerated.
33841
b9de2dde
DM
338422013-01-10 David S. Miller <davem@davemloft.net>
33843
33844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33845 sparc V9 rather than using V8 code.
33846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33848
e7f68ef4
RM
338492013-01-10 Roland McGrath <roland@hack.frob.com>
33850
33851 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33852 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33853 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33854 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33855 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33856 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33857 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33858 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33859 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33860 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33861 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33862 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33863 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33864 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33865 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33866 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33867 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33868 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33869 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33870 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33871 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33872 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33873 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33874 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33875 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33876 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33877 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33878
5a47cc9c
DM
338792013-01-10 David S. Miller <davem@davemloft.net>
33880
33881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33882
4cf8f209
L
338832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33884
33885 * posix/Makefile (tests-static): New variable.
33886 (tests): Add $(tests-static).
33887 (tst-exec-static-ARGS): New variable.
33888 (tst-spawn-static-ARGS): Likewise.
33889 * posix/tst-exec-static.c: New file.
33890 * posix/tst-spawn-static.c: Likewise.
33891 * posix/tst-exec.c: Support run directly.
33892 * posix/tst-spawn.c: Likewise.
33893
fed0faa1
JM
338942013-01-10 Joseph Myers <joseph@codesourcery.com>
33895
828beb13
JM
33896 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33897 long.
33898 * math/bits/mathcalls.h (llrint): Likewise.
33899 (llround): Likewise.
33900 * stdlib/stdlib.h (struct drand48_data): Likewise.
33901 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33902 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33904 Likewise.
33905 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33906 Likewise.
33907 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33908 (elf_greg_t): Likewise.
33909 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33910 (__jmp_buf): Likewise.
33911 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33912 definitions.
33913 (llrint): Likewise, for all definitions.
33914 (llrintl): Likewise.
33915
fed0faa1
JM
33916 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33917 Remove [__GNUC__] condition.
33918 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33919 condition to just [__USE_ISOC99].
33920 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33921
1a20cb20
L
339222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33923
33924 [BZ #14200]
33925 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33926 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33927 defined.
33928 (_POSIX_V6_ILP32_OFF32): Likewise.
33929 (_XBS5_ILP32_OFF32): Likewise.
33930 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33931 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33932
751b85f7
SP
339332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33934
7490eb81
SP
33935 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33936
751b85f7
SP
33937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33938 doubles __mpexp_twomm1. Adjust usage.
33939 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33940 Remove.
33941
988197f0
AS
339422013-01-10 Andreas Schwab <schwab@suse.de>
33943
33944 [BZ #14964]
33945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33946 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33947
e83d7298
DM
339482013-01-09 David S. Miller <davem@davemloft.net>
33949
034ed64b 33950 [BZ #15003]
57f41c40
AS
33951 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33952 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33953 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33954 (TCP_FASTOPEN): Define.
e83d7298
DM
33955 (tcp_repair_opt): New structure.
33956 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33957 enum values.
57f41c40
AS
33958 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33959 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33960 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33961 (tcp_cookie_transactions): New structure.
33962
d5e0b9bd
AB
339632013-01-09 Anton Blanchard <anton@samba.org>
33964
33965 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33966 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33967 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33969
0c07e3ea
JM
339702013-01-09 Joseph Myers <joseph@codesourcery.com>
33971
33972 * include/features.h (__USE_ANSI): Remove.
33973
232f7002
RM
339742013-01-09 Roland McGrath <roland@hack.frob.com>
33975
ad98e30c
RM
33976 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33977
232f7002
RM
33978 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33979
950c99ca
SP
339802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33981
b5792741
SP
33982 * sysdeps/s390/fpu/libm-test-ulps: Update.
33983
47cf2278
SP
33984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33985
950c99ca
SP
33986 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33987 (__acr): Likewise.
33988 (__cpy): Likewise.
33989 (norm): Likewise.
33990 (denorm): Likewise.
33991 (__mp_dbl): Likewise.
33992 (__dbl_mp): Likewise.
33993 (add_magnitudes): Likewise.
33994 (sub_magnitudes): Likewise.
33995 (__add): Likewise.
33996 (__sub): Likewise.
33997 (__mul): Likewise.
33998 (__inv): Likewise.
33999 (__dvd): Likewise.
34000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34001 (__acr): Likewise.
34002 (__cpy): Likewise.
34003 (norm): Likewise.
34004 (denorm): Likewise.
34005 (__mp_dbl): Likewise.
34006 (__dbl_mp): Likewise.
34007 (add_magnitudes): Likewise.
34008 (sub_magnitudes): Likewise.
34009 (__add): Likewise.
34010 (__sub): Likewise.
34011 (__mul): Likewise.
34012 (__inv): Likewise.
34013 (__dvd): Likewise.
34014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34015 (__acr): Likewise.
34016 (__cpy): Likewise.
34017 (norm): Likewise.
34018 (denorm): Likewise.
34019 (__mp_dbl): Likewise.
34020 (__dbl_mp): Likewise.
34021 (add_magnitudes): Likewise.
34022 (sub_magnitudes): Likewise.
34023 (__add): Likewise.
34024 (__sub): Likewise.
34025 (__mul): Likewise.
34026 (__inv): Likewise.
34027 (__dvd): Likewise.
34028
eede9df9
JM
340292013-01-08 Joseph Myers <joseph@codesourcery.com>
34030
34031 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34032 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34033 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34034 2 && __USE_EXTERN_INLINES]: Likewise.
34035
c40ea3d9
AJ
340362013-01-08 Andreas Jaeger <aj@suse.de>
34037
34038 [BZ# 14985]
34039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34040 Remove.
34041 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34042 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34043
2ccdea26
AB
340442013-01-07 Anton Blanchard <anton@samba.org>
34045
34046 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34047 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34048 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34049 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34050 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34052 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34053 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34055 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34059 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34060 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34061 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34062 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34064 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34065 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34069 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34070 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34071 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34072 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34073 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34075 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34076 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34078 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34081 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34087 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34088 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34089
a9708fed
JM
340902013-01-07 Joseph Myers <joseph@codesourcery.com>
34091
375607b9
JM
34092 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34093 (__MALLOC_PMT): Likewise.
34094 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34095 [__GNUC__], only on [_LIBC].
34096 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34097 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34098 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34099 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34100 forward declaration.
34101 (realloc_hook_ini): Likewise.
34102 (memalign_hook_ini): Likewise.
34103 (__libc_memalign): Do not use __MALLOC_PMT in variable
34104 declaration.
34105 (__libc_valloc): Likewise.
34106 (__libc_pvalloc): Likewise.
34107 (__libc_calloc): Likewise.
34108 (__posix_memalign): Likewise.
34109
a9708fed
JM
34110 [BZ #14996]
34111 * math/s_casinh.c: Include <float.h>.
34112 (__casinh): Do not do computation with squaring and square root
34113 for large arguments.
34114 * math/s_casinhf.c: Include <float.h>.
34115 (__casinhf): Do not do computation with squaring and square root
34116 for large arguments.
34117 * math/s_casinhl.c: Include <float.h>.
34118 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34119 (__casinhl): Do not do computation with squaring and square root
34120 for large arguments.
34121 * math/libm-test.inc (casin_test): Add more tests.
34122 (casinh_test): Likewise.
34123 * sysdeps/i386/fpu/libm-test-ulps: Update.
34124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34125
afec409a
L
341262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34127
34128 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34129 (__x86_64_raw_data_cache_size): Likewise.
34130 (__x86_64_data_cache_size_half): Likewise.
34131 (__x86_64_raw_data_cache_size_half): Likewise.
34132 (__x86_64_shared_cache_size): Likewise.
34133 (__x86_64_raw_shared_cache_size): Likewise.
34134 (__x86_64_shared_cache_size_half): Likewise.
34135 (__x86_64_raw_shared_cache_size_half): Likewise.
34136 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34137 to ...
34138 (__x86_data_cache_size): This.
34139 (__x86_64_raw_data_cache_size): Renamed to ...
34140 (__x86_raw_data_cache_size): This.
34141 (__x86_64_data_cache_size_half): Renamed to ...
34142 (__x86_data_cache_size_half): This.
34143 (__x86_64_raw_data_cache_size_half): Renamed to ...
34144 (__x86_raw_data_cache_size_half): This.
34145 (__x86_64_shared_cache_size): Renamed to ...
34146 (__x86_shared_cache_size): This.
34147 (__x86_64_raw_shared_cache_size): Renamed to ...
34148 (__x86_raw_shared_cache_size): This.
34149 (__x86_64_shared_cache_size_half): Renamed to ...
34150 (__x86_shared_cache_size_half): This.
34151 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34152 (__x86_raw_shared_cache_size_half): This.
34153 * sysdeps/x86_64/memcpy.S: Updated.
34154 * sysdeps/x86_64/memset.S: Likewise.
34155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34158
0b3986d0
DM
341592013-01-04 David S. Miller <davem@davemloft.net>
34160
34161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34162
e47686e9
AS
341632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34164
d643bac1
AS
34165 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34166 1 to avoid redefinition warning.
34167 (__USE_GNU): Don't define.
34168 (init_signaling_nan): Protoize.
34169
e47686e9
AS
34170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34171
b18decba
SP
341722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34173
fffb407f
SP
34174 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34176 (__cpymn): Likewise.
34177 (norm): Remove commented code.
34178 (denorm): Likewise.
34179 (__mp_dbl): Likewise.
34180 (__inv): Likewise.
34181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34182 (__cpymn): Likewise.
34183 (norm): Remove commented code.
34184 (denorm): Likewise.
34185 (__mp_dbl): Likewise.
34186 (__inv): Likewise.
34187
b18decba
SP
34188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34189 mp_no value for 1.0 and 2.0.
34190 (norm): Use RADIXI instead of radixi.d.
34191 (denorm): Likewise.
34192 (__mul): Use 0.0 instead of zero.d.
34193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34194 mp_no value for 1.0 and 2.0.
34195 (norm): Use RADIXI instead of radixi.d.
34196 (denorm): Likewise.
34197 (__mul): Use 0.0 instead of zero.d.
34198
cdc1c96f
JM
341992013-01-04 Joseph Myers <joseph@codesourcery.com>
34200
34201 [BZ #14994]
34202 * math/s_casinh.c (__casinh): Reduce finite argument to first
34203 quadrant then set signs of results at the end.
34204 * math/s_casinhf.c (__casinhf): Likewise.
34205 * math/s_casinhl.c (__casinhl): Likewise.
34206 * math/libm-test.inc (casin_test): Add more tests.
34207 (casinh_test): Likewise.
34208 * sysdeps/i386/fpu/libm-test-ulps: Update.
34209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34210
302913e1
SP
342112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34212
6420d207
SP
34213 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34214
a9e48ab4
SP
34215 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34216
b7837264
SP
34217 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34218 declarations.
34219 (denorm): Likewise.
34220 (__mp_dbl): Likewise.
34221 (__inv): Likewise.
34222
f8af25d2
SP
34223 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34224 and adjust the header comment.
34225
302913e1
SP
34226 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34227 variable name from declaration.
34228
5d7dd1ca
L
342292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34230
34231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34232 Initialize COMMON_CPUID_INDEX_7 element.
34233 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34234 (CPUID_RTM): Likewise.
34235 (HAS_RTM): Likewise.
34236 (COMMON_CPUID_INDEX_7): New enum.
34237
2f5f40f4
AS
342382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34239
34240 [BZ #14981]
34241 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34242 size is zero, record memory as freed.
34243
4056f4a0
AJ
342442013-01-03 Andreas Jaeger <aj@suse.de>
34245
34246 * po/ia.po: Add new Interlingua translation.
34247
ab15736f 342482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34249
34250 * locale/programs/localedef.c: Fix description of '--posix' flag.
34251
568035b7
JM
342522013-01-02 Joseph Myers <joseph@codesourcery.com>
34253
e6898b8d
JM
34254 * NEWS: Update dates in second copyright notice.
34255 * README: Update copyright dates in example.
34256 * manual/libc.texinfo: Update copyright dates.
34257 * scripts/test-installation.pl: Update copyright date in --version
34258 output.
34259
0e2f9562
JM
34260 * hurd/ctty-input.c: Fix copyright notice formatting.
34261 * hurd/ctty-output.c: Likewise.
34262 * hurd/dtable.c: Likewise.
34263 * hurd/hurd-raise.c: Likewise.
34264 * hurd/hurdprio.c: Likewise.
34265 * hurd/msgportdemux.c: Likewise.
34266 * misc/sys/file.h: Likewise.
34267 * misc/sys/ioctl.h: Likewise.
34268 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34269 * sysdeps/mach/hurd/chdir.c: Likewise.
34270 * sysdeps/mach/hurd/fchdir.c: Likewise.
34271 * sysdeps/mach/hurd/rename.c: Likewise.
34272 * sysdeps/mach/hurd/rmdir.c: Likewise.
34273 * sysdeps/mach/hurd/seekdir.c: Likewise.
34274 * sysdeps/mach/hurd/setsid.c: Likewise.
34275 * sysdeps/posix/wait3.c: Likewise.
34276
568035b7
JM
34277 * All files with FSF copyright notices: Update copyright dates
34278 using scripts/update-copyrights.
34279 * intl/plural.c: Regenerated.
34280 * locale/programs/charmap-kw.h: Likewise.
34281 * locale/programs/locfile-kw.h: Likewise.
34282
da08f647
SP
342832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34284
0f5477af
SP
34285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34286 four values.
34287
44e0d4c2
SP
34288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34289 calculation loop and add branch prediction.
34290
4d55b4e5
SP
34291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34292 check access beyond bounds of m1np.
34293
da08f647
SP
34294 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34295 MPTWO.
34296 (__inv): Remove local variable MPTWO to use the global
34297 constant.
34298 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34300 variable MPTWO.
34301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34302 MP3HALFS static const.
34303
8e051029
DM
343042013-01-01 David S. Miller <davem@davemloft.net>
34305
34306 * po/ca.po: Update from translation team.
34307
f4cf5f2d
JM
343082013-01-01 Joseph Myers <joseph@codesourcery.com>
34309
34310 * scripts/update-copyrights: New file.
34311 * Makeconfig: Reformat copyright notice.
34312 * ctype/ctype.h: Likewise.
34313 * debug/swprintf_chk.c: Likewise.
34314 * elf/dl-cache.c: Likewise.
34315 * elf/dl-debug.c: Likewise.
34316 * elf/dl-object.c: Likewise.
34317 * grp/initgroups.c: Likewise.
34318 * hurd/Makefile: Likewise.
34319 * hurd/hurd/signal.h: Likewise.
34320 * hurd/hurdfault.c: Likewise.
34321 * hurd/hurdioctl.c: Likewise.
34322 * hurd/hurdlookup.c: Likewise.
34323 * hurd/intr-msg.c: Likewise.
34324 * iconv/gconv_open.c: Likewise.
34325 * libio/swprintf.c: Likewise.
34326 * locale/lc-ctype.c: Likewise.
34327 * locale/nl_langinfo.c: Likewise.
34328 * mach/Machrules: Likewise.
34329 * mach/Makefile: Likewise.
34330 * malloc/obstack.h: Likewise.
34331 * manual/Makefile: Likewise.
34332 * manual/tsort.awk: Likewise.
34333 * misc/bits/stab.def: Likewise.
34334 * nis/nis_print_group_entry.c: Likewise.
34335 * nis/nis_table.c: Likewise.
34336 * nis/nss_compat/compat-pwd.c: Likewise.
34337 * nis/nss_compat/compat-spwd.c: Likewise.
34338 * po/Makefile: Likewise.
34339 * posix/fnmatch.c: Likewise.
34340 * posix/regex.h: Likewise.
34341 * resolv/Makefile: Likewise.
34342 * resolv/nss_dns/dns-network.c: Likewise.
34343 * resolv/res_hconf.c: Likewise.
34344 * scripts/gen-sorted.awk: Likewise.
34345 * soft-fp/soft-fp.h: Likewise.
34346 * stdio-common/printf.h: Likewise.
34347 * stdlib/monetary.h: Likewise.
34348 * stdlib/random.c: Likewise.
34349 * stdlib/random_r.c: Likewise.
34350 * sysdeps/generic/Makefile: Likewise.
34351 * sysdeps/gnu/Makefile: Likewise.
34352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34368 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34373 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34374 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34376 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34377 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34379 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34380 * sysdeps/mach/hurd/errnos.awk: Likewise.
34381 * sysdeps/mach/hurd/fork.c: Likewise.
34382 * sysdeps/mach/hurd/getcwd.c: Likewise.
34383 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34384 * sysdeps/mach/hurd/mmap.c: Likewise.
34385 * sysdeps/mach/hurd/utimes.c: Likewise.
34386 * sysdeps/mach/hurd/xmknod.c: Likewise.
34387 * sysdeps/posix/profil.c: Likewise.
34388 * sysdeps/posix/readdir_r.c: Likewise.
34389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34390 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34391 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34392 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34398 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34399 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34400 * sysdeps/pthread/lio_listio.c: Likewise.
34401 * sysdeps/sparc/dl-procinfo.h: Likewise.
34402 * sysdeps/unix/i386/sysdep.S: Likewise.
34403 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34404 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34405 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34406 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34408 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34409 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34410 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34411 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34412 * sysdeps/wordsize-32/divdi3.c: Likewise.
34413 * time/sys/time.h: Likewise.
34414 * wcsmbs/Makefile: Likewise.
34415
0549fbba
DM
344162013-01-01 David S. Miller <davem@davemloft.net>
34417
a141f1a7
DM
34418 * po/fr.po: Update from translation team.
34419
0549fbba
DM
34420 * catgets/gencat.c: Update copyright year.
34421 * csu/version.c: Likewise.
34422 * debug/catchsegv.sh: Likewise.
34423 * debug/pcprofiledump.c: Likewise.
34424 * debug/xtrace.sh: Likewise.
34425 * elf/ldconfig.c: Likewise.
34426 * elf/ldd.bash.in: Likewise.
34427 * elf/pldd.c: Likewise.
34428 * elf/sotruss.ksh: Likewise.
34429 * elf/sprof.c: Likewise.
34430 * iconv/iconv_prog.c: Likewise.
34431 * iconv/iconvconfig.c: Likewise.
34432 * locale/programs/locale.c: Likewise.
34433 * locale/programs/localedef.c: Likewise.
34434 * login/programs/pt_chown.c: Likewise.
34435 * malloc/memusage.sh: Likewise.
34436 * malloc/memusagestat.c: Likewise.
34437 * malloc/mtrace.pl: Likewise.
34438 * nscd/nscd.c: Likewise.
34439 * nss/getent.c: Likewise.
34440 * nss/makedb.c: Likewise.
34441 * posix/getconf.c: Likewise.
34442
18ea052c
SP
344432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34444
34445 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34446 numbers.
34447
9c89fca6
MF
344482012-12-30 Mike Frysinger <vapier@gentoo.org>
34449
34450 * math/bits/mathcalls.h (modf): Use __nonnull.
34451
085ec079
SP
344522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34453
34454 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34455 (split): Use macro CN instead of the bare value.
34456 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34457 could be used.
34458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34459 instead of the bare value.
34460 (power1): Likewise.
34461
6d9f97e1
SP
344622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34463
d63f73be
SP
34464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34465 __ATAN_TWOM.
34466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34467
6d9f97e1
SP
34468 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34469 their values.
34470 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34472 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34473 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34474
4c4febf5
AJ
344752012-12-28 Andreas Jaeger <aj@suse.de>
34476
af5843ef
AJ
34477 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34478 values are from Linux 3.7.
34479
4c4febf5
AJ
34480 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34481 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34482
99136f82
SP
344832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34484
2f216c3c 34485 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34486 TRUE case.
34487
99136f82
SP
34488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34489 (norm): Likewise.
34490 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34491 variables with preprocessor constants.
34492 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34493 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34495
7fffbdff
BH
344962012-12-27 Bruno Haible <bruno@clisp.org>
34497
34498 [BZ #14317]
34499 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34500 only if needed.
34501
b76eb5f0
SP
345022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34503
31a7fe5c
SP
34504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34505 and use variable directly.
34506 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34507
b76eb5f0
SP
34508 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34509 MPONE.
34510 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34512 variable MPONE.
34513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34515 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34516 include directive. Remove local variable MPONE.
34517 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34518 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34520
2c8bfe7d
DM
345212012-12-25 David S. Miller <davem@davemloft.net>
34522
34523 * version.h (RELEASE): Set to "development".
34524 (VERSION): Set to "2.17.90".
34525 * NEWS: Add 2.18 section.
34526
147d03b0
DM
345272012-12-21 David S. Miller <davem@davemloft.net>
34528
34529 * po/hr.po: Update from translation team.
34530
a8ebb2b9
AK
345312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34532
34533 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34534
95b4f1b6
SE
345352012-12-19 Steve Ellcey <sellcey@mips.com>
34536
b2d94007 34537 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34538
cedb2a90
MS
345392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34540
34541 * manual/contrib.texi (Contributors): Spelling correction.
34542
bbf527d6
DM
345432012-12-15 David S. Miller <davem@davemloft.net>
34544
34545 * po/ru.po: Update from translation team.
34546
bc38c906
DM
345472012-12-13 David S. Miller <davem@davemloft.net>
34548
85429b1a
DM
34549 * NEWS: Mention IFUNC testsuite enhancements.
34550
d283e353
DM
34551 * po/pl.po: Update from translation team.
34552 * po/bg.po: Likewise.
34553
bc38c906
DM
34554 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34555 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34556
a181b0d7
DM
345572012-12-11 David S. Miller <davem@davemloft.net>
34558
4641d57e
DM
34559 * po/sv.po: Update from translation team.
34560
f7bc6495
DM
34561 * po/vi.po: Update from translation team.
34562
6fc9048f
DM
34563 * po/cs.po: Update from translation team.
34564
a181b0d7
DM
34565 * po/de.po: Update from translation team.
34566 * po/eo.po: Likewise.
34567 * po/nl.po: Likewise.
34568
f70bfe80
SP
345692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34570
3c8b4190
SP
34571 [BZ #14246]
34572 * manual/argp.texi (Argp Helper Functions): Move node to follow
34573 Argp Parsing State.
34574
f70bfe80
SP
34575 [BZ #14872]
34576 * manual/conf.texi (Limits on File System Capacity): Mention if
34577 terminating null is included in the max size.
34578
188f0adf
AJ
345792012-12-10 Andreas Jaeger <aj@suse.de>
34580
34581 * po/cs.po: Update from translation team.
34582
56e7d3ad
SP
345832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34584
34585 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34586 void pointer and cast to uintptr_t.
34587 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34588 path.
34589 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34590 * sysdeps/s390/s390-64/memset.S: Likewise.
34591
76f2d2ea 345922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34593
34594 [BZ #14833]
34595 * menual/message.texi (Message Translation): Fix typos.
34596 (Helper programs for gettext): Likewise.
34597
67cbf9a2
AS
345982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34599
34600 [BZ #14898]
34601 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34602 Change to -1.
34603
682d0e9a
DM
346042012-12-07 David S. Miller <davem@davemloft.net>
34605
34606 * po/libc.pot: Update.
34607
573cd484
RH
346082012-12-07 Richard Henderson <rth@redhat.com>
34609
7e9da188 34610 [BZ #10114]
573cd484
RH
34611 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34612 normal/normal case to before the switch.
34613 (_FP_DIV): Likewise.
34614
e933a943
MF
346152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34616 Mike Frysinger <vapier@gentoo.org>
34617
34618 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34619 check for __NR_fadvise64_64.
34620
82123268
CM
346212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34622
34623 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34624 0, not just to plain "0" as a statement.
34625 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34626 with cw.
34627
d9814526
JM
346282012-12-06 Joseph Myers <joseph@codesourcery.com>
34629
34630 * NEWS: Use sourceware.org in Bugzilla URL.
34631
7728c574
SP
346322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34633
f16946dd
SP
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34636
5704bbcb
SP
34637 * stdio-common/tst-put-error.c (do_test): Add newline to the
34638 padded test to ensure flush.
34639
17aa0516
JL
346402012-12-05 Jeff Law <law@redhat.com>
34641
34642 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34643
363313b5
JM
346442012-12-05 Joseph Myers <joseph@codesourcery.com>
34645
effbd42a
JM
34646 * README: Don't refer to ports add-on as distributed separately.
34647 Mention AArch64 in list of systems supported in the ports add-on.
34648
87600365
JM
34649 * LICENSES: Add more non-FSF copyright and license notices.
34650
a0d7066a
JM
34651 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34652 ((unused)).
34653
66ca5a5b
JM
34654 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34655
363313b5
JM
34656 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34657 10000 as width of padded output.
34658
b37984ad
JM
346592012-12-04 Joseph Myers <joseph@codesourcery.com>
34660
9003570a
JM
34661 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34662
b37984ad
JM
34663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34664 variable LX with __attribute__ ((unused)).
34665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34666 Likewise.
34667 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34670 with __attribute__ ((unused)).
34671
c8df52ec
DM
346722012-12-04 David S. Miller <davem@abraco.davemloft.net>
34673
34674 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34675
b3b099af
JM
346762012-12-04 Joseph Myers <joseph@codesourcery.com>
34677
c33aa6e3
JM
34678 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34679 (CFLAGS-nldbl-acos.c): New variable.
34680 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34681 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34682 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34683 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34684 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34685 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34686 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34687 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34688 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34689 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34690 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34691 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34692 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34693 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34694 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34695 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34696 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34697 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34698 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34699 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34700 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34701 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34702 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34703 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34704 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34705 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34706 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34707 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34708 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34709 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34710 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34711 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34712 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34713 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34714 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34715 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34716 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34717 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34718 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34719 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34720 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34721 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34722 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34723 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34724 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34725 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34726 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34727 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34728 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34729 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34730 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34731 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34732 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34733 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34734 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34735 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34736 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34737 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34738 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34739 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34740 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34741 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34742 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34743 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34744 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34745 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34746 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34747 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34748 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34749 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34750 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34751 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34752 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34753 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34754 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34755 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34756 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34757 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34758 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34759 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34760 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34761 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34762 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34763 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34764 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34765 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34766 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34767 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34768 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34769 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34770 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34771 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34772 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34773 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34774 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34775 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34776 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34777
20f0018d
JM
34778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34780
b3b099af
JM
34781 [BZ #14914]
34782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34783 whole low double instead of just low 47 bits when splitting values
34784 into two parts.
34785
029264d1
AM
347862012-12-03 Allan McRae <allan@archlinux.org>
34787
34788 * manual/stdio.texi (Predefined Printf Handlers): Remove
34789 @hsep and @vsep usage.
34790
c9d6789e
MF
347912012-12-03 Mike Frysinger <vapier@gentoo.org>
34792
34793 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34794 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34795
4b7634a5
JL
347962012-12-03 Jeff Law <law@redhat.com>
34797
34798 * time/sys/time.h (settimeofday): Do not mark TV argument
34799 as __nonnull.
34800
eb6cbd24
MF
348012012-12-01 Mike Frysinger <vapier@gentoo.org>
34802
34803 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34804 when currently writing and seek to current position when not.
34805 * libio/Makefile (tests): Remove bug-fclose1.
34806 * libio/bug-fclose1.c: Delete.
34807
f638872a
JM
348082012-12-01 Joseph Myers <joseph@codesourcery.com>
34809
34810 * manual/arith.texi (feenableexcept): Fix typo.
34811 (fedisableexcept): Likewise.
34812
48085d14
RM
348132012-11-30 Roland McGrath <roland@hack.frob.com>
34814
34815 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34816 second, differently-typed declaration, rather than a cast.
34817
1a538b9f
SP
348182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34819
34820 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34821 * include/rpc/svc.h: ... here.
34822
d07f2ff1 348232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34824
34825 [BZ #13013]
34826 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34827 depending n and resplen2 to catch cases where answer
34828 equals answerp2.
34829
c93ec1f0
CD
348302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34831
34832 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34833 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34834
37db69de
MF
348352012-11-29 Mike Frysinger <vapier@gentoo.org>
34836
34837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34838
e10c4e4f
RM
348392012-11-29 Roland McGrath <roland@hack.frob.com>
34840
34841 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34842
2af1b328
JL
348432012-11-28 Jeff Law <law@redhat.com>
34844
34845 [BZ #13761]
34846 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34847 dataset_temporary. Track alloca usage into alloca_used.
34848 If dataset is large allocate and release it via malloc/free.
34849
111db5b1
FW
348502012-06-04 Florian Weimer <fweimer@redhat.com>
34851
f06cc227 34852 [BZ #14197]
111db5b1
FW
34853 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34854
dd694abd
DM
348552012-11-28 David S. Miller <davem@davemloft.net>
34856
34857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34858
9984dd01
JM
348592012-11-28 Joseph Myers <joseph@codesourcery.com>
34860
34861 [BZ #14803]
34862 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34863 of pi/2 rounded to nearest to 64 bits.
34864 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34865 nearest to 64 bits.
34866 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34867 bits.
34868
14bc93a9
JL
348692012-11-28 Jeff Law <law@redhat.com>
34870 Martin Osvald <mosvald@redhat.com>
34871
34872 [BZ #14889]
34873 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34874 * sunrpc/svc.c: Include time.h.
34875 (__svc_accept_failed): New function.
34876 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34877 any reason other than EINTR, call __svc_accept_failed.
34878 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34879 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34880
e3c6aa3a
AS
348812012-11-28 Andreas Schwab <schwab@suse.de>
34882
34883 * scripts/abilist.awk: Also handle indirect functions in .opd
34884 section.
34885
1bead169
JM
348862012-11-28 Joseph Myers <joseph@codesourcery.com>
34887
34888 [BZ #13881]
34889 * sysdeps/x86/fpu/powl_helper.c: New file.
34890 * sysdeps/x86/fpu/Makefile: Likewise.
34891 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34892 (p3): New object.
34893 (__ieee754_powl): Use __powl_helper for finite arguments except
34894 integer exponents below 8.
34895 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34896 (p3): New object.
34897 (__ieee754_powl): Use __powl_helper for finite arguments except
34898 integer exponents below 8.
34899 * math/libm-test.inc (pow_test): Add more tests and enable some
34900 previously disabled tests.
34901 * sysdeps/i386/fpu/libm-test-ulps: Update.
34902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34903
0817d63d
SP
349042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34905 Carlos O'Donell <carlos_odonell@mentor.com>
34906
34907 * nss/makedb.c (is_prime): Assert that input is odd and greater
34908 than 4. Note that fact in a comment too.
34909 (next_prime): Add 4 to input.
34910
de2fd463
SP
349112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34912
34913 [BZ #11741]
34914 * libio/Makefile (tests): Add test case tst-fwrite-error.
34915 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34916 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34917 * libio/tst-fwrite-error.c: New test case.
34918
c515fb51
L
349192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34920
34921 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34922 before casting to void *.
34923 * include/libc-internal.h (__pointer_type): New macro.
34924 (__integer_if_pointer_type_sub): Likewise.
34925 (__integer_if_pointer_type): Likewise.
34926 (cast_to_integer): Likewise.
34927 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34928 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34929 before casting to atomic64_t.
34930 (atomic_exchange_acq): Likewise.
34931 (__arch_exchange_and_add_body): Likewise.
34932 (__arch_add_body): Likewise.
34933 (atomic_add_negative): Likewise.
34934 (atomic_add_zero): Likewise.
34935
4cf77aa9
JM
349362012-11-26 Joseph Myers <joseph@codesourcery.com>
34937
34938 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34939 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34940 (add_fdes): Likewise.
34941 (linear_search_fdes): Likewise.
34942 (binary_search_unencoded_fdes): Likewise.
34943
d260b3b4
AS
349442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34945
34946 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34947
67060746
AC
349482012-11-24 Adam Conrad <adconrad@0c3.net>
34949
34950 * configure.in: Autodetect C++ header directories.
34951 * configure: Regenerated.
34952
800938a1
MF
349532012-11-23 Mike Frysinger <vapier@gentoo.org>
34954
34955 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34956
4e6e34e6
AS
349572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34958
34959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34960
7c7feb47
JM
349612012-11-22 Joseph Myers <joseph@codesourcery.com>
34962
7184dcdf
JM
34963 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34964 LDBL_MANT_DIG == 106]: Disable some tests.
34965 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34966 Likewise.
34967 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34968 Likewise.
34969
0a42601f
JM
34970 [BZ #14871]
34971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34972 input for small inputs. Return +/- pi/2 for large inputs.
34973 * math/libm-test.inc (atan_test): Add more tests.
34974
79c9b9fe
JM
34975 * sysdeps/generic/unwind-dw2-fde-glibc.c
34976 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34977 __attribute__ ((unused)).
34978
c60d3bf2
JM
34979 [BZ #14645]
34980 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34981 x * y if x and y are nonzero and z is zero.
34982
ef1e0867
JM
34983 [BZ #14811]
34984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34985 nonzero exponents with absolute value below 0x1p-117 to +/-
34986 0x1p-117.
34987
1468ded3
JM
34988 [BZ #14869]
34989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34990 up arguments below 2**-450, not just those below 2**-500.
34991 * math/libm-test.inc (hypot_test): Add another test.
34992
8e27e3cc
JM
34993 [BZ #14868]
34994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34995 Return a+b for ratio over 2**120, not 2**60.
34996 * math/libm-test.inc (hypot_test): Add another test.
34997
c9c0279b
JM
34998 * math/libm-test.inc (clog_test): Use
34999 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35000 (clog10_test): Likewise.
35001
7c7feb47
JM
35002 [BZ #6778]
35003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35004
fff1530e
AS
350052012-11-22 Andreas Schwab <schwab@suse.de>
35006
35007 * sysdeps/i386/fpu/libm-test-ulps: Update.
35008
94558d30
PT
350092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35010
35011 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35012 printf output with newline.
35013
7e1be741
L
350142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35015
6bfea974
L
35016 [BZ #14865]
35017 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35018 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35019 -z nodlopen, -z initfirst and -z execstack support.
35020 * configure: Regenerated.
35021
7e1be741
L
35022 * elf/elf.h (DF_1_NODIRECT): New macro.
35023 (DF_1_IGNMULDEF): Likewise.
35024 (DF_1_NOKSYMS): Likewise.
35025 (DF_1_NOHDR): Likewise.
35026 (DF_1_EDITED): Likewise.
35027 (DF_1_NORELOC): Likewise.
35028 (DF_1_SYMINTPOSE): Likewise.
35029 (DF_1_GLOBAUDIT): Likewise.
35030 (DF_1_SINGLETON): Likewise.
35031 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35032 DT_1_SUPPORTED_MASK bits.
35033 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35034
105ce2ce
CD
350352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35036
35037 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35038
123be9de
TS
350392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35040
d072f3f7
TS
35041 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35042 macro.
35043
123be9de
TS
35044 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35045 (sendmmsg): Move declarations...
35046 * socket/sys/socket.h: ... here.
35047 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35048 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35049 include it from...
35050 * socket/recvmmsg.c: ... this new file.
35051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35052 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35053 definition of __sendmmsg hidden.
35054 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35055 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35056 Move ENOSYS stub into and include it from...
35057 * socket/sendmmsg.c: ... this new file.
35058 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35059 (sysdep_routines): Move recvmmsg and sendmmsg...
35060 * socket/Makefile (routines): ... here.
35061 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35062 (GLIBC_PRIVATE): Add __sendmmsg.
35063 * include/sys/socket.h (__sendmmsg): Add declarations.
35064 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35065 sendmmsg.
35066
cf9a5d18
JM
350672012-11-20 Joseph Myers <joseph@codesourcery.com>
35068
35069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35070 variable I1 with __attribute__ ((unused)).
35071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35072
ecd4caf9
JM
350732012-11-19 Joseph Myers <joseph@codesourcery.com>
35074
be14d48f
JM
35075 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35076 DUMMY variables with __attribute__ ((unused)).
35077
ecd4caf9
JM
35078 * bits/byteswap.h: Include <bits/types.h>.
35079 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35080
986cab95
PT
350812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35082
35083 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35084 string_t. Do not manually set errno.
35085 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35086 length with __strnlen. Make sure to both set errno and return it on
35087 failure.
35088
6d33cc9d
DM
350892012-11-19 David S. Miller <davem@davemloft.net>
35090
35091 With help from Joseph Myers.
35092 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35093 very large arguments properly.
35094 * math/libm-test.inc (atan_test): New tests.
35095 (atan2_test): New tests.
35096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35098
ee663277
JM
350992012-11-19 Joseph Myers <joseph@codesourcery.com>
35100
877f2d8e
JM
35101 [BZ #14856]
35102 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35103 Define to 3.
35104
116fc08a
JM
35105 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35106 [POSIX] (EADDRNOTAVAIL): Likewise.
35107 [POSIX] (EAFNOSUPPORT): Likewise.
35108 [POSIX] (EALREADY): Likewise.
35109 [POSIX] (ECONNABORTED): Likewise.
35110 [POSIX] (ECONNREFUSED): Likewise.
35111 [POSIX] (ECONNRESET): Likewise.
35112 [POSIX] (EDESTADDRREQ): Likewise.
35113 [POSIX] (EDQUOT): Likewise.
35114 [POSIX] (EHOSTUNREACH): Likewise.
35115 [POSIX] (EIDRM): Likewise.
35116 [POSIX] (EISCONN): Likewise.
35117 [POSIX] (ELOOP): Likewise.
35118 [POSIX] (EMULTIHOP): Likewise.
35119 [POSIX] (ENETDOWN): Likewise.
35120 [POSIX] (ENETUNREACH): Likewise.
35121 [POSIX] (ENOBUFS): Likewise.
35122 [POSIX] (ENODATA): Likewise.
35123 [POSIX] (ENOLINK): Likewise.
35124 [POSIX] (ENOMSG): Likewise.
35125 [POSIX] (ENOPROTOOPT): Likewise.
35126 [POSIX] (ENOSR): Likewise.
35127 [POSIX] (ENOSTR): Likewise.
35128 [POSIX] (ENOTCONN): Likewise.
35129 [POSIX] (ENOTSOCK): Likewise.
35130 [POSIX] (EOPNOTSUPP): Likewise.
35131 [POSIX] (EOVERFLOW): Likewise.
35132 [POSIX] (EPROTO): Likewise.
35133 [POSIX] (EPROTONOSUPPORT): Likewise.
35134 [POSIX] (EPROTOTYPE): Likewise.
35135 [POSIX] (ESTALE): Likewise.
35136 [POSIX] (ETIME): Likewise.
35137 [POSIX] (ETXTBSY): Likewise.
35138 [POSIX] (EWOULDBLOCK): Likewise.
35139 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35140 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35141 [POSIX] (SEEK_CUR): Likewise.
35142 [POSIX] (SEEK_END): Likewise.
35143 [POSIX || UNIX98] (mode_t): Do not require.
35144 [POSIX] (off_t): Likewise.
35145 [POSIX] (pid_t): Likewise.
35146 [POSIX] (sys/stat.h): Do not allow header.
35147 [POSIX] (unistd.h): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35149 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35151 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35152 require.
35153 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35154 sigevent): Specify elements.
35155 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35156 entry.
35157 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35158 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35159
a483863f
JM
35160 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35161 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35162 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35163 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35164 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35165 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35166 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35167 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35169 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35170 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35172 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35174 Likewise.
35175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35176 Likewise.
35177 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35178 Likewise.
35179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35180 Likewise.
35181 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35182 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35183 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35184 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35185 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35186 Specify lower bound on value.
35187 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35193 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35194 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35195 value.
35196 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35197 as optional.
35198 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35211 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35214 entry.
35215 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35216 optional.
35217 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35223 Likewise.
35224 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35229 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35231 as optional.
35232 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35236 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35237 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35238 specify as optional.
35239 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35242 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35243 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35244 [XPG3] (NL_LANGMAX): Likewise.
35245 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35246 [POSIX || XPG3] (NL_NMAX): Likewise.
35247 [POSIX || XPG3] (NL_SETMAX): Likewise.
35248 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35249 [XPG3] (NZERO): Likewise.
35250 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35251 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35252 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35253 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35254 (REG_ERANGE): Expect.
35255 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35256 optional-constant.
35257 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35258 Use (void) in prototype.
35259 [POSIX] (*_t): Allow.
35260 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35261 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35262 (WRDE_BADVAL): Expect.
35263
5ba924e3
JM
35264 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35265 expect.
35266 [XPG3 || XPG4] (O_RSYNC): Likewise.
35267 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35268 Likewise.
35269 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35270 [XPG3 || XPG4] (sigqueue): Likewise.
35271 [XPG3 || XPG4] (sigtimedwait): Likewise.
35272 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35273 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35274 [XPG3 || XPG4] (vsnprintf): Likewise.
35275 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35276 Likewise.
35277 [XPG3 || XPG4] (blksize_t): Likewise.
35278 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35279 Likewise.
35280 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35281 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35282 [XPG3 || XPG4] (struct itimerspec): Likewise.
35283 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35284 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35285 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35286 [XPG3 || XPG4] (clockid_t): Likewise.
35287 [XPG3 || XPG4] (timer_t): Likewise.
35288 [XPG3 || XPG4] (clock_getres): Likewise.
35289 [XPG3 || XPG4] (clock_gettime): Likewise.
35290 [XPG3 || XPG4] (clock_settime): Likewise.
35291 [XPG3 || XPG4] (nanosleep): Likewise.
35292 [XPG3 || XPG4] (timer_create): Likewise.
35293 [XPG3 || XPG4] (timer_delete): Likewise.
35294 [XPG3 || XPG4] (timer_gettime): Likewise.
35295 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35296 [XPG3 || XPG4] (timer_settime): Likewise.
35297 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35298 [XPG3 || XPG4] (getlogin_r): Likewise.
35299 [XPG3 || XPG4] (pread): Likewise.
35300 [XPG3 || XPG4] (pthread_atfork): Likewise.
35301 [XPG3 || XPG4] (pwrite): Likewise.
35302
ee663277
JM
35303 [BZ #14835]
35304 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35305 <bits/siginfo.h>.
35306
942caa16
PT
353072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35308
e19af380
PT
35309 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35310 finalizing MALLSTREAM.
35311
942caa16
PT
35312 * sysdeps/mach/hurd/syncfs.c: New file.
35313
cfde9b46
SP
353142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35315
35316 [BZ #14719]
35317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35318 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35319 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35320 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35321 (_nss_dns_gethostbyname4_r): Likewise.
35322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35323 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35324
f6da27e5
PH
353252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35326
35327 [BZ #13763]
35328 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35329
6665d4a2
SM
353302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35331
1f51ee92
SM
35332 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35333 * elf/cache.c (print_entry): Print ",AArch64" for
35334 FLAG_AARCH64_LIB64
35335
6665d4a2
SM
35336 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35337 * elf/cache.c (print_entry): Print ",hard-float" for
35338 FLAG_ARM_LIBHF.
35339
05b227bd
DM
353402012-11-18 David S. Miller <davem@davemloft.net>
35341
35342 With help from Joseph Myers.
35343 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35344 cutoff to 2**-13.
35345 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35346 cutoff to 2**-25.
35347 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35348 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35349 small.
35350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35351 * math/libm-test.inc (y0_test): New tests.
35352 (y1_test): New tests.
35353 * sysdeps/i386/fpu/libm-test-ulps: Update.
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35356
786b0b67
AS
353572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35358
35359 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35360 64-bit targets.
35361 * configure: Regenerated.
35362
8e18b86d
DM
353632012-11-17 David S. Miller <davem@davemloft.net>
35364
35365 [BZ #14811]
35366 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35367 nonzero exponents with absolute value below 0x1p-128 to +/-
35368 0x1p-128.
35369
531f1ae0
JM
353702012-11-17 Joseph Myers <joseph@codesourcery.com>
35371
12df29e2
JM
35372 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35373
150dc1a0
JM
35374 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35375
531f1ae0
JM
35376 * posix/getconf-speclist.c: New file.
35377 * posix/posix-envs.def: Likewise.
35378 * posix/confstr.c (START_ENV_GROUP): New macro.
35379 (END_ENV_GROUP): Likewise.
35380 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35381 (KNOWN_PRESENT_ENV_STRING): Likewise.
35382 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35383 (UNKNOWN_ENVIRONMENT): Likewise.
35384 (confstr): Include posix-envs.def instead of handling
35385 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35386 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35387 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35388 (END_ENV_GROUP): Likewise.
35389 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35390 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35391 (UNKNOWN_ENVIRONMENT): Likewise.
35392 (__sysconf): Include posix-envs.def instead of handling associated
35393 cases directly here.
35394 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35395 preprocessing getconf-speclist.c rather than running getconf or
35396 generating empty file.
35397
a93f9cbc
PT
353982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35399
35400 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35401
d64d9f87
AL
354022012-11-16 Andrej Lajovic <natrij@gmail.com>
35403
35404 [BZ #14672]
35405 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35406
447885eb
DM
354072012-11-16 David S. Miller <davem@davemloft.net>
35408
35409 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35410 smaller than LDBL_EPSILON/2.0L, just return xm1.
35411
bcbf9830
L
354122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35413
35414 * elf/tst-array1.c (init): Set constructor priority to 1000.
35415 (fini): Set destructor priority to 1000.
35416 * elf/tst-array2dep.c: Likewise.
35417
2b766585
SP
354182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35419
35420 [BZ #11741]
35421 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35422 (_IO_new_file_xsputn): Also return EOF if none of the input
35423 data was written when overflow failed.
35424 * libio/iopadn.c (_IO_padn): Likewise.
35425 * libio/iowpadn.c (_IO_wpadn): Likewise.
35426 * stdio-common/tst-put-error.c: Add copyright notice.
35427 (do_test): Add case for printing padded string.
35428 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35429 _IO_padn returned error.
35430 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35431 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35432 return EOF.
35433
b1848fde
SP
354342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35435
35436 * libio/libioP.h: Add comment note that the references to C++
35437 bits are now obsolete.
35438
2fd89785
MS
354392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35440
35441 * math/libm-test.inc (check_complex): Use asprintf.
35442
e3ea5409
JM
354432012-11-14 Joseph Myers <joseph@codesourcery.com>
35444
35445 * debug/pcprofiledump.c (print_version): Update copyright year.
35446 * malloc/memusagestat.c (print_version): Likewise.
35447
2e64d265
L
354482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35449
35450 [BZ #14831]
35451 * elf/Makefile (tests): Add tst-audit8.
35452 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35453 ($(objpfx)tst-audit8.out): New target.
35454 (tst-audit8-ENV): New variable.
35455 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35456 audit if l_reloc_result is NULL.
35457 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35458 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35459 * elf/tst-audit8.c: New file.
35460
c485e4d2
MS
354612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35462
35463 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35464 * misc/Makefile (CFLAGS-select.c): Define.
35465 * posix/Makefile (CFLAGS-pause.c): Define.
35466
3a0d900a
DM
354672012-11-13 David S. Miller <davem@davemloft.net>
35468
35469 * crypt/Makefile: Move test targets after toplevel Rules
35470 inclusion. Grab any necessary sysdep routines when linking.
35471 * crypt/md5.c (md5_process_block): Remove define, we will always
35472 name it __md5_process_block.
35473 (md5_finish_ctx): Update md5_process_block call.
35474 (md5_stream): Likewise.
35475 (md5_process_bytes): Likewise.
35476 (md5_process_block): Rename to __md5_process_block and move to ...
35477 * crypt/md5-block.c: ... here.
35478 * crypt/sha256.c (sha256_process_block): Move to ...
35479 * crypt/sha256-block.c: ... here.
35480 * crypt/sha512.c (sha512_process_block): Move to ...
35481 * crypt/sha512-block.c: ... here.
35482 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35483 path.
35484 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35485 * sysdeps/sparc/sparc64/multiarch/Makefile
35486 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35487 crypt subdir.
35488 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35489 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35490 multiarch changes.
35491 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35492 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35493 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35494 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35495 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35496 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35497 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35498 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35500 file.
35501 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35503 file.
35504 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35505
8ca89318
JM
355062012-11-13 Joseph Myers <joseph@codesourcery.com>
35507
e27d476a
JM
35508 * timezone/tzselect.ksh: Update from tzcode git revision
35509 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35510 * timezone/zdump.c: Likewise.
35511 * timezone/zic.c: Likewise.
35512 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35513 in TZVERSION setting, not $(PKGVERSION).
35514 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35515 REPORT_BUGS_TO settings.
35516
8ca89318
JM
35517 [BZ #14838]
35518 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35519 macro.
35520
47594329
MS
355212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35522
35523 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35524 detection to immediately after _FP_ROUND().
35525 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35526 bits are 0.
35527
640ac3f1
DM
355282012-11-11 David S. Miller <davem@davemloft.net>
35529
35530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35531 inttypes.h
35532 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35533 __close rather than their public counterparts.
35534
3d2577bb
JM
355352012-11-10 Joseph Myers <joseph@codesourcery.com>
35536
35537 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35538 file.
35539 [UNIX98] (sem_timedwait): Do not expect.
35540 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35541 [XPG4 || UNIX98] (sockatmark): Do not expect.
35542 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35543 (clock_getcpuclockid): Do not expect.
35544 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35545 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35546 Do not expect.
35547 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35548 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35549 [UNIX98] (vwscanf): Likewise.
35550 [UNIX98] (vswscanf): Likewise.
35551
fb1ae1ee
JM
355522012-11-09 Joseph Myers <joseph@codesourcery.com>
35553
9ec6f8bd
JM
35554 * timezone/version.h: Remove file.
35555 * timezone/README: Do not refer to version.h.
35556 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35557 $(objpfx)version.h.
35558 ($(objpfx)zdump.o): Likewise.
c3f81911 35559 ($(objpfx)version.h): New target.
9ec6f8bd 35560
0aa8f8a1
JM
35561 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35562 2012i.
35563 * timezone/README: Don't mention modification to tzselect.ksh.
35564 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35565 work on unmodified tzselect.ksh. Substitute version numbers in
35566 tzselect.ksh.
35567
4e87147f
JM
35568 * Makefile (format-me): Remove.
35569 (INSTALL): Adjust indentation. Use commands directly instead of
35570 using $(format-me).
35571
8b748aed
JM
35572 * aclocal.m4 (ACX_PKGVERSION): New macro.
35573 (ACX_BUGURL): Likewise.
35574 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35575 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35576 (REPORT_BUGS_TO): Likewise.
35577 * configure: Regenerated.
35578 * config.h.in (PKGVERSION): New macro.
35579 (REPORT_BUGS_TO): Likewise.
35580 * config.make.in (PKGVERSION): New variable.
35581 (PKGVERSION_TEXI): Likewise.
35582 (REPORT_BUGS_TO): Likewise.
35583 (REPORT_BUGS_TEXI): Likewise.
35584 * Makefile (format-me): Use -I$(common-objpfx)manual.
35585 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35586 ($(common-objpfx)manual/%): New target.
35587 (manual/%): Remove target.
35588 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35589 (print_version): Use PKGVERSION.
35590 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35591 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35592 and REPORT_BUGS_TO.
35593 ($(objpfx)xtrace): Likewise.
35594 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35595 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35596 (print_version): Use PKGVERSION.
35597 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35598 (do_version): Use PKGVERSION.
35599 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35600 REPORT_BUGS_TO.
35601 (common-ldd-rewrite): Likewise.
35602 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35603 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35604 (print_version): Use PKGVERSION.
35605 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35606 * elf/pldd.c (argp_program_bug_address): Remove variable.
35607 (more_help): New function.
35608 (argp): Use more_help.
35609 (print_version): Use PKGVERSION.
35610 * elf/sln.c (main): Use PKGVERSION.
35611 (usage): Use REPORT_BUGS_TO.
35612 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35613 (top level): Use PKGVERSION.
35614 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35615 (print_version): Use PKGVERSION.
35616 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35617 (print_version): Use PKGVERSION.
35618 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35619 (print_version): Use PKGVERSION.
35620 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35621 (print_version): Use PKGVERSION.
35622 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35623 (print_version): Use PKGVERSION.
35624 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35625 (print_version): Use PKGVERSION.
35626 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35627 and BUGURL.
35628 ($(objpfx)memusage): Likewise.
35629 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35630 (do_version): Use PKGVERSION.
35631 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35632 (print_version): Use PKGVERSION.
35633 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35634 ($PKGVERSION): New variable.
35635 ($REPORT_BUGS_TO): Likewise.
35636 (usage): Use $REPORT_BUGS_TO.
35637 (top level): Use $PKGVERSION.
35638 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35639 ($(objpfx)pkgvers.texi): New rule.
35640 ($(objpfx)stamp-pkgvers): Likewise.
35641 * manual/install.texi: Include pkgvers.texi.
35642 (--with-pkgversion): Document new configure option.
35643 (--with-bugurl): Likewise.
35644 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35645 than necessarily for this particular distribution. Use
35646 REPORT_BUGS_TO for where to report bugs.
35647 * INSTALL: Regenerated.
35648 * manual/libc.texinfo: Include pkgvers.texi.
35649 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35650 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35651 (print_version): Use PKGVERSION.
35652 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35653 (print_version): Use PKGVERSION.
35654 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35655 (print_version): Use PKGVERSION.
35656 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35657 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35658 macro.
35659 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35660 (print_version): Use PKGVERSION.
35661 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35662 (print_version): Use PKGVERSION.
35663 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35664 and PKGVERSION.
35665
92e4b6a9
JM
35666 * timezone/checktab.awk: Update from tzcode 2012i.
35667 * timezone/ialloc.c: Likewise.
35668 * timezone/private.h: Likewise.
35669 * timezone/scheck.c: Likewise.
35670 * timezone/tzfile.h: Likewise.
35671 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35672 (TZVERSION): Hardcode tzcode version number.
35673 * timezone/zdump.c: Update from tzcode 2012i.
35674 * timezone/zic.c: Likewise.
35675 * timezone/version.h: New file.
35676 * timezone/README: Describe version.h. Update upstream location.
35677
9bde902c
JM
35678 [BZ #14824]
35679 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35680 (mktemp): Enable declaration.
35681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35685 Likewise.
35686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35687 Likewise.
35688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35689 Likewise.
35690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35691 Likewise.
35692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35693 Likewise.
35694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35695 Likewise.
35696
fb1ae1ee
JM
35697 [BZ #14821]
35698 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35699 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35700 for copies of such integer values.
35701 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35702 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35703
2c1adbcb
AJ
357042012-11-09 Andreas Jaeger <aj@suse.de>
35705
35706 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35707 definitions and declarations that are provided by
35708 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35709
d0f8457e
AK
357102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35711
3a235abb 35712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35713 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35714 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35715 definition.
35716
57241e26
MS
357172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35718
35719 * elf/elf.h: Update comment before AArch64 relocations.
35720
60e8270d
DM
357212012-11-07 David S. Miller <davem@davemloft.net>
35722
35723 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35724 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35725 (__start_context): Declare.
35726 (__makecontext_ret): Delete.
35727 (__makecontext): Hook up __start_context instead of
35728 __makecontext_ret.
35729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35730 (sysdep_routines): Add __start_context when in stdlib.
35731
0fbb0fbc
JM
357322012-11-07 Joseph Myers <joseph@codesourcery.com>
35733
35734 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35735 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35736 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35737 hardcoded "nm".
35738 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35739 (READELF): New variable. Use it instead of hardcoded "readelf".
35740
eb48db7e
L
357412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35742
35743 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35744 * sysdeps/x86/Makefile: Here.
35745 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35746 * sysdeps/x86/tst-xmmymm.sh: This.
35747
05bcf62a
JM
357482012-11-07 Joseph Myers <joseph@codesourcery.com>
35749
c4b6cf53
JM
35750 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35751 expectations.
35752 [UNIX98] (pthread_barrier_t): Do not expect.
35753 [UNIX98] (pthread_barrierattr_t): Likewise.
35754 [UNIX98] (pthread_spinlock_t): Likewise.
35755 [UNIX98] (pthread_barrier_destroy): Likewise.
35756 [UNIX98] (pthread_barrier_init): Likewise.
35757 [UNIX98] (pthread_barrier_wait): Likewise.
35758 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35759 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35760 [UNIX98] (pthread_barrierattr_init): Likewise.
35761 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35762 [UNIX98] (pthread_getcpuclockid): Likewise.
35763 [UNIX98] (pthread_mutex_timedlock): Likewise.
35764 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35765 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35766 [UNIX98] (pthread_sigmask): Likewise.
35767 [UNIX98] (pthread_spin_destroy): Likewise.
35768 [UNIX98] (pthread_spin_init): Likewise.
35769 [UNIX98] (pthread_spin_lock): Likewise.
35770 [UNIX98] (pthread_spin_trylock): Likewise.
35771 [UNIX98] (pthread_spin_unlock): Likewise.
35772 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35773 Do not expect.
35774 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35776 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35777 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35778 [XPG3 || XPG4] (pthread_key_t): Likewise.
35779 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35780 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35781 [XPG3 || XPG4] (pthread_once_t): Likewise.
35782 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35783 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35785 [XPG3 || XPG4] (pthread_t): Likewise.
35786
cbe6e120
JM
35787 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35788 not expect.
35789 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35790
1b126443
JM
35791 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35792 Change function return type to int.
35793
b961a573
JM
35794 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35795 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35796 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35797 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35798 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35799 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35800 [!POSIX] (posix_madvise): Likewise.
35801 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35802 && !UNIX98].
35803 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35804 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35805 (mode_t): Likewise.
35806 (posix_mem_offset): Likewise.
35807 (posix_typed_mem_get_info): Likewise.
35808 (posix_typed_mem_open): Likewise.
35809
9e188909
JM
35810 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35811 Change condition to [XOPEN2K8].
35812
05bcf62a
JM
35813 * conform/conformtest.pl: Preprocess allow-header data with -x c
35814 instead of from stdin.
35815 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35816 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35817 [C99-based standards] (cerfc): Likewise.
35818 [C99-based standards] (cexp2): Likewise.
35819 [C99-based standards] (cexpm1): Likewise.
35820 [C99-based standards] (clog10): Likewise.
35821 [C99-based standards] (clog1p): Likewise.
35822 [C99-based standards] (clog2): Likewise.
35823 [C99-based standards] (clgamma): Likewise.
35824 [C99-based standards] (ctgamma): Likewise.
35825 [C99-based standards] (cerff): Likewise.
35826 [C99-based standards] (cerfcf): Likewise.
35827 [C99-based standards] (cexp2f): Likewise.
35828 [C99-based standards] (cexpm1f): Likewise.
35829 [C99-based standards] (clog10f): Likewise.
35830 [C99-based standards] (clog1pf): Likewise.
35831 [C99-based standards] (clog2f): Likewise.
35832 [C99-based standards] (clgammaf): Likewise.
35833 [C99-based standards] (ctgammaf): Likewise.
35834 [C99-based standards] (cerfl): Likewise.
35835 [C99-based standards] (cerfcl): Likewise.
35836 [C99-based standards] (cexp2l): Likewise.
35837 [C99-based standards] (cexpm1l): Likewise.
35838 [C99-based standards] (clog10l): Likewise.
35839 [C99-based standards] (clog1pl): Likewise.
35840 [C99-based standards] (clog2l): Likewise.
35841 [C99-based standards] (clgammal): Likewise.
35842 [C99-based standards] (ctgammal): Likewise.
35843 * conform/data/inttypes.h-data [C99-based standards]: Include
35844 stdint.h-data. Remove all expectations for stdint.h contents.
35845 [C99-based standards] (PRI*): Do not allow.
35846 [C99-based standards] (SCN*): Likewise.
35847 [C99-based standards] (*_t): Likewise.
35848 [C99-based-standards] (PRId8): Expect macro.
35849 [C99-based-standards] (PRIi8): Likewise.
35850 [C99-based-standards] (PRIo8): Likewise.
35851 [C99-based-standards] (PRIu8): Likewise.
35852 [C99-based-standards] (PRIx8): Likewise.
35853 [C99-based-standards] (PRIX8): Likewise.
35854 [C99-based-standards] (SCNd8): Likewise.
35855 [C99-based-standards] (SCNi8): Likewise.
35856 [C99-based-standards] (SCNo8): Likewise.
35857 [C99-based-standards] (SCNu8): Likewise.
35858 [C99-based-standards] (SCNx8): Likewise.
35859 [C99-based-standards] (PRIdLEAST8): Likewise.
35860 [C99-based-standards] (PRIiLEAST8): Likewise.
35861 [C99-based-standards] (PRIoLEAST8): Likewise.
35862 [C99-based-standards] (PRIuLEAST8): Likewise.
35863 [C99-based-standards] (PRIxLEAST8): Likewise.
35864 [C99-based-standards] (PRIXLEAST8): Likewise.
35865 [C99-based-standards] (SCNdLEAST8): Likewise.
35866 [C99-based-standards] (SCNiLEAST8): Likewise.
35867 [C99-based-standards] (SCNoLEAST8): Likewise.
35868 [C99-based-standards] (SCNuLEAST8): Likewise.
35869 [C99-based-standards] (SCNxLEAST8): Likewise.
35870 [C99-based-standards] (PRIdFAST8): Likewise.
35871 [C99-based-standards] (PRIiFAST8): Likewise.
35872 [C99-based-standards] (PRIoFAST8): Likewise.
35873 [C99-based-standards] (PRIuFAST8): Likewise.
35874 [C99-based-standards] (PRIxFAST8): Likewise.
35875 [C99-based-standards] (PRIXFAST8): Likewise.
35876 [C99-based-standards] (SCNdFAST8): Likewise.
35877 [C99-based-standards] (SCNiFAST8): Likewise.
35878 [C99-based-standards] (SCNoFAST8): Likewise.
35879 [C99-based-standards] (SCNuFAST8): Likewise.
35880 [C99-based-standards] (SCNxFAST8): Likewise.
35881 [C99-based-standards] (PRId16): Likewise.
35882 [C99-based-standards] (PRIi16): Likewise.
35883 [C99-based-standards] (PRIo16): Likewise.
35884 [C99-based-standards] (PRIu16): Likewise.
35885 [C99-based-standards] (PRIx16): Likewise.
35886 [C99-based-standards] (PRIX16): Likewise.
35887 [C99-based-standards] (SCNd16): Likewise.
35888 [C99-based-standards] (SCNi16): Likewise.
35889 [C99-based-standards] (SCNo16): Likewise.
35890 [C99-based-standards] (SCNu16): Likewise.
35891 [C99-based-standards] (SCNx16): Likewise.
35892 [C99-based-standards] (PRIdLEAST16): Likewise.
35893 [C99-based-standards] (PRIiLEAST16): Likewise.
35894 [C99-based-standards] (PRIoLEAST16): Likewise.
35895 [C99-based-standards] (PRIuLEAST16): Likewise.
35896 [C99-based-standards] (PRIxLEAST16): Likewise.
35897 [C99-based-standards] (PRIXLEAST16): Likewise.
35898 [C99-based-standards] (SCNdLEAST16): Likewise.
35899 [C99-based-standards] (SCNiLEAST16): Likewise.
35900 [C99-based-standards] (SCNoLEAST16): Likewise.
35901 [C99-based-standards] (SCNuLEAST16): Likewise.
35902 [C99-based-standards] (SCNxLEAST16): Likewise.
35903 [C99-based-standards] (PRIdFAST16): Likewise.
35904 [C99-based-standards] (PRIiFAST16): Likewise.
35905 [C99-based-standards] (PRIoFAST16): Likewise.
35906 [C99-based-standards] (PRIuFAST16): Likewise.
35907 [C99-based-standards] (PRIxFAST16): Likewise.
35908 [C99-based-standards] (PRIXFAST16): Likewise.
35909 [C99-based-standards] (SCNdFAST16): Likewise.
35910 [C99-based-standards] (SCNiFAST16): Likewise.
35911 [C99-based-standards] (SCNoFAST16): Likewise.
35912 [C99-based-standards] (SCNuFAST16): Likewise.
35913 [C99-based-standards] (SCNxFAST16): Likewise.
35914 [C99-based-standards] (PRId32): Likewise.
35915 [C99-based-standards] (PRIi32): Likewise.
35916 [C99-based-standards] (PRIo32): Likewise.
35917 [C99-based-standards] (PRIu32): Likewise.
35918 [C99-based-standards] (PRIx32): Likewise.
35919 [C99-based-standards] (PRIX32): Likewise.
35920 [C99-based-standards] (SCNd32): Likewise.
35921 [C99-based-standards] (SCNi32): Likewise.
35922 [C99-based-standards] (SCNo32): Likewise.
35923 [C99-based-standards] (SCNu32): Likewise.
35924 [C99-based-standards] (SCNx32): Likewise.
35925 [C99-based-standards] (PRIdLEAST32): Likewise.
35926 [C99-based-standards] (PRIiLEAST32): Likewise.
35927 [C99-based-standards] (PRIoLEAST32): Likewise.
35928 [C99-based-standards] (PRIuLEAST32): Likewise.
35929 [C99-based-standards] (PRIxLEAST32): Likewise.
35930 [C99-based-standards] (PRIXLEAST32): Likewise.
35931 [C99-based-standards] (SCNdLEAST32): Likewise.
35932 [C99-based-standards] (SCNiLEAST32): Likewise.
35933 [C99-based-standards] (SCNoLEAST32): Likewise.
35934 [C99-based-standards] (SCNuLEAST32): Likewise.
35935 [C99-based-standards] (SCNxLEAST32): Likewise.
35936 [C99-based-standards] (PRIdFAST32): Likewise.
35937 [C99-based-standards] (PRIiFAST32): Likewise.
35938 [C99-based-standards] (PRIoFAST32): Likewise.
35939 [C99-based-standards] (PRIuFAST32): Likewise.
35940 [C99-based-standards] (PRIxFAST32): Likewise.
35941 [C99-based-standards] (PRIXFAST32): Likewise.
35942 [C99-based-standards] (SCNdFAST32): Likewise.
35943 [C99-based-standards] (SCNiFAST32): Likewise.
35944 [C99-based-standards] (SCNoFAST32): Likewise.
35945 [C99-based-standards] (SCNuFAST32): Likewise.
35946 [C99-based-standards] (SCNxFAST32): Likewise.
35947 [C99-based-standards] (PRId64): Likewise.
35948 [C99-based-standards] (PRIi64): Likewise.
35949 [C99-based-standards] (PRIo64): Likewise.
35950 [C99-based-standards] (PRIu64): Likewise.
35951 [C99-based-standards] (PRIx64): Likewise.
35952 [C99-based-standards] (PRIX64): Likewise.
35953 [C99-based-standards] (SCNd64): Likewise.
35954 [C99-based-standards] (SCNi64): Likewise.
35955 [C99-based-standards] (SCNo64): Likewise.
35956 [C99-based-standards] (SCNu64): Likewise.
35957 [C99-based-standards] (SCNx64): Likewise.
35958 [C99-based-standards] (PRIdLEAST64): Likewise.
35959 [C99-based-standards] (PRIiLEAST64): Likewise.
35960 [C99-based-standards] (PRIoLEAST64): Likewise.
35961 [C99-based-standards] (PRIuLEAST64): Likewise.
35962 [C99-based-standards] (PRIxLEAST64): Likewise.
35963 [C99-based-standards] (PRIXLEAST64): Likewise.
35964 [C99-based-standards] (SCNdLEAST64): Likewise.
35965 [C99-based-standards] (SCNiLEAST64): Likewise.
35966 [C99-based-standards] (SCNoLEAST64): Likewise.
35967 [C99-based-standards] (SCNuLEAST64): Likewise.
35968 [C99-based-standards] (SCNxLEAST64): Likewise.
35969 [C99-based-standards] (PRIdFAST64): Likewise.
35970 [C99-based-standards] (PRIiFAST64): Likewise.
35971 [C99-based-standards] (PRIoFAST64): Likewise.
35972 [C99-based-standards] (PRIuFAST64): Likewise.
35973 [C99-based-standards] (PRIxFAST64): Likewise.
35974 [C99-based-standards] (PRIXFAST64): Likewise.
35975 [C99-based-standards] (SCNdFAST64): Likewise.
35976 [C99-based-standards] (SCNiFAST64): Likewise.
35977 [C99-based-standards] (SCNoFAST64): Likewise.
35978 [C99-based-standards] (SCNuFAST64): Likewise.
35979 [C99-based-standards] (SCNxFAST64): Likewise.
35980 [C99-based-standards] (PRIdMAX): Likewise.
35981 [C99-based-standards] (PRIiMAX): Likewise.
35982 [C99-based-standards] (PRIoMAX): Likewise.
35983 [C99-based-standards] (PRIuMAX): Likewise.
35984 [C99-based-standards] (PRIxMAX): Likewise.
35985 [C99-based-standards] (PRIXMAX): Likewise.
35986 [C99-based-standards] (SCNdMAX): Likewise.
35987 [C99-based-standards] (SCNiMAX): Likewise.
35988 [C99-based-standards] (SCNoMAX): Likewise.
35989 [C99-based-standards] (SCNuMAX): Likewise.
35990 [C99-based-standards] (SCNxMAX): Likewise.
35991 [C99-based-standards] (PRIdPTR): Likewise.
35992 [C99-based-standards] (PRIiPTR): Likewise.
35993 [C99-based-standards] (PRIoPTR): Likewise.
35994 [C99-based-standards] (PRIuPTR): Likewise.
35995 [C99-based-standards] (PRIxPTR): Likewise.
35996 [C99-based-standards] (PRIXPTR): Likewise.
35997 [C99-based-standards] (SCNdPTR): Likewise.
35998 [C99-based-standards] (SCNiPTR): Likewise.
35999 [C99-based-standards] (SCNoPTR): Likewise.
36000 [C99-based-standards] (SCNuPTR): Likewise.
36001 [C99-based-standards] (SCNxPTR): Likewise.
36002 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36003 allow.
36004 * conform/data/stdint.h-data: Update comments to clarify
36005 requirements.
36006 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36007 type.
36008 [C99-based standards] (INT8_MAX): Likewise.
36009 [C99-based standards] (INT16_MIN): Likewise.
36010 [C99-based standards] (INT16_MAX): Likewise.
36011 [C99-based standards] (INT32_MIN): Likewise.
36012 [C99-based standards] (INT32_MAX): Likewise.
36013 [C99-based standards] (INT64_MIN): Likewise.
36014 [C99-based standards] (INT64_MAX): Likewise.
36015 [C99-based standards] (UINT8_MAX): Likewise.
36016 [C99-based standards] (UINT16_MAX): Likewise.
36017 [C99-based standards] (UINT32_MAX): Likewise.
36018 [C99-based standards] (UINT64_MAX): Likewise.
36019 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36020 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36021 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36022 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36023 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36024 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36025 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36026 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36027 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36028 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36029 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36030 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36031 [C99-based standards] (INT_FAST8_MIN): Likewise.
36032 [C99-based standards] (INT_FAST8_MAX): Likewise.
36033 [C99-based standards] (INT_FAST16_MIN): Likewise.
36034 [C99-based standards] (INT_FAST16_MAX): Likewise.
36035 [C99-based standards] (INT_FAST32_MIN): Likewise.
36036 [C99-based standards] (INT_FAST32_MAX): Likewise.
36037 [C99-based standards] (INT_FAST64_MIN): Likewise.
36038 [C99-based standards] (INT_FAST64_MAX): Likewise.
36039 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36040 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36041 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36042 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36043 [C99-based standards] (INTPTR_MIN): Likewise.
36044 [C99-based standards] (INTPTR_MAX): Likewise.
36045 [C99-based standards] (UINTPTR_MAX): Likewise.
36046 [C99-based standards] (INTMAX_MIN): Likewise.
36047 [C99-based standards] (INTMAX_MAX): Likewise.
36048 [C99-based standards] (UINTMAX_MAX): Likewise.
36049 [C99-based standards] (PTRDIFF_MIN): Likewise.
36050 [C99-based standards] (PTRDIFF_MAX): Likewise.
36051 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36052 [C99-based standards] (SIZE_MAX): Likewise.
36053 [C99-based standards] (WCHAR_MAX): Likewise.
36054 [C99-based standards] (WINT_MAX): Likewise.
36055 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36056 constraint on value.
36057 [C99-based standards] (WCHAR_MIN): Likewise.
36058 [C99-based standards] (WINT_MIN): Likewise.
36059 [C99-based standards] (*_t): Allow.
36060 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36061 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36062 Include math.h-data and complex.h-data. Remove all expectations
36063 of math.h and complex.h contents.
36064 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36065 at end of line.
36066 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36067 (struct tm): Expect tag.
36068 [C99-based-standards] (wcstof): Expect function.
36069 [C99-based-standards] (wcstold): Likewise.
36070 [C99-based-standards] (wcstoll): Likewise.
36071 [C99-based-standards] (wcstoull): Likewise.
36072 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36073 macro-int-constant. Specify type.
36074 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36075 constraint on value.
36076 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36077 Specify type.
36078 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36079 Specify value.
36080 [ISO C standards]: Do not allow headers.
36081 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36082 wcs[abcdefghijklmnopqrstuvwxyz]*.
36083 [ISO C standards] (*_t): Do not allow.
36084 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36085 Expect function.
36086 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36087 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36088 Specify type.
36089 [ISO C standards]: Do not allow headers.
36090 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36091 is[abcdefghijklmnopqrstuvwxyz]*.
36092 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36093 to[abcdefghijklmnopqrstuvwxyz]*.
36094 [ISO C standards] (*_t): Do not allow.
36095 * conform/data/stdalign.h-data: New file.
36096 * conform/data/stdbool.h-data: Likewise.
36097 * conform/data/stdnoreturn.h-data: Likewise.
36098
7514feb8
RM
360992012-11-07 Roland McGrath <roland@hack.frob.com>
36100
36101 [BZ #14815]
36102 * manual/filesys.texi (Directory Entries): Typo fix.
36103 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36104
19b2ecfc
MS
361052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36106
36107 * elf/elf.h (EM_AARCH64): New macro.
36108 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36109 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36110 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36111 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36112 (R_AARCH64_TLSDESC): Likewise.
36113 (NT_ARM_TLS): Likewise.
36114 (NT_ARM_HW_BREAK): Likewise.
36115 (NT_ARM_HW_WATCH): Likewise.
36116
60e235ee
JM
361172012-11-07 Joseph Myers <joseph@codesourcery.com>
36118
36119 [BZ #14811]
36120 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36121 (__ieee754_powl): Saturate nonzero exponents with absolute value
36122 below 0x1p-79 to +/- 0x1p-79.
36123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36124 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36125 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36126 nonzero exponents with absolute value below 0x1p-32 to +/-
36127 0x1p-32.
36128 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36129 (__ieee754_powl): Saturate nonzero exponents with absolute value
36130 below 0x1p-79 to +/- 0x1p-79.
36131 * math/libm-test.inc (pow_test): Add more tests.
36132
0ab234b7
AK
361332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36134
36135 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36136 _dl_s390_cap_flags with kernel. Increase string length.
36137 (_dl_s390_platforms): Add z196 and zEC12.
36138
45832f74
JM
361392012-11-07 Joseph Myers <joseph@codesourcery.com>
36140
36141 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36142 Change XOPEN21K to XOPEN2K.
36143
19218757
MK
361442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36145
36146 * string/memmove.c: Use memcpy when possible.
36147
c5f45721
AJ
361482012-11-06 Andreas Jaeger <aj@suse.de>
36149
36150 * po/eo.po: Update from translation team.
36151
82477c28
JM
361522012-11-06 Joseph Myers <joseph@codesourcery.com>
36153
36154 [BZ #14793]
36155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36156 exponent and small x and y exponents, scale x or y up. Increase
36157 by 2 the exponent used in scaling up.
36158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36160 * math/libm-test.inc (fma_test): Add more tests.
36161 (fma_test_towardzero): Likewise.
36162 (fma_test_downward): Likewise.
36163 (fma_test_upward): Likewise.
36164
99252c8c
JM
361652012-11-05 Joseph Myers <joseph@codesourcery.com>
36166
acfa885f
JM
36167 [BZ #14805]
36168 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36169 fenv_t *.
36170
99252c8c
JM
36171 [BZ #14801]
36172 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36173 namespace for names of struct fields.
36174 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36175 fenv_t fields.
36176 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36177 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36178
d6d98dea
ST
361792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36180
36181 [BZ #3665]
36182 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36183
e10bb107
TS
361842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36185
36186 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36187 PTR_DEMANGLE.
36188
36189 [BZ #5246]
36190 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36191 PTR_DEMANGLE.
36192
a0c2940d
JM
361932012-11-04 Joseph Myers <joseph@codesourcery.com>
36194
36195 [BZ #14797]
36196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36197 definitely overflow as x * y not x * y + z.
36198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36200 * math/libm-test.inc (fma_test): Add more tests.
36201 (fma_test_towardzero): Likewise.
36202 (fma_test_downward): Likewise.
36203 (fma_test_upward): Likewise.
36204
b830319d
TS
362052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36206
36207 [BZ #157]
36208
36209 * include/stub-tag.h: Remove file.
36210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36211 '#include' of it.
36212 * manual/maint.texi (Porting): Don't reference it.
36213 * Makerules ($(objpfx)stubs): Likewise.
36214 * dirent/closedir.c: Don't include <stub-tag.h>.
36215 * dirent/dirfd.c: Likewise.
36216 * dirent/fdopendir.c: Likewise.
36217 * dirent/getdents.c: Likewise.
36218 * dirent/getdents64.c: Likewise.
36219 * dirent/opendir.c: Likewise.
36220 * dirent/readdir.c: Likewise.
36221 * dirent/readdir64.c: Likewise.
36222 * dirent/readdir64_r.c: Likewise.
36223 * dirent/readdir_r.c: Likewise.
36224 * dirent/rewinddir.c: Likewise.
36225 * dirent/seekdir.c: Likewise.
36226 * dirent/telldir.c: Likewise.
36227 * gmon/profil.c: Likewise.
36228 * grp/setgroups.c: Likewise.
36229 * inet/if_index.c: Likewise.
36230 * io/access.c: Likewise.
36231 * io/chdir.c: Likewise.
36232 * io/chmod.c: Likewise.
36233 * io/chown.c: Likewise.
36234 * io/close.c: Likewise.
36235 * io/dup.c: Likewise.
36236 * io/dup2.c: Likewise.
36237 * io/dup3.c: Likewise.
36238 * io/euidaccess.c: Likewise.
36239 * io/faccessat.c: Likewise.
36240 * io/fchdir.c: Likewise.
36241 * io/fchmod.c: Likewise.
36242 * io/fchmodat.c: Likewise.
36243 * io/fchown.c: Likewise.
36244 * io/fchownat.c: Likewise.
36245 * io/fcntl.c: Likewise.
36246 * io/flock.c: Likewise.
36247 * io/fstatfs.c: Likewise.
36248 * io/fstatfs64.c: Likewise.
36249 * io/fstatvfs.c: Likewise.
36250 * io/fstatvfs64.c: Likewise.
36251 * io/futimens.c: Likewise.
36252 * io/fxstat.c: Likewise.
36253 * io/fxstat64.c: Likewise.
36254 * io/fxstatat.c: Likewise.
36255 * io/fxstatat64.c: Likewise.
36256 * io/getcwd.c: Likewise.
36257 * io/isatty.c: Likewise.
36258 * io/lchmod.c: Likewise.
36259 * io/lchown.c: Likewise.
36260 * io/link.c: Likewise.
36261 * io/linkat.c: Likewise.
36262 * io/lseek.c: Likewise.
36263 * io/lseek64.c: Likewise.
36264 * io/lxstat64.c: Likewise.
36265 * io/mkdir.c: Likewise.
36266 * io/mkdirat.c: Likewise.
36267 * io/mkfifo.c: Likewise.
36268 * io/mkfifoat.c: Likewise.
36269 * io/open.c: Likewise.
36270 * io/open64.c: Likewise.
36271 * io/openat.c: Likewise.
36272 * io/openat64.c: Likewise.
36273 * io/pipe.c: Likewise.
36274 * io/pipe2.c: Likewise.
36275 * io/poll.c: Likewise.
36276 * io/posix_fadvise.c: Likewise.
36277 * io/posix_fadvise64.c: Likewise.
36278 * io/posix_fallocate.c: Likewise.
36279 * io/posix_fallocate64.c: Likewise.
36280 * io/read.c: Likewise.
36281 * io/readlink.c: Likewise.
36282 * io/readlinkat.c: Likewise.
36283 * io/rmdir.c: Likewise.
36284 * io/sendfile.c: Likewise.
36285 * io/sendfile64.c: Likewise.
36286 * io/statfs.c: Likewise.
36287 * io/statfs64.c: Likewise.
36288 * io/statvfs.c: Likewise.
36289 * io/statvfs64.c: Likewise.
36290 * io/symlink.c: Likewise.
36291 * io/symlinkat.c: Likewise.
36292 * io/ttyname.c: Likewise.
36293 * io/ttyname_r.c: Likewise.
36294 * io/umask.c: Likewise.
36295 * io/unlink.c: Likewise.
36296 * io/unlinkat.c: Likewise.
36297 * io/utime.c: Likewise.
36298 * io/utimensat.c: Likewise.
36299 * io/write.c: Likewise.
36300 * io/xmknod.c: Likewise.
36301 * io/xmknodat.c: Likewise.
36302 * io/xstat.c: Likewise.
36303 * io/xstat64.c: Likewise.
36304 * login/getpt.c: Likewise.
36305 * login/grantpt.c: Likewise.
36306 * login/unlockpt.c: Likewise.
36307 * math/e_acoshl.c: Likewise.
36308 * math/e_acosl.c: Likewise.
36309 * math/e_asinl.c: Likewise.
36310 * math/e_atan2l.c: Likewise.
36311 * math/e_atanhl.c: Likewise.
36312 * math/e_coshl.c: Likewise.
36313 * math/e_expl.c: Likewise.
36314 * math/e_fmodl.c: Likewise.
36315 * math/e_gammal_r.c: Likewise.
36316 * math/e_hypotl.c: Likewise.
36317 * math/e_j0l.c: Likewise.
36318 * math/e_j1l.c: Likewise.
36319 * math/e_jnl.c: Likewise.
36320 * math/e_lgammal_r.c: Likewise.
36321 * math/e_log10l.c: Likewise.
36322 * math/e_log2l.c: Likewise.
36323 * math/e_logl.c: Likewise.
36324 * math/e_powl.c: Likewise.
36325 * math/e_rem_pio2l.c: Likewise.
36326 * math/e_sinhl.c: Likewise.
36327 * math/e_sqrtl.c: Likewise.
36328 * math/fclrexcpt.c: Likewise.
36329 * math/fedisblxcpt.c: Likewise.
36330 * math/feenablxcpt.c: Likewise.
36331 * math/fegetenv.c: Likewise.
36332 * math/fegetexcept.c: Likewise.
36333 * math/fegetround.c: Likewise.
36334 * math/feholdexcpt.c: Likewise.
36335 * math/fesetenv.c: Likewise.
36336 * math/fesetround.c: Likewise.
36337 * math/feupdateenv.c: Likewise.
36338 * math/fgetexcptflg.c: Likewise.
36339 * math/fraiseexcpt.c: Likewise.
36340 * math/fsetexcptflg.c: Likewise.
36341 * math/ftestexcept.c: Likewise.
36342 * math/k_cosl.c: Likewise.
36343 * math/k_rem_pio2l.c: Likewise.
36344 * math/k_sinl.c: Likewise.
36345 * math/k_tanl.c: Likewise.
36346 * math/s_asinhl.c: Likewise.
36347 * math/s_atanl.c: Likewise.
36348 * math/s_cbrtl.c: Likewise.
36349 * math/s_erfl.c: Likewise.
36350 * math/s_expm1l.c: Likewise.
36351 * math/s_log1pl.c: Likewise.
36352 * math/s_tanhl.c: Likewise.
36353 * misc/acct.c: Likewise.
36354 * misc/brk.c: Likewise.
36355 * misc/chflags.c: Likewise.
36356 * misc/chroot.c: Likewise.
36357 * misc/fchflags.c: Likewise.
36358 * misc/fgetxattr.c: Likewise.
36359 * misc/flistxattr.c: Likewise.
36360 * misc/fremovexattr.c: Likewise.
36361 * misc/fsetxattr.c: Likewise.
36362 * misc/fsync.c: Likewise.
36363 * misc/ftruncate.c: Likewise.
36364 * misc/futimes.c: Likewise.
36365 * misc/futimesat.c: Likewise.
36366 * misc/getdomain.c: Likewise.
36367 * misc/getdtsz.c: Likewise.
36368 * misc/gethostid.c: Likewise.
36369 * misc/gethostname.c: Likewise.
36370 * misc/getloadavg.c: Likewise.
36371 * misc/getpagesize.c: Likewise.
36372 * misc/getsysstats.c: Likewise.
36373 * misc/getxattr.c: Likewise.
36374 * misc/gtty.c: Likewise.
36375 * misc/ioctl.c: Likewise.
36376 * misc/lgetxattr.c: Likewise.
36377 * misc/listxattr.c: Likewise.
36378 * misc/llistxattr.c: Likewise.
36379 * misc/lremovexattr.c: Likewise.
36380 * misc/lsetxattr.c: Likewise.
36381 * misc/lutimes.c: Likewise.
36382 * misc/madvise.c: Likewise.
36383 * misc/mincore.c: Likewise.
36384 * misc/mlock.c: Likewise.
36385 * misc/mlockall.c: Likewise.
36386 * misc/mmap.c: Likewise.
36387 * misc/mprotect.c: Likewise.
36388 * misc/msync.c: Likewise.
36389 * misc/munlock.c: Likewise.
36390 * misc/munlockall.c: Likewise.
36391 * misc/munmap.c: Likewise.
36392 * misc/preadv.c: Likewise.
36393 * misc/preadv64.c: Likewise.
36394 * misc/ptrace.c: Likewise.
36395 * misc/pwritev.c: Likewise.
36396 * misc/pwritev64.c: Likewise.
36397 * misc/readv.c: Likewise.
36398 * misc/reboot.c: Likewise.
36399 * misc/remap_file_pages.c: Likewise.
36400 * misc/removexattr.c: Likewise.
36401 * misc/revoke.c: Likewise.
36402 * misc/select.c: Likewise.
36403 * misc/setdomain.c: Likewise.
36404 * misc/setegid.c: Likewise.
36405 * misc/seteuid.c: Likewise.
36406 * misc/sethostid.c: Likewise.
36407 * misc/sethostname.c: Likewise.
36408 * misc/setregid.c: Likewise.
36409 * misc/setreuid.c: Likewise.
36410 * misc/setxattr.c: Likewise.
36411 * misc/sstk.c: Likewise.
36412 * misc/stty.c: Likewise.
36413 * misc/swapoff.c: Likewise.
36414 * misc/swapon.c: Likewise.
36415 * misc/sync.c: Likewise.
36416 * misc/syncfs.c: Likewise.
36417 * misc/syscall.c: Likewise.
36418 * misc/truncate.c: Likewise.
36419 * misc/ualarm.c: Likewise.
36420 * misc/usleep.c: Likewise.
36421 * misc/ustat.c: Likewise.
36422 * misc/utimes.c: Likewise.
36423 * misc/vhangup.c: Likewise.
36424 * misc/writev.c: Likewise.
36425 * posix/_exit.c: Likewise.
36426 * posix/alarm.c: Likewise.
36427 * posix/execve.c: Likewise.
36428 * posix/fexecve.c: Likewise.
36429 * posix/fork.c: Likewise.
36430 * posix/fpathconf.c: Likewise.
36431 * posix/getaddrinfo.c: Likewise.
36432 * posix/getegid.c: Likewise.
36433 * posix/geteuid.c: Likewise.
36434 * posix/getgid.c: Likewise.
36435 * posix/getgroups.c: Likewise.
36436 * posix/getlogin.c: Likewise.
36437 * posix/getlogin_r.c: Likewise.
36438 * posix/getpgid.c: Likewise.
36439 * posix/getpid.c: Likewise.
36440 * posix/getppid.c: Likewise.
36441 * posix/getresgid.c: Likewise.
36442 * posix/getresuid.c: Likewise.
36443 * posix/getsid.c: Likewise.
36444 * posix/getuid.c: Likewise.
36445 * posix/glob64.c: Likewise.
36446 * posix/nanosleep.c: Likewise.
36447 * posix/pathconf.c: Likewise.
36448 * posix/pause.c: Likewise.
36449 * posix/posix_madvise.c: Likewise.
36450 * posix/pread.c: Likewise.
36451 * posix/pread64.c: Likewise.
36452 * posix/pwrite.c: Likewise.
36453 * posix/pwrite64.c: Likewise.
36454 * posix/sched_getaffinity.c: Likewise.
36455 * posix/sched_getp.c: Likewise.
36456 * posix/sched_gets.c: Likewise.
36457 * posix/sched_primax.c: Likewise.
36458 * posix/sched_primin.c: Likewise.
36459 * posix/sched_rr_gi.c: Likewise.
36460 * posix/sched_setaffinity.c: Likewise.
36461 * posix/sched_setp.c: Likewise.
36462 * posix/sched_sets.c: Likewise.
36463 * posix/sched_yield.c: Likewise.
36464 * posix/setgid.c: Likewise.
36465 * posix/setlogin.c: Likewise.
36466 * posix/setpgid.c: Likewise.
36467 * posix/setresgid.c: Likewise.
36468 * posix/setresuid.c: Likewise.
36469 * posix/setsid.c: Likewise.
36470 * posix/setuid.c: Likewise.
36471 * posix/sleep.c: Likewise.
36472 * posix/spawni.c: Likewise.
36473 * posix/sysconf.c: Likewise.
36474 * posix/times.c: Likewise.
36475 * posix/wait.c: Likewise.
36476 * posix/wait3.c: Likewise.
36477 * posix/wait4.c: Likewise.
36478 * posix/waitpid.c: Likewise.
36479 * resolv/gai_sigqueue.c: Likewise.
36480 * resource/getpriority.c: Likewise.
36481 * resource/getrlimit.c: Likewise.
36482 * resource/getrusage.c: Likewise.
36483 * resource/nice.c: Likewise.
36484 * resource/setpriority.c: Likewise.
36485 * resource/setrlimit.c: Likewise.
36486 * resource/ulimit.c: Likewise.
36487 * rt/aio_cancel.c: Likewise.
36488 * rt/aio_fsync.c: Likewise.
36489 * rt/aio_read.c: Likewise.
36490 * rt/aio_sigqueue.c: Likewise.
36491 * rt/aio_suspend.c: Likewise.
36492 * rt/aio_write.c: Likewise.
36493 * rt/clock_getres.c: Likewise.
36494 * rt/clock_gettime.c: Likewise.
36495 * rt/clock_nanosleep.c: Likewise.
36496 * rt/clock_settime.c: Likewise.
36497 * rt/lio_listio.c: Likewise.
36498 * rt/mq_close.c: Likewise.
36499 * rt/mq_getattr.c: Likewise.
36500 * rt/mq_notify.c: Likewise.
36501 * rt/mq_open.c: Likewise.
36502 * rt/mq_receive.c: Likewise.
36503 * rt/mq_send.c: Likewise.
36504 * rt/mq_setattr.c: Likewise.
36505 * rt/mq_timedreceive.c: Likewise.
36506 * rt/mq_timedsend.c: Likewise.
36507 * rt/mq_unlink.c: Likewise.
36508 * rt/shm_open.c: Likewise.
36509 * rt/shm_unlink.c: Likewise.
36510 * rt/timer_create.c: Likewise.
36511 * rt/timer_delete.c: Likewise.
36512 * rt/timer_getoverr.c: Likewise.
36513 * rt/timer_gettime.c: Likewise.
36514 * rt/timer_settime.c: Likewise.
36515 * setjmp/__longjmp.c: Likewise.
36516 * setjmp/setjmp.c: Likewise.
36517 * signal/kill.c: Likewise.
36518 * signal/killpg.c: Likewise.
36519 * signal/raise.c: Likewise.
36520 * signal/sigaction.c: Likewise.
36521 * signal/sigaltstack.c: Likewise.
36522 * signal/sigblock.c: Likewise.
36523 * signal/sigignore.c: Likewise.
36524 * signal/sigintr.c: Likewise.
36525 * signal/signal.c: Likewise.
36526 * signal/sigpause.c: Likewise.
36527 * signal/sigpending.c: Likewise.
36528 * signal/sigqueue.c: Likewise.
36529 * signal/sigreturn.c: Likewise.
36530 * signal/sigset.c: Likewise.
36531 * signal/sigsetmask.c: Likewise.
36532 * signal/sigstack.c: Likewise.
36533 * signal/sigsuspend.c: Likewise.
36534 * signal/sigtimedwait.c: Likewise.
36535 * signal/sigvec.c: Likewise.
36536 * signal/sigwait.c: Likewise.
36537 * signal/sigwaitinfo.c: Likewise.
36538 * signal/sysv_signal.c: Likewise.
36539 * socket/accept.c: Likewise.
36540 * socket/accept4.c: Likewise.
36541 * socket/bind.c: Likewise.
36542 * socket/connect.c: Likewise.
36543 * socket/getpeername.c: Likewise.
36544 * socket/getsockname.c: Likewise.
36545 * socket/getsockopt.c: Likewise.
36546 * socket/isfdtype.c: Likewise.
36547 * socket/listen.c: Likewise.
36548 * socket/recv.c: Likewise.
36549 * socket/recvfrom.c: Likewise.
36550 * socket/recvmsg.c: Likewise.
36551 * socket/send.c: Likewise.
36552 * socket/sendmsg.c: Likewise.
36553 * socket/sendto.c: Likewise.
36554 * socket/setsockopt.c: Likewise.
36555 * socket/shutdown.c: Likewise.
36556 * socket/sockatmark.c: Likewise.
36557 * socket/socket.c: Likewise.
36558 * socket/socketpair.c: Likewise.
36559 * stdio-common/ctermid.c: Likewise.
36560 * stdio-common/cuserid.c: Likewise.
36561 * stdio-common/remove.c: Likewise.
36562 * stdio-common/rename.c: Likewise.
36563 * stdio-common/renameat.c: Likewise.
36564 * stdio-common/tempname.c: Likewise.
36565 * stdlib/getcontext.c: Likewise.
36566 * stdlib/makecontext.c: Likewise.
36567 * stdlib/setcontext.c: Likewise.
36568 * stdlib/swapcontext.c: Likewise.
36569 * stdlib/system.c: Likewise.
36570 * streams/fattach.c: Likewise.
36571 * streams/fdetach.c: Likewise.
36572 * streams/getmsg.c: Likewise.
36573 * streams/getpmsg.c: Likewise.
36574 * streams/putmsg.c: Likewise.
36575 * streams/putpmsg.c: Likewise.
36576 * sysdeps/unix/bsd/getpt.c: Likewise.
36577 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36578 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36579 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36581 Likewise.
36582 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36583 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36584 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36585 * sysvipc/msgctl.c: Likewise.
36586 * sysvipc/msgget.c: Likewise.
36587 * sysvipc/msgrcv.c: Likewise.
36588 * sysvipc/msgsnd.c: Likewise.
36589 * sysvipc/semctl.c: Likewise.
36590 * sysvipc/semget.c: Likewise.
36591 * sysvipc/semop.c: Likewise.
36592 * sysvipc/semtimedop.c: Likewise.
36593 * sysvipc/shmat.c: Likewise.
36594 * sysvipc/shmctl.c: Likewise.
36595 * sysvipc/shmdt.c: Likewise.
36596 * sysvipc/shmget.c: Likewise.
36597 * termios/tcdrain.c: Likewise.
36598 * termios/tcflow.c: Likewise.
36599 * termios/tcflush.c: Likewise.
36600 * termios/tcgetattr.c: Likewise.
36601 * termios/tcgetpgrp.c: Likewise.
36602 * termios/tcsendbrk.c: Likewise.
36603 * termios/tcsetattr.c: Likewise.
36604 * termios/tcsetpgrp.c: Likewise.
36605 * time/adjtime.c: Likewise.
36606 * time/clock.c: Likewise.
36607 * time/getitimer.c: Likewise.
36608 * time/gettimeofday.c: Likewise.
36609 * time/setitimer.c: Likewise.
36610 * time/settimeofday.c: Likewise.
36611 * time/stime.c: Likewise.
36612 * time/time.c: Likewise.
36613
366142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36615
a20492cf
PT
36616 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36617 /usr/old/bin.
36618
72e182e3
PT
36619 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36620 instead of spaces.
36621 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36622
fbeafede
JM
366232012-11-03 Joseph Myers <joseph@codesourcery.com>
36624
5b5b04d6
JM
36625 [BZ #14796]
36626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36627 FE_TONEAREST before applying Dekker multiplication and Knuth
36628 addition. Clear inexact exceptions and check for exact zero
36629 results afterwards.
36630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36633 * math/libm-test.inc (fma_test): Add more tests.
36634 (fma_test_towardzero): Likewise.
36635 (fma_test_downward): Likewise.
36636 (fma_test_upward): Likewise.
36637 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36638 function.
36639 (libc_fesetround): New macro.
36640 (libc_fesetroundf): Likewise.
36641 (libc_fesetroundl): Likewise.
36642 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36643 function.
36644 (libc_fesetround_387): Likewise.
36645 (libc_fesetroundf): New macro.
36646 (libc_fesetround): Likewise.
36647 (libc_fesetroundl): Likewise.
36648 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36649 function.
36650 (libc_fesetroundf): New macro.
36651 (libc_fesetround): Likewise.
36652 (libc_fesetroundl): Likewise.
36653 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36654 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36655 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36656 libm_hidden_ver.
36657 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36658 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36659 libm_hidden_def.
36660 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36661 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36662 libm_hidden_ver.
36663 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36664 libm_hidden_def.
36665
fbeafede
JM
36666 [BZ #3439]
36667 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36668 integer constant usable in #if and use that to give value to enum
36669 constant.
36670 (FE_DIVBYZERO): Likewise.
36671 (FE_UNDERFLOW): Likewise.
36672 (FE_OVERFLOW): Likewise.
36673 (FE_INVALID): Likewise.
36674 (FE_INVALID_SNAN): Likewise.
36675 (FE_INVALID_ISI): Likewise.
36676 (FE_INVALID_IDI): Likewise.
36677 (FE_INVALID_ZDZ): Likewise.
36678 (FE_INVALID_IMZ): Likewise.
36679 (FE_INVALID_COMPARE): Likewise.
36680 (FE_INVALID_SOFTWARE): Likewise.
36681 (FE_INVALID_SQRT): Likewise.
36682 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36683 (FE_TONEAREST): Likewise.
36684 (FE_TOWARDZERO): Likewise.
36685 (FE_UPWARD): Likewise.
36686 (FE_DOWNWARD): Likewise.
36687 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36688 (FE_DIVBYZERO): Likewise.
36689 (FE_OVERFLOW): Likewise.
36690 (FE_UNDERFLOW): Likewise.
36691 (FE_INEXACT): Likewise.
36692 (FE_TONEAREST): Likewise.
36693 (FE_DOWNWARD): Likewise.
36694 (FE_UPWARD): Likewise.
36695 (FE_TOWARDZERO): Likewise.
36696 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36697 (FE_UNDERFLOW): Likewise.
36698 (FE_OVERFLOW): Likewise.
36699 (FE_DIVBYZERO): Likewise.
36700 (FE_INVALID): Likewise.
36701 (FE_TONEAREST): Likewise.
36702 (FE_TOWARDZERO): Likewise.
36703 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36704 (FE_OVERFLOW): Likewise.
36705 (FE_UNDERFLOW): Likewise.
36706 (FE_DIVBYZERO): Likewise.
36707 (FE_INEXACT): Likewise.
36708 (FE_TONEAREST): Likewise.
36709 (FE_TOWARDZERO): Likewise.
36710 (FE_UPWARD): Likewise.
36711 (FE_DOWNWARD): Likewise.
36712 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36713 (FE_DIVBYZERO): Likewise.
36714 (FE_OVERFLOW): Likewise.
36715 (FE_UNDERFLOW): Likewise.
36716 (FE_INEXACT): Likewise.
36717 (FE_TONEAREST): Likewise.
36718 (FE_DOWNWARD): Likewise.
36719 (FE_UPWARD): Likewise.
36720 (FE_TOWARDZERO): Likewise.
36721
105ca950
CM
367222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36723
36724 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36725
a542b389
AS
367262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36727
36728 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36729 commands. Quote $PWD.
36730 (blacklist_exports): Don't use remove_newlines. Replace "declare
36731 -x" by "export".
36732 (remove_newlines): Remove.
36733
f62c8abc
L
367342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36735
36736 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36737 * stdlib/stdlib.h (atof): Moved to ...
36738 * include/bits/stdlib-float.h: Here. New file.
36739 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36740 * stdlib/bits/stdlib-float.h: New file.
36741 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36742 -mno-sse -mno-mmx.
36743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36744 <xmmintrin.h>.
36745
0155d5b2
JM
367462012-11-02 Joseph Myers <joseph@codesourcery.com>
36747
a68d0680
JM
36748 * conform/conformtest.pl (@headers): Add fenv.h.
36749 * conform/data/fenv.h-data: New file.
36750 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36751 include of <math/fenv.h>.
36752
caf7f573
JM
36753 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36754 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36755 && !UNIX98]. Enables tests for XOPEN2K8.
36756 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36757 POSIX2008]: Likewise.
36758
6c073ad6
JM
36759 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36760 (struct rusage): Do not expect type or its members.
36761
0155d5b2
JM
36762 [BZ #3439]
36763 * math/math.h (FP_NAN): Define macro to integer constant usable in
36764 #if and use that to give value to enum constant.
36765 (FP_INFINITE): Likewise.
36766 (FP_ZERO): Likewise.
36767 (FP_SUBNORMAL): Likewise.
36768 (FP_NORMAL): Likewise.
36769
b5dcacb4
AS
367702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36771
36772 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36773 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36774 arguments.
36775
f7934be8
RM
367762012-11-02 Roland McGrath <roland@hack.frob.com>
36777
36778 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36779 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36780 autoconf-time if not.
36781 * configure.in: Remove AC_PREREQ.
36782
d7d08bde
TMQMF
367832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36784
36785 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36786 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36787 of the internal implementation.
36788
dcdae19a
JM
367892012-11-02 Joseph Myers <joseph@codesourcery.com>
36790
36791 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36792 except include of <misc/sys/syslog.h>.
36793
d6cffd3e
AS
367942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36795
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36797 function returns with a NULL context exit with zero.
36798
b3563932
TMQMF
367992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36800
36801 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36802
b288a93d
L
368032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36804
36805 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36806 (run_program_cmd): This.
36807 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36808 (tst_langinfo): New variable. Use it.
36809
a2421a68
SAS
368102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36811
36812 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36813 floating point opcodes.
36814
6f796e1b
TS
368152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36816
7402596b
TS
36817 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36818 variable.
36819
d0d4f868
TS
36820 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36821
6f796e1b
TS
36822 * sysdeps/mach/hurd/powerpc: Remove directory.
36823 * sysdeps/mach/powerpc: Likewise.
36824
4da224a2
AS
368252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36826
36827 * scripts/check-local-headers.sh: Ignore c++ headers.
36828
341dd673
TS
368292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36830
36831 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36832 __libc_cleanup_region_start argument.
36833
473611b2
JM
368342012-11-01 Joseph Myers <joseph@codesourcery.com>
36835
36836 [BZ #14784]
36837 [BZ #14785]
36838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36839 x * y using scaling, not as x * y + z.
36840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36842 * math/libm-test.inc (fma_test): Add more tests.
36843 (fma_test_towardzero): Likewise.
36844 (fma_test_downward): Likewise.
36845 (fma_test_upward): Likewise.
36846
4078da3d
TS
368472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36848
36849 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36850
903252aa
JM
368512012-10-31 Joseph Myers <joseph@codesourcery.com>
36852
36853 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36854 New variable.
36855
cbc818d0
TS
368562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36857
36858 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36859
5a03cb1e
AS
368602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36861
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36863 Fix sort order.
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36865 Likewise.
36866
90aff2ff
TMQMF
368672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36868
36869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36870 Fix the order of the list for glibc 2.17.
36871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36872 Likewise.
36873
1818fcb7
AS
368742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36875
36876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36877
ef82f4da
JM
368782012-10-31 Joseph Myers <joseph@codesourcery.com>
36879
16a0e2ec
JM
36880 [BZ #14610]
36881 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36882 for low part of x being zero before using __atanl (y).
36883 * math/libm-test.inc (atan2_test): Add another test.
36884
0eb69512
JM
36885 * manual/install.texi (Configuring and compiling): Document
36886 general use of test-wrapper and test-wrapper-env.
36887 * INSTALL: Regenerated.
36888
ef82f4da
JM
36889 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36890 (__fma): Do not extract and scale down low bits on after-rounding
36891 systems when result rounded to normal precision would have normal
36892 exponent.
36893 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36894 (__fmal): Do not extract and scale down low bits on after-rounding
36895 systems when result rounded to normal precision would have normal
36896 exponent.
36897 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36898 (__fmal): Do not extract and scale down low bits on after-rounding
36899 systems when result rounded to normal precision would have normal
36900 exponent.
36901 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36902 macro.
36903 (fma_test): Add more tests.
36904 (fma_test_towardzero): Likewise.
36905 (fma_test_downward): Likewise.
36906 (fma_test_upward): Likewise.
36907
954ef0d9
L
369082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36909
36910 * sysdeps/i386/tininess.h: Renamed to ...
36911 * sysdeps/x86/tininess.h: This.
36912 * sysdeps/x86_64/tininess.h: Removed.
36913
df61ffb2
JM
369142012-10-30 Joseph Myers <joseph@codesourcery.com>
36915
36916 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36917 input. Use $(build-program-cmd).
36918 ($(objpfx)tst-array1-static.out): Likewise.
36919 ($(objpfx)tst-array2.out): Likewise.
36920 ($(objpfx)tst-array3.out): Likewise.
36921 ($(objpfx)tst-array4.out): Likewise.
36922 ($(objpfx)tst-array5.out): Likewise.
36923 ($(objpfx)tst-array5-static.out): Likewise.
36924
01767843
CM
369252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36926
47cc1490
CM
36927 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36928 if defined.
36929
01767843
CM
36930 * nss/nsswitch.h (nss_interface_function): Provide new
36931 macro for use with NSS functions.
36932 * grp/initgroups.c: Use new macro.
36933 * nss/getXXbyYY.c: Likewise.
36934 * nss/getXXbyYY_r.c: Likewise.
36935 * nss/getXXent.c: Likewise.
36936 * nss/getXXent_r.c: Likewise.
36937 * sysdeps/posix/getaddrinfo.c: Likewise.
36938
8321aa97
AJ
369392012-10-30 Andreas Jaeger <aj@suse.de>
36940
36941 * po/ru.po: Update Russion translation from translation project.
36942
2a27fd6d
JM
369432012-10-30 Joseph Myers <joseph@codesourcery.com>
36944
8627a232
JM
36945 [BZ #14152]
36946 [BZ #14783]
36947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36948 result and shift together with sticky bit instead of replicating
36949 round-to-nearest rounding.
36950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36952 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36953 missing underflow exceptions.
36954 (fma_test_towardzero): Add more tests.
36955 (fma_test_downward): Likewise.
36956 (fma_test_upward): Likewise.
36957
2a27fd6d
JM
36958 [BZ #14047]
36959 * sysdeps/generic/tininess.h: New file.
36960 * sysdeps/i386/tininess.h: Likewise.
36961 * sysdeps/sh/tininess.h: Likewise.
36962 * sysdeps/x86_64/tininess.h: Likewise.
36963 * stdlib/tst-strtod-underflow.c: Likewise.
36964 * stdlib/tst-tininess.c: Likewise.
36965 * stdlib/strtod_l.c: Include <tininess.h>.
36966 (round_and_return): Do not set errno for exact underflow cases.
36967 Force an underflow exception when setting errno for underflow.
36968 Determine underflow based on rounding to normal precision if
36969 TININESS_AFTER_ROUNDING.
36970 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36971 ERANGE for exact underflow cases.
36972 * stdlib/Makefile (tests): Add tst-tininess and
36973 tst-strtod-underflow.
36974 ($(objpfx)tst-tininess): Use $(link-libm).
36975 ($(objpfx)tst-strtod-underflow): Likewise.
36976
e7170363
AJ
369772012-10-30 Andreas Jaeger <aj@suse.de>
36978
e5088dc6
AJ
36979 [BZ#14767]
36980 * elf/Makefile (tests): Remove conditional for have-initfini-array
36981 since this is now always required and the variable does not exist
36982 anymore.
36983 (tests-static): Likewise.
36984 (modules-names): Likewise.
36985
e7170363 36986 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36987
36988 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36989 merged with constructor/destructor.
36990 (init_array): Likewise.
36991 * elf/tst-array2dep.c (fini_array): Likewise.
36992 (init_array): Likewise.
36993
60457d8a
MF
369942012-10-29 Mike Frysinger <vapier@gentoo.org>
36995
36996 * manual/message.texi: Delete @cartouche tags.
36997
8bece752
PT
369982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36999
94ce799f
PT
37000 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37001 EOPNOTSUPP.
37002 * sysdeps/mach/hurd/fsync.c: Likewise.
37003
8bece752
PT
37004 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37005 [_POSIX_REALTIME_SIGNALS]: Change condition to
37006 [_POSIX_REALTIME_SIGNALS > 0].
37007
86ebe6b1
AJ
370082012-10-27 Andreas Jaeger <aj@suse.de>
37009
37010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37011 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37013 [__WORDSIZE != 64]: Likewise.
37014
54399c08
L
370152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37016
37017 * iconvdata/tst-table.sh: Remove ${SHELL}.
37018 * iconvdata/tst-tables.sh: Likewise.
37019
e2211bed
DM
370202012-10-25 David S. Miller <davem@davemloft.net>
37021
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37023 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37024 of strtoull.
37025
f303f97c
DM
37026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37027 ifunc-impl-list.c
37028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37029 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37030 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37031 file.
37032
1e9d84cd
RM
370332012-10-25 Roland McGrath <roland@hack.frob.com>
37034
37035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37036 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37037 __getdirentries.
37038
df381762
JM
370392012-10-25 Joseph Myers <joseph@codesourcery.com>
37040 Jim Blandy <jimb@codesourcery.com>
37041
37042 * scripts/cross-test-ssh.sh: New file.
37043 * manual/install.texi (Configuring and compiling): Document use of
37044 cross-test-ssh.sh.
37045 * INSTALL: Regenerated.
37046
bff64913
PT
370472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37048
37049 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37050 EOPNOTSUPP.
37051
25fe8932
JM
370522012-10-25 Joseph Myers <joseph@codesourcery.com>
37053
37054 * Makeconfig (run-program-prefix): Fix comment.
37055
cc1290d0
JM
370562012-10-24 Joseph Myers <joseph@codesourcery.com>
37057 Jim Blandy <jimb@codesourcery.com>
37058
37059 * Makeconfig (test-wrapper): New variable,
37060 (test-wrapper-env): Likewise.
37061 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37062 (run-built-tests): Define to yes.
37063 (run-program-prefix): Use $(test-wrapper).
37064 (built-program-cmd): Likewise.
37065 * Rules (make-test-out): Use $(test-wrapper-env) and
37066 $(host-built-program-cmd).
37067 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37068 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37069 tst-pathopt.sh.
37070 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37071 $(test-wrapper-env) to tst-rtld-load-self.sh.
37072 ($(objpfx)order2.out): Use $(test-wrapper).
37073 ($(objpfx)tst-initorder.out): Likewise.
37074 ($(objpfx)tst-initorder2.out): Likewise.
37075 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37076 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37077 (test_wrapper_env): New variable. Use it to run ld.so.
37078 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37079 Use it to run ld.so.
37080 (test_wrapper_env): Likewise.
37081 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37082 $(test-wrapper) to run-iconv-test.sh.
37083 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37084 (ICONV): Use $test_wrapper.
37085 * posix/Makefile ($(objpfx)globtest.out): Pass
37086 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37087 globtest.sh, not $(run-program-prefix).
37088 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37089 (test_wrapper): Likewise.
37090 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37091 set together with run_via_rtld_prefix.
37092 (run_program_prefix): Define in terms of test_wrapper and
37093 run_via_rtld_prefix.
37094
6e6249d0
RM
370952012-10-24 Roland McGrath <roland@hack.frob.com>
37096
37097 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37098 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37099 Targets removed.
37100
37101 [BZ #14743]
37102 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37103 Declare __clock_getres, __clock_gettime, __clock_settime,
37104 __clock_nanosleep, and __clock_getcpuclockid.
37105 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37106 Remove librt_hidden_def (clock_gettime).
37107 * sysdeps/unix/clock_gettime.c: Likewise.
37108 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37110 * rt/clock_getres.c: Define __clock_getres as an alias.
37111 * sysdeps/posix/clock_getres.c: Likewise.
37112 * rt/clock_settime.c: Define __clock_settime as an alias.
37113 * sysdeps/unix/clock_settime.c: Likewise.
37114 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37115 * sysdeps/unix/clock_nanosleep.c: Likewise.
37116 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37117 * rt/clock-compat.c: New file.
37118 * rt/Makefile (librt-routines): Add clock-compat and move
37119 $(clock-routines) to ...
37120 (routines): ... here, new variable.
37121 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37122 Don't add get_clockfreq here.
37123 * rt/Versions (libc: GLIBC_2.17): New version set.
37124 Add clock_* symbols here.
37125 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37127 (GLIBC_2.17): Add clock_* symbols.
37128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37132 Likewise.
37133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37134 Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37139 * NEWS: Mention the move.
37140
37141 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37142 Use __open, __read, __close rather than their public counterparts.
37143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37144 (__get_clockfreq_via_cpuinfo): Likewise.
37145 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37146 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37147
37148 * config.h.in (HAVE_IFUNC): New #undef.
37149 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37150 was successful.
37151 * configure: Regenerated.
37152
0cae3f4b
MF
371532012-10-24 Mike Frysinger <vapier@gentoo.org>
37154
37155 * configure.in: Move READELF check to start of file.
37156 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37157 libc_cv_asm_gnu_indirect_function in the process.
37158 * configure: Regenerated.
37159
8175a253
MF
371602012-10-24 Mike Frysinger <vapier@gentoo.org>
37161
37162 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37163 send the output to /dev/null.
37164 (libc_cv_cc_with_libunwind): Likewise.
37165 (libc_cv_as_noexecstack): Likewise.
37166 * configure: Regenerate.
37167
0708a7d1
JM
371682012-10-24 Joseph Myers <joseph@codesourcery.com>
37169
10b40d85
JM
37170 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37171
0708a7d1
JM
37172 * posix/globtest.sh (TMPDIR): Do not set.
37173 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37174 (testout): Likewise.
37175
9fddec1a
AJ
371762012-10-24 Andreas Jaeger <aj@suse.de>
37177
3a8db22f
AJ
37178 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37179 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37180 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37181 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37182 posix_fadvise64, posix_fallocate64.
37183
9fddec1a
AJ
37184 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37185 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37186 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37187 Likewise.
37188 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37189 Likewise.
37190 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37191
37192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37193 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37194 <bits/fcntl-linux.h>.
37195 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37196
37197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37198 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37199 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37200 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37201 [__WORDSIZE != 64]: Likewise.
37202
ebfd1bbd
JM
372032012-10-23 Joseph Myers <joseph@codesourcery.com>
37204
03ac099f
JM
37205 * Makeconfig (run-built-tests): New variable.
37206 * Rules [$(cross-compiling) = yes]: Change condition to
37207 [$(run-built-tests) = no].
37208 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37209 to [$(run-built-tests) = yes].
37210 * elf/Makefile [$(cross-compiling) = no]: Likewise
37211 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37212 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37213 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37214 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37215 * io/Makefile [$(cross-compiling) = no]: Likewise.
37216 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37217 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37218 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37219 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37220 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37221 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37222 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37223 * string/Makefile [$(cross-compiling) = no]: Likewise.
37224
ebfd1bbd
JM
37225 * posix/Makefile ($(objpfx)globtest.out): Pass
37226 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37227 $(rtld-installed-name).
37228 * posix/globtest.sh (elf_objpfx): Remove variable.
37229 (rtld_installed_name): Likewise.
37230 (library_path): Likewise.
37231 (run_program_prefix): New variable. Use for running globtest
37232 binary.
37233
166bca24
JB
372342012-10-23 Jim Blandy <jimb@codesourcery.com>
37235 Joseph Myers <joseph@codesourcery.com>
37236
37237 * Makeconfig (host-built-program-cmd): New variable.
37238 * elf/Makefile (tst-stackguard1-ARGS): Use
37239 $(host-built-program-cmd).
37240 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37241 (tst-spawn-ARGS): Likewise.
37242 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37243
88866099
JM
372442012-10-23 Joseph Myers <joseph@codesourcery.com>
37245 Jim Blandy <jimb@codesourcery.com>
37246
37247 * Makeconfig (run-via-rtld-prefix): New variable.
37248 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37249 (built-program-cmd): Likewise.
37250
b4b4c296
AJ
372512012-10-22 Andreas Jaeger <aj@suse.de>
37252
37253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37254 __O_RSYNC if it exists, otherwise to O_SYNC.
37255
6fb54a22
JB
372562012-10-22 Jim Blandy <jimb@codesourcery.com>
37257 Joseph Myers <joseph@codesourcery.com>
37258
37259 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37260 /dev/null.
37261 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37262 from /dev/null
37263 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37264 /dev/null.
37265
481b90b9
AJ
372662012-10-22 Andreas Jaeger <aj@suse.de>
37267
2a0e2669
AJ
37268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37269 Define always.
37270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37271
76e38f9a
AJ
37272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37273 bits/fcntl-linux.h.
37274
7cd37b43
AJ
37275 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37276 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37277
481b90b9
AJ
37278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37279 to __O_LARGEFILE.
37280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37281 to __O_LARGEFILE.
37282
aba75984
JB
372832012-10-21 Jim Blandy <jimb@codesourcery.com>
37284 Joseph Myers <joseph@codesourcery.com>
37285
37286 * config.make.in (NM): New variable.
37287
88d4247f
AJ
372882012-10-21 Andreas Jaeger <aj@suse.de>
37289
37290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37291 definitions and declarations that are provided by
37292 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37293
f2eed205
L
372942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 [BZ #14683]
37297 * elf/Makefile (tests-static): Add tst-leaks1-static.
37298 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37299 ($(objpfx)tst-leaks1-static): New rule.
37300 ($(objpfx)tst-leaks1-static-mem): Likewise.
37301 (tst-leaks1-static-ENV): New macro.
37302 * elf/dl-open.c (dl_open_worker): Check the main application
37303 only if SHARED is defined.
37304 * elf/tst-leaks1-static.c: New file.
37305
335e6931
AJ
373062012-10-20 Andreas Jaeger <aj@suse.de>
37307
37308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37309 generic values for Linux.
37310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37311 and declarations that are provided by <bits/fcntl-linux.h> and
37312 include <bits/fcntl-linux.h>.
37313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37315
ac5c94d3
RM
373162012-10-20 Roland McGrath <roland@hack.frob.com>
37317
37318 * io/fcntl.h: Move include of <bits/types.h> to the top and
37319 include it unconditionally.
37320
de54b33a
L
373212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37322
228cfb01
L
37323 * wcsmbs/Makefile (tests-ifunc): New variable.
37324 (tests): Add $(tests-ifunc).
37325 * wcsmbs/test-wcschr-ifunc.c: New file.
37326 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37327 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37328 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37329 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37330 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37331
69f07e5f
L
37332 * string/Makefile (tests-ifunc): New variable.
37333 (tests): Add $(tests-ifunc).
37334 * string/test-memccpy.c (TEST_NAME): New macro.
37335 * string/test-memchr.c (TEST_NAME): Likewise.
37336 * string/test-memcmp.c (TEST_NAME): Likewise.
37337 * string/test-memcpy.c (TEST_NAME): Likewise.
37338 * string/test-memmem.c (TEST_NAME): Likewise.
37339 * string/test-memmove.c (TEST_NAME): Likewise.
37340 * string/test-memset.c (TEST_NAME): Likewise.
37341 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37342 * string/test-stpcpy.c (TEST_NAME): Likewise.
37343 * string/test-stpncpy.c (TEST_NAME): Likewise.
37344 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37345 * string/test-strcasestr.c (TEST_NAME): Likewise.
37346 * string/test-strcat.c (TEST_NAME): Likewise.
37347 * string/test-strchr.c (TEST_NAME): Likewise.
37348 * string/test-strcmp.c(TEST_NAME): Likewise.
37349 * string/test-strcpy.c (TEST_NAME): Likewise.
37350 * string/test-strcspn.c (TEST_NAME): Likewise.
37351 * string/test-strlen.c (TEST_NAME): Likewise.
37352 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37353 * string/test-strncmp.c (TEST_NAME): Likewise.
37354 * string/test-strncpy.c (TEST_NAME): Likewise.
37355 * string/test-strnlen.c (TEST_NAME): Likewise.
37356 * string/test-strpbrk.c (TEST_NAME): Likewise.
37357 * string/test-strrchr.c (TEST_NAME): Likewise.
37358 * string/test-strspn.c (TEST_NAME): Likewise.
37359 * string/test-strstr.c (TEST_NAME): Likewise.
37360 * string/test-bcopy-ifunc.c: New file.
37361 * string/test-bzero-ifunc.c: Likewise.
37362 * string/test-memccpy-ifunc.c: Likewise.
37363 * string/test-memchr-ifunc.c: Likewise.
37364 * string/test-memcmp-ifunc.c: Likewise.
37365 * string/test-memcpy-ifunc.c: Likewise.
37366 * string/test-memmem-ifunc.c: Likewise.
37367 * string/test-memmove-ifunc.c: Likewise.
37368 * string/test-mempcpy-ifunc.c: Likewise.
37369 * string/test-memset-ifunc.c: Likewise.
37370 * string/test-rawmemchr-ifunc.c: Likewise.
37371 * string/test-stpcpy-ifunc.c: Likewise.
37372 * string/test-stpncpy-ifunc.c: Likewise.
37373 * string/test-strcasecmp-ifunc.c: Likewise.
37374 * string/test-strcasestr-ifunc.c: Likewise.
37375 * string/test-strcat-ifunc.c: Likewise.
37376 * string/test-strchr-ifunc.c: Likewise.
37377 * string/test-strchrnul-ifunc.c: Likewise.
37378 * string/test-strcmp-ifunc.c: Likewise.
37379 * string/test-strcpy-ifunc.c: Likewise.
37380 * string/test-strcspn-ifunc.c: Likewise.
37381 * string/test-strlen-ifunc.c: Likewise.
37382 * string/test-strncasecmp-ifunc.c: Likewise.
37383 * string/test-strncat-ifunc.c: Likewise.
37384 * string/test-strncmp-ifunc.c: Likewise.
37385 * string/test-strncpy-ifunc.c: Likewise.
37386 * string/test-strnlen-ifunc.c: Likewise.
37387 * string/test-strpbrk-ifunc.c: Likewise.
37388 * string/test-strrchr-ifunc.c: Likewise.
37389 * string/test-strspn-ifunc.c: Likewise.
37390 * string/test-strstr-ifunc.c: Likewise.
37391
de54b33a
L
37392 * debug/Makefile (tests-ifunc): New variable.
37393 (tests): Add $(tests-ifunc).
37394 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37395 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37396 * debug/test-stpcpy_chk-ifunc.c: New file.
37397 * debug/test-strcpy_chk-ifunc.c: Likewise.
37398
88481c16
SP
373992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37400
37401 [BZ #13601]
37402 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37403 header is not read in.
37404
135948bd
JM
374052012-10-19 Joseph Myers <joseph@codesourcery.com>
37406
89f1c388
JM
37407 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37408 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37409 directly. Pass built executable to script as
37410 $(built-program-cmd).
37411 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37412 $testprogram without using LD_LIBRARY_PATH and $ldso.
37413
e40a0d21
JM
37414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37415 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37416 $(rtld-installed-name).
37417 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37418 (rtld_installed_name): Likewise.
37419 (library_path): Likewise.
37420 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37422 $(run-program-prefix) to tst-tables.sh.
37423 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37424 it to run tst-table-from and tst-table-to.
37425 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37426 Pass it to tst-table.sh.
37427 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37428 $(run-program-prefix) to tst-gettext.sh.
37429 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37430 tst-translit.sh.
37431 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37432 tst-gettext2.sh.
37433 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37434 to run tst-gettext.
37435 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37436 to run tst-gettext2.
37437 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37438 to run tst-translit.
37439 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37440 $(run-program-prefix) to tst-mtrace.sh.
37441 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37442 to run tst-mtrace.
37443 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37444 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37445 $(rtld-installed-name).
37446 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37447 (rtld_installed_name): Likewise.
37448 (run_program_prefix): New variable. Use it to run wordexp-test.
37449
728e272a
JM
37450 * Makeconfig (ARCH): Remove all definitions.
37451 (machine): Likewise.
37452 [ARCH]: Remove conditional code.
37453 [!objdir]: Give error.
37454 [!objdir] (objpfx): Remove.
37455 [!objdir] (common-objpfx): Likewise.
37456 [!objdir] (common-objdir): Likewise.
37457 * configure.in (config_makefile): Remove. Hardcode Makefile in
37458 AC_CONFIG_FILES call.
37459 * configure: Regenerated.
37460
d528cdcf
JM
37461 [BZ #13888]
37462 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37463 or TMPDIR.
37464 (testout): Likewise.
37465
135948bd
JM
37466 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37467 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37468 $(rtld-installed-name).
37469 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37470 (rtld_installed_name): Likwise.
37471 (runit): Remove function.
37472 (run_getconf): New variable, Use it for running getconf binary.
37473
38c78296
L
374742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37475
37476 [BZ #14716]
37477 * string/test-memmem.c (check_result): New function.
37478 (do_one_test): Use it.
37479 (check1): New function.
37480 (test_main): Use it.
37481
d077f65f
MT
374822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37483
37484 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37485
ced52c71
JM
374862012-10-18 Joseph Myers <joseph@codesourcery.com>
37487
37488 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37489 (_G_LSEEK64): Likewise.
37490 (_G_MMAP64): Likewise.
37491 (_G_FSTAT64): Likewise.
37492 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37493 (_G_LSEEK64): Likewise.
37494 (_G_MMAP64): Likewise.
37495 (_G_FSTAT64): Likewise.
37496 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37497 unconditional. Call __mmap64 directly.
37498 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37499 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37500 __lseek64 directly.
37501 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37502 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37503 __mmap64 directly.
37504 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37505 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37506 __lseek64 directly.
37507 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37508 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37509 __lseek64 directly.
37510 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37511 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37512 __lseek64 directly.
37513 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37514 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37515 __fxstat64 directly.
37516 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37517 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37518 unconditional.
37519 (freopen64) [!_G_OPEN64]: Remove conditional code.
37520 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37521 unconditional.
37522 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37523 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37524 unconditional.
37525 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37526 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37527 unconditional.
37528 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37529 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37530 unconditional.
37531 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37532 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37533 unconditional.
37534 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37535 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37536 unconditional.
37537 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37538 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37539 unconditional.
37540 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37541
b741de23
SP
375422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37543
37544 [BZ #12140]
37545 * manual/memory.texi (Malloc Tunable Parameters): Add note
37546 about free list pointers overwriting some perturb bytes.
37547 Wording suggested by Roland McGrath.
37548
f9b9d9c9
JM
375492012-10-17 Joseph Myers <joseph@codesourcery.com>
37550
37551 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37552 (lgamma_test): Likewise.
37553 (tgamma_test): Likewise.
37554
172a631a
FW
375552012-10-16 Florian Weimer <fweimer@redhat.com>
37556
37557 [BZ #14700]
37558 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37559 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37560
e9f37252
MK
375612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37562
37563 * NEWS: Mention BZ #14716.
37564 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37565 when removing AVAILABLE1_USES_J macro.
37566
d394eb74
L
375672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37568
37569 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37570 (__bswap_64): __uint64_t for unsigned 64-bit int.
37571
ca38dc17
AS
375722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37573
37574 * include/string.h (memmem): Declare libc hidden alias.
37575 * string/memmem.c (memmem): Define libc hidden alias.
37576 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37577 __read, __close instead of open, read, close.
37578
9a387d1f
L
375792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37580
ac49ecaf
L
37581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37582 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37583 global and hidden.
37584 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37585 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37586 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37587 Likewise.
37588 (__rawmemchr_sse2): Likewise.
37589 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37590 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37591 (__strchr_sse2): Likewise.
37592 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37593 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37594 (__strcasecmp_sse2): Likewise.
37595 (__strncasecmp_sse2): Likewise.
37596 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37597 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37598 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37599 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37600 (__strrchr_sse2): Likewise.
37601 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37602 ifunc-impl-list.c.
37603 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37604 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37605 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37606 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37607 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37609 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37610 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37611 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37612 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37613 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37614 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37615 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37616 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37617 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37618 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37619 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37620 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37621 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37622 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37623 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37624 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37625 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37626 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37627 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37629 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37631 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37632 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37633
b090e8ea
L
37634 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37635 global and hidden.
37636 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37637 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37638 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37639 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37640 Likewise.
37641 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37642 Likewise.
37643 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37644 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37645 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37646 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37647 ifunc-impl-list.c.
37648 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37649 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37650 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37651 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37652 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37653 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37654 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37655 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37656 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37657 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37658 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37659 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37660 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37661 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37662 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37676 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37677 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37678 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37679 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37680 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37681 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37682 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37683 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37685 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37686 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37688 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37689
11dd4af6
L
37690 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37691 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37692 * include/ifunc-impl-list.h: New file.
37693 * misc/ifunc-impl-list.c: Likewise.
37694 * misc/Makefile (routines): Add ifunc-impl-list.
37695 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37696 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37697 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37698 TEST_NAME]: New variables.
11dd4af6
L
37699 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37700 are defined.
37701 (test_init): Call __libc_ifunc_impl_list to initialize
37702 func_list if TEST_IFUNC and TEST_NAME are defined.
37703
9a387d1f
L
37704 * string/Makefile (strop-tests): Add bcopy and bzero.
37705 * string/test-bcopy.c: New file.
37706 * string/test-bzero.c: Likewise.
37707 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37708 defined.
37709 * string/test-memset.c: Support bzero test if TEST_BZERO is
37710 defined.
37711 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37712 __libc_memmove.
37713 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37714 __libc_memset.
37715 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37716 of memset.
37717
472371b9
JM
377182012-10-10 Joseph Myers <joseph@codesourcery.com>
37719
1e4a9536
JM
37720 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37721 * configure: Regenerated.
37722
d173d12e
JM
37723 * Makeconfig (+link-static-before-libc): Don't include
37724 $(link-static-libc).
37725
472371b9
JM
37726 * libio/libio.h (_IO_pos_t): Remove.
37727
89a3ad0b
AO
377282012-10-10 Alexandre Oliva <aoliva@redhat.com>
37729
37730 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37731 McGrath.
37732
e7451425
AO
377332012-10-10 Alexandre Oliva <aoliva@redhat.com>
37734
37735 * crypt/crypt-entry.c: Include fips-private.h.
37736 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37737 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37738 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37739 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37740
4ba74a35
AO
377412012-10-10 Alexandre Oliva <aoliva@redhat.com>
37742
37743 * crypt/crypt-private.h: Include stdbool.h.
37744 (_ufc_setup_salt_r): Return bool.
37745 * crypt/crypt-entry.c: Include errno.h.
37746 (__crypt_r): Return NULL with EINVAL for bad salt.
37747 * crypt/crypt_util.c (bad_for_salt): New.
37748 (_ufc_setup_salt_r): Check that salt is long enough and within
37749 the specified alphabet.
37750 * crypt/badsalttest.c: New file.
37751 * crypt/Makefile (tests): Add it.
37752 ($(objpfx)badsalttest): New.
37753
f96f1242
MK
377542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37755
37756 * NEWS: Add entry for BZ #14602.
37757
0e8e0c1c
JM
377582012-10-09 Joseph Myers <joseph@codesourcery.com>
37759
37760 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37761 type-generic.
37762 * math/libm-test.inc: Update comment listing what functions and
37763 macros are tested.
37764 (isgreater_test): New function.
37765 (isgreaterequal_test): Likewise.
37766 (isless_test): Likewise.
37767 (islessequal_test): Likewise.
37768 (islessgreater_test): Likewise.
37769 (isunordered_test): Likewise.
37770 (main): Call the new functions.
37771
273edc5e
RM
377722012-10-09 Roland McGrath <roland@hack.frob.com>
37773
b8493de0
RM
37774 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37775 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37776 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37777 * sysdeps/i386/configure: Regenerated.
37778 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37779 * sysdeps/mach/configure: Regenerated.
37780 * sysdeps/mach/hurd/configure: Regenerated.
37781 * sysdeps/powerpc/configure: Regenerated.
37782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37784 * sysdeps/s390/s390-32/configure: Regenerated.
37785 * sysdeps/s390/s390-64/configure: Regenerated.
37786 * sysdeps/sh/configure: Regenerated.
37787 * sysdeps/sparc/configure: Regenerated.
37788 * sysdeps/unix/sysv/linux/configure: Regenerated.
37789 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37790 * sysdeps/x86_64/configure: Regenerated.
37791
273edc5e
RM
37792 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37793 defined. Don't check if MAP is NULL.
37794
c8450f70
JM
377952012-10-09 Joseph Myers <joseph@codesourcery.com>
37796
37797 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37798 (_G_stat64): Likewise.
37799 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37800 (_G_stat64): Likewise.
37801 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37802 instead of struct _G_stat64.
37803 * libio/fileops.c (mmap_remap_check): Likewise.
37804 (decide_maybe_mmap): Likewise.
37805 (_IO_new_file_seekoff): Likewise.
37806 (_IO_file_stat): Likewise.
37807 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37808 _G_off64_t.
37809 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37810 instead of struct _G_stat64.
37811 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37812
57e605ba
MK
378132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37814
37815 [BZ #14602]
37816 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37817 Replace with ...
37818 (CHECK_EOL): New macro.
37819 (two_way_short_needle): Check beginning of haystack for EOL. Use
37820 CHECK_EOL.
37821 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37822 Replace with CHECK_EOL.
37823 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37824 Replace with CHECK_EOL.
37825
ef1bb361
JM
378262012-10-08 Joseph Myers <joseph@codesourcery.com>
37827
37828 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37829 type-generic.
37830 * math/libm-test.inc: Update comment listing what functions and
37831 macros are tested.
37832 (finite_test): New function.
37833 (isinf_test): Likewise.
37834 (isnan_test): Likewise.
37835 (fpclassify_test): Test subnormal input.
37836 (isfinite_test): Likewise.
37837 (isnormal_test): Likewise.
37838 (main): Call the new functions.
37839
55f11534
JN
378402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37841
37842 [BZ #14660]
37843 * Makerules (%.dynsym): Force C locale when running
37844 $(OBJDUMP) --dynamic-syms.
37845
1ab29350
AS
378462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37847
37848 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37849 <stdint.h>.
37850
f1ecb7ef
DM
378512012-10-06 David S. Miller <davem@davemloft.net>
37852
37853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37854 upper 32-bits of the length value in %o2 since we use branch-on-register
37855 tests which consider the entire 64-bit register.
37856
5d41d91a
L
378572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37858
37859 * string/test-strstr.c (check2): Add a test for page boundary.
37860
3baddb72
DM
378612012-10-05 David S. Miller <davem@davemloft.net>
37862
37863 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37864 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37865 file.
37866 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37867 sysdep_routines.
37868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37869 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37870 and bzero when HWCAP_SPARC_CRYPTO is present.
37871
9cee5585
L
378722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37873
d7e0dab9
L
37874 [BZ #14602]
37875 * string/test-strstr.c (check2): New function.
37876 (test_main): Call check2.
37877
03759f47
L
37878 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37879 and bug-strchr1.
37880 * string/bug-strcasestr1.c (do_test): Moved to ...
37881 * string/test-strcasestr.c (check1): Here. New function.
37882 (do_one_test): Break out result checking code into ...
37883 (check_result): This. New function.
37884 (do_one_test): Call check_result.
37885 (test_main): Call check1.
37886 * string/bug-strchr1.c (do_test): Moved to ...
37887 * string/test-strchr.c (check1): Here. New function.
37888 (do_one_test): Break out result checking code into ...
37889 (check_result): This. New function.
37890 (do_one_test): Call check_result.
37891 (test_main): Call check1.
37892 * string/bug-strstr1.c (main): Moved to ...
046f153e 37893 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37894 (do_one_test): Break out result checking code into ...
37895 (check_result): This. New function.
37896 (do_one_test): Call check_result.
37897 (test_main): Call check1.
37898 * string/bug-strcasestr1.c: Removed.
37899 * string/bug-strchr1.c: Likewise.
37900 * string/bug-strstr1.c: Likewise.
37901
53cea63e
L
37902 * elf/Makefile (dl-routines): Add hwcaps.
37903 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37904 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37905 (_dl_important_hwcaps): Moved to ...
37906 * elf/dl-hwcaps.c: Here. New file.
37907 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37908
9cee5585 37909 [BZ #14557]
bb859b06
L
37910 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37911 if IS_IN_rtld isn't defined.
37912
9cee5585
L
37913 * elf/dl-support.c (_dl_sysinfo_map): New.
37914 Include "get-dynamic-info.h" and "setup-vdso.h".
37915 (_dl_non_dynamic_init): Call setup_vdso.
37916 * elf/dynamic-link.h: Don't include <assert.h>.
37917 (elf_get_dynamic_info): Moved to ...
37918 * elf/get-dynamic-info.h: Here. New file.
37919 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37920 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37921 * elf/setup-vdso.h: Here. New file.
37922 * elf/rtld.c: Include "setup-vdso.h".
37923 (dl_main): Call setup_vdso.
37924
23c31b76
JM
379252012-10-05 Joseph Myers <joseph@codesourcery.com>
37926
28234b07
JM
37927 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37928 creal in comment listing functions tested. List finite, isinf,
37929 isnan, isless, islessequal, isgreater, isgreaterequal,
37930 islessgreater, isunordered, lgamma_r and pow10 as functions and
37931 macros not tested. Mention which functions not tested are aliases
37932 for other functions. Fix typo. Note that signs of NaNs are not
37933 tested.
37934
23c31b76
JM
37935 * scripts/config.guess: Update from config.git.
37936 * scripts/config.sub: Likewise.
37937
9043e228
RM
379382012-10-04 Roland McGrath <roland@hack.frob.com>
37939
37940 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37941 * misc/madvise.c (madvise): Renamed to __madvise.
37942 Make madvise a weak alias.
37943 * include/sys/mman.h: Declare __madvise.
37944 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37945 * sysdeps/unix/syscalls.list
37946 (madvise): Make __madvise the strong name, and madvise a weak alias.
37947 * sysdeps/unix/sysv/linux/syscalls.list
37948 (madvise, mmap): Remove redundant entries.
37949 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37950 * malloc/malloc.c (mtrim): Likewise.
37951 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37952
f57f8055
RM
379532012-10-03 Roland McGrath <roland@hack.frob.com>
37954
37955 * sysdeps/mach/hurd/dl-cache.c: File removed.
37956 * config.h.in (USE_LDCONFIG): New #undef.
37957 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37958 * configure: Regenerated.
37959 * elf/Makefile (dl-routines): Add dl-cache only under
37960 [$(use-ldconfig) = yes].
37961 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37962 cache on [USE_LDCONFIG].
37963 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37964 [USE_LDCONFIG].
37965 * elf/rtld.c (dl_main): Likewise.
37966
5bb0c10a
PT
379672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37968
37969 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37970 _SC_LEVEL4_CACHE_LINESIZE.
37971
010188c6
RM
379722012-10-03 Roland McGrath <roland@hack.frob.com>
37973
37974 * sysdeps/unix/bsd/confstr.h: File removed.
37975
b6c5ec07
AO
379762012-10-02 Alexandre Oliva <aoliva@redhat.com>
37977
37978 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37979 sys/sdt-config.h.
37980
408223d4
RM
379812012-10-02 Roland McGrath <roland@hack.frob.com>
37982
37983 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37984 Make 'mapoff' field ElfW(Off) rather than off_t.
37985
bb9510dc
DL
379862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37987
fc997c6e
DL
37988 * nscd/Makefile: Remove nscd-cflags and all its users.
37989 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37990 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37991
bb9510dc
DL
37992 [BZ #10631]
37993 * malloc.c (malloc_printerr): Clarify error message.
37994
05699367
L
379952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37996
37997 [BZ #14648]
37998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37999 Set bit_FMA_Usable if FMA is supported.
38000 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38001 macro.
38002 (bit_FMA4_Usable): Updated.
38003 (index_FMA_Usable): New macro.
38004 (CPUID_FMA): Likewise
38005 (HAS_FMA): Defined with bit_FMA_Usable.
38006
51367701
RM
380072012-10-01 Roland McGrath <roland@hack.frob.com>
38008
38009 * bits/types.h (__swblk_t): Type removed.
38010 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38011 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38013 (__SWBLK_T_TYPE): Likewise.
38014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38015 (__SWBLK_T_TYPE): Likewise.
38016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38017 (__SWBLK_T_TYPE): Likewise.
38018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38019 (__SWBLK_T_TYPE): Likewise.
38020
4d57bf63 380212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38022 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38023
38024 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38025 (xdr_mapname): Use YPMAXMAP as maxsize.
38026 (xdr_peername): Use YPMAXPEER as maxsize.
38027 (xdr_keydat): Use YPAXRECORD as maxsize.
38028 (xdr_valdat): Use YPMAXRECORD as maxsize.
38029
93c65d43
RM
380302012-10-01 Roland McGrath <roland@hack.frob.com>
38031
497a03d6
RM
38032 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38033
93c65d43
RM
38034 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38035 * csu/init-first.c: ... here.
38036 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38037 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38038 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38039 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38040 * sysdeps/i386/init-first.c: File removed.
38041 * sysdeps/sh/init-first.c: File removed.
38042
bec749fd
JM
380432012-10-01 Joseph Myers <joseph@codesourcery.com>
38044
38045 [BZ #14645]
38046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38047 if x * y might underflow to zero and z is zero.
38048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38050 * math/libm-test.inc (min_subnorm_value): New variable.
38051 (fma_test): Add more tests.
38052 (fma_test_towardzero): Likewise.
38053 (fma_test_downward): Likewise
38054 (fma_test_upward): Likewise.
38055 (initialize): Set min_subnorm_value.
38056
8ec5b013
JM
380572012-09-29 Joseph Myers <joseph@codesourcery.com>
38058
38059 [BZ #14638]
38060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38061 0 + 0.
38062 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38063 mode for addition resulting in exact zero.
38064 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38066 exact 0 + 0.
38067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38069 * math/libm-test.inc (fma_test): Add more tests.
38070 (fma_test_towardzero): New function.
38071 (fma_test_downward): Likewise.
38072 (fma_test_upward): Likewise.
38073 (main): Call the new functions.
38074
b1fa802e
DM
380752012-09-28 David S. Miller <davem@davemloft.net>
38076
38077 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38078
d3b9fd9e
RM
380792012-09-28 Roland McGrath <roland@hack.frob.com>
38080
ea4d37b3
RM
38081 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38082 instead of SIGALRM.
38083
ac51c949
RM
38084 * sysdeps/gnu/_G_config.h: Moved to ...
38085 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38086 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38087 * sysdeps/generic/_G_config.h: ... here.
38088
28c195f7
RM
38089 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38090
848917f9
RM
38091 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38092
6bacf05b
RM
38093 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38094 Conditionalize target on [libnss_test1.so-version].
38095
91363dbb
RM
38096 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38097
cc87f7d8
RM
38098 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38099 (elfobjdir): Move out of conditionals.
38100
b1c608fe
RM
38101 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38102 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38103 (__nss_lookup_function): Conditionalize label remove_from_tree on
38104 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38105
1d9a6d96
DM
381062012-09-28 David S. Miller <davem@davemloft.net>
38107
38108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38109 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38110 file.
38111 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38112 sysdep_routines.
38113 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38115 when HWCAP_SPARC_CRYPTO is present.
38116
72581615
PT
381172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38118
38119 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38120
715a900c
JL
381212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38122
38123 [BZ #6530]
38124 * stdio-common/vfprintf.c (process_string_arg): Revert
38125 2000-07-22 change.
38126
381272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38128
38129 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38130 for testcase.
38131 * stdio-common/tst-sprintf.c: Include <locale.h>
38132 (main): Test sprintf's handling of incomplete multibyte
38133 characters.
38134
9bac1d86
L
381352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38136
38137 * elf/dl-runtime.c (VERSYMIDX): Removed.
38138 * elf/dl-version.c (VERSYMIDX): Likewise.
38139 * elf/do-rel.h (VERSYMIDX): Likewise.
38140 (VALIDX): Likewise.
38141 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38142 * elf/rtld.c (VALIDX): Likewise.
38143 (ADDRIDX): Likewise.
9bac1d86
L
38144 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38145 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38146 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38147 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38148 (VALIDX): Likewise.
38149 (ADDRIDX): Likewise.
9bac1d86 38150
b31606c0
PT
381512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38152
38153 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38154
11541177
JL
381552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38156
38157 [BZ #11438]
38158 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38159 to global scope.
38160 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38161 addresses are in the same scope as 192.0.2/24.
38162 * posix/gai.conf: Document new scope table defaults.
38163
adb26fae
SP
381642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38165
38166 [BZ #5298]
38167 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38168 for ftell. Compute offsets from write pointers instead.
38169 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38170
4573c6b0
SP
381712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38172
38173 [BZ #14543]
38174 * libio/Makefile (tests): New test case tst-fseek.
38175 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38176 combination works in wide mode.
38177 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38178 state when the external buffer state changes.
38179
aa9bbfe6
DM
381802012-09-27 David S. Miller <davem@davemloft.net>
38181
38182 [BZ #14376]
38183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38184 pass reloc->r_addend in as the 'high' argument to
38185 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38186
784421e7
DM
38187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38188
c39bc8b8
PT
381892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38190
38191 * rt/tst-aio2.c: Include <pthread.h>.
38192 * rt/tst-aio3.c: Likewise.
38193
1ccc2399
SE
381942012-09-27 Steve Ellcey <sellcey@mips.com>
38195
38196 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38197
31ed4153
L
381982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38199
25f5f885
L
38200 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38201 contents on [SHARED].
31ed4153 38202
b7bfe116
MP
382032012-09-26 Marek Polacek <polacek@redhat.com>
38204
38205 [BZ #14530]
38206 [BZ #13741]
38207 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38208 for C++ and GCC <4.3 as well as for non GCC compilers.
38209
43c4edba
MT
382102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38211
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38213
6a1bf82f
RM
382142012-09-25 Roland McGrath <roland@hack.frob.com>
38215
38216 * Makefile.in (all, install): Declare with .PHONY.
38217 Reported by Michael Hope <michael.hope@linaro.org>.
38218
8ad11b9a
TMQMF
382192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38220
38221 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38222 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38223 system header.
38224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38225 Likewise.
38226 (sydep_routines): Add the new and the internal functions.
38227 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38228 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38230 (GLIBC_2.17): Add the new function.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38232 (GLIBC_2.17): Likewise.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38234 (GLIBC_2.17): Likewise.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38236 (GLIBC_2.17): Likewise.
38237 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38238
7e2fca8d
AM
382392012-09-25 Alan Modra <amodra@gmail.com>
38240
38241 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38242 Add release barrier before setting once_control to say
38243 initialisation is done. Add hints on lwarx. Use macro in
38244 place of isync.
38245 (clear_once_control): Add release barrier.
38246
b87c4b24
JM
382472012-09-25 Joseph Myers <joseph@codesourcery.com>
38248
d032e0d2
JM
38249 [BZ #13629]
38250 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38251 specially.
38252 * math/s_clog10.c (__clog10): Likewise.
38253 * math/s_clog10f.c (__clog10f): Likewise.
38254 * math/s_clog10l.c (__clog10l): Likewise.
38255 * math/s_clogf.c (__clogf): Likewise.
38256 * math/s_clogl.c (__clogl): Likewise.
38257 * math/Makefile (libm-calls): Add x2y2m1.
38258 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38259 (__x2y2m1): Likewise.
38260 (__x2y2m1l): Likewise.
38261 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38262 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38265 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38266 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38267 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38268 * sysdeps/i386/fpu/libm-test-ulps: Update.
38269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38270
b87c4b24
JM
38271 [BZ #14621]
38272 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38273 int as type of variable DEPTH.
38274 (glob): Use size_t instead of int as type of variables NEWCOUNT
38275 and OLD_PATHC.
38276
6d3bf199
LD
382772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38278
22bf5c17
LD
38279 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38280 Add s_sincosf-sse2.
38281 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38282 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38283 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38284 macros for using routine as __sincosf_ia32.
38285 Use macro for function declaration and weak_alias.
38286 * sysdeps/i386/fpu/libm-test-ulps: Update.
38287
38288 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38290
38291 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38292 subnormal argument.
38293 * math/s_cexpf.c (__cexpf): Likewise.
38294 * math/s_csinf.c (__csinf): Likewise.
38295 * math/s_csinhf.c (__csinhf): Likewise.
38296 * math/s_ctanf.c (__ctanf): Likewise.
38297 * math/s_ctanhf.c (__ctanhf): Likewise.
38298 * math/s_ccosh.c (__ccoshf): Likewise.
38299 * math/s_cexp.c (__cexpl): Likewise.
38300 * math/s_csin.c (__csin): Likewise.
38301 * math/s_csinh.c (__csinh): Likewise.
38302 * math/s_ctan.c (__ctan): Likewise.
38303 * math/s_ctanh.c (ctanh): Likewise.
38304 * math/s_ccoshl.c (__ccoshl): Likewise.
38305 * math/s_cexpl.c (__cexpl): Likewise.
38306 * math/s_csinl.c (__csinl): Likewise.
38307 * math/s_csinhl.c (__csinhl): Likewise.
38308 * math/s_ctanl.c (__ctanl): Likewise.
38309 * math/s_ctanhl.c (__ctanhl): Likewise.
38310
203e5603
JM
383112012-09-25 Joseph Myers <joseph@codesourcery.com>
38312
38313 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38314 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38315 (_IO_off_t): Define to __off_t, not _G_off_t.
38316 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38317 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38318 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38319 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38320 type of __dummy and __dummy2 fields.
38321 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38322 (_G_ssize_t): Likewise.
38323 (_G_off_t): Likewise.
38324 (_G_pid_t): Likewise.
38325 (_G_uid_t): Likewise.
38326 (_G_wchar_t): Likewise.
38327 (_G_wint_t): Likewise.
38328 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38329 (_G_ssize_t): Likewise.
38330 (_G_off_t): Likewise.
38331 (_G_pid_t): Likewise.
38332 (_G_uid_t): Likewise.
38333 (_G_wchar_t): Likewise.
38334 (_G_wint_t): Likewise.
38335 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38336 (_G_ssize_t): Likewise.
38337 (_G_off_t): Likewise.
38338 (_G_pid_t): Likewise.
38339 (_G_uid_t): Likewise.
38340 (_G_wchar_t): Likewise.
38341 (_G_wint_t): Likewise.
38342
9fab36eb
SP
383432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38344
38345 * malloc/arena.c: Include malloc-sysdep.h.
38346 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38347 is sufficient to shrink the heap or an unmap is needed.
38348 * sysdeps/generic/malloc-sysdep.h: New file. Define
38349 new function check_may_shrink_heap.
38350 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38351 new function check_may_shrink_heap.
38352
2b4f00d1
SP
383532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38354
38355 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38356 comments.
38357
9a9028b1
DL
383582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38359
57c69bef
DL
38360 * catgets/test-gencat.sh: Add "set -e".
38361 * elf/tst-pathopt.sh: Likewise.
38362 * grp/tst_fgetgrent.sh: Likewise.
38363 * iconvdata/run-iconv-test.sh: Likewise.
38364 * intl/tst-gettext.sh: Likewise.
38365 * intl/tst-gettext2.sh: Likewise.
38366 * intl/tst-gettext4.sh: Likewise.
38367 * intl/tst-gettext6.sh: Likewise.
38368 * intl/tst-translit.sh: Likewise.
38369 * io/ftwtest-sh: Likewise.
38370 * libio/test-freopen.sh: Likewise.
38371 * malloc/tst-mtrace.sh: Likewise.
38372 * posix/globtest.sh: Likewise.
38373 * posix/tst-getconf.sh: Likewise.
38374 * posix/wordexp-tst.sh: Likewise.
38375 * stdio-common/tst-printf.sh: Likewise.
38376 * stdio-common/tst-unbputc.sh: Likewise.
38377 * stdlib/tst-fmtmsg.sh: Likewise.
38378 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38379 * catgets/Makefile: Do not specify -e option when running
38380 testsuite shell scripts.
38381 * elf/Makefile: Likewise.
38382 * grp/Makefile: Likewise.
38383 * iconvdata/Makefile: Likewise.
38384 * intl/Makefile: Likewise.
38385 * io/Makefile: Likewise.
38386 * libio/Makefile: Likewise.
38387 * malloc/Makefile: Likewise.
38388 * posix/Makefile: Likewise.
38389 * stdio-common/Makefile: Likewise.
38390 * stdlib/Makefile: Likewise.
38391 * sysdeps/x86_64/Makefile: Likewise.
38392
9a9028b1
DL
38393 * io/ftwtest-sh: Add copyright header.
38394 * posix/globtest.sh: Likewise.
38395 * posix/tst-getconf.sh: Likewise.
38396 * posix/wordexp-tst.sh: Likewise.
38397 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38398
ced6f16e
L
383992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38400
94b32c39
L
38401 [BZ #13679]
38402 * Makeconfig (+link): Defined as $(+link-static) if
38403 $(build-shared) isn't yes.
38404 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38405 isn't yes.
38406 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38407
189e935b
L
38408 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38409
ced6f16e
L
38410 [BZ #14562]
38411 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38412 new chunk size with MALLOC_ALIGN_MASK.
38413
a9f8e53a
JM
384142012-09-24 Joseph Myers <joseph@codesourcery.com>
38415
38416 [BZ #5044]
38417 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38418 <rounding-mode.h>.
38419 (__printf_fphex): Determine rounding using get_rounding_mode and
38420 round_away.
38421 * stdio-common/tst-printf-round.c (struct hex_test): New
38422 structure.
38423 (hex_tests): New variable.
38424 (test_hex_in_one_mode): New function.
38425 (do_test): Also run tests for hex float output.
38426
43153109
JM
384272012-09-21 Joseph Myers <joseph@codesourcery.com>
38428
38429 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38430 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38431 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38432 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38433 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38434 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38435 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38437
8a26625d
JM
384382012-09-20 Joseph Myers <joseph@codesourcery.com>
38439
38440 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38441 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38442 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38443 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38444
f3fd569c
DL
384452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38446
38447 [BZ #14579]
38448 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38449 mode only.
38450 * elf/tst-rtld-load-self.sh: New test.
38451 * elf/Makefile: Run it.
38452
63bbedd4
JM
384532012-09-18 Joseph Myers <joseph@codesourcery.com>
38454
38455 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38456 (tst-writev-ENV): Remove.
38457 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38458
626f8b6a
CM
384592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38460
38461 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38462
b7aaa4d6
JM
384632012-09-17 Joseph Myers <joseph@codesourcery.com>
38464
38465 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38466 unconditional.
38467 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38468 Likewise.
38469 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38470 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38471 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38472 Likewise.
38473
65513990
L
384742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38475
38476 [BZ #14587]
38477 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38478 * config.make.in (have-cpp-asm-debuginfo): Removed.
38479 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38480 * configure: Regenerated.
38481
784761be
JM
384822012-09-14 Joseph Myers <joseph@codesourcery.com>
38483
38484 [BZ #5044]
38485 * stdio-common/printf_fp.c: Include <stdbool.h> and
38486 <rounding-mode.h>.
38487 (___printf_fp): Determine rounding using get_rounding_mode and
38488 round_away.
38489 * stdio-common/tst-printf-round.c: New file.
38490 * stdio-common/Makefile (tests): Add tst-printf-round.
38491 (link-libm): New variable.
38492 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38493
9503345f
L
384942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38495
38496 [BZ #14576]
38497 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38498 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38499 Likewise.
38500 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38501 Likewise.
38502
ad35fc00
JM
385032012-09-13 Joseph Myers <joseph@codesourcery.com>
38504
38505 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38506 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38507 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38509
6c9b0f68
JM
385102012-09-12 Joseph Myers <joseph@codesourcery.com>
38511
38512 [BZ #14518]
38513 * include/rounding-mode.h: New file.
38514 * sysdeps/generic/get-rounding-mode.h: Likewise.
38515 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38516 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38517 (MAX_VALUE): New macro.
38518 (MIN_VALUE): Likewise.
38519 (overflow_value): New function.
38520 (underflow_value): Likewise.
38521 (round_and_return): Use overflow_value and underflow_value to
38522 determine return values in overflow and underflow cases. Use
38523 round_away to determine rounding depending on rounding mode.
38524 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38525 determine return values in overflow and underflow cases.
38526 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38527 (struct test_results): New structure.
38528 (struct test): Use struct test_results to store expected results
38529 for all rounding modes.
38530 (TEST): Include expected results for all rounding modes.
38531 (test_in_one_mode): New function.
38532 (do_test): Use test_in_one_mode to compute and check results.
38533 Check results for all rounding modes.
38534 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38535 $(link-libm).
38536
19fcedd5
AM
385372012-12-09 Allan McRae <allan@archlinux.org>
38538
1e9d84cd 38539 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38540
8bbfd2f1
JM
385412012-09-11 Joseph Myers <joseph@codesourcery.com>
38542
38543 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38544 (_G_int32_t): Likewise.
38545 (_G_uint16_t): Likewise.
38546 (_G_uint32_t): Likewise.
38547 (_G_HAVE_BOOL): Likewise.
38548 (_G_HAVE_ATEXIT): Likewise.
38549 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38550 (_G_HAVE_IO_FILE_OPEN): Likewise.
38551 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38552 (_G_int32_t): Likewise.
38553 (_G_uint16_t): Likewise.
38554 (_G_uint32_t): Likewise.
38555 (_G_HAVE_BOOL): Likewise.
38556 (_G_HAVE_ATEXIT): Likewise.
38557 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38558 (_G_HAVE_IO_FILE_OPEN): Likewise.
38559 * sysdeps/mach/hurd/_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
b1dc5912
L
385682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38569
38570 * csu/libc-tls.c: Update copyright years.
38571
0e886ef9
JM
385722012-09-10 Joseph Myers <joseph@codesourcery.com>
38573
28361c5e
JM
38574 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38575 [!_G_USING_THUNKS]: Remove conditional code.
38576 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38577 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38578
0e886ef9
JM
38579 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38580 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38581 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38582 (_G_VTABLE_LABEL_PREFIX): Likewise.
38583 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38584 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38585 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38586 (_G_VTABLE_LABEL_PREFIX): Likewise.
38587 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38588 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38590 (_G_VTABLE_LABEL_PREFIX): Likewise.
38591 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38592
bcba7aa2
L
385932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38594
38595 * libio/Makefile: Include ../Makeconfig before tests.
38596 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38597 only if $(build-shared) is yes.
38598
06585ee8
L
38599 * iconv/gconv_db.c: Update copyright years.
38600
80ccd52c
LD
386012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38602
38603 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38604 unwind info if defined PIC. Fix special cases description.
38605 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38606
38607 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38608 DP_HI_MASK entry.
38609 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38610
691bc9c1
L
386112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38612
3d9b46b3
L
38613 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38614
de2139a9
L
38615 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38616 is NULL.
38617
5ca78dd0
L
38618 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38619 (LDLIBS-tst-chk4): This.
38620 (LDFLAGS-tst-chk5): Renamed to ...
38621 (LDLIBS-tst-chk5): This.
38622 (LDFLAGS-tst-chk6): Renamed to ...
38623 (LDLIBS-tst-chk6): This.
38624 (LDFLAGS-tst-lfschk4): Renamed to ...
38625 (LDLIBS-tst-lfschk4): This.
38626 (LDFLAGS-tst-lfschk5): Renamed to ...
38627 (LDLIBS-tst-lfschk5): This.
38628 (LDFLAGS-tst-lfschk6): Renamed to ...
38629 (LDLIBS-tst-lfschk6): This.
38630
691bc9c1
L
38631 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38632 on $(common-objpfx)soversions.mk.
38633
65cafb1c
JM
386342012-09-07 Joseph Myers <joseph@codesourcery.com>
38635
38636 [BZ #10014]
38637 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38638 example host name.
38639
c78ab094
SP
386402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38641
38642 * malloc/arena.c (arena_get_retry): New function that gets
38643 another arena for the caller to try its request on.
38644 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38645 current arena cannot fulfill the request.
38646 (__libc_memalign): Likewise.
38647 (__libc_memalign): Likewise.
38648 (__libc_pvalloc): Likewise.
38649 (__libc_calloc): Likewise.
38650
01f49f59
JT
386512012-09-05 John Tobey <john.tobey@gmail.com>
38652
38653 [BZ #13542]
38654 * manual/arith.texi (Operations on Complex): Fix description
38655 of carg branch cut.
38656
4c23fed5
JM
386572012-09-06 Joseph Myers <joseph@codesourcery.com>
38658
1d3c8572
JM
38659 [BZ #10014]
38660 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38661 host name.
38662
4c23fed5
JM
38663 [BZ #10038]
38664 * manual/memory.texi (Memory): Make order of menu items match
38665 order of sections.
38666
04570aaa
L
386672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38668
38669 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38670 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38671 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38672
b80af2f4
L
386732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38674
38675 * csu/libc-tls.c (static_dtv): Renamed to ...
38676 (_dl_static_dtv): This. Make it global.
38677 (_dl_initial_dtv): Removed.
38678 (__libc_setup_tls): Updated.
38679 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38680 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38681 DL_INITIAL_DTV.
38682
2abe9f15
PM
386832012-09-06 Petr Machata <pmachata@redhat.com>
38684
38685 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38686 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38687 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38688 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38689
0948c3af
L
386902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38691
38692 [BZ #14545]
38693 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38694 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38695 freeing dtv[-1].
38696
a5055ad1
L
386972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38698
38699 [BZ #14544]
38700 * Makeconfig (link-static-before-libc): Replace $(+prector)
38701 with $(+prectorT).
38702 (link-static-after-libc): Replace $(+postctor) with
38703 $(+postctorT).
38704 (link-bounded): Replace $(+prector)/$(+postctor) with
38705 $(+prectorT)/$(+postctorT).
38706 (+prectorT): New macro.
38707 (+postctorT): Likewise.
38708
ed8c2ecd
JM
387092012-09-06 Joseph Myers <joseph@codesourcery.com>
38710
38711 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38712 (round_str): Handle values above the maximum for IBM long double
38713 as inexact.
38714 * stdlib/tst-strtod-round.c (tests): Regenerated.
38715
14c996c8
AK
387162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38717
38718 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38719 assembler flag.
38720 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38721 zarch_nohighgprs around the zarch optimized routines.
38722 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38723 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38725 for zarch.
38726
430d6ce6
DM
387272012-09-05 David S. Miller <davem@davemloft.net>
38728
38729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38730
57f41c40
AS
38731 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38732 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38733 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38734 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38735 entries.
38736
24d4e01b
AO
387372012-09-05 Alexandre Oliva <aoliva@redhat.com>
38738
38739 * malloc/arena.c: Fold copyright years.
38740 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38741
61d58174
AO
387422012-09-05 Alexandre Oliva <aoliva@redhat.com>
38743
38744 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38745
20196a5e
AO
387462012-09-05 Alexandre Oliva <aoliva@redhat.com>
38747
38748 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38749
5c447383
AO
387502012-09-05 Alexandre Oliva <aoliva@redhat.com>
38751
38752 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38753 change internal state upon failure.
38754
fad64255
AO
387552012-09-05 Alexandre Oliva <aoliva@redhat.com>
38756
38757 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38758 * malloc/memusage.c (mmap): Likewise.
38759 (mmap64, mremap): Likewise. Adjust name in comment.
38760
1ffb8c90
SP
387612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38762
38763 * libio/fileops.c: Fix typos in comments.
38764 * libio/oldfileops.c: Likewise.
38765 * libio/wfileops.c: Likewise.
38766
6ef9cc37
SP
387672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38768
38769 [BZ #1349]
38770 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38771 (tst-malloc-usable-ENV): Set environment for test case.
38772 * malloc/hooks.c (malloc_check_get_size): New function to get
38773 requested size.
38774 * malloc/malloc.c (musable): Use malloc_check_get_size.
38775 * malloc/tst-malloc-usable.c: New test case.
38776
4d038ae3
AS
387772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38778
38779 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38780
c4e85184
AM
387812012-09-05 Allan McRae <allan@archlinux.org>
38782
b9dafc56 38783 [BZ #13966]
c4e85184
AM
38784 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38785 determine header location.
38786 * configure: Regenerated.
38787
e1343020
AS
387882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38789
38790 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38791 float format.
38792 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38793 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38794 format.
e1343020
AS
38795 (test): Regenerate.
38796
0a9f1987
DM
387972012-09-04 David S. Miller <davem@davemloft.net>
38798
38799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38802
29237804
FW
388032012-09-04 Florian Weimer <fweimer@redhat.com>
38804
38805 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38806 failures.
38807
edb3cb88
FW
38808 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38809
60160d83
JM
388102012-09-04 Joseph Myers <joseph@codesourcery.com>
38811
38812 [BZ #9914]
38813 * libio/iogetdelim.c: Include <limits.h>.
38814 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38815 + len + 1 would overflow.
38816
bcd6c8dc
AJ
388172012-09-03 Andreas Jaeger <aj@suse.de>
38818
38819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38820 * sysdeps/i386/fpu/libm-test-ulps: Update.
38821
4ffffbd2
LD
388222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38823
38824 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38825 Add s_sinf-sse2, s_conf-sse2.
38826
38827 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38828 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38830 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38831
38832 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38833 for using routine as __sinf_ia32.
38834 Use macro for function declaration and weak_alias.
38835 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38836 for using routine as __cosf_ia32.
38837 Use macro for function declaration and weak_alias.
38838
38839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38840 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38841
38842 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38843 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38845
38846 * math/libm-test.inc (cos_test): Add more test cases.
38847 (sin_test): Likewise.
38848 (sincos_test): Likewise.
38849
511fa286
AK
388502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38851
38852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38853 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38854 hidden.
38855 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38856
5f30cfec
L
388572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38858
38859 [BZ #14538]
38860 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38861 first element of the GOT.
38862 (elf_machine_load_address): Return the difference between
38863 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38864
0786794f
AM
388652012-09-01 Allan McRae <allan@archlinux.org>
38866
5f30cfec
L
38867 [BZ #13412]
38868 * configure.in (AWK): Require gawk version 3.0 or later.
38869 * configure: Regenerated.
0786794f 38870
26889eac
JM
388712012-09-01 Joseph Myers <joseph@codesourcery.com>
38872
38873 * sysdeps/unix/sysv/linux/kernel-features.h
38874 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38876 [__NR_clock_getres]: Make code unconditional.
38877 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38878 (clock_getcpuclockid): Remove code left unreachable by removal of
38879 conditionals.
38880 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38881 code unconditional.
38882 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38883 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38884 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38885 Make code unconditional.
38886 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38888 * sysdeps/unix/sysv/linux/clock_settime.c
38889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38890 conditional code.
38891 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38892 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38893
d22e28b0
L
388942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 [BZ #14476]
38897 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38898 scripts/test-installation.pl.
38899
38900 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38901 and $ld_so_version if it is set.
38902
050af9c4
SP
389032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38904
38905 [BZ #14516]
38906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38907 failure if reading from procfs failed.
38908 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38909
ad845c0b
JM
389102012-08-27 Joseph Myers <joseph@codesourcery.com>
38911
38912 * sysdeps/unix/sysv/linux/kernel-features.h
38913 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38914 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38915 Remove conditional code.
38916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38917 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38918 Remove conditional code.
38919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38920 * sysdeps/unix/sysv/linux/i386/fxstat.c
38921 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38923 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38924 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38926 * sysdeps/unix/sysv/linux/i386/lxstat.c
38927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38929 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38930 Remove conditional code.
38931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38932 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38933 Remove conditional code.
38934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38935 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38936 <kernel-features.h>.
38937 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38938 Remove.
38939 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38940 Remove conditional code.
38941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38942 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38943 Remove conditional.
38944
5dbf56af
MF
389452012-08-27 Mike Frysinger <vapier@gentoo.org>
38946
38947 [BZ #5400]
38948 * NEWS: Add fixed bug number.
38949
d6e70f43
JM
389502012-08-27 Joseph Myers <joseph@codesourcery.com>
38951
7efb4737
JM
38952 [BZ #14519]
38953 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38954 underflowing exponent in case of negative sign.
38955 * stdlib/tst-strtod-round-data: Add more tests.
38956 * stdlib/tst-strtod-round.c (tests): Regenerated.
38957
af92131a
JM
38958 [BZ #3479]
38959 * stdlib/strtod_l.c (NDIG): Remove.
38960 (HEXNDIG): Likewise.
38961 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38962 smallest representable value.
38963 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38964 lie within an exact representation of 1/2 ulp of the result.
38965 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38966 unconditionally.
38967 (TENS_P9_IDX): Define unconditionally.
38968 (TENS_P9_SIZE): Likewise.
38969 (TENS_P10_IDX): Likewise.
38970 (TENS_P10_SIZE): Likewise.
38971 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38972 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38973 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38974 entries for 10^2^13 and 10^2^14.
38975 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38976 (TENS_P13_IDX): Define.
38977 (TENS_P13_SIZE): Likewise.
38978 (TENS_P14_IDX): Likewise.
38979 (TENS_P14_SIZE): Likewise.
38980 (_fpioconst_pow10): Change array size to
38981 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38982 unconditional.
38983 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38984 1024]: Add entries for 10^2^13 and 10^2^14.
38985 [LAST_POW10 > _LAST_POW10]: Remove #error.
38986 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38987 (_fpioconst_pow10): Change array size to
38988 FPIOCONST_POW10_ARRAY_SIZE.
38989 * stdlib/gen-fpioconst.c: New file.
38990 * stdlib/gen-tst-strtod-round.c: Likewise.
38991 * stdlib/tst-strtod-round-data: Likewise.
38992 * stdlib/tst-strtod-round.c: Likewise.
38993 * stdlib/Makefile (tests): Add tst-strtod-round.
38994
d6e70f43
JM
38995 [BZ #14459]
38996 * stdlib/strtod_l.c: Include <stdint.h>.
38997 (NDEBUG): Do not define.
38998 (round_and_return): Change EXPONENT parameter to type intmax_t.
38999 Rearrange calculations to avoid internal overflow possibilities.
39000 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39001 Rearrange calculations to avoid internal overflow possibilities.
39002 Assert that number fits inside MPNSIZE limbs.
39003 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39004 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39005 calculations and add assertions to avoid internal overflow
39006 possibilities. Add casts to avoid signed/unsigned operations.
39007 * stdlib/tst-strtod-overflow.c: New file.
39008 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39009
1f529f7d
MP
390102012-08-25 Marek Polacek <polacek@redhat.com>
39011
39012 * time/time.h: Fix some typos in comments.
39013
59a629f1
RM
390142012-08-23 Roland McGrath <roland@hack.frob.com>
39015
39016 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39017 * posix/tst-rfc3484-2.c: Likewise.
39018 * posix/tst-rfc3484-3.c: Likewise.
39019
d3bafbc9
SM
390202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39021
39022 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39023 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39024
4efcc022
JM
390252012-08-23 Joseph Myers <joseph@codesourcery.com>
39026
39027 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39028 #include of fxstatat64.c.
39029
3cc3ef96
RM
390302012-08-22 Roland McGrath <roland@hack.frob.com>
39031
f04e2132
RM
39032 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39033 * shadow/getspent_r.c: Likewise.
39034 * shadow/getspnam.c: Likewise.
39035 * shadow/getspnam_r.c: Likewise.
39036 * gshadow/getsgent.c: Likewise.
39037 * gshadow/getsgent_r.c: Likewise.
39038 * gshadow/getsgnam.c: Likewise.
39039 * gshadow/getsgnam_r.c: Likewise.
39040 * inet/getnetbyad.c: Likewise.
39041 * inet/getnetbyad_r.c: Likewise.
39042 * inet/getnetbynm.c: Likewise.
39043 * inet/getnetbynm_r.c: Likewise.
39044 * inet/getnetent.c: Likewise.
39045 * inet/getnetent_r.c: Likewise.
39046 * inet/getproto.c: Likewise.
39047 * inet/getproto_r.c: Likewise.
39048 * inet/getprtent.c: Likewise.
39049 * inet/getprtent_r.c: Likewise.
39050 * inet/getprtname.c: Likewise.
39051 * inet/getprtname_r.c: Likewise.
39052 * inet/getrpcbyname.c: Likewise.
39053 * inet/getrpcbyname_r.c: Likewise.
39054 * inet/getrpcbynumber.c: Likewise.
39055 * inet/getrpcbynumber_r.c: Likewise.
39056 * inet/getrpcent.c: Likewise.
39057 * inet/getrpcent_r.c: Likewise.
39058 * inet/getaliasent.c: Likewise.
39059 * inet/getaliasent_r.c: Likewise.
39060 * inet/getaliasname.c: Likewise.
39061 * inet/getaliasname_r.c: Likewise.
39062 * nscd/getgrgid_r.c: Likewise.
39063 * nscd/getgrnam_r.c: Likewise.
39064 * nscd/gethstbyad_r.c: Likewise.
39065 * nscd/gethstbynm3_r.c: Likewise.
39066 * nscd/getpwnam_r.c: Likewise.
39067 * nscd/getpwuid_r.c: Likewise.
39068 * nscd/getsrvbynm_r.c: Likewise.
39069 * nscd/getsrvbypt_r.c: Likewise.
39070 * nscd/gai.c: Likewise.
39071
c53d909c
RM
39072 * configure.in (build_nscd): New substituted variable, set
39073 by --disable-build-nscd and defaults to $use_nscd.
39074 * configure: Regenerated.
39075 * config.make.in (build-nscd): New substituted variable.
39076 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39077 Change conditional to require [$(build-nscd) = yes] as well.
39078 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39079
3cc3ef96
RM
39080 [BZ# 13696]
39081 * configure.in (use_nscd): New substituted variable, set by
39082 --disable-nscd. If enabled, define USE_NSCD.
39083 * configure: Regenerated.
39084 * config.h.in: Add USE_NSCD.
39085 * config.make.in (use-nscd): New substituted variable.
39086 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39087 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39088 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39089 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39090 (CFLAGS-getgrnam_r.c): Likewise.
39091 (CFLAGS-initgroups.c): Likewise.
39092 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39093 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39094 Variables removed.
39095 * inet/getnetgrent_r.c
39096 (nscd_setnetgrent): New function, broken out of ...
39097 (setnetgrent): ... here. Call it.
39098 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39099 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39100 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39101 * nscd/Makefile (routines, aux): Move definitions after include of
39102 Makeconfig. Conditionalize on [$(use-nscd) != no].
39103 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39104 Conditionalize on [USE_NSCD].
39105 (is_nscd, nscd_init_cb): Likewise.
39106 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39107 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39108 * nss/nss_db/db-init.c: Likewise.
39109 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39110 [USE_NSCD].
39111 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39112 (make_request): Use it.
39113 (cache_valid_p): New function.
39114 (__check_pf): Use it.
39115 * NEWS: Add item for --disable-nscd.
39116
07e51550
DL
391172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39118
39119 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39120 to support sed >= 4.2.1-20-ga9bf076.
39121 * configure: Regenerated.
39122
35a5b08b
RM
391232012-08-22 Roland McGrath <roland@hack.frob.com>
39124
39125 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39126 Conditionalize whole body on [IREL].
39127
8479f23a
JL
391282012-08-22 Jeff Law <law@redhat.com>
39129
39130 [BZ #14505]
39131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39132 if the family is PF_UNSPEC.
39133
48da0b21
MF
391342012-08-22 Mike Frysinger <vapier@gentoo.org>
39135
39136 * Makerules (lib-version): Rename from V.
39137 (install-lib-nosubdir): Change V to lib-version.
39138
15d0da8c
WS
391392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39140
39141 [BZ #14252]
39142 * powerpc32/power6/wcschr.c: New file.
39143 * powerpc32/power6/wcscpy.c: New file.
39144 * powerpc32/power6/wcsrchr.c: New file.
39145 * powerpc64/power6/wcschr.c: New file.
39146 * powerpc64/power6/wcscpy.c: New file.
39147 * powerpc64/power6/wcsrchr.c: New file.
39148
bcca0895
MK
391492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39150
39151 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39152 (two_way_short_needle): Use it.
5a4aaa33
RM
39153 * string/strstr.c (AVAILABLE1_USES_J): Define.
39154 * string/strcasestr.c: Likewise.
99677e57
MK
39155
39156 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39157 array references.
39158 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39159
400726de
MK
39160 [BZ #11607]
39161 * NEWS: Add an entry.
39162 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39163 define their defaults.
39164 (two_way_short_needle): Detect end-of-string on-the-fly.
39165 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39166 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39167 * string/bug-strcasestr1.c: New test.
39168 * string/Makefile: Run it.
39169
20a71f2c
MK
391702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39171
39172 [BZ #11607]
39173 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39174 the first character.
39175
21ad0558
RM
391762012-08-21 Roland McGrath <roland@hack.frob.com>
39177
39178 * csu/elf-init.c (__libc_csu_irel): Function removed.
39179 * csu/libc-start.c (apply_irel): New function.
39180 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39181
0e1d9911
JM
391822012-08-21 Joseph Myers <joseph@codesourcery.com>
39183
39184 * sysdeps/unix/sysv/linux/kernel-features.h
39185 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39187 <kernel-features.h>.
39188 [__NR_fadvise64_64]: Make code unconditional.
39189 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39190 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39191 !__NR_fadvise64_64)]: Likewise.
39192 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39193 !__NR_fadvise64_64))]: Likewise.
39194 [__NR_fadvise64]: Make code unconditional.
39195 [!__NR_fadvise64]: Remove conditional code.
39196 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39197 <kernel-features.h>.
39198 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39199 unconditional.
39200 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39201 conditional code.
39202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39203 not include <kernel-features.h>.
39204 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39205 unconditional.
39206 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39207 conditional code.
39208 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39209 include <kernel-features.h>.
39210 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39211 unconditional.
39212 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39213 conditional code.
39214
14a50c9d
WS
392152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39216
39217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39218 slight instruction rearrangements per scrollpipe analysis.
39219 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39220
c0f4faf0
RM
392212012-08-20 Roland McGrath <roland@hack.frob.com>
39222
696da859
RM
39223 * manual/syslog.texi (syslog; vsyslog, closelog):
39224 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39225 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39226
c0f4faf0
RM
39227 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39228 DSOCAPS to match condition on defining it.
39229
348363b2
JM
392302012-08-20 Joseph Myers <joseph@codesourcery.com>
39231
a35cbf28
JM
39232 * sysdeps/unix/sysv/linux/kernel-features.h
39233 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39235 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39236 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39238 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39239 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39243
445f7ecd
JM
39244 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39245 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39246
348363b2
JM
39247 * sysdeps/unix/sysv/linux/kernel-features.h
39248 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39249 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39250 unconditional.
39251 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39252 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39253 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39254 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39255 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39256 Make code unconditional.
39257 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39258 (__mmap64) [!__NR_mmap2]: Likewise.
39259 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39262 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39263 [__NR_mmap2]: Make code unconditional.
39264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39265 (__mmap64) [!__NR_mmap2]: Likewise.
39266
bc5bc0e5
AK
392672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39268
39269 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39270
88d506de
AJ
392712012-08-18 Andreas Jaeger <aj@suse.de>
39272
39273 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39274
493387d2
MF
392752012-08-18 Mike Frysinger <vapier@gentoo.org>
39276
39277 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39278 * include/unistd.h (__have_sock_cloexec): Likewise.
39279 (__have_pipe2): Likewise.
39280 (__have_dup3): Likewise.
39281
a277af22
MF
392822012-08-18 Mike Frysinger <vapier@gentoo.org>
39283
39284 [BZ #9685]
39285 * include/unistd.h (__have_pipe2): Change define into an extern int.
39286 (__have_dup3): Likewise.
39287 * socket/have_sock_cloexec.c: Include fcntl.h.
39288 (__have_pipe2): New variable.
39289 (__have_dup3): Likewise.
39290
fdab8fd3
MF
392912012-08-17 Mike Frysinger <vapier@gentoo.org>
39292
39293 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39294
31035e80
MP
392952012-08-17 Marek Polacek <polacek@redhat.com>
39296
39297 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39298 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39299
3bd9e993
RM
393002012-08-17 Roland McGrath <roland@hack.frob.com>
39301
c91c505f
RM
39302 * configure.in: Add AC_SUBST for sysheaders.
39303 * configure: Regenerated.
39304 * config.make.in (sysheaders): New substituted variable.
39305
7c6f9d53
RM
39306 * sysdeps/unix/mkfifo.c: Moved ...
39307 * sysdeps/posix/mkfifo.c: ... here.
39308 * sysdeps/unix/mkfifoat.c: Moved ...
39309 * sysdeps/posix/mkfifoat.c: ... here.
39310
39311 * sysdeps/unix/utime.c: Moved ...
39312 * sysdeps/posix/utime.c: ... here.
39313
39314 * sysdeps/unix/time.c: Moved ...
39315 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39316 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39317 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39318
39319 * sysdeps/unix/nice.c: Moved ...
39320 * sysdeps/posix/nice.c: ... here.
39321
39322 * sysdeps/unix/alarm.c: Moved ...
39323 * sysdeps/posix/alarm.c: ... here.
39324
3bd9e993
RM
39325 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39326
d1f09384
JL
393272012-08-17 Jeff Law <law@redhat.com>
39328
39329 * intl/Makefile (codeset_mo): New variable.
39330 ($(codeset_mo)): New target.
39331 (tst-codeset.out): Depend on that. Remove explicit rule.
39332 (tst-gettext3.out, tst-gettext5.out): Likewise.
39333 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39334 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39335 * intl/tst-codeset.sh: Remove.
39336 * intl/tst-gettext3.sh: Likewise.
39337 * intl/tst-gettext5.sh: Likewise.
39338
2ae1ae5c
RM
393392012-08-17 Roland McGrath <roland@hack.frob.com>
39340
c31fdb83
RM
39341 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39342 * sysdeps/unix/syscalls.list: ... here.
39343
a0844057
RM
39344 * sysdeps/posix/getaddrinfo.c
39345 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39346 (gaiconf_init, gaiconf_reload): Use them.
39347 [!_STATBUF_ST_NSEC]
39348 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39349 Define using time_t rather than struct timespec.
39350
750c1f2a
RM
39351 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39352 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39353 Macros removed.
39354 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39355 [!NO_THREADS].
39356 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39357 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39358 Likewise.
39359
2ae1ae5c
RM
39360 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39361 __libc_cleanup_push argument.
39362
e66a42f5
RM
39363 * bits/param.h: New file.
39364 * misc/sys/param.h: New file.
39365 * include/sys/param.h: New file.
39366 * misc/Makefile (headers): Add bits/param.h.
39367 * sysdeps/generic/sys/param.h: File removed.
39368 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39369 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39370 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39371 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39372
b7c08a66
RM
39373 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39374 last change.
39375
b2e1c562
RM
39376 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39377 [_IO_MTSAFE_IO].
39378 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39379 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39380 New macros.
39381
c75ccd4c
RM
39382 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39383 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39384 rather than -D_IO_MTSAFE_IO conditionally.
39385 * stdio-common/Makefile (CPPFLAGS): Likewise.
39386 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39387 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39388 Use $(libio-mtsafe).
39389 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39390 of -D_IO_MTSAFE_IO.
39391 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39392 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39393 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39394 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39395 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39396 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39397 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39398 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39399 (CFLAGS-fread_u_chk.c): Likewise.
39400 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39401 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39402 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39403 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39404 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39405 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39406 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39407 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39408 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39409
39410 * libio/Makefile: Test [$(libc-reentrant) = yes]
39411 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39412
39413 * Makeconfig
39414 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39415 * sysdeps/pthread/configure: File removed.
39416 * sysdeps/pthread/Makeconfig: New file.
39417 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39418 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39419
d9195db8
GB
394202012-08-16 Gary Benson <gbenson@redhat.com>
39421
39422 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39423 unmapping the first object in a namespace.
39424
86466cd9
RM
394252012-08-16 Roland McGrath <roland@hack.frob.com>
39426
39427 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39428 (__internal_setnetgrent): ... this. Add internal_function to
39429 definition. Add libc_hidden_def.
39430 (setnetgrent): Update caller.
39431 (internal_endnetgrent): Renamed to ...
39432 (__internal_endnetgrent): ... this. Add internal_function to
39433 definition. Add libc_hidden_def.
39434 (endnetgrent): Update caller.
39435 (internal_getnetgrent_r): Renamed to ...
39436 (__internal_getnetgrent_r): ... this. Add internal_function to
39437 definition. Add libc_hidden_def.
39438 (__getnetgrent_r): Update caller.
39439 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39440
c3c8283c
JM
394412012-08-16 Joseph Myers <joseph@codesourcery.com>
39442
39443 * stdlib/longlong.h: Update from GCC.
39444
db1ee0a8
RM
394452012-08-16 Roland McGrath <roland@hack.frob.com>
39446
39447 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39448 on _QL, which is set by umul_ppmm but never used.
39449 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39450 variables, which are set by GMP macros but never used.
39451 * stdio-common/_itowa.c (_itowa): Likewise.
39452 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39453 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39454
30f69637
CD
394552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39456
39457 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39458 struct La_sh_regs is not constant.
39459 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39460 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39461 and struct La_sparc64_regs are not constant.
39462
93a78ac4
JM
394632012-08-16 Joseph Myers <joseph@codesourcery.com>
39464
39465 * sysdeps/unix/sysv/linux/kernel-features.h
39466 (__ASSUME_POSIX_TIMERS): Remove.
39467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39468 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39469 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39470 Make code unconditional.
39471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39472 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39473 Make code unconditional.
39474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39475 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39476 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39478 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39479 Make code unconditional.
39480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39481 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39482 (__libc_missing_posix_timers): Remove.
39483
dd924cd7
RM
394842012-08-15 Roland McGrath <roland@hack.frob.com>
39485
4b4f2771
RM
39486 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39487 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39488
601c888b
RM
39489 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39490
176790a7
RM
39491 * elf/dl-sym.c: Include <stdlib.h>.
39492
329bc018
RM
39493 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39494 constants, which avoids warnings in 32-bit builds.
39495
e04e272d
RM
39496 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39497 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39498
952bf94a
RM
39499 * misc/lseek.c: File moved to ...
39500 * io/lseek.c: ... here.
39501
7c99b50a
RM
39502 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39503
dd924cd7
RM
39504 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39505 shifting LEN more than 31 bits at once.
39506
b3f479a8
LD
395072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39508
39509 [BZ #14195]
8c4ae0d4
RM
39510 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39511 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39512 * string/test-strncasecmp.c (check1): Renamed to...
39513 (bz12205): ...this.
39514 (bz14195): Add new testcase for two empty input strings and N > 0.
39515 (test_main): Call new testcase, adapt for renamed function.
39516
9c55864e
AJ
395172012-08-15 Andreas Jaeger <aj@suse.de>
39518
39519 [BZ #14090]
39520 * crypt/md5test2.c: New test, based on test supplied by Serge
39521 Belyshev <belyshev@depni.sinp.msu.ru>.
39522 * crypt/Makefile (xtests): Add md5test-giant..
39523 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39524
02dcb6c5
PE
395252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39526
39527 [BZ #14090]
39528 * crypt/md5.c (md5_process_block): Don't assume the buffer
39529 length is less than 2**32.
39530 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39531 length is less than 2**64.
39532
a3f95dcc
RM
395332012-08-15 Roland McGrath <roland@hack.frob.com>
39534
be75d758
RM
39535 * string/str-two-way.h: Include <sys/param.h>.
39536 (MAX): Macro removed.
39537
7312ca90
RM
39538 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39539 Move #define and #undef of memmove to just before and after
39540 including <string.h>.
39541
9a0a5486
RM
39542 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39543 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39544 and after including <string.h>. Move declarations of
39545 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39546 to before #include "string/memmove.c".
39547
67cc348d
RM
39548 * include/dirent.h: Declare __getdirentries.
39549
a3f95dcc
RM
39550 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39551 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39552
ca98e171
MF
395532012-08-14 Mike Frysinger <vapier@gentoo.org>
39554
39555 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39556 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39557 * sysdeps/i386/configure: Regenerated.
39558 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39559 STABS_CURRENT_FILE, and STABS_FUN.
39560 (END): Remove call to STABS_FUN_END.
39561 (STABS_CURRENT_FILE1): Delete.
39562 (STABS_CURRENT_FILE): Likewise.
39563 (STABS_FUN): Likewise.
39564 (STABS_FUN_END): Likewise.
39565 (STABS_FUN2): Likewise.
39566 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39567 * sysdeps/x86_64/configure: Regenerated.
39568
5908bf46
RM
395692012-08-14 Roland McGrath <roland@hack.frob.com>
39570
39571 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39572 * elf/dl-lookup.c: Likewise.
5908bf46 39573
f2c05b9e
JM
395742012-08-14 Joseph Myers <joseph@codesourcery.com>
39575
39576 * sysdeps/unix/sysv/linux/kernel-features.h
39577 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39578 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39579 unconditionally.
39580 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39581 unconditionally.
39582 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39583 condition on __ASSUME_CLONE_THREAD_FLAGS.
39584
e11f5155
AJ
395852012-08-14 Andreas Jaeger <aj@suse.de>
39586
39587 * sysdeps/i386/fpu/libm-test-ulps: Update.
39588
51a9ba86
MK
395892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39590
2fdd4f78
AJ
39591 * include/atomic.h (atomic_exchange_and_add): Split into ...
39592 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39593 New atomic macros.
51a9ba86 39594
ba6cba9e
MT
395952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39596
39597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39598
42443a47
JL
395992012-08-13 Jeff Law <law@redhat.com>
39600
39601 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39602 null byte in the output string.
39603
121dce05
JM
396042012-08-10 Joseph Myers <joseph@codesourcery.com>
39605
39606 * sysdeps/unix/sysv/linux/kernel-features.h
39607 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39608 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39609 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39610 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39611 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39612 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39613 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39614
bf51f568
JL
396152012-08-09 Jeff Law <law@redhat.com>
39616
39617 [BZ #13939]
39618 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39619 When avoid_arena is set, don't retry in the that arena. Pick the
39620 next one, whatever it might be.
39621 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39622 (arena_lock): Pass in new parameter to arena_get2.
39623 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39624 arena_get2.
39625 (__libc_malloc): Unify retrying after main arena failure with
39626 __libc_memalign version.
39627 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39628
f85fa270
L
396292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39630
39631 [BZ #14166]
39632 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39633 to __redirect_strstr.
39634 (__strstr_sse42): Use typeof __redirect_strstr.
39635 (__strstr_ia32): Likewise.
39636 (__libc_strstr): New prototype.
39637 (strstr): Renamed to ...
39638 (__libc_strstr): This.
39639 (strstr): New strong alias of __libc_strstr.
39640 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39641 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39642 __redirect_time.
39643 Include <time.h>.
39644 (__libc_time): New prototype.
39645 (time_ifunc): Replace time with __libc_time.
39646 (time): New strong alias and hidden definition of __libc_time.
39647 (__GI_time): Remove strong alias.
39648 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39649 Include <stddef.h>.
39650 (memmove): Redefined to __redirect_memmove.
39651 (__memmove_sse2): Use typeof __redirect_memmove.
39652 (__memmove_ssse3): Likewise.
39653 (__memmove_ssse3_back): Likewise.
39654 (__libc_memmove): New prototype.
39655 (memmove): Renamed to ...
39656 (__libc_memmove): This.
39657 (memmove): New strong alias of __libc_memmove.
39658
33b4a91e
MS
396592012-08-08 Mark Salter <msalter@redhat.com>
39660
39661 * elf/elf.h
39662 (R_MN10300_TLS_GD): Define.
39663 (R_MN10300_TLS_LD): Likewise.
39664 (R_MN10300_TLS_LDO): Likewise.
39665 (R_MN10300_TLS_GOTIE): Likewise.
39666 (R_MN10300_TLS_IE): Likewise.
39667 (R_MN10300_TLS_LE): Likewise.
39668 (R_MN10300_TLS_DTPMOD): Likewise.
39669 (R_MN10300_TLS_DTPOFF): Likewise.
39670 (R_MN10300_TLS_TPOFF): Likewise.
39671 (R_MN10300_SYM_DIFF): Likewise.
39672 (R_MN10300_ALIGN): Likewise.
39673 (R_MN10300_NUM): Update.
39674
b36137f1
JM
396752012-08-08 Joseph Myers <joseph@codesourcery.com>
39676
39677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39678 Remove.
39679
cdd915fd
RM
396802012-08-08 Roland McGrath <roland@hack.frob.com>
39681
a2433aac
RM
39682 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39683
cdd915fd
RM
39684 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39685 sysdeps/unix -> sysdeps/posix move.
39686 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39687
bf9b740a
AM
396882012-08-07 Allan McRae <allan@archlinux.org>
39689
39690 [BZ #14303]
39691 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39692 (SUNOS_CPP): Likewise.
39693 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39694 not found.
39695 (open_input): Call CPP using execvp.
39696
93df14ee
JM
396972012-08-07 Joseph Myers <joseph@codesourcery.com>
39698
39699 * sysdeps/unix/sysv/linux/kernel-features.h
39700 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39701 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39702 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39703 (__ASSUME_WAITID_SYSCALL): Likewise.
39704 * sysdeps/unix/sysv/linux/dl-execstack.c
39705 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39706 code unconditional.
39707 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39708 conditional code.
39709 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39710 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39711 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39712 code.
39713 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39714 unconditional.
39715 [__ASSUME_WAITID_SYSCALL]: Likewise.
39716 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39717
d34689de
RM
397182012-08-07 Roland McGrath <roland@hack.frob.com>
39719
a281decc
RM
39720 * sysdeps/unix/closedir.c: Renamed to ...
39721 * sysdeps/posix/closedir.c: ... here.
39722 * sysdeps/unix/dirfd.c: Renamed to ...
39723 * sysdeps/posix/dirfd.c: ... here.
39724 * sysdeps/unix/dirstream.h: Renamed to ...
39725 * sysdeps/posix/dirstream.h: ... here.
39726 * sysdeps/unix/fdopendir.c: Renamed to ...
39727 * sysdeps/posix/fdopendir.c: ... here.
39728 * sysdeps/unix/opendir.c: Renamed to ...
39729 * sysdeps/posix/opendir.c: ... here.
39730 * sysdeps/unix/readdir.c: Renamed to ...
39731 * sysdeps/posix/readdir.c: ... here.
39732 * sysdeps/unix/readdir_r.c: Renamed to ...
39733 * sysdeps/posix/readdir_r.c: ... here.
39734 * sysdeps/unix/rewinddir.c: Renamed to ...
39735 * sysdeps/posix/rewinddir.c: ... here.
39736 * sysdeps/unix/seekdir.c: Renamed to ...
39737 * sysdeps/posix/seekdir.c: ... here.
39738 * sysdeps/unix/telldir.c: Renamed to ...
39739 * sysdeps/posix/telldir.c: ... here.
39740 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39741 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39742 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39743 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39744
22895b47
RM
39745 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39746 * bits/fcntl.h: ... here.
39747
707a53b6
RM
39748 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39749 not 0.
39750 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39751 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39752 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39753 (struct flock): Move l_start, l_len to the beginning.
39754 Use __pid_t for l_pid.
39755 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39756 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39757 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39758 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39759 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39760 [__USE_LARGEFILE64] (struct flock64): New type.
39761 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39762
f0bd3e25
RM
39763 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39764 * bits/dirent.h: ... here.
39765
d34689de
RM
39766 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39767 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39768
6dad2c06
JM
397692012-08-07 Joseph Myers <joseph@codesourcery.com>
39770
39771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39772 Change from 2.6.0 to 2.6.16.
39773 * sysdeps/unix/sysv/linux/configure: Regenerated.
39774 * sysdeps/unix/sysv/linux/kernel-features.h
39775 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39776 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39777 version.
39778 (__ASSUME_UTIMES): Likewise.
39779 (__ASSUME_CLONE_STOPPED): Remove.
39780 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39781 architectures, not kernel version.
39782 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39783 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39784 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39785 (__ASSUME_WAITID_SYSCALL): Likewise.
39786 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39787 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39788 * README: State 2.6.16 as minimum Linux kernel version. Do not
39789 refer to older versions.
39790
03af9520
RM
397912012-08-06 Roland McGrath <roland@hack.frob.com>
39792
8e49df1d
RM
39793 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39794 Define alphasort64 as an alias.
39795 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39796 Define versionsort64 as an alias.
39797 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39798 Define scandir64 as an alias.
39799 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39800 Define scandirat64 as an alias.
39801 * dirent/alphasort64.c (alphasort64):
39802 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39803 * dirent/versionsort64.c: Likewise.
39804 * dirent/scandir64.c: Likewise.
39805 * dirent/scandirat64.c: Likewise.
39806 * sysdeps/wordsize-64/alphasort.c: File removed.
39807 * sysdeps/wordsize-64/alphasort64.c: File removed.
39808 * sysdeps/wordsize-64/scandir.c: File removed.
39809 * sysdeps/wordsize-64/scandir64.c: File removed.
39810 * sysdeps/wordsize-64/scandirat.c: File removed.
39811 * sysdeps/wordsize-64/scandirat64.c: File removed.
39812 * sysdeps/wordsize-64/versionsort.c: File removed.
39813 * sysdeps/wordsize-64/versionsort64.c: File removed.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39815 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39816 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39817 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39818 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39819 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39822
39823 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39825 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39827 [defined __arch64__ || defined __sparcv9]
39828 (__INO_T_MATCHES_INO64_T): New macro.
39829 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39830 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39831 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39832 * sysdeps/unix/sysv/linux/bits/dirent.h
39833 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39834 (_DIRENT_MATCHES_DIRENT64): New macro.
39835
03af9520
RM
39836 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39837 Define lockf64 as an alias.
39838 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39839 Define fseeko64 as an alias.
39840 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39841 Define ftello64 as an alias.
39842 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39843 Define _IO_fgetpos64 and fgetpos64 as aliases.
39844 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39845 Define _IO_fsetpos64 and fsetpos64 as aliases.
39846 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39847 Conditionalize body on this.
39848 * libio/fseeko64.c: Likewise.
39849 * libio/ftello64.c: Likewise.
39850 * libio/iofgetpos64.c: Likewise.
39851 * libio/iofsetpos64.c: Likewise.
39852 * sysdeps/wordsize-64/lockf.c: File removed.
39853 * sysdeps/wordsize-64/lockf64.c: File removed.
39854 * sysdeps/wordsize-64/fseeko.c: File removed.
39855 * sysdeps/wordsize-64/fseeko64.c: File removed.
39856 * sysdeps/wordsize-64/ftello.c: File removed.
39857 * sysdeps/wordsize-64/ftello64.c: File removed.
39858 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39859 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39860 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39861 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39865 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39867 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39868 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39869 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39870 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39871 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39872
39873 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39875 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39877 [defined __arch64__ || defined __sparcv9]
39878 (__OFF_T_MATCHES_OFF64_T): New macro.
39879 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39880 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39882 (__OFF_T_MATCHES_OFF64_T): New macro.
39883
c5757acd
L
398842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39885
39886 * stdlib/secure-getenv.c (__secure_getenv): Replace
39887 GLIBC_2_16 with GLIBC_2_17.
39888
3a31811e
L
398892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39890
39891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39893
faa2bccb
DM
398942012-08-03 David S. Miller <davem@davemloft.net>
39895
39896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39897
85fe1997
JM
398982012-08-03 Joseph Myers <joseph@codesourcery.com>
39899
39900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39901 Remove.
39902 (__ASSUME_CORRECT_SI_PID): Likewise.
39903 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39904 (__ASSUME_TMPFS_NAME): Likewise.
39905 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39906 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39907 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39908 (HAVE_AUX_SECURE): Make definition unconditional.
39909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39910 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39911
4f75b7a0
RM
399122012-08-03 Roland McGrath <roland@hack.frob.com>
39913
39914 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39915 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39916 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39917 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39918 __eloop_threshold instead of SYMLOOP_MAX.
39919
39920 * sysdeps/generic/eloop-threshold.h: New file.
39921 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39922 of MAXSYMLINKS.
39923 * elf/chroot_canon.c (chroot_canon): Likewise.
39924
7aab07e4
JM
399252012-08-03 Joseph Myers <joseph@codesourcery.com>
39926
39927 [BZ #13717]
39928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39929 Change to 2.6.0 everywhere.
39930 * sysdeps/unix/sysv/linux/configure: Regenerated.
39931 * sysdeps/unix/sysv/linux/kernel-features.h
39932 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39933 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39934 kernel versions.
39935 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39936 (__ASSUME_FUTEX_REQUEUE): Remove.
39937 (__ASSUME_STATFS64): Define unconditionally.
39938 (__ASSUME_AT_SECURE): Likewise.
39939 (__ASSUME_CORRECT_SI_PID): Likewise.
39940 (__ASSUME_TGKILL): Define without depending on kernel version for
39941 i386.
39942 (__ASSUME_UTIMES): Likewise.
39943 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39944 kernel version.
39945 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39946 (__ASSUME_TMPFS_NAME): Likewise.
39947 * README: Update reference to Linux kernel versions.
39948
b67e9372
MP
399492012-08-02 Marek Polacek <polacek@redhat.com>
39950
1f529f7d 39951 [BZ# 14150]
b67e9372
MP
39952 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39953 libc_cv_asm_type_prefix with %.
39954 * configure: Regenerated.
d2441631
RM
39955 * include/libc-symbols.h: Remove comment about
39956 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39957 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39958 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39959 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39960 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39961 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39962 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39963 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39964 * elf/tst-unique2mod1.c: Likewise.
39965 * elf/tst-unique1mod2.c: Likewise.
39966 * elf/tst-unique1mod1.c: Likewise.
39967 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39968 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39969 Replace ASM_TYPE_DIRECTIVE with .type.
39970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39971 * sysdeps/i386/sysdep.h: Likewise.
39972 * sysdeps/x86_64/sysdep.h: Likewise.
39973 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39975 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39976 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39977 * sysdeps/powerpc/powerpc32/sysdep.h:
39978 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39979 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39981 * sysdeps/i386/fpu/e_powf.S: Likewise.
39982 * sysdeps/i386/fpu/e_expl.S: Likewise.
39983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39985 * sysdeps/i386/fpu/e_pow.S: Likewise.
39986 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39987 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39988 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39989 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39990 * sysdeps/i386/fpu/e_log2.S: Likewise.
39991 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39992 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39993 * sysdeps/i386/fpu/e_powl.S: Likewise.
39994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39996 * sysdeps/i386/fpu/e_logl.S: Likewise.
39997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39998 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39999 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40002 * sysdeps/i386/fpu/e_log.S: Likewise.
40003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40004 * sysdeps/i386/fpu/e_logf.S: Likewise.
40005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40006 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40007 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40008 * sysdeps/i386/fpu/e_log10.S: Likewise.
40009 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40011 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40012 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40014 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40015 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40016 * sysdeps/i386/i686/strtok.S: Likewise.
40017 * sysdeps/i386/i386-mcount.S: Likewise.
40018 * sysdeps/i386/strtok.S: Likewise.
40019 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40022 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40023 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40024 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40025 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40026 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40027 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40028 * sysdeps/x86_64/_mcount.S: Likewise.
40029 * sysdeps/x86_64/strtok.S: Likewise.
40030 * sysdeps/sh/_mcount.S: Likewise.
40031
2747bf9a
RM
400322012-08-01 Roland McGrath <roland@hack.frob.com>
40033
40034 * libio/iofopen.c: Include <fcntl.h>.
40035 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40036 (_IO_fopen64, fopen64): Define as aliases.
40037 * libio/iofopen64.c: Include <fcntl.h>.
40038 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40039 Conditionalize body on this.
40040 * sysdeps/wordsize-64/iofopen.c: File removed.
40041 * sysdeps/wordsize-64/iofopen64.c: File removed.
40042
3fb791b8
MP
400432012-08-01 Marek Polacek <polacek@redhat.com>
40044
40045 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40046 Use dlfcn directly instead of a variable.
40047 (binfmt-subdir): Do not define.
40048 (dlfcn): Likewise.
40049
a9f1039f
JM
400502012-08-01 Joseph Myers <joseph@codesourcery.com>
40051
23bddc06
JM
40052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40053 Remove all definitions.
40054 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40055 <kernel-features.h>.
40056 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40057 (miss_F_GETOWN_EX): Remove all definitions.
40058 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40059 macro definition.
40060 [!__ASSUME_FCNTL64]: Remove conditional code.
40061 [__ASSUME_FCNTL64]: Make code unconditional.
40062 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40063 <kernel-features.h>.
40064 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40065 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40066 (lockf64) [__NR_fcntl64]: Make code unconditional.
40067 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40068
a9f1039f
JM
40069 * sysdeps/unix/sysv/linux/kernel-features.h
40070 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40071 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40072 Make code unconditional.
40073 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40074 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40076 [__NR_vfork]: Make code unconditional.
40077 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40078 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40080 [__NR_vfork]: Make code unconditional.
40081 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40082 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40083
09c0ee5f
RM
400842012-08-01 Roland McGrath <roland@hack.frob.com>
40085
48aec5b9
RM
40086 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40087 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40088
cd97c966
RM
40089 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40090 Define mkstemp64 as an alias.
3f55550c
RM
40091 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40092 Define mkstemps64 as an alias.
cd97c966
RM
40093 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40094 Define mkostemp64 as an alias.
b8625cfc
RM
40095 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40096 Define mkostemps64 as an alias.
cd97c966
RM
40097 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40098 Conditionalize body on this.
40099 * misc/mkostemp64.c: Likewise.
b8625cfc 40100 * misc/mkostemps64.c: Likewise.
3f55550c 40101 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40102 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40103 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40104 * sysdeps/wordsize-64/mkostemp.c: File removed.
40105 * sysdeps/wordsize-64/mkstemp.c: File removed.
40106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40107 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40110
09c0ee5f
RM
40111 [BZ #14138]
40112 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40113 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40114 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40115 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40116
40117 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40118 compat_symbol macros from <shlib-compat.h> rather than the underlying
40119 default_symbol_version and symbol_version macros, so that DEFAULT
40120 lines in shlib-versions are respected.
40121 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40122
7e66ee51
FW
401232012-08-01 Florian Weimer <fweimer@redhat.com>
40124
40125 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40126 Declare with warn_unused_result.
40127 (setgid, setregid, setegid, setresgid): Likewise.
40128 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40129 Likewise.
40130 * WUR-REPORT: Remove set*id functions.
40131
d2a54255
PT
401322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40133
40134 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40135
7ecdb005
RM
401362012-07-31 Roland McGrath <roland@hack.frob.com>
40137
b4180a5e 40138 [BZ #10191]
789bd351
RM
40139 * include/sys/socket.h (__libc_accept, __libc_accept4):
40140 Add attribute_hidden.
40141 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40142
40ce302d
RM
40143 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40144 use of PTR_MANGLE.
40145 * inet/getnetgrent_r.c (setup): Likewise.
40146
7ecdb005
RM
40147 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40148
e2eabb2c
DM
401492012-07-31 David S. Miller <davem@davemloft.net>
40150
40151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40152
d0419dbf
JM
401532012-07-31 Joseph Myers <joseph@codesourcery.com>
40154
40155 [BZ #13629]
40156 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40157 value between 1.0 and 2.0 and smaller part has absolute value less
40158 than 1.0.
40159 * math/s_clog10.c (__clog10): Likewise.
40160 * math/s_clog10f.c (__clog10f): Likewise.
40161 * math/s_clog10l.c (__clog10l): Likewise.
40162 * math/s_clogf.c (__clogf): Likewise.
40163 * math/s_clogl.c (__clogl): Likewise.
40164 * math/libm-test.inc (clog_test): Add more tests.
40165 (clog10_test): Likewise.
40166 * sysdeps/i386/fpu/libm-test-ulps: Update.
40167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40168
2bc13872
FW
401692012-07-31 Florian Weimer <fweimer@redhat.com>
40170
40171 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40172 Exit with zero in case no suitable GID is found, and write a
40173 message to standard error.
40174
bea9b193
RM
401752012-07-30 Roland McGrath <roland@hack.frob.com>
40176
40177 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40178 rather than to 1.
40179 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40180 (MAXPATHLEN): Removed.
40181 (NOGROUP, NODEV): New macros.
40182 (setbit, clrbit, isset, isclr): New macros.
40183 (howmany, roundup, powerof2): New macros.
40184 (DEV_BSIZE): New macro.
40185
40186 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40187 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40188
40189 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40190 definition on [!__NO_LONG_DOUBLE_MATH].
40191
40192 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40193 PTR_MANGLE and PTR_DEMANGLE.
40194
40195 * socket/accept4.c (accept4): Rename to __libc_accept4.
40196 Define accept4 as a weak alias.
40197
40198 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40199 on [_DIRENT_HAVE_D_TYPE].
40200 * io/ftw.c (ftw_dir): Likewise.
40201
40202 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40203
40204 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40205
40206 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40207 Use the BSD numbers rather than the arbitrary ones we had.
40208 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40209 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40210 (SIGXCPU, SIGXFSZ): New macros.
40211 (_NSIG): Now 32.
40212
40213 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40214 initializer on [_LIBC_REENTRANT].
40215
40216 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40217 definitions inside [_POSIX_MAPPED_FILES].
40218
40219 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40220
40221 * dirent/opendir.c: Include <fcntl.h>.
40222
40223 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40224 (__libc_getspecific): Likewise.
40225 (__libc_key_create): Likewise.
40226
40227 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40228 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40229 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40230 (tmpfile64): Define as alias.
40231 * sysdeps/wordsize-64/tmpfile.c: File removed.
40232 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40235
40236 * stdio-common/vfscanf.c: Include <stdbool.h>.
40237 * nss/makedb.c: Likewise.
40238 * stdio-common/_i18n_number.h: Likewise.
40239 * argp/argp-help.c: Likewise.
40240 * posix/wordexp.c: Likewise.
40241 * sysdeps/posix/spawni.c: Likewise.
40242 * nss/nss_files/files-initgroups.c: Likewise.
40243 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40244 * nss/nss_files/files-initgroups.c: Likewise.
40245 * nss/nss_db/db-netgrp.c: Likewise.
40246 * nss/nss_db/db-initgroups.c: Likewise.
40247 * io/fchmodat.c: Include <sys/stat.h>.
40248
40249 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40250 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40251
40252 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40253 [HAVE_MMAP].
40254
40255 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40256 Add multiple inclusion protection.
40257
e5abc686
DM
402582012-07-27 David S. Miller <davem@davemloft.net>
40259
40260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40261
815e6fa3
GB
402622012-07-27 Gary Benson <gbenson@redhat.com>
40263
40264 [BZ #14298]
40265 * elf/rtld.c: Include <stap-probe.h>.
40266 (dl_main): Added static probes "init_start" and "init_complete".
40267 * elf/dl-load.c: Include <stap-probe.h>.
40268 (lose): Take new parameter "nsid".
40269 Added static probe "map_failed".
40270 (_dl_map_object_from_fd): Pass namespace id to lose.
40271 Added static probe "map_start".
40272 (open_verify): Pass namespace id to lose.
40273 * elf/dl-open.c: Include <stap-probe.h>.
40274 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40275 and "reloc_complete".
40276 * elf/dl-close.c: Include <stap-probe.h>.
40277 (_dl_close_worker): Added static probes "unmap_start" and
40278 "unmap_complete".
40279 * elf/rtld-debugger-interface.txt: New file documenting the above.
40280
9f98c16c
RM
402812012-07-26 Roland McGrath <roland@hack.frob.com>
40282
40283 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40284 rather than a string variable.
40285 * sunrpc/rpc_main.c (h_output): Likewise.
40286 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40287
f3c22df3
PT
402882012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40289
40290 * inet/check_native.c: New file.
40291
3129cfc6
JM
402922012-07-26 Joseph Myers <joseph@codesourcery.com>
40293
da865e95
JM
40294 [BZ #13629]
40295 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40296 if larger part has absolute value 1.0.
40297 * math/s_clog10.c (__clog10): Likewise.
40298 * math/s_clog10f.c (__clog10f): Likewise.
40299 * math/s_clog10l.c (__clog10l): Likewise.
40300 * math/s_clogf.c (__clogf): Likewise.
40301 * math/s_clogl.c (__clogl): Likewise.
40302 * math/libm-test.inc (clog_test): Add more tests.
40303 (clog10_test): Likewise.
40304 * sysdeps/i386/fpu/libm-test-ulps: Update.
40305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40306
3129cfc6
JM
40307 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40308 (pltexit): Likewise.
40309 (La_regs): Likewise.
40310 (La_retval): Likewise.
40311 (int_retval): Likewise.
40312 Update #error for removed macros to refer only to definitions in
40313 tst-audit.h.
40314 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40315 macro.
40316 (pltexit): Likewise.
40317 (La_regs): Likewise.
40318 (La_retval): Likewise.
40319 (int_retval): Likewise.
40320 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40321 macro.
40322 (pltexit): Likewise.
40323 (La_regs): Likewise.
40324 (La_retval): Likewise.
40325 (int_retval): Likewise.
40326 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40327 macro.
40328 (pltexit): Likewise.
40329 (La_regs): Likewise.
40330 (La_retval): Likewise.
40331 (int_retval): Likewise.
40332 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40333 macro.
40334 (pltexit): Likewise.
40335 (La_regs): Likewise.
40336 (La_retval): Likewise.
40337 (int_retval): Likewise.
40338 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40339 macro.
40340 (pltexit): Likewise.
40341 (La_regs): Likewise.
40342 (La_retval): Likewise.
40343 (int_retval): Likewise.
40344 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40345 macro.
40346 (pltexit): Likewise.
40347 (La_regs): Likewise.
40348 (La_retval): Likewise.
40349 (int_retval): Likewise.
40350 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40351 macro definitions in tst-audit.h.
40352 * sysdeps/i386/tst-audit.h: New file.
40353 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40354 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40355 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40356 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40357 * sysdeps/sh/tst-audit.h: Likewise.
40358 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40359 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40360 * sysdeps/x86_64/tst-audit.h: Likewise.
40361
bfc07087
AJ
403622012-07-26 Andreas Jaeger <aj@suse.de>
40363
b1b2aaf8
AJ
40364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40365 ptrace.
40366
40367 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40368 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40369 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40370 PTRACE_O_MASK.
40371 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40372 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40373 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40374
bfc07087
AJ
40375 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40376 value.
40377
40378 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40379 _sigsys.
40380 (si_call_addr, si_syscall, si_arch): Define new macro.
40381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40382 _sigsys.
40383 (si_call_addr, si_syscall, si_arch): Define new marcro.
40384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40385 _sigsys.
40386 (si_call_addr, si_syscall, si_arch): Define new macro.
40387 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40388 _sigsys.
40389 (si_call_addr, si_syscall, si_arch): Define new macro.
40390
89b4b02f
JM
403912012-07-25 Joseph Myers <joseph@codesourcery.com>
40392
40393 [BZ #13717]
40394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40395 Change to 2.4.21 where previously 2.4.1.
40396 * sysdeps/unix/sysv/linux/configure: Regenerated.
40397 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40398 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40399 Linux kernel version.
40400 (__ASSUME_STD_AUXV): Remove.
40401 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40402 kernel version.
40403 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40404 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40405 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40406 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40407 (__ASSUME_NETLINK_SUPPORT): Likewise.
40408 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40409 (__no_netlink_support): Remove conditional definition.
40410 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40411 Remove.
40412 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40413 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40414 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40415 (if_nameindex_ioctl): Remove.
40416 (if_nameindex_netlink): Do not handle __no_netlink_support.
40417 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40418 code.
40419 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40420 Remove conditional code.
40421 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40422 code.
40423 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40424 unconditional.
40425 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40426 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40427 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40428 Remove.
40429 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40430 [!__ASSUME_STD_AUXV]: Remove conditional code.
40431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40432 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40433 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40435 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40436 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40437 code.
40438 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40440 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40441 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40442 conditional code.
40443 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40445 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40446 code.
40447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40448 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40449 conditional code.
40450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40451 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40452 code unconditional.
40453 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40454 conditional code.
40455 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40456 unconditional.
40457 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40458 conditional code.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40460 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40461 unconditional.
40462 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40463 conditional code.
40464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40465 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40466 code unconditional.
40467 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40468 conditional code.
40469 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40470 unconditional.
40471 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40472 conditional code.
40473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40474 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40475 code unconditional.
40476 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40477 conditional code.
40478 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40479 unconditional.
40480 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40481 conditional code.
40482
842a39cd
AS
404832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40484
40485 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40486 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40487 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40488 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40489 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40490 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40491 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40492 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40493 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40494 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40495 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40496 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40497 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40498 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40501 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40503 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40505 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40506 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40508
84b3fd84
FW
405092012-07-25 Florian Weimer <fweimer@redhat.com>
40510
40511 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40512 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40513 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40514 Introduce __libc_secure_getenv.
0c7936d5
FW
40515 * stdlib/Versions (2.17): Add secure_getenv
40516 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40517 * stdlib/secure-getenv.c: Rename __secure_getenv to
40518 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40519 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40520 * stdlib/tst-secure-getenv.c: New.
40521 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40522 * manual/startup.texi (Environment Access): Document
40523 secure_getenv.
84b3fd84
FW
40524 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40525 __libc_secure_getenv.
40526 * inet/ruserpass.c (ruserpass): Likewise.
40527 * malloc/mtrace.c (mtrace): Likewise.
40528 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40529 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40530 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40531 * sysdeps/posix/tempname.c: Likewise. Evaluate
40532 HAVE_SECURE_GETENV.
40533 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40534 __secure_getenv to __libc_secure_getenv.
84b3fd84 40535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40537 Likewise.
40538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40539 Likewise.
40540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40547
56e49b71
JM
405482012-07-25 Joseph Myers <joseph@codesourcery.com>
40549
40550 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40551 (struct La_i86_retval): Likewise.
40552 (struct La_x86_64_regs): Likewise.
40553 (struct La_x86_64_retval): Likewise.
40554 (struct La_x32_regs): Likewise.
40555 (struct La_x32_retval): Likewise.
40556 (struct La_ppc32_regs): Likewise.
40557 (struct La_ppc32_retval): Likewise.
40558 (struct La_ppc64_regs): Likewise.
40559 (struct La_ppc64_retval): Likewise.
40560 (struct La_sh_regs): Likewise.
40561 (struct La_sh_retval): Likewise.
40562 (struct La_s390_32_regs): Likewise.
40563 (struct La_s390_32_retval): Likewise.
40564 (struct La_s390_64_regs): Likewise.
40565 (struct La_s390_64_retval): Likewise.
40566 (struct La_sparc32_regs): Likewise.
40567 (struct La_sparc32_retval): Likewise.
40568 (struct La_sparc64_regs): Likewise.
40569 (struct La_sparc64_retval): Likewise.
40570 (struct audit_ifaces): Remove architecture-specific pltenter and
40571 pltexit members.
40572 * sysdeps/i386/ldsodefs.h: New file.
40573 * sysdeps/powerpc/ldsodefs.h: Likewise.
40574 * sysdeps/s390/ldsodefs.h: Likewise.
40575 * sysdeps/sh/ldsodefs.h: Likewise.
40576 * sysdeps/sparc/ldsodefs.h: Likewise.
40577 * sysdeps/x86_64/ldsodefs.h: Likewise.
40578
354691b7
MP
405792012-07-25 Marek Polacek <polacek@redhat.com>
40580
40581 [BZ #6808]
40582 * math/libm-test.inc (yn_test): Add another test.
40583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40584 to ERANGE when the result is +-Inf.
40585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40586 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40587 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40588 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40589
bf9e2071
JM
405902012-07-24 Joseph Myers <joseph@codesourcery.com>
40591
40592 * conform/data/time.h-data (NULL): Use macro-constant. Require
40593 equal to 0.
40594 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40595 clock_t.
40596 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40597
57633811
TS
405982012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40599
40600 * configure.in <sysdeps resolving>: Correct printing
40601 Implies_before.
40602 * configure: Regenerate.
40603
c23c33b0
TS
406042012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40605
40606 * math/w_ilogb.c: Include <limits.h>.
40607 * math/w_ilogbl.c: Likewise.
40608
b5982523
JM
406092012-07-20 Joseph Myers <joseph@codesourcery.com>
40610
40611 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40612 va_copy. Document allowing for unavailable va_copy only as
40613 pre-C99 compatibility.
40614 * manual/string.texi (Copying and Concatenation): Use va_copy
40615 instead of __va_copy in concat example.
40616
ac4ea442
PT
406172012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40618
40619 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40620 (__sendto): Use create_address_port. Initialize APORT and deallocate
40621 it if not null.
40622
f98eafbd
PT
40623 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40624 with O_NOLINK passed to __file_name_lookup.
40625
898c7aab
PT
40626 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40627 with O_NOLINK passed to __file_name_lookup.
40628
0ced335a
PT
40629 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40630 negative N or less than NGIDS.
40631
b3404dbd
PT
40632 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40633 type to string_t. Set ERANGE as errno and return it if NAME is not big
40634 enough. Use memcpy instead of strncpy.
40635
0f48659e
JM
406362012-07-20 Joseph Myers <joseph@codesourcery.com>
40637
40638 * elf/Makefile (check-data): Remove.
40639 (localplt.data): New vpath directive.
40640 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40641 instead of $(check-data).
40642 * scripts/data/localplt-generic.data: Move to ...
40643 * sysdeps/generic/localplt.data: ... here.
40644 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40645 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40646 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40648 ... here.
40649 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40651 ... here.
40652 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40654 ... here.
40655 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40657 ... here.
40658 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40660 ... here.
40661 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40663 ... here.
40664
d37cbdaa
AZ
406652012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40666
40667 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40668 PPC32 and PPC64 files.
40669 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40670 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40671
46f85fc2
AK
406722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40673
40674 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40675 __makecontext_ret to ...
40676 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40677 ... here and call exit if uc_link is NULL. New file.
40678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40679 __makecontext_ret.S.
40680 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40681 __makecontext_ret to ...
40682 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40683 ... here and call exit if uc_link is NULL. New file.
40684 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40685 __makecontext_ret.S.
40686
08f43f9b
AK
406872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40688
40689 * elf/elf.h (R_390_IRELATIVE): New definition.
40690 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40691 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40692 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40694 (elf_machine_lazy_rel): Likewise.
40695 * sysdeps/s390/dl-irel.h: New file.
40696 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40697 * sysdeps/s390/s390-64/memset.S: New asm code.
40698 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40699 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40700 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40701 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40702 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40703 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40704 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40705 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40706 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40707 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40708 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40709 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40710 * sysdeps/s390/s390-32/memset.S: New asm code.
40711 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40712
3b05db33
MP
407132012-07-17 Marek Polacek <polacek@redhat.com>
40714
40715 [BZ #14349]
40716 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40717 * sysdeps/s390/s390-64/configure.in: Likewise.
40718 * sysdeps/sparc/configure.in: Likewise.
40719 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40720 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40721 * sysdeps/i386/configure.in: Likewise.
40722 * sysdeps/x86_64/configure.in: Likewise.
40723 * sysdeps/sh/configure.in: Likewise.
40724 * sysdeps/s390/s390-32/configure: Regenerated.
40725 * sysdeps/s390/s390-64/configure: Likewise.
40726 * sysdeps/x86_64/configure: Likewise.
40727 * sysdeps/sh/configure: Likewise.
40728 * sysdeps/powerpc/powerpc64/configure: Likewise.
40729 * sysdeps/powerpc/powerpc32/configure: Likewise.
40730 * sysdeps/sparc/configure: Likwise.
40731 * sysdeps/i386/configure: Likewise.
40732
a66877c6
MP
40733 * elf/dl-open.c: Comment fixes.
40734
cfc82fd8
JM
407352012-07-17 Joseph Myers <joseph@codesourcery.com>
40736
bd29910a
JM
40737 * Makefile [CXX] (check-data): Remove.
40738 [CXX] (c++-types.data): New vpath directive.
40739 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40740 vpath. Do not allow for C++ type data being missing.
40741 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40742 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40743 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40744 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40745 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40746 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40747 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40749 ... here.
40750 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40752 ... here.
40753 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40755 ... here.
40756 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40758 ... here.
40759 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40761 ... here.
40762 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40764 ... here.
40765 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40767 ... here.
40768 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40770
cfc82fd8
JM
40771 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40772 definitions to architecture-specific files.
40773 (TLS_IE): Likewise.
40774 (TLS_LD): Likewise.
40775 (TLS_GD): Likewise.
40776 * sysdeps/i386/tls-macros.h: New file.
40777 * sysdeps/powerpc/tls-macros.h: Likewise.
40778 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40779 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40780 * sysdeps/sh/tls-macros.h: Likewise.
40781 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40782 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40783 * sysdeps/x86_64/tls-macros.h: Likewise.
40784
f7db3170
TS
407852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40786
07cbfc23
TS
40787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40788 zero value for regular exit case.
40789
f7db3170
TS
40790 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40791 (__start_context): Preserve zero value for regular exit case.
40792
dc97c227
TS
407932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40794 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40795
40796 * manual/setjmp.texi (setcontext): Clarify normal process
40797 termination when uc_link is the null pointer.
40798 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40799 exit call.
40800
d0cd7d02
AS
408012012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40802
40803 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40804 preprocessor. Test for each exception mask separately.
40805
dd318934
AJ
408062012-07-16 Andreas Jaeger <aj@suse.de>
40807
40808 * po/ru.po: Update from translation team.
40809
8048311a
JM
408102012-07-15 Joseph Myers <joseph@codesourcery.com>
40811
40812 * conform/data/string.h-data (NULL): Use macro-constant. Require
40813 equal to 0.
40814 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40815 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40816 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40817 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40819
b637d46e
AJ
408202012-07-13 Andreas Jaeger <aj@suse.de>
40821
40822 * po/fr.po: Update from translation team.
40823
541428fe
MP
408242012-07-12 Marek Polacek <polacek@redhat.com>
40825
40826 [BZ #14173]
40827 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40829 loop condition.
40830
ec332e94
JM
408312012-07-12 Joseph Myers <joseph@codesourcery.com>
40832
40833 [BZ #13717]
40834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40835 Change to 2.4.1 where previously 2.4.0.
40836 * sysdeps/unix/sysv/linux/configure: Regenerated.
40837 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40838 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40839 version.
40840 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40841 (__ASSUME_AT_CLKTCK): Remove.
40842 (__ASSUME_AT_PAGESIZE): Likewise.
40843 (__ASSUME_AT_XID): Likewise.
40844 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40845 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40846 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40847 unconditionally.
40848 (HAVE_AUX_PAGESIZE): Likewise.
40849 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40850 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40851 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40852
7b6e99be
JB
408532012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40854
40855 [BZ #14307]
40856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40857 the temporary buffer used to invoke __gethostbyname2_r,
40858 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40859 host_data / struct gaih_addrtuple.
40860 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40861 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40862 header file nss/nsswitch.h.
40863 * nss/nsswitch.h (global scope): Add definition of implementation
40864 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40865 resolv/nss_dns/dns-host.c).
40866
608404eb
AJ
408672012-07-11 Andreas Jaeger <aj@suse.de>
40868
40869 * po/fr.po: Update from translation team.
40870
71220aca
AJ
40871 * po/sv.po: Update from translation team
40872 * po/fr.po: Another update from translation team.
40873
28cfe843
AZ
408742012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40875
40876 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40877 for subnormals or multiply small sinh result by itself.
40878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40880
6b90f981
DM
408812012-07-11 David S. Miller <davem@davemloft.net>
40882
40883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40884
c6825772
AS
408852012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40886
40887 [BZ #14347]
40888 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40889 (INTERNAL_MARK): Shift it here.
40890
7b8e0d49
MP
408912012-07-10 Marek Polacek <polacek@redhat.com>
40892
40893 [BZ #14151]
40894 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40895 libc_cv_asm_global_directive with .globl.
40896 * configure: Regenerated.
40897 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40898 with .globl.
40899 * sysdeps/i386/configure: Regenerated.
40900 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40901 with .globl.
40902 * sysdeps/x86_64/configure: Regenerated.
40903 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40904 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40905 * elf/tst-unique2mod2.c: Likewise.
40906 * elf/tst-unique2mod1.c: Likewise.
40907 * elf/tst-unique1mod2.c: Likewise.
40908 * elf/tst-unique1mod1.c: Likewise.
40909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40912 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40913 * sysdeps/mach/sysdep.h: Likewise.
40914 * sysdeps/i386/sysdep.h: Likewise.
40915 * sysdeps/i386/i386-mcount.S: Likewise.
40916 * sysdeps/x86_64/_mcount.S: Likewise.
40917 * sysdeps/x86_64/sysdep.h: Likewise.
40918 * sysdeps/sh/_mcount.S: Likewise.
40919 * sysdeps/sh/sysdep.h: Likewise.
40920 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40921 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40922 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40923 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40924 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40925 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40926 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40927 * locale/localeinfo.h: Likewise.
40928 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40929 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40930
6c55cda3
RM
409312012-07-09 Roland McGrath <roland@hack.frob.com>
40932
40933 [BZ #14336]
40934 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40935 system".
40936 * manual/message.texi (The Uniforum approach): Likewise.
40937 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40938 (glibc iconv Implementation): Likewise.
40939
638a572e
JM
409402012-07-09 Joseph Myers <joseph@codesourcery.com>
40941
40942 [BZ #14337]
40943 * math/s_clog.c (__clog): Avoid scaling a value down where that
40944 could result in underflow.
40945 * math/s_clog10.c (__clog10): Likewise.
40946 * math/s_clog10f.c (__clog10f): Likewise.
40947 * math/s_clog10l.c (__clog10l): Likewise.
40948 * math/s_clogf.c (__clogf): Likewise.
40949 * math/s_clogl.c (__clogl): Likewise.
40950 * math/libm-test.inc (clog_test): Add more tests.
40951 (clog10_test): Likewise.
40952 * sysdeps/i386/fpu/libm-test-ulps: Update.
40953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40954
261f4859
AS
409552012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40956
0abaf3e4
AS
40957 [BZ #14283]
40958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40959 by 7 not 8 to examine high bit of fractional part.
40960
261f4859
AS
40961 [BZ #14042]
40962 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40963 for call to __mcount_internal.
40964 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40965 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40966 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40967
f17ac40d
JM
409682012-07-06 Joseph Myers <joseph@codesourcery.com>
40969
9ad63c23
JM
40970 [BZ #14154]
40971 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40972 approximation for values within 0x1p-13f of an odd multiple of
40973 pi/4.
40974 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40975 exception. Add more tests.
40976 * sysdeps/i386/fpu/libm-test-ulps: Update.
40977
f17ac40d
JM
40978 [BZ #6778]
40979 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40980 inputs and return -1 for them. Do not check for +Inf in case not
40981 reachable for +Inf.
40982 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40983 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40984 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40985 and return -1 for them. Do not check for +Inf in case not
40986 reachable for +Inf.
40987 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40988 define.
40989 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40990 and return -1 for them. Do not check for +Inf in case not
40991 reachable for +Inf.
40992 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40993 spurious underflow.
40994 * sysdeps/i386/fpu/libm-test-ulps: Update.
40995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40996
fb21f89b
MF
409972012-07-06 Mike Frysinger <vapier@gentoo.org>
40998
40999 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41000
cdfe2c5e
JM
410012012-07-05 Joseph Myers <joseph@codesourcery.com>
41002
41003 [BZ #14157]
41004 [BZ #14331]
41005 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41006 could result in spurious underflow. Scale down values above
41007 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41008 * math/s_csqrtf.c (__csqrtf): Likewise.
41009 * math/s_csqrtl.c (__csqrtl): Likewise.
41010 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41011 spurious underflow.
41012 * sysdeps/i386/fpu/libm-test-ulps: Update.
41013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41014
70d35b67
AS
410152012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41016
704bc459
AS
41017 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41018 xopen-msg.sed.
41019 * catgets/xopen-msg.awk: New file.
41020 * catgets/xopen-msg.sed: Removed.
41021
70d35b67
AS
41022 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41023 po2text.sed.
41024 * intl/po2test.awk: New file.
41025 * intl/po2test.sed: Removed.
41026
ca61cf32
JM
410272012-07-04 Joseph Myers <joseph@codesourcery.com>
41028
41029 [BZ #14328]
41030 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41031 or multiply small sinh result by itself.
41032 * math/s_ctanf.c (__ctanf): Likewise.
41033 * math/s_ctanh.c (__ctanh): Likewise.
41034 * math/s_ctanhf.c (__ctanhf): Likewise.
41035 * math/s_ctanhl.c (__ctanhl): Likewise.
41036 * math/s_ctanl.c (__ctanl): Likewise.
41037 * math/libm-test.inc (ctan_test_tonearest): New function.
41038 (ctan_test_towardzero): Likewise.
41039 (ctan_test_downward): Likewise.
41040 (ctan_test_upward): Likewise.
41041 (ctanh_test_tonearest): Likewise.
41042 (ctanh_test_towardzero): Likewise.
41043 (ctanh_test_downward): Likewise.
41044 (ctanh_test_upward): Likewise.
41045 (main): Call these new functions.
41046 * sysdeps/i386/fpu/libm-test-ulps: Update.
41047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41048
ca48a46a
MF
410492012-07-03 Mike Frysinger <vapier@gentoo.org>
41050
41051 * .gitignore: Delete /ports entry.
41052
9d63d37d
AJ
410532012-07-03 Andreas Jaeger <aj@suse.de>
41054
41055 * po/bg.po: Update from translation team.
41056 * po/cs.po: Likewise.
41057 * po/de.po: Likewise.
41058 * po/hr.po: Likewise.
41059 * po/nl.pl: Likewise.
41060 * po/pl.po: Likewise.
41061 * po/vi.po: Likewise.
41062
370ca3d2
JM
410632012-07-03 Joseph Myers <joseph@codesourcery.com>
41064
95f5a9a8
JM
41065 * Makeconfig [!+link] (+link-before-libc): New variable.
41066 [!+link] (+link-after-libc): Likewise.
41067 [!+link] (+link-tests): Likewise.
41068 [!+link] (+link): Define in terms of $(+link-before-libc) and
41069 $(+link-after-libc).
41070 [!+link-static] (+link-static-before-libc): New variable.
41071 [!+link-static] (+link-static-after-libc): Likewise.
41072 [!+link-static] (+link-static-tests): Likewise.
41073 [!+link-static] (+link-static): Define in terms of
41074 $(+link-static-before-libc) and $(+link-static-after-libc).
41075 [build-shared] (link-libc-before-gnulib): New variable.
41076 [build-shared] (link-libc-tests): Likewise.
41077 [build-shared] (link-libc): Define in terms of
41078 $(link-libc-before-gnulib).
41079 [!build-shared] (link-libc-tests): New variable.
41080 (link-libc-static-tests): New variable.
41081 [!gnulib] (gnulib-arch): New variable.
41082 [!gnulib] (gnulib-tests): Likewise.
41083 [!gnulib] (static-gnulib-arch): Likewise.
41084 [!gnulib] (static-gnulib-tests): Likewise.
41085 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41086 Define with "=" instead of ":=".
41087 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41088 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41089 * Rules (binaries-all-notests): New variable.
41090 (binaries-all-tests): Likewise.
41091 (binaries-static-notests): Likewise.
41092 (binaries-static-tests): Likewise.
41093 (binaries-all): Define using $(binaries-all-notests) and
41094 $(binaries-all-tests).
41095 (binaries-static): Define using $(binaries-static-notests) and
41096 $(binaries-static-tests).
41097 (binaries-shared-tests): New variable.
41098 (binaries-shared-notests): Likewise.
41099 (binaries-shared): Remove variable.
41100 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41101 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41102 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41103 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41104 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41105 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41106 * elf/Makefile (sln-modules): New variable.
41107 (extra-objs): Add $(sln-modules:=.o).
41108 (ldconfig-modules): Add static-stubs.
41109 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41110 * elf/static-stubs.c: New file.
41111
7a845b2c
JM
41112 [BZ #14283]
41113 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41114 by 7 not 8 to examine high bit of fractional part. Use volatile
41115 variables when splitting into final array of floats if
41116 __FLT_EVAL_METHOD__ != 0.
41117 * math/libm-test.inc (cos_test): Add another test.
41118 (sin_test): Likewise.
41119 * sysdeps/i386/fpu/libm-test-ulps: Update.
41120
e2283f38
JM
41121 [BZ #14273]
41122 * math/libm-test.inc (cosh_test): Add more tests.
41123
370ca3d2
JM
41124 * version.h (RELEASE): Set to "development".
41125 (VERSION): Set to "2.16.90".
41126
ee9247c3
CD
411272012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41128
41129 * NEWS: Update copyright. Remove last-updated date.
41130 Mention math library bug fixes and timezone data changes.
41131 * README: Mention GNU/Hurd, x32, and HPPA support status.
41132
4648c381
TS
411332012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41134
41135 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41136
aac78a43
AJ
411372012-06-27 Andreas Jaeger <aj@suse.de>
41138
41139 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41140
ed3dbfad
AJ
411412012-06-25 Andreas Jaeger <aj@suse.de>
41142
41143 * sysdeps/s390/fpu/libm-test-ulps: Update.
41144
4d0ee855
AS
411452012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41146 Thomas Schwinge <thomas@codesourcery.com>
41147
41148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41149 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41151 fanotify_mark.
41152
af1bce34
TS
411532012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41154
a9fa33ba
TS
41155 * sysdeps/mach/start.c: Remove file.
41156 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41157 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41158 * sysdeps/sh/init-first.c: Likewise.
41159
58f902b8
TS
41160 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41161 registers for frame unwinding purposes, add CFI directives.
41162 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41164 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41165 Likewise.
41166
1518f58b
TS
41167 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41168 __fortify_fail returning.
41169 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41170
db9b5059
TS
41171 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41172 sysdeps/sh/____longjmp_chk.S.
41173 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41174 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41175 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41176 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41177
967705fe
TS
41178 * sysdeps/sh/abort-instr.h: New file.
41179 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41180 process in case exit returns.
41181
a9def8c4
TS
41182 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41183 initialize the GOT register before use.
41184
2a649725
TS
41185 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41186 calculation of ARGC > 4.
41187
af1bce34
TS
41188 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41189 meaningful names to some local labels.
41190
d230f50a
KK
411912012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41192 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41193
41194 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41195 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41196 (__arch_compare_and_exchange_val_16_acq): Likewise.
41197 (__arch_compare_and_exchange_val_32_acq): Likewise.
41198 (atomic_exchange_and_add): Fix gUSA sequence.
41199 (atomic_add): Likewise.
41200 (atomic_add_negative): Likewise.
41201 (atomic_add_zero): Likewise.
41202 (atomic_bit_test_set): Likewise.
41203
0479b305
AS
412042012-06-22 Andreas Schwab <schwab@redhat.com>
41205
41206 [BZ #13579]
41207 * include/link.h (struct link_map): Add l_free_initfini.
41208 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41209 l_initfini.
41210 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41211 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41212 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41213 set.
41214
0e3933b9
CD
412152012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41216
41217 * configure.in: Use AC_LANG_SOURCE.
41218 * configure: Regenerate.
41219
4248b1b1
RM
412202012-06-22 Roland McGrath <roland@hack.frob.com>
41221
41222 * configure.in (libc_cv_localstatedir): New substituted variable.
41223 * configure: Regenerated.
41224 * config.make.in (localstatedir): New variable, substituted from
41225 libc_cv_localstatedir.
41226 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41227 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41228 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41229 * sysdeps/gnu/configure: Regenerated.
41230
006dd861
JL
412312012-06-21 Jeff Law <law@redhat.com>
41232
41233 [BZ #14277]
41234 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41235 free. Simplify list management for _LIBC case.
41236
79662d42
JM
412372012-06-21 Joseph Myers <joseph@codesourcery.com>
41238
b7abb4bf
JM
41239 [BZ #14273]
41240 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41241 Clear sign bit of 64-bit integer value before comparing against
41242 overflow value.
41243
79662d42
JM
41244 * sysdeps/mach/configure: Regenerated.
41245
1f150908
L
412462012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41247
41248 [BZ #14278]
41249 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41250
28363bbf
JL
412512012-06-21 Jeff Law <law@redhat.com>
41252
41253 [BZ #13882]
41254 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41255 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41256 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41257 * elf/dl-open.c (dl_open_worker): Likewise.
41258
09615db4
CD
412592012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41260
41261 * scripts/list-sources.sh: Scan PORTS for translations.
41262 * po/libc.pot: Regenerated.
41263
2174c6dd
AJ
412642012-06-21 Andreas Jaeger <aj@suse.de>
41265
41266 [BZ #12194]
41267 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41268 warning.
41269 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41270 * bits/byteswap-16.h (__bswap_16): Likewise.
41271 * bits/byteswap.h (__bswap_constant_16): Likewise.
41272
3ee947b1
L
412732012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41274
41275 [BZ #14117]
a2f34833
L
41276 * sysdeps/i386/fpu_control.h: Removed.
41277 * sysdeps/x86_64/fpu_control.h: Moved to ...
41278 * sysdeps/x86/fpu_control.h: Here.
41279
3ee947b1
L
41280 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41281 (_FPU_SETCW): Likewise.
41282
ed1825f8
L
412832012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41284
25f1282a
L
41285 [BZ #14117]
41286 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41287 * sysdeps/x86/fpu/bits/mathinline.h: This.
41288 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41289
ed1825f8
L
41290 [BZ #14050]
41291 [BZ #14117]
41292 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41293 functions if __x86_64__ is defined.
41294
36d54b74
CLT
412952012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41296
41297 * string/endian.h: Add !__ASSEMBLER__ condition for including
41298 conversion interfaces.
41299
10285c21
JM
413002012-06-15 Joseph Myers <joseph@codesourcery.com>
41301
41302 [BZ #14241]
41303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41304 of ABS(x) in calculating zero to negative powers other than odd
41305 integers.
41306 * math/libm-test.inc (pow_test): Add more tests.
41307
06c5abbd
AJ
413082012-06-15 Andreas Jaeger <aj@suse.de>
41309
41310 * manual/contrib.texi (Contributors): Update entry of Liubov
41311 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41312 Machado Filho.
41313
a3aeac40
CH
413142012-06-15 Cyril Hrubis <metan@ucw.cz>
41315
41316 * string/string.h: Add __wur to GNU version of strerror_r.
41317
49bdf4c1
L
413182012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41319
41320 [BZ #14229]
41321 * string/Makefile (tests): Add tst-strtok_r.
41322 * string/tst-strtok_r.c: New file.
41323 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41324 RAX_LP/RDX_LP on SAVE_PTR.
41325
834f9b8d
RM
413262012-06-14 Roland McGrath <roland@hack.frob.com>
41327
41328 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41329
75fa1921
JM
413302012-06-14 Joseph Myers <joseph@codesourcery.com>
41331
41332 * libm_test.inc (csqrt_test): Allow more spurious underflow
41333 exceptions.
41334 (j0_test): Likewise.
41335 (j1_test): Likewise.
41336 (y0_test): Likewise.
41337 (y1_test): Likewise.
41338
771766df
CD
413392012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41340
41341 * po/Makefile (libc.pot): Use UTF-8 charset.
41342
ceb9e56b
PP
413432012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41344
41345 [BZ #14210]
41346 Suppress sign-conversion warning from FD_SET.
41347 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41348 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41349 not unsigned long int.
41350 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41351
ddb28975
L
413522012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 [BZ #14050]
41355 [BZ #14117]
41356 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41357 __extern_always_inline instead of __extern_inline.
41358 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41359 (__signbit): Likewise.
41360 (__signbitl): Support C++ namespace.
41361 (lrintf): New inline function.
41362 (lrint): Likewise.
41363 (llrintf): Likewise.
41364 (llrint): Likewise.
41365 (fmaxf): Likewise.
41366 (fmax): Likewise.
41367 (fminf): Likewise.
41368 (fmin): Likewise.
41369 (rint): Likewise.
41370 (rintf): Likewise.
41371 (ceil): Likewise.
41372 (ceilf): Likewise.
41373 (floor): Likewise.
41374 (floorf): Likewise.
41375 (nearbyint): Likewise.
41376 (nearbyintf): Likewise.
41377
d7b4fb26
TS
413782012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41379
41380 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41381 non-default versions.
41382
eb55f5c2
RM
413832012-06-11 Roland McGrath <roland@hack.frob.com>
41384
41385 [BZ #14218]
41386 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41387
366af02c
TS
413882012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41389
99ff6e5c
TS
41390 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41391 (FE_UPWARD, FE_DOWNWARD): Don't define.
41392 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41394
366af02c
TS
41395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41396 reading it.
41397 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41398 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41399
793ea851
KK
414002012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41401
41402 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41405 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41406
a728a38f
L
414072012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41408
41409 [BZ #14117]
c08010c7
L
41410 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41411 * sysdeps/i386/fpu/Implies: New file.
41412 * sysdeps/x86_64/fpu/Implies: Likewise.
41413 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41414 * sysdeps/x86/fpu/bits/fenv.h: This.
41415
a728a38f
L
41416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41417 __SSE_MATH__.
41418
6e230d11
SP
414192012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41420
41421 [BZ #14134]
41422 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41423 character 0xffff that matches the last element of the
41424 conversion table.
41425
1b671feb
AZ
414262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41427
41428 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41429 fmodl commit.
41430
6043738b
AZ
414312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41432
41433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41434 values higher than 25.6283.
41435
34ae0b32
AZ
414362012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41437
41438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41439 subnormal exponent extraction and add some __builtin_expect.
41440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41441 Fix for subnormal mantissa calculation.
41442
1214ec8f
MF
414432012-06-04 Mike Frysinger <vapier@gentoo.org>
41444
41445 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41446 cpu2 is -1 and errno is not ENOSYS.
41447
f3d1f93c
L
414482012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41449
41450 [BZ #14117]
0e4a3cd7
L
41451 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41452 * sysdeps/x86/bits/string.h: This.
41453 * sysdeps/x86_64/bits/string.h: Removed.
41454
6704c645
L
41455 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41456 if not compiling for x86-64, but compiling for >= i486.
41457
48495318
L
41458 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41459 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41460
14adcbfc
L
41461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41462 New macro from Linux kernel 3.4.0.
41463 (FP_XSTATE_MAGIC2): Likewise.
41464 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41465 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41466 (struct _fpx_sw_bytes): New struct.
41467 (struct _xsave_hdr): Likewise.
41468 (struct _ymmh_state): Likewise.
41469 (struct _xstate): Likewise.
41470
68e408ab
L
41471 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41472 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41474 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41476 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41477
f3d1f93c
L
41478 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41479 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41480 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41481 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41482 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41483 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41484
d9dc34cd
TMQMF
414852012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41486
41487 [BZ #13743]
41488 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41489 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41490 (sysdep_headers): Include sys/platform/ppc.h.
41491 * sysdeps/powerpc/test-gettimebase.c: Test for
41492 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41493 * manual/Makefile (appendices): Include platform.texi.
41494 * manual/contrib.texi (Contributors): Update @node pointers.
41495 * manual/maint.texi (Maintenance): Likewise.
41496 (Platform): New node.
41497 * manual/platform.texi: New file. Document the new features.
41498
4af3879c
SP
414992012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41500 Jakub Jelinek <jakub@redhat.com>
41501
41502 [BZ #14188]
41503 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41504 where __builtin_expect is unavailable.
41505
2fd6ff13
DM
415062012-06-03 David S. Miller <davem@davemloft.net>
41507
41508 * stdlib/longlong.h: Updated from GCC.
41509
173f7220
AS
415102012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41511
41512 [BZ #14042]
41513 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41514 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41515 __mcount_internal.
41516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41517 (GLIBC_2.16): Likewise.
41518
f34a1c6f
L
415192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41520
41521 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41522
88a4576f
JM
415232012-06-01 Joseph Myers <joseph@codesourcery.com>
41524
ea32bcdd
JM
41525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41526 (default-abi): New variable.
41527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41528 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41529 variable.
41530 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41531 Likewise.
41532 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41533 Likewise.
41534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41535 Likewise.
41536
88a4576f
JM
41537 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41538 definition. Document in comment.
41539
402fe938
DM
415402012-06-01 David S. Miller <davem@davemloft.net>
41541
41542 * stdlib/longlong.h: Updated from GCC.
41543
3553723f
L
415442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41545
41546 [BZ #14117]
3bd872c4
L
41547 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41548 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41549 sys/debugreg.h sys/io.h here.
41550 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41551 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41552 sys/io.h.
41553 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41554 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41555 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41556 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41557 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41558 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41559
3553723f
L
41560 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41561 Define only if __x86_64__ is defined.
41562
4842e4fe
JM
415632012-06-01 Joseph Myers <joseph@codesourcery.com>
41564
c5bfe3d5
JM
41565 [BZ #14048]
41566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41567 Use int64_t for variable i.
41568 * math/libm-test.inc (fmod_test): Add more tests.
41569
4842e4fe
JM
41570 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41571 z computation is not scheduled after fetestexcept.
41572 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41573 Use math_force_eval instead of asm to ensure calculation scheduled
41574 before exception test.
41575 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41576 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41577
efb73488
AJ
415782012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41579
41580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41581 computation is not scheduled after fetestexcept.
41582
29bcce7c
L
415832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41584
41585 [BZ #14117]
41586 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41587 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41588
73a68f94
AZ
415892012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41590
41591 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41592 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41593
67b6df78
L
415942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41595
edf2933a 41596 [BZ #14117]
ebc64a18
L
41597 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41598 <bits/wordsize.h>.
41599 (__WCHAR_MIN): Support __WORDSIZE == 64.
41600 (__WCHAR_MAX): Likewise.
41601
edf2933a
L
41602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41604
57c6cf40
L
41605 [BZ #14183]
41606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41607 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41608
67b6df78 41609 [BZ #14117]
8eb6281e
L
41610 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41612
aac639f4
L
41613 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41614 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41615
67b6df78
L
41616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41617 Defined to 1 if __x86_64__ isn't defined.
41618 (_STAT_VER_LINUX_OLD): New.
41619 (st_atime): Remove duplicate.
41620 (st_mtime): Likewise.
41621 (st_ctime): Likewise.
41622
1c2cfe81
DM
416232012-05-31 David S. Miller <davem@davemloft.net>
41624
41625 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41626 entries.
41627
5be8418c
AS
416282012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41629
e7725326
AS
41630 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41631 gen-libm-test.pl.
41632
5be8418c
AS
41633 [BZ #14132]
41634 * elf/dl-reloc.c: Include <_itoa.h>.
41635 (_dl_reloc_bad_type): Remove use of INTUSE.
41636 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41637 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41638 * stdio-common/psiginfo.c (psiginfo): Likewise.
41639 * stdio-common/psignal.c (psignal): Likewise.
41640 * string/strsignal.c (strsignal): Likewise.
41641 * include/signal.h (_sys_siglist): Declare hidden proto.
41642 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41643 INTVARDEF with libc_hidden_data_def.
41644 * stdio-common/itoa-udigits.c: Likewise.
41645 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41646 (_itoa_lower_digits_internal): Remove declaration.
41647 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41648 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41649 (_sys_sigabbrev_internal): Remove aliases.
41650 (_sys_siglist): Define hidden alias.
41651
507352f1
MT
416522012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41653
41654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41655 bits/sysctl.h.
41656
42bbb1c3
L
416572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41658
41659 [BZ #14117]
6bd784b6
L
41660 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41661 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41662
8bca20f0
L
41663 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41666 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41668 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41669
f9e890a9
L
41670 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41672 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41673
471101a1
L
41674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41675 with __addr.
41676 (insw): Likewise.
41677 (insl): Likewise.
41678 (outsb): Likewise.
41679 (outsw): Likewise.
41680 (outsl): Likewise.
41681
6451c862
L
41682 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41684 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41685
a254b8c9
L
41686 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41687 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41689 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41690 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41691 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41692
b8dfdd92
L
41693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41694 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41695
578cd270
L
41696 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41697 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41698
de662f5f
L
41699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41702
25653439
L
41703 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41704 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41705 to ...
41706 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41707
6bad24a0
L
41708 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41709 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41710 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41711
42bbb1c3
L
41712 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41713 for x86-64.
41714 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41715
2d10d547
JM
417162012-05-31 Joseph Myers <joseph@codesourcery.com>
41717
41718 * math/math.h (M_El): Use two more decimal places.
41719 (M_LOG2El): Likewise.
41720 (M_LOG10El): Likewise.
41721 (M_LN2l): Likewise.
41722 (M_LN10l): Likewise.
41723 (M_PIl): Likewise.
41724 (M_PI_2l): Likewise.
41725 (M_PI_4l): Likewise.
41726 (M_1_PIl): Likewise.
41727 (M_2_PIl): Likewise.
41728 (M_2_SQRTPIl): Likewise.
41729 (M_SQRT2l): Likewise.
41730 (M_SQRT1_2l): Likewise.
41731
f230c29b
DM
417322012-05-31 David S. Miller <davem@davemloft.net>
41733
41734 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41735 values between float registers.
41736 * sysdeps/sparc/sparc64/memset.S: Likewise.
41737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41738
fed806c3
MF
417392012-05-31 Mike Frysinger <vapier@gentoo.org>
41740
41741 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41742 -D_FORTIFY_SOURCE=1.
41743 (CPPFLAGS-tst-longjmp_chk.c): Define.
41744 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41745 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41746 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41747 CFLAGS-tst-wchar-h.c.
41748
30917259
MP
417492012-05-31 Marek Polacek <polacek@redhat.com>
41750
41751 [BZ #14132]
41752 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41753 __endmntent_internal): Remove declaration.
41754 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41755 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41756 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41757
1c58d5dc
DM
417582012-05-30 David S. Miller <davem@davemloft.net>
41759
41760 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41761 (___Q_simulate_exceptions): Use real FP ops rather than writing
41762 into the %fsr.
41763 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41764 Likewise.
41765
7dc00e0d
L
417662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41767
41768 [BZ #14117]
0bd53985
L
41769 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41770 * sysdeps/x86/bits/xtitypes.h: This.
41771
3a257e66
L
41772 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41773 * sysdeps/x86/bits/wordsize.h: This.
41774
62f62904
L
41775 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41776 * sysdeps/x86/bits/huge_vall.h: This.
41777
404fe9d9
L
41778 * sysdeps/i386/bits/select.h: Removed.
41779 * sysdeps/x86_64/bits/select.h: Renamed to ...
41780 * sysdeps/x86/bits/select.h: This.
41781
d48d0446
L
41782 * sysdeps/i386/bits/setjmp.h: Removed.
41783 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41784 * sysdeps/x86/bits/setjmp.h: This.
41785
7dc00e0d
L
41786 * sysdeps/i386/bits/mathdef.h: Removed.
41787 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41788 * sysdeps/x86/bits/mathdef.h: This.
41789
03277f8f
AS
417902012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41791
41792 [BZ #14132]
41793 * include/sys/socket.h (__connect_internal)
41794 (__libc_sa_len_internal): Remove declaration.
41795 (__connect, __libc_sa_len): Declare hidden_proto.
41796 (SA_LEN): Remove use of INTUSE.
41797 * socket/connect.c: Add libc_hidden_def.
41798 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41799 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41800 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41801 alias.
41802 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41804 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41805 of adding _internal alias.
41806
13764867
L
418072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41808
41809 [BZ #14117]
6bd97696
L
41810 * sysdeps/i386/bits/link.h: Removed.
41811 * sysdeps/i386/bits/linkmap.h: Likewise.
41812 * sysdeps/x86_64/bits/link.h: Renamed to ...
41813 * sysdeps/x86/bits/link.h: This.
41814 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41815 * sysdeps/x86/bits/linkmap.h: This.
41816
f726f0bb
L
41817 * sysdeps/i386/bits/endian.h: Removed.
41818 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41819 * sysdeps/x86/bits/endian.h: This.
41820
13764867
L
41821 * sysdeps/i386/bits/byteswap.h: Removed.
41822 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41823 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41824 * sysdeps/x86/bits/byteswap.h: This.
41825 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41826 * sysdeps/x86/bits/byteswap-16.h: This.
41827 * sysdeps/i386/Implies: Add x86.
41828 * sysdeps/x86_64/Implies: Likewise.
41829
ae251b0b
DM
418302012-05-30 David S. Miller <davem@davemloft.net>
41831
41832 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41833 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41834 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41835 (FP_TRAPPING_EXCEPTIONS): Define.
41836 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41837 (FP_TRAPPING_EXCEPTIONS): Define.
41838 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41839 subnormals only when inexact has been signalled or underflow
41840 exceptions are enabled.
41841 (_FP_PACK_CANONICAL): Likewise.
41842
d5c90867
L
418432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41844
41845 [BZ #14183]
41846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41847 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41848
63f1549e
RH
418492012-05-30 Richard Henderson <rth@twiddle.net>
41850
8d8f2279
RH
41851 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41852 with #ifndef NOT_IN_libc.
41853
63f1549e
RH
41854 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41855 marked to avoid plt entry.
41856
0ab0291b
L
418572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41858
41859 [BZ #14112]
41860 * Makeconfig (default-abi): New macro.
41861 (abi-includes): Likewise.
41862 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41863 $(abi-$(default-abi)-lib-soname) for soname if defined.
41864 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41865 abi-variants.
41866 * Makefile (installed-stubs): Likewise.
41867 * include/stubs-biarch.h: Removed.
41868 * scripts/lib-names.awk: Only handle one library at a time.
41869 * scripts/soversions.awk: Remove WORDSIZE support.
41870 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41871 entries.
41872 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41873 Removed.
41874 (syscall-list-default-condition): Likewise.
41875 (syscall-list-default-condition): Likewise.
41876 (syscall-list-includes): Likewise.
41877 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41878 syscall-list-* with abi-*. Handle undefined abi-variants.
41879 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41880 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41881 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41882 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41883 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41884 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41885 Removed.
41886 (syscall-list-32-options): Likewise.
41887 (syscall-list-32-condition): Likewise.
41888 (syscall-list-64-options): Likewise.
41889 (syscall-list-64-condition): Likewise.
41890 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41891 macro.
41892 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41893 Renamed to ...
41894 (abi-*): This.
41895 (abi-64-ld-soname): New macro.
41896 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41897 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41898 Renamed to ...
41899 (abi-*): This.
41900 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41901 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41902
4da0431d
JM
419032012-05-30 Joseph Myers <joseph@codesourcery.com>
41904
3a85279c
JM
41905 * sysdeps/unix/sysv/linux/kernel-features.h
41906 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41907 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41908 include <kernel-features.h>.
41909 [!__NR_ftruncate64]: Remove conditional code.
41910 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41911 [__NR_ftruncate64]: Make code unconditional.
41912 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41913 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41914 include <kernel-features.h>.
41915 [!__NR_ftruncate64]: Remove conditional code.
41916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41917 [__NR_ftruncate64]: Make code unconditional.
41918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41920 include <kernel-features.h>.
41921 [!__NR_ftruncate64]: Remove conditional code.
41922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41923 [__NR_ftruncate64]: Make code unconditional.
41924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41926 include <kernel-features.h>.
41927 [!__NR_ftruncate64]: Remove conditional code.
41928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41929 [__NR_ftruncate64]: Make code unconditional.
41930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41931
4da0431d
JM
41932 * configure.in (libc_cv_fpie): Weaken to a compile test using
41933 LIBC_TRY_CC_OPTION.
41934 * configure: Regenerated.
41935
11ef492c
AK
419362012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41937
41938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41942 Refreshed.
41943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41949 Refreshed.
41950
d66ef399
DM
419512012-05-27 David S. Miller <davem@davemloft.net>
41952
41953 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41954 (___Q_zero): New.
41955 (__Q_simulate_exceptions): Return void. Change to simulate
41956 exceptions by writing into the %fsr.
41957 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41958 (__Qp_handle_exceptions): Likewise.
41959 (numbers): Delete.
41960 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41961 __Qp_handle_exceptions.
41962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41963 __Qp_handle_exceptions.
41964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41965 as unused and give dummy FP_RND_NEAREST initializer.
41966 (FP_INHIBIT_RESULTS): Define.
41967 (___Q_simulate_exceptions): Update declaration.
41968 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41969 formatting.
41970 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41971 as unused and give dummy FP_RND_NEAREST initializer.
41972 (__Qp_handle_exceptions): Update declaration.
41973 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41974 formatting.
41975
04fb54b5
TS
419762012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41977
41978 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41979 the temporary FPU control word.
41980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41981 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41982 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41983 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41985 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41986 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41987 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41988 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41989 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41990 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41991
3f99608f
KK
419922012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41993
41994 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41995 fields.
41996
65a4de4e
CLT
419972012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41998
41999 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42000 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42001 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42002 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42003 Likewise.
42004 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42005 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42006 Likewise.
42007
15749d40
UD
420082012-05-27 Ulrich Drepper <drepper@gmail.com>
42009
42010 * po/h.po: Update from translation team.
42011
25dbcb27
AS
420122012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42013
3d3f8e55
AS
42014 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42015
25dbcb27
AS
42016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42017 handling of denormals.
42018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42019 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42020 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42021 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42022 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42025 Likewise.
42026
7ad47a80 420272012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42028
42029 [BZ #14152]
42030 * math/libm-test.inc (fma_test): Don't always expect underflow
42031 exception.
42032
9c6ea9fa
SP
420332012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42034
42035 [BZ #12416]
42036 * elf/tst-execstack.c: Include stackinfo.h.
42037 (do_test): Adjust test case to ensure that pthread_getattr_np
42038 behaviour remains the same after marking stack executable.
42039
a8239222
JM
420402012-05-25 Joseph Myers <joseph@codesourcery.com>
42041
42042 * sysdeps/unix/sysv/linux/kernel-features.h
42043 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42045 kernel-features.h.
42046 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42047 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42048 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42049 kernel-features.h.
42050 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42051 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42052
918b5606
L
420532012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42054
42055 * configure.in: Define the default includes to being none.
42056 * configure: Regenerated.
42057
3a097cc7
RM
420582012-05-25 Roland McGrath <roland@hack.frob.com>
42059
8422c9a5
RM
42060 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42061 * sysdeps/x86_64/setjmp.S: Likewise.
42062 * sysdeps/i386/bsd-setjmp.S: Likewise.
42063 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42064 * sysdeps/i386/setjmp.S: Likewise.
42065 * sysdeps/i386/__longjmp.S: Likewise.
42066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42067 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42068
3a097cc7
RM
42069 * include/stap-probe.h: New file.
42070 * configure.in: Handle --enable-systemtap.
42071 * configure: Regenerated.
42072 * config.h.in (USE_STAP_PROBE): New #undef.
42073 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42074 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42075 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42076
21708942
JM
420772012-05-25 Joseph Myers <joseph@codesourcery.com>
42078
42079 [BZ #13717]
42080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42081 to 2.4.0 where earlier.
42082 * sysdeps/unix/sysv/linux/configure: Regenerated.
42083 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42084 <kernel-features.h>.
42085 [__ASSUME_32BITUIDS]: Make code unconditional.
42086 [!__ASSUME_32BITUIDS]: Remove conditional code.
42087 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42088 <kernel-features.h>.
42089 [__ASSUME_32BITUIDS]: Make code unconditional.
42090 [!__ASSUME_32BITUIDS]: Remove conditional code.
42091 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42092 [__ASSUME_32BITUIDS]: Make code unconditional.
42093 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42094 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42095 <kernel-features.h>.
42096 [__ASSUME_32BITUIDS]: Make code unconditional.
42097 [!__ASSUME_32BITUIDS]: Remove conditional code.
42098 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42099 <kernel-features.h>.
42100 [__ASSUME_32BITUIDS]: Make code unconditional.
42101 [!__ASSUME_32BITUIDS]: Remove conditional code.
42102 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42103 <kernel-features.h>.
42104 [__ASSUME_32BITUIDS]: Make code unconditional.
42105 [!__ASSUME_32BITUIDS]: Remove conditional code.
42106 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42107 <kernel-features.h>.
42108 [__ASSUME_32BITUIDS]: Make code unconditional.
42109 [!__ASSUME_32BITUIDS]: Remove conditional code.
42110 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
42135 <kernel-features.h>.
42136 [__NR_setresgid] (__setresgid): Do not declare.
42137 [__ASSUME_32BITUIDS]: Make code unconditional.
42138 [!__ASSUME_32BITUIDS]: Remove conditional code.
42139 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42140 <kernel-features.h>.
42141 [__NR_setresuid] (__setresuid): Do not declare.
42142 [__ASSUME_32BITUIDS]: Make code unconditional.
42143 [!__ASSUME_32BITUIDS]: Remove conditional code.
42144 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42145 <kernel-features.h>.
42146 [__ASSUME_32BITUIDS]: Make code unconditional.
42147 [!__ASSUME_32BITUIDS]: Remove conditional code.
42148 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42149 <kernel-features.h>.
42150 [__ASSUME_32BITUIDS]: Make code unconditional.
42151 [!__ASSUME_32BITUIDS]: Remove conditional code.
42152 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42153 <kernel-features.h>.
42154 [__ASSUME_32BITUIDS]: Make code unconditional.
42155 [!__ASSUME_32BITUIDS]: Remove conditional code.
42156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42157 <kernel-features.h>.
42158 [__ASSUME_32BITUIDS]: Make code unconditional.
42159 [!__ASSUME_32BITUIDS]: Remove conditional code.
42160 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
42185 (__ASSUME_SETRESUID_SYSCALL): Remove.
42186 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42187 (__ASSUME_32BITUIDS): Likewise.
42188 (__ASSUME_LDT_WORKS): Likewise.
42189 (__ASSUME_O_DIRECTORY): Likewise.
42190 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42191 architecture but not kernel version.
42192 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42193 (__ASSUME_MMAP2_SYSCALL): Likewise.
42194 (__ASSUME_STAT64_SYSCALL): Likewise.
42195 (__ASSUME_IPC64): Likewise.
42196 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42197 <kernel-features.h>.
42198 [__ASSUME_32BITUIDS]: Make code unconditional.
42199 [!__ASSUME_32BITUIDS]: Remove conditional code.
42200 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42201 <kernel-features.h>.
42202 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42203 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42204 132096]: Remove conditional code.
42205 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42206 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42207 <kernel-features.h>.
42208 [__ASSUME_32BITUIDS]: Make code unconditional.
42209 [!__ASSUME_32BITUIDS]: Remove conditional code.
42210 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42211 <kernel-features.h>.
42212 [__ASSUME_32BITUIDS]: Make code unconditional.
42213 [!__ASSUME_32BITUIDS]: Remove conditional code.
42214 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42215 <kernel-features.h>.
42216 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42217 unconditional.
42218 (__setresgid): Do not declare.
42219 [__ASSUME_32BITUIDS]: Make code unconditional.
42220 [!__ASSUME_32BITUIDS]: Remove conditional code.
42221 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42222 <kernel-features.h>.
42223 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42224 unconditional.
42225 (__setresuid): Do not declare.
42226 [__ASSUME_32BITUIDS]: Make code unconditional.
42227 [!__ASSUME_32BITUIDS]: Remove conditional code.
42228 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42229 <kernel-features.h>.
42230 [__ASSUME_32BITUIDS]: Make code unconditional.
42231 [!__ASSUME_32BITUIDS]: Remove conditional code.
42232 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42233 <kernel-features.h>.
42234 [__ASSUME_32BITUIDS]: Make code unconditional.
42235 [!__ASSUME_32BITUIDS]: Remove conditional code.
42236
a386f1cc
RH
422372012-05-25 Richard Henderson <rth@twiddle.net>
42238
42239 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42240 dl_hwcap to ifunc resolver.
42241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42242 elf_ifunc_invoke.
42243 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42244 dl_hwcap to ifunc resolver.
42245 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42246
b6550497
JM
422472012-05-24 Joseph Myers <joseph@codesourcery.com>
42248
42249 [BZ #14153]
42250 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42251 for |x| <= 2**-26, not 2**-57.
42252 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42253 exception.
42254
b0bc23a1
JL
422552012-05-24 Jeff Law <law@redhat.com>
42256
42257 * stdio-common/Makefile (tests): Add bug25.
42258 * stdio-common/bug25.c: New test.
42259
347c92e9
L
422602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42261
42262 [BZ #13576]
42263 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42264 multiple of MALLOC_ALIGNMENT in size.
42265 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42266
6bcc8b3f
JM
422672012-05-24 Joseph Myers <joseph@codesourcery.com>
42268
42269 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42270 Require >= 256.
42271 (FILENAME_MAX): Use macro-int-constant.
42272 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42273 (_IOFBF): Use macro-int-constant.
42274 (_IOLBF): Likewise.
42275 (_IONBF): Likewise.
42276 (SEEK_CUR): Likewise.
42277 (SEEK_END): Likewise.
42278 (SEEK_SET): Likewise.
42279 (TMP_MAX): Likewise.
42280 (EOF): Use macro-int-constant. Require < 0.
42281 (NULL): Use macro-constant. Require == 0.
42282 (stdin): Require type to be FILE *.
42283 (stdout): Likewise.
42284 (stderr): Likewise.
42285 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42286 macro-int-constant.
42287 (EXIT_SUCCESS): Likewise.
42288 (NULL): Use macro-constant. Require == 0.
42289 (RAND_MAX): Use macro-int-constant.
42290 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42291 [C99-based standards] (strtof): Require function.
42292 [C99-based standards] (strtold): Likewise.
42293 [C99-based standards] (strtoll): Likewise.
42294 [C99-based standards] (strtoull): Likewise.
42295 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42296 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42297 [ISO || ISO99 || ISO11] (math.h): Likewise.
42298 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42299 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42301
d18ea0c5
AS
423022012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42303
42304 [BZ #14132]
56d25bb8
AS
42305 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42306 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42307 * intl/dgettext.c (DCGETTEXT): Likewise.
42308 * intl/gettext.c (DCGETTEXT): Likewise.
42309 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42310 * posix/regex_internal.h (gettext): Likewise.
42311 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42312 Remove declaration.
42313 * include/argz.h (__argz_count_internal)
42314 (__argz_stringify_internal): Remove declaration.
42315 (__argz_count, __argz_stringify): Declare hidden proto.
42316 * intl/dcgettext.c: Remove use of INTDEF.
42317 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42318 * string/argz-stringify.c: Likewise.
42319 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42320 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42321 Declare hidden proto.
d18ea0c5
AS
42322 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42323 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42324 Declare hidden proto.
42325 * include/stdio.h (__asprintf_internal): Don't declare.
42326 (__asprintf): Don't define as macro. Declare hidden proto.
42327 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42328 (__fsetlocking): Declare hidden proto.
42329 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42330 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42331 hidden proto.
42332 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42333 (_IO_setlinebuf): Remove use of INTUSE.
42334 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42335 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42336 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42337 Remove declaration.
42338 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42339 (_IO_do_flush): Remove use of INTUSE.
42340 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42341 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42342 (_IO_adjust_column, _IO_least_wmarker)
42343 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42344 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42345 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42346 (_IO_default_doallocate, _IO_wdefault_doallocate)
42347 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42348 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42349 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42350 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42351 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42352 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42353 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42354 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42355 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42356 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42357 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42358 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42359 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42360 proto.
42361 (_IO_flush_all_internal, _IO_adjust_column_internal)
42362 (_IO_default_uflow_internal, _IO_default_finish_internal)
42363 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42364 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42365 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42366 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42367 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42368 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42369 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42370 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42371 (_IO_file_close_internal, _IO_file_close_it_internal)
42372 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42373 (_IO_file_init_internal, _IO_file_attach_internal)
42374 (_IO_file_fopen_internal, _IO_file_read_internal)
42375 (_IO_file_sync_internal, _IO_file_seek_internal)
42376 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42377 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42378 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42379 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42380 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42381 (_IO_list_all_internal, _IO_link_in_internal)
42382 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42383 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42384 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42385 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42386 (_IO_do_write_internal, _IO_padn_internal)
42387 (_IO_getline_info_internal, _IO_getline_internal)
42388 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42389 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42390 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42391 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42392 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42393 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42394 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42395 with libc_hidden_ver, remove use of INTUSE.
42396 * libio/genops.c: Likewise.
42397 * libio/freopen.c: Likewise.
42398 * libio/freopen64.c: Likewise.
42399 * libio/iofclose.c: Likewise.
42400 * libio/iofdopen.c: Likewise.
42401 * libio/iofflush.c: Likewise.
42402 * libio/iofflush_u.c: Likewise.
42403 * libio/iofgets.c: Likewise.
42404 * libio/iofgets_u.c: Likewise.
42405 * libio/iofopen.c: Likewise.
42406 * libio/iofopncook.c: Likewise.
42407 * libio/iofread.c: Likewise.
42408 * libio/iofread_u.c: Likewise.
42409 * libio/ioftell.c: Likewise.
42410 * libio/iofwrite.c: Likewise.
42411 * libio/iogetline.c: Likewise.
42412 * libio/iogets.c: Likewise.
42413 * libio/iogetwline.c: Likewise.
42414 * libio/iopadn.c: Likewise.
42415 * libio/iopopen.c: Likewise.
42416 * libio/ioseekoff.c: Likewise.
42417 * libio/ioseekpos.c: Likewise.
42418 * libio/iosetbuffer.c: Likewise.
42419 * libio/iosetvbuf.c: Likewise.
42420 * libio/ioungetc.c: Likewise.
42421 * libio/ioungetwc.c: Likewise.
42422 * libio/iovdprintf.c: Likewise.
42423 * libio/iovsprintf.c: Likewise.
42424 * libio/iovsscanf.c: Likewise.
42425 * libio/memstream.c: Likewise.
42426 * libio/obprintf.c: Likewise.
42427 * libio/oldfileops.c: Likewise.
42428 * libio/oldiofclose.c: Likewise.
42429 * libio/oldiofdopen.c: Likewise.
42430 * libio/oldiofopen.c: Likewise.
42431 * libio/oldiopopen.c: Likewise.
42432 * libio/oldstdfiles.c: Likewise.
42433 * libio/putc.c: Likewise.
42434 * libio/setbuf.c: Likewise.
42435 * libio/setlinebuf.c: Likewise.
42436 * libio/stdfiles.c: Likewise.
42437 * libio/strops.c: Likewise.
42438 * libio/vasprintf.c: Likewise.
42439 * libio/vscanf.c: Likewise.
42440 * libio/vsnprintf.c: Likewise.
42441 * libio/vswprintf.c: Likewise.
42442 * libio/wfiledoalloc.c: Likewise.
42443 * libio/wfileops.c: Likewise.
42444 * libio/wgenops.c: Likewise.
42445 * libio/wmemstream.c: Likewise.
42446 * libio/wstrops.c: Likewise.
42447 * libio/__fpurge.c: Likewise.
42448 * libio/__fsetlocking.c: Likewise.
42449 * assert/assert.c: Likewise.
42450 * debug/fgets_chk.c: Likewise.
42451 * debug/fgets_u_chk.c: Likewise.
42452 * debug/fread_chk.c: Likewise.
42453 * debug/fread_u_chk.c: Likewise.
42454 * debug/gets_chk.c: Likewise.
42455 * debug/obprintf_chk.c: Likewise.
42456 * debug/vasprintf_chk.c: Likewise.
42457 * debug/vdprintf_chk.c: Likewise.
42458 * debug/vsnprintf_chk.c: Likewise.
42459 * debug/vsprintf_chk.c: Likewise.
42460 * malloc/mtrace.c: Likewise.
42461 * misc/error.c: Likewise.
42462 * misc/syslog.c: Likewise.
42463 * stdio-common/asprintf.c: Likewise.
42464 * stdio-common/fxprintf.c: Likewise.
42465 * stdio-common/getw.c: Likewise.
42466 * stdio-common/isoc99_fscanf.c: Likewise.
42467 * stdio-common/isoc99_scanf.c: Likewise.
42468 * stdio-common/isoc99_vfscanf.c: Likewise.
42469 * stdio-common/isoc99_vscanf.c: Likewise.
42470 * stdio-common/isoc99_vsscanf.c: Likewise.
42471 * stdio-common/printf-prs.c: Likewise.
42472 * stdio-common/printf_fp.c: Likewise.
42473 * stdio-common/printf_fphex.c: Likewise.
42474 * stdio-common/printf_size.c: Likewise.
42475 * stdio-common/putw.c: Likewise.
42476 * stdio-common/scanf.c: Likewise.
42477 * stdio-common/sprintf.c: Likewise.
42478 * stdio-common/tmpfile.c: Likewise.
42479 * stdio-common/vfprintf.c: Likewise.
42480 * stdio-common/vfscanf.c: Likewise.
42481 * stdlib/strfmon_l.c: Likewise.
42482 * sunrpc/openchild.c: Likewise.
42483 * sunrpc/xdr_stdio.c: Likewise.
42484 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42485 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42486
d6c33fda
RM
424872012-05-24 Roland McGrath <roland@hack.frob.com>
42488
c1487492
RM
42489 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42490
42491 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42492 in the third column, to generate for the shared library an IFUNC
42493 that uses _dl_vdso_vsym.
42494 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42495 * Makeconfig (object-suffixes-noshared): New variable.
42496
42497 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42498 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42499 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42500 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42501
d6c33fda
RM
42502 [BZ #14132]
42503 * include/sys/time.h (__gettimeofday): Remove macro.
42504 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42505 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42506 Remove INTDEF.
42507 (__gettimeofday): Add libc_hidden_def.
42508 (gettimeofday): Add libc_hidden_weak.
42509 * sysdeps/mach/gettimeofday.c: Likewise.
42510 * sysdeps/posix/gettimeofday.c: Likewise.
42511 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42512 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42514 (__gettimeofday_internal): Remove strong_alias.
42515 (__gettimeofday): Add libc_hidden_def.
42516 (gettimeofday): Add libc_hidden_weak.
42517 * sysdeps/unix/syscalls.list (gettimeofday):
42518 Remove __gettimeofday_internal alias.
42519
b5a2bbe6
L
425202012-05-24 Daniel Jacobowitz <drow@false.org>
42521 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 [BZ #12495]
42524 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42525 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42526 (largebin_index_32_big): New.
42527 (largebin_index): Use it for 16-byte alignment.
42528 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42529 correction with front_misalign.
42530
cfba4fda
L
425312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42532
7f907421
L
42533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42535 Likewise.
42536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42537 Likewise.
42538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42539 Likewise.
42540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42541 Likewise.
42542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42543 Likewise.
42544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42545 Likewise.
42546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42547 Likewise.
42548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42549 Likewise.
42550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42551 Likewise.
42552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42553 Likewise.
42554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42555 Likewise.
42556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42557 Likewise.
42558
cfba4fda
L
42559 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42560 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42561
80bad0cc
JM
425622012-05-24 Joseph Myers <joseph@codesourcery.com>
42563
7a25eb06
JM
42564 [BZ #10846]
42565 [BZ #14036]
42566 * math/libm-test.inc (exp_test): Add test from bug 14036.
42567 (pow_test): Add test from bug 10846.
42568
795405f9
JM
42569 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42570 and other flags.
42571 (special_function): Do not include flags in test name.
42572 (parse_args): Likewise.
42573 * sysdeps/i386/fpu/libm-test-ulps: Update.
42574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42575 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42576 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42578
80bad0cc
JM
42579 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42580 exceptions.
42581 * math/libm-test.inc ("Philosophy"): Update comment about
42582 exception testing.
42583 (UNDERFLOW_EXCEPTION): New macro.
42584 (UNDERFLOW_EXCEPTION_OK): Likewise.
42585 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42586 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42587 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42588 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42589 (INVALID_EXCEPTION_OK): Update value.
42590 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42591 (OVERFLOW_EXCEPTION_OK): Likewise.
42592 (IGNORE_ZERO_INF_SIGN): Likewise.
42593 (test_exceptions): Handle underflow exceptions.
42594 (acos_test): Update for underflow exception expectations.
42595 (cexp_test): Likewise.
42596 (clog_test): Likewise.
42597 (clog10_test): Likewise.
42598 (csqrt_test): Likewise.
42599 (ctan_test): Likewise.
42600 (ctanh_test): Likewise.
42601 (exp_test): Likewise.
42602 (exp10_test): Likewise.
42603 (exp2_test): Likewise.
42604 (expm1_test): Likewise.
42605 (fma_test): Likewise.
42606 (j0_test): Likewise.
42607 (jn_test): Likewise.
42608 (nexttoward_test): Likewise.
42609 (pow_test): Likewise.
42610 (scalbn_test): Likewise.
42611 (scalbln_test): Likewise.
42612 (tan_test): Likewise.
42613 (y1_test): Likewise.
42614 * sysdeps/i386/fpu/libm-test-ulps: Update.
42615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42616
9e0e3d0b
DM
426172012-05-23 David S. Miller <davem@davemloft.net>
42618
42619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42620 (__libc_sigaction): Remove unused local variables.
42621
ccd0a08f
L
426222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42623
42624 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42625
62bdf9a6
PE
426262012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42627
f8591f80
PE
42628 mktime: avoid signed integer overflow
42629 * time/mktime.c (__mktime_internal): Do not mishandle the case
42630 where diff == INT_MIN.
42631
94c7d826
PE
42632 mktime: simplify computation of average
42633 * time/mktime.c (ranged_convert): Use new time_t_avg function
42634 instead of rolling our own (probably-slower) code.
42635
ce73d683
PE
42636 mktime: do not assume signed right shift propagates sign bit
42637 * time/mktime.c (isdst_differ): New static function.
42638 (__mktime_internal): No need to normalize tm_isdst now.
42639 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42640 tm_isdst values.
42641
72a22e59
PE
42642 mktime: merge another wrapv change from gnulib
42643 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42644 from some compilers.
42645
68605433
PE
42646 mktime: remove incorrect attempt at unusual arithmetics
42647 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42648 The code didn't really work on such machines anyway.
42649 (TYPE_MINIMUM): Assume two's complement.
42650 (twos_complement_arithmetic): Verify that long_int and time_t
42651 are two's complement (or unsigned, in the latter case).
42652
03cf7fe3
PE
42653 mktime: check signed shifts on long_int and time_t, too
42654 * time/mktime.c (SHR): Check that shifts work as desired
42655 on the types long_int and time_t too, as SHR is used on
42656 such types.
42657
f04dfbc2
PE
42658 mktime: do not assume 'long' is wide enough
42659 * time/mktime.c (verify): Move decl up.
42660 (long_int): New type.
42661 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42662 to remove assumption in the code that 'long' is wide enough to
42663 store year values. This assumption is not true on x32 and on
42664 some non-glibc platforms.
42665
62bdf9a6
PE
42666 mktime: merge wrapv change from gnulib
42667 * time/mktime.c (WRAPV): New macro.
42668 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42669 (guess_time_tm, __mktime_internal): Do not assume that signed
42670 integer overflow wraps around; modern compilers generate code
42671 where this assumption is no longer valid.
42672
5e292e4f
L
426732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42674
42675 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42676 Replace "jmp L(pseudo_end)" with "ret".
42677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42678 Likewise.
42679
8caf8c87
AJ
426802012-05-23 Andreas Jaeger <aj@suse.de>
42681
42682 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42683 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42684
1a09dc56
AJ
426852012-05-23 Andreas Jaeger <aj@suse.de>
42686 Maximilian Attems <max@stro.at>
42687
42688 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42689 New macros.
42690
1c87aba0
L
426912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42692
42693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42694 code so that pseudo_end is just ret and the stack pointer is
42695 correct also for static library in error case.
42696
40e45bd5
JM
426972012-05-23 Joseph Myers <joseph@codesourcery.com>
42698
c2670533
JM
42699 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42700 move to syscalls.list.
42701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42705
40e45bd5
JM
42706 * manual/install.texi (Running make install): Do not mention Linux
42707 kernel version for which pt_chown is not needed.
42708 (Linux): Do not mention problems with nscd with 2.0 kernels.
42709 * INSTALL: Regenerated.
42710
be08eda5
AJ
427112012-05-23 Andreas Jaeger <aj@suse.de>
42712
42713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42714 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42715 macro.
42716 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42718 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42720 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42726 * sysdeps/unix/sysv/linux/bits/in.h
42727 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42728
a6a056bb
RM
427292012-05-22 Roland McGrath <roland@hack.frob.com>
42730
42731 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42732 (PREPARE_VERSION): Just use assert instead, it will be elided
42733 under [NDEBUG] anyway.
42734
c9009328
L
427352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42736
42737 * sysdeps/unix/sysv/linux/Makefile: Include
42738 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42739 (sysdep_routines): Remove sysctl.
c9009328
L
42740 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42741 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42742 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42743 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42744 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42745
73338355
AJ
427462012-05-22 Andreas Jaeger <aj@suse.de>
42747
42748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42749 that pseudo_end is just ret and the stack pointer is correct also
42750 for static library in error case.
42751
d44638b0
PP
427522012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42753
42754 [BZ #14122]
42755 * nss/nsswitch.c (defconfig_entries): New variable.
42756 (__nss_database_lookup): Don't leak defconfig entries.
42757 (nss_parse_service_list): Don't leak on error paths.
42758 (free_database_entries): New function.
42759 (free_defconfig): New function.
42760 (free_mem): Move common code to free_database_entries.
42761
31a39bd8
L
427622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42763
da0331a8
L
42764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42765 Add arch_prctl.
42766 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42767
31a39bd8
L
42768 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42769 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42771 New macro.
42772 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42773 (INTERNAL_SYSCALL_TYPES): Likewise.
42774 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42775 (LOAD_REGS_TYPES_[1-6]): Likewise.
42776 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42777 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42778
45470df3
AZ
427792012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42780
42781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42782 copysignl for GLIBC_2_0.
42783 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42784 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42786 logbl for GLIBC_2_0.
42787 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42788 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42789
98a61bcb
L
427902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42791
a4f6e481
L
42792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42794
f63d5db6
L
42795 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42796 Use "neg %eax".
42797
98a61bcb
L
42798 * time/mktime.c: Update copyright years.
42799
95770f14
PE
428002012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42801
6226efbd
PE
42802 mktime: merge comment-quoting-style change from gnulib
42803 * time/mktime.c: Quote 'like this' in comments.
42804 The GNU coding standards suggest that we no longer quote `like this',
42805 as "`" and "'" are typically rendered asymmetrically nowadays.
42806 The typical gnulib style is to quote 'like this' when quoting
42807 code, and "like this" when quoting English.
42808
b99e4f78
PE
42809 * time/mktime.c (compile-command): Add "-I.".
42810
643e01e6
PE
42811 mktime: merge mktime-internal.h change from gnulib
42812 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42813
2554247d
PE
42814 mktime: merge time_r change from gnulib
42815 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42816
826dd0ab
PE
42817 mktime: merge DEBUG change from gnulib
42818 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42819 case system <time.h> has a #define.
42820
bd83aabe
PE
42821 mktime: merge <sys/types.h> change from gnulib
42822 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42823 since <time.t> is now guaranteed to define time_t.
42824
95770f14
PE
42825 mktime: merge HAVE_CONFIG_H change from gnulib
42826 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42827
5e1a27a9
L
428282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42829
0e44a77e
L
42830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42831 Use "neg %eax".
42832
5e1a27a9
L
42833 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42834 __rlim_t cast.
42835 (struct rusage): Use anonymous union to pad each field to
42836 __syscall_slong_t.
42837
46259bec
DM
428382012-05-21 David S. Miller <davem@davemloft.net>
42839
42840 * Makefules (o-iterator): Remove .s cases.
42841 (compile-command.s): Delete.
42842 (COMPILE.s): Delete.
42843 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42844
59f0c22e
JM
428452012-05-21 Joseph Myers <joseph@codesourcery.com>
42846
42847 * configure.in (libc_cv_predef_stack_protector): Only consider
42848 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42849 * configure: Regenerated.
42850
20c07380
L
428512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42852
bbb3154b
L
42853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42854 New macro. Use R*LP on int and pointer.
42855 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42856 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42857 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42858 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42859
20c07380
L
42860 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42861 [__WORDSIZE_TIME64_COMPAT32] instead of
42862 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42863 (struct utmp): Likewise.
42864 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42865 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42866 Renamed to ...
42867 (__WORDSIZE_TIME64_COMPAT32): This.
42868 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42869 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42870 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42871 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42872 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42873 (__WORDSIZE_TIME64_COMPAT32): New macro.
42874
d8d1017e
AJ
428752012-05-21 Andreas Jaeger <aj@suse.de>
42876
42877 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42878 only if [SHARED]. Add prototype for __wcschr_ia32.
42879
6c7fb145
RM
428802012-05-21 Roland McGrath <roland@hack.frob.com>
42881
42882 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42883 of %rbp unmolested in the jmp_buf while mangling the low bits.
42884 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42885 unmolested high bits of %rbp while demangling the low bits.
42886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42887
66274218
AJ
428882012-05-21 Andreas Jaeger <aj@suse.de>
42889
07c58f8f
AJ
42890 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42891 * sunrpc/svc_simple.c: Use it for registerrpc.
42892 * sunrpc/xcrypt.c: Use it for passwd2des.
42893
66274218
AJ
42894 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42895
61f65140
L
428962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42897
42898 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42899 Don't define if [__SYSCALL_WORDSIZE != 32].
42900 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42901 New macro.
42902
5fefb436
AJ
429032012-05-21 Bruno Haible <bruno@clisp.org>
42904 Andreas Jaeger <aj@suse.de>
42905
42906 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42907 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42908 inptr and inend for must_buffer_ch.
42909 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42910 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42911 * stdio-common/Makefile (tests): Remove bug15.
42912 (bug15-ENV): Remove macro.
42913 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42914 anymore.
42915
d8e272ab
AJ
429162012-05-19 Andreas Jaeger <aj@suse.de>
42917 Roland McGrath <roland@hack.frob.com>
42918
42919 * manual/contrib.texi: Completely rewritten. It contains now an
42920 alphabetical list of contributors and their contributions.
42921
4a56a162
RH
429222012-05-21 Richard Henderson <rth@twiddle.net>
42923
42924 * misc/getauxval.c (__getauxval): Use unsigned long int.
42925 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42926 (getauxval): Use unsigned long int.
42927
d024d23c
L
429282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42929
42930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42931
cbc00a03
RM
429322012-05-21 Roland McGrath <roland@hack.frob.com>
42933
42934 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42935 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42936 __alignof__ (long double).
42937
478143fa
AZ
429382012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42939
42940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42941
c7683a6d
RH
429422012-05-20 Richard Henderson <rth@twiddle.net>
42943
42944 * misc/getauxval.c: New file.
42945 * misc/sys/auxv.h: New file.
42946 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42947 (routines): Add getauxval.
42948 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42949 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42950 * elf/dl-sysdep.c (_dl_auxv): Remove.
42951 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42952 * elf/dl-support.c (_dl_auxv): New variable.
42953 (_dl_aux_init): Initialize it.
42954 * manual/startup.texi (Auxiliary Vector): New node.
42955 * sysdeps/generic/bits/hwcap.h: New file.
42956 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42957 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42958 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42959 * sysdeps/sparc/sysdep.h: ... here. Include it.
42960 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42963 Update.
c7683a6d
RH
42964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42972
a6f1845d
AZ
429732012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42974
42975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42976
cbcbe830
DM
429772012-05-19 David S. Miller <davem@davemloft.net>
42978
42979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42980
e0b16cc2
JM
429812012-05-19 Joseph Myers <joseph@codesourcery.com>
42982
42983 [BZ #14123]
42984 * math/s_ccosh.c: Include <float.h>
42985 (__ccosh): Avoid internal overflow calculating sinh and cosh
42986 values before multiplying by sin and cos values.
42987 * math/s_ccoshf.c: Likewise.
42988 * math/s_ccoshl.c: Likewise.
42989 * math/s_csin.c: Likewise.
42990 * math/s_csinf.c: Likewise.
42991 * math/s_csinl.c: Likewise.
42992 * math/s_csinh.c: Likewise.
42993 * math/s_csinhf.c: Likewise.
42994 * math/s_csinhl.c: Likewise.
42995 * math/libm-test.inc (ccos_test): Add more tests.
42996 (ccosh_test): Likewise.
42997 (csin_test): Likewise.
42998 (csinh_test): Likewise.
42999 * sysdeps/i386/fpu/libm-test-ulps: Update.
43000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43001
6ad13e08
L
430022012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43003
f66f0ce8
L
43004 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43005 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43006
6ad13e08
L
43007 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43008
b1d072a7
JM
430092012-05-19 Joseph Myers <joseph@codesourcery.com>
43010
43011 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43012 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43013 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43014 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43015 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43016 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43017 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43018 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43019 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43020 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43021 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43022 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43023 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43024 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43025 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43026 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43027 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43028 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43029 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43030 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43031 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43032 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43033 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43034 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43035 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43036 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43037 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43038 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43039 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43040 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43041 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43042
9eae47cb
AJ
430432012-05-18 Andreas Jaeger <aj@suse.de>
43044
43045 * csu/.gitignore: Delete.
43046
bb07f69f
L
430472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43048
43049 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43050 (timex): Use __syscall_slong_t.
43051
e6bdb741
AJ
430522012-05-18 Andreas Jaeger <aj@suse.de>
43053 Carlos O'Donell <carlos_odonell@mentor.com>
43054
43055 * manual/install.texi (Configuring and compiling): Update
43056 description about files modified in the source directory.
d6c33fda 43057 * INSTALL: Regenerated.
e6bdb741 43058
1b74487e
L
430592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43060
43061 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43062 value. Use "or" to set return value to -1.
43063 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43064 negate return value.
43065
a88b64b9
TMQMF
430662012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43067
57f41c40
AS
43068 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43069 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43070 failure if the compiler has Graphite support disabled.
43071 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43072 Likewise.
57f41c40
AS
43073 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43074 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43075 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43076 Likewise.
43077
3707636e
L
430782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43079
610b8622
L
43080 * sysdeps/x86_64/x32/_itoa.h: New file.
43081
7cd195df
L
43082 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43083 getdents system call only if kernel and user dirents have the
43084 same d_ino and d_off.
43085
94b07d20
L
43086 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43087 LLONG_MAX != LONG_MAX.
43088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43089 (_fitoa_word): Likewise.
43090
18298070
L
43091 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43092 years.
43093 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43094 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43095 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43096
553c7ea4
L
43097 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43098 include <bits/wordsize.h>. Check __x86_64__ instead of
43099 __WORDSIZE.
43100 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43101 if __x86_64__ is defined. Use anonymous union on fpstate.
43102
3707636e
L
43103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43104 anonymous union.
43105
b53ef01a
AS
431062012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43107
37fb1dc0
AS
43108 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43109 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43111 Refer to _rtld_local_ro instead of _rtld_global_ro.
43112 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43113 Likewise.
43114 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43115 Likewise.
43116 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43117 Likewise.
43118 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43119 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43120 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43121
b53ef01a
AS
43122 * sysdeps/powerpc/powerpc32/dl-machine.c
43123 (__elf_machine_runtime_setup) [PROF]: Don't reference
43124 _dl_prof_resolve.
43125
7a185db2
AJ
431262012-05-18 Andreas Jaeger <aj@suse.de>
43127
43128 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43129 function only available for GCCs before 3.4 since GCC 3.4
43130 introduced a builtin.
43131 (lrint): Likewise.
43132 (llrintf): Likewise.
43133 (llrint): Likewise.
43134 (fmaxf): Likewise.
43135 (fmax): Likewise.
43136 (fminf): Likewise.
43137 (fmin): Likewise.
43138 (rint): Likewise.
43139 (rintf): Likewise.
43140 (nearbyint): Likewise.
43141 (nearbyintf): Likewise.
43142 (ceil): Likewise.
43143 (ceilf): Likewise.
43144 (floor): Likewise.
43145 (floorf): Likewise.
43146
3e5aef87
L
431472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43148
428bd707
L
43149 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43150 on both fields and cast pointer to __syscall_ulong_t.
43151
3e5aef87
L
43152 * bits/types.h (__fsword_t): New type.
43153 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43154 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43156 (__FSWORD_T_TYPE): Likewise.
43157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43158 (__FSWORD_T_TYPE): Likewise.
43159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43160 (__FSWORD_T_TYPE): Likewise.
43161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43162 (__FSWORD_T_TYPE): Likewise.
43163 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43164 __SWORD_TYPE with __fsword_t.
43165 (statfs64): Likewise.
43166
1ba7c3dc
DM
431672012-05-17 David S. Miller <davem@davemloft.net>
43168
43169 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43170
59910343
AJ
431712012-05-17 Andreas Jaeger <aj@suse.de>
43172
43173 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43174 warning.
43175
2e4c1e9e
L
431762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43177
43178 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43179
de7f5ce7
AJ
431802012-05-17 Andreas Jaeger <aj@suse.de>
43181
43182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43183 when it is used.
43184
286abc3d
CM
431852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43186
43187 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43188
477cc68e
L
431892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43190
43191 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43192 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43193
1a0994f5
CD
431942012-05-17 Andreas Jaeger <aj@suse.de>
43195 Carlos O'Donell <carlos_odonell@mentor.com>
43196
43197 [BZ #14059]
43198 * sysdeps/x86_64/multiarch/init-arch.h
43199 (bit_YMM_Usable): Rename to...
43200 (bit_AVX_Usable): ... this.
43201 (bit_FMA4_Usable): New macro.
43202 (bit_XMM_state): New macro.
43203 (bit_YMM_state): New macro.
43204 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43205 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43206 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43207 (CPUID_OSXSAVE): New macro.
43208 (CPUID_AVX): New macro.
43209 (CPUID_FMA4): New macro.
43210 (index_YMM_Usable): Rename to...
43211 (index_AVX_Usable): ... this.
43212 (HAS_AVX): Use HAS_ARCH_FEATURE.
43213 (HAS_FMA4): Likewise.
43214 (HAS_YMM_USABLE): Remove.
43215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43216 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43217 are present.
43218 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43219 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43220 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43221 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43222 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43223
0af797de
CM
432242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43225
43226 * math/libm-test.c: Support platforms without multiple rounding modes.
43227 * math/bug-nextafter.c: Support platforms without FP exceptions.
43228 * math/bug-nexttoward.c: Likewise.
43229 * math/test-fenv.c: Likewise.
43230 * math/test-misc.c: Likewise.
43231 * stdlib/bug-getcontext.c: Likewise.
43232
e39745ff
AJ
432332012-05-17 Andreas Jaeger <aj@suse.de>
43234
43235 * manual/examples/search.c (critter_cmp): Change signature to
43236 avoid warnings.
43237 * manual/string.texi (Collation Functions): Likewise.
43238
48970aba
L
432392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43240
43241 * bits/types.h: Fold copyright years.
43242 * bits/typesizes.h: Likewise.
43243 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43247 * time/time.h: Likewise.
43248
bedee953
PP
432492012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43250
43251 [BZ #208]
43252 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43253 in instead of returning them. Return void.
43254 (__libc_mallinfo): Accumulate over all arenas.
43255 (__malloc_stats): Adjust for change in int_mallinfo interface.
43256
61653dfb
RM
432572012-05-16 Roland McGrath <roland@hack.frob.com>
43258
30b99d79
RM
43259 [BZ #10375]
43260 * configure.in (NM): Add AC_CHECK_TOOL for it.
43261 (libc_extra_cflags): New substituted variable.
43262 Check for -fstack-protector being used implicitly.
43263 * configure: Regenerated.
43264 * config.make.in (config-extra-cflags): New variable,
43265 gets @libc_extra_cflags@.
43266 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43267
61653dfb
RM
43268 [BZ #10375]
43269 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43270 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43271 * configure: Regenerated.
43272 * config.make.in (CPPUNDEFS): New substituted variable.
43273 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43274 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43275 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43276
661768bb
L
432772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43278
43279 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43280 (mq_attr): Use __syscall_slong_t.
43281
d4261567
L
432822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43285 Check __x86_64__ instead of __WORDSIZE.
43286 (_STAT_VER_LINUX): Likewise.
43287 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43288 __syscall_ulong_t and __syscall_slong_t.
43289 (stat64): Likewise.
43290
cf3ff365
L
432912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43292
43293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43294
76cf3e4d
L
432952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43296
43297 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43298
a637753a
L
432992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43300
43301 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43302 __syscall_ulong_t.
43303
d5e05119
L
43304 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43305 include <bits/wordsize.h>. Check __x86_64__ instead of
43306 __WORDSIZE.
43307 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43308 defined.
43309 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43310
f62ee380
L
43311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43312 include <bits/wordsize.h>. Check __x86_64__ instead of
43313 __WORDSIZE.
43314 (user_regs_struct): Use "__extension__ unsigned long long"
43315 instead of "unsigned long" if __x86_64__ is defined.
43316 (user): Likewise. Pad after pointer field if __ILP32__ is
43317 defined.
43318
4e124ced
JM
433192012-05-16 Joseph Myers <joseph@codesourcery.com>
43320
6a3951a0
JM
43321 * configure.in (makeinfo): Require version 4.5 or later. Allow
43322 versions 5 to 9.
43323 * configure: Regenerated.
43324 * manual/install.texi (texinfo): Increase version requirement to
43325 4.5 or later.
43326 * INSTALL: Regenerated.
43327
4e124ced
JM
43328 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43329
953ca31a
L
433302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43331
43332 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43333
617aca05
L
43334 * sysdeps/x86_64/x32/ffs.c: New file.
43335
5762f7ae
L
43336 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43337 __syscall_ulong_t.
43338 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43339 defined. Use __syscall_ulong_t.
43340 (shminfo): Use __syscall_ulong_t.
43341 (shm_info): Likewise.
43342
a26b6856
L
43343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43344 __syscall_ulong_t.
43345
cb2b9ef7
L
43346 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43347 <bits/wordsize.h>.
43348 (msgqnum_t): Use __syscall_ulong_t.
43349 (msglen_t): Likewise.
43350 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43351 __syscall_ulong_t.
43352
34683bb0
L
43353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43355
84a68786
L
43356 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43357
48baa5f1
L
43358 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43359 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43360
180be88b
L
43361 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43362 __syscall_slong_t.
43363
5e90c8ad
L
43364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43365 include <bits/wordsize.h>. Check __x86_64__ instead of
43366 __WORDSIZE.
43367
23dfb58b
L
43368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43369 "unsigned long long int" if __x86_64__ is defined.
43370 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43371
ce5d54b0
L
43372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43373 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43374 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43375
13dc9eac
L
43376 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43377 <stdint.h>.
43378 (GET_PC): Cast to uintptr_t first.
43379 (GET_FRAME): Likewise.
43380 (GET_STACK): Likewise.
43381
a7895d15
L
43382 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43383 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43385 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43387 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43388 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43389 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43390 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43394 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43395 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43397 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43398 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43400 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43402 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43403 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43404 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43405 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43406 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43407 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43408 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43409 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43410 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43411
656416c9
AS
434122012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43413
5bd66283
AS
43414 * Makerules (+depfiles): Also collect depfiles from .oS in
43415 $(extra-objs).
43416 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43417 .oS, $(libnldbl-routines)).
43418
656416c9
AS
43419 * Makerules (native-compile-mkdep-flags): Define.
43420 * sunrpc/Makefile (extra-objs): Add $(addprefix
43421 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43422 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43423 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43424 calling $(make-target-directory).
43425
a46f2169
L
434262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43427
43428 * bits/types.h (__snseconds_t): Removed.
43429 * time/time.h (struct timespec): Replace __snseconds_t with
43430 __syscall_slong_t.
43431 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43432 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43433 Likewise.
43434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43435 (__SNSECONDS_T_TYPE): Likewise.
43436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43437 (__SNSECONDS_T_TYPE): Likewise.
43438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43439 (__SNSECONDS_T_TYPE): Likewise.
43440
6af6528b
L
434412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43442
43443 * sysdeps/mach/hurd/bits/typesizes.h
43444 (__SYSCALL_SLONG_TYPE): New macro.
43445 (__SYSCALL_ULONG_TYPE): Likewise.
43446
de986b56
L
434472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43448
43449 * bits/types.h (__syscall_slong_t): New type.
43450 (__syscall_ulong_t): Likewise.
43451
43452 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43453 (__SYSCALL_ULONG_TYPE): Likewise.
43454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43455 (__SYSCALL_SLONG_TYPE): Likewise.
43456 (__SYSCALL_ULONG_TYPE): Likewise.
43457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43458 (__SYSCALL_SLONG_TYPE): Likewise.
43459 (__SYSCALL_ULONG_TYPE): Likewise.
43460 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43461 (__SYSCALL_SLONG_TYPE): Likewise.
43462 (__SYSCALL_ULONG_TYPE): Likewise.
43463
85736dc7
L
434642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43465
43466 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43467 Add sigaltstack-offsets.sym.
43468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43469 <sigaltstack-offsets.h>.
43470 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43471 longjmp_msg pointer.
43472 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43473 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43474 signal stack.
43475 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43476
cc03b296
JM
434772012-05-15 Joseph Myers <joseph@codesourcery.com>
43478
a9538892
JM
43479 * elf/stackguard-macros.h: Remove file.
43480 * sysdeps/generic/stackguard-macros.h: New file.
43481 * sysdeps/i386/stackguard-macros.h: Likewise.
43482 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43483 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43484 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43485 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43486 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43487 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43488 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43489 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43490 <elf/stackguard-macros.h>.
43491
cc03b296
JM
43492 [BZ #14109]
43493 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43494 __aligned__ in attribute.
43495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43496 (gregset_t): Likewise.
43497
93171016
L
434982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43499
43500 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43501 * sysdeps/x86_64/64/Implies-after: Here. New file.
43502 * sysdeps/x86_64/x32/Implies-after: New file.
43503
d86813a0
L
435042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43505
43506 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43507 and access return value for _dl_profile_fixup. Use R10_LP to
43508 load frame size.
43509
2953ec75
L
435102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43511
43512 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43513
3b550e9e
L
435142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43515
43516 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43517 * sysdeps/x86_64/x32/sysdep.h: New file.
43518
eda41706
L
435192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43520
43521 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43522 * sysdeps/x86_64/setjmp.S: Likewise.
43523
9ea01d93
AZ
435242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43525
43526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43528 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43529 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43530 remove unused global constant.
43531
02a91938
CM
435322012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43533
43534 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43535 include of <not-cancel.h>.
43536
6540185f
RM
435372012-05-15 Roland McGrath <roland@hack.frob.com>
43538
43539 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43540
509072a0
AJ
435412012-05-15 Jeff Law <law@redhat.com>
43542 Andreas Jaeger <aj@suse.de>
43543
43544 [BZ #13594]
43545 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43546 out from...
43547 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43548 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43549 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43550 code changing __hst_map_handle.map.
43551
ba75122d
RM
435522012-05-15 Roland McGrath <roland@hack.frob.com>
43553
43554 * configure.in (sysnames): Look for Implies-before and Implies-after
43555 files.
43556 * configure: Regenerated.
43557
890d8bd8
L
435582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43559
43560 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43561 8-byte data alignment with LP_SIZE alignment.
43562
f6ee6623
L
435632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43564
43565 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43566 into R10_LP.
43567
ea2626f6
L
435682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43569
43570 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43571
085f715e
L
435722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43573
43574 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43575 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43577 Likewise.
43578 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43579
be8498fc
L
435802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43581
43582 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43583 (stackinfo_sub_sp): Likewise.
43584
70bc83b9
L
435852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43586
43587 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43588 RAX_LP.
43589
9bc0b730
L
435902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43591
43592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43593 into R*_LP.
43594
6d2850e7
L
435952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43596
43597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43598 sizes into R*_LP.
43599
3cb84561
L
436002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43601
43602 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43603
54e2ed81
L
436042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43605
43606 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43607 into R11_LP and load __x86_64_shared_cache_size_half into
43608 R8_LP.
43609
8a17f349
L
436102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43611
43612 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43613 R8_LP.
43614
777b1eea
AZ
436152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43616
43617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43618 logb for POWER7.
43619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43620 logbf for POWER7.
43621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43622 logbl for POWER7.
43623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43624 powerpc32/power7/fpu/s_logb.c via #include.
43625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43626 powerpc32/power7/fpu/s_logbf.c via #include.
43627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43628 powerpc32/power7/fpu/s_logbl.c via #include.
43629
d20d4ac2
JM
436302012-05-15 Joseph Myers <joseph@codesourcery.com>
43631
43632 * README.libm: Remove file.
43633
6cdef1ab
L
436342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43635
43636 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43637 count for x32. Use R*_LP and omit operand-size suffix.
43638
0b254d8f
L
436392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43640
43641 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43642 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43643 * sysdeps/x86_64/x32/shlib-versions: New file.
43644
ceb809dc
RM
436452012-05-14 Roland McGrath <roland@hack.frob.com>
43646
43647 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43648 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43649 Use _dl_fatal_printf instead.
43650
37f1abd4
JM
436512012-05-14 Joseph Myers <joseph@codesourcery.com>
43652
43653 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43654 set if not set by the user. Do not allow for being unset.
43655 * sysdeps/unix/sysv/linux/configure: Regenerated.
43656
11de3a33
L
436572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43658
43659 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43660 the `q' suffix from lea and replace .quad with ASM_ADDR.
43661
e02f153a
L
436622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43663
43664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43665 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43666 instead of $17.
43667 (PTR_DEMANGLE): Likewise.
43668
520ae0fd
L
436692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43670
43671 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43672 (LP_OP): Likewise.
43673 (ASM_ADDR): Likewise.
43674 (RAX_LP): Likewise.
43675 (RBP_LP): Likewise.
43676 (RBX_LP): Likewise.
43677 (RCX_LP): Likewise.
43678 (RDI_LP): Likewise.
43679 (RSI_LP): Likewise.
43680 (RSP_LP): Likewise.
43681 (R8_LP): Likewise.
43682 (R9_LP): Likewise.
43683 (R10_LP): Likewise.
43684 (R10_LP): Likewise.
43685 (R11_LP): Likewise.
43686 (R12_LP): Likewise.
43687 (R13_LP): Likewise.
43688 (R14_LP): Likewise.
43689 (R15_LP): Likewise.
43690
b985be81
L
436912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43692
43693 * sysdeps/x86_64/x32/dl-machine.h: New file.
43694
6a4888ff
AJ
436952012-05-14 Andreas Jaeger <aj@suse.de>
43696
43697 * manual/Makefile (subdir): Remove export of subdir.
43698 (all): Remove target.
43699 (.PHONY): Remove all from list.
43700 (mkinstalldirs): Remove.
43701 (.PHONY): Remove installdirs from list.
43702 ($(inst_infodir)/libc.info): Use make-target-directory.
43703 (installdirs): Remove.
43704 (subdir_%): Remove.
43705 (glibc-targets): Remove.
43706 (lib): Remove.
43707 (stubs): Remove.
43708 ($(objpfx)stubs ../po/manual.pot): Remove.
43709 ($(objpfx)stamp%): Remove.
43710 (make-target-directory): Remove.
43711 (subdir_install): Remove.
43712 (routines): Remove.
43713 (aux): Remove.
43714 (sources): Remove.
43715 (objects): Remove.
43716 (headers): Remove.
43717
43718 [BZ #13750]
43719 * manual/.gitignore: Remove, it's not needed anymore.
43720 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43721 all files in it.
43722 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43723 directory.
43724 (texis): Renamed to $(objpfx)texis.
43725 (texis-path): New, contains path to generated files.
43726 (chapters.%): Use texis-path for complete path, add extra argument
43727 libc-texinfo.sh.
43728 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43729 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43730 (summary,texi, stamp-summary): Use complete path of
43731 files. Generate files in build dir.
43732 (dir-add.texi): Build in build dir.
43733 (libm-err.texi,stamp-libm-err): Likewise.
43734 (version.texi, stamp-version): Likewise.
43735 (.%c.texi): Likewise.
43736 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43737 (mostlyclean): Remove target.
43738 (realclean): Remove target.
43739 (generated): Add new variable with contents from mostlyclean and
43740 realclean, remove entries duplicated in common-mostlyclean, add
43741 stamp-libm-err and stamp-version.
43742 (generated-dirs): Add libc directory.
43743 ($(inst_infodir)/libc.info): Install files from build dir.
43744
43745 * manual/install.texi (Configuring and compiling): Adjust since
43746 the info files are not part of the tar ball anymore.
43747
7ac77294
AJ
437482012-05-14 Andreas Jaeger <aj@suse.de>
43749
43750 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43751 variable.
43752
ffb7875d
JM
437532012-05-14 Joseph Myers <joseph@codesourcery.com>
43754
43755 [BZ #13717]
43756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43757 to 2.2.0 where earlier.
43758 * sysdeps/unix/sysv/linux/configure: Regenerated.
43759 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43760 Remove conditional code.
43761 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43762 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43763 Remove conditional code.
43764 [!__NR_lchown]: Likewise.
43765 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43766 [__NR_lchown]: Likewise.
43767 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43768 comment referencing __ASSUME_LCHOWN_SYSCALL.
43769 * sysdeps/unix/sysv/linux/i386/sigaction.c
43770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43772 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43773 Remove conditional code.
43774 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43775 (__protocol_available): Remove #if 0 code.
43776 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43777 conditional code.
43778 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43779 * sysdeps/unix/sysv/linux/kernel-features.h
43780 (__ASSUME_GETCWD_SYSCALL): Don't define.
43781 (__ASSUME_REALTIME_SIGNALS): Likewise.
43782 (__ASSUME_PREAD_SYSCALL): Likewise.
43783 (__ASSUME_PWRITE_SYSCALL): Likewise.
43784 (__ASSUME_POLL_SYSCALL): Likewise.
43785 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43786 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43787 non-SPARC.
43788 (__ASSUME_SIOCGIFNAME): Don't define.
43789 (__ASSUME_MSG_NOSIGNAL): Likewise.
43790 (__ASSUME_SENDFILE): Define unconditionally.
43791 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43792 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43793 conditional code.
43794 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43795 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43796 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43797 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43798 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43799 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43800 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43805 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43811 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43814 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43820 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43825 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43826 Remove conditional code.
43827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43828 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43829 Remove conditional code.
43830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43831 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43832 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43833 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43834 Remove conditional code.
43835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43836 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43837 Remove conditional code.
43838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43839 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43840 Remove conditional code.
43841 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43842 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43843 Remove conditional code.
43844 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43845 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43846 Remove conditional code.
43847 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43848 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43849 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43851 * sysdeps/unix/sysv/linux/sigaction.c
43852 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43853 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43854 * sysdeps/unix/sysv/linux/sigpending.c
43855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43857 * sysdeps/unix/sysv/linux/sigprocmask.c
43858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43860 * sysdeps/unix/sysv/linux/sigsuspend.c
43861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43864 (__libc_missing_rt_sigs): Remove.
43865 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43866 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43867 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43868 Remove conditional code.
43869 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43870 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43871 return 1.
43872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43873 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43874 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43875 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43876
1bfb7291
AJ
438772012-05-14 Andreas Jaeger <aj@suse.de>
43878
caae5a81
AJ
43879 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43880 it's not used in glibc.
43881 (__coshm1): Likewise.
43882 (__acosh1p): Likewise.
43883 (__sgn): Likewise.
43884
1bfb7291
AJ
43885 * manual/string.texi (Copying and Concatenation): Add missing
43886 variable in concat example.
43887 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43888
c044d724
L
438892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43890
144c5467 43891 [BZ #14103]
c044d724
L
43892 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43893 __builtin_clzl with __builtin_clzll.
43894
2523c62b
L
438952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43896
43897 [BZ #14104]
43898 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43899 libc_freeres_ptr.
43900
d7bb4c42
LD
439012012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43902
43903 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43904 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43905 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43906 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43907
9dc4e1fb
MF
439082012-05-14 Mike Frysinger <vapier@gentoo.org>
43909
43910 * NEWS: Update ia64 info.
43911
c7df0112
AS
439122012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43913
43914 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43915 used as bcopy.
43916
dc70356c
TS
439172012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43918
43919 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43920 * sysdeps/unix/syscalls.list (dup3): Likewise.
43921 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43922 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43923
9fb1a21f
L
439242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43925
43926 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43927 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43928
4822a2a5
L
439292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43930
43931 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43932 thread pointer.
43933 (TLS_IE): Use mov/add instead of movq/addq to load thread
43934 pointer.
43935 (TLS_GD_PREFIX): New.
43936 (TLS_GD): Use it.
43937
842b81d6
DM
439382012-05-11 David S. Miller <davem@davemloft.net>
43939
43940 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43941 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43942 (_FPU_SETCW): Likewise.
43943
1cf463cd
L
439442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43945
43946 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43947 is 32-byte aligned.
43948
60cc4a18
AS
439492012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43950
43951 [BZ #11837]
43952 * iconvdata/gb18030.c: Update tables.
43953 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43954 characters specially.
43955 (BODY for TO_LOOP): Add encoding of missing ranges.
43956
febb44a4
TS
439572012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43958
43959 [BZ #13673]
43960 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43961 * sysdeps/mach/hurd/dup3.c: Likewise.
43962 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43963 * sysdeps/powerpc/memmove.c:: Likewise.
43964
0a10fb9e
L
439652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43966
43967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43968 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43969
df8a552f
L
439702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43971
43972 * elf/elf.h (R_X86_64_RELATIVE64): New.
43973 (R_X86_64_NUM): Updated.
43974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43975 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43976 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43977 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43978 tst-quad1pie tst-quad2pie
43979 (modules-names): Add tst-quadmod1 tst-quadmod2.
43980 ($(objpfx)tst-quad1): New dependency.
43981 ($(objpfx)tst-quad2): Likewise.
43982 ($(objpfx)tst-quad1pie): Likewise.
43983 ($(objpfx)tst-quad2pie): Likewise.
43984 * sysdeps/x86_64/tst-quad1.c: New file.
43985 * sysdeps/x86_64/tst-quad1pie.c: New file.
43986 * sysdeps/x86_64/tst-quad2.c: Likewise.
43987 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43988 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43989 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43990 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43991 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43992
f34d6f84
ST
439932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43994
f42d41d1
ST
43995 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43996 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43997 * streams/stropts.h (t_scalar_t): Define type.
43998
3c3571fc
ST
43999 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44000 (_PATH_PRESERVE): Set to "/var/lib".
44001 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44002
61f06bd3
ST
44003 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44004 instead of int.
44005
918d4d71
ST
44006 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44007 if __dir_mkfile succeeded.
44008
f34d6f84
ST
44009 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44010 checking for _hurd_dtablesize. Unlock it right after having
44011 finished _hurd_dtable allocation.
44012
10589b4a
TS
440132012-05-10 Thomas Schwinge <thomas@schwinge.name>
44014
674cdbc7
TS
44015 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44016 * sysdeps/mach/hurd/configure: Regenerated.
44017 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44018 special-casing to...
44019 * sysdeps/gnu/configure.in: ... this new file.
44020 * sysdeps/unix/sysv/linux/configure: Regenerated.
44021 * sysdeps/gnu/configure: New generated file.
44022
8e41b99f
TS
44023 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44024 for Linux: use nsec instead of usec, as well as:
44025 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44026 members of type struct timespec.
44027 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44028 New macros.
44029 (struct stat64): Likewise.
44030 (_STATBUF_ST_NSEC): New macro.
44031 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44032
10589b4a
TS
44033 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44034 __strtoul_internal rather than strtoul.
44035
63643c85
PT
440362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44037
44038 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44039 and reject them.
44040
3faebe6a
ST
440412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44042
44043 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44044 which preserves existing values.
44045 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44046
c6474b07
PT
440472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44048
44049 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44050 TIMEOUT values. Return EINVAL for NFDS values either negative or
44051 greater than FD_SETSIZE.
44052
1043890b
ST
440532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44054
44055 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44056 allocated, call __vm_protect to finish enabling the existing space, and
44057 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44058 allocate the remainder.
44059
37ed8b9b
PT
440602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44061
44062 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44063 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44064
db653660
ST
440652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44066
37ed8b9b
PT
44067 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44068 sysdeps/mach/hurd/readlink.c.
b29d4053 44069
db653660
ST
44070 * posix/tst-sysconf.c (posix_options): Only use
44071 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44072 _POSIX_SYNCHRONIZED_IO when they are defined
44073 * sysdeps/mach/hurd/bits/posix_opt.h:
44074 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44075 (_XOPEN_REALTIME): Undefine macro.
44076 (_XOPEN_REALTIME_THREADS): Undefine macro.
44077 (_XOPEN_SHM): Undefine macro.
44078 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44079 macro to -1.
44080 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44081 macro to -1.
44082 (_POSIX_ASYNC_IO): Undefine macro.
44083 (_POSIX_PRIORITIZED_IO): Undefine macro.
44084 (_POSIX_SPIN_LOCKS): Define macro to -1.
44085
ee16e894
ST
44086 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44087 SA_NODEFER, SA_RESETHAND.
44088 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44089 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44090 F_DUPFD_CLOEXEC.
44091
6103ae3b
TS
440922012-05-10 Thomas Schwinge <thomas@schwinge.name>
44093
44094 * elf/Makefile (pldd-modules): Define unconditionally.
44095
80b4e5f3
TS
440962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44097
44098 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44099
edadcbd6
ST
441002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44101
44102 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44103 Return ENOENT when name is empty.
44104 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44105
80694780
TS
441062012-05-10 Thomas Schwinge <thomas@schwinge.name>
44107
1792c087
TS
44108 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44109
80694780
TS
44110 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44111
6b645f0d
ST
441122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44113
80694780
TS
44114 Fix mlock in all cases except non-readable pages.
44115 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44116 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44117
6b645f0d
ST
44118 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44119 (__mkdir): When path is `/', just fail with EEXIST.
44120 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44121
e468f8a3
TS
441222012-05-10 Thomas Schwinge <thomas@schwinge.name>
44123
44124 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44125 <sys/uio.h> (for writev).
44126 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44127 and <sys/param.h> (for MIN).
44128
a4186cff
PT
441292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44130
44131 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44132 REQUESTED_TIME. Properly set the remaining time and return EINTR
44133 if interrupted.
44134
510bbf14
TS
441352012-05-10 Thomas Schwinge <thomas@schwinge.name>
44136
44137 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44138 Depend on against $(link-rpcuserlibs).
44139
5d5722e8
ST
441402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44141
a4186cff
PT
44142 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44143 (__libc_stack_end): Do not use attribute_relro.
44144 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44145 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44146 to libthread-provided value.
a4186cff
PT
44147 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44148 attribute_relro.
5d5722e8 44149
37233df9
TS
441502012-05-10 Thomas Schwinge <thomas@schwinge.name>
44151
be971a2b
TS
44152 [BZ #3748]
44153 * bits/libc-lock.h (__libc_once_get): New macro.
44154 * sysdeps/mach/bits/libc-lock.h: Likewise.
44155 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44157 instead of using implementation details.
44158
37233df9
TS
44159 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44160 * libio/freopen.c: Likewise.
44161 * libio/freopen64.c: Likewise.
44162 * misc/syslog.c: Likewise.
44163 * nscd/connections.c: Likewise.
44164 * nscd/netgroupcache.c: Likewise.
44165 * sysdeps/posix/getcwd.c: Likewise.
44166
38de94a5
RM
441672012-05-10 Roland McGrath <roland@hack.frob.com>
44168
44169 * math/w_ilogbf.c: Add #include <limits.h>.
44170
67530489
ST
441712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44172
a4186cff 44173 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44174 path instead of returning without unlocking.
44175
67530489
ST
44176 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44177 immediate-write ioctls.
44178 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44179
5aa3a74a
TS
441802012-05-10 Thomas Schwinge <thomas@schwinge.name>
44181
18bad2ae
TS
44182 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44183 __builtin_frame_address instead of making assumptions about the
44184 location of the return address relative to DATA. Force early load of
44185 the return address.
44186 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44187 __builtin_frame_address.
44188
5aa3a74a
TS
44189 dup3 for GNU Hurd.
44190 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44191 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44192 implement dup3 and do some further code clean-ups.
44193 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44194 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44195
ecd0de9a
ST
441962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44197
cd9fa985
ST
44198 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44199
a4186cff
PT
44200 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44201 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44202 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44203 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44204 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44205 d->port.lock.
802ca5a5 44206
a4186cff
PT
44207 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44208 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44209 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44210
bcf55240
TS
442112012-05-10 Thomas Schwinge <thomas@schwinge.name>
44212
6960eb42
TS
44213 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44214 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44215 definitions.
44216
eb43375f
TS
44217 accept4 for GNU Hurd.
44218 * include/sys/socket.h (__libc_accept4): New prototype.
44219 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44220 to implement __libc_accept4.
44221 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44222 __libc_accept4.
44223 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44224
bcf55240
TS
44225 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44226 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44227 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44228 signal-defines.sym.
44229
6178c55b
ST
442302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44231
a4186cff 44232 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44233
6f080c2f
TS
442342012-05-10 Thomas Schwinge <thomas@schwinge.name>
44235
44236 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44237 assertion on O_CLOEXEC flag.
44238 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44239 * hurd/intern-fd.c: Likewise.
44240 * hurd/port2fd.c: Likewise.
44241
bcfe3a54
ST
442422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44243
44244 [BZ #3906]
44245 * bits/in.h (IPV6_PKTINFO): Define new macro.
44246 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44247
89c9aa49
AZ
442482012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44249
44250 [BZ #13954]
44251 [BZ #13955]
44252 [BZ #13956]
44253 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44255 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44256 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44258 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44259 * math/libm-test.inc (logb_test) : Additional logb tests.
44260
021db4be
AJ
442612012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44262 Andreas Jaeger <aj@suse.de>
44263
44264 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44265 * configure: Regenerated.
44266 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44267 * config.make.in (link-obsolete-rpc): New substituted variable.
44268 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44269 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44270 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44271 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44272 so that libc.a contains the symbols.
44273 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44274 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44275 * sunrpc/auth_none.c: Likewise.
44276 * sunrpc/auth_unix.c: Likewise.
44277 * sunrpc/authdes_prot.c: Likewise.
44278 * sunrpc/authuxprot.c: Likewise.
44279 * sunrpc/clnt_gen.c: Likewise.
44280 * sunrpc/clnt_perr.c: Likewise.
44281 * sunrpc/clnt_raw.c: Likewise.
44282 * sunrpc/clnt_simp.c: Likewise.
44283 * sunrpc/clnt_tcp.c: Likewise.
44284 * sunrpc/clnt_udp.c: Likewise.
44285 * sunrpc/clnt_unix.c: Likewise.
44286 * sunrpc/des_crypt.c: Likewise.
44287 * sunrpc/des_soft.c: Likewise.
44288 * sunrpc/get_myaddr.c: Likewise.
44289 * sunrpc/key_call.c: Likewise.
44290 * sunrpc/key_prot.c: Likewise.
44291 * sunrpc/netname.c: Likewise.
44292 * sunrpc/pm_getmaps.c: Likewise.
44293 * sunrpc/pm_getport.c: Likewise.
44294 * sunrpc/pmap_clnt.c: Likewise.
44295 * sunrpc/pmap_prot.c: Likewise.
44296 * sunrpc/pmap_prot2.c: Likewise.
44297 * sunrpc/pmap_rmt.c: Likewise.
44298 * sunrpc/publickey.c: Likewise.
44299 * sunrpc/rpc_cmsg.c: Likewise.
44300 * sunrpc/rpc_common.c: Likewise.
44301 * sunrpc/rpc_dtable.c: Likewise.
44302 * sunrpc/rpc_prot.c: Likewise.
44303 * sunrpc/rpc_thread.c: Likewise.
44304 * sunrpc/rtime.c: Likewise.
44305 * sunrpc/svc.c: Likewise.
44306 * sunrpc/svc_auth.c: Likewise.
44307 * sunrpc/svc_raw.c: Likewise.
44308 * sunrpc/svc_run.c: Likewise.
44309 * sunrpc/svc_tcp.c: Likewise.
44310 * sunrpc/svc_udp.c: Likewise.
44311 * sunrpc/svc_unix.c: Likewise.
44312 * sunrpc/svcauth_des.c: Likewise.
44313 * sunrpc/xcrypt.c: Likewise.
44314 * sunrpc/xdr.c: Likewise.
44315 * sunrpc/xdr_array.c: Likewise.
44316 * sunrpc/xdr_float.c: Likewise.
44317 * sunrpc/xdr_intXX_t.c: Likewise.
44318 * sunrpc/xdr_mem.c: Likewise.
44319 * sunrpc/xdr_rec.c: Likewise.
44320 * sunrpc/xdr_ref.c: Likewise.
44321 * sunrpc/xdr_sizeof.c: Likewise.
44322 * sunrpc/xdr_stdio.c: Likewise.
44323
b5c086a2
RM
443242012-05-10 Roland McGrath <roland@hack.frob.com>
44325
44326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44327 change. Update copyright years.
44328
6d74dd09
JM
443292012-05-10 Joseph Myers <joseph@codesourcery.com>
44330
44331 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44332
28e72501
MK
443332012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44334 Joseph Myers <joseph@codesourcery.com>
44335 Paul Pluzhnikov <ppluzhnikov@google.com>
44336
44337 [BZ #14012]
44338 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44339 requiring rpcgen.
44340 [cross-compiling] (extra-libs): Likewise.
44341 [cross-compiling] (extra-libs-others): Likewise.
44342 [cross-compiling] (librpcsvc-routines): Likewise.
44343 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44344 [cross-compiling] (omit-deps): Likewise.
44345 (sunrpc-CPPFLAGS): New variable.
44346 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44347 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44348 (cross-rpcgen-objs): New variable.
44349 (extra-objs): Append $(cross-rpcgen-objs).
44350 ($(cross-rpcgen-objs)): New rule.
44351 ($(objpfx)cross-rpcgen): Likewise.
44352 (rpcgen-cmd): Define to use $(built-program-file). Expand
44353 comment.
44354 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44355 ($(objpfx)x%.stmp): Likewise.
44356 * sunrpc/proto.h [IS_IN_build] (_): Define.
44357 [IS_IN_build] (_libc_intl_domainname): Likewise.
44358
c8c59454
L
443592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44360
44361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44362 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44363 and R_X86_64_TPOFF64.
44364
6f27cd16
JM
443652012-05-10 Joseph Myers <joseph@codesourcery.com>
44366
44367 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44368 sysdeps/unix/sysv/syscalls.list.
44369 (stime): Likewise.
44370 (utime): Likewise.
44371 * sysdeps/unix/sysv/syscalls.list: Remove file.
44372
02467e1c
PE
443732012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44374
44375 [BZ #3440]
44376 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44377 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44378 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44379 (__LC_IDENTIFICATION): Make these macros useful in #if
44380 expressions, as required by C99.
44381
da392631
AS
443822012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44383
44384 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44385 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44386 after this.
44387
8115f29b
L
443882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44389
44390 * stdlib/longlong.h: Updated from GCC.
44391
bdd74070
AJ
443922012-05-09 Andreas Jaeger <aj@suse.de>
44393
edfe0dbe
AJ
44394 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44395 default is first entry.
44396 (run_mode): Set type.
44397 (main): Remove informal message about syslog.
44398 (options): Fix typo.
44399
bcfe3a54
ST
44400 [BZ #14053]
44401 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44402 to asm.
bcfe3a54
ST
44403 (lrint): Likewise.
44404 (llrintf): Likewise.
44405 (llrint): Likewise.
44406 (rint): Likewise.
44407 (rintf): Likewise.
44408 (nearbyint): Likewise.
44409 (nearbyintf): Likewise.
bdd74070 44410
91d8d69e
AJ
444112012-05-09 Andreas Jaeger <aj@suse.de>
44412 Pedro Alves <palves@redhat.com>
44413
44414 * nscd/nscd.c (run_mode): Use enum.
44415 (main): Cleanup coding style issue.
44416
bb90b80b
AJ
444172012-05-09 Alexandre Oliva <aoliva@redhat.com>
44418 Andreas Jaeger <aj@suse.de>
44419
bcfe3a54
ST
44420 * nscd/nscd.c (go_background): Replaced with...
44421 (run_mode): ... this.
bb90b80b 44422 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44423 (options): Add -F --foreground.
44424 (main): Implement it.
44425 (parse_opt): Parse it.
bb90b80b 44426
1a4b75a1
AJ
444272012-05-09 Andreas Jaeger <aj@suse.de>
44428
44429 [BZ #14083]
44430 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44431 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44432 -Wconversion warning.
44433 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44434 Likewise.
44435
b1cc2472
JM
444362012-05-09 Joseph Myers <joseph@codesourcery.com>
44437
44438 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44439 == 0.
44440 (LC_ALL): Use macro-int-constant.
44441 (LC_COLLATE): Likewise.
44442 (LC_CTYPE): Likewise.
44443 (LC_MESSAGES): Likewise.
44444 (LC_MONETARY): Likewise.
44445 (LC_NUMERIC): Likewise.
44446 (LC_TIME): Likewise.
44447 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44448 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44450 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44451 Specify type.
44452 [C99-based standards] (float_t): Expect type.
44453 [C99-based standards] (double_t): Expect type.
44454 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44455 type.
44456 [C99-based standards] (HUGE_VALL): Likewise.
44457 [C99-based standards] (INFINITY): Likewise.
44458 [C99-based standards] (NAN): Likewise.
44459 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44460 [C99-based standards] (FP_NAN): Likewise.
44461 [C99-based standards] (FP_NORMAL): Likewise.
44462 [C99-based standards] (FP_SUBNORMAL): Likewise.
44463 [C99-based standards] (FP_ZERO): Likewise.
44464 [C99-based standards] (FP_FAST_FMA): Use
44465 optional-macro-int-constant. Specify type. Require == 1.
44466 [C99-based standards] (FP_FAST_FMAF): Likewise.
44467 [C99-based standards] (FP_FAST_FMAL): Likewise.
44468 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44469 [C99-based standards] (FP_ILOGBNAN): Likewise.
44470 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44471 Specify type.
44472 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44473 [C99-based standards] (math_errhandling): Specify type.
44474 [ISO99 || ISO11] (signgam): Do not allow.
44475 [non-C99-based standards] (copysignf): Do not allow.
44476 [non-C99-based standards] (exp2f): Likewise.
44477 [non-C99-based standards] (log2f): Likewise.
44478 [non-C99-based standards] (modff): Allow.
44479 [non-C99-based standards] (erff): Do not allow.
44480 [non-C99-based standards] (erfcf): Likewise.
44481 [non-C99-based standards] (gammaf): Likewise.
44482 [non-C99-based standards] (hypotf): Likewise.
44483 [non-C99-based standards] (j0f): Likewise.
44484 [non-C99-based standards] (j1f): Likewise.
44485 [non-C99-based standards] (jnf): Likewise.
44486 [non-C99-based standards] (lgammaf): Likewise.
44487 [non-C99-based standards] (tgammaf): Likewise.
44488 [non-C99-based standards] (y0f): Likewise.
44489 [non-C99-based standards] (y1f): Likewise.
44490 [non-C99-based standards] (ynf): Likewise.
44491 [non-C99-based standards] (isnanf): Likewise.
44492 [non-C99-based standards] (acoshf): Likewise.
44493 [non-C99-based standards] (asinhf): Likewise.
44494 [non-C99-based standards] (atanhf): Likewise.
44495 [non-C99-based standards] (cbrtf): Likewise.
44496 [non-C99-based standards] (expm1f): Likewise.
44497 [non-C99-based standards] (ilogbf): Likewise.
44498 [non-C99-based standards] (log1pf): Likewise.
44499 [non-C99-based standards] (logbf): Likewise.
44500 [non-C99-based standards] (nextafterf): Likewise.
44501 [non-C99-based standards] (remainderf): Likewise.
44502 [non-C99-based standards] (rintf): Likewise.
44503 [non-C99-based standards] (scalbf): Likewise.
44504 [non-C99-based standards] (copysignl): Likewise.
44505 [non-C99-based standards] (exp2l): Likewise.
44506 [non-C99-based standards] (log2l): Likewise.
44507 [non-C99-based standards] (modfl): Allow.
44508 [non-C99-based standards] (erfl): Do not allow.
44509 [non-C99-based standards] (erfcl): Likewise.
44510 [non-C99-based standards] (gammal): Likewise.
44511 [non-C99-based standards] (hypotl): Likewise.
44512 [non-C99-based standards] (j0l): Likewise.
44513 [non-C99-based standards] (j1l): Likewise.
44514 [non-C99-based standards] (jnl): Likewise.
44515 [non-C99-based standards] (lgammal): Likewise.
44516 [non-C99-based standards] (tgammal): Likewise.
44517 [non-C99-based standards] (y0l): Likewise.
44518 [non-C99-based standards] (y1l): Likewise.
44519 [non-C99-based standards] (ynl): Likewise.
44520 [non-C99-based standards] (isnanl): Likewise.
44521 [non-C99-based standards] (acoshl): Likewise.
44522 [non-C99-based standards] (asinhl): Likewise.
44523 [non-C99-based standards] (atanhl): Likewise.
44524 [non-C99-based standards] (cbrtl): Likewise.
44525 [non-C99-based standards] (expm1l): Likewise.
44526 [non-C99-based standards] (ilogbl): Likewise.
44527 [non-C99-based standards] (log1pl): Likewise.
44528 [non-C99-based standards] (logbl): Likewise.
44529 [non-C99-based standards] (nextafterl): Likewise.
44530 [non-C99-based standards] (remainderl): Likewise.
44531 [non-C99-based standards] (rintl): Likewise.
44532 [non-C99-based standards] (scalbl): Likewise.
44533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44534 [non-C99-based standards] (FP_*): Do not allow.
44535 [C99-based standards] (FP_*): Change to
44536 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44537 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44538 allow.
44539 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44540 (SIG_ERR): Likewise.
44541 [X/Open-based standards] (SIG_HOLD): Likewise.
44542 (SIG_IGN): Likewise.
44543 (SIGABRT): Use macro-int-constant. Specify type. Require
44544 positive value.
44545 (SIGFPE): Likewise.
44546 (SIGILL): Likewise.
44547 (SIGINT): Likewise.
44548 (SIGSEGV): Likewise.
44549 (SIGTER): Likewise.
44550 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44551 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44552 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44553 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44554 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44555 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44556 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44557 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44558 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44559 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44560 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44561 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44562 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44563 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44564 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44565 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44566 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44567 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44568 [X/Open-based standards] (SIGTRAP): Likewise.
44569 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44570 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44571 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44572 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44573 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44574 allow.
44575
b9f1922d
IW
445762012-05-08 Ian Wienand <ianw@vmware.com>
44577
44578 [BZ #14080]
44579 * time/tzset.c (__tzset_parse_tz): Update default rules for
44580 daylight time changes in the Energy Policy Act of 2005.
44581
1db86e88
AJ
445822012-05-09 Andreas Jaeger <aj@suse.de>
44583
44584 [BZ #13983]
44585 * elf/ldconfig.c (parse_conf): Change string to make clear that
44586 ldconfig only issued a warning if ld.so.conf does not exist.
44587
dee4a4e3
DM
445882012-05-08 David S. Miller <davem@davemloft.net>
44589
ee0db190
DM
44590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44591 movxtod instead of popping the value on the stack.
44592
dee4a4e3
DM
44593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44594
6a43ec98
CD
445952012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44596
44597 * config.h.in: Add HAVE_ARM_PCS_VFP.
44598
05c2c961
RMG
445992012-05-08 Roland Mc Grath <roland@hack.frob.com>
44600
bcfe3a54
ST
44601 [BZ #13979]
44602 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44603 checking but the checks are disabled for any reason.
05c2c961 44604
4b30f61a
L
446052012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44606
44607 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44608 and ELF64_R_TYPE with ELFW(R_TYPE).
44609
eee2bc67
JM
446102012-05-08 Joseph Myers <joseph@codesourcery.com>
44611
7ea5391a
JM
44612 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44613 (ulimit): Likewise.
44614
eee2bc67
JM
44615 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44616 (settimeofday): Likewise.
44617
abb66a67
MF
446182012-05-08 Mike Frysinger <vapier@gentoo.org>
44619
44620 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44621 a struct th_u2 inside the union, and move tu_block/tu_code into
44622 a new th_u3 union of tu_block/tu_code inside of that. Move
44623 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44624 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44625 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44626 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44627 (th_stuff): Change to th_u1.tu_stuff.
44628 (th_data): Define.
44629 (th_msg): Change to th_u1.th_u2.tu_data.
44630
7f18b530
DM
446312012-05-07 David S. Miller <davem@davemloft.net>
44632
05760585
DM
44633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44634
7f18b530
DM
44635 [BZ #14074]
44636 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44637 (SETUP_PIC_REG): Use it.
44638 (SETUP_PIC_REG_LEAF): Use it.
44639
495fd99f
JM
446402012-05-07 Joseph Myers <joseph@codesourcery.com>
44641
44642 [BZ #13885]
44643 [BZ #13923]
44644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44645 USE_AS_EXPM1L.
44646 (EXPL_FINITE): Likewise.
44647 (FLDLOG): Likewise.
44648 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44649 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44650 e_expl.S.
44651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44652 USE_AS_EXPM1L.
44653 (EXPL_FINITE): Likewise.
44654 (FLDLOG): Likewise.
44655 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44656 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44657 e_expl.S.
44658 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44659 test of -max_value argument for long double.
44660 * sysdeps/i386/fpu/libm-test-ulps: Update.
44661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44662
6693d694
DM
446632012-05-06 David S. Miller <davem@davemloft.net>
44664
44665 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44666 quad soft-float symbols whose references which are compiler
44667 generated.
44668 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44669
6c23e11c
JM
446702012-05-06 Joseph Myers <joseph@codesourcery.com>
44671
d8b82cad
JM
44672 [BZ #13884]
44673 [BZ #13914]
44674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44675 USE_AS_EXP10L.
44676 (EXPL_FINITE): Likewise.
44677 (FLDLOG): Likewise.
44678 (c0): Likewise.
44679 (c1): Likewise.
44680 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44681 Adjust comments for base varying.
44682 (__expl_finite): Change alias to EXPL_FINITE.
44683 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44684 e_expl.S.
44685 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44686 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44688 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44690 USE_AS_EXP10L.
44691 (EXPL_FINITE): Likewise.
44692 (FLDLOG): Likewise.
44693 (c0): Likewise.
44694 (c1): Likewise.
44695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44696 Adjust comments for base varying.
44697 (__expl_finite): Change alias to EXPL_FINITE.
44698 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44699 tests for bugs.
44700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44701
6c23e11c
JM
44702 [BZ #14064]
44703 * math/libm-test.inc (check_float_internal): Correct ulp
44704 calculation for subnormal expected results.
44705
29ba805c
AJ
447062012-05-06 Andreas Jaeger <aj@suse.de>
44707
44708 * Makeconfig (+math-flags): New, set to -frounding-math.
44709 (+cflags): Add +math-flags so that all of glibc gets compiled with
44710 it.
44711
44712 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44713
7b17aeda
JM
447142012-05-05 Joseph Myers <joseph@codesourcery.com>
44715
5779f134
JM
44716 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44717 Disable one test.
44718
41498f4d
JM
44719 [BZ #13787]
44720 [BZ #13922]
44721 [BZ #14036]
44722 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44723 (__ieee754_expl): Allow for and saturate large arguments.
44724 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44725 (u_threshold): Likewise.
44726 (__exp): Call __ieee754_exp before checking for overflow and
44727 underflow.
44728 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44729 (u_threshold): Likewise.
44730 (__expf): Call __ieee754_expf before checking for overflow and
44731 underflow.
44732 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44733 (u_threshold): Likewise.
44734 (__expl): Call __ieee754_expl before checking for overflow and
44735 underflow.
44736 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44737 (__ieee754_expl): Allow for and saturate large arguments.
44738 * math/libm-test.inc (exp_test): Add another test. Do not allow
44739 missing overflow exception on overflow.
44740 (expm1_test): Do not allow missing overflow exception on overflow.
44741
6698b8bf
JM
44742 * sysdeps/i386/fpu/e_expl.c: Move to ...
44743 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44744 rather than using inline asm.
44745 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44746 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44747 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44748
7b17aeda
JM
44749 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44750 (nice): Likewise.
44751 (poll): Likewise.
44752 (signal): Likewise.
44753 (time): Likewise.
44754 (times): Likewise.
44755
f7c85819
JM
447562012-05-04 Joseph Myers <joseph@codesourcery.com>
44757
44758 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44759 sysdeps/unix/common/syscalls.list.
44760 (fchmod): Likewise.
44761 (fchown): Likewise.
44762 (ftruncate): Likewise.
44763 (getrusage): Likewise.
44764 (gettimeofday): Likewise.
44765 (setpgid): Likewise.
44766 (setregid): Likewise.
44767 (setreuid): Likewise.
44768 (sigaction): Likewise.
44769 (truncate): Likewise.
44770 (vhangup): Likewise.
44771 * sysdeps/unix/common/syscalls.list: Remove file.
44772 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44773 * sysdeps/unix/sysv/linux/Implies: Likewise.
44774
336270d0
L
447752012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44776
44777 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44779 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44780 Moved to ...
44781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44782 Here.
44783 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44784 to ...
44785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44786 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44787 to ...
44788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44789 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44790 to ...
44791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44792 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44793 to ...
44794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44795 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44796 to ...
44797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44798 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44799 to ...
44800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44801 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44802 to ...
44803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44804 Here.
44805 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44806 to ...
44807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44808 Here.
44809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44810 to ...
44811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44812 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44813 Moved to ...
44814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44815 Here.
44816 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44817 to ...
44818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44819
d128e450
JM
448202012-05-04 Joseph Myers <joseph@codesourcery.com>
44821
fa8ee516
JM
44822 * sysdeps/unix/common/bits/dirent.h: Remove file.
44823 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44824
d128e450
JM
44825 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44826 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44827 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44828 * sysdeps/unix/bsd/isatty.c: Likewise.
44829 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44830 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44831 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44832
ff8faaf0 448332012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44834
62881be4 44835 [BZ #13563]
31dc8730
AZ
44836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44837 long double comparison inaccuracies.
44838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44840
6fef930c
AS
448412012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44842
44843 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44845
8f203e6c
JM
448462012-05-04 Joseph Myers <joseph@codesourcery.com>
44847
44848 [BZ #14049]
44849 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44850 nonzero digits before rounding a hex value.
44851 * stdlib/tst-strtod.c (tests): Add another test.
44852
5197d9c2
AK
448532012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44854
44855 * sysdeps/s390/fpu/libm-test-ulps: Update.
44856
f0c1dedf
AJ
448572012-05-03 Andreas Jaeger <aj@suse.de>
44858
44859 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44860 does not get optimized out.
44861 (malloc_opt_barrier): New.
44862
a65ef2ae 448632012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44864 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44865
2b942cb7 44866 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44867 intermediate file deletion.
2b942cb7 44868 (generated): Add .symlist files.
a65ef2ae 44869
54b71e02
JM
448702012-05-03 Joseph Myers <joseph@codesourcery.com>
44871
44872 [BZ #13775]
44873 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44874 Redirect under this condition.
44875 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44876 [__USE_GNU] (__dprintf_chk): Not under this condition.
44877 [__USE_GNU] (__vdprintf_chk): Likewise.
44878 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44879 under this condition.
44880 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44881 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44882 [__USE_XOPEN2K8] (vdprintf): Likewise.
44883 [__USE_GNU] (__dprintf_chk): Not under this condition.
44884 [__USE_GNU] (__vdprintf_chk): Likewise.
44885 [__USE_GNU] (dprintf): Likewise.
44886 [__USE_GNU] (vdprintf): Likewise.
44887
d3dfcc41
RM
448882012-05-03 Roland McGrath <roland@hack.frob.com>
44889
44890 * elf/Makefile (common-generated): Set this instead of generated for
44891 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44892 $(all-built-dso)-derived lists.
44893
7ac30cc5
AJ
448942012-05-03 Andreas Jaeger <aj@suse.de>
44895
0c51e550
AJ
44896 * sysdeps/i386/fpu/libm-test-ulps: Update.
44897
7ac30cc5
AJ
44898 * FAQ: Removed.
44899 * FAQ.in: Likewise.
44900 * scripts/gen-FAQ.pl: Likewise.
44901 * manual/install.texi (Installation): Point to online location of
44902 FAQ.
44903 * Makefile (files-for-dist): Remove FAQ.
44904 (FAQ): Remove.
44905
d4c2917f
AM
449062012-05-02 Allan McRae <allan@archlinux.org>
44907
44908 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44909 (LDFLAGS-reldepmod5.so): Likewise.
44910 (LDFLAGS-reldep6mod1.so): Likewise.
44911 (LDFLAGS-reldep6mod4.so): Likewise.
44912 (LDFLAGS-reldep8mod3.so): Likewise.
44913 (LDFLAGS-unload4mod1.so): Likewise.
44914 (LDFLAGS-unload4mod2.so): Likewise.
44915 (LDFLAGS-tst-initorder): Likewise.
44916 (LDFLAGS-tst-initordera2.so): Likewise.
44917 (LDFLAGS-tst-initordera3.so): Likewise.
44918 (LDFLAGS-tst-initordera4.so): Likewise.
44919 (LDFLAGS-tst-initorderb2.so): Likewise.
44920 (LDFLAGS-noload): Likewise.
44921 (LDFLAGS-next): Likewise.
44922 (LDFLAGS-order2mod1.so): Likewise.
44923 (LDFLAGS-order2mod2.so): Likewise.
44924 (LDFLAGS-tst-initorder2): Likewise.
44925 (LDFLAGS-tst-initorder2a.so): Likewise.
44926 (LDFLAGS-tst-initorder2b.so): Likewise.
44927 (LDFLAGS-tst-initorder2c.so): Likewise.
44928 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44929
d77f993f
DM
449302012-05-02 David S. Miller <davem@davemloft.net>
44931
44932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44933
171a70b4
PP
449342012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44935
44936 [BZ #14055]
44937 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44938
0be196ad
AJ
449392012-05-02 Andreas Jaeger <aj@suse.de>
44940
44941 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44942 since we manipulate rounding mode.
44943 (CPPFLAGS-test-idouble.c): Likewise.
44944 (CPPFLAGS-test-ifloat.c): Likewise.
44945 (CFLAGS-test-ldouble.c): Likewise.
44946 (CFLAGS-test-double.c): Likewise.
44947 (CFLAGS-test-float.c): Likewise.
44948 (CFLAGS-test-misc.c): Likewise.
44949 (CFLAGS-test-test-fenv.c): Likewise.
44950
4f9d04aa
AZ
449512012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44952
2b942cb7
RM
44953 [BZ #2550]
44954 [BZ #2570]
44955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44956 comparisons to determine direction to adjust input.
4f9d04aa 44957
82a79e7d
RM
449582012-05-01 Roland McGrath <roland@hack.frob.com>
44959
f5a01ca9
RM
44960 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44961 output to the target.
44962
90fe4186
RM
44963 * scripts/localplt.awk: New file.
44964 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44965 (check-localplt-CFLAGS): Variable removed.
44966 ($(all-built-dso:=.jmprel)): New static pattern rule.
44967 (generated): Add those targets.
44968 (localplt-built-dso): New variable.
44969 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44970
44971 * elf/check-localplt.c: File removed.
44972
82397ed6
RM
44973 * scripts/check-execstack.awk: New file.
44974 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44975 (check-execstack-CFLAGS): Variable removed.
44976 ($(objpfx)check-execstack.h): Target removed.
44977 ($(objpfx)execstack-default): New target.
44978 (generated): Add that instead of check-execstack.h.
44979 ($(all-built-dso:=.phdr)): New static pattern rule.
44980 (generated): Add those targets.
44981 * elf/check-execstack.c: File removed.
44982
82a79e7d
RM
44983 * scripts/check-textrel.awk: New file.
44984 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44985 (check-textrel-CFLAGS): Variable removed.
44986 (all-built-dso): Use := to define.o
44987 ($(all-built-dso:=.dyn)): New static pattern rule.
44988 (generated): Add those targets.
44989 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44990 * config.make.in (READELF): New substituted variable.
44991 * elf/check-textrel.c: File removed.
44992
62fde54f 449932012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44994
615605c9
JM
44995 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44996 allow.
44997 * conform/data/ctype.h-data [C99-based standards] (isblank):
44998 Expect function.
44999 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45000 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45002 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45003 Specify type. Require positive value.
45004 (EILSEQ): Likewise.
45005 (ERANGE): Likewise.
45006 [ISO || POSIX] (EILSEQ): Do not expect.
45007 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45008 Specify type. Require positive value.
45009 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45010 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45011 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45012 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45013 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45014 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45015 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45016 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45017 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45018 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45019 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45020 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45021 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45022 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45023 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45024 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45025 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45026 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45027 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45028 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45029 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45030 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45031 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45032 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45033 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45034 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45035 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45036 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45037 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45038 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45039 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45040 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45041 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45042 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45043 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45044 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45045 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45046 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45047 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45048 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45049 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45050 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45051 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45052 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45053 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45054 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45055 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45056 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45057 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45058 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45059 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45060 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45061 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45062 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45063 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45064 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45065 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45066 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45067 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45068 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45069 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45070 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45071 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45072 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45073 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45074 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45075 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45076 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45077 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45078 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45079 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45080 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45081 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45082 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45083 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45084 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45085 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45086 Require >= 2.
45087 (FLT_ROUNDS): Expect as macro, not constant.
45088 (FLT_MANT_DIG): Use macro-int-constant.
45089 (DBL_MANT_DIG): Likewise.
45090 (LDBL_MANT_DIG): Likewise.
45091 (FLT_DIG): Likewise.
45092 (DBL_DIG): Likewise.
45093 (LDBL_DIG): Likewise.
45094 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45095 (DBL_MIN_EXP): Likewise.
45096 (LDBL_MIN_EXP): Likewise.
45097 (FLT_MAX_EXP): Use macro-int-constant.
45098 (DBL_MAX_EXP): Likewise.
45099 (LDBL_MAX_EXP): Likewise.
45100 (FLT_MAX_10_EXP): Likewise.
45101 (DBL_MAX_10_EXP): Likewise.
45102 (LDBL_MAX_10_EXP): Likewise.
45103 (FLT_MAX): Use macro-constant.
45104 (DBL_MAX): Likewise.
45105 (LDBL_MAX): Likewise.
45106 (FLT_EPSILON): Use macro-constant. Give upper bound.
45107 (DBL_EPSILON): Likewise.
45108 (LDBL_EPSILON): Likewise.
45109 (FLT_MIN): Likewise.
45110 (DBL_MIN): Likewise.
45111 (LDBL_MIN): Likewise.
45112 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45113 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45114 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45115 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45116 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45117 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45118 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45119 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45120 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45121 [ISO11] (FLT_TRUE_MIN): Likewise.
45122 [ISO11] (LDBL_TRUE_MIN): Likewise.
45123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45124 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45125 (SCHAR_MIN): Use macro-int-constant. Specify type.
45126 (SCHAR_MAX): Likewise.
45127 (UCHAR_MAX): Likewise.
45128 (CHAR_MIN): Likewise.
45129 (CHAR_MAX): Likewise.
45130 (MB_LEN_MAX): Use macro-int-constant.
45131 (SHRT_MIN): Use macro-int-constant. Specify type.
45132 (SHRT_MAX): Likewise.
45133 (USHRT_MAX): Likewise.
45134 (INT_MAX): Likewise.
45135 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45136 bound negative.
45137 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45138 bound with "U".
45139 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45140 bound with "L".
45141 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45142 bound negative. Suffix upper bound with "L".
45143 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45144 bound with "UL".
45145 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45146 Specify type.
45147 [C99-based standards] (LLONG_MAX): Likewise.
45148 [C99-based standards] (ULLONG_MAX): Likewise.
45149 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45150 == 0.
45151 [ISO11] (max_align_t): Require type.
45152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45153
c9140a62
JM
45154 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45155 from $CFLAGS, without defining away __attribute__ calls.
45156 (checknamespace): Use $CFLAGS_namespace.
45157
9af0bf29
JM
45158 * conform/conformtest.pl (@keywords): Only include C99 keywords
45159 for standards based on C99 or C11.
45160
343222a2
JM
45161 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45162 Disable tests.
45163 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45164 UNIX98]: Likewise.
45165
661f8cf0
JM
45166 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45167 usability of symbols in #if.
45168
ee74b9cb
JM
45169 * conform/conformtest.pl: If macro or constant types start
45170 "promoted:", expect the symbol to be of the following type
45171 promoted by the integer promotions.
62fde54f 45172
aafc49b3
JM
45173 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45174 in one place. Also handle "macro-constant".
45175
fefdf574
JM
45176 * conform/conformtest.pl: Only accept expected macro values with
45177 "==". Parse all "macro" lines in one place.
45178 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45179
f2d922fe
JM
45180 * conform/conformtest.pl: Handle braced types on "constant" lines
45181 instead of handling "typed-constant".
45182 * conform/data/signal.h-data: Use "constant" instead of
45183 "typed-constant".
45184
d22956c9
JM
45185 * conform/conformtest.pl: Handle "optional-" at start of lines in
45186 one place rather than duplicating several cases. Handle each
45187 format of "macro" line with initial "optional-".
45188
028e2e38
JM
45189 * conform/conformtest.pl: Only accept expected constant or
45190 optional-constant values with "==". Parse all "constant" lines in
45191 one place. Parse all "optional-constant" lines in one place.
45192 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45193 * conform/data/fmtmsg.h-data: Likewise.
45194 * conform/data/netinet/in.h-data: Likewise.
45195 * conform/data/tar.h-data: Likewise.
45196 * conform/data/limits.h-data: Use "==" form on "constant" and
45197 "optional-constant" lines.
45198
1b8f2850
JM
45199 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45200 Use -std=c99 for XOPEN2K.
45201 (@knownproblems): Remove.
45202 (newtoken): Don't check %isknown.
45203
a05a144b
JM
45204 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45205 Do not expect macro.
45206 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45218 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45219 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45236 [XPG3] (acosh): Likewise.
45237 [XPG3] (asinh): Likewise.
45238 [XPG3] (atanh): Likewise.
45239 [XPG3] (cbrt): Likewise.
45240 [XPG3] (expm1): Likewise.
45241 [XPG3] (ilogb): Likewise.
45242 [XPG3] (log1p): Likewise.
45243 [XPG3] (logb): Likewise.
45244 [XPG3] (nextafter): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45247 [XPG3] (remainder): Likewise.
45248 [XPG3] (rint): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45256 [UNIX98 || XOPEN2K] (scalb): Expect.
45257 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45258 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45285 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45286 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45287 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45288 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45289 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45290 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45291 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45292 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45293 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45294 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45295 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45296 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45297 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45298 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45299 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45300 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45301 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45302 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45303 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45304 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45305 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45306 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45307 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45308 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45309 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45310 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45311 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45312 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45313 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45314 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45315 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45316 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45317 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45329 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45330 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45332 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45333 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45334 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45335 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45336 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45337 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45338 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45339 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45340 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45341 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45342 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45343 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45344 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45345 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45346 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45347 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45348 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45349 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45350 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45351 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45352 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45353 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45354 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45355 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45356 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45357 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45358 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45359 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45360 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45361 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45362 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45363 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45364 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45365 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45366 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45367 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45368 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45369 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45370 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45371 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45372 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45373 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45374 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45375 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45376 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45377 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45378 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45379 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45380 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45381 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45382 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45383 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45384 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45385 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45386 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45387 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45388 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45389 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45390 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45391 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45392 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45393 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45394
73c5ebe3
JM
45395 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45396 _XOPEN_SOURCE_EXTENDED for XPG4.
45397
39c33b6c
JM
45398 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45399
62fde54f
JM
45400 * Makeconfig (localtime): Remove variable.
45401 (inst_localtime-file): Likewise.
45402
0741d64c
AS
454032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45404
45405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45406 Update.
45407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45408 Update.
45409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45410 Update.
45411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45412 Update.
45413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45414 Update.
45415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45416 Update.
45417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45418 Update.
45419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45420 Update.
45421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45422 Update.
45423
7cb029ee
JM
454242012-05-01 Joseph Myers <joseph@codesourcery.com>
45425
45426 [BZ #2550]
45427 [BZ #2570]
45428 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45429 comparisons to determine direction to adjust input.
45430 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45431 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45433 Likewise.
45434 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45435 Likewise.
45436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45437 Likewise.
45438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45440 Likewise.
45441 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45442 Likewise.
45443 * math/libm-test.inc (nexttoward_test): Add more tests.
45444
412bd966
AS
454452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45446
45447 [BZ #14040]
45448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45449 in version GLIBC_2.1, not GLIBC_2.0.
45450 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45451 Likewise.
45452
9568c0c2
JM
454532012-04-30 Joseph Myers <joseph@codesourcery.com>
45454
adfbc8ac
JM
45455 [BZ #13942]
45456 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45457 (1 - x) * (1 + x).
45458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45459 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45460 * math/libm-test.inc (acos_test): Add more tests.
45461 (asin_test): Likewise.
45462 * sysdeps/i386/fpu/libm-test-ulps: Update.
45463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45464
5ba3cc69
JM
45465 [BZ #14034]
45466 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45467 of square root.
45468 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45469 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45470 * math/libm-test.inc (acos_test_tonearest): New function.
45471 (acos_test_towardzero): Likewise.
45472 (acos_test_downward): Likewise.
45473 (acos_test_upward): Likewise.
45474 (asin_test_tonearest): Likewise.
45475 (asin_test_towardzero): Likewise.
45476 (asin_test_downward): Likewise.
45477 (asin_test_upward): Likewise.
45478 (main): Call the new functions.
45479 * sysdeps/i386/fpu/libm-test-ulps: Update.
45480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45481
9568c0c2
JM
45482 [BZ #13884]
45483 [BZ #13924]
45484 * math/e_exp10.c: Include <float.h>.
45485 (__ieee754_exp10): Handle underflow here rather than multiplying
45486 large negative argument by M_LN10.
45487 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45488 of __ieee754_expf.
45489 * math/e_exp10l.c: Include <float.h>.
45490 (__ieee754_exp10l): Handle underflow here rather than multiplying
45491 large negative argument by M_LN10l.
45492 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45493 spurious overflow exception on underflow.
45494
5ac3ea17
MP
454952012-04-29 Marek Polacek <polacek@redhat.com>
45496
45497 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45498 (__fortify_function): New macro.
45499 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45500 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45501 __extern_always_inline.
45502 * libio/bits/stdio2.h: Likewise.
45503 * libio/bits/stdio.h: Likewise.
45504 * string/string.h: Likewise.
45505 * string/bits/string3.h: Likewise.
45506 * include/stdio.h: Likewise.
45507 * stdlib/bits/stdlib.h: Likewise.
45508 * stdlib/stdlib.h: Likewise.
45509 * rt/bits/mqueue2.h: Likewise.
45510 * rt/mqueue.h: Likewise.
45511 * posix/bits/unistd.h: Likewise.
45512 * posix/unistd.h: Likewise.
45513 * io/bits/poll2.h: Likewise.
45514 * io/bits/fcntl2.h: Likewise.
45515 * io/fcntl.h: Likewise.
45516 * io/sys/poll.h: Likewise.
45517 * misc/bits/syslog.h: Likewise.
45518 * misc/bits/syslog-ldbl.h: Likewise.
45519 * misc/sys/syslog.h: Likewise.
45520 * socket/bits/socket2.h: Likewise.
45521 * socket/sys/socket.h: Likewise.
45522 * debug/tst-chk1.c: Likewise.
45523 * wcsmbs/bits/wchar2.h: Likewise.
45524 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45525 * wcsmbs/wchar.h: Likewise.
45526
ecf0ebfb
AJ
455272012-04-29 Andreas Jaeger <aj@suse.de>
45528
45529 * Makerules (tests): Remove enable-check-abi protection.
45530 (check-abi-warn): Remove.
45531 (check-abi-%): Remove check-abi-warn usage.
45532
45533 * configure.in: Remove check-abi configure option.
45534 * configure: Regenerated.
45535 * config.make.in (enable-check-abi): Remove.
45536
6d5c57fa
AS
455372012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45538
24c5d07e 45539 [BZ #14033]
ded5180a
AS
45540 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45541 double functions to double *_finite functions.
45542
7e0d315d
AS
45543 [BZ #13941]
45544 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45545 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45546 LDBL_MIN_EXP.
45547 * stdio-common/Makefile (tests): Add tst-sprintf3.
45548 * stdio-common/tst-sprintf3.c: New file.
45549
6d5c57fa
AS
45550 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45551 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45552
0749ff8b
JM
455532012-04-28 Joseph Myers <joseph@codesourcery.com>
45554
45555 * conform/conformtest.pl: Remove duplicate typed-constant
45556 handling.
45557
8dbd5d7b
DM
455582012-04-28 David S. Miller <davem@davemloft.net>
45559
45560 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45561 (check-abi-%): Remove AWK script prerequisite and explicit
45562 abilist directory.
45563 (check-abi): Rewrite to just diff the symlist with the abilist.
45564 (config-tls, config-abi-config): Delete, no longer used.
45565 (update-abi-%): Remove AWK script and explicit abilist directory.
45566 (update-abi): Rewrite to simply compare and conditionally copy the
45567 symlist and the sysdep abilist file. Remove update-abi-config
45568 checks.
45569 * abilist/ld.abilist: Remove.
45570 * abilist/libBrokenLocale.abilist: Remove.
45571 * abilist/libanl.abilist: Remove.
45572 * abilist/libcrypt.abilist: Remove.
45573 * abilist/libdl.abilist: Remove.
45574 * abilist/librt.abilist: Remove.
45575 * abilist/libthread_db.abilist: Remove.
45576 * abilist/libutil.abilist: Remove.
45577 * scripts/extract-abilist.awk: Remove.
45578 * scripts/merge-abilist.awk: Remove.
45579 * sysdeps/generic/libcidn.abilist: New file.
45580 * sysdeps/generic/libnss_compat.abilist: New file.
45581 * sysdeps/generic/libnss_db.abilist: New file.
45582 * sysdeps/generic/libnss_dns.abilist: New file.
45583 * sysdeps/generic/libnss_files.abilist: New file.
45584 * sysdeps/generic/libnss_hesiod.abilist: New file.
45585 * sysdeps/generic/libnss_nis.abilist: New file.
45586 * sysdeps/generic/libnss_nisplus.abilist: New file.
45587 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45588 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45589 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45590 file.
45591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45592 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45593 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45594 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45595 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45596 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45597 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45598 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45599 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45600 file.
45601 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45602 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45603 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45604 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45605 file.
45606 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45608 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45610 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45611 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45612 file.
45613 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45614 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45615 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45616 file.
45617 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45619 New file.
45620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45621 New file.
45622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45623 New file.
45624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45625 New file.
45626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45627 New file.
45628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45629 New file.
45630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45631 New file.
45632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45633 New file.
45634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45635 New file.
45636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45637 New file.
45638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45639 New file.
45640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45641 New file.
45642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45643 New file.
45644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45645 file.
45646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45647 New file.
45648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45649 New file.
45650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45651 file.
45652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45653 New file.
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45655 New file.
45656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45657 file.
45658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45659 New file.
45660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45661 New file.
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45663 New file.
45664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45665 New file.
45666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45667 New file.
45668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45669 New file.
45670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45672 file.
45673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45674 New file.
45675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45676 file.
45677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45678 file.
45679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45680 file.
45681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45682 file.
45683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45684 file.
45685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45686 New file.
45687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45688 file.
45689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45690 file.
45691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45692 New file.
45693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45694 file.
45695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45697 file.
45698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45699 New file.
45700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45701 file.
45702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45703 file.
45704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45705 file.
45706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45707 file.
45708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45709 file.
45710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45711 New file.
45712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45713 file.
45714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45715 file.
45716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45717 New file.
45718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45719 file.
45720 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45721 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45722 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45723 file.
45724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45725 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45726 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45727 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45728 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45729 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45730 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45731 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45732 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45733 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45736 file.
45737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45738 New file.
45739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45740 file.
45741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45742 file.
45743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45744 file.
45745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45746 file.
45747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45748 file.
45749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45750 New file.
45751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45752 New file.
45753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45754 file.
45755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45756 New file.
45757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45758 file.
45759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45761 file.
45762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45763 New file.
45764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45765 file.
45766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45767 file.
45768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45769 file.
45770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45771 file.
45772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45773 file.
45774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45775 New file.
45776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45777 New file.
45778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45779 file.
45780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45781 New file.
45782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45783 file.
45784
41d73a1b
JM
457852012-04-28 Joseph Myers <joseph@codesourcery.com>
45786
45787 * conform/conformtest.pl: Fix typo in handling typed-constant from
45788 allow-header.
45789
28aeeda4
JM
457902012-04-27 Joseph Myers <joseph@codesourcery.com>
45791
adae8f5e
JM
45792 * README: Cut down references to pre-2.6 Linux kernels and
45793 Linuxthreads. Update lists of configurations in libc and ports
45794 and sort alphabetically. Say "or newer" with Linux kernel version
45795 requirements.
45796
28aeeda4
JM
45797 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45798
a462cb63
RA
457992012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45800
45801 [BZ #887]
45802 * math/libm-test.inc (logb_test_downward): New test to expose
45803 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45804 rounding mode.
45805
6ad3493e
JM
458062012-04-27 Joseph Myers <joseph@codesourcery.com>
45807
45808 [BZ #14027]
45809 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45810 to be done.
45811 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45812 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45813
2ce4f015
JM
458142012-04-26 Joseph Myers <joseph@codesourcery.com>
45815
5aeb141a
JM
45816 * sysdeps/unix/i386/brk.S: Remove file.
45817 * sysdeps/unix/i386/dl-brk.S: Likewise.
45818 * sysdeps/unix/i386/pipe.S: Likewise.
45819 * sysdeps/unix/i386/sigreturn.S: Likewise.
45820 * sysdeps/unix/i386/syscall.S: Likewise.
45821 * sysdeps/unix/i386/vfork.S: Likewise.
45822 * sysdeps/unix/i386/wait.S: Likewise.
45823
7143acae
JM
45824 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45825 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45826
2ce4f015
JM
45827 * configure.in (arm*-none*): Do not allow without
45828 --enable-hacker-mode.
45829 (netbsd*): Remove case setting base_os.
45830 (386bsd*): Likewise.
45831 (freebsd*): Likewise.
45832 (bsdi*): Likewise.
45833 (osf*): Likewise.
45834 (sunos*): Likewise.
45835 (ultrix*): Likewise.
45836 (newsos*): Likewise.
45837 (dynix*): Likewise.
45838 (*bsd*): Likewise.
45839 (sysv*): Likewise.
45840 (isc*): Likewise.
45841 (esix*): Likewise.
45842 (sco*): Likewise.
45843 (minix*): Likewise.
45844 (irix4*): Likewise.
45845 (irix6*): Likewise.
45846 (solaris[2-9]*): Likewise.
45847 (none): Likewise.
45848 * configure: Regenerated.
45849
0ac229c8
AZ
458502012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45851
45852 [BZ #11521]
45853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45854 overflow or cancellation in calculating denominator.
45855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45857 down expression to avoid unexpected rounding in newer GCCs.
45858 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45859
33f244f4
DM
458602012-04-26 David S. Miller <davem@davemloft.net>
45861
45862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45863 long-double compat symbols.
45864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45877
cfa1f3e8
DM
458782012-04-25 David S. Miller <davem@davemloft.net>
45879
45880 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45881 HWCAP_* values only after the memory barriers have been defined.
45882 (atomic_full_barrier): Define.
45883 (atomic_read_barrier): Define.
45884 (atomic_write_barrier): Define.
45885
6e236b92
SP
458862012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45887
45888 * shlib-versions: Add libgcc_s version information.
45889 * sysdeps/generic/libgcc_s.h: Remove.
45890 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45891 libgcc_s.h.
45892 * sysdeps/gnu/unwind-resume.c: Likewise.
45893 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45894
aab39a09
DM
458952012-04-25 David S. Miller <davem@davemloft.net>
45896
45897 * sysdeps/unix/sparc/brk.S: Delete.
45898 * sysdeps/unix/sparc/dl-brk.S: Delete.
45899 * sysdeps/unix/sparc/pipe.S: Delete.
45900 * sysdeps/unix/sparc/sysdep.S: Delete.
45901 * sysdeps/unix/sparc/sysdep.h: Delete.
45902 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45903 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45904 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45906 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45907 (JUMPTARGET): Remove.
45908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45909 sysdeps/unix/sparc/sysdep.h
45910 (ENTRY, END): Remove.
45911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45912
a3cc4f48
JM
459132012-04-25 Joseph Myers <joseph@codesourcery.com>
45914
2ed8cda2
JM
45915 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45916 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45917 -DIS_IN_build.
45918
35d76d59
JM
45919 * timezone/README: Update upstream location and email address for
45920 tzcode and tzdata.
45921 * timezone/zdump.c: Update from tzcode 2012b.
45922 * timezone/zic.c: Likewise.
45923
a3cc4f48
JM
45924 * configure.in (libc_cv_as_needed): Remove test.
45925 * configure: Regenerated.
45926 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45927 conditional definition.
45928 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45929 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45930 * config.make.in (have-as-needed): Remove variable.
45931
ceab42c3
SP
459322012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45933 Paul Pluzhnikov <ppluzhnikov@google.com>
45934
45935 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45936 strings correctly.
45937
3ce2865f
CLT
459382012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45939
45940 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45941 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45942 * sysdeps/sh/strlen.S: Likewise.
45943
f37e0d68
JM
459442012-04-24 Joseph Myers <joseph@codesourcery.com>
45945
ae186e9a
JM
45946 * sysdeps/unix/fork.S: Remove file.
45947 * sysdeps/unix/i386/fork.S: Likewise.
45948 * sysdeps/unix/sparc/fork.S: Likewise.
45949
b96914af
JM
45950 * sysdeps/unix/system.c: Remove file.
45951 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45952
f37e0d68
JM
45953 * sysdeps/unix/getegid.S: Remove file.
45954 * sysdeps/unix/geteuid.S: Likewise.
45955
87ef29ca
RM
459562012-04-24 Roland McGrath <roland@hack.frob.com>
45957
83bcd236
RM
45958 * scripts/check-localplt.awk: New file.
45959 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45960 of diff.
45961 * scripts/data/localplt-generic.data: Add a comment.
45962
87ef29ca
RM
45963 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45964 NODE when __dir_mkfile failed.
45965 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45966 Reported by Ludovic Courtès <ludo@gnu.org>.
45967
e5a6e567
AJ
459682012-04-24 Andreas Jaeger <aj@suse.de>
45969
45970 * Makerules (common-clean): Also remove gen-as-const-headers
45971 files.
45972
c1820385
JM
459732012-04-24 Joseph Myers <joseph@codesourcery.com>
45974
45975 * Makerules (native-compile): Do not change working directory for
45976 build. Use $(OUTPUT_OPTION) in command.
45977 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45978
94e02fc4
AZ
459792012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45980
45981 [BZ #13886]
45982 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45983 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45984 * math/libm-test.inc (floor_test): Add more tests.
45985 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45986
3a533ca3
JM
459872012-04-24 Joseph Myers <joseph@codesourcery.com>
45988
940ab4b3
JM
45989 * sysdeps/unix/getdents.c: Remove file.
45990 * sysdeps/unix/sysv/getdents.c: Likewise.
45991 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45992
90e037bd
JM
45993 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45994 sysdeps/unix/mman/syscalls.list.
45995 (mmap): Likewise.
45996 (mprotect): Likewise.
45997 (msync): Likewise.
45998 (munmap): Likewise.
45999 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46000 * sysdeps/unix/mman/syscalls.list: Remove.
46001 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46002
3a533ca3
JM
46003 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46004 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46005 * configure: Regenerated.
46006 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46007 $(libgcc_s_suffix).
46008 * config.make.in (libgcc_s_suffix): Remove variable.
46009
1ad743de
JM
460102012-04-23 Joseph Myers <joseph@codesourcery.com>
46011
4ad451e2
JM
46012 * sysdeps/unix/sysv/gethostname.c: Move to ...
46013 * sysdeps/posix/gethostname.c: ... here.
46014
5e37ce39
JM
46015 * sysdeps/unix/execve.S: Remove file.
46016
1ad743de
JM
46017 * sysdeps/unix/_exit.S: Remove file.
46018
4e681b5b
AJ
460192012-04-23 Andreas Jaeger <aj@suse.de>
46020
46021 [BZ #13739]
46022 * manual/Makefile: Remove make dist support, there's no
46023 need for a stand-alone documentation tar ball.
46024 (TEXI2DVI): Define always, it's not in Makeconfig.
46025 (dist): Removed.
46026 (tar-it): Removed.
46027 (edition): Removed.
46028 (glibc-doc-$(edition).tar): Removed
46029 (%.Z): Removed.
46030 (%.gz): Removed.
46031 (%.uu): Removed.
46032 (ETAGS): Remove, it's in Makeconfig.
46033 (move-if-change): Remove, it's in Makeconfig.
46034
38686a03 460352012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46036
46037 [BZ #13970]
46038 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46039 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46040 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46041 (strtod_l, strtof_l, strtold_l): Remove __wur.
46042 It is not necessarily an error to ignore strtol's return value.
46043 One can reliably look at the stored endptr to decide whether
46044 the number had valid syntax.
46045
7c0616fa
AJ
460462012-04-21 Andreas Jaeger <aj@suse.de>
46047
803cb6b7 46048 [BZ #13739]
7c0616fa
AJ
46049 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46050
b0fe253f
JM
460512012-04-21 Joseph Myers <joseph@codesourcery.com>
46052
46053 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46054 * sysdeps/unix/sysv/Versions: Remove file.
46055
8280f22d
MT
460562012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46057
46058 [BZ #13927]
46059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46060
75ce411f 460612012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46062
46063 [BZ #7064]
46064 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46065 version from __vm86.
46066
097d59fa
JM
460672012-04-20 Joseph Myers <joseph@codesourcery.com>
46068
a90f3bcb
JM
46069 * sysdeps/unix/common/lxstat.c: Remove file.
46070 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46071
edc7ea78
JM
46072 * sysdeps/unix/sysv/Makefile: Remove file.
46073
cb78c221
JM
46074 * sysdeps/unix/sysv/direct.h: Remove file.
46075
efa6a45f
JM
46076 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46077 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46078 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46079 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46080 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46081 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46082 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46083
9c9f2d0c
JM
46084 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46085
4541c83b
JM
46086 * sysdeps/unix/xmknod.c: Remove file.
46087 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46088
f5d153a0
JM
46089 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46090
aa746595
JM
46091 * sysdeps/unix/sysv/i386/time.S: Remove file.
46092
cce5905e
JM
46093 * sysdeps/unix/fxstat.c: Remove file.
46094 * sysdeps/unix/xstat.c: Likewise.
46095 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46096
37fa3841
JM
46097 * sysdeps/unix/sysv/sigaction.c: Remove file.
46098
ff1962a3
JM
46099 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46100 (sysdep_headers): Remove variable.
46101 [termio.h not in sysdep_headers] (generated): Likewise.
46102 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46103 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46104 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46105 * sysdeps/unix/sysv/tcflow.c: Likewise.
46106 * sysdeps/unix/sysv/tcflush.c: Likewise.
46107 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46108 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46109 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46110 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46111 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46112
e7740d31
JM
46113 * sysdeps/unix/siglist.c: Remove file.
46114
ee06f18b
JM
46115 * sysdeps/unix/getppid.S: Remove file.
46116
097d59fa
JM
46117 * sysdeps/unix/mkdir.c: Remove file.
46118 * sysdeps/unix/rmdir.c: Likewise.
46119
ff3d51ec
AS
461202012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46121
46122 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46123 ERR_MAX value.
46124 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46125 errlist-compat value.
46126
50f81fd7
DM
461272012-04-18 David S. Miller <davem@davemloft.net>
46128
46129 * sysdeps/generic/memcopy.h (reg_char): Delete.
46130 * debug/strcat_chk.c: Use char, not reg_char.
46131 * debug/strcpy_chk.c: Likewise.
46132 * debug/strncat_chk.c: Likewise.
46133 * debug/strncpy_chk.c: Likewise.
46134 * string/memchr.c: Likewise.
46135 * string/memrchr.c: Likewise.
46136 * string/rawmemchr.c: Likewise.
46137 * string/strcat.c: Likewise.
46138 * string/strchr.c: Likewise.
46139 * string/strchrnul.c: Likewise.
46140 * string/strcmp.c: Likewise.
46141 * string/strcpy.c: Likewise.
46142 * string/strncat.c: Likewise.
46143 * string/strncmp.c: Likewise.
46144 * string/strncpy.c: Likewise.
46145
8ff41c46
WS
461462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46147
46148 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46149 __builtin_memcopy is called when src and dest ranges are known to not
46150 overlap.
46151
6b652f46
WS
461522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46153
46154 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46155 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46156 fwd_align_merge macro call.
46157 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46158 bwd_align_merge macro call.
46159 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46160
b282631e
WS
461612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46162
46163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46164 bwd_align_merge macros.
46165 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46166 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46168
95aa737c
DM
461692012-04-18 David S. Miller <davem@davemloft.net>
46170
46171 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46172
7a99a614
AJ
461732012-04-18 Andreas Jaeger <aj@suse.de>
46174
46175 [BZ# 6794]
46176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46177 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46179
46180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46181 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46183
46184 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46185 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46186 Adjust for changed ldbl-128 files.
46187
46188 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46189 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46191
e5270c23
DM
461922012-04-17 David S. Miller <davem@davemloft.net>
46193
46194 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46195
fb5e92c9
AS
461962012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46197
46198 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46199 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46200 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46201 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46202 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46203 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46204
76da7265
AZ
462052012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46206
46207 [BZ #6794]
46208 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46209 * math/libm-test.inc: Add ilogb errno and exception tests.
46210 * math/w_ilogb.c: New file: ilogb wrapper.
46211 * math/w_ilogbf.c: New file: ilogbf wrapper.
46212 * math/w_ilogbl.c: New file: ilogbl wrapper.
46213 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46214 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46215 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46216 exception being thrown with 0.0 as argument.
46217 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46218 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46219 exception being thrown with 0.0 as argument.
46220 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46221 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46222 exception being thrown with 0.0 as argument.
46223 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46224 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46225 exception being thrown with 0.0 as argument.
46226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46227 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46228 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46229 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46230 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46231 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46232 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46233 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46234 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46235
0396e69d
PB
462362012-04-17 Petr Baudis <pasky@ucw.cz>
46237
46238 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46239 with altivec.
46240
750b5926
MP
462412012-04-16 Marek Polacek <polacek@redhat.com>
46242
46243 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46244
751728a1
MP
462452012-04-16 Marek Polacek <polacek@redhat.com>
46246
46247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46248 operands of fdivp instruction.
46249
34a27407
L
462502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46251
46252 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46253 * elf/tst-auditmod3b.c: Likewise.
46254 * elf/tst-auditmod4b.c: Likewise.
46255 * elf/tst-auditmod5b.c: Likewise.
46256 * elf/tst-auditmod6b.c: Likewise.
46257 * elf/tst-auditmod6c.c: Likewise.
46258 * elf/tst-auditmod7b.c: Likewise.
46259 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46260 * sysdeps/x86_64/preconfigure.in: Likewise.
46261 * sysdeps/x86_64/preconfigure: Regenerated.
46262
7e73e17d
L
462632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46264
46265 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46266 __ILP32__.
46267
c7a6ab72
AB
462682012-04-13 Antoine Balestrat <merkil33@gmail.com>
46269
46270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46271 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46272
a9e8e0e0
CL
462732012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46274
46275 [BZ #13973]
46276 * locale/iso-639.def: Fix gl language name. Spotted by
46277 Yaron Shahrabani.
46278
ec98af7d
RM
462792012-04-12 Roland McGrath <roland@hack.frob.com>
46280
46281 [BZ #2074]
46282 * libio/libio.h (__io_write_fn): Update comment.
46283
247c3ede
PB
462842012-04-12 Petr Baudis <pasky@ucw.cz>
46285
46286 [BZ #2074]
46287 * stdio.texi (Hook Functions): The user provided writer function
46288 is not allowed to return -1.
46289
55939d6d
DM
462902012-04-11 David S. Miller <davem@davemloft.net>
46291
46292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46293
90020f5a
MF
462942012-04-11 Mike Frysinger <vapier@gentoo.org>
46295
46296 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46297 Add a leading slash to rtkaio.
46298
288f9098
JM
462992012-04-11 Jim Meyering <meyering@redhat.com>
46300
90020f5a
MF
46301 [BZ #11959]
46302 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46303 It is not necessarily an error to ignore fwrite's return
46304 value. One can reliably use ferror to test for errors after
46305 the fact.
288f9098 46306
4be2b570
L
463072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46308
46309 * bits/types.h (__snseconds_t): New type.
46310 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46311
46312 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46314 (__SNSECONDS_T_TYPE): Likewise.
46315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46316 (__SNSECONDS_T_TYPE): Likewise.
46317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46318 (__SNSECONDS_T_TYPE): Likewise.
46319
288f9098 463202012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46321
46322 [BZ #2636]
46323 * manual/time.texi (Processor Time): Return type of times is
46324 elapsed real time since an arbitrary point in the past.
46325 (CPU Time): Move CLK_TCK from here...
46326 (Processor Time): ...to here. Correct description.
46327 * manual/conf.texi (Constants for Sysconf): Correct description of
46328 _SC_CLK_TCK.
46329
d7dd4413
DM
463302012-04-10 David S. Miller <davem@davemloft.net>
46331
46332 [BZ #13967]
46333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46334 where the is a gap between DT_REL(A) and DT_JMPREL.
46335
b46068fc
L
463362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46337
46338 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46339 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46340 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46341
73d65cc3
SP
463422012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46343
46344 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46345 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46346 (dl_main): Handle --inhibit-cache.
46347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46348 _dl_inhibit_cache.
46349 * elf/dl-load.c (_dl_map_object): Use it.
46350 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46351
bcc8d661
JM
463522012-04-09 Joseph Myers <joseph@codesourcery.com>
46353
8f9a2fae
JM
46354 [BZ #13872]
46355 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46356 (__ieee754_powl): Saturate large exponents rather than testing for
46357 overflow of y*log2(x).
46358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46359 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46360 exceptions.
46361
bcc8d661
JM
46362 [BZ #11521]
46363 * math/s_ctan.c: Include <float.h>.
46364 (__ctan): Avoid internal overflow or cancellation in calculating
46365 denominator.
46366 * math/s_ctanf.c: Likewise.
46367 * math/s_ctanl.c: Likewise.
46368 * math/s_ctanh.c: Likewise.
46369 * math/s_ctanhf.c: Likewise.
46370 * math/s_ctanhl.c: Likewise.
46371 * math/libm-test.inc (ctan_test): Add more tests.
46372 (ctanh_test): Likewise.
46373 * sysdeps/i386/fpu/libm-test-ulps: Update.
46374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46375
823fbbb4
AJ
463762012-04-09 Andreas Jaeger <aj@suse.de>
46377
03879793
AJ
46378 [BZ #6894]
46379 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46380 is an optional BSD extension.
46381
823fbbb4
AJ
46382 [BZ #10254]
46383 * manual/stdio.texi (Opening Streams): Document additional fopen
46384 parameters.
46385
8de131cb
RM
463862012-04-09 Roland McGrath <roland@hack.frob.com>
46387
46388 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46389 %eax without telling the compiler.
46390
c0ed9d7d
CD
463912012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46392
46393 [BZ # 13963]
46394 * manual/install.texi: Use sourceware.org.
46395
c483f6b4
JM
463962012-04-09 Joseph Myers <joseph@codesourcery.com>
46397
d7dd9453
JM
46398 [BZ #13873]
46399 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46400 (__ieee754_pow): Generate overflow and underflow using huge*huge
46401 and tiny*tiny rather than just returning constant infinity or zero
46402 for large exponents.
46403 * math/libm-test.inc (pow_test): Require overflow exceptions for
46404 applicable cases of large exponents.
46405
c483f6b4
JM
46406 [BZ #706]
46407 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46408 (__ieee754_pow): Use iterative multiplication algorithm only for
46409 integer exponents with absolute value below 1024. Check for odd
46410 integer exponents when using algorithm for real exponents.
46411 * math/libm-test.inc (pow_test): Add more tests.
46412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46413
d2de7579
JM
464142012-04-08 Joseph Myers <joseph@codesourcery.com>
46415
46416 [BZ #13705]
46417 * math/libm-test.inc (exp_test): Do not allow overflow exception
46418 on underflow test.
46419
f77f1232
AJ
464202012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46421
46422 [BZ #13705]
46423 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46424 instead of __kernel_standard_f.
46425
3884932b
MF
464262012-04-08 Mike Frysinger <vapier@gentoo.org>
46427
46428 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46429 * sysdeps/x86_64/memset_chk.S: Likewise.
46430
54472e9c
AJ
464312012-04-08 Andreas Jaeger <aj@suse.de>
46432
6ab0fbfc
AJ
46433 [BZ #10153]
46434 * manual/startup.texi (Environment Access): Describe return value
46435 for putenv and setenv.
46436
61efba8c
AJ
46437 [BZ #6895]
46438 * manual/filesys.texi (Directory Entries): Add description for
46439 DT_LNK.
46440
95c3f29a
AJ
46441 [BZ #6890]
46442 * manual/filesys.texi (Directory Entries): Clarify that it's file
46443 system not operating system in the description of DT_UNKNOWN.
46444
54472e9c
AJ
46445 [BZ #6578]
46446 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46447
624254b1
SC
464482012-04-08 Stephen Compall <s11@member.fsf.org>
46449
46450 [BZ #6649]
46451 * manual/llio.texi (Opening and Closing Files): Add cross
46452 reference to explain mode argument.
46453
1e4920e0
MF
464542012-04-07 Mike Frysinger <vapier@gentoo.org>
46455
46456 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46457 * sysdeps/x86_64/memset_chk.S: Likewise.
46458
5ed848f3
DM
464592012-04-07 David S. Miller <davem@davemloft.net>
46460
46461 * elf/elf.h (R_SPARC_WDISP10): Define.
46462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46463 R_SPARC_SIZE32.
46464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46465 R_SPARC_SIZE64 and R_SPARC_H34.
46466
96154cd8
CD
464672012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46468
46469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46470 conditions and remove no longer applicable assertion.
46471
9904dc47
L
464722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46473
46474 * bits/byteswap.h: Include <features.h>.
46475 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46476 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46477
f8887d0a
L
464782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46479
46480 * bits/byteswap.h (__bswap_16): Removed.
46481 Include <bits/byteswap-16.h> to get __bswap_16.
46482 * sysdeps/i386/bits/byteswap.h: Likewise.
46483 * sysdeps/s390/bits/byteswap.h: Likewise.
46484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46485 * bits/byteswap-16.h: New file.
46486 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46487 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46488 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46489 * string/Makefile (headers): Add bits/byteswap-16.h.
46490
62470f60
PP
464912012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46492
46493 [BZ #13895]
46494 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46495 extra indirection.
46496 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46497 * nss/tst-nss-static.c: New.
46498
4dad7bab
RM
464992012-04-06 Robert Millan <rmh@gnu.org>
46500
46501 [BZ #6486]
46502 * manual/llio.texi (File Position Primitive): lseek
46503 refers to WHENCE when it really means OFFSET.
46504
e9142a17
AJ
465052012-04-06 Andreas Jaeger <aj@suse.de>
46506
2c040eff
AJ
46507 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46508 strncmp declarations.
46509
e9142a17
AJ
46510 * abilist/libc.abilist: Add __poll and __ppoll.
46511
ff9f1c5f
DM
465122012-04-05 David S. Miller <davem@davemloft.net>
46513
dcd2ae90
DM
46514 * scripts/check-local-headers.sh: Accept a host triplet in the
46515 path matched by the exclude regexp.
46516
993eb054
DM
46517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46518 definition.
46519 * sysdeps/powerpc/powerpc32/dl-machine.h
46520 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46521 * sysdeps/s390/s390-32/dl-machine.h
46522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46523 * sysdeps/sparc/sparc32/dl-machine.h
46524 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46525 * sysdeps/sparc/sparc64/dl-machine.h
46526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46527
ff9f1c5f
DM
46528 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46529 lazy binding.
48e2e132 46530 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46531 undefined symbol errors.
46532
48e2e132 46533 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46534 DT_NEEDED entries.
46535
e80d6f94
MM
465362012-04-05 Michael Matz <matz@suse.de>
46537
46538 [BZ #13592]
46539 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46540
349fa79f
AJ
465412012-04-05 Andreas Jaeger <aj@suse.de>
46542
46543 [BZ #13908]
46544 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46545 comment.
46546
f402708f
KK
465472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46548
46549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46550 which ROUND is no valid rounding mode.
46551
2ecccfc9
KK
465522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46553
46554 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46555 read again.
46556 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46557
8a53f50f
KK
465582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46559
46560 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46561 an exception using FPU order intentionally.
46562
465632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46564
46565 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46566 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46567 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46568 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46569
d653abb7
SJ
465702012-04-05 Simon Josefsson <simon@josefsson.org>
46571
46572 [BZ #12340]
46573 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46574 EINVAL when BUFLEN is too smal.
46575
c3b1bf7d
TS
465762012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46577
46578 [BZ #13553]
46579 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46580 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46581
b1aa60f3
AJ
465822012-04-03 Andreas Jaeger <aj@suse.de>
46583
c3b1bf7d 46584 [BZ #13938]
67f60a26
AJ
46585 * manual/setjmp.texi (System V contexts): Fix sentence.
46586
b1aa60f3
AJ
46587 [BZ #13926]
46588 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46589 New macro for this case.
46590 [!__GNUC__] (__bswap_64): New inline function for this case.
46591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46592 * bits/byteswap.h: Likewise.
46593 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46594 ull, guard with __GLIBC_HAVE_LONG_LONG.
46595
46596 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46597 __GLIBC_HAVE_LONG_LONG.
46598
46599 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46600 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46601
39c59c35
TMQMF
466022012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46603
46604 [BZ #13691]
46605 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46606 inptr and inend, rather than using last_ch.
46607
135ffda8
DM
466082012-04-02 David S. Miller <davem@davemloft.net>
46609
46610 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46611 * stdio-common/printf-parse.h (read_int): Change return type to
46612 'int', return -1 on INT_MAX overflow.
46613 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46614 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46615 overflows INT_MAX. Check for overflow of in-format-string precision
46616 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46617 SIZE_MAX not INT_MAX for integer overflow test.
46618 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46619 skip the construct in the format string but do not record anything.
46620 * stdio-common/bug22.c: Adjust to test both width/prevision
46621 INT_MAX overflow as well as total length INT_MAX overflow. Check
46622 explicitly for proper errno values.
46623
228c019e
TS
466242012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46625
302cadd3
TS
46626 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46627 CHAR_MAX.
46628 * string/test-strcmp.c [! WIDE]: Likewise.
46629 * time/tst-mktime2.c: Likewise for INT_MAX.
46630 * string/test-string.h: #include <sys/param.h> for MIN.
46631
228c019e
TS
46632 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46633 * sysdeps/i386/init-first.c (init): Likewise.
46634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46635 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46636 * sysdeps/sh/init-first.c (init): Likewise.
46637
cfa633f5
UD
466382012-04-01 Ulrich Drepper <drepper@gmail.com>
46639
46640 * po/ru.po: Update from translation team.
d1635ef8 46641 * po/vi.po: Likewise.
cfa633f5 46642
6cd0a5ea
SP
466432012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46644
46645 * resolv/nss_dns/dns-host.c: Merge copyright years.
46646
4b43400f
LD
466472012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46648
46649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46650 Optimize memcpy with prefetch if
46651 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46652 src, dst pointers have unequal 16 byte alignments.
46653
48c41d04
SP
466542012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46655
46656 [BZ #13928]
46657 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46658 from a CNAME entry and return the minimum ttl for the query.
46659 (gaih_getanswer_slice): Likewise.
46660
b8dc394d
JL
466612012-03-30 Jeff Law <law@redhat.com>
46662
46663 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46664 due to long keys.
46665 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46666 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46667
2f5a5ed0
JL
46668 * resolv/nss_dns/dns-host.c: Update copyright year.
46669
1d39e359
UD
466702012-03-30 Ulrich Drepper <drepper@gmail.com>
46671
c030f70c 46672 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46673 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46674
1d39e359
UD
46675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46676 comments for sendmmsg.
46677
466782012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46679
46680 [BZ #13691]
46681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46682 with only 1 character between 0x0041 and 0x01b0.
46683 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46684 * wcsmbs/tst-mbsnrtowcs.c: New file.
46685
20fde227
DM
466862012-03-29 David S. Miller <davem@davemloft.net>
46687
46688 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46689 small copies by hand.
46690
984a4237
JL
466912012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46692
46693 [BZ #13761]
57f41c40
AS
46694 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46695 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46696 group memberships.
984a4237 46697
18c9d62b
DM
466982012-03-28 David S. Miller <davem@davemloft.net>
46699
88d85d4f
DM
46700 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46701 that branches into memcpy.
46702 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46705 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46707 bits.
46708 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46709 implementation too.
46710 * sysdeps/sparc/mempcpy.S: New file.
46711
e5aa83e1
DM
46712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46713 the IFUNC routine in the libc case.
46714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46715
88570753
DM
46716 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46717 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46718 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46719 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46720 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46721 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46722 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46723 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46724
249d7567
DM
46725 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46726 loop to 256 bytes instead of 64 bytes and fix test signedness.
46727
18c9d62b
DM
46728 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46729 * sysdeps/sparc/sparc32/Makefile: rather than here...
46730 * sysdeps/sparc/sparc64/Makefile: and here.
46731
05f3d1f6
UD
467322012-03-28 Ulrich Drepper <drepper@gmail.com>
46733
46734 * malloc/mallocbug.c: Avoid warnings about unused variables.
46735
86ae07a8
JL
467362012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46737
46738 [BZ #13760]
46739 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46740 in the right place. Discard and retry query if response is
46741 larger than input buffer size.
46742
41bf21a1
JM
467432012-03-28 Joseph Myers <joseph@codesourcery.com>
46744
d6270972
JM
46745 [BZ #369]
46746 [BZ #2678]
46747 [BZ #3866]
46748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46749 x for large integer exponent.
46750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46752 sign of result as needed afterwards.
46753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46754 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46755 result for underflowing pow the same as for overflow.
46756 (__kernel_standard_l): Handle powl overflow and underflow here
46757 rather than calling __kernel_standard.
46758 * math/libm-test.inc (pow_test): Add more tests.
46759
414fca03 46760 [BZ #3868]
41bf21a1
JM
46761 [BZ #13879]
46762 [BZ #13910]
46763 [BZ #13911]
46764 [BZ #13912]
46765 [BZ #13913]
46766 [BZ #13915]
46767 [BZ #13916]
46768 [BZ #13917]
46769 [BZ #13918]
46770 [BZ #13919]
46771 [BZ #13920]
46772 [BZ #13921]
46773 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46774 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46775 (__kernel_standard_l): New function.
46776 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46777 __kernel_standard.
46778 * math/w_acosl.c (__acosl): Likewise.
46779 * math/w_asinl.c (__asinl): Likewise.
46780 * math/w_atan2l.c (__atan2l): Likewise.
46781 * math/w_atanhl.c (__atanhl): Likewise.
46782 * math/w_coshl.c (__coshl): Likewise.
46783 * math/w_exp10l.c (__exp10l): Likewise.
46784 * math/w_exp2l.c (__exp2l): Likewise.
46785 * math/w_fmodl.c (__fmodl): Likewise.
46786 * math/w_hypotl.c (__hypotl): Likewise.
46787 * math/w_j0l.c (__j0l, __y0l): Likewise.
46788 * math/w_j1l.c (__j1l, __y1l): Likewise.
46789 * math/w_jnl.c (__jnl, __ynl): Likewise.
46790 * math/w_lgammal.c (__lgammal): Likewise.
46791 * math/w_log10l.c (__log10l): Likewise.
46792 * math/w_log2l.c (__log2l): Likewise.
46793 * math/w_logl.c (__logl): Likewise.
46794 * math/w_powl.c (__powl): Likewise.
46795 * math/w_remainderl.c (__remainderl): Likewise.
46796 * math/w_scalbl.c (sysv_scalbl): Likewise.
46797 * math/w_sinhl.c (__sinhl): Likewise.
46798 * math/w_sqrtl.c (__sqrtl): Likewise.
46799 * math/w_tgammal.c (__tgammal): Likewise.
46800 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46801 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46802 * math/libm-test.inc (acos_test): Add more tests.
46803 (acosh_test): Likewise.
46804 (asin_test): Likewise.
46805 (atanh_test): Likewise.
46806 (exp_test): Likewise.
46807 (exp10_test): Likewise.
46808 (exp2_test): Likewise.
46809 (expm1_test): Likewise.
46810 (lgamma_test): Likewise.
46811 (log_test): Likewise.
46812 (log10_test): Likewise.
46813 (log1p_test): Likewise.
46814 (log2_test): Likewise.
46815 (pow_test): Do not allow some spurious overflow exceptions.
46816 (sqrt_test): Add more tests.
46817 (tgamma_test): Likewise.
46818 (y0_test): Likewise.
46819 (y1_test): Likewise.
46820 (yn_test): Likewise.
46821
dd62fda6
AB
468222012-03-27 Anton Blanchard <anton@samba.org>
46823
46824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46825 MAP_HUGETLB.
46826 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46829
1e3cdfda
AJ
468302012-03-27 David S. Miller <davem@davemloft.net>
46831
b855ab85
DM
46832 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46833
1e3cdfda
AJ
46834 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46835 have-as-vis3 check.
46836
468372012-03-27 Andreas Jaeger <aj@suse.de>
46838
46839 * sysdeps/x86_64/elf/configure.in: Moved to ...
46840 * sysdeps/x86_64/configure.in: ... here.
46841 * sysdeps/x86_64/elf/start.S: Moved to ...
46842 * sysdeps/x86_64/start.S: ... here.
46843 * sysdeps/x86_64/elf/configure: Delete.
46844
46845 * sysdeps/x86_64/configure.in: Merge contents from
46846 sysdeps/i386/configure.in (without i686 check).
46847
46848 * sysdeps/i386/elf/Versions: Merge into ...
46849 * sysdeps/i386/Versions: ... this.
46850 * sysdeps/i386/elf/Versions: Delete file.
46851 * sysdeps/i386/elf/start.S: Moved to ...
46852 * sysdeps/i386/start.S: ...here.
46853 * sysdeps/i386/elf/configure.in: Merge into...
46854 * sysdeps/i386/configure.in: ...here.
46855 * sysdeps/i386/elf/configure.in: Delete file.
46856 * sysdeps/i386/elf/configure: Delete file.
46857
46858 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46859 * debug/backtracesyms.c: ... here.
46860 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46861 * debug/backtracesymsfd.c: ... here.
46862 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46863 * sysdeps/generic/ifunc-sel.h: ... here.
46864
46865 * sysdeps/unix/i386/start.c: Delete file.
46866 * sysdeps/unix/sparc/start.c: Delete file.
46867 * sysdeps/unix/start.c: Delete file.
46868
46869 * sysdeps/sh/elf/configure.in: Moved to ...
46870 * sysdeps/sh/configure.in: ... here.
46871 * sysdeps/sh/elf/start.S: Moved to ...
46872 * sysdeps/sh/start.S: ... here.
46873 * sysdeps/sh/elf/configure: Delete file.
46874
46875 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46876 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46877 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46878 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46879 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46880 * sysdeps/powerpc/powerpc64/start.S: here.
46881 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46882 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46883 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46884 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46885 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46886
46887 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46888 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46889 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46890 * sysdeps/powerpc/powerpc32/start.S: ... here.
46891 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46892 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46893 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46894
46895 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46896 * sysdeps/powerpc/ifunc-sel.h: ... here.
46897 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46898 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46899
46900 * sysdeps/sparc/elf/configure.in: Moved to ...
46901 * sysdeps/sparc/configure.in: ... here.
46902 * sysdeps/sparc/elf/configure: Delete file.
46903 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46904 * sysdeps/sparc/sparc32/start.S: ... here.
46905 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46906 * sysdeps/sparc/sparc64/start.S: ... here.
46907 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46908 * sysdeps/sparc/sparc32/Makefile: ... this.
46909 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46910 * sysdeps/sparc/sparc64/Makefile: ... this.
46911
46912 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46913 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46914 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46915 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46916 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46917 * sysdeps/s390/s390-32/setjmp.S: ... here.
46918 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46919 * sysdeps/s390/s390-32/configure.in: ... here.
46920 * sysdeps/s390/s390-32/elf/configure: Delete file.
46921 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46922 * sysdeps/s390/s390-32/start.S: ... here.
46923
46924 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46925 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46926 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46927 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46928 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46929 * sysdeps/s390/s390-64/setjmp.S: ... here.
46930 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46931 * sysdeps/s390/s390-64/configure.in: ... here
46932 * sysdeps/s390/s390-64/elf/configure: Delete file.
46933 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46934 * sysdeps/s390/s390-64/start.S: ... here.
46935 * sysdeps/s390/s390-64/elf/configure: Delete.
46936
46937 * configure.in: Remove support for elf directories in sysdeps.
46938
46939 * configure: Regenerated.
46940 * sysdeps/i386/configure: Regenerated.
46941 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46942 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46943 * sysdeps/s390/s390-32/configure: Regenerated.
46944 * sysdeps/s390/s390-64/configure: Regenerated.
46945 * sysdeps/sh/configure: Regenerated.
46946 * sysdeps/sparc/configure: Regenerated.
46947 * sysdeps/x86_64/configure: Regenerated.
46948
a3f61311
AS
469492012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46950
c876e002
AS
46951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46952
a3f61311
AS
46953 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46954 denormal result into account.
46955
ac4c54f0
RM
469562012-03-25 Roland McGrath <roland@hack.frob.com>
46957
46958 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46959 Reported by Allan McRae <allan@archlinux.org>.
46960
6a9b9c02
JL
469612012-03-23 Jeff Law <law@redhat.com>
46962
46963 * nss/getnssent.c (__nss_getent): Fix typo.
46964
4c42a0c1
DM
469652012-03-23 David S. Miller <davem@davemloft.net>
46966
46967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46968
1532c7ac
L
469692012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46970
46971 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46972 to pad to uint64_t for each field.
46973 (dl_tls_index): Replace unsigned long with uint64_t.
46974
3ff42526
PP
469752012-03-23 Daniel Jacobowitz <dmj@google.com>
46976 Paul Pluzhnikov <ppluzhnikov@google.com>
46977
46978 [BZ #6528]
46979 * grp/Makefile (otherlibs): Don't set it.
46980 * inet/Makefile (otherlibs): Likewise.
46981 * login/Makefile (otherlibs): Likewise.
46982 * nscd/Makefile (otherlibs): Likewise.
46983 * posix/Makefile (otherlibs): Likewise.
46984 * pwd/Makefile (otherlibs): Likewise.
46985 * rt/Makefile (otherlibs): Likewise.
46986 * sunrpc/Makefile (otherlibs): Likewise.
46987 * nss/Makefile (otherlibs): Likewise.
46988 Add libnss_files to routines and static-only-routines.
46989 ($(objpfx)getent): Remove rule.
46990 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46991 static-only-routines.
46992
7c69cd14
JM
469932012-03-22 Joseph Myers <joseph@codesourcery.com>
46994
46995 [BZ #13892]
46996 * math/s_cexp.c: Include <float.h>.
46997 (__cexp): Handle exp result overflowing not necessarily
46998 overflowing both real and imaginary parts of result.
46999 * math/s_cexpf.c: Likewise.
47000 * math/s_cexpl.c: Likewise.
47001 * math/libm-test.inc (cexp_test): Add more tests.
47002 * sysdeps/i386/fpu/libm-test-ulps: Update.
47003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47004
81b035fe
L
470052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47006
47007 * include/link.h (ELFW): New macro.
47008 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47009 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47010
1da7940c
L
470112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47012
47013 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47014 with uint64_t.
47015
b749dbb9
L
470162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47017
47018 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47019 declaration.
47020 (struct La_x32_retval): Likewise.
47021
2ff87f3f
L
470222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47023
47024 * sysdeps/x86_64/preconfigure.in: New file.
47025 * sysdeps/x86_64/preconfigure: New generated file.
47026
c0df8e69
JM
470272012-03-22 Joseph Myers <joseph@codesourcery.com>
47028
48e44791
JM
47029 [BZ #13824]
47030 * math/e_exp2l.c: Include <float.h>.
47031 (__ieee754_exp2l): Handle overflow and underflow cases
47032 separately. Only pass fractional part of argument to
47033 __ieee754_expl.
47034 * math/libm-test.inc (exp2_test): Add more tests.
47035
c0df8e69
JM
47036 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47037 negating x to take absolute value.
47038 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47039 Likewise.
47040 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47041 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47042 Likewise.
47043 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47044 computing low part if x was negated.
47045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47046
c8e43ba7
L
470472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47048
47049 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47050 la_x32_gnu_pltexit.
47051 (pltexit): Cast int_retval to ptrdiff_t.
47052 * elf/tst-auditmod3b.c: Likewise.
47053 * elf/tst-auditmod4b.c: Likewise.
47054 * elf/tst-auditmod5b.c: Likewise.
47055 * elf/tst-auditmod6b.c: Likewise.
47056 * elf/tst-auditmod6c.c: Likewise.
47057 * elf/tst-auditmod7b.c: Likewise.
47058
47059 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47060 and x32_gnu_pltexit.
47061
47062 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47063 __ELF_NATIVE_CLASS.
47064 (La_x32_regs): New macro.
47065 (La_x32_retval): Likewise.
47066 (la_x32_gnu_pltenter): New function prototype.
47067 (la_x32_gnu_pltexit): Likewise.
47068
7998fa78
AS
470692012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47070
dcb33988
AS
47071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47072 exponent.
47073
233fc563
AS
47074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47075
7998fa78
AS
47076 * configure.in (libc_cv_cc_nofma): Check for option to disable
47077 generation of FMA instructions.
47078 * configure: Regenerate.
47079 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47080 * sysdeps/ieee754/dbl-64/Makefile: New file.
47081 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47082 Remove brandred-fma4.
47083 (CFLAGS-brandred-fma4.c): Remove.
47084 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47086 define.
47087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47088 define.
47089
8e95c99a
L
470902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47091
47092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47093 LLONG_MAX != LONG_MAX.
47094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47095 (_fitoa_word): Likewise.
47096 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47097 LLONG_MAX != LONG_MAX.
47098 * stdio-common/_itowa.h: Include <_itoa.h>.
47099 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47100 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47101 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47102 only if not defined.
47103 (_ITOA_WORD_TYPE): Likewise.
47104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47105 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47106
6f4db457
DM
471072012-03-21 David S. Miller <davem@davemloft.net>
47108
47109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47110
7785fe5a
L
471112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47112
47113 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47114 of x86_64 when setting libc_cv_slibdir, libdir and
47115 libc_cv_localedir.
47116 * sysdeps/unix/sysv/linux/configure: Regenerated.
47117
4535cd55
JM
471182012-03-21 Joseph Myers <joseph@codesourcery.com>
47119
47120 * manual/lang.texi (Old Varargs): Remove section.
47121 (How Variadic): Update menu.
47122 (va_start): Do not mention varargs.h.
47123
17228132
TS
471242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47125 Joseph Myers <joseph@codesourcery.com>
47126
47127 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47128 link test.
47129 * configure: Regenerated.
47130
8149f976
TS
471312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47132
05f3d1f6
UD
47133 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47134 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47135 conformtest.pl
8149f976 47136
1a4ac776
JM
471372012-03-21 Joseph Myers <joseph@codesourcery.com>
47138
be22ce65
JM
47139 * NOTES: Remove.
47140 * Makefile (files-for-dist): Remove NOTES.
47141 (NOTES): Remove rule.
47142 * README: Don't refer to NOTES.
47143 * manual/creature.texi: Don't include macros.texi.
47144 * manual/intro.texi (creature.texi): Remove comment referring to
47145 NOTES.
47146
40b601fb
JM
47147 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47148 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47149 * configure: Regenerated.
47150 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47151 LIBC_TRY_CC_OPTION.
47152 (libc_cv_as_i686): Likewise.
47153 (libc_cv_cc_avx): Likewise.
47154 (libc_cv_cc_sse2avx): Likewise.
47155 (libc_cv_cc_fma4): Likewise.
47156 (libc_cv_cc_novzeroupper): Likewise.
47157 * sysdeps/i386/configure: Regenerated.
47158
1a4ac776
JM
47159 [BZ #13883]
47160 * sysdeps/i386/fpu/s_cexp.S: Remove.
47161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47163 * math/libm-test.inc (cexp_test): Add more tests.
47164 * sysdeps/i386/fpu/libm-test-ulps: Update.
47165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47166
a458e7fe
AM
471672012-03-21 Allan McRae <allan@archlinux.org>
47168
47169 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47170
0cb7efc5
JM
471712012-03-21 Joseph Myers <joseph@codesourcery.com>
47172
47173 [BZ #13871]
47174 * math/w_exp2.c: Do not include <float.h>.
47175 (o_threshold, u_threshold): Remove.
47176 (__exp2): Calculate result before checking finiteness and calling
47177 __kernel_standard.
47178 * math/w_exp2f.c: Likewise.
47179 * math/w_exp2l.c: Likewise.
47180 * math/libm-test.inc (exp2_test): Require overflow exception for
47181 1e6 input.
2460d3aa
JM
47182
47183 [BZ #3866]
47184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47185 range of signed 64-bit integers before using fistpll. Remove
47186 checks for whether integers fit in mantissa bits.
47187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47188 the range of signed 32-bit integers before using fistpl. Remove
47189 checks for whether integers fit in mantissa bits.
47190 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47191 (__ieee754_powl): Test for y outside the range of signed 64-bit
47192 integers before using fistpll. Reduce 64-bit values to 63-bit
47193 ones as needed.
47194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47195 divide-by-zero is raised for zero to large negative powers.
47196 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47197 (__ieee754_powl): Test for y outside the range of signed 64-bit
47198 integers before using fistpll. Reduce 64-bit values to 63-bit
47199 ones as needed.
47200 * math/libm-test.inc (pow_test): Add more tests.
47201
eb96ffb0
L
472022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47203
47204 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47205 <stdio-common/_itoa.h>.
47206 * debug/segfault.c: Likewise.
47207 * elf/dl-cache.c: Likewise.
47208 * elf/dl-minimal.c: Likewise.
47209 * elf/dl-misc.c: Likewise.
47210 * elf/dl-sysdep.c: Likewise.
47211 * elf/dl-version.c: Likewise.
47212 * elf/rtld.c: Likewise.
47213 * hurd/hurdsock.c: Likewise.
47214 * hurd/lookup-retry.c: Likewise.
47215 * malloc/malloc.c: Likewise.
47216 * malloc/mtrace.c: Likewise.
47217 * nscd/nscd_getgr_r.c: Likewise.
47218 * nscd/nscd_getpw_r.c: Likewise.
47219 * nscd/nscd_getserv_r.c: Likewise.
47220 * posix/getopt_init.c: Likewise.
47221 * posix/wordexp.c: Likewise.
47222 * stdio-common/_itoa.c: Likewise.
47223 * stdio-common/printf_fphex.c: Likewise.
47224 * stdio-common/vfprintf.c: Likewise.
47225 * string/_strerror.c: Likewise.
47226 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47227 * sysdeps/i386/i686/hp-timing.h: Likewise.
47228 * sysdeps/mach/_strerror.c: Likewise.
47229 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47230 * sysdeps/mach/hurd/sethostid.c: Likewise.
47231 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47232 * sysdeps/mach/xpg-strerror.c: Likewise.
47233 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47235 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47236 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47237 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47238 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47239 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47240 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47241 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47242 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47243 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47244 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47245 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47246 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47247 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47249 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47250 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47251 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47252 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47253 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47254
47255 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47256
47257 * stdio-common/_itoa.h: Moved to ...
47258 * sysdeps/generic/_itoa.h: Here.
47259
47260 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47261
47262 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47263 instead of "_itoa.h" and "_itowa.h".
47264 * stdio-common/vfprintf.: Likewise.
47265
d1af992d
L
472662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47267
47268 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47269 <bits/wordsize.h>.
47270 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47271 (__signbit): Likwise.
47272 (llrintf): Likwise.
47273 (llrint): Likwise.
47274
114883e0
L
472752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47276
47277 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47278 __WORDSIZE != 64.
47279
c135cc1b
JM
472802012-03-20 Joseph Myers <joseph@codesourcery.com>
47281
47282 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47283 OVERFLOW_EXCEPTION_OK.
47284 * math/libm-test.inc ("Philosophy"): Update comment about
47285 exception testing.
47286 (OVERFLOW_EXCEPTION): Define.
47287 (OVERFLOW_EXCEPTION_OK): Likewise.
47288 (INVALID_EXCEPTION_OK): Renumber.
47289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47290 (IGNORE_ZERO_INF_SIGN): Likewise.
47291 (test_exceptions): Handle FE_OVERFLOW.
47292 (exp10_test): Expect overflow exceptions.
47293 (exp2_test): Likewise.
47294 (expm1_test): Likewise.
47295 (nextafter_test): Likewise.
47296 (pow_test): Likewise.
47297 (scalbn_test): Likewise.
47298 (scalbln_test): Likewise.
47299
95443d88
L
473002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47301
47302 * sysdeps/x86_64/bits/atomic.h
47303 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47304 64bit integer.
47305 (atomic_exchange_acq): Likewise.
47306 (__arch_exchange_and_add_body): Likewise.
47307 (__arch_add_body): Likewise.
47308 (atomic_add_negative): Likewise.
47309 (atomic_add_zero): Likewise.
47310
490df6c4
L
473112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47312
c2722551 47313 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47314 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47315
5e52b189
L
473162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47317
47318 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47319 Check __x86_64__ instead of __WORDSIZE.
47320
a9879d4c
L
473212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47322
47323 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47324
5df98260
DM
473252012-03-19 David S. Miller <davem@davemloft.net>
47326
e1497744
DM
47327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47328
5df98260
DM
47329 * sysdeps/sparc/fpu/fenv_private.h: New file.
47330 * sysdeps/sparc/fpu/math_private.h: Use it.
47331 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47332 Remove.
57f41c40 47333 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47334 (libc_feholdexcept_setroundl): Remove.
47335 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47336 Remove.
47337 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47338 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47339
b4c35121
L
473402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47341
47342 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47343 int64_t instead of long int.
47344 (INSERT_WORDS64): Likwise.
47345
56965fd7
L
473462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47347
47348 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47349 _Unwind_GetCFA return to _Unwind_Ptr first.
47350
83d1aec8
JM
473512012-03-19 Joseph Myers <joseph@codesourcery.com>
47352
1897ad44
JM
47353 [BZ #13629]
47354 * math/s_clog.c: Include <float.h>.
47355 (__clog): Scale large or subnormal inputs.
47356 * math/s_clogf.c: Likewise.
47357 * math/s_clogl.c: Likewise.
47358 * math/s_clog10.c: Include <float.h>.
47359 (M_LOG10_2): Define.
47360 (__clog10): Scale large or subnormal inputs.
47361 * math/s_clog10f.c: Likewise.
47362 * math/s_clog10l.c: Likewise.
47363 * math/libm-test.inc (clog_test): Add more tests.
47364 (clog10_test): Likewise.
47365 * sysdeps/i386/fpu/libm-test-ulps: Update.
47366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47367
7726d6a9
JM
47368 [BZ #11451]
47369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47370 x and y.
47371 * math/libm-test.inc (atan2_test): Add another test.
47372
83d1aec8
JM
47373 * Makerules (common-objdir-compile): Remove.
47374 * sysdeps/unix/Makefile (config-generated): Do not add
47375 $(unix-generated) to variable.
47376 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47377 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47378 Remove rule.
47379 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47380 Likewise.
47381 [generic bits/local_lim.h] (before-compile): Do not append to
47382 variable.
47383 [generic bits/local_lim.h] (common-generated): Likewise.
47384 [generic sys/param.h] (before-compile): Do not append to variable.
47385 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47386 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47387 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47388 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47389 include.
47390 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47391 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47392 [generic sys/param.h] ($(addprefix
47393 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47394 [generic sys/param.h] (common-generated): Do not append to
47395 variable.
47396 [generic sys/param.h] (sysdep_headers): Likewise.
47397 [generic bits/errno.h] (before-compile): Do not append to
47398 variable.
47399 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47400 rule.
47401 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47402 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47403 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47404 [generic bits/errno.h] (common-generated): Do not append to
47405 variable.
47406 [generic bits/ioctls.h] (before-compile): Do not append to
47407 variable.
47408 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47409 rule.
47410 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47411 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47412 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47413 rule.
47414 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47415 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47416 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47417 [generic bits/ioctls.h] (common-generated): Do not append to
47418 variable.
47419 [generic sys/syscall.h] (syscall.h): Remove variable.
47420 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47421 rule.
47422 [generic sys/syscall.h] (before-compile): Do not append to
47423 variable.
47424 [generic sys/syscall.h] (common-generated): Likewise.
47425 * sysdeps/unix/errnos-tmpl.c: Remove file.
47426 * sysdeps/unix/errnos.awk: Likewise.
47427 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47428 * sysdeps/unix/ioctls.awk: Likewise.
47429 * sysdeps/unix/mk-local_lim.c: Likewise.
47430 * sysdeps/unix/snarf-ioctls: Likewise.
47431
4851a949
RH
474322012-03-19 Richard Henderson <rth@twiddle.net>
47433
bd37f2ee
RH
47434 * sysdeps/i386/fpu/fenv_private.h: New file.
47435 * sysdeps/i386/fpu/math_private.h: Use it.
47436 (math_opt_barrier, math_force_eval): Remove.
47437 (libc_feholdexcept_setround_53bit): Remove.
47438 (libc_feupdateenv_53bit): Remove.
47439 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47440 (math_opt_barrier, math_force_eval): Remove.
47441 (libc_feholdexcept): Remove.
47442 (libc_feholdexcept_setround): Remove.
47443 (libc_fetestexcept, libc_fesetenv): Remove.
47444 (libc_feupdateenv_test): Remove.
47445 (libc_feupdateenv, libc_feholdsetround): Remove.
47446 (libc_feresetround): Remove.
47447
d0adc922
RH
47448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47449 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47450
0fe0f1f8
RH
47451 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47452 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47453 (libc_feupdateenv_testl): New.
47454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47455 (libc_feupdateenv_testf): New.
47456 (libc_feupdateenv): Use libc_feupdateenv_test.
47457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47459
eb92c487
RH
47460 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47461 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47462 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47463 (libc_feresetround_noex): New.
47464 (libc_feresetround_noexf): New.
47465 (libc_feresetround_noexl): New.
47466 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47467 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47468 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47470 SET_RESTORE_ROUND.
47471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47473 (__cos): Likewise.
47474 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47475 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47476 SET_RESTORE_ROUND_NOEX.
47477 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47478 SET_RESTORE_ROUND_NOEXF.
47479 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47480 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47481 (libc_feholdsetroundf): New.
47482 (libc_feresetround, libc_feresetroundf): New.
47483
7d2e8012
RH
47484 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47485 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47486 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47487
b4dabbb4
RH
47488 * sysdeps/generic/math_private.h: Include <fenv.h>.
47489 (default_libc_feholdexcept): New.
47490 (default_libc_feholdexcept_setround): New.
47491 (default_libc_fesetenv, default_libc_feupdateenv): New.
47492 (libc_feholdexcept): Only define if undefined.
47493 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47494 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47495 (libc_feholdexcept_setroundl): Likewise.
47496 (libc_feholdexcept_setround_53bit): Likewise.
47497 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47498 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47499 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47500 (libc_feupdateenv_53bit): Likewise.
47501 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47502 (libc_feholdexcept): Convert from macro to inline function.
47503 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47504 (libc_fesetenv, libc_feupdateenv): Likewise.
47505
4851a949
RH
47506 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47507 not previously defined.
47508 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47509 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47510 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47511 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47512 * sysdeps/ieee754/flt-32/math_private.h: New file.
47513 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47514 math_private.h below SET_FLOAT_WORD.
47515 (__isnan, __isinf_ns, __finite): Remove.
47516 (__isnanf, __isinf_nsf, __finitef): Remove.
47517
e79d442e
AS
475182012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47519
47520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47521
90b80344
DM
475222012-03-17 David S. Miller <davem@davemloft.net>
47523
47524 [BZ #6471]
47525 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47526 for 2.16.
47527
edc21804
DM
475282012-03-16 David S. Miller <davem@davemloft.net>
47529
77e927af
DM
47530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47531 warnings.
47532
374976dd
DM
47533 [BZ #6471]
47534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47535 properly.
47536 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47537 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47538 sysdep_routines when subdir is sysvipc.
47539 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47540 __getshmlba helper.
47541
edc21804
DM
47542 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47543
473c3ef3
L
475442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47545
47546 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47547 [__LP64__].
47548
eb0f39b6
L
475492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47550
47551 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47552 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47553 (__lround): Renamed to ...
47554 (__llround): This. Replace long int with long long int.
47555 Define lround functions as aliases of llround functions.
47556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47557
6b6cd74b
L
475582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47559
47560 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47561 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47562 adresses to uintptr_t. Replace "long int" and "unsigned long
47563 int" with "greg_t" on va_arg.
47564
f1a77b01
L
475652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47566
47567 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47568 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47569
47570 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47571 Move e_machine check before EI_CLASS check. Handle x32
47572 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47573 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47574 SKIP_EM_IA_64 and include
47575 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47576
47577 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47578 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47579 (add_system_dir): New macro.
47580
47581 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47582 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47583
11b90b9f
JM
475842012-03-16 Joseph Myers <joseph@codesourcery.com>
47585
c36e1d23
JM
47586 [BZ #2551]
47587 [BZ #2552]
47588 [BZ #2553]
47589 [BZ #2554]
47590 [BZ #2562]
47591 [BZ #2563]
47592 [BZ #2565]
47593 [BZ #2566]
47594 [BZ #2576]
47595 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47596 (y0): Likewise.
47597 * math/w_j0f.c (j0f): Likewise.
47598 (y0f): Likewise.
47599 * math/w_j0l.c (__j0l): Likewise.
47600 (__y0l): Likewise.
47601 * math/w_j1.c (j1): Likewise.
47602 (y1): Likewise.
47603 * math/w_j1f.c (j1f): Likewise.
47604 (y1f): Likewise.
47605 * math/w_j1l.c (__j1l): Likewise.
47606 (__y1l): Likewise.
47607 * math/w_jn.c (jn): Likewise.
47608 (yn): Likewise.
47609 * math/w_jnf.c (jnf): Likewise.
47610 (ynf): Likewise.
47611 * math/w_jnl.c (__jnl): Likewise.
47612 (__ynl): Likewise.
47613 * math/libm-test.inc (j0_test): Add more tests.
47614 (j1_test): Likewise.
47615 (jn_test): Likewise. Add trailing semicolon to existing test.
47616 (y0_test): Likewise.
47617 (y1_test): Likewise.
47618 * sysdeps/i386/fpu/libm-test-ulps: Update.
47619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47620
11b90b9f
JM
47621 [BZ #13851]
47622 [BZ #13854]
47623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47624 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47625 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47627 (__tanl): Set errno for infinite argument.
47628 * sysdeps/i386/fpu/mptan.c: Remove.
47629 * sysdeps/i386/fpu/s_tan.S: Likewise.
47630 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47631 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47632 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47633 * math/libm-test.inc (tan_test): Add more tests and enable more
47634 tests for double and long double.
47635 * sysdeps/i386/fpu/libm-test-ulps: Update.
47636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47637
6a1bd2a1
JK
476382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47639
47640 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47641 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47642
10a803e0
RM
476432012-03-16 Roland McGrath <roland@hack.frob.com>
47644
47645 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47646 * configure.in: Use it for both main tree and add-ons.
47647 * configure: Regenerated.
47648
f196c7f7
L
476492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47650
47651 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47652
8848d99d
JM
476532012-03-16 Joseph Myers <joseph@codesourcery.com>
47654
96cbe7f4
JM
47655 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47656 in comment.
47657
8848d99d
JM
47658 [BZ #13851]
47659 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47660 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47664 infinite argument.
47665 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47667 != 0 for prec == 2.
47668 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47669 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47670 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47671 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47672 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47673 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47674 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47675 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47676 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47677 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47678 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47679 * math/libm-test.inc (cos_test): Add more tests and enable more
47680 tests for long double.
47681 (sin_test): Likewise.
47682 (sincos_test): Likewise.
47683 * sysdeps/i386/fpu/libm-test-ulps: Update.
47684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47685
dd7f4703
DM
476862012-03-16 David S. Miller <davem@davemloft.net>
47687
47688 * sysdeps/sparc/fpu/math_private.h: New file.
47689
006f1daa
DM
476902012-03-15 David S. Miller <davem@davemloft.net>
47691
c0c83bc8
DM
47692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47693 file.
e6a62e18 47694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47696 file.
e6a62e18
DM
47697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47703 sysdep routines.
47704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47705
88cb87d9
DM
47706 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47707 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47708
006f1daa 47709 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47711 sparc-ifunc.h
006f1daa 47712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47714 Likewise.
47715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47716 Likewise.
006f1daa
DM
47717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47721 Likewise.
006f1daa
DM
47722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47727 Likewise.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47729 Likewise.
006f1daa
DM
47730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47754
11e0098e
AS
477552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47756
47757 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47758 scaling.
47759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47760
e85b09d0
AJ
477612012-03-15 Andreas Jaeger <aj@suse.de>
47762
47763 [BZ #13852]
47764 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47765 ieee754/flt-32 implementation for sin, cos and sincos.
47766 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47767 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47768 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47769 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47770 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47771 ieee754/flt-32 implementation for tan.
47772
47773 * math/libm-test.inc (cos_test): Enable some large input tests for
47774 float as well
47775 (sin_test): Likewise.
47776 (sincos_test): Likewise.
47777 (tan_test): Add tests for large input.
47778
47779 * sysdeps/i386/fpu/libm-test-ulps: Update.
47780
81c64153
AJ
477812012-03-15 Andreas Jaeger <aj@suse.de>
47782
47783 [BZ #13658]
47784 * math/libm-test.inc (cos_test): Add more test cases.
47785 (sin_test): Likewise.
47786 (sincos_test): Likewise.
47787
7bbfa5c6
AJ
477882012-03-15 Andreas Jaeger <aj@suse.de>
47789
47790 [BZ #13837]
47791 * math/libm-test.inc (cos_test): Add a test case for large input
47792 value.
47793 (sin_test): Likewise.
47794 (sincos_test): Likewise.
47795
57f41c40
AS
477962012-03-15 Andreas Jaeger <aj@suse.de>
47797 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47798
47799 [BZ #13658]
0671f479 47800 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47801 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47802 * sysdeps/i386/fpu/branred.c: Likewise.
47803 * sysdeps/i386/fpu/dosincos.c: Likewise.
47804 * sysdeps/i386/fpu/mpa.c: Likewise.
47805 * sysdeps/i386/fpu/s_cos.S: Likewise.
47806 * sysdeps/i386/fpu/s_sin.S: Likewise.
47807 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47808 * sysdeps/i386/fpu/sincos32.c: Likewise.
47809
47810 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47811 Define.
47812 (libc_feupdateenv_53bit): Define.
47813 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47814 Define.
47815 (libc_feupdateenv_53bit): Define.
47816
47817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47818 53 bit (without extend i386 double precision).
47819
47820 * math/libm-test.inc (sincos_test): Add tests for large input.
47821 (sin): Likewise.
47822 (cos): Likewise.
47823
47824 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47825
9cad04ea
AS
478262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47827
47828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47829
f7062b9a
DM
478302012-03-15 David S. Miller <davem@davemloft.net>
47831
47832 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47833 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47834 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47835 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47848 file.
f7062b9a 47849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47851 file.
f7062b9a 47852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47854 file.
f7062b9a 47855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47857 file.
f7062b9a
DM
47858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47860 fmin/fmax sysdep routines.
47861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47862
7bd951ff
DM
478632012-03-14 David S. Miller <davem@davemloft.net>
47864
559398ab
DM
47865 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47890 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47891 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47894 routines.
47895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47896 file.
559398ab 47897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47899 file.
559398ab 47900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47902 file.
559398ab 47903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47905 file.
559398ab 47906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47908 file.
559398ab 47909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47911 file.
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47913 file.
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47915 file.
47916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47917 file.
47918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47919 New file.
47920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47921 file.
47922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47923 file.
559398ab 47924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47926 file.
559398ab 47927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47929 file.
559398ab 47930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47932 file.
559398ab 47933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47935 VIS3 routines.
559398ab
DM
47936
47937 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47938 New file.
47939
5a1c1e32
DM
47940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47941
eae47a36
DM
47942 * sysdeps/sparc/configure.in: New file.
47943 * sysdeps/sparc/configure: Generate.
47944 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47945 * configure: Regenerate.
47946 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47947 * config.make.in (have-as-vis3): New.
47948 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47949 available use -Av9d instead of -Av9a.
47950 * sysdeps/sparc/sparc64/Makefile: Likewise.
47951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47953 New file.
47954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47955 file.
47956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47957 New file.
47958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47959 file.
eae47a36
DM
47960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47965
c0c83bc8
DM
47966 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47967 fzeros/fnegs to load 0x80000000 into a float register instead of
47968 using the stack.
7bd951ff
DM
47969 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47970
bd951ccb
JM
479712012-03-14 Joseph Myers <joseph@codesourcery.com>
47972
47973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47974 bits/syscall.h.
47975 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47976 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47977 ($(inst_includedir)/bits/syscall.h): Remove rule.
47978 ($(objpfx)bits/syscall.d): Include instead of
47979 $(objpfx)syscall-list.d.
47980 (generated): Change syscall-list.h and syscall-list.d to
47981 bits/syscall.h and bits/syscall.d.
47982
bb4e6db2
RM
479832012-03-14 Roland McGrath <roland@hack.frob.com>
47984
47985 [BZ #13846]
47986 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47987
aa4a2ae1
JM
479882012-03-14 Joseph Myers <joseph@codesourcery.com>
47989
e456826d
JM
47990 [BZ #13841]
47991 * math/s_csqrt.c: Include <float.h>.
47992 (__csqrt): Scale large or subnormal inputs.
47993 * math/s_csqrtf.c: Likewise.
47994 * math/s_csqrtl.c: Likewise.
47995 * math/libm-test.inc (csqrt_test): Add more tests.
47996 * sysdeps/i386/fpu/libm-test-ulps: Update.
47997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47998
aa4a2ae1
JM
47999 [BZ #13840]
48000 * math/libm-test.inc (hypot_test): Add more tests.
48001
7c10fd35
DM
480022012-03-13 David S. Miller <davem@davemloft.net>
48003
48004 [BZ #13840]
48005 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48006 double-precision for the calculation instead of scaling.
48007
f453b98b
JM
480082012-03-13 Joseph Myers <joseph@codesourcery.com>
48009
48010 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48011 manipulate bits before adding and subtracting TWO52[sx].
48012 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48013 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48014 Likewise.
48015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48016
09a3453f
DM
480172012-03-13 David S. Miller <davem@davemloft.net>
48018
8e59da90
DM
48019 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48020 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48022 rtld-global-offsets.h
48023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48024
2a8ab7f2
DM
48025 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48026 large parameters.
48027
10f62770
DM
48028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48029
5f0bdb18
DM
48030 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48031 'err' in the ifdef scope in which it is actually used.
48032
09a3453f
DM
48033 * nss/nss_db/db-init.c: Include string.h
48034
b4b2eb5e
DM
480352012-03-12 David S. Miller <davem@davemloft.net>
48036
98bb2f1c
DM
48037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48038 masking out of the most significant byte of random value used.
48039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48040 Fix coding style in previous change.
48041
b4b2eb5e
DM
48042 * sysdeps/unix/sysv/linux/kernel-features.h
48043 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48044 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48045 expression.
48046 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48047 later.
48048
6e226b09
DM
480492012-03-11 David S. Miller <davem@davemloft.net>
48050
a1bcbd40
DM
48051 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48052 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48054 for 'resultvar' otherwise things get truncated on 64-bit.
48055
cb9d6174
DM
48056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48057 Fix masking out of the most significant byte of random value used.
48058
6e226b09
DM
48059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48060
058c132d
AS
480612012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48062
48063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48064
2d2cd515
DM
480652012-03-09 David S. Miller <davem@davemloft.net>
48066
48067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48068 variables with appropriate CPP guards.
57f41c40
AS
48069 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48070 from the frame pointer, not the stack pointer. Correct layout
48071 comments. Fix test on resulting framesize and the management of
48072 the outregs buffer for pltexit. Preserve floating point return
48073 values across _dl_call_pltexit call.
2d2cd515
DM
48074 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48075 framesize and the management of the outregs buffer for pltexit.
48076 Preserve floating point return values across _dl_call_pltexit
48077 call.
57f41c40
AS
48078 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48079 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48080 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48081 (print_exit): Fix format string for return register value.
48082
9a07f9d0
JM
480832012-03-10 Joseph Myers <joseph@codesourcery.com>
48084
48085 * sunrpc/Makefile (others): Add rpcgen.
48086 ($(objpfx)rpcgen): Remove special build rule and dependency on
48087 libc.
48088 * sunrpc/rpcgen.c: New file.
48089
547b5e30
PE
480902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48091
c524201a
PE
48092 [BZ #13673]
48093 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48094 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48095 * sysdeps/i386/crti.S: Likewise.
48096 * sysdeps/i386/crtn.S: Likewise.
48097 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48098 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48099 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48100 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48101 * sysdeps/sh/crti.S: Likewise.
48102 * sysdeps/sh/crtn.S: Likewise.
48103 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48104
7b6235f2
PE
48105 [BZ #13673]
48106 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48107 with URL.
48108 * locale/programs/locfile-kw.gperf: Likewise.
48109 * locale/programs/charmap-kw.h: Regenerated.
48110 * locale/programs/locfile-kw.h: Likewise.
48111
547b5e30
PE
48112 [BZ #13673]
48113 * intl/plural.y: Replace FSF snail mail address with URL.
48114 * intl/plural.c: Regenerated.
48115
5f0a5dae
RH
481162012-03-09 Richard Henderson <rth@twiddle.net>
48117
48118 * include/math_private.h: Remove file.
48119 * math/math_private.h: Move file ...
48120 * sysdeps/generic/math_private.h: ... here.
48121
b8c03620
RH
48122 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48123 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48124 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48125
4e234f5d 48126 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48127 and <math_private.h>.
48128 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48129 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48130 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48131 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48132 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48133 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48152 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48153 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48154 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48182 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48187 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48193 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48194 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48195 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48196 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48206 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48215 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48216 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48217 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48218 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48219 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48221 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48222 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48223 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48225 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48226 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48227 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48228 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48229 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48230 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48231 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48233 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48234 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48235 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48236 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48237 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48238 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48239 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48240 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48242 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48244 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48245 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48246 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48247 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48249 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48250 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48251 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48255 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48256 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48257 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48258 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48259 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48260 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48261 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48262 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48263 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48265 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48266 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48267 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48270 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48271 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48272 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48276 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48277 * sysdeps/ieee754/k_standard.c: Likewise.
48278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48290 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48291 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48292 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48340 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48355 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48368 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48369 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48370 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48371 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48377 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48382 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48383 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48384 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48385 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48386 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48387 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48388 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48389 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48392 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48395 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48397 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48398 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48400 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48401 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48402 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48403 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48404 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48405 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48406 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48410 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48411 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48413 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48414 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48415 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48416 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48423 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48427 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48428 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48429 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48432 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48433 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48437 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48438 * sysdeps/ieee754/s_lib_version.c: Likewise.
48439 * sysdeps/ieee754/s_matherr.c: Likewise.
48440 * sysdeps/ieee754/s_signgam.c: Likewise.
48441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48443 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48444 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48445 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48447 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48448 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48449 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48450 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48452 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48453 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48454 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48455 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48456 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48457 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48458 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48459 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48462
1991fa03
JM
484632012-03-09 Joseph Myers <joseph@codesourcery.com>
48464
48465 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48466 * sunrpc/rpc_main.c: Likewise.
48467 * sunrpc/rpc_svcout.c: Likewise.
48468
60d6f5a6
DM
484692012-03-09 David S. Miller <davem@davemloft.net>
48470
48471 * include/math_private.h: New file.
48472
4962050e
JM
484732012-03-09 Joseph Myers <joseph@codesourcery.com>
48474
02a6f887
JM
48475 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48476 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48477 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48478 from <bits/socket_type.h>.
48479 (enum __socket_type): Don't define here.
48480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48482 bits/socket_type.h.
48483
c6e013c1
JM
48484 [BZ #13566]
48485 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48486 checking __USE_GNU.
48487
4962050e
JM
48488 * Makerules ($(inst_includedir)/%.h): New rule.
48489 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48490 (install-others): Remove variable setting.
48491 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48492
38842f45
RH
484932012-03-08 Richard Henderson <rth@twiddle.net>
48494
67bb6da6
RH
48495 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48496 from macro to inline function; merge with the
48497 !__LIBC_INTERNAL_MATH_INLINES version.
48498 (__ieee754_sqrtf): Likewise.
48499
15194b4b
RH
48500 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48501 to inline function.
48502 (__rintf, __floor, __floorf): Likewise.
48503
64e21ede
RH
48504 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48505 macro to inline function.
48506 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48507
38842f45
RH
48508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48509 not <math/math_private.h>.
48510
c64bf5fe
DM
485112012-03-08 David S. Miller <davem@davemloft.net>
48512
48513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48514 copyright year.
48515 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48516
82d86f28
TS
485172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48518
48519 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48520 normalization.
48521 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48522 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48523
aea5d727
UD
485242012-03-08 Ulrich Drepper <drepper@gmail.com>
48525
48526 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48527 be defined individually, they must be defined as a block. Define
48528 S for printing a string instead of hidint the different by using a
48529 macro for adding the 'l'.
48530 * stdio-common/tst-fphex-wide.c: Adjust.
48531
70bca0a3
MP
485322012-03-07 Marek Polacek <polacek@redhat.com>
48533
48534 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48535
65b81130
MP
485362012-03-08 Marek Polacek <polacek@redhat.com>
48537
48538 [BZ #13806]
48539 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48540 * stdio-common/tst-fphex.c: Define a few macros to make the
48541 test reusable. Use them.
48542 * stdio-common/tst-fphex-wide.c: New file.
48543
07037eeb
JM
485442012-03-08 Joseph Myers <joseph@codesourcery.com>
48545
a7a93d50
JM
48546 [BZ #6911]
48547 * manual/macros.texi (gnusystems): New macro.
48548 (nongnusystems): Likewise.
48549 (gnulinuxhurdsystems): Likewise.
48550 (gnuhurdsystems): Likewise..
48551 (gnulinuxsystems): Likewise.
48552 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48553 variants of the GNU system, not "GNU system".
48554 * manual/conf.texi: Likewise.
48555 * manual/errno.texi: Likewise. Update example of errno macro
48556 expansion.
48557 * manual/filesys.texi: Likewise.
48558 (getumask): Document as specific to GNU/Hurd.
48559 * manual/install.texi: Likewise. Reword some references to
48560 GNU/Linux.
48561 * manual/intro.texi: Likewise.
48562 * manual/io.texi: Likewise.
48563 (File Name Portability): Detail which constraints are inapplicable
48564 to all GNU systems and which are only inapplicable to GNU/Hurd.
48565 * manual/job.texi: Likewise.
48566 * manual/llio.texi: Likewise.
48567 (O_NOCTTY): Document as present on GNU/Linux.
48568 * manual/maint.texi: Likewise.
48569 * manual/memory.texi: Likewise.
48570 * manual/pattern.texi: Likewise.
48571 * manual/pipe.texi: Likewise.
48572 * manual/process.texi: Likewise.
48573 * manual/resource.texi: Likewise.
48574 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48575 child on GNU/Hurd.
48576 * manual/setjmp.texi: Likewise.
48577 * manual/signal.texi: Likewise.
48578 * manual/startup.texi: Likewise.
48579 * manual/stdio.texi: Likewise.
48580 * manual/terminal.texi: Likewise.
48581 (ONLCR): Document as POSIX.
48582 (OXTABS): Document availability on GNU/Linux as XTABS.
48583 (ONOEOT): Document availability separately from other bits.
48584 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48585 * manual/time.texi: Likewise.
48586 * manual/users.texi: Likewise.
48587 * INSTALL: Regenerated.
48588 * sysdeps/gnu/errlist.c: Regenerated.
48589
07037eeb
JM
48590 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48591 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48592 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48593 puts.
48594 * configure: Regenerated.
48595
d1d3431a
JM
485962012-03-07 Joseph Myers <joseph@codesourcery.com>
48597
af6a1e37
JM
48598 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48599 default includes instead of AC_HEADER_CHECK.
48600 * sysdeps/i386/configure: Regenerated.
48601
d1d3431a
JM
48602 [BZ #10716]
48603 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48604 * math/s_cacoshf.c (__cacoshf): Likewise.
48605 * math/s_cacoshl.c (__cacoshl): Likewise.
48606 * math/s_casinh.c (__casinh): Set signs of result from argument.
48607 * math/s_casinhf.c (__casinhf): Likewise.
48608 * math/s_casinhl.c (__casinhl): Likewise.
48609 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48610 (casinh_test): Add more tests.
48611 * sysdeps/i386/fpu/libm-test-ulps: Update.
48612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48613
482ff4da
UD
486142012-03-07 Ulrich Drepper <drepper@gmail.com>
48615
872fda05
UD
48616 * po/zh_TW.po: Update from translation team.
48617
a4300c7a
UD
48618 * login/Makefile (distribute): Remove variable.
48619 * catgets/Makefile: Likewise.
48620 * mach/Makefile: Likewise.
48621 * malloc/Makefile: Likewise.
48622 * misc/Makefile: Likewise.
48623 * iconv/Makefile: Likewise.
48624 * nscd/Makefile: Likewise.
48625 * hurd/Makefile: Likewise.
48626 * manual/Makefile: Likewise.
48627 * locale/Makefile: Likewise.
48628 * intl/Makefile: Likewise.
48629 * conform/Makefile: Likewise.
48630 * nss/Makefile: Likewise.
48631 * time/Makefile: Likewise.
48632 * soft-fp/Makefile: Likewise.
48633 * dirent/Makefile: Likewise.
48634 * gmon/Makefile: Likewise.
48635 * po/Makefile: Likewise.
48636 * rt/Makefile: Likewise.
48637 * socket/Makefile: Likewise.
48638 * math/Makefile: Likewise.
48639 * signal/Makefile: Likewise.
48640 * debug/Makefile: Likewise.
48641 * elf/Makefile: Likewise.
48642 * timezone/Makefile: Likewise.
48643 * stdlib/Makefile: Likewise.
48644 * iconvdata/Makefile: Likewise.
48645 * sunrpc/Makefile: Likewise.
48646 * io/Makefile: Likewise.
48647 * argp/Makefile: Likewise.
48648 * inet/Makefile: Likewise.
48649 * hesiod/Makefile: Likewise.
48650 * grp/Makefile: Likewise.
48651 * csu/Makefile: Likewise.
48652 * wctype/Makefile: Likewise.
48653 * crypt/Makefile: Likewise.
48654 * libio/Makefile: Likewise.
48655 * string/Makefile: Likewise.
48656 * nis/Makefile: Likewise.
48657 * resolv/Makefile: Likewise.
48658 * stdio-common/Makefile: Likewise.
48659 * wcsmbs/Makefile: Likewise.
48660 * dlfcn/Makefile: Likewise.
48661 * posix/Makefile: Likewise.
48662
3b7c4e74 48663 [BZ #6959]
482ff4da
UD
48664 * timezone/Makefile: Don't install timezone files, just the programs
48665 and scripts.
48666
f72ed77d
UD
486672012-03-06 Ulrich Drepper <drepper@gmail.com>
48668
a000466f
UD
48669 * nss/databases.def: Add missing gshadow entry.
48670
f72ed77d
UD
48671 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48672
a53b7a4e
MP
486732012-03-06 Marek Polacek <polacek@redhat.com>
48674
48675 [BZ #13726]
48676 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48677 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48678 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48679 * stdio-common/tst-long-dbl-fphex.c: New file.
48680
e9258400
DM
486812012-03-06 David S. Miller <davem@davemloft.net>
48682
48683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48684 (set_obp_int): New function.
48685 (get_obp_int): New function.
48686 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48688 Avoid unused variable warnings on 'val' and use builtin_expect.
48689 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48690 __builtin_expect.
e9258400
DM
48691 (INLINE_CLONE_SYSCALL): Likewise.
48692
3bd2c723
DM
486932012-03-05 David S. Miller <davem@davemloft.net>
48694
48695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48696
bbb78d03
AS
486972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48698
884c5db4
AS
48699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48700
bbb78d03
AS
48701 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48702 only for |x| >= 40.
48703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48704
1c9f702a 487052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48706
48707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48708 Replace gettimeofday with __vdso_gettimeofday.
48709
7be16f82
RM
48710 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48711 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48712 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48713
48714 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48715 time with __vdso_time.
48716
ed58a00f
JM
487172012-03-05 Joseph Myers <joseph@codesourcery.com>
48718
48719 * manual/lang.texi (size_t): Note types to which size_t may be
48720 equivalent with the GNU C Library, but do not describe when
48721 differences between them are significant.
48722
30ee4ced
AJ
487232012-03-05 Andreas Jaeger <aj@suse.de>
48724
48725 * sysdeps/i386/fpu/libm-test-ulps: Update.
48726
b7cd39e8
JM
487272012-03-05 Joseph Myers <joseph@codesourcery.com>
48728
48729 [BZ #3976]
48730 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48731 (__ieee754_pow): Save and restore rounding mode and use
48732 round-to-nearest for main computations.
48733 * math/libm-test.inc (pow_test_tonearest): New function.
48734 (pow_test_towardzero): Likewise.
48735 (pow_test_downward): Likewise.
48736 (pow_test_upward): Likewise.
48737 (main): Call the new functions.
48738 * sysdeps/i386/fpu/libm-test-ulps: Update.
48739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48740
48741 [BZ #3976]
48742 * math/libm-test.inc (cosh_test_tonearest): New function.
48743 (cosh_test_towardzero): Likewise.
48744 (cosh_test_downward): Likewise.
48745 (cosh_test_upward): Likewise.
48746 (sinh_test_tonearest): Likewise.
48747 (sinh_test_towardzero): Likewise.
48748 (sinh_test_downward): Likewise.
48749 (sinh_test_upward): Likewise.
48750 (main): Call the new functions.
48751 * sysdeps/i386/fpu/libm-test-ulps: Update.
48752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48753
6c6a98c9
TV
487542012-03-05 Tom de Vries <tom@codesourcery.com>
48755
48756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48757 default stack guard is set in last bytes.
48758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48759
21bb2d2e 487602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48761
21bb2d2e 48762 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48763
21bb2d2e
AJ
48764 [BZ #13656]
48765 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48766 possibly allocate from heap instead of stack.
48767 * stdio-common/bug-vfprintf-nargs.c: New file.
48768 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48769
c6922934
AS
487702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48771
48772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48773
bc957d53
MP
487742012-03-03 Marek Polacek <polacek@redhat.com>
48775
48776 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48777 * math/math_private.h: Likewise.
48778 * stdlib/tst-strtod.c: Likewise.
48779 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48780 * sysdeps/x86_64/bits/atomic.h: Likewise.
48781
6358490d
DM
487822012-03-02 David S. Miller <davem@davemloft.net>
48783
48784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48788 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48789 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48790 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48791 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48792
01ae168d
RM
487932012-03-02 Roland McGrath <roland@hack.frob.com>
48794
d9a17c07
RM
48795 [BZ #13792]
48796 * manual/examples/README: New file, says the example source files
48797 can be used under GPL>=2.
48798 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48799 line containing just "*/".
48800 * manual/examples/add.c: Add copyright header (GPL>=2).
48801 * manual/examples/argp-ex1.c: Likewise.
48802 * manual/examples/argp-ex2.c: Likewise.
48803 * manual/examples/argp-ex3.c: Likewise.
48804 * manual/examples/argp-ex4.c: Likewise.
48805 * manual/examples/atexit.c: Likewise.
48806 * manual/examples/db.c: Likewise.
48807 * manual/examples/dir.c: Likewise.
48808 * manual/examples/dir2.c: Likewise.
48809 * manual/examples/execinfo.c: Likewise.
48810 * manual/examples/filecli.c: Likewise.
48811 * manual/examples/filesrv.c: Likewise.
48812 * manual/examples/fmtmsgexpl.c: Likewise.
48813 * manual/examples/genpass.c: Likewise.
48814 * manual/examples/inetcli.c: Likewise.
48815 * manual/examples/inetsrv.c: Likewise.
48816 * manual/examples/isockad.c: Likewise.
48817 * manual/examples/longopt.c: Likewise.
48818 * manual/examples/memopen.c: Likewise.
48819 * manual/examples/memstrm.c: Likewise.
48820 * manual/examples/mkfsock.c: Likewise.
48821 * manual/examples/mkisock.c: Likewise.
48822 * manual/examples/mygetpass.c: Likewise.
48823 * manual/examples/pipe.c: Likewise.
48824 * manual/examples/popen.c: Likewise.
48825 * manual/examples/rprintf.c: Likewise.
48826 * manual/examples/search.c: Likewise.
48827 * manual/examples/select.c: Likewise.
48828 * manual/examples/setjmp.c: Likewise.
48829 * manual/examples/sigh1.c: Likewise.
48830 * manual/examples/sigusr.c: Likewise.
48831 * manual/examples/stpcpy.c: Likewise.
48832 * manual/examples/strdupa.c: Likewise.
48833 * manual/examples/strftim.c: Likewise.
48834 * manual/examples/strncat.c: Likewise.
48835 * manual/examples/subopt.c: Likewise.
48836 * manual/examples/swapcontext.c: Likewise.
48837 * manual/examples/termios.c: Likewise.
48838 * manual/examples/testopt.c: Likewise.
48839 * manual/examples/testpass.c: Likewise.
48840 * manual/examples/timeval_subtract.c: Likewise.
48841
01ae168d
RM
48842 [BZ #13792]
48843 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48844 function to ...
48845 * manual/timeval_subtract.c.texi: ... here, new file.
48846
49efa33d
DM
488472012-03-02 David S. Miller <davem@davemloft.net>
48848
48849 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48850
28afd92d
JM
488512012-03-02 Joseph Myers <joseph@codesourcery.com>
48852
804360ed
JM
48853 [BZ #3976]
48854 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48855 (__sin): Save and restore rounding mode and use round-to-nearest
48856 for all computations.
48857 (__cos): Save and restore rounding mode and use round-to-nearest
48858 for all computations.
48859 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48860 <fenv.h>.
48861 (tan): Save and restore rounding mode and use round-to-nearest for
48862 all computations.
48863 * math/libm-test.inc (cos_test_tonearest): New function.
48864 (cos_test_towardzero): Likewise.
48865 (cos_test_downward): Likewise.
48866 (cos_test_upward): Likewise.
48867 (sin_test_tonearest): Likewise.
48868 (sin_test_towardzero): Likewise.
48869 (sin_test_downward): Likewise.
48870 (sin_test_upward): Likewise.
48871 (tan_test_tonearest): Likewise.
48872 (tan_test_towardzero): Likewise.
48873 (tan_test_downward): Likewise.
48874 (tan_test_upward): Likewise.
48875 (main): Call the new functions.
48876 * sysdeps/i386/fpu/libm-test-ulps: Update.
48877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48878
a6d06d7b
JM
48879 [BZ #10135]
48880 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48881 small n, then large n, before computing and testing k+n.
48882 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48884 Likewise.
48885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48886 Likewise.
48887 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48888 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48895 * math/libm-test.inc (scalbn_test): Add more tests.
48896 (scalbln_test): Likewise.
48897
07e12bb3
JM
48898 * manual/filesys.texi (mode_t): Describe constraints on size and
48899 signedness, not exact equivalence to a particular type.
48900 (ino_t): Likewise.
48901 (ino64_t): Likewise.
48902 (dev_t): Likewise.
48903 (nlink_t): Likewise.
48904 (blkcnt_t): Likewise.
48905 (blkcnt64_t): Likewise.
48906 * manual/llio.texi (off_t): Likewise.
48907
28afd92d
JM
48908 [BZ #3976]
48909 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48910 (__ieee754_exp): Save and restore rounding mode and use
48911 round-to-nearest for all computations.
48912 * math/libm-test.inc (exp_test_tonearest): New function.
48913 (exp_test_towardzero): Likewise.
48914 (exp_test_downward): Likewise.
48915 (exp_test_upward): Likewise.
48916 (main): Call the new functions.
48917 * sysdeps/i386/fpu/libm-test-ulps: Update.
48918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48919
b1eeb65d
CD
489202012-03-01 Chris Demetriou <cgd@google.com>
48921
48922 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48923 have predictable order.
48924
53362a4b
DM
489252012-03-01 David S. Miller <davem@davemloft.net>
48926
3c969083
DM
48927 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48928
759707de
DM
48929 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48930 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48931 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48932 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48933
dfdb8ff2
DM
48934 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48935 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48936 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48938 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48939 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48940 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48941 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48942 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48943
ead89f96
DM
48944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48945
7f66bd07
DM
48946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48947 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48949
53362a4b
DM
48950 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48958 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48959 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48960 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48961 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48966 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48967 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48968 * sysdeps/sparc/elf/configure: Regenerated.
48969
7b1902cb
JM
489702012-03-01 Joseph Myers <joseph@codesourcery.com>
48971
bec039bc
JM
48972 * configure.in (AS, LD): Require binutils 2.20 or later.
48973 * configure: Regenerated.
48974 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48975 as required minimum version.
48976 * INSTALL: Regenerated.
48977
7b1902cb
JM
48978 [BZ #2541]
48979 [BZ #4108]
48980 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48981 before squaring exponent.
48982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48983 bottom long double and 27 bits of top long double before squaring
48984 exponent.
48985 * math/libm-test.inc (erfc_test): Add more tests.
48986 * sysdeps/i386/fpu/libm-test-ulps: Update.
48987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48989
f775c276
KT
489902012-03-01 Kai Tietz <ktietz@redhat.com>
48991
48992 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48993 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48994 containing bit-fields.
48995 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48996 * soft-fp/single.h (_FP_UNION_S): Likewise.
48997 * soft-fp/double.h (_FP_UNION_D): Likewise.
48998
5b8a4d4a
JM
489992012-02-29 Joseph Myers <joseph@codesourcery.com>
49000
0bab47b6
JM
49001 [BZ #13786]
49002 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49003 not include ../strcmp.S.
49004 [USE_AS_STRNCASECMP_L]: Likewise.
49005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49006 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49007 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49008 (__strncasecmp_l_ia32): Define as alias to
49009 __strncasecmp_l_nonascii.
49010
0fcad3e2
JM
49011 [BZ #5794]
49012 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49013 * sysdeps/i386/fpu/libm-test-ulps: Update.
49014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49015
5b8a4d4a
JM
49016 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49018
8fdceb2e
JL
490192012-02-29 Jeff Law <law@redhat.com>
49020
49021 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49022 out of bounds read.
49023
1f393a11
MP
490242012-02-29 Marek Polacek <polacek@redhat.com>
49025
49026 [BZ #13706]
49027 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49028 * elf/Makefile: Add rules to run tst-unused-dep.out.
49029
8847f037
DM
490302012-02-28 David S. Miller <davem@davemloft.net>
49031
49032 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49033 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49036 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49037 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49038
169d7f11
JM
490392012-02-29 Joseph Myers <joseph@codesourcery.com>
49040
49041 * math/libm-test.inc (llround_test): Move one test from
49042 lround_test. Use TEST_f_L in moved test.
49043 (lround_test): Move misplaced test to llround_test. Add testcase
49044 from bug 2561.
49045
39adf059
UD
490462012-02-28 Ulrich Drepper <drepper@gmail.com>
49047
49048 * sysdeps/x86_64/fpu/e_expf.S: New file.
49049 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49050
71b5d1c5
SB
490512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49052
49053 [BZ #13637]
49054 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49055 of remain_len that may cause incomplete multi-byte character and
49056 false match.
49057 * posix/bug-regex33.c: New file.
49058 * posix/Makefile (tests): Add bug-regex33.
49059
1f77f049
JM
490602012-02-28 Joseph Myers <joseph@codesourcery.com>
49061
49062 * manual/macros.texi: New file.
49063 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49064 * manual/libc.texinfo: Include macros.texi.
49065 * manual/creatute.texi: Likewise.
49066 * manual/install.texi: Likewise.
49067 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49068 @glibcadj{} in references to the GNU C Library.
49069 * manual/charset.texi: Likewise.
49070 * manual/conf.texi: Likewise.
49071 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49072 when not using those macros.
49073 * manual/creature.texi: Likewise.
49074 * manual/crypt.texi: Likewise.
49075 * manual/errno.texi: Likewise.
49076 * manual/filesys.texi: Likewise.
49077 * manual/header.texi: Likewise.
49078 * manual/install.texi: Likewise.
49079 * manual/intro.texi: Likewise.
49080 * manual/io.texi: Likewise.
49081 * manual/job.texi: Likewise.
49082 * manual/lang.texi: Likewise.
49083 * manual/libc.texiinfo: Likewise.
49084 * manual/llio.texi: Likewise.
49085 * manual/locale.texi: Likewise.
49086 * manual/maint.texi: Likewise.
49087 * manual/math.texi: Likewise.
49088 * manual/memory.texi: Likewise.
49089 * manual/message.texi: Likewise.
49090 * manual/nss.texi: Likewise.
49091 * manual/pattern.texi: Likewise.
49092 * manual/process.texi: Likewise.
49093 * manual/resource.texi: Likewise.
49094 * manual/search.texi: Likewise.
49095 * manual/setjmp.texi: Likewise.
49096 * manual/signal.texi: Likewise.
49097 * manual/socket.texi: Likewise.
49098 * manual/startup.texi: Likewise.
49099 * manual/stdio.texi: Likewise.
49100 * manual/string.texi: Likewise.
49101 * manual/sysinfo.texi: Likewise.
49102 * manual/syslog.texi: Likewise.
49103 * manual/terminal.texi: Likewise.
49104 * manual/time.texi: Likewise.
49105 * manual/users.texi: Likewise.
49106 * INSTALL: Regenerated.
49107 * NOTES: Regenerated.
d40c5d54 49108 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49109
450bf206
AS
491102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49111
49112 * include/dirent.h: Include <dirstream.h> before
49113 <dirent/dirent.h>.
49114
741a235b
DM
491152012-02-28 David S. Miller <davem@davemloft.net>
49116
49117 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49118 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49119 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49120 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49121
d6b5aa58
DM
491222012-02-27 David S. Miller <davem@davemloft.net>
49123
1aff59a3
DM
49124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49126 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49127 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49128
d6b5aa58
DM
49129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49130 frame pointer instead of stack pointer relative arg slot.
49131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49134
433f48bf
CD
491352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49136
49137 [BZ #3992]
49138 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49139
d674b76d
DM
491402012-02-27 David S. Miller <davem@davemloft.net>
49141
49142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49148 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49150
0e7727f7
JM
491512012-02-27 Joseph Myers <joseph@codesourcery.com>
49152
49153 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49154 later. Allow versions 5-9.
43be4ca2 49155 * configure: Regenerated.
0e7727f7
JM
49156 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49157 required minimum version and 4.6 as recommended version. Do not
49158 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49159 * INSTALL: Regenerated.
0e7727f7 49160
a78bc654
DM
491612012-02-27 David S. Miller <davem@davemloft.net>
49162
428d5830
DM
49163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49167 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49168 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49169 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49170 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49171
a78bc654
DM
49172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49173 manipulate bits before adding and subtracting TWO112[sx].
49174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49175
4579f81c
RM
491762012-02-27 Roland McGrath <roland@hack.frob.com>
49177
36c8acb4
RM
49178 [BZ #13775]
49179 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49180 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49181 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49182 being in POSIX, because they are in 1003.1-2008.
49183
84ad622b
RM
49184 * rt/tst-aio.c: Include <fcntl.h>.
49185 * rt/tst-aio7.c: Likewise.
49186 * rt/tst-aio64.c: Likewise.
49187
4579f81c
RM
49188 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49189
abd923db
JM
491902012-02-27 Joseph Myers <joseph@codesourcery.com>
49191
49192 * manual/install.texi (--with-headers): Describe headers as
49193 interface headers, not private headers.
49194 (Specific advice for GNU/Linux systems): Describe use of headers
49195 from "make headers_install", not private headers from older
49196 kernels.
43be4ca2 49197 * INSTALL: Regenerated.
abd923db
JM
49198 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49199 Change to 2.6.19.
49200 * sysdeps/unix/sysv/linux/configure: Regenerated.
49201
6664049b
JM
49202 * manual/llio.texi (fclean): Remove documentation.
49203
bb8b6697
JM
49204 * manual/Makefile (libc-texi-generated): New variable. Include
49205 version.texi.
49206 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49207 $(libc-texi-generated), not duplicated list of files.
49208 (version.texi, stamp-version): New rules.
49209 (realclean): Remove $(libc-texi-generated), not individual files
49210 from that list. Do not remove dir-add.texinfo.
49211 * manual/libc.texinfo: Comment out uses of edition numbers and
49212 references to printed manual. Remove last-updated dates.
49213 (EDITION): Comment out.
49214 (ISBN): Likewise.
49215 (VERSION, UPDATED): Remove.
49216 (version.texi): Include.
49217
12e5c3b9
AS
492182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49219
49220 * sysdeps/posix/spawni.c: Include <signal.h>.
49221 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49222 * sysdeps/pthread/aio_fsync.c: Likewise.
49223
4efeffc1 492242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49225
ba63ba08
UD
49226 * conform/Makefile (tests): Run only when not cross-compiling and
49227 when fast-check is not defined.
49228
d94a4670
UD
49229 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49230 * conform/data/limits.h-data: Fixes for POSIX2008.
49231 * conform/run-conformtest.sh: Run all tests.
49232 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49233 headers.
49234 * include/bits/dlfcn.h: Likewise.
49235 * include/langinfo.h: Likewise.
49236 * include/monetary.h: Likewise.
49237 * include/sys/poll.h: Likewise.
49238
49239 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49240 for __USE_GNU.
49241 * posix/spawn.h: Define __need_sigset_t.
49242 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49243 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49244 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49245 to get sigevent_t only.
49246 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49247 only for __USE_GNU.
49248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49249 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49250 process_vm_writev only for __USE_GNU.
49251 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49252
49253 * conform/Makefile: For now ignore errors from run-conformtest.
49254 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49255 POSIX to avoid namespace pollution. Don't prepend headers.
49256 * conform/data/aio.h-data: Fixes for POSIX testing.
49257 * conform/data/fcntl.h-data: Likewise.
49258 * conform/data/glob.h-data: Likewise.
49259 * conform/data/grp.h-data: Likewise.
49260 * conform/data/pthread.h-data: Likewise.
49261 * conform/data/pwd.h-data: Likewise.
49262 * conform/data/signal.h-data: Likewise.
49263 * conform/data/spawn.h-data: Likewise.
49264 * conform/data/stdio.h-data: Likewise.
49265 * conform/data/stdlib.h-data: Likewise.
49266 * conform/data/stropts.h-data: Likewise.
49267 * conform/data/sys/mman.h-data: Likewise.
49268 * conform/data/sys/stat.h-data: Likewise.
49269 * conform/data/sys/types.h-data: Likewise.
49270 * conform/data/sys/wait.h-data: Likewise.
49271 * conform/data/time.h-data: Likewise.
49272 * conform/data/unistd.h-data: Likewise.
49273 * conform/data/utime.h-data: Likewise.
49274
49275 * io/sys/stat.h: fchmod was always in POSIX.
49276 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49277 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49278 * rt/aio.h: Define __need_timespec before including <time.h>.
49279 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49280 struct. Add forward declaration of pthread_attr_t and use it in
49281 sigevent.
49282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49284 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49285 always remove CLK_TCK definition.
49286
c20105c3
AS
492872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49288
49289 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49290
7a270350
UD
492912012-02-25 Ulrich Drepper <drepper@gmail.com>
49292
31341567
UD
49293 * conform/run-conformtest.sh: New file.
49294 * conform/Makefile: Run run-conformtest for tests.
49295 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49296 support.
49297
49298 * conform/data/uchar.h-data: New file.
49299 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49300 * conform/data/arpa/inet.h-data: Likewise.
49301 * conform/data/assert.h-data: Likewise.
49302 * conform/data/complex.h-data: Likewise.
49303 * conform/data/cpio.h-data: Likewise.
49304 * conform/data/ctype.h-data: Likewise.
49305 * conform/data/dirent.h-data: Likewise.
49306 * conform/data/dlfcn.h-data: Likewise.
49307 * conform/data/errno.h-data: Likewise.
49308 * conform/data/fcntl.h-data: Likewise.
49309 * conform/data/float.h-data: Likewise.
49310 * conform/data/fmtmsg.h-data: Likewise.
49311 * conform/data/fnmatch.h-data: Likewise.
49312 * conform/data/ftw.h-data: Likewise.
49313 * conform/data/glob.h-data: Likewise.
49314 * conform/data/grp.h-data: Likewise.
49315 * conform/data/iconv.h-data: Likewise.
49316 * conform/data/inttypes.h-data: Likewise.
49317 * conform/data/langinfo.h-data: Likewise.
49318 * conform/data/libgen.h-data: Likewise.
49319 * conform/data/limits.h-data: Likewise.
49320 * conform/data/locale.h-data: Likewise.
49321 * conform/data/math.h-data: Likewise.
49322 * conform/data/monetary.h-data: Likewise.
49323 * conform/data/mqueue.h-data: Likewise.
49324 * conform/data/ndbm.h-data: Likewise.
49325 * conform/data/net/if.h-data: Likewise.
49326 * conform/data/netdb.h-data: Likewise.
49327 * conform/data/netinet/in.h-data: Likewise.
49328 * conform/data/nl_types.h-data: Likewise.
49329 * conform/data/poll.h-data: Likewise.
49330 * conform/data/pthread.h-data: Likewise.
49331 * conform/data/pwd.h-data: Likewise.
49332 * conform/data/regex.h-data: Likewise.
49333 * conform/data/sched.h-data: Likewise.
49334 * conform/data/search.h-data: Likewise.
49335 * conform/data/semaphore.h-data: Likewise.
49336 * conform/data/setjmp.h-data: Likewise.
49337 * conform/data/signal.h-data: Likewise.
49338 * conform/data/spawn.h-data: Likewise.
49339 * conform/data/stdarg.h-data: Likewise.
49340 * conform/data/stdio.h-data: Likewise.
49341 * conform/data/stdlib.h-data: Likewise.
49342 * conform/data/string.h-data: Likewise.
49343 * conform/data/strings.h-data: Likewise.
49344 * conform/data/stropts.h-data: Likewise.
49345 * conform/data/sys/ipc.h-data: Likewise.
49346 * conform/data/sys/mman.h-data: Likewise.
49347 * conform/data/sys/msg.h-data: Likewise.
49348 * conform/data/sys/resource.h-data: Likewise.
49349 * conform/data/sys/select.h-data: Likewise.
49350 * conform/data/sys/sem.h-data: Likewise.
49351 * conform/data/sys/shm.h-data: Likewise.
49352 * conform/data/sys/socket.h-data: Likewise.
49353 * conform/data/sys/stat.h-data: Likewise.
49354 * conform/data/sys/statvfs.h-data: Likewise.
49355 * conform/data/sys/time.h-data: Likewise.
49356 * conform/data/sys/timeb.h-data: Likewise.
49357 * conform/data/sys/times.h-data: Likewise.
49358 * conform/data/sys/types.h-data: Likewise.
49359 * conform/data/sys/uio.h-data: Likewise.
49360 * conform/data/sys/un.h-data: Likewise.
49361 * conform/data/sys/utsname.h-data: Likewise.
49362 * conform/data/sys/wait.h-data: Likewise.
49363 * conform/data/syslog.h-data: Likewise.
49364 * conform/data/tar.h-data: Likewise.
49365 * conform/data/termios.h-data: Likewise.
49366 * conform/data/utime.h-data: Likewise.
49367 * conform/data/utmpx.h-data: Likewise.
49368 * conform/data/varargs.h-data: Likewise.
49369 * conform/data/wchar.h-data: Likewise.
49370 * conform/data/wctype.h-data: Likewise.
49371 * conform/data/wordexp.h-data: Likewise.
49372
49373 * include/stropts.h: New file.
49374 * include/uchar.h: New file.
49375 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49376 * include/assert.h: Likewise.
49377 * include/ctype.h: Likewise.
49378 * include/dirent.h: Likewise.
49379 * include/dlfcn.h: Likewise.
49380 * include/fcntl.h: Likewise.
49381 * include/fnmatch.h: Likewise.
49382 * include/glob.h: Likewise.
49383 * include/grp.h: Likewise.
49384 * include/libio.h: Likewise.
49385 * include/locale.h: Likewise.
49386 * include/math.h: Likewise.
49387 * include/net/if.h: Likewise.
49388 * include/netdb.h: Likewise.
49389 * include/netinet/in.h: Likewise.
49390 * include/pthread.h: Likewise.
49391 * include/pwd.h: Likewise.
49392 * include/regex.h: Likewise.
49393 * include/sched.h: Likewise.
49394 * include/search.h: Likewise.
49395 * include/setjmp.h: Likewise.
49396 * include/signal.h: Likewise.
49397 * include/stdio.h: Likewise.
49398 * include/stdlib.h: Likewise.
49399 * include/string.h: Likewise.
49400 * include/sys/cdefs.h: Likewise.
49401 * include/sys/mman.h: Likewise.
49402 * include/sys/msg.h: Likewise.
49403 * include/sys/resource.h: Likewise.
49404 * include/sys/select.h: Likewise.
49405 * include/sys/socket.h: Likewise.
49406 * include/sys/stat.h: Likewise.
49407 * include/sys/statvfs.h: Likewise.
49408 * include/sys/time.h: Likewise.
49409 * include/sys/times.h: Likewise.
49410 * include/sys/uio.h: Likewise.
49411 * include/sys/utsname.h: Likewise.
49412 * include/sys/wait.h: Likewise.
49413 * include/termios.h: Likewise.
49414 * include/time.h: Likewise.
49415 * include/ulimit.h: Likewise.
49416 * include/unistd.h: Likewise.
49417 * include/utime.h: Likewise.
49418 * include/wchar.h: Likewise.
49419 * include/wctype.h: Likewise.
49420 * include/wordexp.h: Likewise.
49421
49422 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49423
7a270350
UD
49424 * time/time.h: TIME_UTC must be a macro.
49425 Make timespec_get available for ISO C11 only as well.
49426
7724defc
UD
494272012-02-24 Ulrich Drepper <drepper@gmail.com>
49428
49429 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49430 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49431
6b1d1d46
JM
494322012-02-24 Joseph Myers <joseph@codesourcery.com>
49433
49434 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49435
0f8bbd69
JM
494362012-02-24 Joseph Myers <joseph@codesourcery.com>
49437
49438 * manual/texinfo.tex: Update to version 2012-01-19.16.
49439
66ab80bc
JM
494402012-02-24 Joseph Myers <joseph@codesourcery.com>
49441
49442 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49443
74981cc5
RM
494442012-02-24 Roland McGrath <roland@hack.frob.com>
49445
ee968201
RM
49446 [BZ #13738]
49447 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49448 * manual/fdl-1.3.texi: New file.
49449 * manual/fdl-1.1.texi: File removed.
49450
74981cc5
RM
49451 [BZ #13738]
49452 * manual/libc.texinfo (FDL_VERSION): New @set.
49453 Use it for mention of FDL in cover text.
49454 (Documentation License): Use it in @include file name.
49455
7bb764bc
JM
494562012-02-22 Joseph Myers <joseph@codesourcery.com>
49457 Roland McGrath <roland@hack.frob.com>
49458
49459 [BZ #5461]
57f41c40
AS
49460 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49461 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49462 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49463 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49464 name.
49465 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49466
6cbeae47
JM
494672012-02-22 Joseph Myers <joseph@codesourcery.com>
49468
49469 [BZ #2547]
49470 [BZ #11365]
49471 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49472 manipulate bits before adding and subtracting TWO23[sx].
49473 * math/libm-test.inc (nearbyint_test): Add more tests.
49474
fe45ce09
JM
494752012-02-22 Joseph Myers <joseph@codesourcery.com>
49476
49477 [BZ #2548]
49478 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49479 bits before adding and subtracting TWO23[sx].
49480 * math/libm-test.inc (rint_test): Add more tests.
49481 (rint_test_tonearest): Likewise.
49482 (rint_test_towardzero): Likewise.
49483 (rint_test_downward): Likewise.
49484 (rint_test_upward: Likewise.
49485
ff3b3d82
JM
494862012-02-22 Joseph Myers <joseph@codesourcery.com>
49487
49488 [BZ #10110]
49489 * include/stdc-predef.h: New file. Extracted from features.h.
49490 * include/features.h: Include stdc-predef.h.
49491 * Makefile (headers): Add stdc-predef.h.
49492 * CONFORMANCE (Compiler limitations): Update.
49493
ef0aab35
JM
494942012-02-22 Joseph Myers <joseph@codesourcery.com>
49495
49496 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49497
58639409
DM
494982012-02-21 David S. Miller <davem@davemloft.net>
49499
49500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49502
c0e70b25
DM
495032012-02-20 David S. Miller <davem@davemloft.net>
49504
49505 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49506 using a normal save/restore sequence, rather than allocating a
49507 dummy stack frame just to store a frame pointer and restore.
49508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49509
fb06851d
JM
495102012-02-21 Joseph Myers <joseph@codesourcery.com>
49511
49512 * manual/install.texi: Fix stray word in line-wrapped comment.
49513
7a8b71c3
DM
495142012-02-20 David S. Miller <davem@davemloft.net>
49515
d510c123
DM
49516 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49517 both binutils and gcc support GOTDATA.
49518
0722d7c2
DM
49519 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49520 "rd %pc" in the PIC register setup sequences.
49521
3d2b3019
DM
49522 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49523 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49524 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49525 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49526 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49529 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49531 (SYSCALL_ERROR_HANDLER): Likewise.
49532 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49535 (SYSCALL_ERROR_HANDLER): Likewise.
49536
c80098a9
DM
49537 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49538 (HAVE_GCC_GOTDATA): New.
49539 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49540 relocation support in both binutils and gcc.
49541 * sysdeps/sparc/elf/configure: Regenerate.
49542
3a2545a0
DM
49543 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49544 * sysdeps/sparc/sparc32/elf/configure: Delete.
49545 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49546 * sysdeps/sparc/sparc64/elf/configure: Delete.
49547 * sysdeps/sparc/elf/configure.in: New file.
49548 * sysdeps/sparc/elf/configure: Generate.
49549
7a8b71c3
DM
49550 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49551 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49552 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49553 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49554 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49555
f1e86fca
JM
495562012-02-21 Joseph Myers <joseph@codesourcery.com>
49557
49558 * manual/install.texi: Do not mention specific glibc version
49559 numbers.
49560 * manual/libc.texinfo (VERSION, UPDATED): Update.
49561 (@copying): Use @copyright{} and range of years.
49562
0e7dfaef
JM
495632012-02-21 Joseph Myers <joseph@codesourcery.com>
49564
49565 [BZ #13695]
49566 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49567 [crti.S not in sysdirs] (generated): Do not append.
49568 [crti.S not in sysdirs] (omit-deps): Likewise.
49569 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49570 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49571 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49572 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49573 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49574 Likewise.
49575 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49576 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49577 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49578 * csu/defs.awk: Remove file.
49579 * sysdeps/generic/initfini.c: Likewise.
49580 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49581 variable.
49582 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49583 Likewise.
49584
599af3ca
JM
495852012-02-20 Joseph Myers <joseph@codesourcery.com>
49586
49587 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49588 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49589 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49590 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49592 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49593 <bits/epoll.h>.
49594 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49595 (__EPOLL_PACKED): Define to empty if not defined by
49596 <bits/epoll.h>.
49597 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49599 bits/epoll.h.
49600
0e499750
JM
496012012-02-20 Joseph Myers <joseph@codesourcery.com>
49602
49603 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49604 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49605 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49606 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49607 <bits/timerfd.h>.
49608 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49610 bits/timerfd.h.
49611
5ad91f6e
JM
496122012-02-20 Joseph Myers <joseph@codesourcery.com>
49613
49614 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49615 in C locale.
49616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49618 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49620
06b99b02
AJ
496212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49622
49623 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49624 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49625
7638c0fd
AS
496262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49627
49628 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49629 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49630 defined.
49631 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49632 Likewise.
49633 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49634 entry for 2.16.
49635
92221550
AJ
496362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49637
49638 * math/w_acos.c: Use non-signaling floating-point comparisons.
49639 * math/w_acosf.c: Likewise.
49640 * math/w_acosh.c: Likewise.
49641 * math/w_acoshf.c: Likewise.
49642 * math/w_acoshl.c: Likewise.
49643 * math/w_acosl.c: Likewise.
49644 * math/w_asin.c: Likewise.
49645 * math/w_asinf.c: Likewise.
49646 * math/w_asinl.c: Likewise.
49647 * math/w_atanh.c: Likewise.
49648 * math/w_atanhf.c: Likewise.
49649 * math/w_atanhl.c: Likewise.
49650 * math/w_exp2.c: Likewise.
49651 * math/w_exp2f.c: Likewise.
49652 * math/w_exp2l.c: Likewise.
49653 * math/w_j0.c: Likewise.
49654 * math/w_j0f.c: Likewise.
49655 * math/w_j0l.c: Likewise.
49656 * math/w_j1.c: Likewise.
49657 * math/w_j1f.c: Likewise.
49658 * math/w_j1l.c: Likewise.
49659 * math/w_jn.c: Likewise.
49660 * math/w_jnf.c: Likewise.
49661 * math/w_log.c: Likewise.
49662 * math/w_log10.c: Likewise.
49663 * math/w_log10f.c: Likewise.
49664 * math/w_log10l.c: Likewise.
49665 * math/w_log2.c: Likewise.
49666 * math/w_log2f.c: Likewise.
49667 * math/w_log2l.c: Likewise.
49668 * math/w_logf.c: Likewise.
49669 * math/w_logl.c: Likewise.
49670 * math/w_sqrt.c: Likewise.
49671 * math/w_sqrtf.c: Likewise.
49672 * math/w_sqrtl.c: Likewise.
49673 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49674 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49676 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49677 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49678
ebaf36eb
JM
496792012-02-19 Joseph Myers <joseph@codesourcery.com>
49680
49681 [BZ #9739]
49682 * manual/string.texi (strnlen): Use correct parameter name in
49683 equivalent expression.
49684
71c254a6
JM
496852012-02-19 Joseph Myers <joseph@codesourcery.com>
49686
49687 [BZ #11174]
49688 * manual/users.texi (seteuid): Consistently use neweuid for
49689 argument name.
49690
16d2c631
JM
496912012-02-19 Joseph Myers <joseph@codesourcery.com>
49692
49693 [BZ #13704]
49694 * manual/nss.texi (Services in the NSS configuration): Correct
49695 list of services in example configuration file.
49696
cd837b09
NB
496972012-02-19 Nick Bowler <nbowler@draconx.ca>
49698
49699 [BZ #11322]
49700 * manual/arith.texi: Remove statements about negative zero
49701 behaving identically to zero.
49702
02c4bbad
JM
497032012-02-18 Joseph Myers <joseph@codesourcery.com>
49704
49705 [BZ #5993]
49706 * manual/install.texi: Do not document upgrading from libc5.
49707
366842e7
JM
497082012-02-18 Joseph Myers <joseph@codesourcery.com>
49709
49710 [BZ #4596]
49711 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49712
dd54084d
DM
497132012-02-18 David S. Miller <davem@davemloft.net>
49714
49715 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49716 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49717 %o7 across the call.
49718 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49719 instead.
49720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49721 SETUP_PIC_REG_LEAF.
49722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49723 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49724 * sysdeps/sparc/crtn.S: Likewise.
49725
2bcc53a3
UD
497262012-02-17 Ulrich Drepper <drepper@gmail.com>
49727
49728 * aout/Makefile: Remove.
49729
09c093b5
RK
497302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49731
49732 [BZ #13058]
49733 * manual/examples/argp-ex1.c (main): Format definition in GNU
49734 style.
49735 * manual/examples/argp-ex2.c (main): Likewise.
49736 * manual/examples/argp-ex3.c (main): Likewise.
49737 * manual/examples/argp-ex4.c (main): Likewise.
49738 * manual/examples/longopt.c (main): Use new-style prototype
49739 definition.
49740 * manual/examples/strncat.c (main): Specify return type and use
49741 (void) for arguments.
49742 * manual/examples/subopt.c (main): Use char **argv argument.
49743
2ee633a2
JM
497442012-02-17 Joseph Myers <joseph@codesourcery.com>
49745
49746 [BZ #5077]
49747 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49748 rounding modes.
49749
0520adde
FB
497502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49751
49752 [BZ #6907]
49753 * manual/string.texi (strchr): Change when strchrnul is
49754 recommended.
49755
3f4081cd
DGM
497562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49757
49758 [BZ #174]
49759 * manual/locale.texi (setlocale): Document LOCPATH.
49760
d1b10e78
JM
497612012-02-17 Joseph Myers <joseph@codesourcery.com>
49762
49763 [BZ #10210]
49764 * manual/process.texi (execle): Move @dots{} before last argument.
49765
79c6869c
PB
497662012-02-17 Paul Bolle <pebolle@tiscali.nl>
49767
49768 [BZ #12047]
49769 * manual/charset.texi (Generic Charset Conversion): Fix typo
49770 (LC_TYPE -> LC_CTYPE).
49771
cc6e48bc
NB
497722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49773
49774 [BZ #5805]
49775 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49776 (scalbnf): Likewise.
49777 (scalbnl): Likewise.
49778 (scalbln): Likewise.
49779 (scalblnf): Likewise.
49780 (scalblnl): Likewise.
49781 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49782 (vwarnx): Likewise.
49783 (verr): Likewise.
49784 (verrx): Likewise.
49785 * manual/filesys.texi (telldir): Use braces around return type.
49786 * manual/llio.texi (mmap): Add space after comma.
49787 (mmap64): Likewise.
49788 * manual/math.texi (jn): Use @var{} on parameter names.
49789 (jnf): Likewise.
49790 (jnl): Likewise.
49791 (yn): Likewise.
49792 (ynf): Likewise.
49793 (ynl): Likewise.
49794 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49795 line.
49796 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49797 "...".
49798 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49799 (sched_get_priority_max): Likewise.
49800 * manual/signal.texi (sigvec): Add space after comma.
49801 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49802 names.
49803 (if_indextoname): Likewise.
49804 (if_freenameindex): Likewise.
49805 (sendto): Use ',' instead of '.' in prototype.
49806 * manual/startup.texi (syscall): Use @dots{} instead of literal
49807 "...".
49808 * manual/stdio.texi (__fpending): Separate initial words of
49809 paragraph from @deftypefun line.
49810 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49811 "...".
49812 (vsyslog): Use @var{} on parameter names.
49813 * manual/terminal.texi (stty): Use @var{} on parameter names.
49814 * manual/users.texi (getutmp): Use @var{} on parameter names.
49815 (getutmpx): Likewise.
49816
5b23062f
JM
498172012-02-17 Joseph Myers <joseph@codesourcery.com>
49818
49819 [BZ #6884]
49820 * manual/stdio.texi (fopen): Fix typos in description of
49821 ",ccs=STRING".
49822
8dee4833
AJ
498232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49824
49825 [BZ #4026]
49826 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49827 get clock_id definition.
49828
9078ce93
TS
498292012-02-17 Thomas Schwinge <thomas@schwinge.name>
49830
49831 [BZ #4822]
49832 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49833 (madvise): Cast every argument to void on its own.
49834
3835c55f
JM
498352012-02-17 Joseph Myers <joseph@codesourcery.com>
49836
49837 [BZ #9902]
49838 * manual/startup.texi (Exit Status): Fix typo.
49839
35c47e37
JM
498402012-02-17 Joseph Myers <joseph@codesourcery.com>
49841
49842 [BZ #10140]
49843 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49844 * manual/examples/argp-ex2.c: Likewise.
49845 * manual/examples/argp-ex3.c: Likewise.
49846
e3b69ca7
RH
498472012-02-16 Richard Henderson <rth@redhat.com>
49848
49849 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49850 * sysdeps/s390/s390-32/initfini.c: Remove.
49851 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49852 * sysdeps/s390/s390-64/initfini.c: Remove.
49853
df83af67
KK
498542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49855
49856 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49857 compiler output for sysdeps/generic/initfini.c.
49858 * sysdeps/sh/elf/initfini.c: Remove file.
49859
f63f3380
DM
498602012-02-16 David S. Miller <davem@davemloft.net>
49861
fb59b3a4
DM
49862 [BZ #11494]
49863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49864
f63f3380
DM
49865 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49866 * sysdeps/sparc/crti.S: New file.
49867 * sysdeps/sparc/crtn.S: New file.
49868 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49869 * sysdeps/sparc/sparc64/Makefile: Likewise.
49870
df6a4a4a
MF
498712012-02-15 Mike Frysinger <vapier@gentoo.org>
49872
6dd8f3dc 49873 [BZ #3335]
df6a4a4a
MF
49874 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49875
1cac7236
RM
498762012-02-15 Roland McGrath <roland@hack.frob.com>
49877
d2c736f8
RM
49878 [BZ #4822]
49879 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49880
1cac7236
RM
49881 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49882 (write, read, close): Likewise.
49883 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49884
8e475601
JM
498852012-02-15 Joseph Myers <joseph@codesourcery.com>
49886
49887 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49888 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49889 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49890 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49891 <bits/signalfd.h>.
49892 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49894 bits/signalfd.h.
49895
ed656b40
MP
498962012-02-14 Marek Polacek <polacek@redhat.com>
49897
49898 * sysdeps/x86_64/crti.S: New file.
49899 * sysdeps/x86_64/crtn.S: New file.
49900 * sysdeps/x86_64/elf/initfini.c: Remove file.
49901
2a979d3a
JM
499022012-02-13 Joseph Myers <joseph@codesourcery.com>
49903
49904 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49905 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49906 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49907 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49908 <bits/inotify.h>.
49909 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49911 bits/inotify.h.
49912
2a418ac3
JM
499132012-02-13 Joseph Myers <joseph@codesourcery.com>
49914
49915 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49916 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49917 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49918 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49919 <bits/eventfd.h>.
49920 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49922 bits/eventfd.h.
49923
fb779be7
TS
499242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49925
e19e83c5
RM
49926 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49927 __feraiseexcept instead of feraiseexcept.
7c35ffed 49928
fb779be7
TS
49929 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49930 nanosleep invocations.
49931 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49932 strings, and add error checking for a nanosleep invocations.
49933
59ba27a6
PE
499342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49935
49936 Replace FSF snail mail address with URLs, as per GNU coding standards.
49937 Most of the snail mail addresses were wrong anyway, and omitting
49938 them makes the source code easier to maintain. Almost all of the
49939 changes are to license notices and to locale LC_IDENTIFICATION
49940 addresses, except for this one:
49941 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49942 not its snail mail address.
49943
57b957eb
RH
499442012-02-09 Richard Henderson <rth@twiddle.net>
49945
af850b1c
RH
49946 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49947 of kernel-features.h.
49948
57b957eb
RH
49949 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49950
6b73181a
MP
499512012-02-08 Marek Polacek <polacek@redhat.com>
49952
49953 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49954 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49955 * sysdeps/gnu/_G_config.h: Likewise.
49956 * sysdeps/generic/_G_config.h: Likewise.
49957
26ecc33a
AS
499582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49959
6c6dbc63
AS
49960 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49961 tests.
49962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49963
e216c012
AS
49964 * sysdeps/powerpc/powerpc32/crti.S: New file.
49965 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49966 * sysdeps/powerpc/powerpc64/crti.S: New file.
49967 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49968
26ecc33a
AS
49969 * Makeconfig (have-initfini): Don't set.
49970 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49971 * configure.in (nopic_initfini): Don't substitute.
49972 * config.h.in (HAVE_INITFINI): Don't #undef.
49973 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49974 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49975
3add8e13
JM
499762012-02-08 Joseph Myers <joseph@codesourcery.com>
49977
49978 Support crti.S and crtn.S provided directly by architectures.
49979 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49980 [crti.S in sysdirs] (omit-deps): Likewise.
49981 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49982 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49983 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49984 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49985 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49986 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49987 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49988 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49989 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49990 compiler output for sysdeps/generic/initfini.c.
49991 * sysdeps/i386/elf/Makefile: Remove file.
49992 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49993
a22f12b4
MP
499942012-02-07 Marek Polacek <polacek@redhat.com>
49995
49996 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49997 * sysdeps/gnu/_G_config.h: Likewise.
49998 * sysdeps/mach/hurd/_G_config.h: Likewise.
49999
148cf100
MP
500002012-02-07 Marek Polacek <polacek@redhat.com>
50001
50002 * math/Makefile (tests): Add tst-CMPLX2.
50003 * math/tst-CMPLX2.c: New file.
50004
cfdc0dd7
AS
500052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50006
84ba42c4
AS
50007 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50008
cfdc0dd7
AS
50009 * math/libm-test.inc (jn_test): Add missing L suffix.
50010
622c86f4
MP
500112012-02-06 Marek Polacek <polacek@redhat.com>
50012
50013 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50014 * sysdeps/i386/fpu/e_powf.S: Likewise.
50015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50016 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50017 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50018 * sysdeps/i386/fpu/e_pow.S: Likewise.
50019 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50021 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50022 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50023 * sysdeps/i386/fpu/e_log2.S: Likewise.
50024 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50025 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50026 * sysdeps/i386/fpu/e_powl.S: Likewise.
50027 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50030 * sysdeps/i386/fpu/e_logl.S: Likewise.
50031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50032 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50033 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50034 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50035 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50036 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50037 * sysdeps/i386/fpu/e_log.S: Likewise.
50038 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50040 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50041 * sysdeps/i386/fpu/e_logf.S: Likewise.
50042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50044 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50045 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50046 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50047 * sysdeps/i386/fpu/e_log10.S: Likewise.
50048 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50049 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50050 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50051 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50052 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50053 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50054 * sysdeps/i386/asm-syntax.h: Likewise.
50055 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50056 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50057 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50058 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50059 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50064 * sysdeps/powerpc/sysdep.h: Likewise.
50065 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50066 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50067
d4a54ac6
JM
500682012-02-06 Joseph Myers <joseph@codesourcery.com>
50069
50070 [BZ #411]
50071 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50072
314054ea
JM
500732012-02-06 Joseph Myers <joseph@codesourcery.com>
50074
50075 * sysdeps/i386/sysdep.h: Include <features.h>.
50076 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50077 version.
50078
d8e0ca50
JM
500792012-02-05 Joseph Myers <joseph@codesourcery.com>
50080
50081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50082 Define.
50083 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50084 LOAD_PIC_REG_STR.
50085
b1da7dd9
JM
500862012-02-03 Joseph Myers <joseph@codesourcery.com>
50087
50088 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50089 (SETUP_PIC_REG): Use GET_PC_THUNK.
50090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50091 macro.
50092
9a1d9254
JM
500932012-02-03 Joseph Myers <joseph@codesourcery.com>
50094
50095 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50096 for non-PIC compilation.
50097 (SETUP_PIC_REG): Add .p2align directive.
50098 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50099 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50102 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50103 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50106 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50107 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50108 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50109 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50110 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50111 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50112 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50113 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50114 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50115 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50116 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50117 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50118 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50120 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50121 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50124 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50126 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50127 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50128 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50130 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50131 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50132 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50139
65dc3b75
JM
501402012-02-03 Joseph Myers <joseph@codesourcery.com>
50141
50142 * math/tst-CMPLX.c: Include <stdio.h>.
50143
d55bf177
JM
501442012-01-31 Joseph Myers <joseph@codesourcery.com>
50145
50146 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50147 float.
50148 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50149 * sysdeps/sparc/bits/mathdef.h: Likewise.
50150
69db4f8f
MP
501512012-01-31 Marek Polacek <polacek@redhat.com>
50152
50153 * libio/libio.h: Don't define _PARAMS.
50154 * locale/programs/config.h: Don't define PARAMS.
50155 * stdlib/strtol_l.c: Likewise.
50156 (__strtol_l): Remove PARAMS from the prototype.
50157
41b81892
UD
501582012-01-31 Ulrich Drepper <drepper@gmail.com>
50159
3b49edc0
UD
50160 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50161 names. Just use the correct names. Remove unnecessary wrapper
50162 functions.
50163 * malloc/arena.c: Likewise.
50164 * malloc/hooks.c: Likewise.
50165
41b81892
UD
50166 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50167 ARENA_TEST says not to. Simplify test for creation of a new arena.
50168 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50169
27a25b6e
UD
501702012-01-30 Ulrich Drepper <drepper@gmail.com>
50171
50172 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50173 into tail calls.
50174 (update_get_addr): New function.
50175 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50176 GET_ADDR_MODULE parameter.
50177
c8a89e7d
JM
501782012-01-30 Joseph Myers <joseph@codesourcery.com>
50179
50180 * crypt/cert.c: Remove __STDC__ conditionals.
50181 * crypt/crypt-entry.c: Likewise.
50182 * crypt/crypt_util.c: Likewise.
50183 * libio/filedoalloc.c: Likewise.
50184 * libio/fileops.c: Likewise.
50185 * libio/genops.c: Likewise.
50186 * libio/iofclose.c: Likewise.
50187 * libio/iofdopen.c: Likewise.
50188 * libio/iofopen.c: Likewise.
50189 * libio/iofopen64.c: Likewise.
50190 * libio/iogetdelim.c: Likewise.
50191 * libio/iopopen.c: Likewise.
50192 * libio/obprintf.c: Likewise.
50193 * libio/oldfileops.c: Likewise.
50194 * libio/oldiofclose.c: Likewise.
50195 * libio/oldiofdopen.c: Likewise.
50196 * libio/oldiofopen.c: Likewise.
50197 * libio/oldiopopen.c: Likewise.
50198 * libio/wfiledoalloc.c: Likewise.
50199 * libio/wgenops.c: Likewise.
50200 * locale/programs/xmalloc.c: Likewise.
50201 * misc/syslog.c: Likewise.
50202 * stdio-common/xbug.c: Likewise.
50203 * string/memchr.c: Likewise.
50204 * string/memcmp.c: Likewise.
50205 * string/memrchr.c: Likewise.
50206 * string/rawmemchr.c: Likewise.
50207 * sysdeps/posix/getcwd.c: Likewise.
50208 * time/strftime_l.c: Likewise.
50209
3b100462
JM
502102012-01-30 Joseph Myers <joseph@codesourcery.com>
50211
50212 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50213 * config.make.in (config-cflags-sse2avx): Define.
50214 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50215 Fix typo.
50216
607998af
CM
502172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50218
50219 * scripts/config.guess: Update from upstream config git repository.
50220 * scripts/config.sub: Likewise.
50221
3601428f
CM
502222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50223
3ac8b282
CM
50224 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50225 (EM_NUM): Update.
50226 (R_TILEPRO_*, R_TILEGX_*): New macros.
50227
e034841e
CM
50228 * scripts/firstversions.awk: Fix bug in version range handling.
50229
540d7568
CM
50230 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50231
3601428f
CM
50232 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50233
463de862
CM
50234 * include/sys/epoll.h: New file.
50235 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50236 libc_hidden_def.
50237
73139a76
UD
502382012-01-28 Ulrich Drepper <drepper@gmail.com>
50239
96bc5b45
UD
50240 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50241 Avoid unnecessary __WORDSIZE == 64 test.
50242 (fmaxf): Use VEX format if possible.
50243 (fmax): Likewise.
50244 (fminf): Likewise.
50245 (fmin): Likewise.
50246
56f6f6a2
UD
50247 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50248 * math/math_private.h: Remove libc_fegetround* and
50249 libc_fesetround*.
50250 * sysdeps/i386/configure.in: Check for -msse2avx.
50251 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50252 also if SSE2AVX is defined.
50253 Remove libc_fegetround* and libc_fesetround*.
50254 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50255 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50257 of HAS_YMM_USABLE.
50258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50263
73139a76
UD
50264 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50265
d73f93a4
AZ
502662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50267
50268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50269 size is not set.
50270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50271
6ee65ed6
UD
502722012-01-27 Ulrich Drepper <drepper@gmail.com>
50273
50274 [BZ #13618]
50275 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50276 relocation.
50277 * Makeconfig (libm): Define.
50278 * elf/Makefile: Add rules to build and run tst-relsort1.
50279 * elf/tst-relsort1.c: New file.
50280 * elf/tst-relsort1mod1.c: New file.
50281 * elf/tst-relsort1mod2.c: New file.
50282
8db21882
JM
502832012-01-27 Joseph Myers <joseph@codesourcery.com>
50284
50285 * math/s_ldexp.c: Remove __STDC__ conditionals.
50286 * math/s_ldexpf.c: Likewise.
50287 * math/s_ldexpl.c: Likewise.
50288 * math/s_nextafter.c: Likewise.
50289 * math/s_nexttowardf.c: Likewise.
50290 * math/s_significand.c: Likewise.
50291 * math/s_significandf.c: Likewise.
50292 * math/s_significandl.c: Likewise.
50293 * math/w_jnl.c: Likewise.
50294 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50295 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50296 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50297 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50298 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50300 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50301 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50302 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50303 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50304 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50306 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50307 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50308 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50309 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50310 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50322 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50323 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50325 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50326 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50327 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50328 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50329 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50331 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50332 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50333 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50334 * sysdeps/ieee754/k_standard.c: Likewise.
50335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50344 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50383 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50384 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50385 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50388 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50396 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50400 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50401 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50410 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50414 * sysdeps/ieee754/s_matherr.c: Likewise.
50415 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50416 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50419
965a54a4
JM
504202012-01-26 Joseph Myers <joseph@codesourcery.com>
50421
50422 * crypt/md5.h: Remove __STDC__ conditionals.
50423 * libio/libioP.h: Likewise.
50424 * locale/programs/config.h: Likewise.
50425 * sysdeps/generic/sysdep.h: Likewise.
50426 * sysdeps/i386/asm-syntax.h: Likewise.
50427 * sysdeps/s390/asm-syntax.h: Likewise.
50428 * sysdeps/unix/sysdep.h: Likewise.
50429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50431
7071ad79
JM
504322012-01-26 Joseph Myers <joseph@codesourcery.com>
50433
50434 * libio/libio.h: Remove __STDC__ conditionals.
50435 * malloc/obstack.h: Likewise.
50436 * math/complex.h: Likewise.
50437 * math/math.h: Likewise.
50438 * sysdeps/generic/_G_config.h: Likewise.
50439 * sysdeps/gnu/_G_config.h: Likewise.
50440 * sysdeps/mach/hurd/_G_config.h: Likewise.
50441 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50442 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50443 * sysdeps/sparc/bits/mathdef.h: Likewise.
50444
afc5ed09
UD
504452012-01-26 Ulrich Drepper <drepper@gmail.com>
50446
50447 [BZ #13583]
50448 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50449 Clean up HAS_* macros.
afc5ed09 50450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50451 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50452 possible.
50453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50454 HAS_AVX.
50455 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50456 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50460
bdb6de1d
JM
504612012-01-25 Joseph Myers <joseph@codesourcery.com>
50462
50463 * elf/tst-unique3.cc (gets): Remove declaration.
50464 * elf/tst-unique3lib.cc (gets): Likewise.
50465 * elf/tst-unique3lib2.cc (gets): Likewise.
50466 * elf/tst-unique4.cc (gets): Likewise.
50467
b15549e6
UD
504682012-01-24 Ulrich Drepper <drepper@gmail.com>
50469
50470 * include/stdio.h: Add C++ protection. Add gets declarations and
50471 definitions.
50472 * debug/tst-chk1.c: Don't declare gets here.
50473 * stdio-common/tst-gets.c: Likewise.
50474
a037381f
JM
504752012-01-24 Joseph Myers <joseph@codesourcery.com>
50476
50477 * posix/glob: Remove directory.
50478
f1d4aa75
JM
504792012-01-24 Joseph Myers <joseph@codesourcery.com>
50480
50481 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50482
81c0c964
PT
504832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50484
50485 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50486 of the non-standard EPFNOSUPPORT.
50487
0ea698ae
ST
504882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50489
50490 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50491 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50492 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50493
d220b117
UD
504942012-01-21 Ulrich Drepper <drepper@gmail.com>
50495
50496 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50497
3e1aa84e
UD
504982012-01-20 Ulrich Drepper <drepper@gmail.com>
50499
50500 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50501 transient errors.
50502 * nscd/grpcache.c (cache_addgr): Likewise.
50503 * nscd/hstcache.c (cache_addhst): Likewise.
50504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50505 * nscd/pwdcache.c (cache_addpw): Likewise.
50506 * nscd/servicescache.c (cache_addserv): Likewise.
50507
400aa020
UD
505082012-01-16 Ulrich Drepper <drepper@gmail.com>
50509
d77e7869
UD
50510 * malloc/malloc.c: Various cleanups.
50511 * malloc/hooks.c: Likewise.
50512
400aa020
UD
50513 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50514 * stdlib/bug-fmtmsg1.c: New file.
50515
50516 * stdlib/fmtmsg.c (init): Add missing unlock.
50517 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50518
e0a309cf
MP
505192012-01-12 Marek Polacek <polacek@redhat.com>
50520
50521 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50522 and _GNU_SOURCE.
50523
929d11c7
WS
505242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50525
50526 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50528 macro to ensure uniqueness of label name.
50529 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50530 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50531
41d0e869
UD
505322012-01-11 Ulrich Drepper <drepper@gmail.com>
50533
0cc5ed3b
UD
50534 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50535
41d0e869
UD
50536 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50537 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50540
a47a831a
UD
505412012-01-10 Ulrich Drepper <drepper@gmail.com>
50542
daa891c0
UD
50543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50544
50545 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50546 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50547 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50548
e58ef0f2
UD
50549 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50550
a47a831a 50551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50552 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50553 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50555
50556 * math/bits/math-finite.h: Add ldexp support.
50557
a0bfc9c7
MP
505582012-01-10 Marek Polacek <polacek@redhat.com>
50559
50560 * locale/programs/localedef.h (show_archive_content): Add noreturn
50561 attribute.
50562
d6e97a1d
UD
505632012-01-09 Ulrich Drepper <drepper@gmail.com>
50564
50565 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50566
d5835c26
UD
505672012-01-08 Ulrich Drepper <drepper@gmail.com>
50568
e5f484c6
UD
50569 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50570
d5835c26
UD
50571 * io/Makefile (headers): Add bits/poll2.h.
50572
d1f741e9
WS
505732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50574
50575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50576 typo #include statement.
50577
ec09c1c4
UD
505782012-01-08 Ulrich Drepper <drepper@gmail.com>
50579
50580 * include/sys/cdefs.h: Define __attribute_alloc_size.
50581 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50582 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50583 * elf/pldd.c: Likewise.
50584 * iconv/iconv_charmap.c: Likewise.
50585 * iconv/iconvconfig.c: Likewise.
50586 * iconv/strtab.c: Likewise.
50587 * locale/programs/locale.c: Likewise.
50588 * locale/programs/localedef.h: Likewise.
50589 * locale/programs/simple-hash.c: Likewise.
50590 * nscd/nscd.h: Likewise.
50591 * nss/makedb.c: Likewise.
50592 * sysdeps/generic/ldconfig.h: Likewise.
50593 * locale/programs/localedef.c: Remove xmalloc prototype.
50594 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50595
20b38e03
PP
505962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50597
50598 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50599 appropriate.
50600
a0da5fe1
UD
506012012-01-08 Ulrich Drepper <drepper@gmail.com>
50602
1d5a644a 50603 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50604 * math/tst-CMPLX.c: New file.
1d5a644a 50605
8784a6db
UD
50606 * math/complex.h (CMPLXL): Fix typo.
50607
d9a216c0
UD
50608 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50609 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50610 GLIBC_2.16.
50611 * debug/tst-chk1.c: Add poll and ppoll tests.
50612 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50613 * include/sys/poll.h: Add hidden proto for ppoll.
50614 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50615 * sysdeps/mach/hurd/ppoll.c: Likewise.
50616 * io/ppoll.c: Likewise.
50617 * debug/poll_chk.c: New file.
50618 * debug/ppoll_chk.c: New file.
50619 * include/bits/poll2.h: New file.
50620 * io/bits/poll2.h: New file.
50621
ac097f5c
UD
50622 [BZ #1350]
50623 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50624
2119dcfa
UD
50625 * configure.in: static is always set to yes. Remove.
50626 * config.make.in: Don't set build-static.
50627 * Makeconfig: Remove use of build-static.
50628 * dlfcn/Makefile: Likewise.
50629 * elf/Makefile: Likewise.
50630 * math/Makefile: Likewise.
50631 * misc/Makefile: Likewise.
50632 * nptl/Makefile: Likewise.
50633 * sysdeps/mach/hurd/Makefile: Likewise.
50634
121766a9
UD
50635 * configure.in: PWD_P is not used anymore.
50636 * config.make.in: Remove PWD_P entry.
50637
51a1d39c 50638 * configure.in: Remove last remnants of RANLIB.
8720d066 50639 No need to check for signed size_t anymore.
215f4bdc
UD
50640 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50641 and IA-64.
3857022a 50642 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50643 * aclocal.m4: Likewise.
50644
d3ed7225
UD
50645 * wcsmbs/mbrtoc16.c: Implement using towc function.
50646 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50647 * wcsmbs/wcsmbsload.c: Likewise.
50648 * iconv/gconv_simple.c: Likewise.
50649 * iconv/gconv_int.h: Likewise.
50650 * iconv/gconv_builtin.h: Likewise.
50651 * iconv/iconv_prog.c: Remove CHAR16 handling.
50652
50653 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50654
50655 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50656
a0da5fe1
UD
50657 * configure.in: Remove --with-elf and --enable-bounded options.
50658 Dont set base_machine for ia64. More non-ELF conditions removed.
50659 Remove testing and setting of leading underscore information.
50660 * config.make.in (build-bounded): Set to no.
50661 * config.h.in: Remove NO_UNDERSCORES entry.
50662 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50663 them.
50664 * csu/start.c: Remove !NO_UNDERSCORE code.
50665 * locale/localeinfo.h: Likewise.
50666 * sysdeps/generic/machine-gmon.h: Likewise.
50667 * sysdeps/generic/sysdep.h: Likewise.
50668 * sysdeps/i386/sysdep.h: Likewise.
50669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50670 * sysdeps/mach/sysdep.h: Likewise.
50671 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50673 * sysdeps/sh/sysdep.h: Likewise.
50674 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50675 * sysdeps/unix/i386/sysdep.S: Likewise.
50676 * sysdeps/unix/sparc/start.c: Likewise.
50677 * sysdeps/unix/sparc/sysdep.S: Likewise.
50678 * sysdeps/unix/sparc/sysdep.h: Likewise.
50679 * sysdeps/unix/start.c: Likewise.
50680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50681 * sysdeps/x86_64/sysdep.h: Likewise.
50682
df78418a
UD
506832012-01-07 Ulrich Drepper <drepper@gmail.com>
50684
a784e502
UD
50685 [BZ #13553]
50686 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50687 for non-gcc.
50688 * argp/argp-fmtstream.h: Use const instead __const.
50689 * argp/argp.h: Likewise.
50690 * assert/assert.h: Likewise.
50691 * bits/fenv.h: Likewise.
50692 * bits/sched.h: Likewise.
50693 * bits/sigset.h: Likewise.
50694 * bits/sigthread.h: Likewise.
50695 * catgets/nl_types.h: Likewise.
50696 * conform/data/pthread.h-data: Likewise.
50697 * crypt/crypt-private.h: Likewise.
50698 * crypt/crypt.h: Likewise.
50699 * crypt/crypt_util.c: Likewise.
50700 * ctype/ctype.h: Likewise.
50701 * debug/execinfo.h: Likewise.
50702 * debug/mbsnrtowcs_chk.c: Likewise.
50703 * debug/mbsrtowcs_chk.c: Likewise.
50704 * debug/wcsnrtombs_chk.c: Likewise.
50705 * debug/wcsrtombs_chk.c: Likewise.
50706 * debug/wcstombs_chk.c: Likewise.
50707 * dirent/dirent.h: Likewise.
50708 * dlfcn/dlfcn.h: Likewise.
50709 * elf/neededtest4.c: Likewise.
50710 * grp/grp.h: Likewise.
50711 * gshadow/gshadow.h: Likewise.
50712 * iconv/gconv.h: Likewise.
50713 * iconv/gconv_int.h: Likewise.
50714 * iconv/gconv_simple.c: Likewise.
50715 * iconv/iconv.h: Likewise.
50716 * iconv/loop.c: Likewise.
50717 * iconv/skeleton.c: Likewise.
50718 * include/aio.h: Likewise.
50719 * include/aliases.h: Likewise.
50720 * include/argz.h: Likewise.
50721 * include/arpa/inet.h: Likewise.
50722 * include/assert.h: Likewise.
50723 * include/dirent.h: Likewise.
50724 * include/dlfcn.h: Likewise.
50725 * include/execinfo.h: Likewise.
50726 * include/fcntl.h: Likewise.
50727 * include/fenv.h: Likewise.
50728 * include/glob.h: Likewise.
50729 * include/grp.h: Likewise.
50730 * include/libintl.h: Likewise.
50731 * include/mntent.h: Likewise.
50732 * include/netdb.h: Likewise.
50733 * include/pwd.h: Likewise.
50734 * include/rpc/netdb.h: Likewise.
50735 * include/sched.h: Likewise.
50736 * include/search.h: Likewise.
50737 * include/shadow.h: Likewise.
50738 * include/signal.h: Likewise.
50739 * include/stdio.h: Likewise.
50740 * include/stdlib.h: Likewise.
50741 * include/string.h: Likewise.
50742 * include/sys/socket.h: Likewise.
50743 * include/sys/stat.h: Likewise.
50744 * include/sys/statfs.h: Likewise.
50745 * include/sys/statvfs.h: Likewise.
50746 * include/sys/syslog.h: Likewise.
50747 * include/sys/time.h: Likewise.
50748 * include/sys/uio.h: Likewise.
50749 * include/time.h: Likewise.
50750 * include/unistd.h: Likewise.
50751 * include/utmp.h: Likewise.
50752 * include/wchar.h: Likewise.
50753 * include/wctype.h: Likewise.
50754 * inet/aliases.h: Likewise.
50755 * inet/arpa/inet.h: Likewise.
50756 * inet/netinet/ether.h: Likewise.
50757 * inet/netinet/in.h: Likewise.
50758 * intl/libintl.h: Likewise.
50759 * io/bits/fcntl2.h: Likewise.
50760 * io/fcntl.h: Likewise.
50761 * io/ftw.h: Likewise.
50762 * io/sys/poll.h: Likewise.
50763 * io/sys/stat.h: Likewise.
50764 * io/sys/statfs.h: Likewise.
50765 * io/sys/statvfs.h: Likewise.
50766 * io/utime.h: Likewise.
50767 * libio/bits/stdio.h: Likewise.
50768 * libio/bits/stdio2.h: Likewise.
50769 * libio/libio.h: Likewise.
50770 * libio/libioP.h: Likewise.
50771 * libio/stdio.h: Likewise.
50772 * locale/lc-ctype.c: Likewise.
50773 * locale/locale.h: Likewise.
50774 * login/utmp.h: Likewise.
50775 * malloc/arena.c: Likewise.
50776 * malloc/malloc.c: Likewise.
50777 * malloc/malloc.h: Likewise.
50778 * malloc/mcheck.c: Likewise.
50779 * malloc/mtrace.c: Likewise.
50780 * math/bits/mathcalls.h: Likewise.
50781 * math/fenv.h: Likewise.
50782 * math/math_private.h: Likewise.
50783 * misc/bits/error.h: Likewise.
50784 * misc/bits/syslog.h: Likewise.
50785 * misc/err.h: Likewise.
50786 * misc/error.h: Likewise.
50787 * misc/fstab.h: Likewise.
50788 * misc/mntent.h: Likewise.
50789 * misc/regexp.h: Likewise.
50790 * misc/search.h: Likewise.
50791 * misc/sgtty.h: Likewise.
50792 * misc/sys/mman.h: Likewise.
50793 * misc/sys/syslog.h: Likewise.
50794 * misc/sys/uio.h: Likewise.
50795 * misc/sys/xattr.h: Likewise.
50796 * misc/ttyent.h: Likewise.
50797 * nis/rpcsvc/ypclnt.h: Likewise.
50798 * nss/nss.h: Likewise.
50799 * posix/bits/unistd.h: Likewise.
50800 * posix/fnmatch.h: Likewise.
50801 * posix/glob.h: Likewise.
50802 * posix/sched.h: Likewise.
50803 * posix/spawn.h: Likewise.
50804 * posix/sys/wait.h: Likewise.
50805 * posix/unistd.h: Likewise.
50806 * posix/wordexp.h: Likewise.
50807 * pwd/pwd.h: Likewise.
50808 * resolv/netdb.h: Likewise.
50809 * resource/sys/resource.h: Likewise.
50810 * rt/aio.h: Likewise.
50811 * rt/bits/mqueue2.h: Likewise.
50812 * rt/mqueue.h: Likewise.
50813 * shadow/shadow.h: Likewise.
50814 * signal/signal.h: Likewise.
50815 * socket/send.c: Likewise.
50816 * socket/sendto.c: Likewise.
50817 * socket/sys/socket.h: Likewise.
50818 * stdio-common/printf.h: Likewise.
50819 * stdlib/bits/stdlib.h: Likewise.
50820 * stdlib/fmtmsg.h: Likewise.
50821 * stdlib/monetary.h: Likewise.
50822 * stdlib/stdlib.h: Likewise.
50823 * stdlib/ucontext.h: Likewise.
50824 * streams/stropts.h: Likewise.
50825 * string/argz.h: Likewise.
50826 * string/bits/string2.h: Likewise.
50827 * string/string.h: Likewise.
50828 * string/strings.h: Likewise.
50829 * sunrpc/rpc/auth.h: Likewise.
50830 * sunrpc/rpc/auth_des.h: Likewise.
50831 * sunrpc/rpc/clnt.h: Likewise.
50832 * sunrpc/rpc/netdb.h: Likewise.
50833 * sunrpc/rpc/pmap_clnt.h: Likewise.
50834 * sunrpc/rpc/xdr.h: Likewise.
50835 * sysdeps/generic/inttypes.h: Likewise.
50836 * sysdeps/generic/net/if.h: Likewise.
50837 * sysdeps/generic/sys/swap.h: Likewise.
50838 * sysdeps/gnu/net/if.h: Likewise.
50839 * sysdeps/gnu/utmpx.h: Likewise.
50840 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50841 * sysdeps/i386/i486/bits/string.h: Likewise.
50842 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50843 * sysdeps/s390/bits/string.h: Likewise.
50844 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50845 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50846 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50847 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50848 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50849 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50850 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50851 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50852 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50853 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50854 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50855 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50856 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50857 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50858 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50859 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50860 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50863 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50864 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50865 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50866 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50867 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50868 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50869 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50870 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50871 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50872 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50874 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50875 * sysvipc/sys/ipc.h: Likewise.
50876 * sysvipc/sys/msg.h: Likewise.
50877 * sysvipc/sys/sem.h: Likewise.
50878 * sysvipc/sys/shm.h: Likewise.
50879 * termios/termios.h: Likewise.
50880 * time/sys/time.h: Likewise.
50881 * time/time.h: Likewise.
50882 * wcsmbs/bits/wchar2.h: Likewise.
50883 * wcsmbs/uchar.h: Likewise.
50884 * wcsmbs/wchar.h: Likewise.
50885 * wctype/wctype.h: Likewise.
50886
0269750c
UD
50887 [BZ #13551]
50888 * Makeconfig: Remove all but ELF support including AIX support.
50889 * Makerules: Likewise.
50890 * config.h.in: Likewise.
50891 * config.make.in: Likewise.
50892 * configure: Likewise.
50893 * configure.in: Likewise.
50894 * csu/Makefile: Likewise.
50895 * csu/version.c: Likewise.
50896 * debug/Makefile: Likewise.
50897 * dlfcn/Makefile: Likewise.
50898 * elf/Makefile: Likewise.
50899 * extra-lib.mk: Likewise.
50900 * iconv/Makefile: Likewise.
50901 * include/libc-symbols.h: Likewise.
50902 * include/shlib-compat.h: Likewise.
50903 * resolv/Makefile: Likewise.
50904 * resolv/res_libc.c: Likewise.
50905 * rt/Makefile: Likewise.
50906 * sysdeps/i386/asm-syntax.h: Likewise.
50907 * sysdeps/i386/sysdep.h: Likewise.
50908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50909 * sysdeps/mach/sysdep.h: Likewise.
50910 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50911 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50912 * sysdeps/s390/asm-syntax.h: Likewise.
50913 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50915 * sysdeps/sh/sysdep.h: Likewise.
50916 * sysdeps/unix/sparc/sysdep.h: Likewise.
50917 * sysdeps/wordsize-32/divdi3.c: Likewise.
50918 * sysdeps/x86_64/sysdep.h: Likewise.
50919
00bbd29b
UD
50920 * argp/Versions: Remove _argp_unlock_xxx.
50921
50922 [BZ #13559]
50923 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50924 * abilist/libBrokenLocale.abilist: Likewise.
50925 * abilist/libanl.abilist: Likewise.
50926 * abilist/libc.abilist: Likewise.
50927 * abilist/libcrypt.abilist: Likewise.
50928 * abilist/libdl.abilist: Likewise.
50929 * abilist/libm.abilist: Likewise.
50930 * abilist/libnsl.abilist: Likewise.
50931 * abilist/libpthread.abilist: Likewise.
50932 * abilist/libresolv.abilist: Likewise.
50933 * abilist/librt.abilist: Likewise.
50934 * abilist/libthread_db.abilist: Likewise.
50935 * abilist/libutil.abilist: Likewise.
50936 * abilist/libnss_db.abilist: New file.
50937
50938 * scripts/abilist.awk: Add support for indirect functions.
50939
a2693a0e
UD
50940 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50941
3f05895f
UD
50942 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50943
ecb6fb48
UD
50944 * shlib-versions: Remove entries for ports architectures.
50945
664f8cb9
UD
50946 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50947 files in ports.
50948 * elf/stackguard-macros.h: Remove support for IA-64.
50949 * elf/tst-auditmod1.c: Likewise.
50950 * sysdeps/generic/ldsodefs.h: Likewise.
50951
7ae81d88
UD
50952 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50953 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50954 configure files.
50955
bdeba135
UD
50956 [BZ #13552]
50957 * configure.in: Remove --enable-omitfp support.
50958 * FAQ.in: Adjust.
50959 * config.make.in: Likewise.
50960 * Makeconfig: Likewise.
50961 * manual/install.texi: Likewise.
50962
d75a0a62
UD
50963 In case anyone cares, the IA-64 architecture could move to ports.
50964 * sysdeps/ia64/*: Removed.
50965 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50966 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50967
dcc9756b
UD
50968 [BZ #13555]
50969 * configure.in: Remove entries for unsupported architectures.
50970
d3761ebc 50971 [BZ #13533]
9954432e
UD
50972 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50973 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50974 routines.
50975 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50976 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50977 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50978 fall back to using wcrtomb.
50979 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50980 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50981 renaming.
50982 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50983 * wcsmbs/tst-c16c32-1.c: New file.
50984
50985 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50986 local variable.
50987
c3a87236
UD
50988 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50989
28926a1b
UD
50990 * elf/tst-unique3.cc: Add explicit declaration of gets.
50991 * elf/tst-unique3lib.cc: Likewise.
50992 * elf/tst-unique3lib2.cc: Likewise.
50993 * elf/tst-unique4.cc: Likewise.
50994
df78418a
UD
50995 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50996
8ecd6b2a
JM
509972012-01-06 Joseph Myers <joseph@codesourcery.com>
50998
50999 [BZ #13566]
51000 * assert/assert.h (static_assert): Don't define for C++.
51001 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51002 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51003
9f115170
UD
510042012-01-03 Ulrich Drepper <drepper@gmail.com>
51005
5e0d0300
UD
51006 * iconv/loop.c (single loop): Fix assertion in storing of
51007 remaining bytes.
51008
9f115170
UD
51009 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51010
81fb02b0
UD
510112012-01-01 Ulrich Drepper <drepper@gmail.com>
51012
51013 * posix/getconf.c: Update copyright year.
51014 * nss/getent.c: Likewise.
a316c1f6 51015 * nss/makedb.c: Likewise.
81fb02b0
UD
51016 * iconv/iconvconfig.c: Likewise.
51017 * iconv/iconv_prog.c: Likewise.
51018 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51019 * elf/pldd.c: Likewise.
51020 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51021 * catgets/gencat.c: Likewise.
51022 * csu/version.c: Likewise.
51023 * elf/ldd.bash.in: Likewise.
51024 * elf/sprof.c (print_version): Likewise.
51025 * locale/programs/locale.c: Likewise.
51026 * locale/programs/localedef.c: Likewise.
a316c1f6 51027 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51028 * nscd/nscd.c (print_version): Likewise.
51029 * debug/xtrace.sh: Likewise.
51030 * malloc/memusage.sh: Likewise.
51031 * malloc/mtrace.pl: Likewise.
51032 * debug/catchsegv.sh: Likewise.
51033
2ba92745
JJ
510342011-12-30 Jakub Jelinek <jakub@redhat.com>
51035
51036 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51037 pure attribute.
51038
dadebdae
UD
510392011-12-24 Ulrich Drepper <drepper@gmail.com>
51040
d3761ebc 51041 [BZ #13533]
db6af3eb
UD
51042 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51043 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51044 transformations.
51045 * iconv/gconv_int.h: Likewise.
51046 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51047 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51048 from libc for GLIBC_2.16.
51049 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51050 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51051 * wcsmbs/uchar.h: Really define mbstate_t.
51052 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51053 * wcsmbs/c16rtomb.c: New file.
51054 * wcsmbs/mbrtoc16.c: New file.
51055 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51056 for C/POSIX locale.
51057 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51058 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51059
dadebdae
UD
51060 * wcsmbs/wchar.h: Add missing __restrict.
51061
67371b56
UD
510622011-12-23 Ulrich Drepper <drepper@gmail.com>
51063
74033a25
UD
51064 [BZ #13532]
51065 * time/Makefile (routines): Add timespec_get.
51066 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51067 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51068 timespec for ISO C11.
51069 * time/timespec_get.c: New file.
51070 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51071 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51072
380d7e87
UD
51073 [BZ #13531]
51074 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51075 * stdlib/stdlib.h: Declare aligned_alloc.
51076 * Versions.def: Add GLIBC_2.16 for libc.
51077 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51078
4e9e7a35
UD
51079 [BZ 13527]
51080 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51081 ISO C11.
51082
380d7e87 51083 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51084 code.
51085
03a71829
UD
51086 [BZ #13528]
51087 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51088
839e283e
UD
51089 [BZ #13529]
51090 * assert/assert.h (static_assert): Define.
51091
ce5294e2 51092 * version.h: Update for 2.16 development version.
90fa7312 51093
8d44e150 51094 [BZ #13526]
d7809905
UD
51095 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51096 _ISOC11_SOURCE.
51097
c0da14cd
UD
51098 * version.h (RELEASE): Bump for 2.15 release.
51099 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51100
530a3249
MP
51101 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51102 Patch by Marek Polacek <mpolacek@redhat.com>.
51103
67371b56
UD
51104 * bits/byteswap.h: Protect long long constants with __extension__.
51105 * sysdeps/i386/bits/byteswap.h: Likewise.
51106 * sysdeps/ia64/bits/byteswap.h: Likewise.
51107 * sysdeps/s390/bits/byteswap.h: Likewise.
51108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51109
15db4de1
LD
511102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51111
51112 [BZ #13540]
bbe315ea
LD
51113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51114 destination buffer.
15db4de1
LD
51115 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51116
2b2596b1
MP
511172011-12-23 Marek Polacek <polacek@redhat.com>
51118
51119 * elf/dl-addr.c (determine_info): Add inline keyword.
51120 * elf/tst-auditmod4b.c (check_avx): Likewise.
51121 * elf/tst-auditmod6b.c (check_avx): Likewise.
51122 * elf/tst-auditmod6c.c (check_avx): Likewise.
51123 * elf/tst-auditmod7b.c (check_avx): Likewise.
51124
70c6c246
UD
511252011-12-23 Ulrich Drepper <drepper@gmail.com>
51126
51127 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51128 !__SSE_MATH__.
51129
c044cf14
LD
511302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51131
15db4de1 51132 [BZ #13540]
c044cf14
LD
51133 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51134 processing for last bytes.
51135
6b13d9d9
BH
511362011-08-06 Bruno Haible <bruno@clisp.org>
51137
d455f537
BH
51138 [BZ #13061]
51139 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51140 U+0385, not to U+1FEE.
51141
6b13d9d9
BH
51142 [BZ #13062]
51143 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51144 entry for U+00A5 U+0301.
51145
db910efd
UD
511462011-12-22 Ulrich Drepper <drepper@gmail.com>
51147
27deeafc
UD
51148 [BZ #13166]
51149 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51150 buffer for the output is too small.
51151
aed9d171
UD
51152 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51153 optimization.
51154
db910efd
UD
51155 [BZ #13185]
51156 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51157 SSE flags if possible.
51158
2bd779ae
LD
511592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51160
e7f9dac3 51161 [BZ #13540]
2bd779ae
LD
51162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51163 processing for last bytes.
51164
154bfc16
JM
511652011-12-22 Joseph Myers <joseph@codesourcery.com>
51166
51167 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51168 (syscall-list-default-options, syscall-list-default-condition)
51169 (syscall-list-includes): Define.
51170 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51171 list of ABIs and options and #if conditions for each ABI. Do not
51172 handle common syscalls between ABIs specially.
51173 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51174 Remove.
51175 (syscall-list-variants, syscall-list-32bit-options)
51176 (syscall-list-32bit-condition, syscall-list-64bit-options)
51177 (syscall-list-64bit-condition): Define.
51178 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51179 (syscall-list-variants, syscall-list-32bit-options)
51180 (syscall-list-32bit-condition, syscall-list-64bit-options)
51181 (syscall-list-64bit-condition): Define.
51182 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51183 Remove.
51184 (syscall-list-variants, syscall-list-32bit-options)
51185 (syscall-list-32bit-condition, syscall-list-64bit-options)
51186 (syscall-list-64bit-condition): Define.
51187 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51188 Remove.
51189 (syscall-list-variants, syscall-list-32bit-options)
51190 (syscall-list-32bit-condition, syscall-list-64bit-options)
51191 (syscall-list-64bit-condition): Define.
51192
21eaf3a5
UD
511932011-12-22 Ulrich Drepper <drepper@gmail.com>
51194
16c6f992
UD
51195 * locale/iso-639.def: Add brx entry.
51196
41043168
UD
51197 [BZ #13328]
51198 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51199 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51200
21eaf3a5
UD
51201 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51202 __feraiseexcept_renamed.
51203
e3a851a2
UD
512042011-12-21 Ulrich Drepper <drepper@gmail.com>
51205
4920765e
UD
51206 [BZ #13538]
51207 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51208 EPOLLET with unsigned values.
51209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51211
e3a851a2
UD
51212 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51213 to large cancellation.
51214 * math/s_cacoshf.c: Likewise.
51215 * math/s_cacoshl.c: Likewise.
51216
b27e24b8
RK
512172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51218
51219 [BZ #13305]
aebefeee 51220 [BZ #12786]
b27e24b8
RK
51221 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51222 * math/s_cacoshf.c: Likewise.
51223 * math/s_cacoshl.c: Likewise.
51224
ee190f67
UD
512252011-12-21 Ulrich Drepper <drepper@gmail.com>
51226
51227 [BZ #13439]
51228 * iconv/gconv.h: Define __GCONV_SWAP.
51229 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51230 * iconvdata/utf-16.c: Likewise.
51231 * iconvdata/utf-32.c: Likewise.
51232
707f25df
AS
512332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51234
51235 [BZ #13524]
51236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51237 numerator after shifting it by one limb.
51238
d2daaa1e
RÁE
512392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51240
51241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51242 under [__USE_EXTERN_INLINES].
51243
a4647e72
UD
512442011-12-17 Ulrich Drepper <drepper@gmail.com>
51245
51246 [BZ #13446]
51247 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51248
f0b264f1
AZ
512492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51250
51251 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51252 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51253 optimized code.
51254 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51255 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51256 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51257 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51258 for strncasecmp/strncasecmp_l compilation.
51259 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51260 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51261
8ef4f244
MP
512622011-12-08 Marek Polacek <mpolacek@redhat.com>
51263
51264 [BZ #13484]
51265 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51266 of __asm__.
51267
97ac2654
UD
512682011-12-17 Ulrich Drepper <drepper@gmail.com>
51269
51270 [BZ #13506]
51271 * time/tzfile.c (__tzfile_read): Check values from file header.
51272
91d2a845
WS
512732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51274
51275 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51276 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51277 * powerpc/powerpc32/dl-start.S: Likewise.
51278 * powerpc/powerpc32/elf/start.S: Likewise.
51279 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51280 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51281 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51282 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51283 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51284 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51285 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51286 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51287 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51288 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51289 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51290 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51291 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51292 * powerpc/powerpc32/memset.S: Likewise.
51293 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51294 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51295 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51296 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51297 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51298 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51299 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51300 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51301 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51302 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51303 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51304 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51305 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51306
a1267ba1
AZ
513072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51308
51309 * math/libm-test.inc: Added more nearbyint tests.
51310 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51311 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51312 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51313 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51314
ad8ac1bd
RL
513152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51316
51317 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51318 FD_CLOEXEC.
51319
1d3e4b61
UD
513202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51321
51322 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51323 Add wcscpy-ssse3 wcscpy-c.
51324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51325 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51326 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51327 * sysdeps/x86_64/wcschr.S: New file.
51328 * sysdeps/x86_64/wcsrchr.S: New file.
51329 * string/test-strcmp.c: Remove checking of wcscmp function for
51330 wrong alignments.
51331 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51332 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51333 wcsrchr-sse2 wcsrchr-c.
51334 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51335 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51336 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51337 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51338 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51339 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51340 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51341 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51343 * wcsmbc/wcschr.c (WCSCHR): New macro.
51344
5b330a2d
UD
513452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51346
51347 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51348 * wcsmbs/test-wcsrchr.c: New file.
51349 * string/test-strrchr.c: Add wcsrchr support.
51350 (WIDE): New macro.
51351 * wcsmbs/test-wcscpy.c: New file.
51352 * string/test-strcpy.c: Add wcscpy support.
51353 (WIDE): New macro.
26428b7c 51354
f039c043
UD
513552011-12-10 Ulrich Drepper <drepper@gmail.com>
51356
51357 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51358 the inner loop.
51359
850fb039
AS
513602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51361
51362 [BZ #13472]
51363 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51364
4efbd5cb
UD
513652011-12-04 Ulrich Drepper <drepper@gmail.com>
51366
52ff5dd0 51367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51368 Minor optimizations.
52ff5dd0 51369
4efbd5cb
UD
51370 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51371 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51372 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51373
8a426e12
UD
513742011-12-03 Ulrich Drepper <drepper@gmail.com>
51375
aff2453d
UD
51376 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51377 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51378 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51379 for gcc to avoid warnings.
51380 * inet/Makefile (tests): Add tst-checks.
51381 * inet/tst-checks.c: New file.
51382
51383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51384 warning.
51385
51386 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51387 __wmemcmp_sse2.
51388
51389 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51390 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51391
8a426e12
UD
51392 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51393
9bea3473
UD
513942011-12-02 Ulrich Drepper <drepper@gmail.com>
51395
3a965496
UD
51396 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51397 problem.
51398
9bea3473
UD
51399 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51400
f101631b
UD
514012011-11-29 Joseph Myers <joseph@codesourcery.com>
51402
51403 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51404 conditional on GCC version.
51405 (__arch_compare_and_exchange_val_8_acq)
51406 (__arch_compare_and_exchange_val_16_acq)
51407 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51408 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51409 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51410
a98275aa
UD
514112011-12-02 Joseph Myers <joseph@codesourcery.com>
51412
51413 * sysdeps/sh/backtrace.c: New file.
51414
d4cc29a2
AS
514152011-12-02 Andreas Schwab <schwab@redhat.com>
51416
51417 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51418 parenthesis.
51419
6257af2d
AS
514202011-12-01 Andreas Schwab <schwab@redhat.com>
51421
51422 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51423 falling back to utime.
51424
b5f44c1a
AS
514252011-11-30 Andreas Schwab <schwab@redhat.com>
51426
51427 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51428 expectations for float.
51429
f3a6cc0a
AS
514302011-11-29 Andreas Schwab <schwab@redhat.com>
51431
51432 * locale/weight.h (findidx): Add parameter len.
51433 * locale/weightwc.h (findidx): Likewise.
51434 * posix/fnmatch_loop.c (FCT): Adjust caller.
51435 * posix/regcomp.c (build_equiv_class): Likewise.
51436 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51437 * posix/regexec.c (check_node_accept_bytes): Likewise.
51438 * string/strcoll_l.c (STRCOLL): Likewise.
51439 * string/strxfrm_l.c (STRXFRM): Likewise.
51440
9d65ea3a
UD
514412011-11-17 Ulrich Drepper <drepper@gmail.com>
51442
51443 * Makefile.in: Remove CVSOPT handling.
51444 * configure.in: Remove use of AC_REVISION.
51445 * iconvdata/Makefile (distribute): No need to filter out CVS.
51446 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51447 handling.
51448
5583a086
AS
514492011-11-16 Andreas Schwab <schwab@redhat.com>
51450
51451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51452 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51453 [USE_AS_STRNCASECMP_L]: Likewise.
51454 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51455 NO_TLS_DIRECT_SEG_REFS.
51456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51457 Fix argument offsets for non-PIC.
51458 [USE_AS_STRNCASECMP_L]: Likewise.
51459 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51460 NO_TLS_DIRECT_SEG_REFS.
51461
d62a8200
UD
514622011-11-15 Ulrich Drepper <drepper@gmail.com>
51463
9d65ea3a 51464 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51465 O_CLOEXEC.
51466 * locale/loadlocale.c (_nl_load_locale): Likewise.
51467
09f93bd3
AS
514682011-11-15 Andreas Schwab <schwab@redhat.com>
51469
446514f9
AS
51470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51471 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51473 (SYSCALL_GETTIME): Set errno on error.
51474
09f93bd3
AS
51475 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51476 count references to noai6ai_cached.
51477
312be3f9
UD
514782011-11-15 Ulrich Drepper <drepper@gmail.com>
51479
51480 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51481
51482 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51483 FD_CLOEXEC for /proc/self/maps.
51484
51485 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51486 FD_CLOEXEC for /proc/meminfo.
51487
51488 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51489 gai.conf.
51490
51491 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51492 FD_CLOEXEC for given file.
51493
51494 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51495
51496 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51497 FD_CLOEXEC for /etc/hosts.
51498 (_gethtent): Likewise.
51499
51500 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51501
51502 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51503 cancellation and set FD_CLOEXEC for /etc/netgroup.
51504
51505 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51506 reading /etc/publickey.
51507
51508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51509 allow cancellation when reading /etc/group.
51510
51511 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51512 cancellation.
51513 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51514
51515 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51516 when using data file.
51517
51518 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51519
51520 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51521 (write_nis_obj): Use "c" and "e" in fopen.
51522
51523 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51524
51525 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51526
51527 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51528
51529 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51530
51531 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51532 locale.alias.
51533
51534 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51535
51536 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51537
51538 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51539
51540 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51541 file parsing and set FD_CLOEXEC.
51542
82af0fa8
UD
515432011-11-14 Ulrich Drepper <drepper@gmail.com>
51544
51545 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51546
a5fb313c
AS
515472011-11-14 Andreas Schwab <schwab@redhat.com>
51548
51549 * malloc/arena.c (arena_get2): Don't call reused_arena when
51550 _int_new_arena failed.
51551
6abf3465
UD
515522011-11-14 Ulrich Drepper <drepper@gmail.com>
51553
51554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51555 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51560 to compile strcasecmp and strncasecmp.
51561 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51562 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51563
51564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51565
76e3966e
UD
515662011-11-13 Ulrich Drepper <drepper@gmail.com>
51567
51568 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51569 locale-defines.sym to gen-as-const-headers.
51570 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51571 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51573 to compile strcasecmp and strncasecmp.
51574 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51575 strcasecmp_l and strncasecmp_l.
51576 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51577 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51578 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51579 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51580 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51581 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51582 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51583 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51584 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51585 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51586 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51587
ab26144e
UD
515882011-11-12 Ulrich Drepper <drepper@gmail.com>
51589
7edb22ef
UD
51590 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51591 result of SYSDEP_GETTIME_CPU to retval.
51592 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51593 parameter list to macro. Remove trailing semicolon. Adjust users.
51594
9694fc44
UD
51595 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51596 variable.
51597
8ad89ef8
UD
51598 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51599 mantissa words.
51600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51601
0c822ef9
UD
51602 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51603 from unused variable.
51604
874e0564
UD
51605 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51606 DWARF definitions.
51607 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51608 for assembling.
51609
3a2edc79
UD
51610 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51611 over namespaces.
51612
f3c2577f
UD
51613 * sunrpc/rpc_prot.c (rejected): Fix case value.
51614
294ce126
UD
51615 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51616 unsigned long long int to avoid warnings in shift.
51617
5e2b63c6
UD
51618 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51619 of use of trans.
51620 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51621 variable tmp.
51622
e7f4b08e
UD
51623 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51624 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51625 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51626
ab26144e
UD
51627 * nis/nis_table.c (nis_list): Use variable of correct type for
51628 result of __follow_path call.
51629
8a6d5255
AZ
516302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51631
51632 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51633 of math functions ceil, trunc, floor, round, and sqrt, when
51634 avaliable on the platform.
51635 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51636 name clash.
51637 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51638 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51639 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51640
aaddc98c
MP
516412011-10-30 Marek Polacek <mpolacek@redhat.com>
51642
51643 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51645
95b7042b
RM
516462011-11-11 Roland McGrath <roland@hack.frob.com>
51647
51648 * include/unistd.h: Fix __readlink return type.
51649 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51650
57769839
UD
516512011-11-11 Ulrich Drepper <drepper@gmail.com>
51652
51653 * stdlib/ucontext.h: Undo last change for makecontext.
51654
edc5984d
AS
516552011-11-11 Andreas Schwab <schwab@redhat.com>
51656
98591e58
AS
51657 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51658
edc5984d
AS
51659 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51660 * setjmp/setjmp.h: Mark functions as non-leaf.
51661 * setjmp/bits/setjmp2.h: Likewise.
51662 * stdlib/ucontext.h: Likewise.
51663
77cdc054
AS
516642011-11-10 Andreas Schwab <schwab@redhat.com>
51665
51666 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51667 (reused_arena): Don't check arena limit.
51668 (arena_get2): Atomically check arena limit.
51669
fe72eebd
UD
516702011-11-08 Ulrich Drepper <drepper@gmail.com>
51671
5f078c32
UD
51672 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51673 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51674
fe72eebd
UD
51675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51676 instructions.
51677
ae1bc2fa
AS
516782011-11-07 Andreas Schwab <schwab@redhat.com>
51679
7583a88d
AS
51680 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51681 handler when locking.
51682
ae1bc2fa
AS
51683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51684 Fix size of allocated buffer.
51685
10fb0bfa
AS
516862011-11-04 Andreas Schwab <schwab@redhat.com>
51687
998832a4
AS
51688 [BZ #10103]
51689 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51690 declarations for long double functions.
51691 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51692
10fb0bfa
AS
51693 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51694
3d7ba52b
AS
516952011-11-03 Andreas Schwab <schwab@redhat.com>
51696
a9ae54a1
AS
51697 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51698 installed.
51699
3d7ba52b
AS
51700 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51701 is disabled.
51702
bc8db248
ST
517032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51704
51705 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51706
45b96dd6
AS
517072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51708
647776f6
AS
51709 * include/alloca.h (stackinfo_alloca_round): Define.
51710 (extend_alloca): Use it.
51711 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51712 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51713 here.
51714
d91a8b93
AS
51715 * scripts/check-local-headers.sh: Ignore libaudit.h.
51716
45b96dd6
AS
51717 * nscd/Makefile (extra-objs): Make recursively expanded.
51718
432d41ce
UD
517192011-11-01 Ulrich Drepper <drepper@gmail.com>
51720
34372fc6
UD
51721 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51723
fadb59f8
UD
51724 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51725 * posix/tst-rfc3484-2.c: Likewise.
51726 * posix/tst-rfc3484-3.c: Likewise.
51727
78239589
UD
51728 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51729 process_vm_writev.
51730 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51731 process_vm_writev.
51732 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51733 process_vm_writev from libc using GLIBC_2.15 version.
51734
432d41ce
UD
51735 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51736
02f9c6cf
PP
517372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51738
51739 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51740 stack usage.
51741
3a2c0242
UD
517422011-10-31 Ulrich Drepper <drepper@gmail.com>
51743
f4ec4833
UD
51744 [BZ #13367]
51745 * nss/getent.c (initgroups_keys): Show error message in case no group
51746 names are given.
51747
3a2c0242
UD
51748 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51749 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51750 __bump_nl_timestamp.
51751 * nscd/connections (nscd_init): When host database is served open
51752 netlink socket and request notification about configuration changes.
51753 (main_loop_poll): Track netlink file descriptor and bump timestamp
51754 in case data becomes available.
51755 (main_loop_epoll): Likewise.
51756 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51757 (database_pers_head): Add extra_data fileds.
51758 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51760 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51761 Adjust caller.
51762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51763 in6ai data, call __free_in6ai.
51764 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51765 Add -DHAVE_NETLINK.
51766 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51767 interface information. Reuse previous data if netlink timestamp
51768 is not changed.
51769 (__bump_nl_timestamp): New function.
51770 (__free_in6ai): New function.
51771
636064eb
UD
517722011-10-30 Ulrich Drepper <drepper@gmail.com>
51773
51774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51775 close_not_cancel_no_status here.
51776 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51777
9beb2334
UD
517782011-10-29 Ulrich Drepper <drepper@gmail.com>
51779
6ef76f3b
UD
51780 [BZ #13276]
51781 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51782 return value.
51783
0ffc4f3e 51784 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51785 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51786 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51787
cb95113e
UD
517882011-07-03 Andreas Jaeger <aj@suse.de>
51789
51790 [BZ #10709]
51791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51792 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51793 * math/libm-test.inc (sin_test): Add test case.
51794
a1b560ff
UD
517952011-10-29 Ulrich Drepper <drepper@gmail.com>
51796
c9aaface
UD
51797 [BZ #13337]
51798 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51800
d272e7f1
UD
51801 * elf/chroot_canon.c (chroot_canon): Cleanups.
51802
1bc33071
UD
51803 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51804
1760874d
TJ
51805 [BZ #13335]
51806 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51807 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51808
51d91b18
UD
51809 * string/test-strchr.c: Make usable for strchrnul testing.
51810 * string/test-strchrnul.c: New file.
51811 * string/Makefile (strop-tests): Add strchrnul.
51812
a1b560ff 51813 * po/it.po: Update from translation team.
b611fb81 51814 * po/es.po: Likewise.
a1b560ff 51815
a5b81e1f
UD
518162011-10-28 Ulrich Drepper <drepper@gmail.com>
51817
fd52bc6d
UD
51818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51819 the three constants needed as parameters. Drop the others.
51820 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51821 __m128i_strloadu_tolower.
52e4b9eb
UD
51822 Create and initialize variable zero and use it in all the places
51823 where _mm_setzero_si128 was used.
fd52bc6d 51824
a5b81e1f
UD
51825 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51826 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51827 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51828 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51829 anymore.
51830 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51831 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51832 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51833 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51835 __mpranred, __mptan.
51836 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51837 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51838 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51839 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51840 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51841 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51843 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51844 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51845
b4343346
AS
518462011-10-28 Andreas Schwab <schwab@redhat.com>
51847
0c92d8a8
AS
51848 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51849 redefine if SHARED.
51850 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51851
b4343346
AS
51852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51853 wide char related routines to wcsmbs subdir.
51854
3871f58f
AS
518552011-10-27 Andreas Schwab <schwab@redhat.com>
51856
51857 [BZ #13344]
51858 * misc/sys/cdefs.h (__THROWNL): Define.
51859 * posix/unistd.h: Use __THREADNL instead of __THREAD
51860 for memory synchronization functions.
51861
94d44d9f
RM
518622011-10-26 Roland McGrath <roland@hack.frob.com>
51863
21b64b15 51864 [BZ #13349]
94d44d9f
RM
51865 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51866 doesn't exist.
51867 * manual/stdio.texi (Obstack Streams): Node removed.
51868
f6ce9294
AS
518692011-10-26 Andreas Schwab <schwab@redhat.com>
51870
80479147
AS
51871 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51872 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51873 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51874
f6ce9294
AS
51875 * math/math_private.h (math_force_eval): Allow non-addressable
51876 arguments.
51877 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51878
618280a1
UD
518792011-10-25 Ulrich Drepper <drepper@gmail.com>
51880
e0016b11
UD
51881 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51882 file is not needed.
51883
51884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51891 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51892 Add AVX variants.
51893 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51894 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51895 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51896 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51898 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51899 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51900 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51901 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51902 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51903 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51904 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51906 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51909 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51910 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51911 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51912
51913 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51914 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51915
618280a1
UD
51916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51917 place. Use VEX encoding when compiling for AVX.
51918
37822576
AS
519192011-10-25 Andreas Schwab <schwab@redhat.com>
51920
1f1e1947
AS
51921 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51922 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51923
37822576
AS
51924 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51925
31ea014d
UD
519262011-10-25 Ulrich Drepper <drepper@gmail.com>
51927
d7826aa1 51928 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51929 useless if() expression.
d7826aa1
UD
51930 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51931 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51936 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51938 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51941 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51942 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51944 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51945 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51947 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51948 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51949
31ea014d
UD
51950 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51951
16437fec
AS
519522011-10-25 Andreas Schwab <schwab@redhat.com>
51953
51954 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51955 condition.
51956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51957
31d3cc00
UD
519582011-10-25 Ulrich Drepper <drepper@gmail.com>
51959
51960 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51961 .text section. Avoid duplicate constants.
51962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51974 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51975 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51978 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51979 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51980 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51982 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51983 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51985 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51986 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51987 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51988 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51989 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51991 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51992 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51995 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51996 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51998 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51999 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52000 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52003 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52004 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52005 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52006 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52007
58985aa9
UD
520082011-10-24 Ulrich Drepper <drepper@gmail.com>
52009
202c9deb
UD
52010 * sysdeps/x86_64/dla.h: Move to ...
52011 * sysdeps/x86_64/fpu/dla.h: ...here.
52012 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52013 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52014
af968f62
UD
52015 * config.make.in: Add have-mfma4 entry.
52016 * configure.in: Substitute libc_cv_cc_fma4.
52017 * math/Makefile (dbl-only-routines): Add sincostab.
52018 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52019 Use __sincostab not sincos.
52020 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52021 name is a macro.
52022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52026 using __copysign.
52027 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52028 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52029 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52030 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52031 and __inv.
52032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52033 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52034 __copysign.
52035 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52036 define aliases when function name is a macro.
52037 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52038 sysdeps/ieee754/dbl-64/sincos.tbl.
52039 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52040 fma4-enabled routines.
52041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52042 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52043 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52044 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52046 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52050 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52051 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52052 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52053 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52054 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52055 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52056 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52057 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52058 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52059 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52060 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52061 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52062 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52064 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52068 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52069 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52070 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52071
58985aa9
UD
52072 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52073 rename.
52074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52082
a201fbcf
AS
520832011-10-24 Andreas Schwab <schwab@redhat.com>
52084
52085 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52086
fc2ee42a
LD
520872011-10-23 Ulrich Drepper <drepper@gmail.com>
52088
bb3129bd
UD
52089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52090
0275fff8
UD
52091 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52092 prediction.
52093 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52094
2fa2ae85
UD
52095 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52096 Remove unused variable magic_bits.
52097 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52098
fc2ee42a
LD
52099 * string/strnlen.c: Define and use STRNLEN macro.
52100 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52101 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52103 * wcsmbs/wcslen.c: Define and use WCSLEN.
52104 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52105 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52106 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52107 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52108 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52109 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52111
ce7dd29f
LD
521122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52113
52114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52115 strnlen-sse2-no-bsf.
52116 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52118 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52119 Add strnlen support.
52120 (USE_AS_STRNLEN): New macro.
52121 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52122 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52123 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52124 * sysdeps/x86_64/wcslen.S: New file.
52125
979c70a3
MZ
521262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52127
52128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52129 XMM-moves are used for copying on small sizes.
52130
2d09f82f
LD
521312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52132
52133 * wcsmbs/Makefile (strop-tests): Add wcschr.
52134 * wcsmbs/test-wcschr.c: New file.
52135 * string/test-strchr.c: Update.
52136 Add wcschr support.
52137 (WIDE): New macro.
52138
619fccca
LD
521392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52140
2d09f82f 52141 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52142 * wcsmbs/test-wcslen.c: New file.
52143 * string/test-strlen.c: Update.
52144 Add wcslen support.
52145 (WIDE): New macro.
52146
09f699ea
UD
521472011-10-23 Ulrich Drepper <drepper@gmail.com>
52148
52149 * po/it.po: Update from translation team.
52150
95584d3b
LD
521512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52152
52153 * sysdeps/x86_64/wcscmp.S: Update.
52154 Fix wrong comparison semantics.
52155 wcscmp shall use signed comparison not unsigned.
52156 Don't use substraction to avoid overflow bug.
52157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52158 * wcsmbc/wcscmp.c: Likewise.
52159 * string/test-strcmp.c: Likewise.
52160 Add new tests to check cases with negative values.
52161
c8b3296b
UD
521622011-10-23 Ulrich Drepper <drepper@gmail.com>
52163
52164 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52165 * sysdeps/x86_64/dla.h: ...here. New file.
52166 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52175
246ad57a
AS
521762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52177
52178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52179 __ynl_finite aliases.
52180
a1a87169
UD
521812011-10-22 Ulrich Drepper <drepper@gmail.com>
52182
0d355eb7
UD
52183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52184
a1a87169
UD
52185 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52186 define DLA_FMA.
52187 [DLA_FMA] (EMULV): Use DLA_FMA.
52188 [DLA_FMA] (MUL12): Use EMULV.
52189 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52190 that are not needed.
52191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52198
ee2aafe0
AS
521992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52200
52201 * math/s_nan.c: Undef __nan.
52202 * math/s_nanf.c: Undef __nanf.
52203 * math/s_nanl.c: Undef __nanl.
52204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52205 "math_private.h".
52206
bc62c2fb
UD
522072011-10-22 Ulrich Drepper <drepper@gmail.com>
52208
77425c63
UD
52209 * math/s_catan.c: Add branch predictions.
52210 * math/s_catanf.c: Likewise.
52211 * math/s_catanh.c: Likewise.
52212 * math/s_catanhf.c: Likewise.
52213 * math/s_catanhl.c: Likewise.
52214 * math/s_catanl.c: Likewise.
52215 * math/s_cexp.c: Likewise.
52216 * math/s_cexpf.c: Likewise.
52217 * math/s_cexpl.c: Likewise.
52218 * math/s_clog.c: Likewise.
52219 * math/s_clog10.c: Likewise.
52220 * math/s_clog10f.c: Likewise.
52221 * math/s_clog10l.c: Likewise.
52222 * math/s_clogf.c: Likewise.
52223 * math/s_clogl.c: Likewise.
52224 * math/s_csqrt.c: Likewise.
52225 * math/s_csqrtf.c: Likewise.
52226 * math/s_csqrtl.c: Likewise.
52227 * math/s_ctanf.c: Likewise.
52228 * math/s_ctanh.c: Likewise.
52229 * math/s_ctanhf.c: Likewise.
52230 * math/s_ctanhl.c: Likewise.
52231 * math/s_ctanl.c: Likewise.
52232
bc62c2fb
UD
52233 * math/math_private.h: Define __nan, __nanf, __nanl.
52234 * math/s_cacosh.c: Include <math_private.h>.
52235 * math/s_cacoshl.c: Likewise.
52236 * math/s_casinh.c: Likewise.
52237 * math/s_casinhf.c: Likewise.
52238 * math/s_casinhl.c: Likewise.
52239 * math/s_ccos.c: Rely entire on ccosh.
52240 * math/s_ccosf.c: Rely entire on ccoshf.
52241 * math/s_ccosl.c: Rely entirely on ccoshl.
52242 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52243 Remove tests for FE_INVALID.
52244 * math/s_ccoshf.c: Likewise.
52245 * math/s_ccoshl.c: Likewise.
52246 * math/s_csin.c: Likewise.
52247 * math/s_csinf.c: Likewise.
52248 * math/s_csinh.c Likewise.
52249 * math/s_csinhf.c: Likewise.
52250 * math/s_csinhl.c: Likewise.
52251 * math/s_csinl.c: Likewise.
52252 * math/s_ctan.c: Likewise.
52253 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52254 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52255 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52256
8ec250a4
UD
522572011-10-21 Ulrich Drepper <drepper@gmail.com>
52258
c196fed8
UD
52259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52260 compilation problems.
52261
8ec250a4
UD
52262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52263 __builtin_expect.
52264
8d4f46c6
UD
522652011-10-20 Ulrich Drepper <drepper@gmail.com>
52266
ed72b654
UD
52267 * sysdeps/i386/configure.in: Test for -mfma4 option.
52268 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52269 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52270 COMMON_CPUID_INDEX_80000001.
52271 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52272 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52273 use it if FMA3 is not supported.
52274 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52275
8d4f46c6
UD
52276 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52278
d45c60c2
AS
522792011-10-20 Andreas Schwab <schwab@redhat.com>
52280
52281 [BZ #12892]
52282 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52283 it would create a cycle with a link time dependency.
52284
d9a4d2ab
UD
522852011-10-19 Ulrich Drepper <drepper@gmail.com>
52286
855d1560
UD
52287 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52288 instruction.
52289 * string/Makefile (strop-tests): Add rawmemchr.
52290 * string/test-rawmemchr.c: New file.
52291
d9a4d2ab
UD
52292 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52294 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52295 when compiling str{,n}casecmp and when AVX is available. Hook up
52296 new optimized code in initializers.
52297
8f3b1ffe
AS
522982011-10-19 Andreas Schwab <schwab@redhat.com>
52299
52300 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52301 __feraiseexcept instead of feraiseexcept.
52302
d38f1dba
UD
523032011-10-18 Ulrich Drepper <drepper@gmail.com>
52304
d9a8d0ab
UD
52305 * math/math_private.h: Define defaults for libc_fetestexcept and
52306 libc_feupdateenv.
52307 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52308 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52309 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52310 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52311 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52313 libc_fetestexcept and libc_feupdateenv.
52314
4855e3dd
UD
52315 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52316 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52317 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52318 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52319 libc_feholdexcept_setround.
52320
581d30e3
UD
52321 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52322 Add s_nearbyint-c and s_nearbyintf-c.
52323 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52324 nearbyintf inlines.
52325 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52326 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52328 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52329
d38f1dba
UD
52330 * math/math_private.h: Define defaults for libc_fegetround,
52331 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52332 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52333 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52334 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52335 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52336 standard functions.
52337 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52338 Remove comments and hacks for old compiler versions.
52339 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52340 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52341 libc_feholdexceptl.
52342
caa6c9d8
AS
523432011-10-18 Andreas Schwab <schwab@redhat.com>
52344
52345 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52346 (__feraiseexcept_renamed): Add __NTH.
52347 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52348 namespace violations.
52349
97c066e6
UD
523502011-10-17 Ulrich Drepper <drepper@gmail.com>
52351
99ce7b04
UD
52352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52353
1004d182
UD
52354 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52355
228a984d
UD
52356 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52357 recently added interfaces.
52358 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52359
c8553a6a
UD
52360 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52361 about macro parameter expansion.
52362
ed22dcf6
UD
52363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52364 __NO_MATH_INLINES is defined. Cleanups.
52365
52366 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52367 and __floorf is target has SSE4.1.
52368 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52369 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52370 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52371 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52372
b171c137
UD
52373 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52374 name.
52375 (floorf): Likewise.
52376
97c066e6
UD
52377 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52378
629f62ef
AS
523792011-10-17 Andreas Schwab <schwab@redhat.com>
52380
49a43d80
AS
52381 * misc/sys/cdefs.h: Fix last change.
52382
629f62ef
AS
52383 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52384 database lookup.
52385
e453f6cd
UD
523862011-10-16 Ulrich Drepper <drepper@gmail.com>
52387
aa78043a
UD
52388 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52389
ad0f5cad
UD
52390 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52396 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52398 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52399 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52400 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52401 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52402 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52403 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52404 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52405 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52407 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52408 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52409 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52410 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52411 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52412
52413 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52414 ceil, ceilf, floor, floorf.
52415
52416 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52417 Perform IRELATIVE relocations last.
52418
e453f6cd
UD
52419 * elf/do-rel.h: Add another parameter nrelative, replacing the
52420 local variable with the same name. Change name of the function
52421 to end in Rel or Rela (uppercase).
52422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52423 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52424 elf_dynamic_do_##reloc function.
52425
fd5bdc09
UD
524262011-10-15 Ulrich Drepper <drepper@gmail.com>
52427
79b195b5
UD
52428 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52429 is sufficient, at least on modern CPUs.
52430
d4a28569
UD
52431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52432
b61099b5
UD
52433 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52435
bcf01e6d
UD
52436 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52437 __expl_finite.
52438 * math/bits/math-finite.h: Add entries for exp.
52439 * math/e_expl.c: Add __*_finite alias.
52440 * sysdeps/i386/fpu/e_exp.S: Likewise.
52441 * sysdeps/i386/fpu/e_expf.S: Likewise.
52442 * sysdeps/i386/fpu/e_expl.c: Likewise.
52443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52444 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52445 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52447 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52448 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52449 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52450
ba1a0d59
UD
52451 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52452 is sufficient, at least on modern CPUs.
52453
fd5bdc09
UD
52454 * ctype/ctype-info.c (__ctype_init): Define.
52455 * include/ctype.h (__ctype_init): Declare.
52456 (__ctype_b_loc): The variable is always initialized.
52457 (__ctype_toupper_loc): Likewise.
52458 (__ctype_tolower_loc): Likewise.
52459 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52460 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52461
7872cfb0
AS
524622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52463
b468825a
AS
52464 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52465
7872cfb0
AS
52466 * configure.in: Also look in $cxxmachine/include for C++ system
52467 headers.
52468
be13f7bf
LD
524692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52470
52471 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52472 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52473 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52474 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52476 (USE_AS_WMEMCMP): New macro.
52477 Fixing indents.
52478 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52479 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52480 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52481 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52483 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52484 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52485 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52486 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52487 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52489 (USE_AS_WMEMCMP): New macro.
52490 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52491 * sysdeps/string/test-memcmp.c: Update.
52492 Fix simple_wmemcmp.
52493 Add new tests.
52494 * wcsmbs/wmemcmp.c: Update.
52495 (WMEMCMP): New macro.
52496 Fix overflow bug.
52497
556a2007
AJ
524982011-10-12 Andreas Jaeger <aj@suse.de>
52499
52500 [BZ #13268]
52501 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52502
538faaa7
UD
525032011-10-15 Ulrich Drepper <drepper@gmail.com>
52504
ab6737ff
UD
52505 * libio/iofwide.c (do_length): Avoid warning.
52506
538faaa7
UD
52507 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52508
396a21b1
UD
525092011-10-14 Ulrich Drepper <drepper@gmail.com>
52510
cdf2901f
UD
52511 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52512
38ad40ce
UD
52513 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52514 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52515 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52516 * sysdeps/i386/i686/fpu/e_log.S: New file.
52517 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52518 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52519
396a21b1
UD
52520 * ctype/ctype.h: Add support for inlined isXXX functions when
52521 compiling C++ code.
52522
6b1f68c9
AS
525232011-10-14 Andreas Schwab <schwab@redhat.com>
52524
349290c0
AS
52525 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52526
6b1f68c9
AS
52527 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52528
f2282d42
RM
525292011-10-13 Roland McGrath <roland@hack.frob.com>
52530
52531 [BZ #13291]
52532 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52533
5298ffa8
AS
525342011-10-13 Andreas Schwab <schwab@redhat.com>
52535
714fad23
AS
52536 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52537 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52538 feraiseexcept.
52539
81dcc7fb
AS
52540 * sysdeps/x86_64/memrchr.S: Check for zero size.
52541
5298ffa8
AS
52542 * string/stratcliff.c: Add memrchr tests.
52543
951fbcec
LD
525442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52545
52546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52547 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52548 rawmemchr-sse2 rawmemchr-sse2-bsf.
52549 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52550 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52551 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52552 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52553 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52554 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52555 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52556 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52557 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52558 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52559 * string/memrchr.c (MEMRCHR): New macro.
52560
0ac5ae23
UD
525612011-10-12 Ulrich Drepper <drepper@gmail.com>
52562
52563 Add integration with gcc's -ffinite-math-only and optimize wrapper
52564 functions in libm.
52565 * Versions.def: Define GLIBC_2.15 version for libm.
52566 * math/Makefile (headers): Add bits/math-finite.h.
52567 * math/bits/math-finite.h: New file.
52568 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52569 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52570 * math/e_acoshl.c: Add __*_finite alias.
52571 * math/e_acosl.c: Likewise.
52572 * math/e_asinl.c: Likewise.
52573 * math/e_atan2l.c: Likewise.
52574 * math/e_atanhl.c: Likewise.
52575 * math/e_coshl.c: Likewise.
52576 * math/e_exp10.c: Likewise.
52577 * math/e_exp10f.c: Likewise.
52578 * math/e_exp10l.c: Likewise.
52579 * math/e_exp2l.c: Likewise.
52580 * math/e_fmodl.c: Likewise.
52581 * math/e_gammal_r.c: Likewise.
52582 * math/e_hypotl.c: Likewise.
52583 * math/e_j0l.c: Likewise.
52584 * math/e_j1l.c: Likewise.
52585 * math/e_jnl.c: Likewise.
52586 * math/e_lgammal_r.c: Likewise.
52587 * math/e_log10l.c: Likewise.
52588 * math/e_log2l.c: Likewise.
52589 * math/e_logl.c: Likewise.
52590 * math/e_powl.c: Likewise.
52591 * math/e_sinhl.c: Likewise.
52592 * math/e_sqrtl.c: Likewise.
52593 * math/e_scalb.c: Completely rewritten and optimized.
52594 * math/e_scalbf.c: Likewise.
52595 * math/e_scalbl.c: Likewise.
52596 * math/w_acos.c: Likewise.
52597 * math/w_acosf.c: Likewise.
52598 * math/w_acosl.c: Likewise.
52599 * math/w_acosh.c: Likewise.
52600 * math/w_acoshf.c: Likewise.
52601 * math/w_acoshl.c: Likewise.
52602 * math/w_asin.c: Likewise.
52603 * math/w_asinf.c: Likewise.
52604 * math/w_asinl.c: Likewise.
52605 * math/w_atan2.c: Likewise.
52606 * math/w_atan2f.c: Likewise.
52607 * math/w_atan2l.c: Likewise.
52608 * math/w_atanh.c: Likewise.
52609 * math/w_atanhf.c: Likewise.
52610 * math/w_atanhl.c: Likewise.
52611 * math/w_exp10.c: Likewise.
52612 * math/w_exp10f.c: Likewise.
52613 * math/w_exp10l.c: Likewise.
52614 * math/w_fmod.c: Likewise.
52615 * math/w_fmodf.c: Likewise.
52616 * math/w_fmodl.c: Likewise.
52617 * math/w_j0.c: Likewise.
52618 * math/w_j0f.c: Likewise.
52619 * math/w_j0l.c: Likewise.
52620 * math/w_j1.c: Likewise.
52621 * math/w_j1f.c: Likewise.
52622 * math/w_j1l.c: Likewise.
52623 * math/w_jn.c: Likewise.
52624 * math/w_jnf.c: Likewise.
52625 * math/w_log.c: Likewise.
52626 * math/w_logf.c: Likewise.
52627 * math/w_logl.c: Likewise.
52628 * math/w_log10.c: Likewise.
52629 * math/w_log10f.c: Likewise.
52630 * math/w_log10l.c: Likewise.
52631 * math/w_log2.c: Likewise.
52632 * math/w_log2f.c: Likewise.
52633 * math/w_log2l.c: Likewise.
52634 * math/w_pow.c: Likewise.
52635 * math/w_powf.c: Likewise.
52636 * math/w_powl.c: Likewise.
52637 * math/w_remainder.c: Likewise.
52638 * math/w_remainderf.c: Likewise.
52639 * math/w_remainderl.c: Likewise.
52640 * math/w_scalb.c: Likewise.
52641 * math/w_scalbf.c: Likewise.
52642 * math/w_scalbl.c: Likewise.
52643 * math/w_sqrt.c: Likewise.
52644 * math/w_sqrtf.c: Likewise.
52645 * math/w_sqrtl.c: Likewise.
52646 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52647 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52648 used.
52649 * math/math_private.h: Declare __kernel_standard_f.
52650 * math/w_cosh.c: Remove cruft and optimize a bit.
52651 * math/w_coshf.c: Likewise.
52652 * math/w_coshl.c: Likewise.
52653 * math/w_exp2.c: Likewise.
52654 * math/w_exp2f.c: Likewise.
52655 * math/w_exp2l.c: Likewise.
52656 * math/w_hypot.c: Likewise.
52657 * math/w_hypotf.c: Likewise.
52658 * math/w_hypotl.c: Likewise.
52659 * math/w_lgamma.c: Likewise.
52660 * math/w_lgamma_r.c: Likewise.
52661 * math/w_lgammaf.c: Likewise.
52662 * math/w_lgammaf_r.c: Likewise.
52663 * math/w_lgammal.c: Likewise.
52664 * math/w_lgammal_r.c: Likewise.
52665 * math/w_sinh.c: Likewise.
52666 * math/w_sinhf.c: Likewise.
52667 * math/w_sinhl.c: Likewise.
52668 * math/w_tgamma.c: Likewise.
52669 * math/w_tgammaf.c: Likewise.
52670 * math/w_tgammal.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52673 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52674 Minor optimizations. Pretty printing. Remove cruft.
52675 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52676 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52677 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52678 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52679 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52680 * sysdeps/i386/fpu/e_asin.S: Likewise.
52681 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52682 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52683 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52684 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52686 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52688 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52689 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52690 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52691 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52692 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52693 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52694 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52695 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52696 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52697 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52698 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52699 * sysdeps/i386/fpu/e_log.S: Likewise.
52700 * sysdeps/i386/fpu/e_log10.S: Likewise.
52701 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52703 * sysdeps/i386/fpu/e_log2.S: Likewise.
52704 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52706 * sysdeps/i386/fpu/e_logf.S: Likewise.
52707 * sysdeps/i386/fpu/e_logl.S: Likewise.
52708 * sysdeps/i386/fpu/e_pow.S: Likewise.
52709 * sysdeps/i386/fpu/e_powf.S: Likewise.
52710 * sysdeps/i386/fpu/e_powl.S: Likewise.
52711 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52712 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52713 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52714 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52715 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52716 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52717 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52718 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52719 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52720 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52723 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52724 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52726 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52727 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52730 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52731 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52733 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52734 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52737 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52741 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52742 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52743 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52744 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52745 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52747 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52748 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52749 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52750 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52751 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52752 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52753 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52754 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52755 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52756 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52757 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52758 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52759 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52760 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52761 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52762 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52763 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52764 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52765 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52766 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52768 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52779 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52780 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52781 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52786 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52791 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52798 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52801 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52802 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52804 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52805 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52806 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52807 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52808 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52809 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52813 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52815 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52816 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52817 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52818 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52819 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52820 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52821 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52822 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52823 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52824 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52828 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52829 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52830 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52831 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52832 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52833 (__isnanf): Likewise.
52834 (__isinf_ns): Likewise.
52835 (__isinf_nsf): Likewise.
52836 (__finite): Likewise.
52837 (__finitef): Likewise.
52838 (__ieee754_sqrt): Define as macro.
52839 (__ieee754_sqrtf): Define as macro.
52840 (__ieee754_sqrtl): Define as macro.
52841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52842 inlined copy.
52843 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52844 __FINITE_MATH_ONLY__ consistent.
52845 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52846
12cc2fcd
AS
528472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52848
a843a204
AS
52849 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52850 of rawmemchr.
52851
12cc2fcd
AS
52852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52853
c853acd5
UD
528542011-10-09 Ulrich Drepper <drepper@gmail.com>
52855
52856 * po/ja.po: Update from translation team.
52857
c658d255
RM
528582011-10-08 Roland McGrath <roland@hack.frob.com>
52859
110946e4
RM
52860 * locale/programs/locarchive.c (prepare_address_space): New function.
52861 (create_archive, enlarge_archive, open_archive): Use it.
52862
50604220
RM
52863 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52864 inside [SHARED], where it is used.
52865
c658d255
RM
52866 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52867
52868 * nss/getent.c (netgroup_keys): Remove unused variable.
52869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52870
6a621eb7
UD
528712011-10-08 Ulrich Drepper <drepper@gmail.com>
52872
7edb55ce
UD
52873 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52874 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52876 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52877 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52878 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52879 * math/Makefile (libm-calls): Add s_isinf_ns.
52880 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52881 * math/multc3.c: Likewise.
52882 * math/s_casin.c: Likewise.
52883 * math/s_casinf.c: Likewise.
52884 * math/s_casinl.c: Likewise.
52885 * math/s_ccos.c: Likewise.
52886 * math/s_ccosf.c: Likewise.
52887 * math/s_ccosl.c: Likewise.
52888 * math/s_ctan.c: Likewise.
52889 * math/s_ctanf.c: Likewise.
52890 * math/s_ctanh.c: Likewise.
52891 * math/s_ctanhf.c: Likewise.
52892 * math/s_ctanhl.c: Likewise.
52893 * math/s_ctanl.c: Likewise.
52894 * math/w_fmod.c: Likewise.
52895 * math/w_fmodf.c: Likewise.
52896 * math/w_fmodl.c: Likewise.
52897 * math/w_remainder.c: Likewise.
52898 * math/w_remainderf.c: Likewise.
52899 * math/w_remainderl.c: Likewise.
52900 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52901 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52902 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52904 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52905 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52906 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52907 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52908
187da0ae
UD
52909 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52910 of the number.
52911 * stdio-common/printf_fphex.c: Likewise.
52912 * stdio-common/printf_size.c: Likewise.
52913
9277c064
UD
52914 * math/e_exp10.c: Include math_private.h using <...> not "...".
52915 * math/e_exp10f.c: Likewise.
52916 * math/e_exp10l.c: Likewise.
52917 * math/e_exp2l.c: Likewise.
52918 * math/e_j0l.c: Likewise.
52919 * math/e_j1l.c: Likewise.
52920 * math/e_jnl.c: Likewise.
52921 * math/e_lgammal_r.c: Likewise.
52922 * math/e_rem_pio2l.c: Likewise.
52923 * math/e_scalb.c: Likewise.
52924 * math/e_scalbf.c: Likewise.
52925 * math/e_scalbl.c: Likewise.
52926 * math/k_cosl.c: Likewise.
52927 * math/k_sinl.c: Likewise.
52928 * math/k_tanl.c: Likewise.
52929 * math/s_cacoshf.c: Likewise.
52930 * math/s_catan.c: Likewise.
52931 * math/s_catanf.c: Likewise.
52932 * math/s_catanh.c: Likewise.
52933 * math/s_catanhf.c: Likewise.
52934 * math/s_catanhl.c: Likewise.
52935 * math/s_catanl.c: Likewise.
52936 * math/s_ccosh.c: Likewise.
52937 * math/s_ccoshf.c: Likewise.
52938 * math/s_ccoshl.c: Likewise.
52939 * math/s_cexp.c: Likewise.
52940 * math/s_cexpf.c: Likewise.
52941 * math/s_cexpl.c: Likewise.
52942 * math/s_clog.c: Likewise.
52943 * math/s_clog10.c: Likewise.
52944 * math/s_clog10f.c: Likewise.
52945 * math/s_clog10l.c: Likewise.
52946 * math/s_clogf.c: Likewise.
52947 * math/s_clogl.c: Likewise.
52948 * math/s_csin.c: Likewise.
52949 * math/s_csinf.c: Likewise.
52950 * math/s_csinh.c: Likewise.
52951 * math/s_csinhf.c: Likewise.
52952 * math/s_csinhl.c: Likewise.
52953 * math/s_csinl.c: Likewise.
52954 * math/s_csqrt.c: Likewise.
52955 * math/s_csqrtf.c: Likewise.
52956 * math/s_csqrtl.c: Likewise.
52957 * math/s_ctan.c: Likewise.
52958 * math/s_ctanf.c: Likewise.
52959 * math/s_ctanh.c: Likewise.
52960 * math/s_ctanhf.c: Likewise.
52961 * math/s_ctanhl.c: Likewise.
52962 * math/s_ctanl.c: Likewise.
52963 * math/s_ldexp.c: Likewise.
52964 * math/s_ldexpf.c: Likewise.
52965 * math/s_ldexpl.c: Likewise.
52966 * math/s_significand.c: Likewise.
52967 * math/s_significandf.c: Likewise.
52968 * math/s_significandl.c: Likewise.
52969 * math/w_acos.c: Likewise.
52970 * math/w_acosf.c: Likewise.
52971 * math/w_acosh.c: Likewise.
52972 * math/w_acoshf.c: Likewise.
52973 * math/w_acoshl.c: Likewise.
52974 * math/w_acosl.c: Likewise.
52975 * math/w_asin.c: Likewise.
52976 * math/w_asinf.c: Likewise.
52977 * math/w_asinl.c: Likewise.
52978 * math/w_atan2.c: Likewise.
52979 * math/w_atan2f.c: Likewise.
52980 * math/w_atan2l.c: Likewise.
52981 * math/w_atanh.c: Likewise.
52982 * math/w_atanhf.c: Likewise.
52983 * math/w_atanhl.c: Likewise.
52984 * math/w_cosh.c: Likewise.
52985 * math/w_coshf.c: Likewise.
52986 * math/w_coshl.c: Likewise.
52987 * math/w_dremf.c: Likewise.
52988 * math/w_exp10.c: Likewise.
52989 * math/w_exp10f.c: Likewise.
52990 * math/w_exp10l.c: Likewise.
52991 * math/w_exp2.c: Likewise.
52992 * math/w_exp2f.c: Likewise.
52993 * math/w_fmod.c: Likewise.
52994 * math/w_fmodf.c: Likewise.
52995 * math/w_fmodl.c: Likewise.
52996 * math/w_hypot.c: Likewise.
52997 * math/w_hypotf.c: Likewise.
52998 * math/w_hypotl.c: Likewise.
52999 * math/w_j0.c: Likewise.
53000 * math/w_j0f.c: Likewise.
53001 * math/w_j0l.c: Likewise.
53002 * math/w_j1.c: Likewise.
53003 * math/w_j1f.c: Likewise.
53004 * math/w_j1l.c: Likewise.
53005 * math/w_jn.c: Likewise.
53006 * math/w_jnf.c: Likewise.
53007 * math/w_jnl.c: Likewise.
53008 * math/w_lgamma.c: Likewise.
53009 * math/w_lgamma_r.c: Likewise.
53010 * math/w_lgammaf.c: Likewise.
53011 * math/w_lgammaf_r.c: Likewise.
53012 * math/w_lgammal.c: Likewise.
53013 * math/w_lgammal_r.c: Likewise.
53014 * math/w_log.c: Likewise.
53015 * math/w_log10.c: Likewise.
53016 * math/w_log10f.c: Likewise.
53017 * math/w_log10l.c: Likewise.
53018 * math/w_log2.c: Likewise.
53019 * math/w_log2f.c: Likewise.
53020 * math/w_log2l.c: Likewise.
53021 * math/w_logf.c: Likewise.
53022 * math/w_logl.c: Likewise.
53023 * math/w_pow.c: Likewise.
53024 * math/w_powf.c: Likewise.
53025 * math/w_powl.c: Likewise.
53026 * math/w_remainder.c: Likewise.
53027 * math/w_remainderf.c: Likewise.
53028 * math/w_remainderl.c: Likewise.
53029 * math/w_scalb.c: Likewise.
53030 * math/w_scalbf.c: Likewise.
53031 * math/w_scalbl.c: Likewise.
53032 * math/w_sinh.c: Likewise.
53033 * math/w_sinhf.c: Likewise.
53034 * math/w_sinhl.c: Likewise.
53035 * math/w_sqrt.c: Likewise.
53036 * math/w_sqrtf.c: Likewise.
53037 * math/w_sqrtl.c: Likewise.
53038 * math/w_tgamma.c: Likewise.
53039 * math/w_tgammaf.c: Likewise.
53040 * math/w_tgammal.c: Likewise.
53041
6a621eb7
UD
53042 * po/ja.po: Update from translation team.
53043
bf582445
AJ
530442011-09-29 Andreas Jaeger <aj@suse.de>
53045
f9efbf3a
AJ
53046 [BZ #13179]
53047 * sunrpc/netname.c (netname2host): Fix logic.
53048
bf582445
AJ
53049 [BZ #6779]
53050 [BZ #6783]
53051 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53052 correctly.
53053 * math/w_remainder.c (__remainder): Likewise.
53054 * math/w_remainderf.c (__remainderf): Likewise.
53055 * math/libm-test.inc (remainder_test): Add test cases.
53056
48693bea
AK
530572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53058
53059 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53060 sdiv_qrnnd.
53061
42622229
LD
530622011-10-07 Ulrich Drepper <drepper@gmail.com>
53063
53064 * string/test-memcmp.c: Avoid unncessary #defines.
53065 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53066
093ecf92
LD
530672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53068
53069 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53070 Use new sse2 version for core i3 - i7 as it's faster
53071 than sse42 version.
53072 (bit_Prefer_PMINUB_for_stringop): New.
53073 * sysdeps/x86_64/rawmemchr.S: Update.
53074 Replace with faster SSE2 version.
53075 * sysdeps/x86_64/memrchr.S: New file.
53076 * sysdeps/x86_64/memchr.S: Update.
53077 Replace with faster SSE2 version.
53078
fde56e5c
MP
530792011-09-12 Marek Polacek <mpolacek@redhat.com>
53080
53081 * elf/dl-load.c (lose): Add cast to avoid warning.
53082
21fd49a9
UD
530832011-10-07 Ulrich Drepper <drepper@gmail.com>
53084
5a06e643
UD
53085 * po/ca.po: Update from translation team.
53086
684ae515
UD
53087 * inet/getnetgrent_r.c: Hook up nscd.
53088 * nscd/Makefile (routines): Add nscd_netgroup.
53089 (nscd-modules): Add netgroupcache.
53090 (CFLAGS-netgroupcache.c): Define.
53091 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53092 (cache_search): Add const to second parameter.
53093 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53094 INNETGR.
53095 (dbs): Add netgrdb entry.
53096 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53097 (verify_persistent_db): Handle netgrdb.
53098 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53099 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53100 GETFDNETGR.
53101 (netgroup_response_header): Define.
53102 (innetgroup_response_header): Define.
53103 (datahead): Add netgroup_response_header and innetgroup_response_header
53104 elements.
53105 * nscd/nscd.conf: Add entries for netgroup cache.
53106 * nscd/nscd.h (dbtype): Add netgrdb.
53107 (_PATH_NSCD_NETGROUP_DB): Define.
53108 (netgroup_iov_disabled): Declare.
53109 (xmalloc, xcalloc, xrealloc): Move declarations here.
53110 (cache_search): Adjust prototype.
53111 Add netgroup-related prototypes.
53112 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53113 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53114 (__nscd_innetgr): Declare.
53115 * nscd/selinux.c (perms): Use access_vector_t as element type and
53116 add netgroup-related initializers.
53117 * nscd/netgroupcache.c: New file.
53118 * nscd/nscd_netgroup.c: New file.
53119 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53120 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53121 For four parameters use innetgr.
53122 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53123 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53124 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53125 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53126
21fd49a9
UD
53127 * nscd/connections.c (register_traced_file): Don't register file
53128 for disabled databases.
53129
054c0457
UD
531302011-10-06 Ulrich Drepper <drepper@gmail.com>
53131
32b63198
UD
53132 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53133
054c0457
UD
53134 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53135 from tree and freeing node.
53136
64031225
JO
531372011-09-25 Jiri Olsa <jolsa@redhat.com>
53138
53139 * nss/nsswitch.c (__nss_database_lookup): Handle
53140 nss_parse_service_list out of memory case.
53141
0490345c
JO
531422011-09-15 Jiri Olsa <jolsa@redhat.com>
53143
53144 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53145 out of memory case.
53146
3a62d00d
AS
531472011-10-04 Andreas Schwab <schwab@redhat.com>
53148
53149 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53150 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53151 pass it down.
53152 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53153 elf_machine_rela, elf_machine_lazy_rel.
53154 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53155 (ELF_DYNAMIC_DO_REL): Likewise.
53156 (ELF_DYNAMIC_DO_RELA): Likewise.
53157 (ELF_DYNAMIC_RELOCATE): Likewise.
53158 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53159 to ELF_DYNAMIC_DO_REL.
53160 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53161 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53162 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53163 elf_machine_rela.
53164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53165 skip_ifunc, don't call ifunc function if non-zero.
53166 (elf_machine_rela): Likewise.
53167 (elf_machine_lazy_rel): Likewise.
53168 (elf_machine_lazy_rela): Likewise.
53169 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53170 (elf_machine_lazy_rel): Likewise.
53171 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53172 Likewise.
53173 (elf_machine_lazy_rel): Likewise.
53174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53175 Likewise.
53176 (elf_machine_lazy_rel): Likewise.
53177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53178 (elf_machine_lazy_rel): Likewise.
53179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53180 (elf_machine_lazy_rel): Likewise.
53181 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53182 (elf_machine_lazy_rel): Likewise.
53183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53184 (elf_machine_lazy_rel): Likewise.
53185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53186 (elf_machine_lazy_rel): Likewise.
53187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53188 (elf_machine_lazy_rel): Likewise.
53189
68577918
UD
531902011-09-28 Ulrich Drepper <drepper@gmail.com>
53191
53192 * nss/nss_files/files-init.c (_nss_files_init): Use static
53193 initialization for all the *_traced_file variables.
53194
68822d74
AS
531952011-09-28 Andreas Schwab <schwab@redhat.com>
53196
53197 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53198
2056100b
RM
531992011-09-27 Roland McGrath <roland@hack.frob.com>
53200
53201 [BZ #13226]
53202 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53203
32c76b63
AS
532042011-09-27 Andreas Schwab <schwab@redhat.com>
53205
53206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53207 Reread the line before reparsing it.
53208
bf972c9d
AS
532092011-09-26 Andreas Schwab <schwab@redhat.com>
53210
53211 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53212
e057a1b5
JM
532132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53214 Maxim Kuvyrkov <maxim@codesourcery.com>
53215 Joseph Myers <joseph@codesourcery.com>
53216
53217 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53218 if needed for __stack_chk_guard.
53219
bc7e1c36
RM
532202011-09-19 Roland McGrath <roland@hack.frob.com>
53221
ecb1482f
RM
53222 * sysdeps/posix/spawni.c (script_execute): Always define it.
53223 It will be optimized away if unused.
53224 (maybe_script_execute): New function.
53225 (__spawni): Call it.
53226
bc7e1c36
RM
53227 * Makerules: Don't include tls.make.
53228 (config-tls): Always set to thread.
53229 * tls.make.c: File removed.
53230
1c3b002b
MF
532312011-09-19 Mike Frysinger <vapier@gentoo.org>
53232
53233 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53234 * config.make.in (CPPFLAGS-config): New substituted variable.
53235
2840865d
UD
532362011-09-15 Ulrich Drepper <drepper@gmail.com>
53237
88738eb6
UD
53238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53239
cbf645a6 53240 [BZ #13192]
2840865d
UD
53241 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53242 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53243
b402e91a
RM
532442011-09-15 Roland McGrath <roland@hack.frob.com>
53245
53246 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53247 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53249 (CALL_FAIL): Likewise.
53250 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53251 (CALL_FAIL): Macro removed.
53252 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53253
4c1a1f71
UD
532542011-09-15 Ulrich Drepper <drepper@gmail.com>
53255
53256 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53257 for __FINITE_MATH_ONLY__ == 1.
53258
edc121be
AS
532592011-09-15 Andreas Schwab <schwab@redhat.com>
53260
53261 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53262 __ieee754_sqrt instead of sqrt.
53263 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53264 __ieee754_sqrtf instead of sqrtf.
53265 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53266 __floorf instead of floorf.
53267 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53268 __floorf, __truncf instead of floorf, truncf.
53269
cd205654
UD
532702011-09-14 Ulrich Drepper <drepper@gmail.com>
53271
ee4d0315
UD
53272 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53273
cd205654
UD
53274 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53275 __extern_always_inline.
53276 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53277 32-bit.
53278
48b67d71
AS
532792011-09-14 Andreas Schwab <schwab@redhat.com>
53280
53281 * elf/rtld.c (dl_main): Also relocate in dependency order when
53282 doing symbol dependency testing.
53283
1ae12c75
AS
532842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53285
53286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53287 Always define `refsym'.
53288
995a80df
AS
532892011-09-13 Andreas Schwab <schwab@redhat.com>
53290
e529793b
AS
53291 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53292 (__FD_ELT): Renamed from __FDELT.
53293 * misc/bits/select2.h (__FD_ELT): Likewise.
53294 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53295 __FD_MASK instead of __FDELT, __FDMASK.
53296 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53297 Likewise.
53298 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53299 Likewise.
53300
52d4fef8
AS
53301 * elf/Makefile (gen-ldd): Fix pattern.
53302
995a80df
AS
53303 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53304 (init_tls): Likewise.
53305
8682f8b0
UD
533062011-09-12 Ulrich Drepper <drepper@gmail.com>
53307
53308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53309
de82006d
AS
533102011-09-12 Andreas Schwab <schwab@redhat.com>
53311
a7c8e6a1
AS
53312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53313 `struct cmsghdr *' instead of `void *'.
53314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53315 Likewise.
53316
0f31fe77
AS
533172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53318
53319 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53320 if non-absolute.
53321 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53322 ldd_rewrite_script.
0f31fe77 53323
32b4c839
UD
533242011-09-11 Ulrich Drepper <drepper@gmail.com>
53325
83cd1420
UD
53326 * configure.in: Remove --with-tls option.
53327 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53328 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53329 out in case it is missing.
53330 * sysdeps/ia64/elf/configure.in: Likewise.
53331 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53332 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53333 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53334 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53335 * sysdeps/sh/elf/configure.in: Likewise.
53336 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53337 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53338 * sysdeps/x86_64/elf/configure.in: Likewise.
53339 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53340 * sysdeps/mach/hurd/tls.h: Likewise.
53341
633f745d
UD
53342 [BZ #13067]
53343 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53344
f318beb8
UD
53345 [BZ #13090]
53346 * configure.in: Fix use of AC_INIT.
53347
32b4c839
UD
53348 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53349
3ce1f295
UD
533502011-09-10 Ulrich Drepper <drepper@gmail.com>
53351
bb016596
UD
53352 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53353 __set_errno.
8e58439c
UD
53354 * malloc/hooks.c: Likewise.
53355
aebae053 53356 [BZ #11929]
02d46fc4
UD
53357 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53358 variables statically.
53359 (narenas): Initialize.
53360 (list_lock): Initialize.
bb016596
UD
53361 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53362 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53363 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53364 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53365 Add initializers to main_arena and mp_.
53366 (malloc_state): Remove pagesize member. Change all users to use
53367 GLRO(dl_pagesize).
53368
53369 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53370 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53371 is always initialized.
53372
22a89187
UD
53373 * malloc/malloc.c: Removed unused configurations and dead code.
53374 * malloc/arena.c: Likewise.
53375 * malloc/hooks.c: Likewise.
02d46fc4 53376 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53377
d063d164
UD
53378 * include/tls.h: Removed. USE___THREAD must always be defined.
53379 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53380 * elf/dl-libc.c: Likewise.
53381 * elf/dl-tsd.c: Likewise.
53382 * include/errno.h: Likewise.
53383 * include/netdb.h: Likewise.
53384 * include/resolv.h: Likewise.
53385 * inet/herrno-loc.c: Likewise.
53386 * inet/herrno.c: Likewise.
53387 * malloc/arena.c: Likewise.
53388 * malloc/hooks.c: Likewise.
53389 * malloc/malloc.c: Likewise.
53390 * resolv/res-state.c: Likewise.
53391 * resolv/res_libc.c: Likewise.
53392 * sysdeps/i386/dl-machine.h: Likewise.
53393 * sysdeps/ia64/dl-machine.h: Likewise.
53394 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53395 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53396 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53397 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53398 * sysdeps/sh/dl-machine.h: Likewise.
53399 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53400 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53401 * sysdeps/unix/i386/sysdep.S: Likewise.
53402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53403 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53404 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53405 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53407 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53408 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53413 * sysdeps/x86_64/dl-machine.h: Likewise.
53414 * tls.make.c: Likewise.
53415
3ce1f295
UD
53416 * configure.in: Remove --with-__thread option. Make tests for
53417 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53418 tls_model attribute fail if no support is available. Remove
53419 USE_IN_LIBIO.
53420 * Makeconfig: Adjust for dropped configure option. All features are
53421 now mandatory.
53422 * Makerules: Likewise.
53423 * Versions.def: Likewise.
53424 * argp/argp-fmtstream.c: Likewise.
53425 * argp/argp-fmtstream.h: Likewise.
53426 * argp/argp-help.c: Likewise.
53427 * assert/assert.c: Likewise.
53428 * config.h.in: Likewise.
53429 * config.make.in: Likewise.
53430 * configure: Likewise.
53431 * configure.in: Likewise.
53432 * csu/Versions: Likewise.
53433 * csu/init.c: Likewise.
53434 * elf/tst-audit2.c: Likewise.
53435 * elf/tst-tls10.c: Likewise.
53436 * elf/tst-tls10.h: Likewise.
53437 * elf/tst-tls11.c: Likewise.
53438 * elf/tst-tls12.c: Likewise.
53439 * elf/tst-tls14.c: Likewise.
53440 * elf/tst-tlsmod11.c: Likewise.
53441 * elf/tst-tlsmod12.c: Likewise.
53442 * elf/tst-tlsmod13.c: Likewise.
53443 * elf/tst-tlsmod13a.c: Likewise.
53444 * elf/tst-tlsmod14a.c: Likewise.
53445 * elf/tst-tlsmod15b.c: Likewise.
53446 * elf/tst-tlsmod16a.c: Likewise.
53447 * elf/tst-tlsmod16b.c: Likewise.
53448 * elf/tst-tlsmod7.c: Likewise.
53449 * elf/tst-tlsmod8.c: Likewise.
53450 * elf/tst-tlsmod9.c: Likewise.
53451 * gmon/gmon.c: Likewise.
53452 * grp/fgetgrent_r.c: Likewise.
53453 * grp/putgrent.c: Likewise.
53454 * hurd/fopenport.c: Likewise.
53455 * include/libc-symbols.h: Likewise.
53456 * include/tls.h: Likewise.
53457 * intl/gettextP.h: Likewise.
53458 * intl/loadinfo.h: Likewise.
53459 * locale/global-locale.c: Likewise.
53460 * locale/localeinfo.h: Likewise.
53461 * mach/devstream.c: Likewise.
53462 * malloc/arena.c: Likewise.
53463 * malloc/set-freeres.c: Likewise.
53464 * misc/err.c: Likewise.
53465 * misc/getttyent.c: Likewise.
53466 * misc/mntent_r.c: Likewise.
53467 * posix/getopt.c: Likewise.
53468 * posix/wordexp.c: Likewise.
53469 * pwd/fgetpwent_r.c: Likewise.
53470 * resolv/Versions: Likewise.
53471 * resolv/res_hconf.c: Likewise.
53472 * shadow/fgetspent_r.c: Likewise.
53473 * shadow/putspent.c: Likewise.
53474 * stdio-common/printf_fphex.c: Likewise.
53475 * stdio-common/tmpfile.c: Likewise.
53476 * stdlib/abort.c: Likewise.
53477 * stdlib/fmtmsg.c: Likewise.
53478 * sunrpc/auth_unix.c: Likewise.
53479 * sunrpc/clnt_perr.c: Likewise.
53480 * sunrpc/clnt_tcp.c: Likewise.
53481 * sunrpc/clnt_udp.c: Likewise.
53482 * sunrpc/clnt_unix.c: Likewise.
53483 * sunrpc/openchild.c: Likewise.
53484 * sunrpc/svc_simple.c: Likewise.
53485 * sunrpc/svc_tcp.c: Likewise.
53486 * sunrpc/svc_udp.c: Likewise.
53487 * sunrpc/svc_unix.c: Likewise.
53488 * sunrpc/xdr.c: Likewise.
53489 * sunrpc/xdr_array.c: Likewise.
53490 * sunrpc/xdr_rec.c: Likewise.
53491 * sunrpc/xdr_ref.c: Likewise.
53492 * sunrpc/xdr_stdio.c: Likewise.
53493
1248c1c4
PB
534942011-09-09 Ulrich Drepper <drepper@gmail.com>
53495
53496 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53497
534982011-07-03 Andreas Jaeger <aj@suse.de>
53499
53500 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53501 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53502 regenerate with gen-libm-tests.pl.
53503
535042010-05-12 Petr Baudis <pasky@suse.cz>
53505
53506 [BZ #11589]
53507 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53508 around j0() zero points by switching to j1().
53509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53510 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53513
f22e1074
UD
535142011-09-09 Ulrich Drepper <drepper@gmail.com>
53515
f19009c1
UD
53516 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53517 instead of 0.
53518 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53519 instead of 0.
f19009c1
UD
53520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53521 Patch in part by Pavel Roskin <proski@gnu.org>.
53522
3f8cc204
UD
53523 [BZ #13138]
53524 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53525 realloc.
53526 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53527 Free memory block if necessary.
53528
f22e1074
UD
53529 [BZ #12847]
53530 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53531 be NULL. Don't lock in this case.
53532
0a2349f9
RM
535332011-09-09 Roland McGrath <roland@hack.frob.com>
53534
53535 * elf/elf.h (ELFOSABI_GNU): New macro.
53536 (ELFOSABI_LINUX): Define to that.
53537
f3cdd467
DZ
535382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53539
53540 * string/strncat.c (strncat): Undef the symbol in case it has been
53541 defined in bits/string.h.
53542
74718d13
UD
535432011-09-09 Ulrich Drepper <drepper@gmail.com>
53544
633e9e0f
UD
53545 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53546
0a2349f9 53547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53548 link map.
53549
f9924780
AJ
535502011-08-17 Andreas Jaeger <aj@suse.de>
53551
53552 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53553
7f5517aa
PP
535542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53555 Ian Lance Taylor <iant@google.com>
53556
53557 * math/libm-test.inc (lround_test): New testcase.
53558 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53559
762011fe
UD
535602011-09-08 Ulrich Drepper <drepper@gmail.com>
53561
92963737
UD
53562 * Makefile: Remove support for automatic cvs check-ins.
53563 * Makerules: Likewise.
53564 * config.make.in: Likewise.
53565 * configure.in: Likewise.
53566 * intl/Makefile: Likewise.
53567 * locale/Makefile: Likewise.
53568 * po/Makefile: Likewise.
53569 * posix/Makefile: Likewise.
53570 * sysdeps/gnu/Makefile: Likewise.
53571 * sysdeps/mach/hurd/Makefile: Likewise.
53572 * sysdeps/sparc/sparc32/Makefile: Likewise.
53573
b0727fd8
JS
53574 [BZ #13118]
53575 * posix/Makefile (bug-regex32-ENV): Define.
53576 Patch by John Stanley <jpsinthemix@verizon.net>.
53577
a0f33f99
UD
53578 * misc/Makefile (headers): Add bits/select2.h.
53579 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53580 * misc/bits/select2.h: New file.
53581 * include/bits/select2.h: New file.
53582 * debug/Makefile (routines): Add fdelt_chk.
53583 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53584 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53585 FD_ISSET.
53586 * debug/fdelt_chk.c: New file.
53587
762011fe
UD
53588 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53589 * wcsmbs/test-wmemcmp.c: Likewise.
53590 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53591 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53592
535932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53594
53595 * string/Makefile (strop-tests): Add memcmp.
53596 * string/test-wmemcmp.c: New file.
53597 * string/test-memcmp.c: Add wmemcmp support.
53598
7f513ec8
RM
535992011-09-08 Roland McGrath <roland@hack.frob.com>
53600
0442afb4
RM
53601 [BZ #13153]
53602 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53603 2011-07-19 change.
53604
7f513ec8
RM
53605 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53606 garbage value in a __mach_port_mod_refs call in the cases of the
53607 task-self and thread-self ports.
53608
a12b2239
ST
536092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53610
53611 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53612
610f9ab4
AS
536132011-09-08 Andreas Schwab <schwab@redhat.com>
53614
7f513ec8 53615 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53616
48882a1a
LD
536172011-09-07 Ulrich Drepper <drepper@gmail.com>
53618
b49865be
UD
53619 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53620
fdc86bc9
UD
53621 * elf/dl-libc.c (dlerror_run): Pass back error code from
53622 dl_catch_error.
53623
c966526a
UD
53624 [BZ #13123]
53625 * elf/dl-load.c (lose): Free l_origin if it is valid.
53626
48882a1a
LD
53627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53628 names.
53629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53633 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53634 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53635
77a2a8b4
AZ
536362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53637
53638 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53639 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53640 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53641 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53642 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53643 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53644 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53645 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53646 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53647 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53648
24f579d8
AM
536492011-08-15 Alan Modra <amodra@gmail.com>
53650
53651 [BZ #13092]
53652 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53653 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53654 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53655 ppc_mcount to static-only-routines.
53656 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53657 __mcount_internal.
53658 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53659 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53660
3d4837df
UD
536612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53662
53663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53664 for finite and infinity parameters.
53665
22700377
WS
536662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53667
53668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53669 and add nop instructions for throughput optimization.
53670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53671
5025581e
WS
536722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53673
53674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53675 aligned copy for power7 with vector-scalar instructions.
53676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53677
08a300c9
L
536782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53679
53680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53681 AVX check.
53682
59178ef9
AS
536832011-09-07 Andreas Schwab <schwab@redhat.com>
53684
53685 [BZ #13144]
53686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53687 last change.
53688
e38ba7ab
UD
536892011-09-07 Ulrich Drepper <drepper@gmail.com>
53690
53691 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53692 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53693 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53695 clock_gettime.
53696
d53a73ac
UD
536972011-09-06 Ulrich Drepper <drepper@gmail.com>
53698
fc8bffcc
UD
53699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53700 Forgot to demangle the pointer.
53701
ceaa0c5d
UD
53702 * sysdeps/i386/sysdep.h: Define atom_text_section.
53703 * sysdeps/x86_64/sysdep.h: Likewise.
53704 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53705 section with atom_text_section.
53706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53710 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53711
a77d3c17
UD
53712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53714 already be defined. Change to take two parameters and don't assign
53715 result to variable. Adjust all users.
53716 Define INTERNAL_GETTIME if not already defined.
53717 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53718 call.
53719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53720 HAVE_CLOCK_GETTIME_VSYSCALL.
53721 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53722
d53a73ac
UD
53723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53724 gettimeofday vsyscall, just use time.
53725
a8f84144
AS
537262011-09-06 Andreas Schwab <schwab@redhat.com>
53727
53728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53729 <errno.h>.
53730
ef606249
UD
537312011-09-06 Ulrich Drepper <drepper@gmail.com>
53732
53733 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53734 syscall on x86-64.
53735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53736 syscall.
53737 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53739 syscall if possible.
53740
6585cb60
UD
537412011-09-05 Ulrich Drepper <drepper@gmail.com>
53742
53743 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53744 e_ident. Don't pass to find_mapsXX.
53745 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53746
a5f524e4
LD
537472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53748
53749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53750 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53751 * sysdeps/x86_64/multiarch/strchr.S: Update.
53752 Check bit_slow_BSF bit.
53753 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53756
554881ef
UD
537572011-09-05 Ulrich Drepper <drepper@gmail.com>
53758
d96de963
UD
53759 [BZ #13134]
53760 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53761 before glibc 2.15.
53762 (tryshell): Define.
53763 (__spawni): Change last parameter to be flag. Test
53764 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53765 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53766 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53767 * posix/spawni.c: Likewise.
53768 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53769 * posix/spawnp.c: Likewise. Change normal version to use
53770 SPAWN_XFLAGS_USE_PATH.
53771 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53772 SPAWN_XFLAGS_TRY_SHELL.
53773
d48e5868
UD
53774 [BZ #13150]
53775 * posix/glob.h: Remove gcc 1.x support.
53776
554881ef
UD
53777 [BZ #13068]
53778 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53779
693fb948
LD
537802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53781
53782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53783 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53784 strrchr-sse2-bsf
53785 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53786 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53787 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53789 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53791
1b48c537
UD
537922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53793
49d42c37
UD
53794 * sysdeps/x86_64/wcscmp.S: New file.
53795
1b48c537
UD
53796 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53797 wcscmp-c wcscmp-sse2
53798 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53799 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53800 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53801 * wcsmbs/wcscmp.c: Allow renaming.
53802
15c95c5d
DM
538032011-09-05 David S. Miller <davem@davemloft.net>
53804
53805 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53806 stack slot, rather than the struct return pointer slot.
53807 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53808 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53811
2f0ad8f3
UD
538122011-09-05 Ulrich Drepper <drepper@gmail.com>
53813
d88ae418
UD
53814 * po/ja.po: Update from translation team.
53815
2f0ad8f3
UD
53816 [BZ #13144]
53817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53818 kernel in 64-bit binaries.
53819
5f4318d1
DM
538202011-09-01 David S. Miller <davem@davemloft.net>
53821
53822 * elf/elf.h (HWCAP_SPARC_*): Move to..
53823 * sysdeps/sparc/sysdep.h: this new file and add new values.
53824 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53825 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53826 _DL_HWCAP_COUNT to 24.
53827 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53828 entries.
53829 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53830 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53831 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53832 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53833 instead of magic constants.
53834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53835
3ba57516
DM
538362011-08-31 David S. Miller <davem@davemloft.net>
53837
53838 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53840 Reimplement to do errno handling inline.
53841 (SYSCALL_ERROR_HANDLER): New macro.
53842 (__SYSCALL_STRING): Do not do errno handling in asm.
53843 (__CLONE_SYSCALL_STRING): Delete.
53844 (__INTERNAL_SYSCALL_STRING): Delete.
53845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53846 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53847 (PSEUDO): Reimplement to do errno handling inline.
53848 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53849 (SYSCALL_ERROR_HANDLER): New macro.
53850 (__SYSCALL_STRING): Do not do errno handling in asm.
53851 (__CLONE_SYSCALL_STRING): Delete.
53852 (__INTERNAL_SYSCALL_STRING): Delete.
53853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53854 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53855 i386.
53856 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53857 (inline_syscall*): Add 'err' argument.
53858 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53859 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53860 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53861 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53862
53863 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53864 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53865
2bc17433
AS
538662011-08-30 Andreas Schwab <schwab@redhat.com>
53867
53868 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53869
fbeb5f4d
JO
538702011-08-29 Jiri Olsa <jolsa@redhat.com>
53871
53872 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53873 directive.
53874
ad69cc26
DM
538752011-08-24 David S. Miller <davem@davemloft.net>
53876
53877 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53878
39dd69df
AS
538792011-08-24 Andreas Schwab <schwab@redhat.com>
53880
53881 * elf/Makefile: Add rules to build and run unload8 test.
53882 * elf/unload8.c: New file.
53883 * elf/unload8mod1.c: New file.
53884 * elf/unload8mod1x.c: New file.
53885 * elf/unload8mod2.c: New file.
53886 * elf/unload8mod3.c: New file.
53887
53888 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53889 it wasn't used.
53890
2c0b250a
DM
538912011-08-23 David S. Miller <davem@davemloft.net>
53892
53893 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53894 subtract stack bias.
53895 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53896 %sp not %fp in calculations.
53897 (_JMPBUF_UNWINDS_ADJ): Likewise.
53898
22044b48
DM
53899 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53900 (aio_suspend): Call it to force an exception region around the
53901 AIO_MISC_WAIT() invocation.
53902
2cae4995
AS
539032011-08-23 Andreas Schwab <schwab@redhat.com>
53904
53905 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53906 backslash.
53907
873a772e
AJ
539082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53909
53910 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53911 protection macro.
53912 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53913 and <dl-machine.h>.
53914 (Elf64_FuncDesc): Remove.
53915
25ad0df1
DM
539162011-08-22 David S. Miller <davem@davemloft.net>
53917
53918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53919 sigaltstack check, add missing cfi directives.
53920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53921 missing cfi directives, and sigaltstack handling.
53922
e888bcbe
AS
539232011-08-16 Andreas Schwab <schwab@redhat.com>
53924
53925 [BZ #11724]
53926 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53927 object is seen twice.
53928 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53929
53930 * elf/Makefile (distribute): Add tst-initorder2.c.
53931 (tests): Add tst-initorder2.
53932 (modules-names): Add tst-initorder2a tst-initorder2b
53933 tst-initorder2c tst-initorder2d. Add rules to build them.
53934 ($(objpfx)tst-initorder2.out): New rule.
53935 * elf/tst-initorder2.c: New file.
53936 * elf/tst-initorder2.exp: New file.
53937
87162f46
AS
539382011-08-22 Andreas Schwab <schwab@redhat.com>
53939
70538b7f
AS
53940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53941
f55ffe58
AS
53942 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53943 dependencies back to end of function.
53944
87162f46
AS
53945 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53946 $(elfobjdir)/ld.so.
53947
91b392a4
UD
539482011-08-21 Ulrich Drepper <drepper@gmail.com>
53949
53950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53951 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53953 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53954 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53955 of __vdso_gettimeofday.
53956 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53957 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53958 attribute_hidden.
53959 (_libc_vdso_platform_setup): Remove initialization of
53960 __vdso_gettimeofday and __vdso_time.
53961
5c43483f
UD
539622011-08-20 Ulrich Drepper <drepper@gmail.com>
53963
775a77e7
UD
53964 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53965 and fgetc_unlocked.
53966 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53967 getc_unlocked.
89f447ed 53968
49c74ba9
UD
53969 * elf/dl-open.c (add_to_global): Report additions to the global scope
53970 for LD_DEBUG=scopes.
53971 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53972 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53973
5c43483f
UD
53974 [BZ #13114]
53975 * stdio-common/Makefile (tests): Add bug24.
53976 * stdio-common/bug24.c: New file.
53977
a101b025
AJ
539782011-08-19 Andreas Jaeger <aj@suse.de>
53979
53980 [BZ #13114]
53981 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53982 non-existant file when using close-on-exec mode.
53983
c88f1766
UD
539842011-08-20 Ulrich Drepper <drepper@gmail.com>
53985
0276a718
UD
53986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53987 the very first instruction.
53988
c88f1766
UD
53989 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53990 the CFI state in the end.
53991 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53992 inclusion of dl-trampoline.h.
53993 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53994
51ccffa0
AS
539952011-08-19 Andreas Schwab <schwab@redhat.com>
53996
94d7165f
AS
53997 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53998 expectations for long double.
53999
51ccffa0
AS
54000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54001 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54002
fd708658 540032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54004
54005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54006 artificual limit depends upon the system page size.
54007
44f0a71e
UD
540082011-08-17 Ulrich Drepper <drepper@gmail.com>
54009
54010 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54011 * resolv/Makefile: Define CFLAGS-libresolv.
54012
8de79a24
AS
540132011-08-17 Andreas Schwab <schwab@redhat.com>
54014
54015 * nss/makedb.c (compute_tables): Make variables used in nested
54016 function static.
54017
27724598
UD
540182011-08-17 Ulrich Drepper <drepper@gmail.com>
54019
c5305d88
UD
54020 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54021 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54022 if buffer was too small.
54023
27724598
UD
54024 * elf/pldd.c (main): Attach to all threads in the process.
54025 Rewrite /proc handling to use *at functions.
54026
076fe015
UD
540272011-08-16 Ulrich Drepper <drepper@gmail.com>
54028
174baab3
UD
54029 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54030 specifies first scope to show.
54031 (dl_open_worker): Update callers. Move printing scope of new
54032 object to before the relocation.
44f0a71e 54033 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54034 * sysdeps/generic/ldsodefs.h: Update declaration.
54035
076fe015
UD
54036 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54037 string for the scope number.
54038
a60df2c3
UD
540392011-08-14 Ulrich Drepper <drepper@gmail.com>
54040
54041 * nscd/servicescache.c (cache_addserv): Make sure written is always
54042 initialized.
54043
5e4287d1
RM
540442011-08-14 Roland McGrath <roland@hack.frob.com>
54045
85ae0589
RM
54046 * sysdeps/i386/i486/bits/atomic.h
54047 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54048 statement expression, so as to suppress "set but not used" warning.
54049 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54050
69f63097
RM
54051 * string/strncat.c (STRNCAT): Use prototype definition.
54052
675456ef
RM
54053 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54054 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54055 -Iprograms here.
54056 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54057 (localedef-modules): Add localedef.
54058 (locale-modules): Add locale.
54059
5e4287d1
RM
54060 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54061 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54062 to avoid a warning.
54063
9c96ff23
DM
540642011-08-14 David S. Miller <davem@davemloft.net>
54065
54066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54067 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54068
f9ddf089
UD
540692011-08-13 Ulrich Drepper <drepper@gmail.com>
54070
44f0a71e 54071 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54072 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54073 * elf/rtld.c (dl_main): Set l_name of vDSO.
54074 Call _dl_show_scope when DL_DEBUG_SCOPES.
54075 (process_dl_debug): Recognize scopes flag and also set it for all.
54076 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54077 Declare _dl_show_scope.
54078
1dc27704
UD
54079 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54080 (do_dlopen): Pass caller_dlopen to dl_open.
54081 (__libc_dlopen_mode): Initialize caller_dlopen.
54082
f9ddf089
UD
54083 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54084 of libc. Make tolower call locale-independent. Optimize a bit by
54085 using isdigit instead of isalnum.
54086 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54087
9ac533d3
UD
540882011-08-12 Ulrich Drepper <drepper@gmail.com>
54089
54090 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54091 was a dependency or dynamically loaded.
54092
89edf2e9
UD
540932011-08-11 Ulrich Drepper <drepper@gmail.com>
54094
8e999d29
UD
54095 * intl/l10nflist.c: Allow architecture-specific pop function.
54096 * sysdeps/x86_64/l10nflist.c: New file.
54097
89edf2e9
UD
54098 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54099 classification.
54100
14d96785
AS
541012011-08-10 Andreas Schwab <schwab@redhat.com>
54102
54103 * include/dirent.h: Add libc_hidden_proto for scandirat and
54104 scandirat64. Don't declare __scandirat64.
54105 * dirent/scandirat.c: Add libc_hidden_def.
54106 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54107 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54108
6761ac04
DM
541092011-08-10 David S. Miller <davem@davemloft.net>
54110
54111 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54112 enum.
54113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54116
c55fbd1e
UD
541172011-08-09 Ulrich Drepper <drepper@gmail.com>
54118
54119 * Versions.def [libc]: Add GLIBC_2.15.
54120 * dirent/Makefile (routines): Add scandirat and scandirat64.
54121 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54122 GLIBC_2.15.
54123 * dirent/dirent.h: Declare scandirat and scandirat64.
54124 * dirent/scandirat.c: New file.
54125 * dirent/scandirat64.c: New file.
54126 * sysdeps/wordsize-64/scandirat.c: New file.
54127 * sysdeps/wordsize-64/scandirat64.c: New file.
54128 * dirent/opendir.c: Define opendirat.
54129 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54130 using scandirat.
54131 * dirent/scandir64.c: Adjust for scandir.c change.
54132 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54133 __scandirat64, and __scandir_cancel_handler.
54134 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54135 additional parameter and use openat instead of open (outside of ld.so).
54136 Add new __opendir as wrapper around __opendirat.
54137 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54138 here without requiring old scandirat implementation.
54139
879165f2
UD
541402011-08-08 Ulrich Drepper <drepper@gmail.com>
54141
54142 * dirent/scandir.c (cancel_handler): Renamed to
54143 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54144 defined. Adjust users.
54145 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54146 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54147
cb7e923b
UD
541482011-08-04 Ulrich Drepper <drepper@gmail.com>
54149
16292edd
UD
54150 * string/test-string.h (IMPL): Use __STRING to expand name and then
54151 stringify it.
54152
cb7e923b
UD
54153 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54154 of cleanups.
54155
cff82933
LD
541562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54157
54158 * string/Makefile: Update.
54159 (strop-tests): Append strncat.
54160 * string/test-wcscmp.c: New file.
54161 New comprehensive test for wcscmp.
54162 * string/test-strcmp.c: Update.
54163 (WIDE): New define.
54164
9be9bfcc
AS
541652011-07-22 Andreas Schwab <schwab@redhat.com>
54166
54167 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54168 line.
54169
2e96f1c7
AS
541702011-07-26 Andreas Schwab <schwab@redhat.com>
54171
54172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54173 encoding to ACE if AI_IDN.
54174
85188888
JJ
541752011-08-01 Jakub Jelinek <jakub@redhat.com>
54176
54177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54178 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54179
5fa16e9b
LD
541802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54181
54182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54183 Fix overflow bug in strncat.
54184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54185
54186 * string/test-strncat.c: Update.
54187 Add new tests for checking overflow bugs.
54188
541892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54190
54191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54192 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54193 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54194 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54196 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54197 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54198 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54199 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54200
54201 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54202 (USE_AS_STRCAT): Define.
54203 Add strcat and strncat support.
54204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54205
8c1a459f
AS
542062011-07-25 Andreas Schwab <schwab@redhat.com>
54207
54208 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54209 __n bigger than INT_MAX+1.
54210 (__strncmp_g): Likewise.
54211
bba33c28
UD
542122011-07-23 Ulrich Drepper <drepper@gmail.com>
54213
798be72d
UD
54214 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54215 * libio/stido.h: Likewise.
54216
8accd4dc
UD
54217 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54218 (AF_NFC): Define.
54219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54220 (AF_NFC): Define.
54221
cbff0d96
UD
54222 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54226 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54227
9191c04a
UD
54228 [BZ #13021]
54229 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54230 installed.
54231
bba33c28
UD
54232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54233 typo.
54234 (_dl_x86_64_save_sse): Likewise.
54235
90f139dd
UD
542362011-07-22 Ulrich Drepper <drepper@gmail.com>
54237
1aae088a
UD
54238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54239 OSXSAVE.
54240 (_dl_x86_64_save_sse): Likewise.
54241
8e2045f5
UD
54242 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54243
90f139dd
UD
54244 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54245
1d002f25
AS
542462011-07-21 Andreas Schwab <schwab@redhat.com>
54247
54248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54249 change.
54250 (_dl_x86_64_save_sse): Use correct AVX check.
54251
21137f89
UD
542522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54253
54254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54255 bug in strncpy/strncat.
54256 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54257
a65c0b7a
UD
542582011-07-21 Ulrich Drepper <drepper@gmail.com>
54259
54260 * string/tester.c (test_strcat): Add tests for different alignments
54261 of source and destination.
54262 (test_strncat): Likewise.
54263
6986b98a
UD
542642011-07-20 Ulrich Drepper <drepper@gmail.com>
54265
90bb2039
UD
54266 [BZ #12852]
54267 * posix/glob.c (glob): Check passed in values before using them in
54268 expressions to avoid some overflows.
54269 (glob_in_dir): Likewise.
54270
5644ef54
UD
54271 [BZ #13007]
54272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54273 check for AVX enablement so that we don't crash with old kernels and
54274 new hardware.
54275 * elf/tst-audit4.c: Add same checks here.
54276 * elf/tst-audit6.c: Likewise.
54277
54278 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54279
bfc9dc9b
AS
542802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54281
54282 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54283
702e64bb
UD
542842011-07-20 Ulrich Drepper <drepper@gmail.com>
54285
54286 * po/cs.po: Update from translation team.
54287 * po/bg.po: Likewise.
54288
295e904f
MP
542892011-07-12 Marek Polacek <mpolacek@redhat.com>
54290
54291 * misc/sys/cdefs.h: Add support for const attribute.
54292 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54293 to gnu_dev_{major,minor,makedev} functions.
54294
3ff94596
MP
542952011-07-20 Marek Polacek <mpolacek@redhat.com>
54296
54297 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54298
28b59fca
AS
542992011-07-20 Andreas Schwab <schwab@redhat.com>
54300
54301 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54302 strlen results.
54303
19df733e
AK
543042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54305
54306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54307 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54308 register in order to avoid conflicts with the soft frame pointer
54309 being held in r11 when necessary.
54310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54311 (INTERNAL_VSYSCALL_NCS): Likewise.
54312
c8835729
MP
543132011-07-14 Marek Polacek <mpolacek@redhat.com>
54314
54315 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54316 * elf/dl-fini.c (_dl_fini): Adjust caller.
54317 * elf/dl-close.c (_dl_close_worker): Likewise.
54318 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54319
b902330c
MP
543202011-07-15 Marek Polacek <mpolacek@redhat.com>
54321
8991e135
MP
54322 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54323 "aux_cache->nlibs < 0".
54324
b902330c
MP
54325 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54326 in the reload-count case.
54327
99710781
LD
543282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54329
54330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54331 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54332 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54333 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54334 * sysdeps/x86_64/multiarch/strcat.S: New file.
54335 * sysdeps/x86_64/multiarch/strncat.S: New file.
54336 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54337 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54338 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54339 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54341 (USE_AS_STRCAT): Define.
54342 Add strcat and strncat support.
54343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54344 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54345 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54346 * string/strncat.c: Update.
54347 (USE_AS_STRNCAT): Define.
54348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54349 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54350 and i7.
54351 * sysdeps/x86_64/multiarch/init-arch.h
54352 (bit_Prefer_PMINUB_for_stringop): New.
54353 (index_Prefer_PMINUB_for_stringop): Likewise.
54354 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54355 bit_Prefer_PMINUB_for_stringop.
54356
7dc6bd90
UD
543572011-07-19 Ulrich Drepper <drepper@gmail.com>
54358
54359 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54360 buffer64.
54361 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54362 of casting of buffer.
54363 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54364 buffer32 and buffer64.
54365 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54366 writes instead of casting of buffer.
54367 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54368 buffer32.
54369 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54370 casting of buffer.
54371
e0e72284
AS
543722011-07-19 Andreas Schwab <schwab@redhat.com>
54373
54374 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54375
feb1eb0b
UD
543762011-07-19 Ulrich Drepper <drepper@gmail.com>
54377
54378 * nscd/nscd.c (termination_handler): Don't do anything for a database
54379 if it has not yet been initialized.
54380
298711ff
UD
543812011-07-18 Ulrich Drepper <drepper@gmail.com>
54382
54383 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54384
543852011-07-15 Marek Polacek <mpolacek@redhat.com>
54386
54387 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54388
f9d68389
UD
543892011-07-18 Ulrich Drepper <drepper@gmail.com>
54390
54391 * po/nl.po: Update from translation team.
54392 * po/sv.po: Likewise.
54393
db290cf5
RM
543942011-07-16 Roland McGrath <roland@hack.frob.com>
54395
54396 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54397 now disallowed by GCC.
5c550700 54398
fd5e21c7
RM
54399 * configure.in (use-default-link): Default to yes if a test -shared
54400 link meets our qualifications.
54401 * configure: Regenerated.
54402
5c550700
RM
54403 * config.make.in (output-format): New variable.
54404 * configure.in: Check for ld --print-output-format support.
54405 * configure: Regenerated.
54406 * Makerules ($(common-objpfx)format.lds)
54407 [$(output-format) != unknown]: Just use $(output-format),
54408 instead of the linker-script munging.
54409
9fa2c032
RM
544102011-07-14 Roland McGrath <roland@hack.frob.com>
54411
a6928d51
RM
54412 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54413 of $(common-objpfx)shlib.lds.
54414 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54415
661607b3
RM
54416 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54417 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54418
9fa2c032
RM
54419 * configure.in (-z relro check): Adjust test code to add a large
54420 writable data section after it.
54421 * configure: Regenerated.
54422
defe9061
RM
544232011-07-11 Roland McGrath <roland@hack.frob.com>
54424
54425 * configure.in (-z relro check): Fix test code to make the variable
54426 truly const.
54427 * configure: Regenerated.
54428
319b9ad4
UD
544292011-07-11 Ulrich Drepper <drepper@gmail.com>
54430
54431 * nscd/nscd.h (struct traced_file): Define.
54432 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54433 elements. Add traced_files.
54434 (inotify_fd): Declare.
54435 (register_traced_file): Declare.
54436 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54437 (inotify_fd): Export.
54438 (resolv_conf_descr): Remove.
54439 (nscd_init): Move inotify descriptor creation to main.
54440 Don't register files for notification here.
54441 (register_traced_file): New function.
54442 (invalidate_cache): Don't use reset_res to determine whether to call
54443 res_init, go through the list of registered files.
54444 (main_loop_poll): The inotify descriptors are now stored in the
54445 structures for the traced files.
54446 (main_loop_epoll): Likewise
54447 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54448 to __nss_disable_nscd.
54449 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54450 for a database anymore. Check the records for all the registered
54451 files instead.
54452 * nss/Makefile (libnss_files-routines): Add files-init.
54453 (libnss_db-routines): Add db-init.
54454 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54455 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54456 * nss/nss_db/db-init.c: New file.
54457 * nss/nss_files/files-init.c: New file.
54458 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54459 __nss_lookup_function.
54460 (__nss_lookup_function): Call nss_load_library.
54461 (nss_load_all_libraries): New function.
54462 (__nss_disable_nscd): Take parameter with callback function for files
54463 to register. Set is_nscd. Load all the DSOs for the NSS modules
54464 used for the cached services.
54465 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54466 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54467 options for features to all the files in nscd.
54468
54469 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54470
23bee3e8
RM
544712011-07-10 Roland McGrath <roland@hack.frob.com>
54472
54473 * csu/elf-init.c (__libc_csu_init): Comment typo.
54474
46a5b7f0
UD
544752011-07-09 Ulrich Drepper <drepper@gmail.com>
54476
54477 * po/pl.po: Update from translation team.
54478 * po/ja.po: Likewise.
54479 * po/ru.po: Likewise.
54480 * po/ko.po: Likewise.
54481 * po/fr.po: Likewise.
54482
d30cf5bb
RM
544832011-07-09 Roland McGrath <roland@hack.frob.com>
54484
113ddea4
RM
54485 * configure.in (.ctors/.dtors header and trailer check):
54486 Use an empirical test on a built program.
54487 * configure: Regenerated.
54488
574920b4
RM
54489 * configure.in (-z relro check): Use an empirical test on a built DSO.
54490 Detect, but do not require, on ia64.
54491 * configure: Regenerated.
54492
d30cf5bb
RM
54493 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54494 Update tests that use readelf to use $READELF instead.
54495 * configure: Regenerated.
54496
8538fdb3
UD
544972011-07-08 Ulrich Drepper <drepper@gmail.com>
54498
54499 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54500 if the result is not used.
54501
04d08991
AJ
545022011-07-05 Andreas Jaeger <aj@suse.de>
54503
54504 [BZ#9696]
54505 * stdlib/tst-strtod.c: Add testcase.
54506
de283087
AD
545072011-07-07 Ulrich Drepper <drepper@gmail.com>
54508
4e5f31c8 54509 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54510 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54511 The latter has a higher limit. Take additional parameter to pass to
54512 the new function.
54513 (__pathconf): Pass file to __statfs_link_max.
54514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54515 __statfs_link_max.
54516 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54517 __statfs_link_max.
54518
de283087
AD
54519 [BZ #12868]
54520 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54521 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54522 Handle Lustre.
54523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54524 (__statfs_filesize_max): Likewise.
54525 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54526
c75fa153
AJ
545272011-07-05 Andreas Jaeger <aj@suse.de>
54528
54529 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54530
1a544854
UD
545312011-07-06 Marek Polacek <mpolacek@redhat.com>
54532
54533 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54534 `status' variable.
54535 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54536 Likewise.
54537
6f0eec67
UD
545382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54539
54540 * Makefile (strop-tests): Add strncat.
54541 * string/test-strncat.c: New file.
54542
aae30307
UD
545432011-06-30 Marek Polacek <mpolacek@redhat.com>
54544
54545 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54546
c0cfb5eb
UD
545472011-06-21 Andreas Jaeger <aj@suse.de>
54548
54549 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54550 Copy rule from iconvdata/Makefile.
54551
01636b21
UD
545522011-07-06 Ulrich Drepper <drepper@gmail.com>
54553
54554 [BZ #12922]
54555 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54556 but no long options are defined, just return 'W'.
54557
9895c8bc
UD
545582011-06-22 Marek Polacek <mpolacek@redhat.com>
54559
54560 [BZ #9696]
54561 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54562
5d4cf042
UD
545632011-07-06 Ulrich Drepper <drepper@gmail.com>
54564
54565 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54566 netgroups to read.
960e5535 54567 (innetgr): Likewise.
5d4cf042 54568
751eb97e
RM
545692011-07-05 Roland McGrath <roland@hack.frob.com>
54570
54571 * config.make.in (install_root): Default to $(DESTDIR).
54572
f15f1e45
UD
545732011-07-05 Ulrich Drepper <drepper@gmail.com>
54574
54575 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54576
4e34ac6a
RM
545772011-07-02 Roland McGrath <roland@hack.frob.com>
54578
5e9b6af4
RM
54579 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54580
84f9ea0f
RM
54581 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54582 containing directory rather than embedding absolute directory names.
54583
ea5ee9f7
RM
54584 * scripts/check-local-headers.sh: Rewritten using awk.
54585 Match by word, not by line. Print error messages for matches.
54586 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54587
1b74661a
RM
54588 * Makerules [shlib-lds-flags empty]:
54589 ($(common-objpfx)libc_pic.opts): New target.
54590 ($(common-objpfx)libc_pic.os.clean): New target.
54591 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54592
54593 * config.make.in (OBJCOPY): New variable.
54594 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54595 * configure: Regenerated.
54596
f781ef40
RM
54597 * config.make.in (use-default-link): New variable.
54598 * configure.in (use_default_link): Grok --with-default-link to set it.
54599 * configure: Regenerated.
54600 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54601 (shlib-lds, shlib-lds-flags): Define to empty.
54602
2d4fa81e
RM
54603 * Makerules (shlib-lds): New variable.
54604 (shlib-lds-flags): New variable.
54605 (build-shlib, build-moduile, build-module-asneeded): Use it.
54606 ($(common-objpfx)libc.so): Use $(shlib-lds).
54607 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54608 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54609
31fffa6b
RM
54610 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54611 DT_FLAGS/DT_FLAGS_1 with zero flags.
54612
4e34ac6a
RM
54613 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54614 linker script munging.
54615
fcfc776b
UD
546162011-07-02 Ulrich Drepper <drepper@gmail.com>
54617
54618 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54619 as 128-bit value.
54620 * crypt/sha512.c (sha512_process_block): Perform total addition using
54621 128-bit if possible.
54622 (__sha512_finish_ctx): Likewise.
54623 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54624 as 64-bit value.
54625 * crypt/sha256.c (SWAP64): Define.
54626 (sha256_process_block): Perform total addition using 64-bit if
54627 possible.
54628 (__sha256_finish_ctx): Likewise.
54629
99231d9a
UD
546302011-07-01 Ulrich Drepper <drepper@gmail.com>
54631
54632 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54634 * nscd/hstcache.c (cache_addhst): Likewise.
54635 * nscd/grpcache.c (cache_addgr): Likewise.
54636 * nscd/aicache.c (addhstaiX): Likewise
54637 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54638
445b4a53
TK
546392011-07-01 Thorsten Kukuk <kukuk@suse.de>
54640
54641 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54643 * nscd/hstcache.c (cache_addhst): Likewise.
54644 * nscd/grpcache.c (cache_addgr): Likewise.
54645 * nscd/aicache.c (addhstaiX): Likewise
54646
6d4d8e8e
AS
546472011-07-01 Andreas Schwab <schwab@redhat.com>
54648
54649 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54650 domain only when needed.
54651
89f654c5
AS
546522011-06-30 Andreas Schwab <schwab@redhat.com>
54653
54654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54655 is always restored.
54656
cf3b23ff
UD
546572011-06-29 Ulrich Drepper <drepper@gmail.com>
54658
54659 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54660 are re-adding the entry.
54661 * nscd/servicescache.c (cache_addserv): Likewise.
54662
751626f9
AJ
546632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54664
54665 * sysdeps/generic/dl-irel.h: fix protection against multiple
54666 inclusions.
54667 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54668
9113ea1f
UD
546692011-06-28 Ulrich Drepper <drepper@gmail.com>
54670
5c0b8d90
UD
54671 [BZ #12935]
54672 * malloc/memusage.sh: Fix quoting in message.
54673 * debug/xtrace.sh: Likewise.
54674
9113ea1f
UD
54675 * configure.in: Remove support for --experimental-malloc option, make
54676 it the default.
54677 * config.make.in: Likewise.
54678 * malloc/Makefile: Likewise.
54679
a4172181
AS
546802011-06-27 Andreas Schwab <schwab@redhat.com>
54681
54682 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54683 two-byte characters.
54684
78a7eee7
RM
546852011-06-27 Roland McGrath <roland@hack.frob.com>
54686
62bede13
RM
54687 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54688 AC_CACHE_CHECK invocation.
54689 * configure: Regenerated.
54690
78a7eee7
RM
54691 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54692
5ce33a62
UD
546932011-06-27 Ulrich Drepper <drepper@gmail.com>
54694
034807a9
UD
54695 [BZ #12350]
54696 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54697 bit from old_res_options.
54698
4902da17
UD
54699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54700
5ce33a62
UD
54701 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54702 value type for setfct.
54703
c2344f56
L
547042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54705
54706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54707 __gettimeofday instead of gettimeofday.
54708
68468076
UD
547092011-06-26 Ulrich Drepper <drepper@gmail.com>
54710
54711 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54712
acb0d739
L
547132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54714
54715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54716
54717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54718 info.
54719
8912479f
L
547202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54721
54722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54723 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54724 strcpy-sse2-unaligned strncpy-sse2-unaligned
54725 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54726 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54727 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54728 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54729 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54732 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54733 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54734 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54735 (STRCPY): Support SSE2 and SSSE3 versions.
54736
d5495a11
UD
547372011-06-24 Ulrich Drepper <drepper@gmail.com>
54738
54739 [BZ #12874]
54740 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54741 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54742 kernels which artificially limit size of requests.
54743
0b1cbaae
L
547442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54745
54746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54747 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54748 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54749 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54750 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54751 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54752 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54753 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54756 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54757 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54758 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54759 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54760 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54762 Enable unaligned load optimization for Intel Core i3, i5 and i7
54763 processors.
54764 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54765 Define.
54766 (index_Fast_Unaligned_Load): Define.
54767 (HAS_FAST_UNALIGNED_LOAD): Define.
54768
07f494a0
MP
547692011-06-23 Marek Polacek <mpolacek@redhat.com>
54770
54771 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54772
fa3fc0fe
UD
547732011-06-22 Ulrich Drepper <drepper@gmail.com>
54774
54775 [BZ #12907]
54776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54777 until it is clear that the information is realy needed.
54778 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54779
e12df166
AS
547802011-06-22 Andreas Schwab <schwab@redhat.com>
54781
54782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54783
852eb34d
UD
547842011-06-22 Ulrich Drepper <drepper@gmail.com>
54785
84e2a551
UD
54786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54787 /sys/devices/system/cpu/online if it is usable.
54788
852eb34d
UD
54789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54790 reading the information from the /proc filesystem to once a second.
54791
6e502e19
UD
547922011-06-21 Andreas Jaeger <aj@suse.de>
54793
54794 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54795 NULL after inclusion of kernel headers.
54796
75d39ff2
UD
547972011-06-21 Ulrich Drepper <drepper@gmail.com>
54798
51f9aa6a
UD
54799 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54800 calls to internal_setent.
54801
c0244a9d
UD
54802 [BZ #12885]
54803 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54804 addresses using gethostbyname4_r ignore IPv4 addresses.
54805
c5e3c2ae
UD
54806 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54807 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54808
75d39ff2
UD
54809 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54810
42675c6f
DM
548112011-06-20 David S. Miller <davem@davemloft.net>
54812
54813 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54814 inclusions.
54815 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54816
54817 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54818 (elf_irel): Use it.
54819 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54820 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54821 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54822 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54823 * sysdeps/x86_64/dl-irel.h: Likewise.
54824
54825 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54826 * elf/dl-sym.c: Likewise.
54827
57912a71
UD
548282011-06-15 Ulrich Drepper <drepper@gmail.com>
54829
54830 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54831 need to dereference resplen2.
54832
ee22793d
AS
548332011-06-14 Andreas Schwab <schwab@redhat.com>
54834
54835 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54836
a9e836b0
UD
548372011-06-15 Ulrich Drepper <drepper@gmail.com>
54838
77fb9117
UD
54839 * Makeconfig: Define vardbdir and inst_vardbdir.
54840 * nss/Makefile: Add rules to install db-Makefile.
54841
40c1b22c
UD
54842 * nss/nss_db/db-XXX.c: Cleanup.
54843
9f2da732
UD
54844 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54845 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54846 GLIBC_PRIVATE.
54847 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54848 * nss/makedb.c: Implement -g option to specify that value strings
54849 are generated and should not be added to table iterated over for
54850 get*ent calls.
54851 * nss/nss_db/db-initgroups.c: New file.
54852
82e9a1f7
UD
54853 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54854 interface.
54855
c41af17e
UD
54856 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54857 (internal_getgrouplist): Adjust to name change.
54858 Update use_initgroups_entry if this is not the first call.
54859 * nss/databases.def: Add initgroups entry.
54860
a9e836b0
UD
54861 * nss/makedb.c (compute_tables): Check result of multiple hash table
54862 sizes to minimize maximum chain length.
54863
2666d441
UD
548642011-06-14 Ulrich Drepper <drepper@gmail.com>
54865
54866 * Versions.def: Add entry for libnss_db.
54867 * shlib-versions: Likewise.
54868 * nss/Makefile: Add rules to build libnss_db.
54869 * nss/Versions: Add libnss_db information. Organize libnss_files
54870 entries better.
54871 * nss/db-Makefile: Add gshadow support. Change rules for the new
54872 makedb progra. Some minor improvements to generate smaller files.
54873 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54874 here from...
54875 * nss/makedb.c: ...here.
54876 Improve database format to be smaller and require less memory at
54877 runtime.
54878 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54879 db anymore.
54880 * nss/nss_db/db-netgrp.c: Likewise.
54881 * nss/nss_db/db-open.c: Likewise.
54882 * nss/nss_files/flies-XXX.x: Adjust comments.
54883 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54884 * nss/nss_files/files-grp.c: Likewise.
54885 * nss/nss_files/files-hosts.c: Likewise.
54886 * nss/nss_files/files-network.c: Likewise.
54887 * nss/nss_files/files-proto.c: Likewise.
54888 * nss/nss_files/files-pwd.c: Likewise.
54889 * nss/nss_files/files-rpc.c: Likewise.
54890 * nss/nss_files/files-service.c: Likewise.
54891 * nss/nss_files/files-sgrp.c: Likewise.
54892 * nss/nss_files/files-spwd.c: Likewise.
54893 * nss/nss_db/db-alias.c: Removed.
54894 * nss/nss_db/dummy-db.h: Removed.
54895
9ee76b5a
UD
548962011-06-02 Ulrich Drepper <drepper@gmail.com>
54897
54898 * nss/makedb.c: Rewritten to not use database library.
54899 * nss/Makefile: Update to build new makedb program.
54900
c71ca1f8
AJ
549012011-06-14 Andreas Jaeger <aj@suse.de>
54902
54903 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54904 memset declaration.
54905
3154bfb8
UD
549062011-06-10 Andreas Schwab <schwab@redhat.com>
54907
54908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54909 tmpbuf.
54910
b350afab
RM
549112011-06-10 Roland McGrath <roland@hack.frob.com>
54912
decd4e50
RM
54913 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54914 * elf/Makefile ($(objpfx)ld.so): Likewise.
54915
5615eaf2
RM
54916 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54917 Don't list ld.so twice in dependencies.
54918
54919 * posix/bug-regex31.c: Include <stdlib.h>.
54920
54921 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54922
54923 * nis/nss_compat/compat-spwd.c
54924 (getspent_next_nss_netgr): Remove unused variable.
54925 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54926
54927 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54928 nonmembers" output to use the right array.
54929
54930 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54931
54932 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54933
54934 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54935 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54936 * catgets/gencat.c (read_input_file): Likewise.
54937 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54938
54939 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54940 variable definition inside #if's controlling its use.
54941
54942 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54943
54944 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54945
54946 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54947
54948 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54949 unreachable code.
54950
54951 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54952
b68e08db
RM
54953 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54954 * configure: Regenerated.
54955
b350afab
RM
54956 * Makerules: Revert last change.
54957 * elf/Makefile: Likewise.
54958
28368601
RM
549592011-06-09 Roland McGrath <roland@hack.frob.com>
54960
54961 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54962 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54963 (reloc-link): Likewise.
54964
11988f8f
UD
549652011-06-09 Ulrich Drepper <drepper@gmail.com>
54966
54967 * elf/Makefile: Add rules to build pldd.
54968 * elf/pldd.c: New file.
54969 * elf/pldd-xx.c: New file.
54970
e80fab37
UD
549712011-06-07 Ulrich Drepper <drepper@gmail.com>
54972
54973 * version.h: Update for 2.15 development version.
54974
9b849836
DM
549752011-06-07 David S. Miller <davem@davemloft.net>
54976
54977 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54978 ifuncs.
54979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54980 elf_machine_lazy_rel): Likewise.
54981 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54983 elf_machine_lazy_rel): Likewise.
54984 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54985 dl_hwcap via passed in argument.
54986 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54987 Likewise.
54988
5a31b283
AK
549892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54990
54991 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54992
069e52f8
RM
549932011-06-06 Roland McGrath <roland@hack.frob.com>
54994
54995 [BZ #12849]
54996 * manual/fdl-1.1.texi: New file, verbatim from:
54997 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54998 * manual/lgpl-2.1.texi: New file, verbatim from:
54999 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55000 * manual/Makefile (licenses): New variable, list those new file names.
55001 (texis): Use it.
55002 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55003
55004 * manual/fdl.texi: File removed.
55005 * manual/lesser.texi: File removed.
55006 * manual/libc.texinfo (Copying, Documentation License):
55007 Use new @include file names, put @appendix directive before @include.
55008
f16846a5
JJ
550092011-06-04 Jakub Jelinek <jakub@redhat.com>
55010
55011 [BZ #12841]
55012 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55013 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55014 (mq_open): Add __NTH.
55015
3d29045b
L
550162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55017
55018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55019 Assume Intel Core i3/i5/i7 processor if AVX is available.
55020
8c297311
UD
550212011-05-31 Ulrich Drepper <drepper@gmail.com>
55022
55023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55024 typo.
55025
c8fc0c91
UD
550262011-05-31 Andreas Schwab <schwab@redhat.com>
55027
55028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55029 memory. Use alloca_account. Fix memory leak when retrying.
55030
5b27a807
UD
550312011-05-31 Ulrich Drepper <drepper@gmail.com>
55032
356f8bc6
UD
55033 * version.h (RELEASE): Bump for 2.14 release.
55034 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55035
5b27a807
UD
55036 * config.make.in (RANLIB): Remove entry.
55037
01f16ab0
UD
550382011-05-30 Ulrich Drepper <drepper@gmail.com>
55039
41fce8bd
UD
55040 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55041 (libc.pot): Work around missing support for .ksh extension in xgettext.
55042
4769ae77
UD
55043 [BZ #12684]
55044 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55045 if both request failed.
55046 (send_dg): In case of server errors clear resplen or *resplen2.
55047
6b1e7d19
UD
55048 [BZ #12454]
55049 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55050 when there are multiple maps.
55051 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55052 (_dl_fini): Remove test here.
55053
01f16ab0
UD
55054 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55055
b1ebd700
UD
550562011-05-29 Ulrich Drepper <drepper@gmail.com>
55057
7ae22829
UD
55058 [BZ #12350]
55059 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55060 bit from old_res_options.
55061 (gaih_inet): Likewise.
55062
553149f6 55063 [BZ #11099]
18a84741 55064 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55065 as signed.
55066
652ffab1
UD
55067 * resolv/res_init.c (res_setoptions): Make the code more compact.
55068
16985fd0
UD
55069 [BZ #11558]
55070 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55071 set RES_USEVC.
55072
0464f746
UD
55073 [BZ #11634]
55074 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55075
7d17596c
UD
55076 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55077
cf6bbbd7
UD
55078 [BZ #11781]
55079 * malloc/malloc.h: Declare malloc hook variables as volatile.
55080
13f1ab36
UD
55081 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55082 in last patch.
55083
b1ebd700
UD
55084 [BZ #11799]
55085 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55086 raise in the comment.
80e2212d
UD
55087 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55089 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55090
ce67228d
UD
550912011-05-28 Ulrich Drepper <drepper@gmail.com>
55092
8887a920
UD
55093 [BZ #12811]
55094 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55095 grow the buffers more if it already has to be sufficient.
55096 (build_wcs_upper_buffer): Likewise.
55097 * posix/regexec.c (check_matching): Likewise.
55098 (clean_state_log_if_needed): Likewise.
55099 (extend_buffers): Don't enlarge buffers beyond size of the input
55100 buffer.
55101 Patches mostly by Emil Wojak <emil@wojak.eu>.
55102 * posix/bug-regex32.c: New file.
55103 * posix/Makefile (tests): Add bug-regex32.
55104
4f031072
UD
55105 * locale/findlocale.c (_nl_find_locale): Return right away if
55106 _nl_explode_name failed.
55107 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55108
d0478f0c
UD
55109 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55110
de81b246
UD
55111 * debug/xtrace.sh: Unify messages.
55112 * malloc/memusage.sh: Likewise.
55113
c738465a
UD
55114 [BZ #12813]
55115 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55116 time symbol from vDSO. Substitute with vsyscall if not available.
55117 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55118 __vdso_time.
55119
f1f929d7
UD
55120 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55121 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55122 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55123 Add sendmmsg and internal_sendmmsg.
55124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55125 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55127
ce67228d
UD
55128 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55129 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55131
e57420c6
UD
551322011-05-27 Ulrich Drepper <drepper@gmail.com>
55133
a8509ca5
UD
55134 [BZ #12813]
55135 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55136 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55137 available.
55138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55139 __vdso_getcpu.
55140
e57420c6
UD
55141 [BZ #12814]
55142 * iconvdata/Makefile (tests): Add bug-iconv9.
55143 * iconvdata/bug-iconv9.c: New file.
55144
4d07db15
AS
551452011-05-27 Andreas Schwab <schwab@redhat.com>
55146
55147 [BZ #12814]
55148 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55149
ea486f69
JJ
551502011-05-25 Jakub Jelinek <jakub@redhat.com>
55151
55152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55153 (struct user_regs_struct): Change intcs field back to cs.
55154
6f038433
UD
551552011-05-25 Ulrich Drepper <drepper@gmail.com>
55156
55157 * po/ja.po: Update from translation team.
55158
67f86a25
UD
551592011-05-23 Ulrich Drepper <drepper@gmail.com>
55160
55161 [BZ #12795]
55162 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55163 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55164
def7fbd6
AS
551652011-05-20 Andreas Schwab <schwab@redhat.com>
55166
55167 * stdlib/longlong.h: Update from GCC.
55168
f50ef8f1
AS
551692011-05-23 Andreas Schwab <schwab@redhat.com>
55170
55171 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55172 parameter name.
55173 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55174 Add parameter name.
55175 (__sysconf): Pass it down.
55176
de7ce8f1
UD
551772011-05-22 Ulrich Drepper <drepper@gmail.com>
55178
f2962a71
UD
55179 [BZ #12671]
55180 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55181 some situations.
55182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55183 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55184 add in in __libc_use_alloca calls. Adjust callers.
55185 (glob): Use malloc in some situations.
55186
de7ce8f1
UD
55187 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55188 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55189 pltexit.
55190
aec84f53
UD
551912011-05-21 Ulrich Drepper <drepper@gmail.com>
55192
05bb4a68
UD
55193 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55194 and CLOCK_BOOTTIME_ALARM.
55195
7ea72f99
UD
55196 [BZ #12782]
55197 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55198 is returned.
55199
7e4afad5
UD
55200 * string/_strerror.c (__strerror_r): Print negative errors as signed
55201 numbers.
55202
8e211fec
UD
55203 [BZ #12777]
55204 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55205 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55206 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55207
f7d82dc9
UD
55208 * configure.in: Fix typo in redirection and correct removal of test
55209 files in two cases.
55210
cc9e536d
UD
55211 [BZ #12788]
55212 * locale/setlocale.c (new_composite_name): Fix test to check for
55213 identical name of all categories.
55214
aec84f53
UD
55215 [BZ #12792]
55216 * libio/filedoalloc.c (local_isatty): New function.
55217 (_IO_file_doallocate): Use local_isatty.
55218 * stdio-common/perror.c (perror): In case a new stream is used
55219 forward the stream error.
55220 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55221 error flag.
55222
78e64fdc
RT
552232011-05-20 Ulrich Drepper <drepper@gmail.com>
55224
34a9094f
UD
55225 [BZ #11869]
55226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55227 alloca.
55228 * include/alloca.h (extend_alloca_account): Define.
55229
78e64fdc
RT
55230 [BZ #11857]
55231 * posix/regex.h: Fix comments with documentation of user-accessible
55232 fields after compilation and describe correct free'ing of pattern
55233 after re_compile_pattern.
55234 Patch by Reuben Thomas <rrt@sc3d.org>.
55235
457bddfc
RA
552362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55237
55238 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55239 and -mno-altivec to prevent the compiler from using Altivec and/or
55240 VSX instructions when the corresponding registers are not available.
55241
a4527b51
AS
552422011-05-19 Andreas Schwab <schwab@redhat.com>
55243
55244 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55245
ed690b2f
UD
552462011-05-19 Ulrich Drepper <drepper@gmail.com>
55247
55248 * libio/freopen.c (freopen): Use __dup2, not dup2.
55249 * libio/freopen64.c (freopen64): Likewise.
55250
8db73634
L
552512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55252
55253 [BZ #12775]
55254 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55255 * math/Makefile (tests): Add test-powl.
55256 (CFLAGS-test-powl.c): Define.
55257 * math/test-powl.c: New file.
55258
0a197a9d
L
552592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55260
55261 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55262
ee30c380
UD
552632011-05-17 Ulrich Drepper <drepper@gmail.com>
55264
55265 [BZ #11837]
55266 * iconvdata/gb18030.c: Update to GB18020-2005.
55267
6ce75379
UD
552682011-05-16 Ulrich Drepper <drepper@gmail.com>
55269
a4b89fd8
AR
55270 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55271 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55272 Patch by Aharon Robbins <arnold@skeeve.com>.
55273
ea389b12
UD
55274 [BZ #11892]
55275 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55276 on the stack.
55277
68a3f91f
UD
55278 [BZ #11895]
55279 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55280 through underflows.
55281
15cc7dd1
UD
55282 [BZ #12766]
55283 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55284 point to strings before performing equality test for error_one_per_line
55285 mode.
55286
f3799213
UD
55287 [BZ #11697]
55288 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55289
d79a9c94
UD
55290 [BZ #11820]
55291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55292 (struct user_fpregs_struct): Avoid __uint*_t types.
55293
56e5eb46
UD
55294 [BZ #6420]
55295 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55296 symbol info. Use it instead of calling _dl_addr locally.
55297 (lock_and_info): New function.
55298 (tr_freehook): Call lock_and_info and pass symbol info as additional
55299 parameter to tr_where.
55300 (tr_mallochook): Likewise.
55301 (tr_reallochook): Likewise.
55302 (tr_memalignhook): Likewise.
55303
6ce75379
UD
55304 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55305 used and couldn't be at all thread-safe.
55306
f8a3b5bf
UD
553072011-05-15 Ulrich Drepper <drepper@gmail.com>
55308
94b7cc37
UD
55309 * libio/freopen.c (freopen): Don't close old file descriptor
55310 before the new one is opened. Instead dup the new file descriptor
55311 to the old one after the new stream is created.
55312 * libio/freopen64.c (freopen64): Likewise.
55313 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55314 * libio/fileops.c (_IO_new_file_close_it): Handle new
55315 _IO_FLAGS2_NOCLOSE flag.
55316 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55317 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55318 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55319 _IO_FLAGS2_NOCLOSE flag.
55320 * include/unistd.h: Add hidden_proto for dup3.
55321 Define __have_dup3.
55322 * io/dup3.c: Define hidden symbol.
55323 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55324
bd25564e
UD
55325 [BZ #7101]
55326 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55327 when an incomplete long option is used.
55328 * posix/tst-getopt_long1.c: New file.
55329 * posix/Makefile (tests): Add tst-getopt_long1.
55330
c84cfef4
UD
55331 [BZ #10138]
55332 * scripts/config.guess: Update from autoconf-2.68.
55333 * scripts/config.sub: Likewise.
55334
3b85df27
UD
55335 [BZ #10157]
55336 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55337 tests into ...
55338 (has_cpuclock): ...this. New function.
55339 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55340 macro here based on has_cpuclock code.
55341
15a856b1
UD
55342 [BZ #10149]
55343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55344 First byte (not low byte) is now always NUL.
55345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55346
05f399e6
UD
55347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55348 Use non-cancelable interfaces.
55349
10a52685 55350 [BZ #9809]
94ecc67d
UD
55351 * locale/iso-639.def: Add entry for Sorani.
55352
f8a3b5bf
UD
55353 [BZ #11901]
55354 * include/stdlib.h: Move include protection to the right place.
55355 Define abort_msg_s. Declare __abort_msg with it.
55356 * stdlib/abort.c (__abort_msg): Adjust type.
55357 * assert/assert.c (__assert_fail_base): New function. Majority
55358 of code from __assert_fail. Allocate memory for __abort_msg with
55359 mmap.
55360 (__assert_fail): Now call __assert_fail_base.
55361 * assert/assert-perr.c: Remove bulk of implementation. Use
55362 __assert_fail_base.
55363 * include/assert.hL Declare __assert_fail_base.
55364 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55365 mmap.
55366 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55367
1af4e298
UD
553682011-05-14 Ulrich Drepper <drepper@gmail.com>
55369
f8a3b5bf 55370 [BZ #11952]
d26dfc60
MG
55371 [BZ #12453]
55372 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55373 until all modules are registered in the DTV.
55374 * elf/Makefile: Add rules to build and run tst-tls19.
55375 * elf/tst-tls19.c: New file.
55376 * elf/tst-tls19mod1.c: New file.
55377 * elf/tst-tls19mod2.c: New file.
55378 * elf/tst-tls19mod3.c: New file.
55379 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55380
2fc54d6f
UD
55381 [BZ #12083]
55382 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55383 correctly.
55384
98d76b46
UD
55385 [BZ #12601]
55386 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55387 two-byte sequence errors.
55388 * iconvdata/Makefile (tests): Add bug-iconv8.
55389 * iconvdata/bug-iconv8.c: New file.
55390
da3c19ef
UD
55391 [BZ #12626]
55392 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55393 buf2 definition.
55394
ca408c15
UD
55395 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55396
d6f67f7d
UD
55397 [BZ #12432]
55398 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55399 (dummy_getcfa): New function.
55400 (init): Get _Unwind_GetCFA address, use dummy if not found.
55401 (backtrace_helper): In recursion check, also check whether CFA changes.
55402 (__backtrace): Completely initialize arg.
55403
1af4e298 55404 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55405 storing incomplete byte sequence in state object. Avoid testing for
55406 guaranteed too small input if we know there is enough data available.
1af4e298 55407
da62f81b
AS
554082011-05-11 Andreas Schwab <schwab@redhat.com>
55409
55410 * Makeconfig (+link-pie): Indent.
55411 * Rules (binaries-pie): Define if $(have-fpie) and
55412 $(build-shared).
55413 (binaries-shared): Also filter out $(binaries-pie).
55414 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55415 * nscd/Makefile (others-pie): Add nscd.
55416 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55417 ($(objpfx)nscd): Remove command override.
55418 * login/Makefile (others-pie): Add pt_chown.
55419 ($(objpfx)pt_chown): Remove command override.
55420 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55421 remove command overrides.
55422
fcabc0f8
UD
554232011-05-13 Ulrich Drepper <drepper@gmail.com>
55424
20030ae6
UD
55425 * libio/tst_putwc.c: Fix error messages.
55426
fcabc0f8
UD
55427 [BZ #12724]
55428 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55429 currently writing and seek to current position when not.
55430 * libio/Makefile (tests): Add bug-fclose1.
55431 * libio/bug-fclose1.c: New file.
55432
320a5dc0
PB
554332011-05-12 Ulrich Drepper <drepper@gmail.com>
55434
55435 [BZ #12511]
55436 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55437 don't set DF_1_NODELETE here.
55438 (do_lookup_x): When entering new entry test for copy relocation
55439 and if necessary set DF_1_NODELETE flag.
55440 * elf/tst-unique4.cc: New file.
55441 * elf/tst-unique4.h: New file.
55442 * elf/tst-unique4lib.cc: New file.
55443 * elf/Makefile: Add rules to build and run tst-unique4.
55444 Patch by Piotr Bury <pbury@goahead.com>.
55445
22836f52
UD
554462011-05-11 Ulrich Drepper <drepper@gmail.com>
55447
f574184a
UD
55448 [BZ #12052]
55449 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55450
e1fb097f
UD
55451 [BZ #12625]
55452 * misc/mntent_r.c (addmntent): Flush the stream after the output
55453
22836f52
UD
55454 [BZ #12393]
55455 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55456 (is_trusted_path_normalize): Skip initial colon. Append slash
55457 to empty buffer. Duplicate is_trusted_path code but allow
55458 constructed patch to be prefix.
55459 (is_dst): Allow $ORIGIN followed by /.
55460 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55461 Correct testing of result of is_trusted_path_normalize
55462 (decompose_rpath): Fix warning.
55463
7b3b0b2a
UD
554642011-05-10 Ulrich Drepper <drepper@gmail.com>
55465
55466 [BZ #11257]
55467 * grp/initgroups.c (internal_getgrouplist): When we found the service
55468 list through the initgroups entry in nsswitch.conf do not always
55469 continue on a successful lookup. Don't always use the
eac80ce2 55470 __nss_group_database value if it is set.
7b3b0b2a
UD
55471 * nss/nsswitch.conf (initgroups): Change action for successful db
55472 lookup to continue for compatibility.
55473
2a81eaa5
UD
554742011-05-09 Ulrich Drepper <drepper@gmail.com>
55475
be97a69e
UD
55476 [BZ #11532]
55477 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55478 and CP774 modules.
55479 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55480 and CP774 modules.
55481 * iconvdata/tst-tables.sh: Likewise.
55482 * iconvdata/cp770.c: New file.
55483 * iconvdata/cp771.c: New file.
55484 * iconvdata/cp772.c: New file.
55485 * iconvdata/cp773.c: New file.
55486 * iconvdata/cp774.c: New file.
55487 * iconvdata/testdata/CP770: New file.
55488 * iconvdata/testdata/CP770..UTF8: New file.
55489 * iconvdata/testdata/CP771: New file.
55490 * iconvdata/testdata/CP771..UTF8: New file.
55491 * iconvdata/testdata/CP772: New file.
55492 * iconvdata/testdata/CP772..UTF8: New file.
55493 * iconvdata/testdata/CP773: New file.
55494 * iconvdata/testdata/CP773..UTF8: New file.
55495 * iconvdata/testdata/CP774: New file.
55496 * iconvdata/testdata/CP774..UTF8: New file.
55497
55498 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55499 END CHARMAP line.
55500 * iconvdata/gen-8bit-gap.sh: Likewise.
55501 * iconvdata/gen-8bit.sh: Likewise.
55502
c1e9e399
UD
55503 * locale/iso-639.def: Add ary entry.
55504
24c55fb3 55505 [BZ #11258]
96b4b1b0
UD
55506 * locale/C-translit.h.in: Add U20A1 transliteration.
55507
bdc2f971
KB
55508 [BZ #12178]
55509 * locale/iso-639.def: Add wae entry.
55510 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55511
2952b117
UD
55512 [BZ #12545]
55513 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55514 for n.
55515
2a81eaa5
UD
55516 [BZ #12711]
55517 * locale/C-translit.h.in: Add entry for U20B9.
55518 Patch by pravin.d.s@gmail.com.
55519
28377d1b
UD
555202011-05-08 Ulrich Drepper <drepper@gmail.com>
55521
7fb90fb8
UD
55522 [BZ #12713]
55523 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55524 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55525 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55526 in rtld. Use *stat64.
7fb90fb8 55527 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55528 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55529 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55530 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55531 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55532 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55533 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55534 __fstatat64 macros.
7fb90fb8
UD
55535 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55536 * dirent/rewinddir.c: Add libc_hidden_def.
55537 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55538 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55539
28377d1b
UD
55540 * include/dirent.h (__alloc_dir): Add flags parameter.
55541 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55542 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55543 __alloc_dir.
55544 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55545 from fdopendir if O_CLOEXEC is already set.
55546
66bdbaa4
AM
555472011-03-15 Alan Modra <amodra@gmail.com>
55548
55549 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55550 l_tls_firstbyte_offset non-zero. Save padding offset in
55551 l_tls_firstbyte_offset for later use.
55552 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55553 freeing static tls block.
55554
95721191
JN
555552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55556
55557 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55558 where #ifdef was intended. The intent is to prevent ARG_MAX from
55559 being defined by the kernel headers.
55560
f87dfb1f
UD
555612011-05-07 Ulrich Drepper <drepper@gmail.com>
55562
55563 [BZ #12734]
55564 * resolv/resolv.h: Define RES_NOTLDQUERY.
55565 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55566 no-tld-query and set RES_NOTLDQUERY.
55567 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55568 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55569 modern BIND to search name as TLD unless forbidden.
55570
47c3cd7a
UD
555712011-05-07 Petr Baudis <pasky@suse.cz>
55572 Ulrich Drepper <drepper@gmail.com>
55573
55574 [BZ #12393]
55575 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55576 (is_trusted_path): ...to here.
c1e9ea35 55577 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55578 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55579 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55580
8a35c912
PP
555812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55582
55583 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55584 __BEGIN/__END_DECLS.
55585
acd41f47
UD
555862011-05-06 Ulrich Drepper <drepper@gmail.com>
55587
55588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55589 NSS_STATUS_NOTFOUND if no record was found.
55590
597df647
AS
555912011-05-05 Andreas Schwab <schwab@redhat.com>
55592
55593 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55594 (headers-not-in-tirpc): Remove rpc/netdb.h
55595 * resolv/netdb.h: Revert last change.
55596
b9af1301
PP
555972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55598
55599 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55600 circular dependency between libgcc.a and libc.a.
55601
4e34d5f5
AS
556022011-05-05 Andreas Schwab <schwab@redhat.com>
55603
55604 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55605 * nis/Makefile: Don't install rpcsvc/*.
55606 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55607 instead of <rpc/types.h>.
55608 (MAXHOSTNAMELEN): Define.
55609
00ee369c
AS
556102011-05-03 Andreas Schwab <schwab@redhat.com>
55611
55612 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55613
0b592a30
MB
556142011-04-28 Maciej Babinski <mbabinski@google.com>
55615
55616 [BZ #12714]
55617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55618 gethostbyname4_r when IPv6 results are possible.
55619
6e04cbbe
UD
556202011-05-02 Ulrich Drepper <drepper@gmail.com>
55621
55622 [BZ #12723]
55623 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55624 _PC_PIPE_BUF handling.
55625
e4ecafe0
BH
556262011-04-30 Bruno Haible <bruno@clisp.org>
55627
55628 [BZ #12717]
55629 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55630 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55631 to 'int'.
55632 * inet/getnameinfo.c (getnameinfo): Likewise.
55633
125ee683
UD
556342011-04-29 Ulrich Drepper <drepper@gmail.com>
55635
55636 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55637 to groups setting in database lookup.
55638 * nss/nsswitch.conf: Add initgroups entry.
55639
b722481a
EB
556402011-04-22 Ulrich Drepper <drepper@gmail.com>
55641
55642 [BZ #12685]
55643 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55644 mode string.
55645 Patch by Eric Blake <eblake@redhat.com>.
55646
4df46dbd
L
556472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55648
55649 * sunrpc/Makefile (need-export-routines): Add svc_run.
55650 (routines): Remove svc_run.
55651 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55652 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55653 * sunrpc/svc_run.c (svc_run): Likewise.
55654 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55655
e84142d2
UD
556562011-04-21 Ulrich Drepper <drepper@gmail.com>
55657
55658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55659 problem in reallocation in last patch.
55660
877175d8
UD
556612011-04-20 Ulrich Drepper <drepper@gmail.com>
55662
55663 * sunrpc/Makefile: Move inclusion of Rules.
55664
ab8eed78
UD
556652011-04-19 Ulrich Drepper <drepper@gmail.com>
55666
55667 * nss/nss_files/files-initgroups.c: New file.
55668 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55669 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55670 _nss_files_initgroups_dyn.
55671
e3d8f584
RS
556722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55673
55674 * elf/elf.h (R_ARM_IRELATIVE): Define.
55675
af190f45
UD
556762011-04-19 Ulrich Drepper <drepper@gmail.com>
55677
55678 * po/ru.po: Update from translation team.
55679
53cf59ef
UD
556802011-04-17 Ulrich Drepper <drepper@gmail.com>
55681
55682 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55683 dependencies.
55684
4c559bcd
MF
556852011-02-06 Mike Frysinger <vapier@gentoo.org>
55686
55687 [BZ #12653]
55688 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55689 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55690 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55691 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55693
4420675c
AS
556942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55695
55696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55697 differing bytes.
55698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55701
75ea32ab
UD
557022011-04-17 Ulrich Drepper <drepper@gmail.com>
55703
55704 [BZ #12420]
55705 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55706 storing it.
55707 * stdlib/bug-getcontext.c: New file.
55708 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55709
27390476
AK
557102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55711
55712 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55713 instructions into .machine "z9-109".
55714 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55715 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55716
10442705
AK
557172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55718
55719 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55720 between environment variables and auxiliary vector.
55721
7b57bfe5
UD
557222011-04-16 Ulrich Drepper <drepper@gmail.com>
55723
55724 * Makefile: Add rules to build linkobj/libc.so.
55725 * include/libc-symbols.h: Define libc_hidden_nolink.
55726 * include/rpc/auth.h: Mark functions which are to be hidden.
55727 * include/rpc/auth_des.h: Likewise.
55728 * include/rpc/auth_unix.h: Likewise.
55729 * include/rpc/clnt.h: Likewise.
55730 * include/rpc/des_crypt.h: Likewise.
55731 * include/rpc/key_prot.h: Likewise.
55732 * include/rpc/pmap_clnt.h: Likewise.
55733 * include/rpc/pmap_prot.h: Likewise.
55734 * include/rpc/pmap_rmt.h: Likewise.
55735 * include/rpc/rpc_msg.h: Likewise.
55736 * include/rpc/svc.h: Likewise.
55737 * include/rpc/svc_auth.h: Likewise.
55738 * include/rpc/xdr.h: Likewise.
55739 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55740 * nss/Makefile: Likewise.
55741 * sunrpc/Makefile: Don't install headers. Build library with normal
55742 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55743 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55744 for the compat linking library. Remove use of INTDEF/INTUSE.
55745 * sunrpc/auth_none.c: Likewise.
55746 * sunrpc/auth_unix.c: Likewise.
55747 * sunrpc/authdes_prot.c: Likewise.
55748 * sunrpc/authuxprot.c: Likewise.
55749 * sunrpc/clnt_gen.c: Likewise.
55750 * sunrpc/clnt_perr.c: Likewise.
55751 * sunrpc/clnt_raw.c: Likewise.
55752 * sunrpc/clnt_simp.c: Likewise.
55753 * sunrpc/clnt_tcp.c: Likewise.
55754 * sunrpc/clnt_udp.c: Likewise.
55755 * sunrpc/clnt_unix.c: Likewise.
55756 * sunrpc/des_crypt.c: Likewise.
55757 * sunrpc/des_soft.c: Likewise.
55758 * sunrpc/get_myaddr.c: Likewise.
55759 * sunrpc/key_call.c: Likewise.
55760 * sunrpc/key_prot.c: Likewise.
55761 * sunrpc/netname.c: Likewise.
55762 * sunrpc/pm_getmaps.c: Likewise.
55763 * sunrpc/pm_getport.c: Likewise.
55764 * sunrpc/pmap_clnt.c: Likewise.
55765 * sunrpc/pmap_prot.c: Likewise.
55766 * sunrpc/pmap_prot2.c: Likewise.
55767 * sunrpc/pmap_rmt.c: Likewise.
55768 * sunrpc/publickey.c: Likewise.
55769 * sunrpc/rpc_cmsg.c: Likewise.
55770 * sunrpc/rpc_common.c: Likewise.
55771 * sunrpc/rpc_dtable.c: Likewise.
55772 * sunrpc/rpc_prot.c: Likewise.
55773 * sunrpc/rpc_thread.c: Likewise.
55774 * sunrpc/rtime.c: Likewise.
55775 * sunrpc/svc.c: Likewise.
55776 * sunrpc/svc_auth.c: Likewise.
55777 * sunrpc/svc_authux.c: Likewise.
55778 * sunrpc/svc_raw.c: Likewise.
55779 * sunrpc/svc_run.c: Likewise.
55780 * sunrpc/svc_simple.c: Likewise.
55781 * sunrpc/svc_tcp.c: Likewise.
55782 * sunrpc/svc_udp.c: Likewise.
55783 * sunrpc/svc_unix.c: Likewise.
55784 * sunrpc/svcauth_des.c: Likewise.
55785 * sunrpc/xcrypt.c: Likewise.
55786 * sunrpc/xdr.c: Likewise.
55787 * sunrpc/xdr_array.c: Likewise.
55788 * sunrpc/xdr_float.c: Likewise.
55789 * sunrpc/xdr_intXX_t.c: Likewise.
55790 * sunrpc/xdr_mem.c: Likewise.
55791 * sunrpc/xdr_rec.c: Likewise.
55792 * sunrpc/xdr_ref.c: Likewise.
55793 * sunrpc/xdr_sizeof.c: Likewise.
55794 * sunrpc/xdr_stdio.c: Likewise.
55795
e6c61494
UD
557962011-04-10 Ulrich Drepper <drepper@gmail.com>
55797
55798 [BZ #12650]
55799 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55800 * sysdeps/ia64/dl-tls.h: Likewise.
55801 * sysdeps/powerpc/dl-tls.h: Likewise.
55802 * sysdeps/s390/dl-tls.h: Likewise.
55803 * sysdeps/sh/dl-tls.h: Likewise.
55804 * sysdeps/sparc/dl-tls.h: Likewise.
55805 * sysdeps/x86_64/dl-tls.h: Likewise.
55806 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55807
34fe483e
AS
558082011-03-14 Andreas Schwab <schwab@redhat.com>
55809
55810 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55811 rpath element also skip the following colon.
55812 (expand_dynamic_string_token): Add is_path parameter and pass
55813 down to DL_DST_REQUIRED and _dl_dst_substitute.
55814 (decompose_rpath): Call expand_dynamic_string_token with
55815 non-zero is_path. Ignore empty rpaths.
55816 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55817 with zero is_path.
55818
f12a32e6
AS
558192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55820
55821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55822 Make cancelable.
55823
38a7d692
UD
558242011-04-09 Ulrich Drepper <drepper@gmail.com>
55825
55826 [BZ #12655]
55827 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55828 Patch by Filipe David Manana <fdmanana@apache.org>.
55829
e451d22b
AS
558302011-04-07 Andreas Schwab <schwab@redhat.com>
55831
55832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55833 Maintain aligned stack.
55834 (CHECK_RSP): Remove unused macro.
55835
dedc7c7b
UD
558362011-04-03 Ulrich Drepper <drepper@gmail.com>
55837
55838 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55840
94521213
UD
558412011-04-02 Ulrich Drepper <drepper@gmail.com>
55842
55843 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55844
8cb700c0 55845 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55846
0354e355
L
558472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55848
55849 [BZ #12518]
55850 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55851 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55852 * sysdeps/x86_64/memmove.c: New file.
55853 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55854 (memcpy): Renamed to ...
55855 (__new_memcpy): This.
55856 (memcpy): Provide GLIBC_2_14 memcpy.
55857 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55858 (memcpy): Provide GLIBC_2_2_5 memcpy.
55859
8593482f
UD
558602011-04-01 Ulrich Drepper <drepper@gmail.com>
55861
55862 [BZ #12631]
55863 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55864
81a5726b
AS
558652011-03-30 Andreas Schwab <schwab@redhat.com>
55866
55867 * misc/syncfs.c: New file.
55868 * misc/Makefile (routines): Add syncfs.
55869 * posix/unistd.h: Declare syncfs.
55870 * sysdeps/unix/syscalls.list: Add syncfs.
55871
00e5419f
AS
558722011-04-01 Andreas Schwab <schwab@redhat.com>
55873
55874 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55875 open_by_handle_at.
55876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55877 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55879 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55881 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55883
748876bf
UD
558842011-04-01 Ulrich Drepper <drepper@gmail.com>
55885
658e451d
UD
55886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55888 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55893
748876bf
UD
55894 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55895 sync_file_range.c with -fexceptions.
55896 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55897 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55898 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55899 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55900 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55901 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55903 sync_file_range as cancellation point
55904 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55905 now a wrapper around __call_sync_file_range with cancellation handling.
55906 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55907 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55908 function name to __call_sync_file_range.
55909 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55910 Add call_sync_file_range.
748876bf 55911
6e63d5e1
AS
559122011-04-01 Andreas Schwab <schwab@redhat.com>
55913
55914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55915 bits/timex.h.
6e63d5e1 55916
46998f74
UD
559172011-04-01 Ulrich Drepper <drepper@gmail.com>
55918
4c1423ed
UD
55919 * iconv/iconv.h: Fix typo in comment.
55920 * io/fcntl.h: Likewise.
55921 * libio/stdio.h: Likewise.
55922 * posix/spawn.h: Likewise.
55923 * posix/unistd.h: Likewise.
55924 * stdlib/stdlib.h: Likewise.
55925 * time/time.h: Likewise.
55926 * wcsmbs/wchar.h: Likewise.
55927
158648c0
UD
55928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55929 open_by_handle): Add.
55930 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55931 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55932 Augment a few comments.
55933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55938 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55939 open_by_handle.
55940
46998f74
UD
55941 * io/fcntl.h (AT_EMPTY_PATH): Define.
55942
83fe108b
UD
559432011-03-30 Ulrich Drepper <drepper@gmail.com>
55944
55945 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55946 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55947 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55948 to...
55949 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55950 * Versions.def: Add GLIBC_2.14.
55951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55952 Export.
83fe108b 55953
bb242059
UD
559542011-03-22 Ulrich Drepper <drepper@gmail.com>
55955
55956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55957 round counter.
55958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55959
c97a1282
L
559602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55961
55962 [BZ #12597]
55963 * string/test-strncmp.c (do_page_test): New function.
55964 (check2): Likewise.
55965 (test_main): Call check2.
55966 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55967
2a115601
UD
559682011-03-20 Ulrich Drepper <drepper@gmail.com>
55969
55970 [BZ #12587]
55971 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55972 Handle cache information in CPU leaf 4.
55973 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55974
8126d904
UD
559752011-03-18 Ulrich Drepper <drepper@gmail.com>
55976
042c49c6 55977 [BZ #12583]
8126d904
UD
55978 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55979 character representation.
55980 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55981
ccfe366e
RA
559822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55983
55984 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55985 END(__isnan) to END(__isnanf) to match function entry point/label
55986 EALIGN(__isnanf,...).
55987
c6e13027
JJ
559882011-03-10 Jakub Jelinek <jakub@redhat.com>
55989
55990 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55991
33f85a3f
UD
559922011-03-10 Ulrich Drepper <drepper@gmail.com>
55993
028478fa
UD
55994 [BZ #12510]
55995 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55996 copy from the symbol referenced in the relocation to initialize the
55997 used variable.
55998 Patch by Piotr Bury <pbury@goahead.com>.
55999 * elf/Makefile: Add rules to build and tst-unique3.
56000 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56001 * elf/tst-unique3.cc: New file.
56002 * elf/tst-unique3.h: New file.
56003 * elf/tst-unique3lib.cc: New file.
56004 * elf/tst-unique3lib2.cc: New file.
56005
33f85a3f
UD
56006 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56007
03592fc7
MF
560082011-03-10 Mike Frysinger <vapier@gentoo.org>
56009
56010 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56011 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56012 to _start.
03592fc7 56013
6a5ee102
UD
560142011-03-06 Ulrich Drepper <drepper@gmail.com>
56015
56016 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56017 to-be-loaded object along a path to loader is ld.so.
56018
7e4ba49c
HJ
560192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56020 Ulrich Drepper <drepper@gmail.com>
56021
56022 * sysdeps/x86_64/memset.S: After aligning destination, code
56023 branches to different locations depending on the value of
56024 misalignment, when multiarch is enabled. Fix this.
56025
560262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56027
56028 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56029 Set _x86_64_preferred_memory_instruction for AMD processsors.
56030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56031 Set bit_Prefer_SSE_for_memop for AMD processors.
56032
13a804de
UD
560332011-03-04 Ulrich Drepper <drepper@gmail.com>
56034
56035 * libio/fmemopen.c (fmemopen): Optimize a bit.
56036
9d25c392
AS
560372011-03-03 Andreas Schwab <schwab@redhat.com>
56038
56039 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56040
a5543c6a
RM
560412011-03-03 Roland McGrath <roland@redhat.com>
56042
56043 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56044
012d35f7
DM
560452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56046
7e4ba49c 56047 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56048 __bzero_ultra1 instead of __memset_ultra1.
56049
4bff6e01
AS
560502011-02-23 Andreas Schwab <schwab@redhat.com>
56051 Ulrich Drepper <drepper@gmail.com>
56052
56053 [BZ #12509]
56054 * include/link.h (struct link_map): Add l_orig_initfini.
56055 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56056 returning unsuccessfully.
56057 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56058 close of a file loaded at startup, restore the original l_initfini
56059 list.
56060 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56061 list, store the pointer.
56062 * elf/Makefile ($(objpfx)noload-mem): New rule.
56063 (noload-ENV): Define.
56064 (tests): Add $(objpfx)noload-mem.
56065 * elf/noload.c: Include <memcheck.h>.
56066 (main): Call mtrace. Close all opened handles.
56067
f2092faf
AS
560682011-02-17 Andreas Schwab <schwab@redhat.com>
56069
56070 [BZ #12454]
56071 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56072 dependencies are missing.
56073
6c8a2e88
ST
560742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56075
f2092faf 56076 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56077 Hurd needs munmap.
56078 * sysdeps/mach/hurd/ifreq.h: New file.
56079
84a42118
PB
560802011-01-27 Petr Baudis <pasky@suse.cz>
56081 Ulrich Drepper <drepper@gmail.com>
56082
071f805e 56083 [BZ 12445]#
84a42118
PB
56084 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56085 to extend_alloca().
56086 * stdio-common/bug23.c: New file.
56087 * stdio-common/Makefile (tests): Add bug23.
56088
e23fe25b
AS
560892010-09-28 Andreas Schwab <schwab@redhat.com>
56090 Ulrich Drepper <drepper@gmail.com>
56091
56092 [BZ #12489]
56093 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56094 before performing relro protection. At old place add assertion
56095 to make sure nothing changed.
56096
d3f02e10
NS
560972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56098 Glauber de Oliveira Costa <glommer@gmail.com>
56099
56100 * elf/elf.h: Add new ARM TLS relocs.
56101
d55fd7a5
RA
561022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56103
56104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56105 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56106 cast from r3.
56107 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56108 'tests' variable.
56109 * sysdeps/wordsize-64/tst-writev.c: New file.
56110
2206397e
RA
561112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56112
56113 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56114 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56115 insns in _dl_start to prevent a TOC reference before relocs are
56116 resolved.
56117
e9433893
UD
561182011-02-15 Ulrich Drepper <drepper@gmail.com>
56119
56120 [BZ #12469]
56121 * Makeconfig: Remove RANLIB definition.
56122 * Makerules: Don't use RANLIB.
56123 * aclocal.m4: Remove ranlib test.
56124 * configure.in: No need to check for ranlib.
56125 * elf/rtld-Rules: Don't use RANLIB.
56126
f75286c6
ST
561272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56128
8e31c82d
ST
56129 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56130 protection macro.
56131 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56132 inclusion protection macro.
56133
f75286c6
ST
56134 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56135 SIGRTMIN and SIGRTMAX and print information in that case only when
56136 SIGRTMIN is defined.
56137
c1d0e639
JJ
561382011-02-11 Jakub Jelinek <jakub@redhat.com>
56139
56140 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56141 arginfo fn returning -1.
56142
56143 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56144 and thousands string is zero terminated.
56145
edf9294e
AS
561462011-02-03 Andreas Schwab <schwab@redhat.com>
56147
56148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56149 sysdeps/unix/sysv/linux/bits/socket.h.
56150
2b7e92df
ST
561512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56152
edf9294e
AS
56153 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56154 (__CPU_COUNT): Remove old macros.
56155 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56156 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56157 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56158 (__sched_cpualloc, __sched_cpufree): Add declarations.
56159
a4c7ea7b
UD
561602011-02-05 Ulrich Drepper <drepper@gmail.com>
56161
56162 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56163 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56164 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56165 (readdhstai): Return value of addhstaiX call.
56166 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56167 (addgrbyX): Return value returned by cache_addgr.
56168 (readdgrbyname): Return value returned by addgrbyX.
56169 (readdgrbygid): Likewise.
56170 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56171 (addpwbyX): Return value returned by cache_addpw.
56172 (readdpwbyname): Return value returned by addhstbyX.
56173 (readdpwbyuid): Likewise.
56174 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56175 (addservbyX): Return value returned by cache_addserv.
56176 (readdservbyname): Return value returned by addservbyX:
56177 (readdservbyport): Likewise.
56178 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56179 (addhstbyX): Return value returned by cache_addhst.
56180 (readdhstbyname): Return value returned by addhstbyX.
56181 (readdhstbyaddr): Likewise.
56182 (readdhstbynamev6): Likewise.
56183 (readdhstbyaddrv6): Likewise.
56184 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56185 (readdinitgroups): Return value returned by addinitgroupsX.
56186 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56187 (prune_cache): Keep track of timeout value of re-added entries.
56188 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56189 * nscd/nscd.h: Adjust prototypes of readd* functions.
56190
a0bf67cc
RM
561912011-02-04 Roland McGrath <roland@redhat.com>
56192
56193 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56194 (nis_stats): Likewise.
56195 * nis/nis_modify.c (nis_modify): Likewise.
56196 * nis/nis_remove.c (nis_remove): Likewise.
56197 * nis/nis_add.c (nis_add): Likewise.
56198
56199 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56200
56201 * posix/fnmatch_loop.c: Add some consts.
56202
56203 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56204
435b95eb
L
562052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56206
56207 [BZ #12460]
56208 * config.make.in (config-cflags-novzeroupper): Define.
56209 * configure.in: Substitute libc_cv_cc_novzeroupper.
56210 * elf/Makefile (AVX-CFLAGS): Define.
56211 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56212 (CFLAGS-tst-auditmod4a.c): Likewise.
56213 (CFLAGS-tst-auditmod4b.c): Likewise.
56214 (CFLAGS-tst-auditmod6b.c): Likewise.
56215 (CFLAGS-tst-auditmod6c.c): Likewise.
56216 (CFLAGS-tst-auditmod7b.c): Likewise.
56217 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56218
8517b15e
UD
562192011-02-02 Ulrich Drepper <drepper@gmail.com>
56220
56221 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56222 function to the callback.
56223 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56224
10a656fe
AS
562252011-02-02 Andreas Schwab <schwab@redhat.com>
56226
56227 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56228 of errno.
56229
968dad0a
UD
562302011-01-19 Ulrich Drepper <drepper@gmail.com>
56231
9f94d2ea 56232 [BZ #11724]
968dad0a
UD
56233 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56234 of constructors.
56235 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56236 of destructors.
56237 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56238
56239 [BZ #11724]
56240 * elf/Makefile: Add rules to build and run new test.
56241 * elf/tst-initorder.c: New file.
56242 * elf/tst-initorder.exp: New file.
56243 * elf/tst-initordera1.c: New file.
56244 * elf/tst-initordera2.c: New file.
56245 * elf/tst-initordera3.c: New file.
56246 * elf/tst-initordera4.c: New file.
56247 * elf/tst-initorderb1.c: New file.
56248 * elf/tst-initorderb2.c: New file.
56249 * elf/tst-order-a1.c: New file.
56250 * elf/tst-order-a2.c: New file.
56251 * elf/tst-order-a3.c: New file.
56252 * elf/tst-order-a4.c: New file.
56253 * elf/tst-order-b1.c: New file.
56254 * elf/tst-order-b2.c: New file.
56255 * elf/tst-order-main.c: New file.
56256 New test case by George Gensure <werkt0@gmail.com>.
56257
86e92359
UD
562582010-10-01 Andreas Schwab <schwab@redhat.com>
56259
56260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56261 decoding ACE if AI_CANONIDN.
56262
5d5732b0
UD
562632011-01-18 Ulrich Drepper <drepper@gmail.com>
56264
56265 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56266
a77e8cbc
UD
562672011-01-17 Ulrich Drepper <drepper@gmail.com>
56268
6392473f
UD
56269 * version.h (RELEASE): Bump for 2.13 release.
56270 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56271
620a0529
UD
56272 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56273
18ba70a5
UD
56274 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56275 MADV_NOHUGEPAGE.
32465c3e
UD
56276 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56282
c0dafcf1
UD
56283 * posix/getconf.c: Update copyright year.
56284 * catgets/gencat.c: Likewise.
56285 * csu/version.c: Likewise.
56286 * debug/catchsegv.sh: Likewise.
56287 * debug/xtrace.sh: Likewise.
56288 * elf/ldconfig.c: Likewise.
56289 * elf/ldd.bash.in: Likewise.
56290 * elf/sprof.c (print_version): Likewise.
56291 * iconv/iconv_prog.c: Likewise.
56292 * iconv/iconvconfig.c: Likewise.
56293 * locale/programs/locale.c: Likewise.
56294 * locale/programs/localedef.c: Likewise.
56295 * malloc/memusage.sh: Likewise.
56296 * malloc/mtrace.pl: Likewise.
56297 * nscd/nscd.c (print_version): Likewise.
56298 * nss/getent.c: Likewise.
56299
a77e8cbc
UD
56300 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56301 PF_CAIF, and PF_ALG.
56302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56303
77e8bddf
AS
563042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56305
1f20b93a
AS
56306 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56307 (modules-names): Use them.
56308 (ifunc-test-modules, ifunc-pie-tests): Define.
56309 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56310 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56311 (test-extras): Likewise.
56312 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56313 $(compile-command.c).
56314 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56315 (all-built-dso): Define.
56316 (check-textrel.out, check-execstack.out): Depend on it.
56317
77e8bddf
AS
56318 * configure.in: Don't override --enable-multi-arch.
56319
bc425b33
UD
563202011-01-15 Ulrich Drepper <drepper@gmail.com>
56321
56322 [BZ #6812]
56323 * nscd/hstcache.c (tryagain): Define.
56324 (cache_addhst): Return tryagain not notfound for temporary errors.
56325 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56326 failed.
56327
794c3ad3
UD
563282011-01-14 Ulrich Drepper <drepper@gmail.com>
56329
70181fdd
UD
56330 [BZ #10563]
56331 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56332 to make the syscall.
56333 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56334
794c3ad3
UD
56335 [BZ #12378]
56336 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56337 and fall back to matching as normal character if the string ends before
56338 the matching ']' is found. This is what POSIX requires.
56339 * posix/testfnm.c: Adjust test result.
56340 * posix/globtest.sh: Adjust test result. Add new test.
56341 * posix/tst-fnmatch.input: Likewise.
56342 * posix/tst-fnmatch2.c: Add new test.
56343
68dc9497
AS
563442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56345
56346 * elf/Makefile (check-execstack): Revert last change. Depend on
56347 check-execstack.h.
56348 (check-execstack.h): New target.
56349 (generated): Add check-execstack.h.
56350 * elf/check-execstack.c: Include "check-execstack.h".
56351 (main): Revert last change.
56352 (handle_file): Return zero if GNU_STACK is absent and
56353 DEFAULT_STACK_PERMS doesn't include PF_X.
56354
451f001b
UD
563552011-01-13 Ulrich Drepper <drepper@gmail.com>
56356
cfa28e56
UD
56357 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56358 in child fails because the descriptor is already closed.
8cf8ce17
UD
56359 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56360 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56361 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56362
1086d70d
UD
56363 [BZ #12397]
56364 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56365 syscall.
56366
451f001b
UD
56367 [BZ #10484]
56368 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56369 temporary buffer used to handle multi lookups locally.
a85b5cb4 56370 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56371
08769175
UD
563722011-01-12 Ulrich Drepper <drepper@gmail.com>
56373
56374 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56375 loader is ld.so.
56376
5e49c52e
UD
563772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56378
56379 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56380 alignment for SSE2.
56381
60522a5f
UD
563822011-01-12 Ulrich Drepper <drepper@gmail.com>
56383
56384 [BZ #12394]
56385 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56386 characters. When rounding increased number of integer digits recompute
56387 number of groups.
56388 * stdio-common/tst-grouping.c: New file.
56389 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56390
f257bbd7
UD
563912011-01-09 Ulrich Drepper <drepper@gmail.com>
56392
56393 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56394 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56395
56396 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56397 void.
56398 * bits/select.h: Likewise.
56399
fa9c15cb
UD
564002011-01-08 Ulrich Drepper <drepper@gmail.com>
56401
56402 * po/ja.po: Update from translation team.
56403
16c2895f
DM
564042011-01-04 David S. Miller <davem@sunset.davemloft.net>
56405
56406 [BZ #11155]
56407 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56408 implementation just like for lxstat, fxstatat, et al.
56409
2543fef2
JM
564102010-12-27 Jim Meyering <meyering@redhat.com>
56411
56412 [BZ #12348]
56413 * posix/regexec.c (build_trtable): Return failure indication upon
56414 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56415
98727dbe
UD
564162010-12-25 Ulrich Drepper <drepper@gmail.com>
56417
5bd6dc5c
UD
56418 [BZ #12201]
56419 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56420 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56421 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56423
97983464
UD
56424 [BZ #12207]
56425 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56426
98727dbe
UD
56427 [BZ #12204]
56428 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56429 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56430
4a531bb0
L
564312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56432
56433 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56434 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56435 script has SORT_BY_INIT_PRIORITY.
56436 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56437 NO_CTORS_DTORS_SECTIONS is defined.
56438 * elf/soinit.c: Likewise.
56439 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56440 NO_CTORS_DTORS_SECTIONS is defined.
56441 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56442 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56443 * sysdeps/sh/init-first.c: Likewise.
56444 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56445
07eb4b71
UD
564462010-12-24 Ulrich Drepper <drepper@gmail.com>
56447
56448 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56449 always use the slow path.
56450
30950a5f
RA
564512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56452
56453 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56454 similar rule which adds the sysdep directories to the header search in
56455 order to pick up the correct platform stackinfo.h.
56456 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56457 perform test if it is, otherwise return successfully without testing.
56458 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56459 DEFAULT_STACK_PERMS define in stackinfo.h.
56460 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56461 defined in stackinfo.h.
56462 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56463 DEFAULT_STACK_PERMS defined in stackinfo.h.
56464 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56465 * sysdeps/ia64/stackinfo.h: Likewise.
56466 * sysdeps/s390/stackinfo.h: Likewise.
56467 * sysdeps/sh/stackinfo.h: Likewise.
56468 * sysdeps/sparc/stackinfo.h: Likewise.
56469 * sysdeps/x86_64/stackinfo.h: Likewise.
56470 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56471 PF_X for powerpc64. Retain PF_X for powerpc32.
56472
db753e2c
UD
564732010-12-19 Ulrich Drepper <drepper@gmail.com>
56474
14b697f7
UD
56475 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56476 accurately.
db753e2c
UD
56477 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56478 GETDENTS_64BIT_ALIGNED.
56479
28300719
UD
564802010-12-14 Ulrich Drepper <dreper@gmail.com>
56481
14b697f7 56482 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56483
4f197237
AS
564842010-12-10 Andreas Schwab <schwab@redhat.com>
56485
dbb0472f
AS
56486 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56487 _GNU_SOURCE.
56488
4f197237
AS
56489 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56490 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56491 Remove __restrict.
56492 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56493 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56494
fb88ac72
UD
564952010-12-09 Ulrich Drepper <drepper@gmail.com>
56496
56497 [BZ #11655]
56498 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56499 are initialized.
56500
42acbb92
JJ
565012010-12-09 Jakub Jelinek <jakub@redhat.com>
56502
56503 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56504
c038d98d
UD
565052010-12-03 Ulrich Drepper <drepper@gmail.com>
56506
56507 * po/it.po: Update from translation team.
56508
3a4a2499
L
565092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56510
56511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56512 unused codes.
56513
1e24cf6e
UD
565142010-11-30 Ulrich Drepper <drepper@gmail.com>
56515
56516 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56517
a7690819
AS
565182010-11-24 Andreas Schwab <schwab@redhat.com>
56519
56520 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56521 specially.
56522 (gaih_getanswer_slice): Likewise.
56523
3bf8d1b1
JJ
565242010-10-20 Jakub Jelinek <jakub@redhat.com>
56525
56526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56527
6db52fbb
PB
565282010-05-31 Petr Baudis <pasky@suse.cz>
56529
56530 [BZ #11149]
56531 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56532 silently even in the chroot mode.
56533
eaca7569
UD
565342010-11-22 Ulrich Drepper <drepper@gmail.com>
56535
56536 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56537 last patch a bit. Pretty printing
56538
3056dcdb
UD
565392010-05-31 Petr Baudis <pasky@suse.cz>
56540
56541 [BZ #10085]
56542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56543 initialization of skip_initgroups_dyn.
56544
cf7c9078
UD
565452010-11-19 Ulrich Drepper <drepper@gmail.com>
56546
56547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56549
a1fb5e3e
UD
565502010-11-16 Ulrich Drepper <drepper@gmail.com>
56551
56552 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56553
3540d66b
AS
565542010-11-11 Andreas Schwab <schwab@redhat.com>
56555
56556 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56557 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56558 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56559 ($(objpfx)tst-fnmatch-mem): New rule.
56560 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56561 * posix/tst-fnmatch.c (main): Call mtrace.
56562
13b69574
L
565632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56564
56565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56566 Support Intel processor model 6 and model 0x2c.
56567
da93d214
LM
565682010-11-10 Luis Machado <luisgpm@br.ibm.com>
56569
56570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56571 signed comparison.
56572
8ca52c6e
L
565732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56574
56575 [BZ #12205]
56576 * string/test-strncasecmp.c (check_result): New function.
56577 (do_one_test): Use it.
56578 (check1): New function.
56579 (test_main): Use it.
56580 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56581 Support strcasecmp and strncasecmp.
56582
69da074d
UD
565832010-11-08 Ulrich Drepper <drepper@gmail.com>
56584
56585 [BZ #12194]
56586 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56588
ff02d528
L
565892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56590
56591 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56592 IFUNC support.
56593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56594 memset-x86-64.
56595 * sysdeps/x86_64/multiarch/bzero.S: New file.
56596 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56597 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56598 * sysdeps/x86_64/multiarch/memset.S: New file.
56599 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56601 Set bit_Prefer_SSE_for_memop for Intel processors.
56602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56603 Define.
56604 (index_Prefer_SSE_for_memop): Define.
56605 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56606
344d0b54
LM
566072010-11-04 Luis Machado <luisgpm@br.ibm.com>
56608
56609 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56610 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56611
c0dde15b
UD
566122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56613
56614 [BZ #12191]
56615 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56616 (__x86_64_raw_data_cache_size_half): Likewise.
56617 (__x86_64_raw_shared_cache_size): Likewise.
56618 (__x86_64_raw_shared_cache_size_half): Likewise.
56619
56620 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56621 (__x86_64_raw_data_cache_size_half): Likewise.
56622 (__x86_64_raw_shared_cache_size): Likewise.
56623 (__x86_64_raw_shared_cache_size_half): Likewise.
56624 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56625 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56626 and __x86_64_raw_shared_cache_size_half. Round
56627 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56628 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56629 to multiple of 256 bytes.
56630
0e516e0e
MS
566312010-11-03 Ulrich Drepper <drepper@gmail.com>
56632
56633 [BZ #12167]
56634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56635 of inacessible symlinks. Verify result of symlink before returning it.
56636 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56637 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56638
0e012e87
ER
566392010-10-28 Erich Ritz <erichritz@gmail.com>
56640
56641 * math/math.h (isinf): Fix typo in comment.
56642
de0ff7bc
UD
566432010-11-01 Ulrich Drepper <drepper@gmail.com>
56644
56645 * po/da.po: Update from translation team.
56646
fa41c84d
UD
566472010-10-26 Ulrich Drepper <drepper@gmail.com>
56648
56649 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56650 is added to the list.
56651
f0967738
AK
566522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56653 Ulrich Drepper <drepper@gmail.com>
56654
56655 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56656 the global list here. Move code to...
56657 (_dl_add_to_namespace_list): ...here. New function.
56658 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56659 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56660 * elf/dl-load.c (lose): Don't remove the element from the list.
56661 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56662 (_dl_map_object): Likewise.
56663
566642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56665
56666 [BZ #12159]
56667 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56668 into all bytes of SSE register.
56669 Patch by Richard Li <richardpku@gmail.com>.
56670
f0967738 566712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56672
56673 [BZ #12140]
56674 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56675 perturbing.
56676
d0b9e94f
MB
566772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56678
56679 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56680 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56682 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56684 submachine.
56685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56686
8e9f92e9
AS
566872010-10-22 Andreas Schwab <schwab@redhat.com>
56688
56689 * include/dlfcn.h (__RTLD_SECURE): Define.
56690 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56691 mode & __RTLD_SECURE instead.
56692 (open_path): Rename preloaded parameter to secure.
56693 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56694 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56695 * elf/dl-deps.c (openaux): Likewise.
56696 * elf/rtld.c (struct map_args): Remove is_preloaded.
56697 (map_doit): Don't use it.
56698 (dl_main): Likewise.
56699 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56700 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56701
bc96fbda
AS
567022010-09-09 Andreas Schwab <schwab@redhat.com>
56703
56704 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56705 (sysd-rules-targets): Remove duplicates.
56706 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56707 rtld-%.$o dependency.
56708
22cd1c9b
AS
567092010-10-18 Andreas Schwab <schwab@redhat.com>
56710
56711 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56712 _dl_map_object do it.
56713
18edac48
UD
567142010-10-19 Ulrich Drepper <drepper@gmail.com>
56715
56716 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56717 fast fma builtins, define the macros in the C99 standard.
56718 (FP_FAST_FMAF): Likewise.
56719 (FP_FAST_FMAL): Likewise.
56720 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56721
56722 * bits/mathdef.h: Update copyright year.
56723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56724
d2050124
MM
567252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56726
56727 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56728 builtins, define the macros in the C99 standard.
56729 (FP_FAST_FMAF): Likewise.
56730 (FP_FAST_FMAL): Likewise.
56731 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56732 multiply/add.
56733 (FP_FAST_FMAF): Likewise.
56734
475facd1
JJ
567352010-10-15 Jakub Jelinek <jakub@redhat.com>
56736
56737 [BZ #3268]
56738 * math/libm-test.inc (fma_test): Some new testcases.
56739 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56740 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56741 y and infinite z. Do multiplication by C already in long double.
56742 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56744 y and infinite z. Do bitwise or of inexact bit into u.d.
56745 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56746 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56747 * sysdeps/i386/fpu/s_fma.S: Removed.
56748 * sysdeps/i386/fpu/s_fmal.S: Removed.
56749
7c08a05c
JJ
567502010-10-16 Jakub Jelinek <jakub@redhat.com>
56751
56752 [BZ #3268]
56753 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56755 computation is not scheduled after fetestexcept. Fix value
56756 of minimum denormal long double.
56757
f3f7372d
JJ
567582010-10-14 Jakub Jelinek <jakub@redhat.com>
56759
56760 [BZ #3268]
56761 * math/libm-test.inc (fma_test): Add some more tests.
56762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56763 correctly.
56764
14d43591
AS
567652010-10-15 Andreas Schwab <schwab@redhat.com>
56766
56767 * scripts/data/localplt-s390-linux-gnu.data: New file.
56768 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56769
5e908464
JJ
567702010-10-13 Jakub Jelinek <jakub@redhat.com>
56771
56772 [BZ #3268]
56773 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56774 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56775 instead of dbl-64.
56776 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56777 inlines.
56778 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56780 if one of x and y is very large and the other is subnormal.
56781 * sysdeps/s390/fpu/s_fmaf.c: New file.
56782 * sysdeps/s390/fpu/s_fma.c: New file.
56783 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56784 * sysdeps/powerpc/fpu/s_fma.S: New file.
56785 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56786 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56787 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56788
567892010-10-12 Jakub Jelinek <jakub@redhat.com>
56790
56791 [BZ #3268]
56792 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56793 fma tests.
56794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56795 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56796 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56797 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56798 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56799 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56801
b833d51f
UD
568022010-10-12 Ulrich Drepper <drepper@redhat.com>
56803
56804 [BZ #12078]
56805 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56806 * posix/bug-regex31.input: Add test case.
56807
1751705d
UD
568082010-10-11 Ulrich Drepper <drepper@gmail.com>
56809
e9b9cbf5
UD
56810 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56811 * posix/bug-regex31.input: New file.
56812
56813 [BZ #12078]
56814 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56815 (parse_sub_exp): Fix last change, use postorder.
56816
ef06edbe
UD
56817 * posix/bug-regex31.c: New file.
56818 * posix/Makefile: Add rules to build and run bug-regex31.
56819
a129c80d
UD
56820 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56821
56822 [BZ #12078]
56823 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56824
b76b818e
UD
56825 [BZ #12108]
56826 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56827 to have entries in sys_siglist.
56828
1751705d
UD
56829 [BZ #12093]
56830 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56831 be NULL.
56832
9ff8d36f
JJ
568332010-10-07 Jakub Jelinek <jakub@redhat.com>
56834
56835 [BZ #3268]
56836 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56837 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56838 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56839 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56840 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56841 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56842 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56843 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56844 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56845 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56846 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56847 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56848 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56849 * math/ftestexcept.c (fetestexcept): Likewise.
56850 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56851 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56852 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56853 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56854 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56855 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56856 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56857
af325969
UD
568582010-10-11 Ulrich Drepper <drepper@gmail.com>
56859
c579b202 56860 [BZ #12107]
af325969
UD
56861 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56862 newline.
56863
67a67b95
UD
568642010-10-06 Ulrich Drepper <drepper@gmail.com>
56865
56866 * string/bug-strstr1.c: New file.
56867 * string/Makefile: Add rules to build and run bug-strstr1.
56868
5fb308bc
EB
568692010-10-05 Eric Blake <eblake@redhat.com>
56870
56871 [BZ #12092]
56872 * string/str-two-way.h (two_way_long_needle): Always clear memory
56873 when skipping input due to the shift table.
56874
45db99c7
UD
568752010-10-03 Ulrich Drepper <drepper@gmail.com>
56876
3b111893
UD
56877 [BZ #12005]
56878 * malloc/mcheck.c: Handle large requests.
56879
45db99c7
UD
56880 [BZ #12077]
56881 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56882 for strncmp and strncasecmp.
56883 * string/stratcliff.c: Add tests for strcmp and strncmp.
56884 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56885
cf7a1eb8
NI
568862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56887
56888 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56889 __set_fpscr.
56890
6484ba5e
AJ
568912010-09-30 Andreas Jaeger <aj@suse.de>
56892
56893 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56894 (CGROUP_SUPER_MAGIC): Define.
56895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56896 Handle btrfs and cgroup file systems.
56897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56898 Likewise.
56899
91c42559
LM
569002010-09-27 Luis Machado <luisgpm@br.ibm.com>
56901
56902 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56903 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56904
87a97932
AK
569052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56906
56907 [BZ #12067]
56908 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56909 trying to locate the ELF header.
56910
c21cc9bc
AS
569112010-09-27 Andreas Schwab <schwab@redhat.com>
56912
56913 [BZ #11611]
56914 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56915 Mask out sign-bit copies when constructing f_fsid.
56916
315970f6
PB
569172010-09-24 Petr Baudis <pasky@suse.cz>
56918
56919 * debug/stack_chk_fail_local.c: Add missing licence exception.
56920 * debug/warning-nop.c: Likewise.
56921
1ac7a2c7
JM
569222010-09-15 Joseph Myers <joseph@codesourcery.com>
56923
56924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56925 implementing getdents64 using getdents syscall, set d_type if
56926 __ASSUME_GETDENTS32_D_TYPE.
56927
56801c50
AS
569282010-09-16 Andreas Schwab <schwab@redhat.com>
56929
56930 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56931 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56932
dda51327
UD
569332010-09-21 Ulrich Drepper <drepper@redhat.com>
56934
56935 [BZ #12037]
56936 * posix/unistd.h: Undo change of feature selection for ftruncate from
56937 2010-01-11.
56938
8ffcee4a
UD
569392010-09-20 Ulrich Drepper <drepper@redhat.com>
56940
a545ecd9 56941 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56942 detection.
56943
e24f0a8b
AS
569442010-09-20 Andreas Schwab <schwab@redhat.com>
56945
56946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56947 fanotify_mark.
56948 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56949
7291c56f
AS
569502010-09-14 Andreas Schwab <schwab@redhat.com>
56951
56952 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56953 variables after CHECK_SP call.
56954 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56955
bc5fb037
AS
569562010-09-13 Andreas Schwab <schwab@redhat.com>
56957 Ulrich Drepper <drepper@redhat.com>
56958
56959 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56960 re-relocationg ld.so.
56961 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56962 _dl_init_paths call.
56963 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56964 here anymore.
56965
e66e7419
UD
569662010-09-14 Ulrich Drepper <drepper@redhat.com>
56967
56968 * resolv/res_init.c (__res_vinit): Count the default server we added.
56969
c044aa75
CLT
569702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56971 Ulrich Drepper <drepper@redhat.com>
56972
56973 [BZ #11968]
56974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56975 (____longjmp_chk): Use %ebx for saving value across system call.
56976 Add unwind info.
56977
32cf4069
AS
569782010-09-06 Andreas Schwab <schwab@redhat.com>
56979
56980 * manual/Makefile: Don't mix pattern rules with normal rules.
56981
817328ee
AS
569822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56983
56984 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56985 operation.
56986 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56987 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56988 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56989 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56991 Likewise.
56992
29fddf61
UD
569932010-09-04 Ulrich Drepper <drepper@redhat.com>
56994
56995 [BZ #11979]
56996 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56997 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56998
0959ffc9
UD
569992010-09-02 Ulrich Drepper <drepper@redhat.com>
57000
57001 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57002 * sysdeps/x86_64/addmul_1.S: Likewise.
57003 * sysdeps/x86_64/lshift.S: Likewise.
57004 * sysdeps/x86_64/mul_1.S: Likewise.
57005 * sysdeps/x86_64/rshift.S: Likewise.
57006 * sysdeps/x86_64/sub_n.S: Likewise.
57007 * sysdeps/x86_64/submul_1.S: Likewise.
57008
ece29840
ST
570092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57010
0959ffc9
UD
57011 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57012 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57013 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57014 * bits/sched.h [__need_schedparam]
ece29840 57015 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57016 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57017 (__defined_schedparam): Define to 1.
ece29840
ST
57018 (__sched_param): New structure, identical to sched_param.
57019 (__need_schedparam): Undefine.
57020
e53a31fe
MF
570212010-08-31 Mike Frysinger <vapier@gentoo.org>
57022
fdc0c10d
MF
57023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57024 (epoll_create1): Declare.
57025
e53a31fe
MF
57026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57027
a726d796
AS
570282010-08-31 Andreas Schwab <schwab@redhat.com>
57029
57030 [BZ #7066]
57031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57032 shifting retval into place.
57033
2f3e3dc7
UD
570342010-09-01 Ulrich Drepper <drepper@redhat.com>
57035
f2933da9
UD
57036 * nis/rpcsvc/nis.h: Update copyright notice.
57037 * nis/rpcsvc/nis.x: Likewise.
57038 * nis/rpcsvc/nis_callback.h: Likewise.
57039 * nis/rpcsvc/nis_callback.x: Likewise.
57040 * nis/rpcsvc/nis_object.x: Likewise.
57041 * nis/rpcsvc/nis_tags.h: Likewise.
57042 * nis/rpcsvc/yp.h: Likewise.
57043 * nis/rpcsvc/yp.x: Likewise.
57044 * nis/rpcsvc/ypupd.h: Likewise.
57045 * nis/yp_xdr.c: Likewise.
57046 * nis/ypupdate_xdr.c: Likewise.
57047
2f3e3dc7
UD
57048 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57049 mainly the body of pmap_getport. Add parameters to specify timeouts.
57050 (pmap_getport): Use __libc_rpc_getport.
57051 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57052 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57053 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57054
f3dcc2f9
AS
570552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57056
57057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57058 fanotify_mark.
57059
6d34eb5b
RM
570602010-08-27 Roland McGrath <roland@redhat.com>
57061
57062 * sysdeps/i386/i686/multiarch/Makefile
57063 (CFLAGS-varshift.c): New variable.
57064
9ea3de11
UD
570652010-08-27 Ulrich Drepper <drepper@redhat.com>
57066
c96d23fc
UD
57067 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57068 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57069
9ea3de11
UD
57070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57071
57072 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57073
623aac7f
L
570742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57075
57076 * sysdeps/x86_64/strlen.S: Unroll the loop.
57077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57078 strlen-sse2 strlen-sse2-bsf.
57079 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57080 __strlen_no_bsf if bit_Slow_BSF is set.
57081 (__strlen_sse42): Removed.
57082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57083 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57084
8b2b7715
RM
570852010-08-25 Roland McGrath <roland@redhat.com>
57086
57087 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57088 * sysdeps/x86_64/multiarch/varshift.c: New file.
57089 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57090 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57091 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57092 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57093
e73015f2
L
570942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57095
57096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57097 strlen-sse2 strlen-sse2-bsf.
57098 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57099 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57100 (__strlen_sse2): Removed.
57101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57104 bit_Slow_BSF for Atom.
57105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57106 (index_Slow_BSF): Define.
57107 (HAS_SLOW_BSF): Define.
57108
df24a73e
UD
571092010-08-25 Ulrich Drepper <drepper@redhat.com>
57110
57111 [BZ #10851]
57112 * resolv/res_init.c (__res_vinit): When no server address at all
57113 is given default to loopback.
57114
f2ac4868
RM
571152010-08-24 Roland McGrath <roland@redhat.com>
57116
09055553
RM
57117 * configure.in: Remove config-name.h generation.
57118 * configure: Regenerated.
57119 * config-name.in: File removed.
57120 * scripts/config-uname.sh: New file.
57121 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57122 ($(objdir)config-name.h): New target.
57123
f2ac4868
RM
57124 * sunrpc/rpc_parse.h: Avoid nested comment.
57125
73f27d5e
RH
571262010-08-24 Richard Henderson <rth@redhat.com>
57127 Ulrich Drepper <drepper@redhat.com>
57128 H.J. Lu <hongjiu.lu@intel.com>
57129
57130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57132 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57133 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57134 _mm_alignr_epi8 with _mm_loadu_si128.
57135 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57136 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57137 (__m128i_shift_right): Removed.
57138 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57139 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57140 * sysdeps/x86_64/multiarch/varshift.h: New file.
57141 * sysdeps/x86_64/multiarch/varshift.S: New file.
57142
84b9230c
MF
571432010-08-21 Mike Frysinger <vapier@gentoo.org>
57144
57145 * configure.in: Move assembler checks to before sysdep dir checking.
57146
9bbd0ddc
PB
571472010-08-20 Petr Baudis <pasky@suse.cz>
57148
57149 * LICENSES: Sync the sunrpc license.
57150
9da4bb31
UD
571512010-08-19 Ulrich Drepper <drepper@redhat.com>
57152
a7ab6ec8
UD
57153 * sunrpc/auth_des.c: Update copyright notice once again.
57154 * sunrpc/auth_none.c: Likewise.
57155 * sunrpc/auth_unix.c: Likewise.
57156 * sunrpc/authdes_prot.c: Likewise.
57157 * sunrpc/authuxprot.c: Likewise.
57158 * sunrpc/bindrsvprt.c: Likewise.
57159 * sunrpc/clnt_gen.c: Likewise.
57160 * sunrpc/clnt_perr.c: Likewise.
57161 * sunrpc/clnt_raw.c: Likewise.
57162 * sunrpc/clnt_simp.c: Likewise.
57163 * sunrpc/clnt_tcp.c: Likewise.
57164 * sunrpc/clnt_udp.c: Likewise.
57165 * sunrpc/clnt_unix.c: Likewise.
57166 * sunrpc/des_crypt.c: Likewise.
57167 * sunrpc/des_soft.c: Likewise.
57168 * sunrpc/get_myaddr.c: Likewise.
57169 * sunrpc/getrpcport.c: Likewise.
57170 * sunrpc/key_call.c: Likewise.
57171 * sunrpc/key_prot.c: Likewise.
57172 * sunrpc/openchild.c: Likewise.
57173 * sunrpc/pm_getmaps.c: Likewise.
57174 * sunrpc/pm_getport.c: Likewise.
57175 * sunrpc/pmap_clnt.c: Likewise.
57176 * sunrpc/pmap_prot.c: Likewise.
57177 * sunrpc/pmap_prot2.c: Likewise.
57178 * sunrpc/pmap_rmt.c: Likewise.
57179 * sunrpc/rpc/auth.h: Likewise.
57180 * sunrpc/rpc/auth_unix.h: Likewise.
57181 * sunrpc/rpc/clnt.h: Likewise.
57182 * sunrpc/rpc/des_crypt.h: Likewise.
57183 * sunrpc/rpc/key_prot.h: Likewise.
57184 * sunrpc/rpc/netdb.h: Likewise.
57185 * sunrpc/rpc/pmap_clnt.h: Likewise.
57186 * sunrpc/rpc/pmap_prot.h: Likewise.
57187 * sunrpc/rpc/pmap_rmt.h: Likewise.
57188 * sunrpc/rpc/rpc.h: Likewise.
57189 * sunrpc/rpc/rpc_des.h: Likewise.
57190 * sunrpc/rpc/rpc_msg.h: Likewise.
57191 * sunrpc/rpc/svc.h: Likewise.
57192 * sunrpc/rpc/svc_auth.h: Likewise.
57193 * sunrpc/rpc/types.h: Likewise.
57194 * sunrpc/rpc/xdr.h: Likewise.
57195 * sunrpc/rpc_clntout.c: Likewise.
57196 * sunrpc/rpc_cmsg.c: Likewise.
57197 * sunrpc/rpc_common.c: Likewise.
57198 * sunrpc/rpc_cout.c: Likewise.
57199 * sunrpc/rpc_dtable.c: Likewise.
57200 * sunrpc/rpc_hout.c: Likewise.
57201 * sunrpc/rpc_main.c: Likewise.
57202 * sunrpc/rpc_parse.c: Likewise.
57203 * sunrpc/rpc_parse.h: Likewise.
57204 * sunrpc/rpc_prot.c: Likewise.
57205 * sunrpc/rpc_sample.c: Likewise.
57206 * sunrpc/rpc_scan.c: Likewise.
57207 * sunrpc/rpc_scan.h: Likewise.
57208 * sunrpc/rpc_svcout.c: Likewise.
57209 * sunrpc/rpc_tblout.c: Likewise.
57210 * sunrpc/rpc_util.c: Likewise.
57211 * sunrpc/rpc_util.h: Likewise.
57212 * sunrpc/rpcinfo.c: Likewise.
57213 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57214 * sunrpc/rpcsvc/key_prot.x: Likewise.
57215 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57216 * sunrpc/rpcsvc/mount.x: Likewise.
57217 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57218 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57219 * sunrpc/rpcsvc/rex.x: Likewise.
57220 * sunrpc/rpcsvc/rstat.x: Likewise.
57221 * sunrpc/rpcsvc/rusers.x: Likewise.
57222 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57223 * sunrpc/rpcsvc/spray.x: Likewise.
57224 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57225 * sunrpc/rtime.c: Likewise.
57226 * sunrpc/svc.c: Likewise.
57227 * sunrpc/svc_auth.c: Likewise.
57228 * sunrpc/svc_authux.c: Likewise.
57229 * sunrpc/svc_raw.c: Likewise.
57230 * sunrpc/svc_run.c: Likewise.
57231 * sunrpc/svc_simple.c: Likewise.
57232 * sunrpc/svc_tcp.c: Likewise.
57233 * sunrpc/svc_udp.c: Likewise.
57234 * sunrpc/svc_unix.c: Likewise.
57235 * sunrpc/svcauth_des.c: Likewise.
57236 * sunrpc/xcrypt.c: Likewise.
57237 * sunrpc/xdr.c: Likewise.
57238 * sunrpc/xdr_array.c: Likewise.
57239 * sunrpc/xdr_float.c: Likewise.
57240 * sunrpc/xdr_mem.c: Likewise.
57241 * sunrpc/xdr_rec.c: Likewise.
57242 * sunrpc/xdr_ref.c: Likewise.
57243 * sunrpc/xdr_sizeof.c: Likewise.
57244 * sunrpc/xdr_stdio.c: Likewise.
57245
9da4bb31
UD
57246 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57247 handling.
57248
bdaa77bc
AS
572492010-08-19 Andreas Schwab <schwab@redhat.com>
57250
57251 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57252
fe2f79db
LM
572532010-08-19 Luis Machado <luisgpm@br.ibm.com>
57254
57255 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57257 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57258 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57259 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57260 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57261 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57262 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57263 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57264 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57265 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57266 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57267 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57268 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57269
b9b42ee0
AB
572702010-07-26 Anton Blanchard <anton@samba.org>
57271
57272 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57273 * malloc/arena.c (heap_trim): Likewise.
57274
1c06ba31
UD
572752010-08-16 Ulrich Drepper <drepper@redhat.com>
57276
57277 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57278 here. Not...
57279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57280 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57281
f8392f40
L
572822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57283
57284 * sysdeps/i386/elf/Makefile: New file.
57285
3162f12e
AS
572862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57287
57288 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57289 from fanotify_init.
57290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57292
28c90b2c
UD
572932010-08-15 Ulrich Drepper <drepper@redhat.com>
57294
57295 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57296 of strncasecmp_l.
1feccb6c 57297 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57298
ca6bb004
UD
572992010-08-14 Ulrich Drepper <drepper@redhat.com>
57300
e9f82e0d
UD
57301 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57302 strncase_l-nonascii.
57303 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57304 Add strncase_l-ssse3.
57305 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57306 * sysdeps/x86_64/strcmp.S: Likewise.
57307 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57308 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57309 * sysdeps/x86_64/strncase.S: New file.
57310 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57311 * sysdeps/x86_64/strncase_l.S: New file.
57312 * string/Makefile (strop-tests): Add strncasecmp.
57313 * string/test-strncasecmp.c: New file.
57314
57315 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57316 warning.
57317
ca6bb004
UD
57318 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57319 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57320
052fa7b3
AS
573212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57322
57323 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57324
962dba78
UD
573252010-08-12 Ulrich Drepper <drepper@redhat.com>
57326
57327 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57328 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57329 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57330
bebff237
AM
573312010-05-01 Alan Modra <amodra@gmail.com>
57332
57333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57334 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57335 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57336 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57337 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57338 tidying. Don't tail-call __sigjmp_save for static lib.
57339 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57340 save location.
57341 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57342 (CALL_MCOUNT): Add eh info, and nop after bl.
57343 (TAIL_CALL_SYSCALL_ERROR): New macro.
57344 (PSEUDO_RET): Use it.
57345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57346 Correct save location of integer regs and cr.
57347 (_dl_profile_resolve): Correct cr save location. Delete nops
57348 after bl when SHARED. Reduce cfi size a little by better
57349 placement of cfi directives.
57350 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57351 make a stack frame. Instead use parm save area as a temp.
57352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57353 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57355 Don't make a stack frame for parent, use parm save area.
57356 Increase child stack frame to 112 bytes. Don't save unused reg,
57357 and adjust reg usage. Set up cfi on error recovery and
57358 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57360 (__makecontext): Add dummy nop after jump to exit.
57361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57362 Use correct parm save area and cr save, reduce stack frame.
57363 Correct cfi for possible PSEUDO_RET frame setup.
57364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57365 Branch to local label emitted by PSEUDO_RET rather than
57366 __syscall_error.
57367
02637374
AS
573682010-08-12 Andreas Schwab <schwab@redhat.com>
57369
57370 [BZ #11904]
57371 * locale/programs/locale.c (print_assignment): New function.
57372 (show_locale_vars): Use it.
57373
c3e2f19b
UD
573742010-08-11 Ulrich Drepper <drepper@redhat.com>
57375
3cdaa6ad
UD
57376 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57377 field.
57378 (struct statfs64): Likewise.
57379 (_STATFS_F_FLAGS): Define.
57380 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57381 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57382 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57383 (ST_VALID): Define locally.
57384 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57385 __statvfs_getflags, use the provided value.
57386 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57387 __ASSUME_STATFS_F_FLAGS.
57388
754f7da3
UD
57389 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57390
10b3bedc
UD
57391 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57392 Add sys/fanotify.h.
57393 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57394 fanotify_mask for GLIBC_2.13.
57395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57396 fanotify_init and fanotify_mark.
57397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57398 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57399
c08fb0d7
UD
57400 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57401 Add prlimit.
57402 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57403 prlimit64 for GLIBC_2.13.
57404 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57405 prlimit64.
57406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57407 syscall.
57408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57409 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57410 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57413 add prlimit alias.
57414 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57415
15bac72b
UD
57416 [BZ #11903]
57417 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57418 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57419
c3e2f19b
UD
57420 * nss/Makefile: Add rules to build and run tst-nss-test1.
57421 * shlib-versions: Add entry for libnss_test1.
57422 * nss/nss_test1.c: New file.
57423 * nss/tst-nss-test1.c: New file.
57424
57425 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57426 (__nss_configure_lookup): Set appropriate entry in
57427 __nss_configure_lookup to true.
57428 * nss/nsswitch.h: Define enum with indeces of databases in
57429 databases and __nss_database_custom arrays. Declare
57430 __nss_database_custom.
57431 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57432 to avoid using nscd when custom rules are installed.
57433 * nss/getXXbyYY_r.c: Likewise.
57434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57435
57436 * nss/nss_files/files-parse.c: Whitespace fixes.
57437
f15ce4d8
UD
574382010-08-09 Ulrich Drepper <drepper@redhat.com>
57439
57440 [BZ #11883]
57441 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57442 * posix/fnmatch_loop.c: Likewise.
57443
d22e4cc9
AK
574442010-07-17 Andi Kleen <ak@linux.intel.com>
57445
57446 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57447 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57448 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57449 * Versions.def [GLIBC_2.13]: Add.
57450
805bc17d
UD
574512010-08-06 Ulrich Drepper <drepper@redhat.com>
57452
57453 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57454 Also fail if tpwd after pwuid call is NULL.
57455
5a42321d
ST
574562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57457
57458 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57459 when converting to ms.
57460
fd3ebeda
ST
574612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57462
57463 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57464 EOPNOTSUPP errors with ENOTTY.
57465 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57466 EOPNOTSUPP errors with ENOTTY.
57467
73507d3a
UD
574682010-07-31 Ulrich Drepper <drepper@redhat.com>
57469
57470 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57471 Add strcasecmp_l-ssse3.
57472 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57473 strcasecmp.
57474 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57475 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57476 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57477
fe36dd02
UD
574782010-07-30 Ulrich Drepper <drepper@redhat.com>
57479
66f6765a
UD
57480 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57481
42e08a54
UD
57482 * string/Makefile (strop-tests): Add strcasecmp.
57483 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57484 strcasecmp_l-nonascii.
57485 (gen-as-const-headers): Add locale-defines.sym.
57486 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57487 * sysdeps/x86_64/strcasecmp.S: New file.
57488 * sysdeps/x86_64/strcasecmp_l.S: New file.
57489 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57490 * sysdeps/x86_64/locale-defines.sym: New file.
57491 * string/test-strcasecmp.c: New file.
57492
fe36dd02
UD
57493 * string/test-strcasestr.c: Test both ends of the range of characters.
57494 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57495
48cbc0d6
RM
574962010-07-29 Roland McGrath <roland@redhat.com>
57497
76e6d6bc 57498 [BZ #11856]
48cbc0d6
RM
57499 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57500
880113d9
UD
575012010-07-27 Ulrich Drepper <drepper@redhat.com>
57502
57503 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57504 for ld.so.
57505
deb9cabb
AS
575062010-07-27 Andreas Schwab <schwab@redhat.com>
57507
57508 * manual/memory.texi (Malloc Tunable Parameters): Document
57509 M_PERTURB.
57510
1c7570ff
RM
575112010-07-26 Roland McGrath <roland@redhat.com>
57512
57513 [BZ #11840]
57514 * configure.in (-fgnu89-inline check): Set and substitute
57515 gnu89_inline, not libc_cv_gnu89_inline.
57516 * configure: Regenerated.
57517 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57518
24fb0f88
UD
575192010-07-26 Ulrich Drepper <drepper@redhat.com>
57520
57521 * string/test-strnlen.c: New file.
57522 * string/Makefile (strop-tests): Add strnlen.
57523 * string/tester.c (test_strnlen): Add a few more test cases.
57524 * string/tst-strlen.c: Better error reporting.
57525
57526 * sysdeps/x86_64/strnlen.S: New file.
57527
8e96b93a
UD
575282010-07-24 Ulrich Drepper <drepper@redhat.com>
57529
57530 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57531 lower-latency instructions.
57532
dbc676d4
UD
575332010-07-23 Ulrich Drepper <drepper@redhat.com>
57534
57535 * string/test-strcasestr.c: New file.
57536 * string/test-strstr.c: New file.
57537 * string/Makefile (strop-tests): Add strstr and strcasestr.
57538 * string/str-two-way.h: Don't undefine MAX.
57539 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57540
f6a31e0e
AS
575412010-07-21 Andreas Schwab <schwab@redhat.com>
57542
57543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57544 strcasestr-nonascii.
57545 (CFLAGS-strcasestr-nonascii.c): Define.
57546 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57548 Remove unused attribute.
57549
5dbc3b6c
RM
575502010-07-20 Roland McGrath <roland@redhat.com>
57551
57552 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57553 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57554 ld.so.cache was broken. With it, there is no way to disable dsocaps
57555 like LD_HWCAP_MASK can disable hwcaps.
57556
23d101d8
EPM
575572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57558
57559 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57560
cc9f2e47
UD
575612010-07-16 Ulrich Drepper <drepper@redhat.com>
57562
57563 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57564 call in strcasestr.
57565 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57566 __strcasestr_sse42_nonascii.
57567 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57568 strcasestr-nonascii.c.
57569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57570
77c1b069
LM
575712010-06-15 Luis Machado <luisgpm@br.ibm.com>
57572
57573 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57574 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57576 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57577
440566c3
UD
575782010-07-09 Ulrich Drepper <drepper@redhat.com>
57579
57580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57581 fcntl.
57582
5be9d05d
AS
575832010-07-06 Andreas Schwab <schwab@redhat.com>
57584
c30b7ee2 57585 [BZ #11577]
5be9d05d
AS
57586 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57587 dl_signal_cerror.
57588
8a492a67
UD
575892010-07-06 Ulrich Drepper <drepper@redhat.com>
57590
57591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57592 _PC_PIPE_BUF using F_GETPIPE_SZ.
57593
713df3d5
RM
575942010-07-05 Roland McGrath <roland@redhat.com>
57595
57596 * manual/arith.texi (Rounding Functions): Fix rint description
57597 implicit in round description.
57598
702e8f14
UD
575992010-07-02 Ulrich Drepper <drepper@redhat.com>
57600
57601 * elf/Makefile: Fix linking for a few tests to make recent linker
57602 happy.
57603
52ed8be9
AS
576042010-06-30 Andreas Schwab <schwab@redhat.com>
57605
57606 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57607 $(common-objpfx)libc_nonshared.a.
57608
f47c9a11
LM
576092010-06-21 Luis Machado <luisgpm@br.ibm.com>
57610
57611 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57612 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57613 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57614 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57615 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57616 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57617 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57618 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57633 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57634 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57635 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57636 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57637 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57638 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57639 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57640 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57641 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57642 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57643 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57644 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57659
6fb8cbcb
L
576602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57661
57662 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57663 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57664 * string/memmove.c (memmove): Renamed to ...
57665 (MEMMOVE): ...this. Default to memmove.
57666 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57667 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57668 (END_CHK): Define.
57669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57670 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57671 mempcpy-ssse3-back memmove-ssse3-back.
57672 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57675 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57676 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57677 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57678 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57679 * sysdeps/x86_64/multiarch/memmove.c: New file.
57680 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57681 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57682 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57683 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57684 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57686 Define.
57687 (index_Fast_Copy_Backward): Define.
57688 (HAS_ARCH_FEATURE): Define.
57689 (HAS_FAST_REP_STRING): Define.
57690 (HAS_FAST_COPY_BACKWARD): Define.
57691
4e733bac 576922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57693
57694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57695 Restore proper fallback handling.
57696
63c4ed22
UD
576972010-06-19 Ulrich Drepper <drepper@redhat.com>
57698
ac2b484c
UD
57699 [BZ #11701]
57700 * posix/group_member.c (__group_member): Correct checking loop.
57701
63c4ed22
UD
57702 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57703 OOM in getpwuid_r correctly. Return error number when the caller
57704 should return, otherwise -1.
57705 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57706 call returning > 0 value.
57707 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57708
765ade4b
AS
577092010-06-07 Andreas Schwab <schwab@redhat.com>
57710
57711 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57712 libc_nonshared.a from targets in modules-names.
57713
80da2e09
KS
577142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57715
57716 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57717 requires it.
57718
158db122
LM
577192010-06-10 Luis Machado <luisgpm@br.ibm.com>
57720
57721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57725
caa78cf8
AS
577262010-06-02 Andreas Schwab <schwab@redhat.com>
57727
57728 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57729
b2ef2c01
UD
577302010-06-14 Ulrich Drepper <drepper@redhat.com>
57731
57732 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57733 and F_GETPIPE_SZ.
57734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57740
fbd643b6
RM
577412010-06-14 Roland McGrath <roland@redhat.com>
57742
57743 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57744
f32f2869
JJ
577452010-06-07 Jakub Jelinek <jakub@redhat.com>
57746
57747 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57748 __REDIRECT followed by __THROW.
57749 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57750 * posix/getopt.h (getopt): Likewise.
57751
2a50c078
EPM
577522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57753
57754 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57755 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57756 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57757 in AT_FLAGS.
57758 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57759 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57760
eb5ad2eb
LM
577612010-05-28 Luis Machado <luisgpm@br.ibm.com>
57762
57763 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57764
3c88fe1e
L
577652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57766
57767 [BZ #11640]
57768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57769 Properly check family and model.
57770
d2f73151
TY
577712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57772
57773 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57774
ebd2e13d
LM
577752010-05-24 Luis Machado <luisgpm@br.ibm.com>
57776
57777 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57778
b32b8b45
UD
577792010-05-21 Ulrich Drepper <drepper@redhat.com>
57780
57781 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57782 symbol reference.
57783
9acbe24d
AS
577842010-05-19 Andreas Schwab <schwab@redhat.com>
57785
57786 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57787 symbol reference.
57788
f0ccf6ea
AS
577892010-05-21 Andreas Schwab <schwab@redhat.com>
57790
3d04ff3a
AS
57791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57792 and internal_recvmmsg.
57793 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57794 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57795 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57796 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57797
f0ccf6ea
AS
57798 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57799 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57800 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57801
5b08ac57
AS
578022010-05-20 Andreas Schwab <schwab@redhat.com>
57803
57804 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57805
4828935d
LM
578062010-05-17 Luis Machado <luisgpm@br.ibm.com>
57807
57808 POWER7 optimizations.
57809 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57810 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57811
373d545e
UD
578122010-05-19 Ulrich Drepper <drepper@redhat.com>
57813
57814 * version.h: Update for 2.13 development version.
57815
21a2b1ae
AS
578162010-05-12 Andrew Stubbs <ams@codesourcery.com>
57817
57818 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57819 exceptions. Return 0.
57820
3f7dcb2b
RM
578212010-05-07 Roland McGrath <roland@redhat.com>
57822
57823 * elf/ldconfig.c (main): Add a const.
57824
5f24d53a 578252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57826
a160f8d8
UD
57827 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57828 (args_options): Add no-idn option.
57829 (ahosts_keys_int): Add idn_flags to ai_flags.
57830 (parse_option): Handle 'i' option to clear idn_flags.
57831
5f24d53a
UD
57832 * malloc/malloc.c (_int_free): Possible race in the most recently
57833 added check. Only act on the data if no current modification
57834 happened.
265bb1ce
UD
57835
57836See ChangeLog.17 for earlier changes.