]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Handle mblen return code when n is zero.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9781a370
OB
12015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2
3 [BZ #17596]
4 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6
37d60d97
FW
72015-04-02 Florian Weimer <fweimer@redhat.com>
8
9 * include/libc-internal.h (libc_max_align_t): Define.
10
b763f6ae
AS
112015-04-02 Andreas Schwab <schwab@suse.de>
12
13 [BZ #16850]
14 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15
c26efef9
MG
162015-04-02 Mel Gorman <mgorman@suse.de>
17
18 [BZ #17195]
19 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20 as well as the main arena.
21
a3d9ab50
L
222015-03-31 H.J. Lu <hongjiu.lu@intel.com>
23
24 [BZ #18185]
25 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
26 sharing L2 cache to 2 for Silvermont/Knights Landing.
27
83569fb8
L
282015-03-31 H.J. Lu <hongjiu.lu@intel.com>
29
30 [BZ #17711]
31 * config.make.in (have-protected-data): New.
32 * configure.ac: Check linker support for protected data symbol.
33 * configure: Regenerated.
34 * elf/Makefile (modules-names): Add tst-protected1moda and
35 tst-protected1modb if $(have-protected-data) is yes.
36 (tests): Add tst-protected1a and tst-protected1b if
37 $(have-protected-data) is yes.
38 ($(objpfx)tst-protected1a): New.
39 ($(objpfx)tst-protected1b): Likewise.
40 (tst-protected1modb.so-no-z-defs): Likewise.
41 * elf/tst-protected1a.c: New file.
42 * elf/tst-protected1b.c: Likewise.
43 * elf/tst-protected1mod.h: Likewise.
44 * elf/tst-protected1moda.c: Likewise.
45 * elf/tst-protected1modb.c: Likewise.
46
62da1e3b
L
472015-03-31 H.J. Lu <hongjiu.lu@intel.com>
48
49 [BZ #17711]
50 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
51 indicates it is called from do_lookup_x on relocation against
52 protected data, skip the data definion in the executable from
53 copy reloc.
54 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
55 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
56 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
57 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
58 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
59 otherwise to 0.
60 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
61 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
62 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
63 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
64 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
65 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
66
675ddb71
MG
672015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
68
69 * sysdeps/nptl/pthread.h: Remove duplicate definition of
70 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
71
4d611e12
MG
722015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
73
74 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
75 THREAD_SETMEM_NC.
76 * sysdeps/x86_64/nptl/tls.h: Ditto.
77
7285eb53
RM
782015-03-27 Roland McGrath <roland@hack.frob.com>
79
80 * dlfcn/tststatic.c (main): Converted to ...
81 (do_test): ... this.
82 (TEST_FUNCTION): New macro.
83 Include test-skeleton.c.
84
19a6a3ac
AM
852015-03-26 Alan Modra <amodra@gmail.com>
86
87 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
88 Don't segfault if ifunc resolver returns a NULL. Do set plt to
89 zero for undefined weak.
90 (elf_machine_plt_conflict): Similarly.
91
a9fe4c5a
JM
922015-03-25 Joseph Myers <joseph@codesourcery.com>
93
efd5b641
JM
94 * math/auto-libm-test-in: Add more tests of acosh, asinh and
95 atanh.
96 * math/auto-libm-test-out: Regenerated.
97 * sysdeps/i386/fpu/libm-test-ulps: Update.
98 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
99
e9b10151
JM
100 * math/auto-libm-test-in: Add another test of asin.
101 * math/auto-libm-test-out: Regenerated.
102 * sysdeps/i386/fpu/libm-test-ulps: Update.
103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
104
9fa55373
JM
105 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
106 Remove macro.
107 (LLL_EBX_REG): Likewise.
108 (LLL_ENTER_KERNEL): Likewise.
109
38755f14
JM
110 * math/auto-libm-test-in: Add more tests of asin.
111 * math/auto-libm-test-out: Regenerated.
112 * sysdeps/i386/fpu/libm-test-ulps: Update.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114
a9fe4c5a
JM
115 [BZ #18138]
116 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
117 libc_do_syscall_args): New structure.
118 (INTERNAL_SYSCALL_MAIN_0): New macro.
119 (INTERNAL_SYSCALL_MAIN_1): Likewise.
120 (INTERNAL_SYSCALL_MAIN_2): Likewise.
121 (INTERNAL_SYSCALL_MAIN_3): Likewise.
122 (INTERNAL_SYSCALL_MAIN_4): Likewise.
123 (INTERNAL_SYSCALL_MAIN_5): Likewise.
124 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
125 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
126 Replace conditional definitions by conditional definitions of ....
127 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
128 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
129 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
130 (libpthread-sysdep_routines): Add libc-do-syscall.
131 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
132 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
133 to __NR_futex not 240.
134
afcd9480
AM
1352015-03-25 Alan Modra <amodra@gmail.com>
136
137 * NEWS: Advertise TLS optimization.
138 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
139 (DT_PPC_NUM): Increment.
140 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
141 (CHECK_STATIC_TLS): Use here.
142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
143 TLS descriptors.
144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
145 * sysdeps/powerpc/dl-tls.c: New file.
146 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
147 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
148 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
149 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
153
da9f3334
AM
1542015-03-25 Alan Modra <amodra@gmail.com>
155
156 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
157 for overlapping .opd entries" to "support...".
158 * sysdeps/powerpc/powerpc64/configure: Regenerate
159
bc899ea0
JM
1602015-03-25 Joseph Myers <joseph@codesourcery.com>
161
8d643971
JM
162 * math/auto-libm-test-in: Add more tests of acos.
163 * math/auto-libm-test-out: Regenerated.
164 * sysdeps/i386/fpu/libm-test-ulps: Update.
165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166
bc899ea0
JM
167 * math/auto-libm-test-in: Add more tests of expm1.
168 * math/auto-libm-test-out: Regenerated.
169 * sysdeps/i386/fpu/libm-test-ulps: Update.
170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
171
7c84a504
JM
1722015-03-24 Joseph Myers <joseph@codesourcery.com>
173
239ed6f3
JM
174 * math/auto-libm-test-in: Add more tests of cosh and sinh.
175 * math/auto-libm-test-out: Regenerated.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178
a737e826
JM
179 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
181
7c84a504
JM
182 * math/auto-libm-test-in: Add more tests of log2.
183 * math/auto-libm-test-out: Regenerated.
184 * sysdeps/i386/fpu/libm-test-ulps: Update.
185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
186
7e9c7b9b
RM
1872015-03-23 Roland McGrath <roland@hack.frob.com>
188
189 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
190 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
191 _IO_IS_APPENDING bit in READ_WRITE instead.
192
98734cc5
FW
1932015-03-23 Florian Weimer <fweimer@redhat.com>
194
195 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
196 (__determine_cpumask_size): Replace extend_alloca with a
197 variable-length array. Do not treat res == 0 as an error.
198
2b028564
FW
1992015-03-23 Florian Weimer <fweimer@redhat.com>
200
201 [BZ #18100]
202 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
203 and integer overflow.
204 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
205 (main): Add integer overflow tests.
206 * manual/pattern.texi (Calling Wordexp): Document additional use
207 for WRDE_SYNTAX.
208
59261ad3
AM
2092015-03-23 Alan Modra <amodra@gmail.com>
210
211 * config.h.in: Remove HAVE_ASM_PPC_REL16.
212 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
213 and false branch of conditional.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
215 Likewise.
216
d583531a
ST
2172015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
218
219 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
220 libc-modules.h
868df0f9
ST
221 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
222 unused declaration of _hurd_intr_rpc_msg_in_trap.
223 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
224 defined instead of whether it is non-zero.
225 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
226 input constraint instead of both input and output constraint. Use ecx
227 clobber instead of %ecx.
228 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
229 mutex_unlock): Use a statement expression instead of an expression list.
230 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
231 type to vm_size_t instead of vm_address_t.
232 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
233 defined instead of whether it is non-zero.
234 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
235 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
236 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
237 comparisons with mapaddr.
238 * nscd/nscd-client.h: Include <time.h>.
239 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
240 9th parameter to __vm_region instead of int.
661a7dba 241 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
242 * scripts/check-local-headers.sh (exclude): Add device/,
243 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
244 cthreads.h.
d583531a 245
298e5d56
RM
2462015-03-19 Roland McGrath <roland@hack.frob.com>
247
248 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
249 to account for alignment padding.
250 * sysdeps/arm/memmove.S: Likewise.
251
becb26b8
CM
2522015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
253
254 * sysdeps/unix/sysv/linux/generic/README: New file.
255
c2f5813a
JM
2562015-03-18 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #18138]
259 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
260 (futex_abstimed_wait)
261 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
262 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
263 of lll_futex_timed_wait.
264
ed6b0fe7
BH
2652015-03-18 Brad Hubbard <bhubbard@redhat.com>
266
267 [BZ #17542]
268 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
269
f8aeae34
AO
2702015-03-17 Alexandre Oliva <aoliva@redhat.com>
271
272 [BZ #17090]
273 [BZ #17620]
274 [BZ #17621]
275 [BZ #17628]
276 * NEWS: Update.
277 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
278 entries with Static TLS too. Skip entries past the end of the
279 allocated DTV, from Alan Modra.
280 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
281 Static TLS DTV entry set up from...
282 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
283 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
284 * nptl/allocatestack.c (init_one_static_tls): ... and here...
285 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
286 for Static TLS.
287 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
288 that the slot we find is associated with the given map before
289 using its generation count.
290 * nptl_db/db_info.c: Include ldsodefs.h.
291 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
292 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
293 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
294 (link_map::l_tls_offset): New struct field.
295 (dtv_t::counter): Likewise.
296 (rtld_global): New struct.
297 (_rtld_global): New rtld variable.
298 (dl_tls_dtv_slotinfo_list): New rtld global field.
299 (dtv_slotinfo_list): New struct.
300 (dtv_slotinfo): Likewise.
301 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
302 (td_lookup): Rename to...
303 (td_mod_lookup): ... this. Use new mod parameter instead of
304 LIBPTHREAD_SO.
305 * nptl_db/td_thr_tlsbase.c: Include link.h.
306 (dtv_slotinfo_list, dtv_slotinfo): New functions.
307 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
308 addresses even if the DTV is out of date or missing them.
309 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
310 index zero-length arrays.
311 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
312 (td_lookup): Make it a macro implemented in terms of...
313 (td_mod_lookup): ... this declaration.
314 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
315 (DB_MAIN_VARIABLE): Likewise.
316
b97eb2bd
L
3172015-03-16 H.J. Lu <hongjiu.lu@intel.com>
318
319 [BZ #18134]
320 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
321
cb219290
PE
3222015-03-15 Paul Eggert <eggert@cs.ucla.edu>
323
324 * stdlib/setenv.c (__add_to_environ): Revert previous change.
325
a3905fd9
AS
3262015-03-14 Andreas Schwab <schwab@linux-m68k.org>
327
328 [BZ #18128]
329 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
330 (atomic_add, atomic_increment_and_test)
331 (atomic_decrement_and_test): Fix 64-bit arithmetic.
332
2ecccaed
PE
3332015-03-13 Paul Eggert <eggert@cs.ucla.edu>
334
335 * stdlib/setenv.c (__add_to_environ):
336 Dump core quickly if setenv (..., NULL, ...) is called.
337
cdaf79d0
RM
3382015-03-13 Roland McGrath <roland@hack.frob.com>
339
340 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
341 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
342 all the necessary asm magic in one place.
343 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
344 using those.
345
cf9313e7
CD
3462015-03-13 Carlos O'Donell <carlos@redhat.com>
347
348 [BZ #14906]
349 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
350 traced file mtime. Use consistent log message.
351 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
352 (register_traced_file): Call install_watches. Always set mtime.
353 (invalidate_cache): Iterate over all trace files. Call install_watches.
354 (inotify_check_files): Don't inline. Handle watching parent
355 directories and configuration file movement in and out.
356 (handle_inotify_events): New function.
357 (main_loop_poll): Call handle_inotify_events.
358 (main_loop_epoll): Likewise.
359 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
360 (struct traced_file): Use array of inotify fds. Add parent directory,
361 and basename.
362 (struct database_dyn): Remove unused file_mtime.
363 (init_traced_file): New inline function.
364 (define_traced_file): New macro.
365 * nss/nss_db/db-init.c: Use define_traced_file.
366 (_nss_db_init): Use init_traced_file.
367 * nss/nss_files/files-init.c: Use define_traced_file.
368 (_nss_files_init): Use init_traced_file.
369
7d67a196
JM
3702015-03-12 Joseph Myers <joseph@codesourcery.com>
371
372 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
373 [_LIBC]: Do not include <stdlib.h>.
374 [!_LIBC] (abort): Remove declaration.
375 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
376 _FP_STATIC_ASSERT instead of conditionally calling abort.
377 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
378 (_FP_EXTEND_CNAN): Likewise.
379 (FP_TRUNC): Likewise.
380 (__FP_CLZ): Likewise.
381 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
382
af85ebcd
YS
3832015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
384
385 * manual/string.texi (XPG basename): Fix prototype.
386
2e807f29
SL
3872015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
388
389 [BZ #18080]
390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
391 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
392 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
393 (__setcontext): Likewise.
394 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
395 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
396 Call rt_sigprocmask syscall one time to set new signal mask
397 and retrieve the current signal mask instead of two calls.
398 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
399 (__swapcontext): Likewise.
400 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
401 * stdlib/tst-setcontext2.c: New file.
402
1b2bebe6
SL
4032015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
404
405 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
406
6a1cf708
AJ
4072015-03-11 Aurelien Jarno <aurelien@aurel32.net>
408
409 [BZ #18093]
410 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
411 the wrong size.
412
a2d4cf72
PP
4132015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
414
415 [BZ #18043]
416 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
417
5ca10a0c
AZ
4182015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
419
420 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
421 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
422 Remove define.
423 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
424 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
425 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
426 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
427 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
428 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
429 define.
430 * nptl_db/td_symbol_list.c (td_lookup): Remove
431 HAVE_ASM_GLOBAL_DOT_NAME code.
432 * sysdeps/powerpc/powerpc64/configure.ac: Remove
433 HAVE_ASM_GLOBAL_DOT_NAME check.
434 * sysdeps/powerpc/powerpc64/configure: Regenerate.
435 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
436 (DOT_LABEL): Remove define.
437 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
438 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
439 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
440 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
441 (__TLS_GET_ADDR): Likewise.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
443 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
444
e4363cfb
CD
4452015-03-11 Carlos O'Donell <carlos@redhat.com>
446
447 [BZ #18111]
448 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
449 (_FPU_SETCW): Initialize cw from fpsr before storing.
450 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
451 (fesetexceptflag): Rewrite using fpu_control.h.
452 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
453
fae1aa8d
JDA
4542015-03-11 John David Anglin <danglin@gcc.gnu.org>
455
456 [BZ #18110]
457 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
458 asms.
459 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
460
068a6274
JM
4612015-03-11 Joseph Myers <joseph@codesourcery.com>
462
463 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
464 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
465 abort.
466 (_FP_FMA): Likewise.
467 (_FP_DIV): Likewise.
468
d3821ab0
RM
4692015-03-10 Roland McGrath <roland@hack.frob.com>
470
44a6213c
RM
471 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
472 with 0 in that case.
473 * Makefile (summarize-tests): New canned sequence, factored out of
474 commands for targets tests and xtests. Display summary lines that
475 don't start with PASS: or XFAIL: rather than ones that do start with
476 ERROR: or FAIL:. Make the commands fail if any summary lines fail
477 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
478 do start with ERROR: or FAIL:.
479 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
480 (except for [$(build-shared) = yes]).
481 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
482 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
483 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
484 * nptl/Makefile: Revert 2015-03-04 changes.
485 [$(CXX) empty] (tests-unsupported): New variable.
486 * debug/Makefile: Likewise.
487
d3821ab0
RM
488 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
489 gnulib file. Replace __attribute with __attribute__ throughout.
490
85ca85ae
CD
4912015-03-10 Carlos O'Donell <carlos@redhat.com>
492
493 * sysdeps/hppa/fpu/libm-test-ulps: Update.
494
6411f81d
JM
4952015-03-10 Joseph Myers <joseph@codesourcery.com>
496
497 [BZ #18104]
498 * math/auto-libm-test-in: Add another test of pow.
499 * math/auto-libm-test-out: Regenerated.
500
d421868b
AZ
5012015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502
503 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
504 $(config-cflags-nofma).
505
a2f8be9c
JM
5062015-03-10 Joseph Myers <joseph@codesourcery.com>
507
508 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
509 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
510 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
511 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
512 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
513 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
514 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
515 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
516 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
517 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
518 Add comment on closing #endif.
519
01d032e0
PP
5202015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
521
522 * posix/wordexp.c (CHAR_IN_SET): New macro.
523 (parse_param): Use it.
524
d439bc56
AZ
5252015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526
527 * sysdeps/powerpc/fpu/libm-test-ulps: update.
528
5f85a4bf
PP
5292015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
530
531 [BZ #18043]
532 * posix/wordexp.c (parse_param): Fix buffer overflow.
533 * posix/wordexp-test.c (test_case): Add test case.
534
f8ba70e9
PP
5352015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
536
537 [BZ #18042]
538 * posix/wordexp.c (parse_backtick): Fix off-by-one.
539 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
540
36103ba2
PP
5412015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
542
543 [BZ #18043]
544 * posix/wordexp-test.c (test_case): Add test for BZ #18043
545 (do_bz18043): Delete.
546 (at_page_end): New.
547 (testit): Refactor to have words at the edge of unreadable page.
548
18d26750
PP
5492015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
550
551 [BZ #16734]
552 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
553 Cleanup read-only streams as well.
554 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
555
9f95dc5d
ST
5562015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
557
558 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
559 <bits/libc-lockP.h>
560
b838844b
JM
5612015-03-07 Joseph Myers <joseph@codesourcery.com>
562
563 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
564 on [__KERNEL__].
565 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
566 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
567 * soft-fp/op-common.h (_FP_DECL): Likewise.
568
e0ed2fb4
L
5692015-03-06 H.J. Lu <hongjiu.lu@intel.com>
570
571 * elf/ifuncdep2.c (global): Replace
572 __attribute__((visibility("protected"))) with
573 asm (".protected global").
574 * elf/ifuncmod1.c (global): Likewise.
575 * elf/ifuncmod5.c (global): Likewise.
576
fa9dda64
JM
5772015-03-06 Joseph Myers <joseph@codesourcery.com>
578
579 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
580 <asm/sfp-machine.h> instead of <sfp-machine.h>.
581
4acc27ed
RM
5822015-03-06 Roland McGrath <roland@hack.frob.com>
583
584 * manual/install.texi (Configuring and compiling):
585 Document test-wrapper-env-only.
586 * INSTALL: Regenerated.
587
895c30cb
PP
5882015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
589
590 [BZ #18043]
591 * posix/wordexp.c (parse_param): Fix buffer overflow.
592 * posix/wordexp-test.c (do_bz18043): Add test case.
593
5df56c7e
VB
5942015-03-06 Vincent Bernat <vincent@bernat.im>
595
596 * time/tst-strptime2.c (do_test): Ensure failing tests are
597 reported correctly.
598 * time/tst-strptime3.c (do_test): Likewise.
599
1cdf2ea1
ST
6002015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
601
602 Fix aio_error thread-safety.
1cdf2ea1
ST
603 * sysdeps/pthread/aio_error.c: New file
604 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
605 synchronization.
606
d176a41a
FW
6072015-03-06 Florian Weimer <fweimer@redhat.com>
608
609 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
610 (group_number, vfprintf): Use it.
1597b744
FW
611 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
612 (JUMP, REF): Use it.
613 (WORK_BUFFER_SIZE): New enum constant.
614 (process_arg, vfprintf): Use it.
d176a41a 615
7e7af349
RJ
6162015-03-06 Rical Jasan <ricaljasan@pacific.net>
617
618 * manual/errno.texi (Error Messages): Complete example function
619 by adding missing #define.
620 (program_invocation_name): Add statement indicating GNU
621 extension and reference which header file declares the variable.
622 (program_invocation_short_name): Likewise.
623
4ca8ddfb
MF
6242015-03-06 Mike Frysinger <vapier@gentoo.org>
625
626 * manual/errno.texi (Error Messages): Delete strerror ISO C89
627 compatibility note.
628
9162c01d
RM
6292015-03-05 Roland McGrath <roland@hack.frob.com>
630
631 * Makeconfig (test-wrapper-env-only): New variable.
632 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
633 then use that with $(test-wrapper-env-only) rather than using
634 $(test-wrapper-env) $(run-program-env) $($*-ENV).
635
209826bc
L
6362015-03-05 H.J. Lu <hongjiu.lu@intel.com>
637
638 [BZ #18082]
639 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
640 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
641 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
642 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
643 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
644 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
645 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
646 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
647 Likewise.
648 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
649 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
650 Likewise.
651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
652 Likewise.
653 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
654 Likewise.
655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
656 Likewise.
657 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
659 Likewise.
660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
661 Likewise.
662 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
663 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
664
2cfe32bc
RM
6652015-03-04 Roland McGrath <roland@hack.frob.com>
666
8bff5aab
RM
667 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
668 (ETH_ALEN): New macro.
669 (struct ether_addr): Use it for length of ether_addr_octet.
670
2752f338
RM
671 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
672 (setdb): Don't call __nss_configure_lookup for "rpc".
673 (do_test): Don't call test_rpc.
674 (output_rpcent, test_rpc): Functions moved ...
675 * sunrpc/test-rpcent.c: ... to this new file.
676 * sunrpc/Makefile (tests): Add it.
677
2cfe32bc
RM
678 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
679 __xpg_sigpause.
680 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
681 * nptl/tst-signal6.c: Likewise.
682 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
683 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
684
e4693aa7
RM
685 * configure.ac (libc_cv_cxx_link_ok): New check.
686 Reset CXX to empty if it fails to link.
687 * configure: Regenerated.
688 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
689 bug-atexit3-lib only if $(CXX) is nonempty.
690 * nptl/Makefile (tests): Likewise for tst-cancel24.
691 (tests, tests-static): Likewise for tst-cancel24-static.
692 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
693 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
694 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
695 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 696
8e2e833a
AS
6972015-03-04 Andreas Schwab <schwab@suse.de>
698
699 [BZ #17631]
700 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
701 for non-GCC compilers.
702 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
703 Likewise.
704
85b29045
AZ
7052015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
706
707 [BZ #17776]
708 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
709 integer before bitwise and assembly operations.
710 (feclearexcept): Likewise.
711 * math/test-fenvinline.c: New file.
712 * math/Makefile: Add test-fenvinline test.
713
a0af371c
AM
7142015-03-03 Alan Modra <amodra@gmail.com>
715
716 [BZ #16512]
717 * scripts/localplt.awk: Strip off symbol version.
718 * NEWS: Mention bug fix.
719
47465629
RM
7202015-03-02 Roland McGrath <roland@hack.frob.com>
721
722 * sysdeps/pthread/timer_routines.c
723 (timer_free_list, thread_free_list, thread_active_list): Make static.
724
6d08b022
JM
7252015-03-02 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #17779]
728 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
729 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
730 Undefine.
731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
732 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
733 Likewise.
734 * sysdeps/unix/sysv/linux/sh/kernel-features.h
735 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
736 Likewise.
737
c2c6d39f
PP
7382015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
739
740 [BZ #18036]
741 * posix/fnmatch_loop.c (END): Detect invalid pattern.
742 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
743
e8b6be00
AS
7442015-03-02 Andreas Schwab <schwab@suse.de>
745
746 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
747 variable name.
748
1a2d98af
FW
7492015-03-02 Florian Weimer <fweimer@redhat.com>
750
751 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
752 Return error status.
753
e7f07af5
AO
7542015-02-27 Alexandre Oliva <aoliva@redhat.com>
755
756 [BZ #15969]
757 * locale/findlocale.c (_nl_find_locale): Introduce const
758 version of loc_name and drop unsafe type casts.
759
c7b19ca9
RM
7602015-02-27 Roland McGrath <roland@hack.frob.com>
761
762 * dlfcn/tststatic2.c (main): Converted to ...
763 (do_test): ... this.
764 (TEST_FUNCTION): New macro.
765 Include test-skeleton.c.
766
ef4ad06f
L
7672015-02-27 H.J. Lu <hongjiu.lu@intel.com>
768
769 [BZ #17711]
770 * elf/Makefile (tests): Add vismain only if PIE is enabled.
771 (tests-pie): Add vismain.
772 (CFLAGS-vismain.c): New.
773 * elf/vismain.c: Add comments for PIE requirement.
774
2ca725c5
JM
7752015-02-27 Joseph Myers <joseph@codesourcery.com>
776
777 [BZ #18046]
778 [BZ #18047]
779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
780 0x1p-56L as threshold for just returning the argument.
781 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
782 0x1p-32L as threshold for just returning the argument.
783 * math/auto-libm-test-in: Add more tests of atanh.
784 * math/auto-libm-test-out: Regenerated.
785 * sysdeps/i386/fpu/libm-test-ulps: Update.
786 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
787
af96be34
WD
7882015-02-27 Wilco Dijkstra wdijkstr@arm.com
789
790 * string/bcopy.c (bcopy): Call memmove for performance.
791
ddcf6798
WD
7922015-02-27 Wilco Dijkstra wdijkstr@arm.com
793
794 * string/bzero.c (__bzero): Call memset for performance.
795
49f476f4
JDA
7962015-02-27 John David Anglin <dave.anglin@bell.net>
797
b42e14ff 798 [BZ #18068]
49f476f4
JDA
799 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
800 to 00100000.
801
f8ab5d38
JM
8022015-02-27 Joseph Myers <joseph@codesourcery.com>
803
804 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
805
380bd0fd
JM
8062015-02-26 Joseph Myers <joseph@codesourcery.com>
807
31331a07
JM
808 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
809 (__kernel_standard): Use CSTR macro when setting exc.name.
810 * sysdeps/ieee754/Makefile [$(subdir) = math]
811 (CFLAGS-k_standard.c): Remove variable.
812
09220e66
JM
813 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
814 setting p and q from "else if" to "else".
815 (qzero): Likewise.
816 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
817 (qone): Likewise.
818 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
819 (qzerof): Likewise.
820 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
821 (qonef): Likewise.
822 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
823 (qzero): Likewise.
824 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
825 (qone): Likewise.
826
1d9ab20c
JM
827 [BZ #18038]
828 [BZ #18039]
829 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
830 return pi/2 for arguments below 0x1p-113L.
831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
832 return pi/2 for arguments below 0x1p-106L.
833 * math/auto-libm-test-in: Add more tests of acos.
834 * math/auto-libm-test-out: Regenerated.
835
ec0ce0d3
JM
836 [BZ #16351]
837 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
838 (MO): New macro.
839 (__ieee754_asin): Force underflow exception for results with small
840 absolute value.
841 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
842 (MO): New macro.
843 (__ieee754_asinf): Force underflow exception for results with
844 small absolute value.
845 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
846 (__ieee754_asin): Force underflow exception for results with small
847 absolute value.
848 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
849 (__ieee754_asinf): Force underflow exception for results with
850 small absolute value.
851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
852 (__ieee754_asinl): Force underflow exception for results with
853 small absolute value.
854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
855 (__ieee754_asinl): Force underflow exception for results with
856 small absolute value.
857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
858 (__ieee754_asinl): Force underflow exception for results with
859 small absolute value.
860 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
861 Include <math.h>.
862 * math/auto-libm-test-in: Do not mark underflow exceptions as
863 possibly missing for bug 16351.
864 * math/auto-libm-test-out: Regenerated.
865
380bd0fd
JM
866 [BZ #18030]
867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
868 of power of 2 down when low part has opposite sign.
869 * math/libm-test.inc (logb_test_data): Add more tests.
870
4a28f4d5
AS
8712015-02-26 Andreas Schwab <schwab@suse.de>
872
873 [BZ #18032]
874 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
875 over collating symbol inside a bracket expression. Minor cleanup.
876 * posix/tst-fnmatch3.c (do_test): Add test case.
877
524ae9ea
JM
8782015-02-26 Joseph Myers <joseph@codesourcery.com>
879
880 [BZ #18029]
881 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
882 Adjust exponent of power of 2 down when low part has opposite
883 sign.
884 * math/libm-test.inc (ilogb_test_data): Add more tests.
885
23d43090
AO
8862015-02-26 Alexandre Oliva <aoliva@redhat.com>
887
888 [BZ #15969]
889 * locale/findlocale.c (_nl_find_locale): Fix constness error in
890 the previous change.
0d822a01
AO
891
892 [BZ #15969]
893 * locale/findlocale.c (_nl_find_locale): Retry archive search
894 after alias expansion.
895
d19df6ac
RM
8962015-02-25 Roland McGrath <roland@hack.frob.com>
897
ca681b7b
RM
898 * iconv/tst-iconv3.c (main): Converted to ...
899 (do_test): ... this.
900 (TEST_FUNCTION): New macro.
901 Include test-skeleton.c.
902
fd1f2f1c
RM
903 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
904 (convert): Make function static.
905 (test_unalign): Likewise. Add const to argument pointee types.
906 (main): Replace with static function do_test.
907 Print "Succeeded." only if RET is zero.
908 (TEST_FUNCTION): New macro.
909 Include test-skeleton.c.
910
d19df6ac
RM
911 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
912 returns a null pointer.
913
115e0de7
AZ
9142015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
917 to __memcpy_ppc only for static builds.
918
137cef7d
JM
9192015-02-25 Joseph Myers <joseph@codesourcery.com>
920
921 [BZ #18020]
922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
923 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
924 * math/auto-libm-test-in: Add more tests of asinh.
925 * math/auto-libm-test-out: Regenerated.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
928
cb43bb0d
CW
9292015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
930
931 [BZ #15850]
932 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
933 and ip6_mtuinfo definitions here.
934 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
935 in this define too. Update comment.
936
9be1052b
BS
9372015-02-24 Benno Schulenberg <bensberg@justemail.net>
938
939 * elf/sprof.c (load_shobj): Tweak error message to match others.
940
6807b1db
KE
9412015-02-24 Kevin Easton <kevin@guarana.org>
942
943 [BZ #16145] (partial fix)
944 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
945 to reduce lock contention.
946
b433df00
ML
9472015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
948
949 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
950 (struct timex): Update time comment.
951 (ADJ_SETOFFSET): Define.
952
440169d6
JM
9532015-02-24 Joseph Myers <joseph@codesourcery.com>
954
955 [BZ #18019]
956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
957 2**56 not 2**28 as threshold for log (2x) formula.
958 * math/auto-libm-test-in: Add more tests of acosh.
959 * math/auto-libm-test-out: Regenerated.
960 * sysdeps/i386/fpu/libm-test-ulps: Update.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
962
ba7d2c54
MF
9632015-02-24 Mike Frysinger <vapier@gentoo.org>
964
965 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
966 parenthesis around the buf assignment.
967 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
968
9438b237
JM
9692015-02-24 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #16783]
972 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
973 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
974 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
975 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
976 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
977 * math/libm-test.inc (scalb_test_data): Add more tests.
978
6909d276
PP
9792015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
980
981 [BZ #17916]
982 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
983 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
984
65f6f938
ER
9852015-02-24 Eric Rannaud <e@nanocritical.com>
986
987 [BZ #17523]
988 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
989 * io/bits/fcntl2.h (open): Use it.
990 (openat): Likewise.
991 * io/open.c (__libc_open): Likewise.
992 * io/open64.c (__libc_open64): Likewise.
993 * io/open64_2.c (__open64_2): Likewise.
994 * io/open_2.c (__open_2): Likewise.
995 * io/openat.c (__openat): Likewise.
996 * io/openat64.c (__openat64): Likewise.
997 * io/openat64_2.c (__openat64_2): Likewise.
998 * io/openat_2.c (__openat_2): Likewise.
999 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1000 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1001 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1002 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1003 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1004 (__open_nocancel): Likewise.
1005 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1006 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1007 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1008
3e3002ff
SP
10092015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
1011 [BZ #14841]
1012 * resolv/gethnamaddr.c (getanswer): Skip logging if
1013 RES_USE_DNSSEC is set.
1014 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1015
9813dd58
MF
10162015-02-24 Mike Frysinger <vapier@gentoo.org>
1017
1018 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1019
7b1ec6a0
AO
10202015-02-23 Alexandre Oliva <aoliva@redhat.com>
1021
1022 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1023 201304L, for Unicode 7.
1024
d49499c1
L
10252015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 [BZ #17836]
1028 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1029 shared library. Add gmon-start.os otherwise.
1030 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1031 $(objpfx)gmon-start.os if builing shared library.
1032 ($(objpfx)g$(static-start-installed-name)): Likewise.
1033
51225803
AS
10342015-02-23 Andreas Schwab <schwab@suse.de>
1035
1036 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1037
bdf1ff05
PP
10382015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1039
1040 [BZ #17269]
1041 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1042 (enlarge_userbuf): Likewise.
1043
95296112
CLT
10442015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1045
1046 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1047 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1048 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1049 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1050
e4a399dc
JM
10512015-02-20 Joseph Myers <joseph@codesourcery.com>
1052
1053 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1054 expression inside statement expression.
1055
7133957f
SL
10562015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1057
1058 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1059 <sysdeps/nptl/lowlevellock.h> and remove macros and
1060 functions that are now defined there.
1061 (SYS_futex): Remove.
1062 (lll_compare_and_swap): Remove.
1063 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1064
40176158
JM
10652015-02-19 Joseph Myers <joseph@codesourcery.com>
1066
1067 [BZ #17999]
1068 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1069 instead of scandirat.
1070 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1071 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1072 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1073 __scandirat.
1074 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1075 (__scandirat): Declare. Use libc_hidden_proto.
1076 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1077 Remove variable.
1078 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1079
4629c866
JM
10802015-02-18 Joseph Myers <joseph@codesourcery.com>
1081
1082 [BZ #15319]
1083 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1084 (MO): New macro.
1085 (__ieee754_atan2): For results with small absolute value, force
1086 underflow exception and remove excess range and precision from
1087 return value.
1088 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1089 (MO): New macro.
1090 (__ieee754_atan2f): For results with small absolute value, force
1091 underflow exception and remove excess range and precision from
1092 return value.
1093 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1094 (MO): New macro.
1095 (__atan): For results with small absolute value, force underflow
1096 exception and remove excess range and precision from return value.
1097 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1098 (MO): New macro.
1099 (__atanf): For results with small absolute value, force underflow
1100 exception and remove excess range and precision from return value.
1101 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1102 <math.h>.
1103 (__ieee754_atan2): Force underflow exception for results with
1104 small absolute value.
1105 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1106 <math_private.h>.
1107 (atan): Force underflow exception for results with small absolute
1108 value.
1109 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1110 (__atanf): Force underflow exception for results with small
1111 absolute value.
1112 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1113 <math.h>.
1114 (__atanl): Force underflow exception for results with small
1115 absolute value.
1116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1117 (__atanl): Force underflow exception for results with small
1118 absolute value.
1119 * sysdeps/x86/fpu/bits/mathinline.h
1120 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1121 (__ieee754_atan2): Only define inline for long double.
1122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1123 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1124 * math/auto-libm-test-in: Do not mark underflow exceptions as
1125 possibly missing for bug 15319. Add more tests of atan2.
1126 * math/auto-libm-test-out: Regenerated.
1127 * math/libm-test.inc (casin_test_data): Do not mark underflow
1128 exceptions as possibly missing for bug 15319.
1129 (casinh_test_data): Likewise.
1130 * sysdeps/i386/fpu/libm-test-ulps: Update.
1131
9ee16d8b
SE
11322015-02-18 Steve Ellcey <sellcey@imgtec.com>
1133
1134 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1135 * sysdeps/mips/bits/endian.h: Fix comments.
1136
4ffb1771
JM
11372015-02-18 Joseph Myers <joseph@codesourcery.com>
1138
1139 [BZ #17996]
1140 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1141 (hdestroy_r): Likewise.
1142 (hsearch_r): Likewise.
1143 (__hcreate_r): Declare and use libc_hidden_proto.
1144 (__hdestroy_r): Likewise.
1145 (__hsearch_r): Likewise.
1146 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1147 (hcreate): Call __hcreate_r instead of hcreate_r.
1148 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1149 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1150 as weak alias of __hcreate_r.
1151 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1152 __hdestroy_r.
1153 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1154 __hsearch_r.
1155 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1156 Remove variable.
1157 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1158 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1159 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1160 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1161
94c5a52a
SP
11622015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
1164 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1165 arena_lock into a single arena_get.
1166
8a35c3fe
CD
11672015-02-17 Carlos O'Donell <carlos@redhat.com>
1168
1169 * dl-reloc.c: Inlucde libc-internal.h.
1170 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1171 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1172 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1173 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1174 (grow_heap): Likewise.
1175 * malloc/malloc.c: Include libc-internal.h.
1176 (do_check_malloc): Call powerof2.
1177 (sysmalloc): Use pagesize. Call ALIGN_UP.
1178 (systrim): Use pagesize.
1179 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1180 (__libc_valloc): Use pagesize.
1181 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1182
1a2325c0
JM
11832015-02-17 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #17991]
1186 * include/sys/resource.h (__getrlimit64): Declare. Use
1187 libc_hidden_proto.
1188 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1189 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1190 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1191 getrlimit64.
1192 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1193 __getrlimit64.
1194 [!getrlimit64] (getrlimit64): Define as weak alias of
1195 __getrlimit64. Use libc_hidden_weak.
1196 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1197 using __getrlimit64 not __new_getrlimit64.
1198 (__GI_getrlimit64): Likewise.
1199 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1200 Likewise.
1201 (__GI_getrlimit64): Likewise.
1202 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1204 (getrlimit): Add __getrlimit64 alias.
1205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1206 Likewise.
1207 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1208 Remove variable.
1209 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1210 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1211
8ae4bb5a
PP
12122015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1213
1214 * libio/fileops.c: Add missing sys/mman.h
1215 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1216
18a218b7
JM
12172015-02-17 Joseph Myers <joseph@codesourcery.com>
1218
1219 * manual/math.texi (Errors in Math Functions): Clarify goals
1220 regarding inexact and underflow exceptions.
1221
e72ad0ef
SE
12222015-02-17 Steve Ellcey <sellcey@imgtec.com>
1223
1224 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1225 * sysdeps/mips/memset.S: Ditto.
1226
2caa4099
SE
12272015-02-17 Steve Ellcey <sellcey@imgtec.com>
1228
1229 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1230
f20bfc9b
SL
12312015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1232
1233 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1234 (__v1longjmp): Remove versioned symbol.
1235 (__v1siglongjmp): Remove alias and versioned symbol.
1236 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1237 (__v2siglongjmp): Likewise.
1238
71c06b69
TR
12392015-02-16 Torvald Riegel <triegel@redhat.com>
1240
1241 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1242
a9a05adb
MF
12432015-02-16 Mike Frysinger <vapier@gentoo.org>
1244
1245 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1246
ce8fc784
JM
12472015-02-16 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #17987]
1250 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1251 zero result does not depend on the sign resulting from
1252 subtraction.
1253 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1254 Likewise.
1255 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1256 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1258 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1259 * math/libm-test.inc (remquo_test_data): Add more tests.
1260
0d7036bd
PE
12612015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1262
1263 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1264 Problem reported by J William Piggott.
1265
86c56b16
JM
12662015-02-16 Joseph Myers <joseph@codesourcery.com>
1267
a820f9b3
JM
1268 [BZ #17978]
1269 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1270 products 4 * y and 2 * y where those would overflow.
1271 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1272 Likewise.
1273 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1274 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1276 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1277 * math/libm-test.inc (remquo_test_data): Add more tests.
1278
be802953
JM
1279 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1280
e5e72fe9
JM
1281 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1282 [defined _COMPILING_NEWLIB].
1283 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1284 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1285
86c56b16
JM
1286 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1287 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1288
35264d14
TR
12892015-02-16 Torvald Riegel <triegel@redhat.com>
1290
1291 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1292 acquired.
1293
6f49e32a
MF
12942015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1295
1296 [BZ #17792]
1297 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1298 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1299 HOST_STACK_END_ADDR): Likewise.
1300
e525154e
SE
13012015-02-13 Steve Ellcey <sellcey@imgtec.com>
1302
1303 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1304 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1305 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1306
4ab770b7
RM
13072015-02-13 Roland McGrath <roland@hack.frob.com>
1308
1309 * sysdeps/generic/c++-types.data: New file.
1310 * sysdeps/generic/ld.abilist: New file.
1311 * sysdeps/generic/libBrokenLocale.abilist: New file.
1312 * sysdeps/generic/libanl.abilist: New file.
1313 * sysdeps/generic/libc.abilist: New file.
1314 * sysdeps/generic/libcrypt.abilist: New file.
1315 * sysdeps/generic/libdl.abilist: New file.
1316 * sysdeps/generic/libm.abilist: New file.
1317 * sysdeps/generic/libpthread.abilist: New file.
1318 * sysdeps/generic/libresolv.abilist: New file.
1319 * sysdeps/generic/librt.abilist: New file.
1320
d9afe48d
JM
13212015-02-13 Joseph Myers <joseph@codesourcery.com>
1322
1323 [BZ #17569]
1324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1325 Compute absolute value of x as modified by fmod, not original
1326 value of x.
1327 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1328 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1329 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1330 RUN_TEST_ffI_f1_mod8.
1331 (remquo_test_data): Add more tests.
1332
3846188b
RM
13332015-02-13 Roland McGrath <roland@hack.frob.com>
1334
1335 * sysdeps/init_array/pt-crti.S: New file.
1336
95c26233
JM
13372015-02-13 Joseph Myers <joseph@codesourcery.com>
1338
1339 [BZ #17967]
1340 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1341 __builtin_fmaf instead of relying on contraction of a * b + c.
1342
3f293d61
WP
13432015-02-12 J William Piggott <elseifthen@gmx.com>
1344
1345 [BZ #17969]
1346 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1347 node.
1348
e8bd5286
JM
13492015-02-12 Joseph Myers <joseph@codesourcery.com>
1350
1351 [BZ #17964]
1352 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1353 __builtin_fma instead of relying on contraction of a * b + c.
1354
04f5a636
RM
13552015-02-12 Roland McGrath <roland@hack.frob.com>
1356
96a15749
RM
1357 * Makeconfig (ASFLAGS): Add -Werror=undef.
1358 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1359 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1360 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1361
04f5a636
RM
1362 * Makeconfig (after-link): New variable.
1363 (+link-pie, +link-pie-tests): Use it.
1364 (+link-static, +link-static-tests): Likewise.
1365 (+link, +link-tests): Likewise.
1366 * Makerules (build-module, build-module-asneeded): Likewise.
1367 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1368 Likewise.
1369 * elf/Makefile ($(objpfx)ld.so): Likewise.
1370
87a629c5
RS
13712015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1372
1373 [BZ #17965]
1374 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1375 both struct timeval and struct timespec.
1376
03d95bd4
JM
13772015-02-12 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #16560]
1380 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1381 and redefine.
1382 (__ieee754_exp2l): Do not multiply small fractional parts by
1383 M_LN2l.
1384 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1385 small argument.
1386 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1387 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1388 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1389 * math/auto-libm-test-in: Add more tests of exp2.
1390 * math/auto-libm-test-out: Regenerated.
1391
98408b95
RS
13922015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1393
1394 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1395 unaligned path.
1396
6f741503
AZ
13972015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398
1399 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1400 little endian.
1401
2868e070
AS
14022015-02-12 Andreas Schwab <schwab@suse.de>
1403
1404 [BZ #15790]
1405 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1406 Filter out elision flags from value returned in kind.
1407 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1408 * nptl/tst-pthread-mutexattr.c: New file.
1409
ebf27d12
ST
14102015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1411
1412 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1413 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1414 into gnu-gnu, and update comment to refer to abi-tags.
1415
d435569c
JM
14162015-02-11 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #15467]
1419 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1420 (__sincos): Set errno to EDOM for infinite argument.
1421 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1422 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1424 (__sincosl): Set errno to EDOM for infinite argument.
1425 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1426 (__sincosl): Set errno to EDOM for infinite argument.
1427 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1428 (__sincosl): Set errno to EDOM for infinite argument.
1429 * math/libm-test.inc (sincos_test_data): Test errno setting.
1430
d35273f2
LH
14312015-02-11 Leonhard Holz <leonhard.holz@web.de>
1432
1433 * string/strxfrm_l.c: Remove #define STRCMP.
1434 * string/strcoll_l.c: Remove #define STRLEN.
1435 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1436 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1437
306bc0d1
JM
14382015-02-10 Joseph Myers <joseph@codesourcery.com>
1439
1440 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1441 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1442 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1443 * sysdeps/mips/mips64/Makefile: ... here.
1444 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1445 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1446 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1447 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1448 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1449 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1450 * sysdeps/mips/mips64/n64/Implies: Likewise.
1451
92b67e8d
RM
14522015-02-10 Roland McGrath <roland@hack.frob.com>
1453
1454 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1455 <sys/time.h>, <string.h>, and <errno.h>.
1456 (dest_offset, dest_address, value, zero): Remove unused variables.
1457 (ldouble): Remove typedef.
1458 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1459 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1460 1). Fix code style.
1461 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1462 (check): Function removed.
1463 (CHECK): New macro.
1464 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1465 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1466 Don't call set_sigaction_FP and remove_sigaction_FP here.
1467 (ldouble_test): Just use 'long double' as macro argument, no need for
1468 the 'ldouble' typedef.
1469 (do_test): Set up SIGFPE handler at start, using plain signal rather
1470 than sigaction. Fix code style.
1471
132a1328
EF
14722015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1473
1474 [BZ #17949]
1475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1476 jump label.
1477
3001e54c
AZ
14782015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1479
bc0cdc49
AZ
1480 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1482
83658961
AZ
1483 * sysdeps/powerpc/configure.ac: Remove file.
1484 * sysdeps/powerpc/configure: Likewise.
1485
10169938
AZ
1486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1487 [sysdep_routines]: Remove wordcopy-power6 object.
1488 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1489 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1490 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1491 (__memmove_ppc32): Likewise.
1492 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1493 file.
1494 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1496 Remove preprocessor.
1497
8548a53d
AZ
1498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1499 [sysdep_routines]: Remove wide chars objects.
1500 [wcsmbs]: New rule for wide char objects.
1501
b2692114
AZ
1502 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1503 Remove wordcopy-power6 obejct.
1504 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1505 Use local call for wordcopy and memcpy symbols.
1506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1508 implementation for loader.
1509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1510
18e270aa
AZ
1511 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1512 Remove wordcopy-power7 object.
1513 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1514 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1515 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1516 (_wordcopy_fwd_dest_aligned): Likewise.
1517 (_wordcopy_bwd_aligned): Likewise.
1518 (_wordcopy_bwd_dest_aligned): Likewise.
1519
6f0993a6
AZ
1520 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1521 Rewrite to call __memmove_ppc instead of include default
1522 implementation.
1523
3001e54c
AZ
1524 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1525 Remove wide chars objects.
1526 [wcsmbs]: New rule for wide char objects.
1527
59b61c82
AS
15282015-02-09 Andreas Schwab <schwab@suse.de>
1529
1530 [BZ #17912]
1531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1532 in terms of __O_DIRECTORY.
1533
ebd7aede
ST
15342015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1535
1536 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1537 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1538 call PTR_MANGLE.
1539 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1540 PTR_DEMANGLE.
ebd7aede 1541
3999d26e
PE
15422015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1543
1544 Add ersatz _Static_assert on older C hosts
1545 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1546 pre-C11 C platform that is not known to support _Static_assert.
1547
e9a5bc1c
ST
15482015-02-07 Richard Braun <rbraun@sceen.net>
1549
1550 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1551 sigstate.
e86c5b64 1552 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1553
e2049d17
ST
15542015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1555
1556 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1557 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1558 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1559 instead of int.
1560 * misc/fchflags.c (fchflags): Likewise.
1561 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1562 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1563 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1564 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1565 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1566 Declare macros.
1567 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1568 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1569 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1570 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1571 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1572 45.
a9a002fb
ST
1573 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1574 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1575 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1576 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1577 * hurd/hurd/signal.h (_hurd_self_sigstate,
1578 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1579 Explicit casts from void *.
4fc81a77 1580 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1581 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1582
f05826f0
ST
1583 [BZ #4719]
1584 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1585 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1586 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1587 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1588 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1589 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1590
a5eb23de
ST
1591 [BZ #17944]
1592 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1593 duplicates ADDR->sun_path with sockaddr LEN limitation.
1594 * sysdeps/mach/hurd/connect.c: Include <string.h>
1595 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1596 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1597 * sysdeps/mach/hurd/sendto.c: Likewise.
1598 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1599 implementing it by hand.
1600
ac9e0e5e
RM
16012015-02-06 Roland McGrath <roland@hack.frob.com>
1602
f8d1bb4c
RM
1603 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1604 Use sfi_breg on ldr.
1605 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1606 Likewise.
1607
022f4812
RM
1608 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1609 it's defined.
1610 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1611 Test SIGSETXID only if it's defined.
1612
1ac074e6
RM
1613 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1614
f50ad78b
RM
1615 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1616 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1617
9e7265f4
RM
1618 * nptl/tst-align2.c: Moved ...
1619 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1620 * nptl/Makefile (tests): Remove tst-align2.
1621 * sysdeps/unix/sysv/linux/Makefile
1622 [$(subdir) = nptl] (tests): Add tst-align-clone.
1623 * nptl/tst-getpid1.c: Moved ...
1624 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1625 * nptl/tst-getpid2.c: Moved ...
1626 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1627 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1628 * sysdeps/unix/sysv/linux/Makefile
1629 [$(subdir) = nptl] (tests): ... here.
1630 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1631 * sysdeps/unix/sysv/linux/Makefile
1632 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1633
62ad2abc
RM
1634 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1635 Drop trailing \n from perror argument. Use return rather than exit.
1636
cfa69b0b
RM
1637 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1638 on [SA_SIGINFO].
1639 * nptl/tst-cancel21.c (do_test): Likewise.
1640 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1641 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1642 [!SA_SIGINFO]: Make it a stub test.
1643
82727806
RM
1644 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1645 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1646
da3a1594
RM
1647 * posix/tst-getlogin.c: Move to ...
1648 * login/tst-getlogin.c: ... here.
1649 * posix/Makefile (tests): Move tst-getlogin to ...
1650 * login/Makefile (tests): ... here.
1651
b65c0ff9
RM
1652 * libio/tst-atime.c (do_test): Move local variables SV and E
1653 inside [ST_NOATIME] conditional.
1654
56606ab3
RM
1655 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1656
ebf7d6ee
RM
1657 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1658
ca0e0675
RM
1659 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1660 (wait_code): New function replaces macro.
1661 Call nanosleep rather than syscall.
1662
8c28bbc6
RM
1663 * nptl/pt-system.c: Rewritten. Put everything under
1664 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1665 Use IFUNC to redirect when possible.
1666
ec2a88b3
RM
1667 * nptl/pt-longjmp.c: Rewritten. Put everything under
1668 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1669 Use IFUNC to redirect when possible.
1670
beff1d13
RM
1671 * nptl/pt-fork.c: Rewritten. Put everything under
1672 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1673 Use IFUNC to redirect when possible.
1674 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1675
ea02c6b8
RM
1676 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1677 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1678 unconditionally nowadays. This included the only reference to
1679 __vdso_clock_gettime that appears outside libc proper.
1680 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1681 Remove version set (containing only __vdso_clock_gettime).
1682 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1683 Add attribute_hidden.
1684 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1685 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1686 libc_hidden_data_def.
1687 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1689
a1309c2b
RM
1690 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1691 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1692 setrpcent, and getrpcport to ...
1693 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1694 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1695 getrpcbynumber_r, and getrpcent_r to ...
1696 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1697 * inet/getrpcbyname.c: Moved ...
1698 * sunrpc/getrpcbyname.c: ... here.
1699 * inet/getrpcbyname_r.c: Moved ...
1700 * sunrpc/getrpcbyname_r.c: ... here.
1701 * inet/getrpcbynumber.c: Moved ...
1702 * sunrpc/getrpcbynumber.c: ... here.
1703 * inet/getrpcbynumber_r.c: Moved ...
1704 * sunrpc/getrpcbynumber_r.c: ... here.
1705 * inet/getrpcent.c: Moved ...
1706 * sunrpc/getrpcent.c: ... here.
1707 * inet/getrpcent_r.c: Moved ...
1708 * sunrpc/getrpcent_r.c: ... here.
1709 * inet/Makefile (routines): Move those to ...
1710 * sunrpc/Makefile (routines): ... here.
1711 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1712 the $(subdirs) list.
1713 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1714 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1715 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1716 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1717
ac9e0e5e
RM
1718 * elf/Makefile (routines): Include $(all-dl-routines), not just
1719 $(dl-routines).
1720 (rtld-routines): Likewise. Use = rather than :=.
1721 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1722 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1723 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1724 * sysdeps/arm/Makefile: Likewise.
1725 * sysdeps/i386/Makefile: Likewise.
1726 * sysdeps/x86_64/Makefile: Likewise.
1727 * sysdeps/hppa/Makefile [$(subdir) = elf]
1728 (sysdep_routines, sysdep-rtld-routines): Don't add
1729 $(sysdep-dl-routines) to these.
1730 * sysdeps/ia64/Makefile: Likewise.
1731 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1732 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1733 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1734 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1735 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1736 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1738 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1739 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1740 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1741 these; sysdep-dl-routines alone is enough.
1742
639e42eb
JM
17432015-02-06 Joseph Myers <joseph@codesourcery.com>
1744
1c7a4a51
JM
1745 [BZ #17932]
1746 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1747 where multiplication results in zero and third argument is finite
1748 and nonzero.
1749 * math/auto-libm-test-in: Add more tests of fma.
1750 * math/auto-libm-test-out: Regenerated.
1751
61f006c1
JM
1752 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1753 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1754 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1755 (_FP_CMP_EQ): Likewise.
1756 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1757
639e42eb
JM
1758 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1759 extra argument CHECK_NAN. Redefine as wrapper around
1760 _FP_EXTEND_CNAN.
1761
3c0c543b
CD
17622015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1763
4e42b5b8
CD
1764 * version.h (RELEASE): Set to "stable".
1765 (VERSION): Set to "2.21"
1766 * include/features.h (__GLIBC_MINOR__): Set to 21.
1767
3c0c543b
CD
1768 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1769
5bd80bfe 17702015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1771 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1772
1773 [BZ #16618]
1774 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1775 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1776 size in bytes. Store needed elements in wpmax. Use needed size
1777 in bytes for extend_alloca.
1778
3f823f48
CD
17792015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1780
04cb913d
CD
1781 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1782 binutls 2.25, and texinfo 5.2.
1783 * INSTALL: Regenerate.
1784 * sysdeps/nios2/configure: Regenerate.
1785 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1786 * manual/contrib.texi: Update.
1787 * po/be.po: Update.
1788 * po/bg.po: Update.
1789 * po/ca.po: Update.
1790 * po/cs.po: Update.
1791 * po/da.po: Update.
1792 * po/de.po: Update.
1793 * po/el.po: Update.
1794 * po/eo.po: Update.
1795 * po/es.po: Update.
1796 * po/fi.po: Update.
1797 * po/fr.po: Update.
1798 * po/gl.po: Update.
1799 * po/hr.po: Update.
1800 * po/hu.po: Update.
1801 * po/ia.po: Update.
1802 * po/id.po: Update.
1803 * po/it.po: Update.
1804 * po/ja.po: Update.
1805 * po/ko.po: Update.
1806 * po/lt.po: Update.
1807 * po/nb.po: Update.
1808 * po/nl.po: Update.
1809 * po/pl.po: Update.
1810 * po/pt_BR.po: Update.
1811 * po/ru.po: Update.
1812 * po/rw.po: Update.
1813 * po/sk.po: Update.
1814 * po/sl.po: Update.
1815 * po/sv.po: Update.
1816 * po/tr.po: Update.
1817 * po/uk.po: Update.
1818 * po/vi.po: Update.
1819 * po/zh_CN.po: Update.
1820 * po/zh_TW.po: Update.
1821
3f823f48
CD
1822 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1823 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1824 * sysdeps/hppa/dl-irel.h: Remove #warning.
1825 * sysdeps/hppa/entry.h: Provide prototype for
1826 __canonicalize_funcptr_for_compare and cast argument.
1827 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1828 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1829 * sysdeps/hppa/sotruss-lib.c: New file.
1830 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1831 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1832 (atomic_compare_and_exchange_bool_acq): Likewise.
1833 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1834 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1835
1836 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1837 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1838 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1839
34c56048
CLT
18402015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1841
1842 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1843 called function in non-PIC case.
1844
d4abeca5
DM
18452015-01-31 David S. Miller <davem@davemloft.net>
1846
edac0a60
DM
1847 * sysdeps/sparc/sparc32/bits/atomic.h
1848 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1849 unlock not after it.
1850 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1851 volatile register usage warnings from the compiler.
1852
d4abeca5
DM
1853 * sysdeps/sparc/nptl/sem_init.c: Delete.
1854 * sysdeps/sparc/nptl/sem_post.c: Delete.
1855 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1856 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1857 * sysdeps/sparc/sparc32/sem_init.c: New file.
1858 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1859 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1860 padding explicitly initialized.
1861 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1862 padding for in-semaphore spinlock.
1863 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1864 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1865 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1866 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1867 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1868 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1869 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1870 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1871 version.
1872 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1873 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1874
5f3d0b78
L
18752015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 [BZ #17801]
1878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1879 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1880 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1881 New.
1882 (index_AVX_Fast_Unaligned_Load): Likewise.
1883 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1884 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1885 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1886 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1887 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1888 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1889 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1890 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1891 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1892
b658fdd8
AS
18932015-01-29 Andreas Schwab <schwab@suse.de>
1894
1895 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1896
3cb26316
SP
18972015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1898
1899 [BZ #17892]
1900 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1901
527de9e4
MS
19022015-01-28 Martin Sebor <msebor@redhat.com>
1903
1904 * math/README.libm-test: Clarify. Add "How to read the test output."
1905
06991eb8
CM
19062015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1907
1908 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1909 Define to 0.
1910
df341342
JM
19112015-01-28 Joseph Myers <joseph@codesourcery.com>
1912
1913 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1914 (__HAVE_64B_ATOMICS): Define to 0.
1915
08cee2a4
AZ
19162015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1917
d4d0ecb2
AZ
1918 [BZ #17885]
1919 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1920 value to set as new flag.
1921
08cee2a4
AZ
1922 [BZ #16576]
1923 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1924 and use _ARCH_PPCSQ instead.
1925 (__ieee754_sqrt): Likewise.
1926 (__ieee754_sqrtf): Likewise.
1927 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1928 _ARCH_PPCSQ is defined.
1929 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1930 fsqrt instruction.
1931 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1932 _ARCH_PPCSQ is defined.
1933 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1934 fsqrts instruction.
1935 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1936
5fe8e359
AK
19372015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1938
1939 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1940 bug (GCC BZ #64739).
1941
24bb7432
AS
19422015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1943
fa20da31
AS
1944 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1945 Mark _retval as used.
1946 (lll_futex_wake_unlock): Likewise.
1947 (lll_futex_timed_wait_requeue_pi): Likewise.
1948
45819cbc
AS
1949 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1950 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1951 register variables.
1952
403cc231
AS
1953 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1954 libm_hidden_def.
1955
24bb7432
AS
1956 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1957 (__bswap_64): Mark as __always_inline.
1958
9317ea65
B
19592015-01-25 Bram <bug_rh@spam.wizbit.be>
1960
1961 [BZ #15378]
1962 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1963 when none of the search directories exist.
1964
0e87343e
AZ
19652015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1966
bea58013
AZ
1967 [BZ #17869]
1968 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1969 power8 in .machine directive.
1970
0e87343e
AZ
1971 [BZ #17868]
1972 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1973 set dependency from opd value.
1974
ede0236c
L
19752015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1976
1977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1978 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1979 architecture.
ede0236c 1980
22971c35
L
19812015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 [BZ #17870]
1984 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1985 with uint64_t.
1986 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1987 (uint64_t) 1.
e0da28a1 1988 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1989 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1990 Replace 1UL with (uint64_t) 1.
1991 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1992 int with uint64_t.
1993
da5bf245
RM
19942015-01-23 Roland McGrath <roland@hack.frob.com>
1995
2ec2d703
RM
1996 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1997 (if_freenameindex): Likewise.
1998
da5bf245
RM
1999 * resource/getrlimit64.c: Add missing libc_hidden_def.
2000
d7423856
JM
20012015-01-22 Joseph Myers <joseph@codesourcery.com>
2002
2003 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2004 __label__.
2005 (_FP_FMA): Likewise.
2006 (_FP_TO_INT_ROUND): Likewise.
2007 (_FP_FROM_INT): Likewise.
2008
6b2ba95b
AZ
20092015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 [BZ #16418]
2012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2013 Make code racy and cancel safe.
2014
ccdb048d
CD
20152015-01-21 Carlos O'Donell <carlos@redhat.com>
2016
191220b3
CD
2017 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2018 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2019 attribution.
2020
0897c551
CD
2021 * pwd/tst-getpw.c: Rewrite.
2022
ccdb048d
CD
2023 [BZ #17702]
2024 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2025 (modules-names): Add moddummy1 and moddummy2.
2026 ($(objpfx)tst-rec-dlopen): Define.
2027 * dlfcn/moddummy1.c: New file.
2028 * dlfcn/moddummy2.c: New file.
2029 * dlfcn/tst-rec-dlopen.c: New file.
2030 * elf/dl-cache.c (_dl_load_cache_lookup):
2031 Return char*. Copy result with alloca/strcpy/strdup.
2032 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2033 returns char*. Free cached. If not saving realname
2034 free cached.
2035 * elf/dl-open.c (dl_open_worker): Do not assert that
2036 _r_debug->r_state is RT_CONSISTENT.
2037 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2038 returns char*.
2039
042e1521
CD
20402015-01-21 Torvald Riegel <triegel@redhat.com>
2041 Carlos O'Donell <carlos@redhat.com>
2042
2043 [BZ #12674]
2044 * nptl/sem_waitcommon.c: New file.
2045 * nptl/sem_wait.c: Include sem_waitcommon.c.
2046 (__sem_wait_cleanup, do_futex_wait): Remove.
2047 (__new_sem_wait): Adapt.
2048 (__new_sem_trywait): New function.
2049 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2050 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2051 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2052 (sem_timedwait): Adapt.
2053 * nptl/sem_post.c (__new_sem_post): Adapt.
2054 (futex_wake): New function.
2055 (__old_sem_post): Add release MO fence.
2056 * nptl/sem_open.c (sem_open): Adapt.
2057 * nptl/sem_init.c (__new_sem_init): Adapt.
2058 (futex_private_if_supported): New function.
2059 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2060 (__old_sem_getvalue): Add using previous code.
2061 * sysdeps/nptl/internaltypes.h: Adapt.
2062 * nptl/tst-sem13.c (do_test): Adapt.
2063 * nptl/tst-sem11.c (main): Adapt.
2064 * nptl/sem_trywait.c: Remove.
2065 * nptl/DESIGN-sem.txt: Remove.
2066 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2067 (gen-as-const-headers): Remove structsem.sym.
2068 * nptl/structsem.sym: Remove.
2069 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2070 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2071 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2072 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2073 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2074 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2075 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2076 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2077 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2078 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2079 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2080 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2081 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2082 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2083 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2084 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2085 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2086 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2087 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2088 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2089 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2090 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2091
fe0e85af
CD
20922015-01-20 Carlos O'Donell <carlos@redhat.com>
2093
a8db092e
CD
2094 * INSTALL: Regenerated.
2095
fe0e85af
CD
2096 * po/libc.pot: Regenerated.
2097
522e6ee3
CLT
20982015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2099 Sandra Loosemore <sandra@codesourcery.com>
2100 Andrew Jenner <andrew@codesourcery.com>
2101 Joseph Myers <joseph@codesourcery.com>
2102 Nathan Sidwell <nathan@codesourcery.com>
2103
2104 * NEWS: Mention new Nios II port.
2105 * sysdeps/nios2/Implies: New file.
2106 * sysdeps/nios2/Makefile: New file.
2107 * sysdeps/nios2/Subdirs: New file.
2108 * sysdeps/nios2/Versions: New file.
2109 * sysdeps/nios2/__longjmp.S: New file.
2110 * sysdeps/nios2/abort-instr.h: New file.
2111 * sysdeps/nios2/backtrace.c: New file.
2112 * sysdeps/nios2/bits/endian.h: New file.
2113 * sysdeps/nios2/bits/fenv.h: New file.
2114 * sysdeps/nios2/bits/link.h: New file.
2115 * sysdeps/nios2/bits/setjmp.h: New file.
2116 * sysdeps/nios2/bsd-_setjmp.S: New file.
2117 * sysdeps/nios2/bsd-setjmp.S: New file.
2118 * sysdeps/nios2/configure: New generated file.
2119 * sysdeps/nios2/configure.ac: New file.
2120 * sysdeps/nios2/crti.S: New file.
2121 * sysdeps/nios2/crtn.S: New file.
2122 * sysdeps/nios2/dl-init.c: New file.
2123 * sysdeps/nios2/dl-machine.h: New file.
2124 * sysdeps/nios2/dl-sysdep.h: New file.
2125 * sysdeps/nios2/dl-tls.h: New file.
2126 * sysdeps/nios2/dl-trampoline.S: New file.
2127 * sysdeps/nios2/gccframe.h: New file.
2128 * sysdeps/nios2/gmp-mparam.h: New file.
2129 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2130 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2131 * sysdeps/nios2/ldsodefs.h: New file.
2132 * sysdeps/nios2/libc-tls.c: New file.
2133 * sysdeps/nios2/libm-test-ulps: New file.
2134 * sysdeps/nios2/machine-gmon.h: New file.
2135 * sysdeps/nios2/math-tests.h: New file.
2136 * sysdeps/nios2/math_private.h: New file.
2137 * sysdeps/nios2/memusage.h: New file.
2138 * sysdeps/nios2/nptl/Makefile: New file.
2139 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2140 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2141 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2142 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2143 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2144 * sysdeps/nios2/nptl/tls.h: New file.
2145 * sysdeps/nios2/preconfigure: New file.
2146 * sysdeps/nios2/s_fma.c: New file.
2147 * sysdeps/nios2/s_fmaf.c: New file.
2148 * sysdeps/nios2/setjmp.S: New file.
2149 * sysdeps/nios2/sfp-machine.h: New file.
2150 * sysdeps/nios2/sotruss-lib.c: New file.
2151 * sysdeps/nios2/stackguard-macros.h: New file.
2152 * sysdeps/nios2/stackinfo.h: New file.
2153 * sysdeps/nios2/start.S: New file.
2154 * sysdeps/nios2/sysdep.h: New file.
2155 * sysdeps/nios2/tls-macros.h: New file.
2156 * sysdeps/nios2/tst-audit.h: New file.
2157 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2158 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2159 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2160 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2161 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2162 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2163 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2164 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2165 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2166 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2167 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2168 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2169 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2170 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2171 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2172 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2173 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2174 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2175 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2176 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2177 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2178 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2179 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2180 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2181 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2182 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2183 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2184 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2185 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2186 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2187 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2188 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2189 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2190 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2191 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2192 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2194 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2195 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2196 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2197 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2198 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2199 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2200 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2201
026eb207
SL
22022015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2203
2204 [BZ #17844]
2205 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2206 (getutent): Use weak_alias in non SHARED case
2207 and default_symbol_version in SHARED case.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2209 (getutent_r, pututline): Likewise.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2211 (getutid): Likewise.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2213 (getutid_r): Likewise.
2214 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2215 (getutline): Likewise.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2217 (getutline_r): Likewise.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2219 (updwtmp): Likewise.
2220
1d532483
SL
22212015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2222
2223 [BZ #17848]
2224 * sysdeps/s390/s390-32/memcmp.S
2225 (memcmp_g5): Rename to __memcmp_g5.
2226 * sysdeps/s390/s390-32/memcpy.S
2227 (memcpy_g5): Rename to __memcpy_g5.
2228 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2229 (memcpy_mvcle) Rename to __memcpy_mvcle.
2230 * sysdeps/s390/s390-32/memset.S
2231 (memset_g5): Rename to __memset_g5.
2232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2233 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2234 and use prefixed functions.
2235 * sysdeps/s390/s390-32/multiarch/memcmp.S
2236 (memcmp_z196): Rename to __memcmp_z196.
2237 (memcmp_z10): Rename to __memcmp_z10.
2238 (memcmp): Set alias to __memcmp_g5.
2239 (bcmp): Set alias to __memcmp_g5.
2240 * sysdeps/s390/s390-32/multiarch/memcpy.S
2241 (memcpy_z196): Rename to __memcpy_z196.
2242 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2243 (memcpy_z10): Rename to __memcpy_z10.
2244 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2245 (memcpy): Set alias to __memcpy_g5.
2246 * sysdeps/s390/s390-32/multiarch/memset.S
2247 (memset_z196): Rename to __memset_z196.
2248 Jump to __memset_mvcle instead of memset_mvcle.
2249 (memset_z10): Rename to __memset_z10.
2250 Jump to __memset_mvcle instead of memset_mvcle.
2251 (memset_mvcle) Rename to __memset_mvcle.
2252 (memset): Set alias to __memset_g5.
2253 * sysdeps/s390/s390-64/memcmp.S
2254 (memcmp_z900): Rename to __memcmp_z900.
2255 * sysdeps/s390/s390-64/memcpy.S
2256 (memcpy_z900): Rename to __memcpy_z900.
2257 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2258 (memcpy_mvcle) Rename to __memcpy_mvcle.
2259 * sysdeps/s390/s390-64/memset.S
2260 (memset_z900): Rename to __memset_z900.
2261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2262 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2263 and use prefixed functions.
2264 * sysdeps/s390/s390-64/multiarch/memcmp.S
2265 (memcmp_z196): Rename to __memcmp_z196.
2266 (memcmp_z10): Rename to __memcmp_z10.
2267 (memcmp): Set alias to __memcmp_z900.
2268 (bcmp): Set alias to __memcmp_z900.
2269 * sysdeps/s390/s390-64/multiarch/memcpy.S
2270 (memcpy_z196): Rename to __memcpy_z196.
2271 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2272 (memcpy_z10): Rename to __memcpy_z10.
2273 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2274 (memcpy): Set alias to __memcpy_z900.
2275 * sysdeps/s390/s390-64/multiarch/memset.S
2276 (memset_z196): Rename to __memset_z196.
2277 Jump to __memset_mvcle instead of memset_mvcle.
2278 (memset_z10): Rename to __memset_z10.
2279 Jump to __memset_mvcle instead of memset_mvcle.
2280 (memset_mvcle) Rename to __memset_mvcle.
2281 (memset): Set alias to __memset_z900.
2282
53fbd169
JM
22832015-01-14 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #17748]
2286 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2287 __fesetenv instead of fesetenv.
2288
d639a363
SP
22892015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2290
2291 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2292 macro.
2293
d3b00f46
AZ
22942015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
ce6615c9
AZ
2296 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2297 regression on LE.
2298
d3b00f46
AZ
2299 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2300 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2302 strncmp-power8 object.
2303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2304 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2305 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2306 * NEWS: Update.
2307
72607db0
RS
23082015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2309 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2310
2311 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2312 trailing byte check.
2313
54dc5461
DM
23142015-01-13 David S. Miller <davem@davemloft.net>
2315
2316 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2317
1c6e6f23
RM
23182015-01-13 Roland McGrath <roland@hack.frob.com>
2319
2320 * login/logout.c (logout): Use memset rather than bzero.
2321 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2322 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2323 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2324 (_gethtbyaddr): Likewise.
2325 * locale/programs/simple-hash.c (bcopy): Macro removed.
2326
96d6fd6c
AZ
23272015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328
8bedcb5f
AZ
2329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2330 Add strcmp-power8 object.
2331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2332 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2333 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2334 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2335 __strcmp_power8 implementation.
2336 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2337 * NEWS: Update.
2338
f06a4faf
AZ
2339 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2340 Add strncpy-power8 and stpncpy-power8 objects.
2341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2342 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2343 implementations.
2344 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2345 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2346 __stpncpy_power8 implementation.
2347 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2348 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2349 __strncpy_power8 implementation.
2350 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2351 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2352 * NEWS: Update.
2353
9f2f36e5
AZ
2354 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2355 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2356 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2357
96d6fd6c 2358 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2359 strncat-power8 object.
2360 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2361 __strcat_power8 implementation.
2362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2363 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2364 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2365 optimized strcat for power8.
2366
2367 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2368 strcpy-power8 and stpcpy-power8 objects.
2369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2370 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2371 implementations.
2372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2373 multiarch stpcpy implementation for POWER8.
2374 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2375 multiarch strcpy implementation for POWER8.
2376 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2377 __strcpy_power8 function.
2378 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2379 stpcpy for POWER8.
2380 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2381 strcpy for POWER8.
2382 * NEWS: Update.
2383
0f9e5854
LH
23842015-01-13 Leonhard Holz <leonhard.holz@web.de>
2385
2386 [BZ #16009]
2387 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2388 weights and rules. Use do_xfrm_cached if data fits in cache,
2389 do_xfrm otherwise. Moved former main loop to...
2390 * (do_xfrm_cached): New function.
2391 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2392 find_idx, find_position and stack_push.
2393 * (find_idx): New function.
2394 * (find_position): Likewise.
2395 * localedata/sort-test.sh: Added test run for do_xfrm.
2396 * localedata/xfrm-test.c (main): Added command line option
2397 -nocache to run the test with strings that are too large for
2398 the STRXFRM cache.
2399
c60ec0e0
TR
24002015-01-13 Torvald Riegel <triegel@redhat.com>
2401
2402 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2403 variable to lll_futex_wake call, not the value itself.
2404
34e93d6c
JM
24052015-01-12 Joseph Myers <joseph@codesourcery.com>
2406
5a9e4c09
JM
2407 [BZ #17803]
2408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2409 twom64. Adjust value to 0x1p-64L.
2410 (__scalblnl): Only return standard underflowing result for K <=
2411 -64 not K <= -63; adjust exponent for underflowing result by 64
2412 not 63.
2413 * math/libm-test.inc (scalbn_test_data): Add more tests.
2414 (scalbln_test_data): Likewise.
2415
34e93d6c
JM
2416 [BZ #17834]
2417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2418 0x1p63L.
2419 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2420 not HX.
2421 * math/libm-test.inc (scalbn_test_data): Add more tests.
2422 (scalbln_test_data): Likewise.
2423
ca677d3c
AZ
24242015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2425 Stefani Seibold <stefani@seibold.net>
2426
2427 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2428 (sysdep_routines): Add dl-vdso here, ...
2429 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2430 (sysdep_routines): ... not here.
2431 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2432 fallback when vDSO is not presented.
2433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2434 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2435 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2436 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2437 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2439 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2441 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2443 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2444 fallback configurable symbol when vDSO is not available.
2445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2446 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2447 be able to redefine fallback symbol when vDSO is not available.
2448 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2449 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2450
49a9f6ab 24512015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2452
56cf2763
AZ
2453 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2454 (TLS_INIT_TP): Add tm_capable initialization.
2455 (TLS_DEFINE_INIT_TP): Likewise.
2456 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2457 TCB.
2458 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2459 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2460 calculation.
2461 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2462 transactoion is lock elision is built and TCB tm_capable is set.
2463 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2465 (INTERNAL_SYSCALL_NCS): Likewise.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2467 (INTERNAL_SYSCALL_NCS): Likewise.
2468 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2469
4b45943a
AZ
2470 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2471 for powerpc.
2472 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2473 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2474 and remove it for 32 bits case.
2475 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2477 initialization.
2478 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2479 Disable lock elision with rdlocks if elision is not available.
2480
8d2c0a59
AZ
2481 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2482 (sysdep_routines): Add lock elision objects.
2483 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2484 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2485 [pthread_mutex_t] (__elision): Add field.
2486 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2487 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2488 elision definitions for powerpc.
2489 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2490 implementation of lock elision for powerpc.
2491 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2492 implementation of timed lock elision for powerpc.
2493 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2494 implementation of trylock with lock elision for powerpc.
2495 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2496 implementaion of unlock for lock elision for powerpc.
2497 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2498 automatic enable lock elision for mutexes.
2499 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2500 transaction execution definitions for powerpc.
2501 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2502 definitions.
2503 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2504 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2507 * NEWS: Update.
2508
bc0ed9f7
RM
25092015-01-09 Roland McGrath <roland@hack.frob.com>
2510
2511 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2512 for #include of <shm-directory.h>.
2513
585d9c18
CLT
25142015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2515
2516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2517 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2518
aee6626c
MF
25192015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2520
2521 [BZ #17791]
2522 * NEWS: Mention bug fix.
2523 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2524 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2525 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2526
9e560f48
TR
25272015-01-09 Torvald Riegel <triegel@redhat.com>
2528
2529 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2530
e1cfbd0c
TR
25312015-01-09 Torvald Riegel <triegel@redhat.com>
2532
2533 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2534
cf71e44f
DH
25352015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2536
2537 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2538 pointer and cast to uintptr_t.
2539
b360ee62
DH
25402015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2541
2542 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2543 removed.
2544 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2545
caff764e
DH
25462015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2547
2548 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2549 of 0.
2550
59ff172f
RM
25512015-01-08 Roland McGrath <roland@hack.frob.com>
2552
c97d27f1
RM
2553 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2554 <nptl/pthreadP.h> instead.
2555 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2556
08734ccd
RM
2557 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2558 already defined.
2559 [__SIGRTMIN] (init): Function removed.
2560 [__SIGRTMIN] (initialized): Variable removed.
2561 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2562 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2563 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2564 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2565 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2566 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2567 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2568 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2569 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2570 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2571 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2572 * sysdeps/nptl/allocrtsig.c: New file.
2573 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2574 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2575 * sysdeps/generic/testrtsig.h: File removed.
2576
7b052e33
RM
2577 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2578 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2579
cc40d25e
RM
2580 * nptl/nptl-init.c (pthread_functions): Conditionalize
2581 .ptr__nptl_setxid initialization on [SIGSETXID].
2582
9287adf0
RM
2583 * sysdeps/nptl/sys/procfs.h: New file.
2584 * nptl_db/Makefile (headers): Add it.
2585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2586
59ff172f
RM
2587 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2588 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2589 * nptl/pthread_attr_setaffinity.c: Include it.
2590 * nptl/pthread_setattr_default_np.c: Likewise.
2591 * nptl/check-cpuset.h: New file.
2592
b9205857
RH
25932015-01-08 Richard Henderson <rth@redhat.com>
2594
2595 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2596 (CFLAGS-tst-execstack-prog.c): Likewise.
2597 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2598
1a0a8d15
CLT
25992015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2600 Sandra Loosemore <sandra@codesourcery.com>
2601 Andrew Jenner <andrew@codesourcery.com>
2602 Joseph Myers <joseph@codesourcery.com>
2603 Nathan Sidwell <nathan@codesourcery.com>
2604
2605 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2606 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2607 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2608 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2609 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2610 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2611 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2612 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2613 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2614 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2615 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2616 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2617 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2618 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2619 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2620 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2621 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2622
dd6e8af6
AZ
26232015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624
2625 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2626 timespec struct member in syscall macro.
2627 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2628 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2629 first timeval struct member in syscall macro.
2630 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2631
8116321f
JM
26322015-01-07 Joseph Myers <joseph@codesourcery.com>
2633
2634 [BZ #17748]
2635 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2636 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2637 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2638 __feupdateenv and define as weak alias of __feupdateenv. Use
2639 libm_hidden_weak.
2640 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2641 libm_hidden_def.
2642 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2643 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2644 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2645 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2646 libm_hidden_def.
2647 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2648 __feupdateenv and define as weak alias of __feupdateenv. Use
2649 libm_hidden_weak.
2650 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2651 libm_hidden_def.
2652 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2653 __feupdateenv and define as weak alias of __feupdateenv. Use
2654 libm_hidden_weak.
2655 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2656 libm_hidden_def.
2657 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2658 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2659 (__feupdateenv): Likewise.
2660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2661 __feupdateenv and define as weak alias of __feupdateenv. Use
2662 libm_hidden_weak.
2663 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2664 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2665 libm_hidden_def.
2666 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2667 function.
2668 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2669 libm_hidden_def.
2670 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2671 __feupdateenv instead of feupdateenv.
2672 (default_libc_feupdateenv_test): Likewise.
2673 (libc_feresetround_ctx): Likewise.
2674
882dfe18
AZ
26752015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676
2677 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2678 prototype.
2679
39a12f8d
CM
26802015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2681
2682 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2683 COLL_SYM in a couple of places to avoid uninitialized variable
2684 wanings on tilegx gcc 4.8.2.
2685
dc400d7b
RE
26862015-01-07 Richard Earnshaw <rearnsha@arm.com>
2687
2688 * sysdeps/aarch64/strcpy.S: New file.
2689 * sysdeps/aarch64/stpcpy.S: New file.
2690 * NEWS: Updated.
2691
ec582ca0
RE
26922015-01-07 Richard Earnshaw <rearnsha@arm.com>
2693
2694 * sysdeps/aarch64/strrchr.S: New file.
2695 * NEWS: Updated.
2696
d5b1c5ed
EB
26972015-01-07 Eric Biggers <ebiggers3@gmail.com>
2698
2699 [BZ #17658]
2700 * stdlib/setenv.c: Fix memory leak when setting large,
2701 duplicate string.
2702
fb87ee96
VN
27032015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2704
60f046a8 2705 [BZ #17273]
fb87ee96
VN
2706 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2707 and tabs from buffer before parsing fstab entry.
2708 * misc/tst-mntent.c (main): Add test for mount entry with
2709 trailing spaces and tabs.
2710
cd42798a
JM
27112015-01-06 Joseph Myers <joseph@codesourcery.com>
2712
01238691
JM
2713 [BZ #17748]
2714 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2715 * math/fesetround.c (fesetround): Rename to __fesetround and
2716 define as weak alias of __fesetround. Use libm_hidden_weak.
2717 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2718 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2719 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2720 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2721 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2722 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2723 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2724 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2725 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2726 __fesetround_inline.
2727 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2728 __fesetround_inline instead of __fesetround.
2729 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2730 __fesetround and define as weak alias of __fesetround. Use
2731 libm_hidden_weak. Call __fesetround_inline instead of
2732 __fesetround.
2733 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2734 __fesetround and define as weak alias of __fesetround. Use
2735 libm_hidden_weak.
2736 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2737 Likewise.
2738 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2739 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2740 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2741 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2742 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2743 __fesetround and define as weak alias of __fesetround. Use
2744 libm_hidden_weak.
2745 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2746 __fesetround instead of fesetround.
2747 (default_libc_feholdexcept_setround): Likewise.
2748 (libc_feholdsetround_ctx): Likewise.
2749 (libc_feholdsetround_noex_ctx): Likewise.
2750
cd42798a
JM
2751 [BZ #17748]
2752 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2753 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2754 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2755 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2756 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2757 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2758 define as weak alias of __fesetenv. Use libm_hidden_weak.
2759 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2760 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2761 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2762 define as weak alias of __fesetenv. Use libm_hidden_weak.
2763 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2764 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2765 define as weak alias of __fesetenv. Use libm_hidden_weak.
2766 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2767 libm_hidden_def.
2768 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2769 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2770 Likewise.
2771 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2772 define as weak alias of __fesetenv. Use libm_hidden_weak.
2773 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2774 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2775 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2776 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2777 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2778 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2779 __fesetenv instead of fesetenv.
2780 (libc_feresetround_noex_ctx): Likewise.
2781 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2782 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2783 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2784 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2785 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2786 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2787 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2788 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2789 (__feupdateenv): Likewise.
2790 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2791 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2792 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2793 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2794
38949026
AJ
27952015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2796
1cf98e27 2797 [BZ #17806]
38949026
AJ
2798 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2799 addresses have been freed.
2800
5fe55e9c
AJ
28012015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2802
2803 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2804 and nservall.
2805
dc8ab018
OB
28062015-01-06 Ondřej Bílka <neleai@seznam.cz>
2807
2808 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2809 Clean up check_pf allocation pattern. addresses
2810
14bb4e57
AZ
28112015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2812
2813 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2814 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2815 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2816 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2817 * nptl/pthread_join.c (pthread_join): Likewise.
2818 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2819 * sysdeps/posix/waitid.c (__waitid): Likewise.
2820 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2821 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2822 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2823 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2824 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2825 Likewise.
2826 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2827 (__libc_pread64): Likewise.
2828 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2829 (__libc_pwrite): Likewise.
2830 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2831 (__libc_pwrite64): Likewsie.
2832 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2833 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2834 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2835 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2836 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2837 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2838 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2840 Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2842 (__libc_pread64): Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2844 Likewise.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2846 (__libc_pwrite64): Likewise.
2847 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2848 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2849 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2850 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2851 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2852 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2853 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2854 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2855 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2856 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2857 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2858 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2859 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2860 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2861 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2863 Likewise.
2864
10a5e112
AS
28652015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2866
2867 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2868 (CFLAGS-test-double.c): Likewise.
2869 (CFLAGS-test-ldouble.c): Likewise.
2870 (CPPFLAGS-test-ifloat.c): Likewise.
2871 (CPPFLAGS-test-idouble.c): Likewise.
2872 (CPPFLAGS-test-ildoubl.c): Likewise.
2873 (CFLAGS-test-test-fenv.c): Remove variable.
2874 (CFLAGS-test-misc.c): Likewise.
2875
57ada0e7
L
28762015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 [BZ #17797]
2879 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2880 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2881 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2882 CLOCKS_PER_SEC == 1000000.
2883 * time/clocktest.c (main): Replace %ld with %jd and cast to
2884 intmax_t.
2885
46abb64d
RM
28862015-01-05 Roland McGrath <roland@hack.frob.com>
2887
2888 * sysdeps/generic/unwind-resume.h: New file.
2889 * sysdeps/gnu/unwind-resume.c: Include it.
2890 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2891 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2892 argument list.
2893 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2894 global rather than static.
2895 (_Unwind_Resume): Update user.
2896 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2897 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2898 rather than static. Add __attribute__ ((cold)).
2899 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2900 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2901 * sysdeps/arm/arm-unwind-resume.S: New file.
2902 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2903 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2904 * sysdeps/arm/Makefile [$(subdir) = csu]
2905 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2907 Add rt-arm-unwind-resume.
2908 [$(subdir) = nptl]
2909 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2910 Add pt-arm-unwind-resume.
2911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2912 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2913
ef9faf13
JM
29142015-01-05 Joseph Myers <joseph@codesourcery.com>
2915
2916 [BZ #17748]
2917 * include/fenv.h (__feholdexcept): Declare. Use
2918 libm_hidden_proto.
2919 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2920 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2921 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2922 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2923 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2924 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2925 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2926 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2927 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2928 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2929 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2930 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2931 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2932 (feholdexcept): Likewise.
2933 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2934 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2935 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2936 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2937 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2938 __feholdexcept instead of feholdexcept.
2939 (default_libc_feholdexcept_setround): Likewise.
2940
295a453e
SE
29412015-01-05 Steve Ellcey <sellcey@imgtec.com>
2942
2943 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2944 to avoid using stl/str to align destination.
2945
882c4b9f
SE
29462015-01-05 Steve Ellcey <sellcey@imgtec.com>
2947
2948 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2949
ac4c11f5
JM
29502015-01-05 Joseph Myers <joseph@codesourcery.com>
2951
2952 [BZ #17796]
2953 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2954 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2955 Define as weak alias not strong alias.
2956
03403e30
SE
29572015-01-05 Steve Ellcey <sellcey@imgtec.com>
2958
2959 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2960 bltzal with addiupc.
2961 (RTLD_START): Ditto.
2962
1dca195e
CM
29632015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2964
00b8b9ba
SP
2965 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2966 for __vdso_* functions in declarations.
2967 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2968 definitions.
2969 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2970 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2971
1dca195e
CM
2972 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2973 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2974 function with cast from llround().
2975 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2976 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2977 Define.
2978
a287953a
JM
29792015-01-05 Joseph Myers <joseph@codesourcery.com>
2980
ab70da77
JM
2981 [BZ #17793]
2982 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2983 Define as weak alias not strong alias.
2984
b8986484
JM
2985 [BZ #17635]
2986 * ctype/ctype-c99.c: New file. isblank implementation moved from
2987 ...
2988 * ctype/ctype-extn.c: ... here.
2989 (__isblank_l): Move to ...
2990 * ctype/ctype-c99_l.c: ... here. New file.
2991 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2992 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2993 Remove variable.
2994 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2995 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2996 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2997 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2998 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2999
a287953a
JM
3000 [BZ #17777]
3001 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3002 (posix_fadvise64): Define as weak alias not strong alias.
3003 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3004 (posix_fallocate64): Likewise.
3005 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3006 Remove variable.
3007 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3008 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3009 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3010 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3011 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3012
b1efe3bb
MF
30132015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3014
3015 [BZ #16191]
3016 * NEWS: Mention bug fix.
3017 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3018 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3019 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3020 (HOST_STACK_END_ADDR): Likewise.
3021
9706dc5f
JM
30222015-01-02 Joseph Myers <joseph@codesourcery.com>
3023
b93c2205
JM
3024 [BZ #17748]
3025 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3026 * math/fegetround.c (fegetround): Rename to __fegetround and
3027 define as weak alias of __fegetround. Use libm_hidden_weak.
3028 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3029 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3030 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3031 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3032 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3033 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3034 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3035 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3036 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3037 Undefine after rather than before function definition; use
3038 parentheses around function name in definition.
3039 (__fegetround): Also undefine macro after function definition.
3040 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3041 __fegetround and define as weak alias of __fegetround. Use
3042 libm_hidden_weak. Do not undefine as macro.
3043 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3044 Likewise.
3045 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3046 __fegetround and define as weak alias of __fegetround. Use
3047 libm_hidden_weak.
3048 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3049 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3050 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3051 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3052 __fegetround and define as weak alias of __fegetround. Use
3053 libm_hidden_weak.
3054 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3055 __fegetround instead of fegetround.
3056
253a59cc
JM
3057 [BZ #17782]
3058 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3059 Condition macro definition on [__USE_MISC].
3060
27dae011
JM
3061 [BZ #17781]
3062 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3063 (struct sigaction): Change type of sa_flags field to int.
3064
172019c0
JM
3065 [BZ #17780]
3066 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3067 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3068 __glibc_reserved0.
3069
522ad1d6
JM
3070 * nptl/version.c (banner): Use single year in copyright notice.
3071
9706dc5f
JM
3072 * NEWS: Update copyright dates.
3073 * catgets/gencat.c (print_version): Likewise.
3074 * csu/version.c (banner): Likewise.
3075 * debug/catchsegv.sh: Likewise.
3076 * debug/pcprofiledump.c (print_version): Likewise.
3077 * debug/xtrace.sh (do_version): Likewise.
3078 * elf/ldconfig.c (print_version): Likewise.
3079 * elf/ldd.bash.in: Likewise.
3080 * elf/pldd.c (print_version): Likewise.
3081 * elf/sotruss.sh: Likewise.
3082 * elf/sprof.c (print_version): Likewise.
3083 * iconv/iconv_prog.c (print_version): Likewise.
3084 * iconv/iconvconfig.c (print_version): Likewise.
3085 * locale/programs/locale.c (print_version): Likewise.
3086 * locale/programs/localedef.c (print_version): Likewise.
3087 * login/programs/pt_chown.c (print_version): Likewise.
3088 * malloc/memusage.sh (do_version): Likewise.
3089 * malloc/memusagestat.c (print_version): Likewise.
3090 * malloc/mtrace.pl: Likewise.
3091 * manual/libc.texinfo: Likewise.
3092 * nptl/version.c (banner): Likewise.
3093 * nscd/nscd.c (print_version): Likewise.
3094 * nss/getent.c (print_version): Likewise.
3095 * nss/makedb.c (print_version): Likewise.
3096 * posix/getconf.c (main): Likewise.
3097 * scripts/test-installation.pl: Likewise.
3098 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3099
b8607aac
WN
31002015-01-02 Will Newton <will.newton@linaro.org>
3101
3102 * sysdeps/arm/armv7/configure: Removed.
3103 * sysdeps/arm/armv7/configure.ac: Likewise.
3104
b168057a
JM
31052015-01-02 Joseph Myers <joseph@codesourcery.com>
3106
3107 * All files with FSF copyright notices: Update copyright dates
3108 using scripts/update-copyrights.
3109 * intl/plural.c: Regenerated.
3110 * locale/programs/charmap-kw.h: Likewise.
3111 * locale/programs/locfile-kw.h: Likewise.
3112
b217c15f
SP
31132015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3114
3115 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3116
73a268c7
JM
31172014-12-31 Joseph Myers <joseph@codesourcery.com>
3118
3119 [BZ #17748]
3120 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3121 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3122 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3123 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3124 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3125 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3126 define as weak alias of __fegetenv. Use libm_hidden_weak.
3127 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3128 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3129 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3130 define as weak alias of __fegetenv. Use libm_hidden_weak.
3131 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3132 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3133 define as weak alias of __fegetenv. Use libm_hidden_weak.
3134 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3135 libm_hidden_def.
3136 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3138 Likewise.
3139 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3140 define as weak alias of __fegetenv. Use libm_hidden_weak.
3141 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3142 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3143 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3144 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3145 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3146 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3147 __fegetenv instead of fegetenv.
3148 (libc_feholdsetround_noex_ctx): Likewise.
3149
0bd95672
MF
31502014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3151
3152 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3153 (Elf_MIPS_ABIFlags_v0): New structure.
3154 (EF_MIPS_FP64): Define.
3155 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3156 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3157 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3158 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3159 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3160 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3161 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3162 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3163 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3164 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3165 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3166 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3167 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3168 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3169 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3170 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3171 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3172 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3173 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3174 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3175 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3176 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3177 field.
3178 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3179 EF_MIPS_FP64.
3180 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3181 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3182 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3183 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3184 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3185 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3186 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3187 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3188 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3189 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3190 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3191 record the current FP ABI extension.
3192 (mips-mode-switch): Define to show if kernel headers support mode
3193 switching.
3194 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3195 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3196 supported SYSV ABI version to 3.
3197 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3198 feature.
3199
f59ad976
RS
32002014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3201 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3202
3203 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3204 path.
3205 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3206
4a3d3999
JM
32072014-12-31 Joseph Myers <joseph@codesourcery.com>
3208
3209 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3210 __fegetround and redefine to call __fegetround. Remove condition
3211 on [!__NO_MATH_INLINES].
3212 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3213 function.
3214 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3215 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3216 Remove macro.
3217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3218 instead of <fenv_libc.h>.
3219 (__llrintl): Call fegetround instead of __fegetround.
3220 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3221 instead of <fenv_libc.h>.
3222 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3223 (__lrintl): Call fegetround instead of __fegetround.
3224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3225 instead of <fenv_libc.h>.
3226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3227 (__rintl): Call fegetround instead of __fegetround.
3228
195f3afc
SP
32292014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3230
3231 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3232 arrays.
3233
7062bd42
L
32342014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3235
3236 [BZ #17775]
3237 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3238 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3239 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3240
07256e18
AS
32412014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3242
3243 * sysdeps/i386/tls-macros.h: Include <features.h>.
3244 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3245 (TLS_IE): Likewise.
3246 (TLS_LD): Likewise.
3247 (TLS_GD): Likewise.
3248 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3249 define for GCC >= 5.0.
3250
1ff950ad
CM
32512014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3252
3253 * math/test-fenv.c (test_single_exception, set_single_exc,
3254 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3255 feexcp_mask_test, feenable_test, fe_single_test): Add
3256 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3257 case where they are not used.
3258 * math/libm-test.inc: Likewise.
3259 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3260 unused in the absence of FP rounding/exception support.
3261 * stdio-common/tst-printf-round.c: Likewise.
3262 * stdlib/tst-strtod-round.c: Likewise.
3263 * stdlib/tst-strtod-underflow.c: Likewise.
3264
0747f818
JM
32652014-12-30 Joseph Myers <joseph@codesourcery.com>
3266
3267 [BZ #17723]
3268 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3269 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3270 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3271 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3272 libm_hidden_weak.
3273 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3274 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3275 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3276 libm_hidden_def.
3277 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3278 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3279 libm_hidden_weak.
3280 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3281 Likewise.
3282 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3283 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3284 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3285 libm_hidden_weak.
3286 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3287 libm_hidden_def.
3288 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3289 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3290 (__feraiseexcept): Likewise.
3291 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3292 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3293 libm_hidden_weak.
3294 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3295 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3296 libm_hidden_def.
3297 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3298 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3299 Use libm_hidden_def.
3300 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3301 libm_hidden_def.
3302 (feraiseexcept): Define as weak not strong alias. Use
3303 libm_hidden_weak.
3304 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3305 New inline function. Factored out of ...
3306 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3307 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3308 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3309 feraiseexcept.
3310 * math/w_acos.c (__acos): Likewise.
3311 * math/w_asin.c (__asin): Likewise.
3312 * math/w_ilogb.c (__ilogb): Likewise.
3313 * math/w_j0.c (y0): Likewise.
3314 * math/w_j1.c (y1): Likewise.
3315 * math/w_jn.c (yn): Likewise.
3316 * math/w_log.c (__log): Likewise.
3317 * math/w_log10.c (__log10): Likewise.
3318 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3319 * sysdeps/aarch64/fpu/math_private.h
3320 (libc_feupdateenv_test_aarch64): Likewise.
3321 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3322 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3323 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3324 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3325 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3326 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3327 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3329 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3330 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3331
8d2b2763
L
33322014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 [BZ #17732]
3335 * io/test-utime.c (main): Replace %ld with %jd and cast to
3336 intmax_t.
41fad830 3337 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3338 * nptl/tst-mutex5.c: Include <stdint.h>.
3339 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3340 * posix/tst-regex.c (run_test): Likewise.
3341 (run_test_backwards): Likewise.
5d619de4
L
3342 * rt/tst-clock.c: Include <stdint.h>.
3343 (clock_test): Replace %ld with %jd and cast to intmax_t.
3344 * rt/tst-cpuclock1.c: Include <stdint.h>.
3345 (do_test): Replace %lu with %ju and cast to uintmax_t.
3346 * rt/tst-cpuclock2.c: Include <stdint.h>.
3347 (do_test): Replace %lu with %ju and cast to uintmax_t.
3348 * rt/tst-mqueue1.c: Include <stdint.h>.
3349 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3350 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3351 intmax_t.
3352 * rt/tst-mqueue4.c (do_test): Likewise.
3353 * rt/tst-timer4.c: Include <stdint.h>.
3354 (check_ts): Replace %ld with %jd and cast to intmax_t.
3355 (do_test): Likewise.
ad86fbc3
L
3356 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3357 and cast to intmax_t.
37f46900 3358 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3359 * time/clocktest.c (main): Likewise.
3360 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3361 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3362
8b4416d8
AS
33632014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3364 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3367 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3371 version if bit_Fast_Unaligned_Load is set.
3372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3379 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3380 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3381 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3382 to 4.
3383 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3384 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3385 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3386 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3387
e47b8d3b
CM
33882014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3389
6d6d7fde
CM
3390 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3391 instead of #if to avoid a Wundef warning.
3392 * stdlib/tst-limits.c (do_test): Likewise.
3393
cd2c37c9
CM
3394 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3395 parallel other exception macros.
3396 (fegetenv): Convert from macro to extern inline so that it applies
3397 retroactively to inline functions already seen by the compiler.
3398 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3399
e47b8d3b
CM
3400 * posix/Makefile (before-compile): Use $(objpfx) for
3401 posix-conf-vars-def.h.
3402
4a6aca7b
SP
34032014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3404
7910c2ae
SP
3405 * posix/getconf.c (main): Use size_t for type of I.
3406 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3407 NSPEC.
3408
50cbbaa9
SP
3409 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3410 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3411 * posix/posix-envs.def: Likewise.
3412 * sysdeps/posix/sysconf.c: Likewise.
3413 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3414 (specs): Remove array.
3415 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3416 array.
3417
3b566046
SP
3418 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3419 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3420 (__sysconf): Use CONF_IS_* macros.
3421
4a6aca7b
SP
3422 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3423 ($(objpfx)posix-conf-vars-def.h): New target.
3424 * posix/posix-conf-vars.list: New file.
3425 * posix/posix-conf-vars.h: New file.
3426 * posix/confstr.c: Include posix-conf-vars.h.
3427 (confstr): Use CONF_IS_* macros.
3428 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3429 CONF_IS_* macros.
3430 * scripts/gen-posix-conf-vars.awk: New file.
3431
7c1395a7
CM
34322014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3433
0025b4cc
CM
3434 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3435 fegetround): Add no-op macros to avoid linknamespace issues.
3436
d8aaf74b
CM
3437 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3438 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3439
5d24aa60
CM
3440 * sysdeps/unix/sysv/linux/tile/sysdep.h
3441 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3442 assembly-specific section to avoid a redefinition warning.
3443
7c1395a7
CM
3444 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3445 long before casting to pointer to avoid a cast warning.
3446
3c87c616
CM
34472014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3448
3449 * sysdeps/tile/tilegx/Implies: New file.
3450
f559d8cf
RE
34512014-12-23 Richard Earnshaw <rearnsha@arm.com>
3452
3453 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3454
7d81e8d6
FW
34552014-12-23 Florian Weimer <fweimer@redhat.com>
3456
3457 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3458
90aa3d09
JM
34592014-12-22 Joseph Myers <joseph@codesourcery.com>
3460
3461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3462 not define.
3463 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3464 <kernel-features.h>.
3465 (__utimes) [__NR_utimes]: Make code unconditional.
3466 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3467 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3468 (__ASSUME_UTIMES): Do not undefine.
3469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3470 (__ASSUME_UTIMES): Likewise.
3471 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3472 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3473 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3474 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3475
4c0c0e2a
SE
34762014-12-22 Steve Ellcey <sellcey@imgtec.com>
3477
3478 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3479
0dacd7a3
CM
34802014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3481
b638f96a
CM
3482 [BZ #17747]
3483 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3484 alias to weak alias for j0l, y0l.
3485 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3486 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3487
0dacd7a3
CM
3488 [BZ #17746]
3489 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3490 conversion.
3491
528479c4
SE
34922014-12-22 Steve Ellcey <sellcey@imgtec.com>
3493
3494 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3495 to zero if not already defined.
3496
f56f9124
JM
34972014-12-22 Joseph Myers <joseph@codesourcery.com>
3498
3499 [BZ #17724]
3500 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3501 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3502 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3503 (char *) casts added.
3504 * sysdeps/ieee754/k_standardf.c: New file.
3505 * sysdeps/ieee754/k_standardl.c: Likewise.
3506 * math/Makefile (libm-support): Remove k_standard.
3507 (libm-calls): Add k_standard.
3508
8622d556
WD
35092014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3510
3511 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3512 Optimize to avoid an unnecessary FPCR read.
3513
f3806bdb
WD
35142014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3515
3516 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3517 Optimize to reduce FPCR/FPSR accesses.
3518
9b47df58
WD
35192014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3520
3521 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3522 Call libc_fetestexcept_aarch64.
3523
97be3cac
WD
35242014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3525
3526 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3527 Call libc_fesetround_aarch64.
3528
935ab817
JM
35292014-12-22 Joseph Myers <joseph@codesourcery.com>
3530
3531 [BZ #17733]
3532 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3533 (__bind): Do not define as weak alias.
3534 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3535 define.
3536 (__getsockname): Do not define as weak alias.
3537
cc8623f1
WN
35382014-12-22 Will Newton <will.newton@linaro.org>
3539
3540 * manual/install.texi: Document that we require bison 2.7
3541 or above.
3542 * INSTALL: Regenerate.
3543 * configure.ac: Use AC_CHECK_PROG_VER instead of
3544 AC_PATH_PROG when checking for bison and check for
3545 version 2.7 or above.
3546 * configure: Regenerate.
3547
a19ca65a
CM
35482014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3549
92901170 3550 [BZ #17745]
e969965a
CM
3551 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3552 * sysdeps/tile/ffsll.c (ffsll): To here.
3553
a19ca65a
CM
3554 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3555
050f7298
L
35562014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3557
3558 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3559 if not defined.
3560 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3561 definition.
3562 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3563 hidden ___tls_get_addr.
3564 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3565 hidden __tls_get_addr.
3566 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3567 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3568 Likewise.
3569
6df5547e
AS
35702014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3571
3572 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3573 _dl_init call.
3574
7432d613
L
35752014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3576
3577 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3578 from "call _dl_init@PLT".
3579 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3580
98fe149e
AK
35812014-12-21 Anders Kaseorg <andersk@mit.edu>
3582
3583 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3584 guarantees.
3585
d12455f5
CM
35862014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3587
3588 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3589
95dee05f
CM
35902014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3591
92901170 3592 [BZ #17744]
95dee05f
CM
3593 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3594 strnlen.
3595
2ef4b74a
SE
35962014-12-19 Steve Ellcey <sellcey@imgtec.com>
3597
3598 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3599 of multu on MIPSr6.
3600 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3601 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3602 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3603 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3604 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3605
36062014-12-19 Steve Ellcey <sellcey@imgtec.com>
3607
3608 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3609 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3610 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3611 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3612 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3613 mips32r6/mips64r6.
3614 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3615
3eb38795
OB
36162014-12-19 Ondřej Bílka <neleai@seznam.cz>
3617
3618 * string/strncat.c (STRNCAT): Simplify implementation.
3619
6d4188dd
DM
36202014-12-19 David S. Miller <davem@davemloft.net>
3621
0d4ba8be
DM
3622 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3623 access the quad as both a long double and as a series of 4 words.
3624
6d4188dd
DM
3625 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3626 link_map->l_info array access.
3627
4ef91cdc
CM
36282014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3629
804c54f7
CM
3630 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3631
4ef91cdc
CM
3632 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3633 * math/atest-exp2.c (TIMEOUT): Likewise.
3634 * math/atest-sincos.c (TIMEOUT): Likewise.
3635
afd176d6
L
36362014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3637
3638 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3639 -Wno-error with -fno-builtin-lround.
3640
a4a43a90
TR
36412014-12-19 Torvald Riegel <triegel@redhat.com>
3642
3643 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3644 Contains futex constants and functions moved over from ...
3645 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3646 <lowlevellock-futex.h>.
3647 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3648 (lll_timedwait_tid): Add comments and parentheses around macro
3649 arguments.
3650
76f71081
TR
36512014-12-19 Torvald Riegel <triegel@redhat.com>
3652
3653 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3654 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3655 (__lll_private_flag): Remove.
3656 (lll_futex_wait): Likewise.
3657 (lll_futex_timed_wait): Likewise.
3658 (lll_futex_wake): Likewise.
3659 (lll_futex_requeue): Likewise.
3660 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3661 (__lll_timedwait_tid): Spell out argument names.
3662 (lll_timedwait_tid): Add comments and parentheses around macro
3663 arguments.
3664 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3665 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3666
6b814909
TR
36672014-12-19 Torvald Riegel <triegel@redhat.com>
3668
3669 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3670 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3672 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3673 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3674 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3675 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3676 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3677 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3679 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3680 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3681 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3682 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3683 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3684 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3685 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3686 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3687 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3688
9cd4d4ab
L
36892014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * sysdeps/x86_64/x32/Makefile: New file.
3692
c9c1a2d0
L
36932014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3696 1L with (mp_limb_t) 1.
3697
af102d95
RM
36982014-12-17 Roland McGrath <roland@hack.frob.com>
3699
dd690454
RM
3700 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3701 * nptl/libc_pthread_init.c: ... here.
3702 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3703 * nptl/register-atfork.c: ... here.
3704
74eb826c
RM
3705 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3706 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3707 Use assert_perror to check its return value.
3708 (__gai_create_helper_thread): Likewise.
3709
c9ce306b
RM
3710 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3711
af102d95
RM
3712 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3713
8ac5a76a
JM
37142014-12-17 Joseph Myers <joseph@codesourcery.com>
3715
ea41469b
JM
3716 [BZ #17725]
3717 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3718 __profil_counter.
3719 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3720 Likewise.
3721 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3722 Likewise.
3723 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3724 Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3726 (profil_counter): Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3728 (profil_counter): Likewise.
3729 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3734 (profil_counter): Likewise.
3735 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3736 Likewise.
3737 [!__profil_counter] (profil_counter): Define as weak alias of
3738 __profil_counter.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3740 (profil_counter): Rename to __profil_counter.
3741 [!__profil_counter] (profil_counter): Define as weak alias of
3742 __profil_counter.
3743 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3744 (profil_counter): Rename to __profil_counter.
3745 [!__profil_counter] (profil_counter): Define as weak alias of
3746 __profil_counter.
3747 * sysdeps/posix/profil.c: Update comment referring to
3748 profil_counter.
3749 (__profil): Use __profil_counter instead of profil_counter.
3750 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3751 __profil_counter. Use __profil_counter_ushort and
3752 __profil_counter_uint in definitions.
3753 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3754 instead of profil_counter_uint and profil_counter_ushort.
3755
8ac5a76a
JM
3756 [BZ #17722]
3757 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3758 define as weak alias of __inet_makeaddr.
3759 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3760 as weak alias of __inet_addr.
3761 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3762 as weak alias of __inet_pton. Use libc_hidden_weak.
3763 * include/arpa/inet.h (__inet_pton): Declare. Use
3764 libc_hidden_proto.
3765 (inet_makeaddr): Don't use libc_hidden_proto.
3766 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3767 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3768 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3769 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3770 Remove variable.
3771 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3772 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3773
66ce3cb1
SE
37742014-12-17 Steve Ellcey <sellcey@imgtec.com>
3775
3776 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3777
d22ce01b
SL
37782014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3779
3780 * stdio-common/bug-vfprintf-nargs.c (do_test):
3781 Cast value to intptr_t to avoid format warning
3782 for usage with PRIdPTR printing macro.
3783
eca2772b
SL
37842014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3785
3786 * libio/tst-widetext.c (do_test):
3787 Use format type %td instead of %Zd for ptrdiff_t
3788 in order to avoid format warning.
3789
bdf079da
AS
37902014-12-17 Andreas Schwab <schwab@suse.de>
3791
3792 * nscd/mem.c (gc): Add size_t cast to match printf format.
3793
3eb5d2fc
RM
37942014-12-16 Roland McGrath <roland@hack.frob.com>
3795
3796 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3797 (init): Apply PTR_MANGLE to pointers before storing them.
3798 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3799 before using them.
3800
d003ada2
JM
38012014-12-16 Joseph Myers <joseph@codesourcery.com>
3802
380292ba
JM
3803 [BZ #17719]
3804 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3805 define as weak alias of __memrchr.
3806 (__memrchr): Do not define as strong alias of memrchr.
3807 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3808 Remove variable.
3809 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3810 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3811 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3812
9a44d530
JM
3813 [BZ #17717]
3814 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3815 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3816 (if_indextoname): Rename to __if_indextoname and define as weak
3817 alias of __if_indextoname. Use libc_hidden_weak.
3818 (if_freenameindex): Rename to __if_freenameindex and define as
3819 weak alias of __if_freenameindex.
3820 (if_nameindex): Rename to __if_nameindex and define as weak alias
3821 of __if_nameindex.
3822 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3823 __if_nametoindex and define as weak alias of __if_nametoindex.
3824 Use libc_hidden_weak.
3825 (if_freenameindex): Rename to __if_freenameindex and define as
3826 weak alias of __if_freenameindex.
3827 (if_nameindex): Rename to __if_nameindex and define as weak alias
3828 of __if_nameindex.
3829 (if_indextoname): Rename to __if_indextoname and define as weak
3830 alias of __if_indextoname. Use libc_hidden_weak.
3831 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3832 __if_nametoindex and define as weak alias of __if_nametoindex.
3833 Use libc_hidden_weak.
3834 (if_freenameindex): Rename to __if_freenameindex and define as
3835 weak alias of __if_freenameindex. Use libc_hidden_weak.
3836 (if_nameindex_netlink): Use __if_freenameindex instead of
3837 if_freenameindex.
3838 (if_nameindex): Rename to __if_nameindex and define as weak alias
3839 of __if_nameindex. Use libc_hidden_weak.
3840 (if_indextoname): Rename to __if_indextoname and define as weak
3841 alias of __if_indextoname. Use libc_hidden_weak.
3842 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3843 libc_hidden_proto.
3844 [!_ISOMAC] (__if_freenameindex): Likewise.
3845 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3846 if_nametoindex.
3847 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3848 variable.
3849 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3850 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3851 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3852 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3853 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3854 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3855 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3856
d003ada2
JM
3857 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3858 Remove variable.
3859 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3860 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3861
a0d424ef
SP
38622014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3863
0cd85520
SP
3864 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3865 subscript above bounds'
3866
a0d424ef
SP
3867 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3868 bounds.
3869
0e426475
AS
38702014-12-16 Arjun Shankar <arjun.is@lostca.se>
3871
8b460906
AS
3872 * libio/tst-fopenloc.c: Use test-skeleton.c.
3873
fa13e15b
AS
3874 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3875 (entry): Rename to ITEM.
3876 (do_test, comp): Adjust.
3877
0e426475
AS
3878 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3879
4f646bce
TR
38802014-12-16 Torvald Riegel <triegel@redhat.com>
3881
3882 * string/tester.c: Include <libc-internal.h>.
3883 (test_memset): Ignore -Wmemset-transposed-args.
3884
a07c4427
TR
38852014-12-16 Torvald Riegel <triegel@redhat.com>
3886
3887 * misc/tst-mntent2.c (do_test): Fix warning.
3888
1469f466
TR
38892014-12-16 Torvald Riegel <triegel@redhat.com>
3890
3891 * elf/tst-unique4lib.cc(a): Mark as used.
3892
11e3417a
FW
38932014-12-16 Florian Weimer <fweimer@redhat.com>
3894
3895 [BZ #17630]
3896 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3897 names.
3898
ae61fc7b
AM
38992014-12-16 Allan McRae <allan@archlinux.org>
3900
3901 * stdio-common/Makefile (tests): Re-add bug26.
3902
363a9899
OB
39032014-12-15 Ondřej Bílka <neleai@seznam.cz>
3904
3905 [BZ #17657]
3906 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3907 static array.
3908
d52c62df
TR
39092014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3910
3911 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3912 (__lll_lock_wait): Likewise.
3913 (__lll_timedlock_wait): Likewise.
3914 (__lll_timedwait_tid): Likewise.
3915 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3916 (__lll_robust_timedlock_wait): Likewise.
3917 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3918 (lll_cond_trylock): Likewise.
3919 (__lll_lock): Likewise.
3920 (__lll_robust_lock): Likewise.
3921 (__lll_cond_lock): Likewise.
3922 (lll_robust_cond_lock): Likewise.
3923 (__lll_timedlock): Likewise.
3924 (__lll_robust_timedlock): Likewise.
3925 (__lll_unlock): Likewise.
3926 (__lll_robust_unlock): Likewise.
3927 (lll_wait_tid): Likewise.
3928 (lll_timedwait_tid): Likewise.
3929
045a6bcd
TR
39302014-12-15 Torvald Riegel <triegel@redhat.com>
3931
3932 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3933
7f786dc1
TR
39342014-12-15 Torvald Riegel <triegel@redhat.com>
3935
3936 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3937
e7e21cba
AZ
39382014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3939
3940 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3941 * stdio-common/tst-sprintf.c: Likewise.
3942
bc89c0fc
TR
39432014-12-15 Torvald Riegel <triegel@redhat.com>
3944
3945 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3946
a5357b7c
JL
39472014-12-15 Jeff Law <law@redhat.com>
3948
3949 [BZ #16617]
3950 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3951 on the heap. (CVE-2012-3406)
3952 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3953 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3954 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3955
3a12c70f
WN
39562014-12-15 Will Newton <will.newton@linaro.org>
3957
3958 * manual/install.texi: Bump required version of texinfo
3959 to 4.7 from 4.5.
3960 * INSTALL: Regenerated.
3961 * configure.ac: Check for makeinfo version 4.7 and above.
3962 * configure: Regenerated.
3963
e4f639e4
RM
39642014-12-12 Roland McGrath <roland@hack.frob.com>
3965
3966 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3967 PREFIX, string constant to insert between directory and name.
3968 * sysdeps/posix/shm_open.c: Update caller.
3969 * sysdeps/posix/shm_unlink.c: Likewise.
3970 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3971 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3972 (SEM_SHM_PREFIX): New macro.
3973 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3974 [$(have-thread-library) = no].
3975 * nptl/Makefile (libpthread-routines): Add shm-directory.
3976 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3977 * sysdeps/nptl/shm-directory.h: New file.
3978 * sysdeps/posix/shm-directory.c
3979 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3980 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3981 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3982 INTERNAL_SYSCALL.
3983 (__where_is_shmfs): Function removed.
3984 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3985 Variables removed.
3986 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3987 Use SHM_GET_NAME.
3988 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3989
3990 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3991 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3992 unconditional for use inside libpthread.
3993 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3994
439c43f6
RM
39952014-12-12 Roland McGrath <roland@hack.frob.com>
3996
c76d1ff5
RM
3997 * nptl/pthread_getaffinity.c: New file.
3998 * nptl/pthread_setaffinity.c: New file.
3999 * nptl/pthread_getname.c: New file.
4000 * nptl/pthread_setname.c: New file.
4001
439c43f6
RM
4002 * nptl/pthread_create.c (START_THREAD_DEFN)
4003 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4004
48e435cd
SL
40052014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4007
4008 * resolv/res_send.c (send_vc): Disable warning resplen may
4009 be used uninitialized.
4010
9d9c0019
SL
40112014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4012
4013 * nptl/tst-mutex6.c
4014 (ATTR_NULL): New define checks ATTR against NULL.
4015 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4016 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4017
9173840b
JL
40182014-12-11 James Lemke <jwlemke@codesourcery.com>
4019
4020 [BZ #17581]
4021 * malloc/hooks.c
4022 (mem2mem_check): Revert my previous change.
4023 (malloc_check_get_size): Revert my previous change.
4024 (mem2chunk_check): Revert my previous change.
4025
78e21c5d
RM
40262014-12-11 Roland McGrath <roland@hack.frob.com>
4027
4028 * sysdeps/posix/shm-directory.c: New file.
4029 * sysdeps/posix/shm-directory.h: New file.
4030 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4031 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4032 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4033 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4034 Transmute EPERM to EACCES.
4035 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4036 from ...
4037 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4038 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4039
f82c43af
KK
40402014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4041
4042 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4043 pointer and cast to uintptr_t.
4044 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4045 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4046 Add cast to avoid warning.
4047 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4048
fc00cf7b
JM
40492014-12-11 Joseph Myers <joseph@codesourcery.com>
4050
4051 * nptl/semaphore.h: Move to ...
4052 * sysdeps/pthread/semaphore.h: ... here.
4053 * Makefile (installed-headers): Change nptl/semaphore.h to
4054 sysdeps/pthread/semaphore.h.
4055
1c4053db
RM
40562014-12-11 Roland McGrath <roland@hack.frob.com>
4057
73b0c1a1
RM
4058 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4059 generated error format strings.
4060
1c4053db
RM
4061 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4062 -Wformat-extra-args warnings for scanf formats.
4063 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4064 test of zero-length format (duh).
4065 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4066 corner-case scanf format test.
4067 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4068 generated fprintf format string.
4069 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4070 corner-case sprintf format tests.
4071 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4072 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4073 -Wformat-extra-args warnings throughout.
4074 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4075 (CFLAGS-scanf4.c): Likewise.
4076 (CFLAGS-scanf7.c): Likewise.
4077 (CFLAGS-tst-sprintf.c): Likewise.
4078 (CFLAGS-tst-printf.c): Likewise.
4079 (CFLAGS-tst-printfsz.c): Likewise.
4080
47d51f4f
JM
40812014-12-11 Joseph Myers <joseph@codesourcery.com>
4082
a1edbf3c
JM
4083 * include/cpio.h: New file.
4084 * include/fmtmsg.h: Likewise.
4085
47d51f4f
JM
4086 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4087 corresponding format argument to size_t.
4088 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4089 arguments.
4090 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4091 corresponding format argument to size_t.
4092 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4093 arguments.
4094 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4095 corresponding format argument to size_t.
4096 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4097 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4098 (CFLAGS-tst-mbswcs2.c): Likewise.
4099 (CFLAGS-tst-mbswcs3.c): Likewise.
4100 (CFLAGS-tst-mbswcs4.c): Likewise.
4101 (CFLAGS-tst-mbswcs5.c): Likewise.
4102 (CFLAGS-tst-trans.c): Likewise
4103
e9813cfb
RM
41042014-12-11 Roland McGrath <roland@hack.frob.com>
4105
4106 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4107 rather than assuming they won't contain any '%'s.
4108
f627ca82
CM
41092014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4110
4111 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4112 inhibit_loop_to_libcall to avoid recursive calls.
4113 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4114 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4115
7f296942
AZ
41162014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4117
4118 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4119 prototype.
4120
d0276e18
SE
41212014-12-11 Steve Ellcey <sellcey@imgtec.com>
4122
4123 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4124 integer value instead of boolean.
4125
fc56e970
SE
41262014-12-11 Steve Ellcey <sellcey@imgtec.com>
4127
4128 * malloc/malloc.c: Fix powerof2 check.
4129
40e53917
SL
41302014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4131
4132 * locale/programs/locfile.h (maybe_swap_uint32):
4133 Remove inline and add unused attribute.
4134
1ea166df
SL
41352014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4136
9d9c0019 4137 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4138 Truncating assembler expression to a .long expression.
4139
acf869f4
AS
41402014-12-11 Andreas Schwab <schwab@suse.de>
4141
4142 * elf/rtld.c (struct map_args): Constify str member.
4143 (do_preload): Constify fname argument.
4144
9d969099
AZ
41452014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146
4147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4148 constants definition.
4149
da5bcaa4
AS
41502014-12-11 Andreas Schwab <schwab@suse.de>
4151
b0a3c164
AS
4152 [BZ #16657]
4153 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4154 FORCE_ELISION instead of DO_ELISION.
4155 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4156 Remove.
4157 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4158 Likewise.
4159
da5bcaa4
AS
4160 * iconvdata/gconv-modules: Remove duplicate entry.
4161
6d248857
WN
41622014-12-11 Will Newton <will.newton@linaro.org>
4163
4164 Merge gettext 0.19.3 into intl/.
4165
4166 This involves a number of cosmetic changes to comments
4167 and ANSI function definitions and prototypes throughout
4168 all the files. The gettext copyright header is used but
4169 with the date ranges taken from the glibc copy.
4170
4171 * NEWS: Add gettext merge to 2.21.
4172 * intl/bindtextdom.c: Switch to gettext copyright.
4173 Use ANSI definitions and prototypes.
4174 Use gl_* locking primitives rather than __libc_* ones.
4175 Use __builtin_expect rather than __glibc_likely/unlikely.
4176 * intl/dcgettext.c: Switch to gettext copyright.
4177 Use ANSI definitions and prototypes.
4178 * intl/dcigettext.c: Switch to gettext copyright.
4179 Use ANSI definitions and prototypes.
4180 (INTDIV0_RAISES_SIGFPE): New define.
4181 Use gl_* locking primitives rather than __libc_* ones.
4182 Include eval-plural.h instead of plural-eval.c.
4183 Use __builtin_expect rather than __glibc_likely/unlikely.
4184 * intl/dcngettext.c: Switch to gettext copyright.
4185 Use ANSI definitions and prototypes.
4186 * intl/dgettext.c: Likewise.
4187 * intl/dngettext.c: Likewise.
4188 * intl/plural-eval.c: Renamed to...
4189 * intl/eval-plural.h: ...this.
4190 * intl/explodename.c: Switch to gettext copyright.
4191 Use ANSI definitions and prototypes.
4192 (_nl_explode_name): Use strchr instead of __rawmemchr.
4193 * intl/finddomain.c: Switch to gettext copyright.
4194 Use ANSI definitions and prototypes.
4195 Use gl_* locking primitives rather than __libc_* ones.
4196 (_nl_find_domain): Use malloc rather than alloca for
4197 allocation of temporary locale name.
4198 * intl/gettext.c: Switch to gettext copyright.
4199 Use ANSI definitions and prototypes.
4200 * intl/gettextP.h: Switch to gettext copyright.
4201 Use ANSI definitions and prototypes.
4202 Use gl_* locking primitives rather than __libc_* ones.
4203 * intl/gmo.h: Switch to gettext copyright.
4204 (struct sysdep_string): Move struct segment_pair outside of
4205 struct definition.
4206 * intl/hash-string.c: Use ANSI definitions and prototypes.
4207 * intl/hash-string.h: Switch to gettext copyright.
4208 Use ANSI definitions and prototypes.
4209 * intl/l10nflist.c: Switch to gettext copyright.
4210 Use ANSI definitions and prototypes.
4211 (_nl_normalize_codeset): Avoid integer overflow.
4212 * intl/loadinfo.h: Switch to gettext copyright.
4213 Use ANSI definitions and prototypes.
4214 (LIBINTL_DLL_EXPORTED): New define.
4215 (PATH_SEPARATOR): New define.
4216 * intl/loadmsgcat.c: Switch to gettext copyright.
4217 * intl/localealias.c: Switch to gettext copyright.
4218 Use ANSI definitions and prototypes.
4219 (_nl_expand_alias): Use PATH_SEPARATOR.
4220 * intl/ngettext.c: Switch to gettext copyright.
4221 Use ANSI definitions and prototypes.
4222 * intl/plural-exp.c: Likewise.
4223 * intl/plural-exp.h: Switch to gettext copyright.
4224 Use ANSI definitions and prototypes.
4225 (struct expression): Move definition of enum operator outside
4226 of struct definition.
4227 * intl/plural.c: Regenerate.
4228 * intl/plural.y: Switch to gettext copyright.
4229 Use ANSI definitions and prototypes.
4230 Port to bison 3.0.
4231 * intl/textdomain.c: Switch to gettext copyright.
4232 Use ANSI definitions and prototypes.
4233 Use gl_* locking primitives rather than __libc_* ones.
4234
48c43298
SE
42352014-12-10 Steve Ellcey <sellcey@imgtec.com>
4236
4237 * debug/warning-nop.c: Add used atrribute.
4238
2b89bce9
JM
42392014-12-10 Joseph Myers <joseph@codesourcery.com>
4240
c153ac9f
JM
4241 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4242
2b89bce9
JM
4243 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4244 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4245 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4246
2cfbdb9a
JM
42472014-12-10 Joseph Myers <joseph@codesourcery.com>
4248 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249
4250 [BZ #17634]
4251 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4252 Undefine after defining function. Define as weak alias of
4253 __wcschr. Use libc_hidden_weak.
4254 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4255 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4256 (libc_hidden_def): Also define __GI___wcschr alias.
4257 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4258 __wcschr and define as weak alias of __wcschr.
4259 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4260 __wcschr.
4261 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4262 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4263 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4264 libc_hidden_weak. Do not use libc_hidden_def.
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4266 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4267 __GI___wcschr alias.
4268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4269 [IS_IN (libc)] (wcschr): Define as macro expanding to
4270 __redirect_wcschr.
4271 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4272 [IS_IN (libc)] (__wcschr_power6): Likewise.
4273 [IS_IN (libc)] (__wcschr_power7): Likewise.
4274 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4275 instead of wcschr.
4276 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4277 __libc_wcschr.
4278 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4279 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4280 __wcschr and define as weak alias of __wcschr. Use
4281 libc_hidden_builtin_def.
4282 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4283 as weak alias of __wcschr. Use libc_hidden_weak.
4284 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4285 wcschr.
4286 * time/era.c (_nl_init_era_entries): Likewise.
4287 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4288 variable.
4289 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4290 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4291
1b8bf351
JM
42922014-12-10 Joseph Myers <joseph@codesourcery.com>
4293
4294 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4295 format for long int variable.
4296
f5f46d51
AK
42972014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4298
4299 [BZ #10672]
07008f7d 4300 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4301 qsort stable.
4302
217a74a8
AS
43032014-12-10 Andreas Schwab <schwab@suse.de>
4304
4305 [BZ #12847]
4306 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4307 user-controlled locks.
4308
aa76a5c7
RE
43092014-12-10 Richard Earnshaw <rearnsha@arm.com>
4310
4311 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4312 register.
4313
2084e7ca
JM
43142014-12-10 Joseph Myers <joseph@codesourcery.com>
4315
a4ecc9eb
JM
4316 * configure.ac (--disable-werror): New configure option.
4317 (enable_werror): New AC_SUBST.
4318 * configure: Regenerated.
4319 * config.make.in (enable-werror): New variable.
4320 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4321 -Wno-error=undef.
4322 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4323 * manual/install.texi (Configuring and compiling): Document
4324 --disable-werror.
4325 * INSTALL: Regenerated.
4326 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4327 (CFLAGS-tst-chk2.c): Likewise.
4328 (CFLAGS-tst-chk3.c): Likewise.
4329 (CFLAGS-tst-chk4.cc): Likewise.
4330 (CFLAGS-tst-chk5.cc): Likewise.
4331 (CFLAGS-tst-chk6.cc): Likewise.
4332 (CFLAGS-tst-lfschk1.c): Likewise.
4333 (CFLAGS-tst-lfschk2.c): Likewise.
4334 (CFLAGS-tst-lfschk3.c): Likewise.
4335 (CFLAGS-tst-lfschk4.cc): Likewise.
4336 (CFLAGS-tst-lfschk5.cc): Likewise.
4337 (CFLAGS-tst-lfschk6.cc): Likewise.
4338
0f88636c
JM
4339 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4340 (main): Disable -Wdeprecated-declarations around calls to
4341 register_printf_function.
4342
c81e9deb
JM
4343 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4344 (do_test): Disable -Wdiv-by-zero around some calls to
4345 fwrite_unlocked and fread_unlocked.
4346
2084e7ca
JM
4347 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4348 (DIAG_POP_NEEDS_COMMENT): Likewise.
4349 (_DIAG_STR1): Likewise.
4350 (_DIAG_STR): Likewise.
4351 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4352 * stdio-common/bug21.c: Include <libc-internal.h>.
4353 (do_test): Disable -Wformat around call to sscanf.
4354 * stdio-common/scanf14.c: Include <libc-internal.h>.
4355 (main): Disable -Wformat around some calls to scanf functions.
4356
df7ecc6b
TR
43572014-12-09 Torvald Riegel <triegel@redhat.com>
4358
4359 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4360
2aa3862e
AZ
43612014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362
4363 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4364 stack variable alignment.
4365
c5c2b7c3
JM
43662014-12-06 Joseph Myers <joseph@codesourcery.com>
4367
4368 [BZ #17682]
4369 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4370 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4371 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4372 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4373 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4374 __getrlimit instead of getrlimit.
4375 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4376 __gettimeofday instead of gettimeofday.
4377 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4378 Likewise.
4379 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4380 Likewise.
4381 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4382 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4383 Remove variable.
4384 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4385 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4386
9752c3cd
AZ
43872014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4388
4389 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4390 for wide-character tests.
4391
4bee4cd9
RM
43922014-12-04 Roland McGrath <roland@hack.frob.com>
4393
4394 * io/openat64.c: #include <libc-internal.h>
4395 (__openat64): Prototypify. Use ignore_value on MODE.
4396 * io/openat.c: Likewise.
4397 * misc/reboot.c: #include <libc-internal.h>
4398 (reboot): Prototypify. Use ignore_value on HOWTO.
4399 * misc/ptrace.c: #include <libc-internal.h>
4400 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4401
84dbedb6
JM
44022014-12-04 Joseph Myers <joseph@codesourcery.com>
4403
4404 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4405 XPG4, UNIX98 and XOPEN2K.
4406 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4407 Remove variable.
4408 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4409
b7a3e1c4 44102014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4411
af50dfc1 4412 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4413 * libio/iofopen.c: Likewise.
4414 * libio/wfileops.c: Likewise.
4415
fe8b4d98
SP
4416 [BZ #17653]
4417 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4418 offset on EOF.
4419 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4420 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4421 (fgets_func): Function pointer to fgets and fgetws.
4422 (do_ftell_test): Add test to verify ftell value after read
4423 EOF.
4424 (do_test): Set fgets_func.
4425
61b4f792
SP
4426 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4427 O_TRUNC flag for w and w+ modes.
4428 (do_rewind_test): Likewise.
4429 (do_ftell_test): Likewise.
4430 (do_write_test): Likewise.
4431
be349d70
SP
4432 [BZ #17647]
4433 * libio/fileops.c (do_ftell): Seek only when there are
4434 unflushed writes.
4435 * libio/wfileops.c (do_ftell_wide): Likewise.
4436 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4437 test case.
4438 (do_one_test): Call it.
4439
e3d6dba5
JM
44402014-12-03 Joseph Myers <joseph@codesourcery.com>
4441
4442 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4443 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4444 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4445 Remove variable.
4446 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4447 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4448 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4449
7f994279
JM
44502014-12-02 Joseph Myers <joseph@codesourcery.com>
4451
28a91e8f
JM
4452 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4453 Remove variable.
4454 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4455
7f994279
JM
4456 [BZ #17668]
4457 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4458 as weak alias of __getifaddrs. Use libc_hidden_weak.
4459 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4460 __freeifaddrs. Use libc_hidden_weak.
4461 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4462 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4463 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4464 __freeifaddrs. Use libc_hidden_weak.
4465 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4466 __getifaddrs and define as weak alias of __getifaddrs. Use
4467 libc_hidden_weak.
4468 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4469 __freeifaddrs. Use libc_hidden_weak.
4470 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4471 Remove variable.
4472 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4473 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4474
bbe4c142
PJ
44752014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4476
4477 [BZ #17601]
4478 * sysdeps/mips/start.S (__start): Use indirect jump to call
4479 __libc_start_main.
4480
66cadc05
JM
44812014-12-02 Joseph Myers <joseph@codesourcery.com>
4482
909e16d9
JM
4483 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4484
4e0b9016
JM
4485 * nptl/tst-mutex1.c: Include <stdbool.h>.
4486 [!ATTR] (ATTR_NULL): New macro.
4487 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4488 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4489 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4490
b1aff6a4
JM
4491 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4492 to char *.
4493
266865c0
JM
4494 [BZ #17665]
4495 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4496 Change conditional to [__USE_MISC].
4497
84e5e756
JM
4498 [BZ #17664]
4499 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4500 fgets_unlocked.
4501 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4502 __fgets_unlocked.
4503 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4504 fgets_unlocked.
4505 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4506 Remove variable.
4507 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4508 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4509 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4510 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4511 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4512 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4513 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4514 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4515 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4516
66cadc05
JM
4517 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4518
2e8a2de2 45192014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4520
4521 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4522 Remove strpbrk objects.
4523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4524 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4525 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4527 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4528 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4529
bb2542e0
AZ
4530 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4531 Remove strcspn objects.
4532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4533 (__libc_ifunc_impl_list): Remove strcspn implementation.
4534 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4535 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4536 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4537 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4538
4539 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4540 Remove strspn objetcs.
4541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4542 (__libc_ifunc_impl_list): Remove strspn implementation.
4543 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4544 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4545 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4546 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4547
08f1e1d2
JL
45482014-12-01 James Lemke <jwlemke@codesourcery.com>
4549
4550 [BZ #17581]
4551 * malloc/hooks.c
4552 (mem2mem_check): Add a terminator to the chain of checking blocks.
4553 (malloc_check_get_size): Use it here.
4554 (mem2chunk_check): Ditto.
4555
a8a7d7d2
RS
45562014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4557
4558 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4559 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4560
97114a38
CD
45612014-11-29 Carlos O'Donell <carlos@redhat.com>
4562
c8dc1727
CD
4563 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4564
6d03458e
CD
4565 * nptl/nptl-init.c: Include libc-internal.h.
4566 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4567
97114a38
CD
4568 * elf/ldconfig.c (search_dir): Expand comment.
4569
0e7e69ba
JM
45702014-11-29 Joseph Myers <joseph@codesourcery.com>
4571
4572 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4573 variable.
4574 (linknamespace-symlist-stdlibs-tests): Likewise.
4575 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4576 instead of $(objpfx)symlist-stdlibs.
4577 (linknamespace-libs-isoc): New variable.
4578 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4579 (linknamespace-libs-ISO): New variable.
4580 (linknamespace-libs-ISO99): Likewise.
4581 (linknamespace-libs-ISO11): Likewise.
4582 (linknamespace-libs-XPG3): Likewise.
4583 (linknamespace-libs-XPG4): Likewise.
4584 (linknamespace-libs-POSIX): Likewise.
4585 (linknamespace-libs-UNIX98): Likewise.
4586 (linknamespace-libs-XOPEN2K): Likewise.
4587 (linknamespace-libs-POSIX2008): Likewise.
4588 (linknamespace-libs-XOPEN2K8): Likewise.
4589 ($(objpfx)symlist-stdlibs): Replace by
4590 $(linknamespace-symlist-stdlibs-tests). Use
4591 $(linknamespace-libs-$*) as set of libraries.
4592 ($(linknamespace-header-tests)): Update dependencies. Use
4593 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4594 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4595 * conform/linknamespace.pl: Remove comment about considering
4596 definitions of symbols from irrelevant libraries.
4597
d8dd0080
L
45982014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 [BZ #13862]
4601 * elf/dl-tls.c: Include <atomic.h>.
4602 (oom): Remove #ifdef SHARED/#endif.
4603 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4604 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4605 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4606 big enough.
4607 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4608 * nptl/Makefile (tests): Add tst-stack4.
4609 (modules-names): Add tst-stack4mod.
4610 ($(objpfx)tst-stack4): New.
4611 (tst-stack4mod.sos): Likewise.
4612 ($(objpfx)tst-stack4.out): Likewise.
4613 ($(tst-stack4mod.sos)): Likewise.
4614 (clean): Likewise.
4615 * nptl/tst-stack4.c: New file.
4616 * nptl/tst-stack4mod.c: Likewise.
4617
167da422
B
46182014-11-27 J. Brown <jb999@gmx.de>
4619
4620 * sysdeps/x86/bits/string.h: Add recent CPUs.
4621
9114625b
JM
46222014-11-27 Joseph Myers <joseph@codesourcery.com>
4623
6b5189eb
JM
4624 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4625 sigblock.
4626
49051f8e
JM
4627 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4628 feof.
4629
9114625b
JM
4630 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4631 variable.
4632
e7300fef
SL
46332014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4634
4635 * nscd/connections.c: Include libc-internal.h because of macro
4636 usage ignore_value.
4637
1721f0a4
SP
46382014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
4640 * string/bits/string3.h (__warn_memset_zero_len): Don't
4641 declare for gcc newer than 5.0.
4642 (memset): Don't test for zero-length __LEN for gcc newer than
4643 5.0.
4644
be970916
JM
46452014-11-27 Joseph Myers <joseph@codesourcery.com>
4646
d88548f4
JM
4647 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4648 size_t for %zu format.
4649
be970916
JM
4650 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4651 difference, not %ju.
4652
3b20fd5c
JM
46532014-11-26 Joseph Myers <joseph@codesourcery.com>
4654
8915eace
JM
4655 * include/libc-internal.h (ignore_value): New macro.
4656 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4657 with ignore_value.
4658
f1a5a0e3
JM
4659 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4660 definition.
4661
59ef1715
JM
4662 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4663 pthread_cleanup_push to void *.
4664
a6f3079b
JM
4665 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4666 Undefine.
4667
706688aa
JM
4668 [BZ #16619]
4669 [BZ #16740]
4670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4671 instead of 1L << 52.
4672
12da14a5
JM
4673 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4674 * libio/bug-rewind2.c (do_test): Likewise.
4675
bd5dadac
JM
4676 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4677 * debug/test-strcpy_chk-ifunc.c: Likewise.
4678 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4679 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4680 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4681 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4682 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4683 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4684 * Rules [$(multi-arch) = no] (tests): Do not filter out
4685 $(tests-ifunc).
4686 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4687 * debug/Makefile (tests-ifunc): Remove variable.
4688 (tests): Do not add $(tests-ifunc).
4689 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4690 (tests): Do not add $(tests-ifunc).
4691 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4692 [TEST_IFUNC]: Remove conditionals.
4693 * string/test-string.h (TEST_IFUNC): Remove macro.
4694 [TEST_IFUNC]: Remove conditionals.
4695
3b20fd5c
JM
4696 * string/test-strchr.c [!WIDE] (L): New macro.
4697 [WIDE] (L): Likewise.
4698 (check1): Use CHAR instead of char. Use L on string and character
4699 constants.
4700
704f7947
AZ
47012014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4702
4703 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4704 tests.
4705 * sysdeps/powerpc/bits/atomic.h
4706 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4707 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4708 (atomic_exchange_and_add_acq): Likewise.
4709 (atomic_exchange_and_add_rel): Likewise.
4710 * sysdeps/powerpc/powerpc32/bits/atomic.h
4711 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4712 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4713 * sysdeps/powerpc/powerpc64/bits/atomic.h
4714 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4715 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4716
cdcb42d7
TR
47172014-11-26 Torvald Riegel <triegel@redhat.com>
4718
4719 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4720 Change synchronization of __sched_fifo_min_prio and
4721 __sched_fifo_max_prio.
4722 * nptl/pthread_mutexattr_getprioceiling.c
4723 (pthread_mutexattr_getprioceiling): Likewise.
4724 * nptl/pthread_mutexattr_setprioceiling.c
4725 (pthread_mutexattr_setprioceiling): Likewise.
4726 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4727 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4728 Likewise.
4729
c82f5c0c
JM
47302014-11-26 Joseph Myers <joseph@codesourcery.com>
4731
4732 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4733 void.
4734
439e1ad6
JM
47352014-11-25 Joseph Myers <joseph@codesourcery.com>
4736
4737 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4738 third argument const.
4739
b1eda10e
PE
47402014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4741
4742 fnmatch: work around GCC compiler warning bug with uninit var
4743 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4744 This works around a bug with x86-64 GCC 4.9.2 and earlier
4745 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4746 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4747 used uninitialized in this function [-Wmaybe-uninitialized]".
4748
bde2667a
JM
47492014-11-25 Joseph Myers <joseph@codesourcery.com>
4750
4751 * posix/bug-regex31.c (main): Return RES not 0.
4752
5fbb5691
AB
47532014-11-25 Anton Blanchard <anton@samba.org>
4754
4755 * sysdeps/powerpc/bits/atomic.h
4756 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4757
467fec0b
BM
47582014-11-24 Sterling Augustine <saugustine@google.com>
4759
4760 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4761
e9ff8efb
RC
47622014-11-24 Ryan Cumming <etaoins@gmail.com>
4763
4764 [BZ #17608]
4765 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4766
9744496f
JM
47672014-11-24 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #17633]
4770 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4771 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4772 variable.
4773 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4774 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4775
6423d475
WD
47762014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4777
4778 * string/strncpy.c (strncpy): Improve performance by using memset.
4779
47802014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4781
4782 * string/strcpy.c (strcpy):
4783 Improve performance by using strlen and memcpy.
4784
5d178c37
LH
47852014-11-24 Leonhard Holz <leonhard.holz@web.de>
4786
4787 * string/strcoll_l.c (get_next_seq): __always_inline.
4788 * string/strcoll_l.c (do_compare): __always_inline.
4789
279bc5b3
SP
47902014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4791
7a9ebfa1
SP
4792 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4793 defined.
4794 * include/mqueue.h: Likewise.
4795 * include/stdlib.h: Likewise.
4796
4f41c682
SP
4797 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4798 (get_null_defines): Adjust.
4799 * sunrpc/Makefile: Adjust comment.
4800 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4801 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4802 (CFLAGS-interp.c): Likewise.
4803 (CFLAGS-ldconfig.c): Likewise.
4804 (CPPFLAGS-.os): Likewise.
4805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4806 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4807 * extra-modules.mk (extra-modules.mk): Likewise.
4808 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4809 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4810 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4811 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4812 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4813 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4814 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4815 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4816 * iconvdata/Makefile (CPPFLAGS): Likewise.
4817 (cpp-srcs-left): Add libof for all iconvdata routines.
4818 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4819 * include/assert.h: Likewise.
4820 * include/ctype.h: Likewise.
4821 * include/errno.h: Likewise.
4822 * include/libc-symbols.h: Likewise.
4823 * include/math.h: Likewise.
4824 * include/netdb.h: Likewise.
4825 * include/resolv.h: Likewise.
4826 * include/stdio.h: Likewise.
4827 * include/stdlib.h: Likewise.
4828 * include/string.h: Likewise.
4829 * include/sys/stat.h: Likewise.
4830 * include/wctype.h: Likewise.
4831 * intl/l10nflist.c: Likewise.
4832 * libidn/idn-stub.c: Likewise.
4833 * libio/libioP.h: Likewise.
4834 * nptl/libc_multiple_threads.c: Likewise.
4835 * nptl/pthreadP.h: Likewise.
4836 * posix/regex_internal.h: Likewise.
4837 * resolv/res_hconf.c: Likewise.
4838 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4839 * sysdeps/arm/memmove.S: Likewise.
4840 * sysdeps/arm/sysdep.h: Likewise.
4841 * sysdeps/generic/_itoa.h: Likewise.
4842 * sysdeps/generic/symbol-hacks.h: Likewise.
4843 * sysdeps/gnu/errlist.awk: Likewise.
4844 * sysdeps/gnu/errlist.c: Likewise.
4845 * sysdeps/i386/i586/memcpy.S: Likewise.
4846 * sysdeps/i386/i586/memset.S: Likewise.
4847 * sysdeps/i386/i686/memcpy.S: Likewise.
4848 * sysdeps/i386/i686/memmove.S: Likewise.
4849 * sysdeps/i386/i686/mempcpy.S: Likewise.
4850 * sysdeps/i386/i686/memset.S: Likewise.
4851 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4852 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4853 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4854 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4855 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4856 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4857 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4858 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4861 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4862 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4863 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4864 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4865 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4866 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4867 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4868 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4869 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4898 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4903 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4906 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4909 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4912 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4913 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4914 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4915 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4916 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4917 * sysdeps/posix/closedir.c: Likewise.
4918 * sysdeps/posix/opendir.c: Likewise.
4919 * sysdeps/posix/readdir.c: Likewise.
4920 * sysdeps/posix/rewinddir.c: Likewise.
4921 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4924 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4925 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4932 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4933 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4934 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4935 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4936 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4937 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4939 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4940 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4942 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4943 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4949 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4956 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4957 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4958 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4959 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4960 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4961 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4964 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4965 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4966 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4967 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4968 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4969 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4970 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4971 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4972 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4973 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4974 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4977 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4979 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4980 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4981 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4984 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4995 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4996 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4997 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4998 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5001 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5004 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5005 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5007 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5008 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5009 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5010 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5011 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5012 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5013 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5017 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5019 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5020 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5022 * sysdeps/unix/alpha/sysdep.S: Likewise.
5023 * sysdeps/unix/alpha/sysdep.h: Likewise.
5024 * sysdeps/unix/make-syscalls.sh: Likewise.
5025 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5026 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5027 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5028 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5029 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5030 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5031 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5033 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5034 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5035 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5036 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5038 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5039 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5040 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5041 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5043 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5044 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5045 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5046 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5047 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5048 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5049 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5050 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5051 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5054 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5055 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5059 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5063 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5064 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5065 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5066 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5067 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5068 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5075 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5076 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5077 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5078 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5080 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5081 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5083 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5084 * sysdeps/x86_64/memcpy.S: Likewise.
5085 * sysdeps/x86_64/memmove.c: Likewise.
5086 * sysdeps/x86_64/memset.S: Likewise.
5087 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5088 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5089 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5090 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5091 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5094 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5095 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5096 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5097 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5098 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5099 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5102 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5103 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5104 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5105 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5106 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5107 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5108 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5110 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5111 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5112 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5113 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5114 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5115 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5116 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5117 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5118 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5119 * sysdeps/x86_64/strcmp.S: Likewise.
5120
76ca86a5
SP
5121 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5122
a3848485
SP
5123 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5124 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5125 * elf/rtld-Rules: Likewise.
5126 * elf/setup-vdso.h: Likewise.
5127 * include/assert.h: Likewise.
5128 * include/bits/stdlib-float.h: Likewise.
5129 * include/errno.h: Likewise.
5130 * include/sys/stat.h: Likewise.
5131 * include/unistd.h: Likewise.
5132 * sysdeps/aarch64/setjmp.S: Likewise.
5133 * sysdeps/alpha/setjmp.S: Likewise.
5134 * sysdeps/arm/__longjmp.S: Likewise.
5135 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5136 * sysdeps/arm/setjmp.S: Likewise.
5137 * sysdeps/arm/sysdep.h: Likewise.
5138 * sysdeps/generic/_itoa.h: Likewise.
5139 * sysdeps/generic/dl-sysdep.h: Likewise.
5140 * sysdeps/generic/ldsodefs.h: Likewise.
5141 * sysdeps/i386/dl-tls.h: Likewise.
5142 * sysdeps/i386/setjmp.S: Likewise.
5143 * sysdeps/m68k/setjmp.c: Likewise.
5144 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5145 * sysdeps/mach/hurd/opendir.c: Likewise.
5146 * sysdeps/posix/getcwd.c: Likewise.
5147 * sysdeps/posix/opendir.c: Likewise.
5148 * sysdeps/posix/profil.c: Likewise.
5149 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5150 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5151 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5152 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5153 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5154 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5156 * sysdeps/s390/dl-tls.h: Likewise.
5157 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5158 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5159 * sysdeps/sh/sh3/setjmp.S: Likewise.
5160 * sysdeps/sh/sh4/setjmp.S: Likewise.
5161 * sysdeps/unix/alpha/sysdep.h: Likewise.
5162 * sysdeps/unix/arm/sysdep.S: Likewise.
5163 * sysdeps/unix/i386/sysdep.S: Likewise.
5164 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5165 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5166 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5167 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5168 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5169 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5170 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5171 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5172 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5173 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5174 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5175 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5179 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5182 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5183 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5184 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5187 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5188 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5189 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5191 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5192 * sysdeps/x86_64/setjmp.S: Likewise.
5193
a109996e
SP
5194 * include/math.h: Use IS_IN instead of IS_IN_libm.
5195 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5197 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5207 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5215 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5216 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5217 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5218 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5219 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5220 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5222 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5223 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5224 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5225 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5226 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5227 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5229 Likewise.
5230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5231 Likewise.
5232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5233 Likewise.
5234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5235 Likewise.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5237 Likewise.
5238 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5240 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5241 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5242 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5243 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5249 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5250 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5251 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5254 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5255 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5257 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5258 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5259 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5262 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5264 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5265
ce9f10f7
SP
5266 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5267 * nptl/pthreadP.h: Likewise.
5268 * nptl_db/structs.def: Likewise.
5269 * sysdeps/arm/sysdep.h: Likewise.
5270 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5271 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5272 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5273 * sysdeps/unix/alpha/sysdep.h: Likewise.
5274 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5275 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5276 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5277 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5278 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5279 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5281 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5282 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5283 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5284 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5285 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5286 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5287 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5290 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5292 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5295 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5296 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5297 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5300
016afc75
SP
5301 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5302 * nptl/pthreadP.h: Likewise.
5303 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5304 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5305 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5306 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5307 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5308 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5309 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5310 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5311 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5312 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5313 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5314 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5316 Likewise.
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5318 Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5321 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5324 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5325 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5326 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5327
9b42a0b3
SP
5328 * dlfcn/dladdr.c: Use IS_IN.
5329 * dlfcn/dladdr1.c: Likewise.
5330 * dlfcn/dlclose.c: Likewise.
5331 * dlfcn/dlerror.c: Likewise.
5332 * dlfcn/dlinfo.c: Likewise.
5333 * dlfcn/dlmopen.c: Likewise.
5334 * dlfcn/dlopen.c: Likewise.
5335 * dlfcn/dlsym.c: Likewise.
5336 * dlfcn/dlvsym.c: Likewise.
5337
85f36372
SP
5338 * include/ifaddrs.h: Use IS_IN.
5339 * inet/check_pf.c: Likewise.
5340 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5341 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5342
fb6784e3
SP
5343 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5344 IS_IN_ldconfig.
5345 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5346 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5347
2886d2d1
SP
5348 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5349 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5350 IS_IN (libc).
5351
9a484857
SP
5352 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5353
a10178bd
SP
5354 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5355 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5356 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5357 * include/libc-symbols.h (IS_IN_LIB): New macro.
5358 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5359 * include/netdb.h: Likewise.
5360 * include/stap-probe.h: Remove all uses of IN_LIB.
5361
279bc5b3
SP
5362 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5363 instead of IN_MODULE.
5364 * include/libc-symbols.h (IN_MODULE): Define using
5365 MODULE_NAME.
5366 (PASTE_NAME, PASTE_NAME1): New macros.
5367 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5368 of IN_LIB.
5369 (STAP_PROBE_ASM): Likewise.
5370
e0cfa510
ST
53712014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5372
5373 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5374 __mach_init in dlopened libc.
5375
34d97d87
MF
53762014-11-22 Mike Frysinger <vapier@gentoo.org>
5377
5378 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5379 * sysdeps/arm/preconfigure: Regenerate.
5380
33cd1f74
RM
53812014-11-21 Roland McGrath <roland@hack.frob.com>
5382
5383 * nptl/pthread_create.c (__pthread_create_2_1): Set
5384 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5385 when copying values from IATTR into PD.
5386
8c230039
WN
53872014-11-21 Will Newton <will.newton@linaro.org>
5388 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5389
6d3db89b
AP
5390 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5391 Refactor inline-asm. Also add comment.
5392
01194ba1
WN
5393 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5394 ElfW macro instead of hardcoded Elf64 types.
5395 (la_aarch64_gnu_pltenter): Likewise.
5396 * sysdeps/aarch64/dl-machine.h
5397 (elf_machine_runtime_setup): Use ElfW(Addr).
5398
8c230039
WN
5399 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5400 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5401 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5402 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5403 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5404 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5405 (R_AARCH64_TLS_DTPMOD): This.
5406 (R_AARCH64_TLS_DTPREL64): Rename to ...
5407 (R_AARCH64_TLS_DTPREL): This.
5408 (R_AARCH64_TLS_TPREL64): Rename to ...
5409 (R_AARCH64_TLS_TPREL): This.
5410 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5411 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5412 R_AARCH64_TLS_TPREL64.
5413 (elf_machine_rela): Likewise.
5414
0d79fa53
TR
54152014-11-21 Torvald Riegel <triegel@redhat.com>
5416
5417 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5418 by setting it to 0. 64b atomics are not supported currently.
5419
b59d114b
AO
54202014-11-21 Alexandre Oliva <aoliva@redhat.com>
5421
5422 [BZ #16469]
5423 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5424 search domain names.
5425
f3d945d5
AO
54262014-11-21 Alexandre Oliva <aoliva@redhat.com>
5427
5428 [BZ #16469]
5429 * NEWS: Update.
5430 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5431 trailing dot.
5432 * posix/tst-getaddrinfo5.c: New.
5433 * posix/Makefile (tests): Add it.
5434
49698902
AO
54352014-11-21 Alexandre Oliva <aoliva@redhat.com>
5436
5437 [BZ #14498]
5438 * NEWS: Fixed.
5439 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5440 after parsing line but before break_if_match.
5441 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5442 if there is a protocol mismatch.
5443
81959214
MS
54442014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5445
5446 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5447 because the potential race is on the user-supplied stream.
5448
7729e0e9
AO
54492014-11-21 Alexandre Oliva <aoliva@redhat.com>
5450
5451 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5452 string literal if not passed a buffer.
5453 * manual/job.texi (ctermid): Update reasoning, note deviation
5454 from posix, suggest mtasurace when not passed a buffer, for
5455 future non-preliminary safety notes.
5456
a4ea5e28
AO
54572014-11-21 Alexandre Oliva <aoliva@redhat.com>
5458
5459 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5460 of not passing it a buffer.
5461 Reported by Peng Haitao.
5462
a2b581cb
AO
54632014-11-21 Alexandre Oliva <aoliva@redhat.com>
5464
5465 * manual/Makefile ($(objpfx)stamp-summary): Require
5466 check-safety.sh to pass.
5467 * manual/check-safety.sh: Wish for verification that every
5468 @deftypefn and @deftypefun is followed by a @safety remark.
5469
f214ff74
RM
54702014-11-20 Roland McGrath <roland@hack.frob.com>
5471
7f0dfae0
RM
5472 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5473
2f531bbb
RM
5474 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5475 PTHREAD_CANCEL_ASYNCHRONOUS.
5476 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5477 send SIGCANCEL.
5478
f214ff74
RM
5479 * nptl/default-sched.h: New file.
5480 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5481 * nptl/pthread_create.c: Include it.
5482 (__pthread_create_2_1): Use collect_default_sched instead of making
5483 Linux syscalls here directly.
5484
e37c91d4
TR
54852014-11-20 Torvald Riegel <triegel@redhat.com>
5486
5487 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5488 __pthread_once): Use C11 atomics.
5489
1eccfecd
TR
54902014-11-20 Torvald Riegel <triegel@redhat.com>
5491
5492 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5493
ff871426
TR
54942014-11-20 Torvald Riegel <triegel@redhat.com>
5495
5496 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5497 atomic_thread_fence_acquire, atomic_thread_fence_release,
5498 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5499 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5500 atomic_compare_exchange_weak_relaxed,
5501 atomic_compare_exchange_weak_acquire,
5502 atomic_compare_exchange_weak_release,
5503 atomic_exchange_acquire, atomic_exchange_release,
5504 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5505 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5506 atomic_fetch_and_acquire,
5507 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5508
1ea339b6
TR
55092014-11-20 Torvald Riegel <triegel@redhat.com>
5510
5511 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5512 USE_ATOMIC_COMPILER_BUILTINS): Define.
5513 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5515 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5517 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5519 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5521 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5523 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5525 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5527 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5529 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5531 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5533 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5535 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5537 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5539 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5541 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5543 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5545 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5547 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5548 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5549 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5551 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5553
cbd463e2
RM
55542014-11-19 Roland McGrath <roland@hack.frob.com>
5555
d960211f
RM
5556 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5557 the sched_priority value here. It was already checked when the user
5558 called pthread_attr_setschedparam.
5559
cbd463e2
RM
5560 * nptl/tst-bad-schedattr.c: New file.
5561 * nptl/Makefile (tests): Add it.
5562
a39208bd
CD
55632014-11-19 Carlos O'Donell <carlos@redhat.com>
5564 Florian Weimer <fweimer@redhat.com>
5565 Joseph Myers <joseph@codesourcery.com>
5566 Adam Conrad <adconrad@0c3.net>
5567 Andreas Schwab <schwab@suse.de>
5568 Brooks <bmoses@google.com>
5569
5570 [BZ #17625]
5571 * wordexp-test.c (__dso_handle): Add prototype.
5572 (__register_atfork): Likewise.
5573 (__app_register_atfork): New function.
5574 (registered_forks): New global.
5575 (register_fork): New function.
5576 (test_case): Add 3 new tests for WRDE_CMDSUB.
5577 (main): Call __app_register_atfork.
5578 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5579 fork count is non-zero fail the test.
5580 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5581 is set.
5582 (parse_dollars): Remove check for WRDE_NOCMD.
5583 (parse_dquote): Likewise.
5584
9cd47470
SP
55852014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5586
130ac68c
SP
5587 * Makeconfig (built-modules): List non-library modules to be
5588 built.
5589 (module-cppflags): Include libc-modules.h for
5590 everything except shlib-versions.v.i.
5591 (CPPFLAGS): Use it.
5592 (before-compile): Add libc-modules.h.
5593 ($(common-objpfx)libc-modules.h,
5594 $(common-objpfx)libc-modules.stmp): New targets.
5595 (common-generated): Add libc-modules.h and libc-modules.stmp.
5596 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5597 * include/libc-symbols.h: Don't include libc-modules.h.
5598 * include/libc-modules.h: Remove file.
5599 * scripts/gen-libc-modules.awk: New script to generate
5600 libc-modules.h.
5601 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5602 Depend on libc-modules.stmp.
5603
286663c3
SP
5604 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5605
9cd47470
SP
5606 * Makeconfig (in-module): Get value of libof set for the
5607 translation unit.
5608 (CPPFLAGS): Use $(in-module).
5609 * Makerules: Don't suffix routine names for nonlib.
5610 * include/libc-modules.h: New file.
5611 * include/libc-symbols.h: Include libc-modules.h
5612 (IS_IN): New macro to replace IS_IN_* macros.
5613 * elf/Makefile: Set libof-* for each routine.
5614 * elf/rtld-Rules: Likewise.
5615 * extra-modules.mk: Likewise.
5616 * iconv/Makefile: Likewise.
5617 * iconvdata/Makefile: Likewise.
5618 * locale/Makefile: Likewise.
5619 * malloc/Makefile: Likewise.
5620 * nss/Makefile: Likewise.
5621 * sysdeps/gnu/Makefile: Likewise.
5622 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5623 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5624 * sysdeps/s390/s390-64/Makefile: Likewise.
5625 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5626 CPPFLAGS for nscd instead of nonlib.
5627
32fed10f
RM
56282014-11-18 Roland McGrath <roland@hack.frob.com>
5629
d71035bd
RM
5630 * nptl/createthread.c: New file.
5631
6540b991
RM
5632 * nptl/createthread.c: Moved ...
5633 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5634
32fed10f
RM
5635 * nptl/createthread.c: Add proper top-line comment.
5636 (do_clone): Folded into ...
5637 (create_thread): ... here. Take new arguments STOPPED_START and
5638 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5639 increment __nptl_threads, do event-reporting logic, do
5640 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5641 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5642 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5643 just send SIGCANCEL.
5644 * nptl/pthread_create.c: Forward-declare create_thread before
5645 including createthread.c.
5646 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5647 declaration, and new macro START_THREAD_SELF to replace argument.
5648 Remove return statement.
5649 (report_thread_creation): New function.
5650 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5651 synchronization logic, and __nptl_nthreads increment here, around
5652 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5653 PD->parent_cancelhandling here, before create_thread. When
5654 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5655 __deallocate_stack, and ENOMEM translation here.
5656
107a5bf0
JM
56572014-11-18 Joseph Myers <joseph@codesourcery.com>
5658
5659 [BZ #17616]
5660 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5661 (mptwo): Rename to __mptwo.
5662 (__inv): Use __mptwo instead of mptwo.
5663 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5664 (mptwo): Rename to __mptwo.
5665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5666 of mpone and __mptwo instead of mptwo.
5667 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5668 instead of mpone.
5669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5670 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5671 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5672 of mpone and __mptwo instead of mptwo.
5673 (__mpranred): Use __mpone instead of mpone.
5674 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5675 variable.
5676 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5677 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5678 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5679 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5680 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5681 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5682 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5683 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5684 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5685 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5686 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5687 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5688 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5689 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5690 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5691 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5693 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5694 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5695
3b679ab3
TV
56962014-11-18 Tom de Vries <tom@codesoucery.com>
5697
5698 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5699 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5700
57012014-11-17 Richard Henderson <rth@redhat.com>
5702
5703 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5704 (_FP_PACK_RAW_2): Remove.
5705 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5706 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5707 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5708 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5709 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5710 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5711 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5712 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5713 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5714 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5715 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5716 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5717 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5718 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5719 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5720 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5721
0781a777
RM
57222014-11-14 Roland McGrath <roland@hack.frob.com>
5723
5724 * signal/signal.h [__USE_MISC]
5725 (struct sigvec): Remove type.
5726 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5727 (sigvec): Remove declaration.
5728 * sysdeps/posix/sigvec.c: Moved ...
5729 * signal/sigvec.c: ... here, replacing old file.
5730 (struct sigvec): New type, copied from old signal.h definition.
5731 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5732 (__sigvec): Convert definition to prototype.
5733 (sigvec): Replace weak_alias with compat_symbol.
5734 * signal/Versions (libc: GLIBC_2.21): New version set.
5735 * include/signal.h: Remove __sigvec declaration.
5736 * sysdeps/unix/bsd/sigvec.c: Remove file.
5737 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5738 * manual/signal.texi (BSD Handler): Remove subsection.
5739 Move siginterrupt up to ...
5740 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5741 (Blocking in BSD): Fold subsection into its parent.
5742 * NEWS: Mention sigvec removal.
5743
a4733812
JM
57442014-11-14 Joseph Myers <joseph@codesourcery.com>
5745
5ae4fe60
JM
5746 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5747 (DLA_FMS): Make definition conditional only on [__FMA4__].
5748 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5749 definition.
5750
6a0dd472
JM
5751 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5752 Make definition conditional only on [PROF].
5753 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5754 definition.
5755 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5756 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5757
a4733812
JM
5758 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5759 !__GNUC__].
5760 * include/signal.h (__sigpause): Move declaration above call to
5761 libc_hidden_proto.
5762 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5763 variable.
5764 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5765 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5766
cf7246dd
DM
57672014-11-14 David S. Miller <davem@davemloft.net>
5768
5769 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5770 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5771
c1b0aadc
JM
57722014-11-14 Joseph Myers <joseph@codesourcery.com>
5773
4863355a
JM
5774 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5775 * configure: Regenerated.
5776 * manual/install.texi (Tools for Compilation): Document a
5777 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5778 compiler verified to work.
5779 * INSTALL: Regenerated.
5780
c1b0aadc
JM
5781 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5782 redeclare with asm name.
5783 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5784 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5785 including <string.h>.
5786 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5788 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5789 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5790 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5791 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5792 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5793
2a1cfd94
JM
57942014-11-13 Joseph Myers <joseph@codesourcery.com>
5795
bf438382
JM
5796 * stdlib/strtol.c (__strtol): Use prototype definition.
5797
2a1cfd94
JM
5798 [BZ #17594]
5799 * stdlib/strtol.c (SYM__): New macro.
5800 (SYM__1): Likewise.
5801 (__strtol): Likewise.
5802 (strtol): Rename to __strtol and define as weak alias of
5803 __strtol. Use libc_hidden_weak.
5804
20ed0d26
SL
58052014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5806
5807 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5808 Use numbered labels in inline assembly.
5809
53244a4e
SL
58102014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5811
5812 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5813 Add setjmp LIBC_PROBE.
5814 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5815 Likewise.
5816 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5817 Add longjmp, longjmp_target LIBC_PROBE.
5818 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5819 Likewise.
5820
47df8251
SL
58212014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5822
5823 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5824 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5825 to get rid of unused variable warning.
5826
618cebef
SL
58272014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5828
5829 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5830 Check for unwind_backtrace == NULL only in SHARED case.
5831 (__backchain_backtrace): Compile only in SHARED case.
5832 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5833 Likewise.
5834 (__backchain_backtrace): Declare as static.
5835
c6aab2cb
RM
58362014-11-12 Roland McGrath <roland@hack.frob.com>
5837
5838 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5839 (__libc_multiple_threads_ptr): Variable moved ...
5840 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5841
5a6fa4d7
JM
58422014-11-12 Joseph Myers <joseph@codesourcery.com>
5843
24f4f825
JM
5844 * conform/GlibcConform.pm: New file.
5845 * conform/conformtest.pl: Use GlibcConform module.
5846 * conform/linknamespace.pl: New file.
5847 * conform/list-header-symbols.pl: Likewise.
5848 * conform/Makefile (linknamespace-symlists-base): New variable.
5849 (linknamespace-symlists-tests): Likewise.
5850 (linknamespace-header-base): Likewise.
5851 (linknamespace-header-tests): Likewise.
5852 (tests-special): Add new tests.
5853 ($(linknamespace-symlists-tests)): New rule.
5854 (linknamespace-libs): New variable.
5855 ($(objpfx)symlist-stdlibs): New rule.
5856 ($(linknamespace-header-tests)): Likewise.
5857 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5858 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5859 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5860 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5861 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5862 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5863 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5864 (test-xfail-ISO/math.h/linknamespace): Likewise.
5865 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5866 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5867 (test-xfail-ISO/time.h/linknamespace): Likewise.
5868 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5869 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5870 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5871 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5872 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5873 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5874 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5875 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5876 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5877 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5878 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5879 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5880 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5881 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5882 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5883 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5884 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5885 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5886 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5887 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5888 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5889 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5890 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5891 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5892 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5893 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5894 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5895 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5896 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5897 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5898 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5899 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5900 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5901 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5902 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5903 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5904 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5905 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5906 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5907 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5908 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5909 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5910 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5911 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5912 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5913 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5914 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5915 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5916 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5917 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5918 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5919 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5920 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5921 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5922 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5923 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5924 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5925 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5926 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5927 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5928 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5929 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5930 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5931 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5932 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5933 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5934 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5935 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5936 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5937 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5938 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5939 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5940 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5941 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5942 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5943 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5944 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5945 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5946 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5947 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5948 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5949 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5950 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5951 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5952 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5953 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5954 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5955 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5956 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5957 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5958 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5959 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5960 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5961 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5962 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5963 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5964 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5965 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5966 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5967 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5968 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5969 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5970 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5971 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5972 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5973 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5974 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5975 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5976 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5977 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5978 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5979 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5980 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5981 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5982 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5983 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5984 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5985 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5986 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5987 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5988 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5989 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5990 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5991 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5992 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5993 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5994 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5995 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5996 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5997 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5998 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5999 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6000 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6001 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6002 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6003 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6004 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6005 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6006 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6007 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6010 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6011 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6012 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6013 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6014 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6015 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6016 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6017 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6018
cc67478e
JM
6019 [BZ #17589]
6020 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6021 of fgets_unlocked.
6022
9975e3d3
JM
6023 [BZ #17585]
6024 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6025 (memmem): Rename to __memmem and define as weak alias of
6026 __memmem. Use libc_hidden_weak.
6027 (__memmem): Use libc_hidden_def.
6028 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6029 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6030 memmem.
6031
c4eae752
JM
6032 [BZ #17582]
6033 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6034 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6035 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6036 and define as weak alias of __fgets_unlocked. Use
6037 libc_hidden_weak.
6038 (__fgets_unlocked): Use libc_hidden_def.
6039 * include/stdio.h (__fgets_unlocked): Declare. Use
6040 libc_hidden_proto.
6041 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6042 __fgets_unlocked instead of fgets_unlocked.
6043 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6044 (GET_NPROCS_CONF_PARSER): Likewise.
6045 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6046 (GET_NPROCS_CONF_PARSER): Likewise.
6047
01cad84e
JM
6048 [BZ #17574]
6049 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6050 weak alias of __wmemset. Use libc_hidden_weak.
6051 (__wmemset): Use libc_hidden_def.
6052 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6053 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6054 of wmemset.
6055
939da411
JM
6056 [BZ #17573]
6057 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6058 with asm name __mempcpy.
6059 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6060
293d9a41
JM
6061 [BZ #17572]
6062 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6063 and define as weak alias of __rawmemchr.
6064 (__rawmemchr): Do not define as strong alias of rawmemchr.
6065
bef8fd60
JM
6066 [BZ #17571]
6067 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6068 alias of __qsort_r.
6069 (qsort): Call __qsort_r instead of qsort_r.
6070 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6071 (__qsort_r): Declare. Call libc_hidden_proto.
6072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6073 instead of qsort_r.
6074 * nscd/gai.c (__qsort_r): Define to qsort_r.
6075 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6076 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6077 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6078
c52ff39e
JM
6079 [BZ #17570]
6080 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6081 define as weak alias of __malloc_info.
6082
2f5c1b00
JM
6083 [BZ #17584]
6084 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6085 as weak alias of __rewinddir. Don't use libc_hidden_def.
6086 (__rewinddir): Use libc_hidden_def.
6087 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6088 as weak alias of __rewinddir. Don't use libc_hidden_def.
6089 (__rewinddir): Use libc_hidden_def.
6090 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6091 weak alias of __rewinddir. Don't use libc_hidden_def.
6092 (__rewinddir): Use libc_hidden_def.
6093 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6094 (__rewinddir): Use libc_hidden_proto.
6095 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6096 rewinddir.
6097 (__getcwd): Use __rewinddir instead of rewinddir.
6098
5a6fa4d7
JM
6099 [BZ #17583]
6100 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6101 alias of __fileno. Use libc_hidden_weak.
6102 (__fileno): Use libc_hidden_def.
6103 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6104 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6105 alias of __ftello.
6106 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6107 __ftello.
6108 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6109 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6110 libc_hidden_def.
6111 (fread_unlocked): Don't use libc_hidden_ver.
6112 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6113 and define as weak alias of __fread_unlocked. Don't use
6114 libc_hidden_def.
6115 (__fread_unlocked): Use libc_hidden_def.
6116 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6117 (ftello): Don't use libc_hidden_proto.
6118 (__ftello): Declare. Use libc_hidden_proto.
6119 (fread_unlocked): Don't use libc_hidden_proto.
6120 (__fread_unlocked): Declare. Use libc_hidden_proto.
6121 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6122 and __ftello instead of fileno, fread_unlocked and ftello.
6123
2581b98e
SP
61242012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6125
6126 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6127 GOT12.
6128 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6129 Likewise.
6130 (_dl_start_user): Likewise.
6131 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6132
533bb7c2
SP
61332014-11-12 Carlos O'Donell <carlos@redhat.com>
6134 Siddhesh Poyarekar <siddhesh@redhat.com>
6135
6136 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6137 Move argv and envp down instead of moving argc up.
6138 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6139
fffa1cf8
LH
61402014-11-12 Leonhard Holz <leonhard.holz@web.de>
6141
6142 [BZ #17506]
6143 * test-skeleton.c (main): Return successful if one of
6144 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6145 * string/tst-strcoll-overflow.c: Define expected status.
6146
fb89b46d
TU
61472014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6148
6149 [BZ #17475]
6150 * locale/iso-639.def: Define Bhili and Tulu language codes.
6151
5c40c3ba
AH
61522014-11-11 Alan Hayward <alan.hayward@arm.com>
6153
6154 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6155
b17fe01b 61562014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6157
6158 [BZ #17555]
6159 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6160
bd805071
AS
61612014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6162
6163 * configure.ac: Updated check of minimal required version to
6164 2.22.
6165 * manual/install.texi (Tools for Compilation): Updated version
6166 number.
6167 * configure: Regenerated.
6168 * INSTALL: Likewise.
6169
1400983e
AS
61702014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6171
6172 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6173 __tls_get_addr.
6174
2c46a66a
JM
61752014-11-07 Joseph Myers <joseph@codesourcery.com>
6176
6177 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6178 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6179 (__waitpid): Don't define as alias. Use libc_hidden_def not
6180 libc_hidden_weak.
6181 (waitpid): Define as alias of __waitpid.
6182 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6183 __waitpid.
6184 (__waitpid): Don't define as alias. Use libc_hidden_def not
6185 libc_hidden_weak.
6186 (waitpid): Define as alias of __waitpid.
6187 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6188 __libc_waitpid alias.
6189 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6191 Likewise.
6192 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6193 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6194 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6195 alias.
6196 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6197 __waitpid.
6198 (__waitpid): Don't define as alias. Use libc_hidden_def not
6199 libc_hidden_weak.
6200 (waitpid): Define as alias of __waitpid.
6201
da53d6db
CD
62022014-11-06 Carlos O'Donell <carlos@redhat.com>
6203
a2887bdb
CD
6204 * manual/llio.texi: Add comment that write safety has been
6205 fixed in Linux.
6206
da53d6db
CD
6207 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6208 (localplt-build-dso): Add elf/ld.so.
6209 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6210 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6211 and free for ld.so.
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6213 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6215 Likewise.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6217 Likewise.
6218 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6219 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6220 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6221 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6222 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6223 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6224 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6225 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6226 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6227 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6229
9cf27b8d
JM
62302014-11-05 Joseph Myers <joseph@codesourcery.com>
6231
6232 [BZ #14132]
6233 * include/libc-symbols.h (INTUSE): Remove macro.
6234 (INTDEF): Likewise.
6235 (INTVARDEF): Likewise.
6236 (_INTVARDEF): Likewise.
6237 (INTDEF2): Likewise.
6238 (INTVARDEF2): Likewise.
6239 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6240 rtld_hidden_def instead of INTVARDEF.
6241 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6242 (_dl_starting_up_internal): Remove declaration.
6243 (_dl_starting_up): Use rtld_hidden_proto.
6244 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6245 declaration.
6246 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6247 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6248 _dl_starting_up.
6249 * elf/dl-writev.h (_dl_writev): Likewise.
6250 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6251 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6252 _dl_starting_up_internal.
6253
af83568d
AZ
62542014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6257 test-skeleton.c.
6258
b01ee67c
WN
62592014-11-05 Will Newton <will.newton@linaro.org>
6260
6261 * benchtests/Makefile: (bench-malloc): Add malloc thread
6262 scalability benchmark.
6263 * benchtests/bench-malloc-threads.c: New file.
6264
be9d4ccc
RE
62652014-11-05 Richard Earnshaw <rearnsha@arm.com>
6266
6267 * sysdeps/aarch64/strchrnul.S: New file.
6268
7110166d
AZ
62692014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270
6271 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6272 definition.
6273 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6274 Likwise.
6275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6276 Likewise.
6277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6278 Likewise.
6279 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6280 Likewise.
6281 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6282 Likewise.
6283
62842014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6285
6286 * catgets/test-gencat.c: Use test-skeleton.c.
6287 * catgets/tst-catgets.c: Likewise.
6288 * csu/tst-empty.c: Likewise.
6289 * elf/tst-audit2.c: Likewise.
6290 * elf/tst-global1.c: Likewise.
6291 * elf/tst-pathopt.c: Likewise.
6292 * elf/tst-piemod1.c: Likewise.
6293 * elf/tst-tls10.c: Likewise.
6294 * elf/tst-tls11.c: Likewise.
6295 * elf/tst-tls12.c: Likewise.
6296 * gnulib/tst-gcc.c: Likewise.
6297 * iconvdata/tst-e2big.c: Likewise.
6298 * iconvdata/tst-loading.c: Likewise.
6299 * iconv/tst-iconv1.c: Likewise.
6300 * iconv/tst-iconv2.c: Likewise.
6301 * inet/test-inet6_opt.c: Likewise.
6302 * inet/tst-gethnm.c: Likewise.
6303 * inet/tst-network.c: Likewise.
6304 * inet/tst-ntoa.c: Likewise.
6305 * intl/tst-codeset.c: Likewise.
6306 * intl/tst-gettext2.c: Likewise.
6307 * intl/tst-gettext3.c: Likewise.
6308 * intl/tst-ngettext.c: Likewise.
6309 * intl/tst-translit.c: Likewise.
6310 * io/test-stat.c: Likewise.
6311 * libio/test-fmemopen.c: Likewise.
6312 * libio/tst-freopen.c: Likewise.
6313 * libio/tst-sscanf.c: Likewise.
6314 * libio/tst-ungetwc1.c: Likewise.
6315 * libio/tst-ungetwc2.c: Likewise.
6316 * libio/tst-widetext.c: Likewise.
6317 * localedata/tst-ctype.c: Likewise.
6318 * localedata/tst-digits.c: Likewise.
6319 * localedata/tst-leaks.c: Likewise.
6320 * localedata/tst-mbswcs1.c: Likewise.
6321 * localedata/tst-mbswcs2.c: Likewise.
6322 * localedata/tst-mbswcs3.c: Likewise.
6323 * localedata/tst-mbswcs4.c: Likewise.
6324 * localedata/tst-mbswcs5.c: Likewise.
6325 * localedata/tst-setlocale.c: Likewise.
6326 * localedata/tst-trans.c: Likewise.
6327 * localedata/tst-wctype.c: Likewise.
6328 * localedata/tst-xlocale1.c: Likewise.
6329 * login/tst-grantpt.c: Likewise.
6330 * malloc/tst-calloc.c: Likewise.
6331 * malloc/tst-malloc.c: Likewise.
6332 * malloc/tst-mallocstate.c: Likewise.
6333 * malloc/tst-mcheck.c: Likewise.
6334 * malloc/tst-mtrace.c: Likewise.
6335 * malloc/tst-obstack.c: Likewise.
6336 * math/atest-exp2.c: Likewise.
6337 * math/atest-exp.c: Likewise.
6338 * math/atest-sincos.c: Likewise.
6339 * math/test-matherr.c: Likewise.
6340 * math/test-misc.c: Likewise.
6341 * math/test-powl.c: Likewise.
6342 * math/tst-definitions.c: Likewise.
6343 * misc/tst-dirname.c: Likewise.
6344 * misc/tst-efgcvt.c: Likewise.
6345 * misc/tst-fdset.c: Likewise.
6346 * misc/tst-hsearch.c: Likewise.
6347 * misc/tst-mntent2.c: Likewise.
6348 * nptl/tst-sem7.c: Likewise.
6349 * nptl/tst-sem8.c: Likewise.
6350 * nptl/tst-sem9.c: Likewise.
6351 * nss/test-netdb.c: Likewise.
6352 * posix/tst-fnmatch.c: Likewise.
6353 * posix/tst-getlogin.c: Likewise.
6354 * posix/tst-gnuglob.c: Likewise.
6355 * posix/tst-mmap.c: Likewise.
6356 * pwd/tst-getpw.c: Likewise.
6357 * resolv/tst-inet_ntop.c: Likewise.
6358 * rt/tst-timer.c: Likewise.
6359 * stdio-common/test-fseek.c: Likewise.
6360 * stdio-common/test-popen.c: Likewise.
6361 * stdio-common/test-vfprintf.c: Likewise.
6362 * stdio-common/tst-cookie.c: Likewise.
6363 * stdio-common/tst-fileno.c: Likewise.
6364 * stdio-common/tst-gets.c: Likewise.
6365 * stdio-common/tst-obprintf.c: Likewise.
6366 * stdio-common/tst-perror.c: Likewise.
6367 * stdio-common/tst-sprintf2.c: Likewise.
6368 * stdio-common/tst-sprintf3.c: Likewise.
6369 * stdio-common/tst-sprintf.c: Likewise.
6370 * stdio-common/tst-swprintf.c: Likewise.
6371 * stdio-common/tst-tmpnam.c: Likewise.
6372 * stdio-common/tst-unbputc.c: Likewise.
6373 * stdio-common/tst-wc-printf.c: Likewise.
6374 * stdlib/tst-environ.c: Likewise.
6375 * stdlib/tst-fmtmsg.c: Likewise.
6376 * stdlib/tst-limits.c: Likewise.
6377 * stdlib/tst-rand48-2.c: Likewise.
6378 * stdlib/tst-rand48.c: Likewise.
6379 * stdlib/tst-random2.c: Likewise.
6380 * stdlib/tst-random.c: Likewise.
6381 * stdlib/tst-strtol.c: Likewise.
6382 * stdlib/tst-strtoll.c: Likewise.
6383 * stdlib/tst-tls-atexit.c: Likewise.
6384 * stdlib/tst-xpg-basename.c: Likewise.
6385 * string/test-ffs.c: Likewise.
6386 * string/tst-bswap.c: Likewise.
6387 * string/tst-inlcall.c: Likewise.
6388 * string/tst-strtok.c: Likewise.
6389 * string/tst-strxfrm.c: Likewise.
6390 * sysdeps/x86_64/tst-audit10.c: Likewise.
6391 * sysdeps/x86_64/tst-audit3.c: Likewise.
6392 * sysdeps/x86_64/tst-audit4.c: Likewise.
6393 * sysdeps/x86_64/tst-audit5.c: Likewise.
6394 * time/tst-ftime_l.c: Likewise.
6395 * time/tst-getdate.c: Likewise.
6396 * time/tst-mktime3.c: Likewise.
6397 * time/tst-mktime.c: Likewise.
6398 * time/tst-posixtz.c: Likewise.
6399 * time/tst-strptime2.c: Likewise.
6400 * time/tst-strptime3.c: Likewise.
6401 * wcsmbs/tst-btowc.c: Likewise.
6402 * wcsmbs/tst-mbrtowc.c: Likewise.
6403 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6404 * wcsmbs/tst-wchar-h.c: Likewise.
6405 * wcsmbs/tst-wcpncpy.c: Likewise.
6406 * wcsmbs/tst-wcrtomb.c: Likewise.
6407 * wcsmbs/tst-wcsnlen.c: Likewise.
6408 * wcsmbs/tst-wcstof.c: Likewise.
6409
2004e7fb
JM
64102014-11-04 Joseph Myers <joseph@codesourcery.com>
6411
ab97ee8f
JM
6412 [BZ #14132]
6413 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6414 INTDEF.
6415 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6416 declaration.
6417 (_dl_mcount): Use rtld_hidden_proto.
6418 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6419 _dl_mcount.
6420 * elf/rtld.c (_rtld_global_ro): Likewise.
6421
c5684fdb
JM
6422 [BZ #14132]
6423 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6424 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6425 of _dl_init_internal.
6426 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6427 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6428 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6429 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6430 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6431 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6432 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6433 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6434 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6435 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6436 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6437 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6438 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6439 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6440 * sysdeps/tile/dl-start.S (_start): Likewise.
6441 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6442 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6443
4243cbea
JM
6444 [BZ #14132]
6445 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6446 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6447 (rtld_progname): Make macro definition unconditional.
6448 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6449 INTDEF.
6450 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6451 (dl_main): Likewise.
6452 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6453 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6454 instead of _dl_argv_internal.
6455 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6456 __GI__dl_argv instead of INTUSE(_dl_argv).
6457 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6458 __GI__dl_argv instead of _dl_argv_internal.
6459
2004e7fb
JM
6460 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6461 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6462 macro.
6463 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6464 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6465 New macro.
6466 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6467 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6468 macro.
6469 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6470 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6471
97827bfc
AS
64722014-11-04 Andreas Schwab <schwab@suse.de>
6473
6474 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6475
5e4df284
AZ
64762014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6477
6478 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6479 mtvsrd instruction in binary form.
6480
04b76b5a
AS
64812014-11-03 Andreas Schwab <schwab@suse.de>
6482
6483 [BZ #17522]
6484 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6485 for less than MB_LEN_MAX use a local buffer of that size.
6486 * libio/tst-fputws.c: New file.
6487 * libio/Makefile (tests): Add tst-fputws.
6488
4c6da7da
JM
64892014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6490
6491 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6492 the size of the fpu_fr.fpu_dregs[] array.
6493
1679ba8e
JM
64942014-11-01 Joseph Myers <joseph@codesourcery.com>
6495
6496 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6497 (__nanosleep): Do not define as alias.
6498 (nanosleep): Define as alias of __nanosleep.
6499 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6500 __libc_nanosleep name.
6501
2626c183
JM
65022014-10-31 Joseph Myers <joseph@codesourcery.com>
6503
6504 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6505 install.texi in comment.
6506
7f981fc2
TR
65072014-10-31 Torvald Riegel <triegel@redhat.com>
6508
6509 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6510 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6511 ... add here and use lwsync or sync ...
6512 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6513 ... and add here using lwsync.
6514
d6f373d2
MF
65152014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6516
6517 * elf/dl-machine-reject-phdr.h: New file.
6518 * elf/dl-load.c: #include that.
6519 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6520 if that returned true.
6521
67c37987
RM
65222014-10-31 Roland McGrath <roland@hack.frob.com>
6523
6524 [BZ #17496]
6525 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6526 gen-as-const-headers chunk. Add a big scare comment after the last
6527 safe place to touch before-compile.
6528
94a42455 65292014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6530
f3f5d895
JM
6531 * manual/install.texi (Tools for Compilation): Update autoconf
6532 version requirements.
6533 * INSTALL: Regenerated.
6534
f62ff286
JM
6535 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6536 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6537 (__libc_pselect): Likewise.
94a42455
JM
6538
6539 [BZ #14138]
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6544
ff9dbdc0
TR
65452014-10-31 Torvald Riegel <triegel@redhat.com>
6546
6547 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6548 correct barrier instruction.
6549 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6550 Likewise.
6551 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6552 Likewise.
6553
b4f66884
RM
65542014-10-30 Roland McGrath <roland@hack.frob.com>
6555
6556 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6557 after defining inlines. Instead, just use parens to defeat macro
6558 expansion of __isctype in its declaration.
6559
e19c95fd
JM
65602014-10-30 Joseph Myers <joseph@codesourcery.com>
6561
6562 * include/sys/uio.h (__libc_readv): Remove declaration.
6563 (__libc_writev): Likewise.
6564 * misc/readv.c (__libc_readv): Rename to __readv.
6565 (__readv): Do not define as alias.
6566 (readv): Define as alias of __readv.
6567 * misc/writev.c (__libc_writev): Rename to __writev.
6568 (__writev): Do not define as alias.
6569 (writev): Define as alias of __writev.
6570 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6571 (__readv): Do not define as alias.
6572 (readv): Define unconditionally as alias of __readv.
6573 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6574 (__writev): Do not define as alias.
6575 (writev): Define unconditionally as alias of __writev.
6576 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6577 name.
6578 (writev): Do not define __libc_writev name.
6579
65b00b6c
RM
65802014-10-30 Roland McGrath <roland@hack.frob.com>
6581
6582 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6583 (convert_charseq): New function, broken out of ...
6584 (use_from_charmap): ... here. Call it.
6585 (use_to_charmap): Use convert_charseq and free instead of duplicating
6586 its code with a variable-length stack struct.
6587
d4e157aa
JM
65882014-10-30 Joseph Myers <joseph@codesourcery.com>
6589
6590 * include/fcntl.h (__libc_creat): Remove declaration.
6591 * io/creat.c (__libc_creat): Rename to creat.
6592 (creat): Do not define as alias.
6593 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6594 of creat instead of __libc_creat.
6595 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6596 to creat.
6597 (creat): Do not define as alias.
6598 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6599 __libc_creat.
6600 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6601 __libc_creat name.
6602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6603 Likewise.
6604
0c6891a0
CD
66052014-10-29 Carlos O'Donell <carlos@redhat.com>
6606
6607 * manual/llio.texi: Add comments discussing why write() may be
6608 considered MT-unsafe on Linux.
6609
cc00cece
CD
66102014-10-28 Carlos O'Donell <carlos@redhat.com>
6611
6612 * dl-load.c (local_strdup): Remove.
6613 (expand_dynamic_string_token): Use __strdup.
6614 (decompose_rpath): Likewise.
6615 (_dl_map_object): Likewise.
6616
51e623f2
JM
66172014-10-28 Joseph Myers <joseph@codesourcery.com>
6618
6619 [BZ #14132]
6620 * sysdeps/generic/unwind-dw2-fde.c
6621 (__register_frame_info_bases_internal): Do not declare.
6622 (__register_frame_info_table_bases_internal): Likewise.
6623 (__deregister_frame_info_bases_internal): Likewise.
6624 (__register_frame_info_bases): Declare and use hidden_proto before
6625 definition. Use hidden_def instead of INTDEF.
6626 (__register_frame_info_table_bases): Likewise.
6627 (__deregister_frame_info_bases): Likewise.
6628 (__register_frame_info): Do not use INTUSE.
6629 (__register_frame): Likewise.
6630 (__register_frame_info_table): Likewise.
6631 (__register_frame_table): Likewise.
6632 (__deregister_frame_info): Likewise.
6633 (__deregister_frame): Likewise.
6634
03d41216
GC
66352014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6636
6637 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6638 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6639 not undefine.
6640 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6641 Likewise.
6642 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6643 Likewise.
6644
a4b3624d
JM
66452014-10-27 Joseph Myers <joseph@codesourcery.com>
6646
6647 [BZ #14138]
6648 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6649 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6650 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6651 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6652 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6653 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6654 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6655 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6656 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6657 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6660 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6661 syscall.
6662 (setfsuid): Likewise.
6663 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6664 (setfsuid): Likewise.
6665 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6666 (setfsuid): Likewise.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6668 Likewise.
6669 (setfsuid): Likewise.
6670 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6671 (setfsuid): Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6673 Likewise.
6674 (setfsuid): Likewise.
6675
3574f2fd
AS
66762014-10-27 Andreas Schwab <schwab@suse.de>
6677
6678 [BZ #17501]
6679 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6680 check for Slow_SSE4_2 feature bit.
6681 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6682 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6683 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6684 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6685
70996a37
RM
66862014-10-24 Roland McGrath <roland@hack.frob.com>
6687
461a7b1e
RM
6688 * configure.ac: Validate compiler version with a empirical test of
6689 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6690 $CC -v output.
6691 * configure: Regenerated.
6692
70996a37
RM
6693 * inet/htons.c (htons): Prototypify.
6694 * inet/htonl.c (htonl): Likewise.
6695
e80514b5
WD
66962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6697
6698 * string/strncat.c (strncat): Improve performance by using strlen.
6699
6e46de42
WD
67002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6701
6702 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6703
6a9ad2fa
WD
67042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6705
6706 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6707 Call libc_fetestexcept_aarch64.
6708
1c8810ed
WD
67092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6710
6711 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6712 Call libc_feholdexcept_aarch64.
6713
8b1af712
WD
67142014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6715
6716 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6717 Call get_rounding_mode.
6718
a7b00c11
WD
67192014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6720
6721 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6722 Simplify logic.
6723
3a84f1a6
WD
67242014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6725
6726 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6727 Simplify logic.
6728
48eb7a94
JM
67292014-10-24 Joseph Myers <joseph@codesourcery.com>
6730
c8bc4038
JM
6731 [BZ #14138]
6732 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6733 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6734 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6735 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6736 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6737 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6738 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6739 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6740 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6741 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6742 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6743 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6744 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6745 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6746 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6747 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6748 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6749 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6750 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6751 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6752 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6754 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6755 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6756 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6757 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6758 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6759 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6760 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6761 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6762 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6763 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6764 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6765 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6766 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6769 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6772 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6773 syscall.
6774 (geteuid): Likewise.
6775 (getgid): Likewise.
6776 (getuid): Likewise.
6777 (getresgid): Likewise.
6778 (getresuid): Likewise.
6779 (getgroups): Likewise.
6780 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6781 (geteuid): Likewise.
6782 (getgid): Likewise.
6783 (getuid): Likewise.
6784 (getresgid): Likewise.
6785 (getresuid): Likewise.
6786 (getgroups): Likewise.
6787 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6788 (geteuid): Likewise.
6789 (getgid): Likewise.
6790 (getuid): Likewise.
6791 (getresgid): Likewise.
6792 (getresuid): Likewise.
6793 (getgroups): Likewise.
6794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6795 Likewise.
6796 (geteuid): Likewise.
6797 (getgid): Likewise.
6798 (getuid): Likewise.
6799 (getresgid): Likewise.
6800 (getresuid): Likewise.
6801 (getgroups): Likewise.
6802 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6803 (geteuid): Likewise.
6804 (getgid): Likewise.
6805 (getuid): Likewise.
6806 (getresgid): Likewise.
6807 (getresuid): Likewise.
6808 (getgroups): Likewise.
6809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6810 Likewise.
6811 (geteuid): Likewise.
6812 (getgid): Likewise.
6813 (getuid): Likewise.
6814 (getgroups): Likewise.
6815
48eb7a94
JM
6816 [BZ #14138]
6817 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6818 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6819 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6821 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6823 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6824 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6825 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6828 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6830 __chown.
6831 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6832 (lchown): Likewise.
6833 (fchown): Likewise.
6834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6835 Likewise.
6836 (lchown): Likewise.
6837 (fchown): Likewise.
6838 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6839 (lchown): Likewise.
6840 (fchown): Likewise.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6842 Likewise.
6843 (lchown): Likewise.
6844 (fchown): Likewise.
6845
ea9a7c8b
WD
68462014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6847
6848 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6849 Simplify logic.
6850
e226de33
WD
68512014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6852
6853 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6854 Cleanup logic.
6855
6e3d8ed3
WD
68562014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6857
6858 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6859 Remove unused include.
6860
eb04247d
WD
68612014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6862
6863 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6864 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6865 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6866 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6867
13d84554
CD
68682014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6869 Helge Deller <deller@gmx.de>
6870
6871 [BZ #17508]
6872 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6873 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6874 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6875
15f9c5df
JM
68762014-10-23 Joseph Myers <joseph@codesourcery.com>
6877
6878 [BZ #14132]
6879 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6880 Remove macro definition.
6881 (__ashrdi3_v_glibc20): Likewise.
6882 (__lshrdi3_v_glibc20): Likewise.
6883 (__cmpdi2_v_glibc20): Likewise.
6884 (__ucmpdi2_v_glibc20): Likewise.
6885 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6886 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6887 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6888 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6889 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6890 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6891
c6dfed24
RM
68922014-10-22 Roland McGrath <roland@hack.frob.com>
6893
6894 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6895 old GNU extension [0] syntax.
6896 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6897 alloca rather than an array member with variable length.
6898 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6899 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6900 (parse_opt): ... here. Likewise use alloca there.
6901 Validate the -i argument before checking for rootness.
6902 (send_shutdown): New function, broken out of ...
6903 (parse_opt): ... here.
6904
8c2b1ed8
RM
69052014-10-22 Roland McGrath <roland@hack.frob.com>
6906
6907 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6908 macro to get at the _rt_local_ro field.
6909 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6910 ([PIC] case) or _dl_hwcap ([!PIC] case).
6911 * sysdeps/arm/setjmp.S: Likewise.
6912
6913 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6914 * sysdeps/arm/configure.ac: New check to define it.
6915 * sysdeps/arm/configure: Regenerated.
6916 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6917 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6918 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6919 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6920 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6921 Use move/movt pair instead of a load.
6922 (LDST_GLOBAL): Macro removed.
6923 (LDR_GLOBAL): New macro replaces it.
6924 (LDR_HIDDEN): New macro.
6925 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6926 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6927
6928 * setjmp/tst-setjmp-static.c: New file.
6929 * setjmp/Makefile (tests): Add it.
6930 (tests-static): New variable.
6931
b5af9297
MR
69322014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6933
6934 [BZ #17485]
6935 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6936
a13d0d74
JM
69372014-10-21 Joseph Myers <joseph@codesourcery.com>
6938
6939 [BZ #14132]
6940 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6941
f05e73f6
RM
69422014-10-21 Roland McGrath <roland@hack.frob.com>
6943
6944 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6945
6ab1d1ea
RM
69462014-10-20 Roland McGrath <roland@hack.frob.com>
6947
6948 * io/fts.c (dirent_not_directory): New function.
6949 (fts_build): Call it.
6950
ab49e763
RM
69512014-10-20 Roland McGrath <roland@hack.frob.com>
6952
e436eb79
RM
6953 * nptl/version.c (__nptl_main): Use normal __write rather than
6954 INTERNAL_SYSCALL.
6955 (banner): Update copyright years.
6956
6af246cf
RM
6957 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6958 gettimeofday.
6959 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6960 * nptl/pthread_cond_timedwait.c: Likewise.
6961 * nptl/pthread_mutex_timedlock.c: Likewise.
6962 * nptl/sem_timedwait.c: Likewise.
6963
ab49e763
RM
6964 * sysdeps/nptl/bits/libc-lock.h
6965 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6966 (__libc_lock_init_recursive): Return void, not 0.
6967 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6968 (__libc_rwlock_init): Likewise.
6969 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6970
f50277c1
TR
69712014-10-20 Torvald Riegel <triegel@redhat.com>
6972
6973 [BZ #15215]
6974 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6975 (__pthread_once_slow): ... here.
6976 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6977 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6978
63668b70
TR
69792014-10-20 Torvald Riegel <triegel@redhat.com>
6980
6981 [BZ #15215]
6982 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6983 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6984 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6985 * nptl/pthread_once.c (__pthread_once): Likewise.
6986 Update comments.
6987
42b7f5d4
JM
69882014-10-20 Joseph Myers <joseph@codesourcery.com>
6989
6990 [BZ #14138]
6991 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6992 name.
6993 (writev): Use __libc_writev as strong name.
6994 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6995 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6996
b0643088
RM
69972014-10-17 Roland McGrath <roland@hack.frob.com>
6998
114c4e09
RM
6999 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7000
674b8978
RM
7001 * sysdeps/i386/nptl/tls.h
7002 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7003 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7004 New macros.
7005 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7006 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7007 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7008 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7009 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7010 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7011
184ee940
RM
7012 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7013 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7014 on [__NR_futex].
7015 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7016 broken out of ...
7017 (__pthread_mutex_init): ... here. Call it.
7018 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7019 Conditionalize PI cases on [__NR_futex].
7020 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7021 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7022 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7023
327ae257
RM
7024 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7025 conditional on [SIGSETXID].
7026 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7027 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7028 is defined. Likewise for SIGSETXID.
7029 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7030 Conditionalize definitions on [SIGSETXID].
7031 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7032 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7033 unblocking on [SIGCANCEL].
7034
b0643088
RM
7035 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7036 [__NR_set_robust_list].
7037
33cc770b
SP
70382014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
7040 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7041 (do_compare): Likewise.
7042
0742aef6
LH
70432014-10-17 Leonhard Holz <leonhard.holz@web.de>
7044
7045 [BZ #15884]
7046 * string/strcoll_l.c: Don't include stdio.h.
7047 (coll_seq): Remove members idxarr and rulearr.
7048 (get_next_seq_cached): Remove function.
7049 (get_next_seq): Likewise.
7050 (get_next_seq_nocache): Rename to get_next_seq.
7051 (do_compare): Remove function.
7052 (do_compare_nocache): Rename to do_compare.
7053 (STRCOLL): Remove weight and rules cache.
7054
ee54ce44
RM
70552014-10-16 Roland McGrath <roland@hack.frob.com>
7056
7057 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7058 * sysdeps/arm/sfp-machine.h: ... to here.
7059 * sysdeps/arm/Implies: Remove arm/soft-fp.
7060
a75d3b02
JM
70612014-10-14 Joseph Myers <joseph@codesourcery.com>
7062
7063 * conform/data/sys/utsname.h-data (*_t): Allow.
7064 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7065 [POSIX] (WEXITED): Do not expect constant.
7066 [POSIX] (WSTOPPED): Likewise.
7067 [POSIX] (WNOHANG): Likewise.
7068 [POSIX] (WNOWAIT): Likewise.
7069 [POSIX] (siginfo_t): Do not expect type or elements.
7070 [POSIX] (pid_t): Do not expect type.
7071 [POSIX] (signal.h): Do not allow header.
7072 [POSIX] (sys/resource.h): Likewise.
7073 [POSIX] (si_*): Do not allow pattern.
7074 [POSIX] (W*): Likewise.
7075 [POSIX] (P_*): Likewise.
7076 [POSIX] (BUS_*): Likewise.
7077 [POSIX] (CLD_*): Likewise.
7078 [POSIX] (FPE_*): Likewise.
7079 [POSIX] (ILL_*): Likewise.
7080 [POSIX] (POLL_*): Likewise.
7081 [POSIX] (SEGV_*): Likewise.
7082 [POSIX] (SI_*): Likewise.
7083 [POSIX] (TRAP_*): Likewise.
7084 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7085 variable.
7086
fda389c8
SP
70872014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7088
7089 [BZ #12926]
7090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7091 infinite loop when __recvmsg returns 0.
7092
6bc6bd3b
JM
70932014-10-10 Joseph Myers <joseph@codesourcery.com>
7094
fcb32af1
JM
7095 * CANCEL-FCT-WAIVE: Remove file.
7096 * CANCEL-FILE-WAIVE: Likewise.
7097
6bc6bd3b
JM
7098 [BZ #14132]
7099 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7100 instead of INTVARDEF.
7101 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7102 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7103 rtld_hidden_data_def instead of INTVARDEF.
7104 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7105 * elf/dl-deps.c (expand_dst): Likewise.
7106 * elf/dl-load.c (_dl_dst_count): Likewise.
7107 (_dl_dst_substitute): Likewise.
7108 (decompose_rpath): Likewise.
7109 (_dl_init_paths): Likewise.
7110 (open_path): Likewise.
7111 (_dl_map_object): Likewise.
7112 * elf/rtld.c (dl_main): Likewise.
7113 (process_dl_audit): Likewise.
7114 (process_envvars): Likewise.
7115 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7116 Remove declaration.
7117 (__libc_enable_secure): Use rtld_hidden_proto.
7118
b8c80a7e
KS
71192014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7120
7121 * elf/dl-load.c
7122 (add_path): New function broken out of _dl_rtld_di_serinfo.
7123 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7124
ff12c11f
JM
71252014-10-09 Joseph Myers <joseph@codesourcery.com>
7126
5c0508a3
JM
7127 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7128 parentheses around macro arguments.
7129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7130 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7132 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7133 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7136 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7140 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7141 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7142 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7144 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7145 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7150 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7154 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7158 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7159 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7160 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7161 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7162 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7163 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7164 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7165 Likewise.
7166 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7167 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7168 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7169 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7171 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7172 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7173 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7174 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7175 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7176 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7177 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7178 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7179 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7180 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7181 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7182 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7183 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7185 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7186 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7187 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7188 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7189 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7190 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7191 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7192 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7193 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7194 (_FP_FRAC_SRS_1): Likewise.
7195 (_FP_FRAC_CLZ_1): Likewise.
7196 (_FP_MUL_MEAT_1_imm): Likewise.
7197 (_FP_MUL_MEAT_1_wide): Likewise.
7198 (_FP_MUL_MEAT_1_hard): Likewise.
7199 (_FP_SQRT_MEAT_1): Likewise.
7200 (_FP_FRAC_ASSEMBLE_1): Likewise.
7201 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7202 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7203 (__FP_CLZ_2): Likewise.
7204 (_FP_MUL_MEAT_2_wide): Likewise.
7205 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7206 (_FP_MUL_MEAT_2_gmp): Likewise.
7207 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7208 (_FP_SQRT_MEAT_2): Likewise.
7209 (_FP_FRAC_ASSEMBLE_2): Likewise.
7210 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7211 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7212 (_FP_FRAC_CLZ_4): Likewise.
7213 (_FP_MUL_MEAT_4_wide): Likewise.
7214 (_FP_MUL_MEAT_4_gmp): Likewise.
7215 (_FP_SQRT_MEAT_4): Likewise.
7216 (_FP_FRAC_ASSEMBLE_4): Likewise.
7217 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7218 * soft-fp/op-common.h (_FP_CMP): Likewise.
7219 (_FP_CMP_EQ): Likewise.
7220 (_FP_CMP_UNORD): Likewise.
7221 (_FP_TO_INT): Likewise.
7222 (_FP_FROM_INT): Likewise.
7223 [!__FP_CLZ] (__FP_CLZ): Likewise.
7224 (_FP_DIV_HELP_imm): Likewise.
7225 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7226 Likewise.
7227 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7228 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7230 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7232 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7233 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7234 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7235 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7236 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7237 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7238 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7239 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7240 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7241 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7242 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7243 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7245 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7250 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7251 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7252 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7254 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7255 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7256 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7257 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7258 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7259 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7260 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7261 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7262 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7263 (FP_UNPACK_RAW_SP): Likewise.
7264 (FP_PACK_RAW_S): Likewise.
7265 (FP_PACK_RAW_SP): Likewise.
7266 (FP_UNPACK_S): Likewise.
7267 (FP_UNPACK_SP): Likewise.
7268 (FP_UNPACK_SEMIRAW_S): Likewise.
7269 (FP_UNPACK_SEMIRAW_SP): Likewise.
7270 (FP_PACK_S): Likewise.
7271 (FP_PACK_SP): Likewise.
7272 (FP_PACK_SEMIRAW_S): Likewise.
7273 (FP_PACK_SEMIRAW_SP): Likewise.
7274 (_FP_SQRT_MEAT_S): Likewise.
7275 (FP_CMP_S): Likewise.
7276 (FP_CMP_EQ_S): Likewise.
7277 (FP_CMP_UNORD_S): Likewise.
7278 (FP_TO_INT_S): Likewise.
7279 (FP_FROM_INT_S): Likewise.
7280
a736ec37
JM
7281 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7282
ff12c11f
JM
7283 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7284 (FP_EX_INVALID_IMZ): Likewise.
7285 (FP_EX_INVALID_IMZ_FMA): Likewise.
7286 (FP_EX_INVALID_ISI): Likewise.
7287 (FP_EX_INVALID_ZDZ): Likewise.
7288 (FP_EX_INVALID_IDI): Likewise.
7289 (FP_EX_INVALID_SQRT): Likewise.
7290 (FP_EX_INVALID_CVI): Likewise.
7291 (FP_EX_INVALID_VC): Likewise.
7292 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7293 "invalid" exceptions.
7294 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7295 (_FP_ADD_INTERNAL): Likewise.
7296 (_FP_MUL): Likewise.
7297 (_FP_FMA): Likewise.
7298 (_FP_DIV): Likewise.
7299 (_FP_CMP_CHECK_NAN): Likewise.
7300 (_FP_SQRT): Likewise.
7301 (_FP_TO_INT): Likewise.
7302 (FP_EXTEND): Likewise.
7303
b6dcfe8c
AM
73042014-10-09 Allan McRae <allan@archlinux.org>
7305
7306 * po/fr.po: Update French translation from translation project.
7307
2d6a47ba
JM
73082014-10-09 Joseph Myers <joseph@codesourcery.com>
7309
cb831245
JM
7310 [BZ #14132]
7311 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7312 of INTDEF.
7313 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7314 (__cxa_atexit): Use libc_hidden_proto.
7315 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7316
5deeb190
JM
7317 [BZ #14132]
7318 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7319 declaration.
7320 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7321 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7322 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7323 [!_ISOMAC] (__iswctype_internal): Likewise.
7324 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7325 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7326 alias.
7327 (fcntl): Remove __fcntl_internal alias.
7328 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7329 __connect_internal alias.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7331 Likewise.
7332
454ac701
JM
7333 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7334 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7335 FP_DENORM_ZERO.
7336 (_FP_CHECK_FLUSH_ZERO): New macro.
7337 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7338 (_FP_CMP): Likewise.
7339 (_FP_CMP_EQ): Likewise.
7340 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7341 FP_DENORM_ZERO.
7342 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7343 (FP_TRUNC): Likewise.
7344
0022e688
JM
7345 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7346 treated as invalid conversion, not as normal exponent.
7347
73e28d9c
JM
7348 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7349 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7350 (_FP_CMP_EQ): Likewise.
7351 (_FP_CMP_UNORD): Likewise.
7352 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7353 (FP_CMP_EQ_D): Likewise.
7354 (FP_CMP_UNORD_D): Likewise.
7355 * soft-fp/extended.h (FP_CMP_E): Likewise.
7356 (FP_CMP_EQ_E): Likewise.
7357 (FP_CMP_UNORD_E): Likewise.
7358 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7359 (FP_CMP_EQ_Q): Likewise.
7360 (FP_CMP_UNORD_Q): Likewise.
7361 * soft-fp/single.h (FP_CMP_S): Likewise.
7362 (FP_CMP_EQ_S): Likewise.
7363 (FP_CMP_UNORD_S): Likewise.
7364 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7365 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7366 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7367 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7368 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7369 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7370 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7371 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7372 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7373 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7374 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7375 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7376 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7377 to FP_CMP_Q.
7378 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7379 FP_CMP_Q.
7380 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7381 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7382 FP_CMP_EQ_Q.
7383 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7384 FP_CMP_Q.
7385 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7386 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7387 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7388 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7389 FP_CMP_EQ_Q.
7390 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7391 FP_CMP_Q.
7392 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7393 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7394 FP_CMP_EQ_Q.
7395 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7396 FP_CMP_Q.
7397 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7398 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7399 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7400 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7401 FP_CMP_EQ_Q.
7402
43059f42
JM
7403 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7404 a subnormal result, set the underflow exception if trapping on
7405 underflow is enabled.
7406 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7407 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7408 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7409 redefine to 0.
7410 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7411 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7412 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7413 * soft-fp/extendxftf2.c (__extendxftf2): Use
7414 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7415
2d6a47ba
JM
7416 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7417 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7418 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7419 FP_HANDLE_EXCEPTIONS.
7420 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7421 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7422 FP_HANDLE_EXCEPTIONS.
7423 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7424 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7425 FP_HANDLE_EXCEPTIONS.
7426 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7427 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7428 FP_HANDLE_EXCEPTIONS.
7429
620f462e
JM
74302014-10-08 Joseph Myers <joseph@codesourcery.com>
7431
7432 [BZ #14132]
7433 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7434 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7435 use INTUSE.
7436 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7437 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7438 Remove alias.
7439 (__adjtimex): Define using libc_hidden_ver.
7440 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7441 Remove declaration.
7442 (ntp_gettime): Call __adjtimex directly.
7443 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7444 Remove declaration.
7445 (ntp_gettimex): Call __adjtimex directly.
7446 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7447 __adjtimex_internal alias.
7448
c763c5d2
RM
74492014-10-08 Roland McGrath <roland@hack.frob.com>
7450
7451 [BZ #17460]
7452 * nscd/nscd.c (more_help): Rewrite list of tables collection
7453 using xstrdup and asprintf.
7454
7455 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7456
7b8fb2b8
RM
74572014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7458 Roland McGrath <roland@hack.frob.com>
7459
7460 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7461 (do_lookup_unique): ... local function 'enter' here; update callers.
7462
abb280f7
JM
74632014-10-06 Joseph Myers <joseph@codesourcery.com>
7464
f7b42517
JM
7465 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7466 compat_symbol calls on [SHARED].
7467 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7468 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7469 Remove.
7470 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7471 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7472 (oldsetrlimit): Remove.
7473 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7475 (lchown): New syscall entry.
7476 (oldsetrlimit): Remove.
7477 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7479 (oldsetrlimit): Remove.
7480 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7481
abb280f7
JM
7482 [BZ #14138]
7483 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7484 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7485 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7486 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7487 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7488 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7489 (fchown): Likewise.
7490 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7491 (fchown): Likewise.
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7493 Likewise.
7494
47d46237
AZ
74952014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7496
7497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7498 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7499 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7500 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7501 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7502 Likewise.
7503 (__old_sem_post): Likewise.
7504
75052014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7506
845a7343
CM
7507 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7508 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7509 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7510 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7511 Use INLINE_VSYSCALL macro.
7512 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7513 __vdso_clock_gettime.
7514 * sysdeps/unix/sysv/linux/tile/init-first.c
7515 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7516 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7517 __vdso_clock_gettime.
7518
83d641ef
CM
7519 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7520 to set up frame more cleanly.
7521
d9cd52e6
CM
7522 * sysdeps/tile/memcmp.c: New file.
7523
4b68ea11
CM
7524 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7525
c86f7b80
CM
7526 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7527 * sysdeps/tile/tilegx/strcasestr.c: New file.
7528 * sysdeps/tile/tilegx/strnlen.c: New file.
7529 * sysdeps/tile/tilegx/strstr.c: New file.
7530
1c4c1a6f
CM
7531 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7532
99d86ea3
AS
75332014-10-06 Arjun Shankar <arjun.is@lostca.se>
7534
7535 * nptl/tst-setuid3.c: Write errors to stdout.
7536
06210a44
KS
75372014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7538
7539 * elf/dl-deps.c
7540 (preload): New functions broken out of _dl_map_object_deps.
7541 (_dl_map_object_deps): Remove a nested function. Update call sites.
7542
6268f532
JM
75432014-10-01 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #14138]
7546 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7547 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7548
b925285f
SE
75492014-10-01 Steve Ellcey <sellcey@mips.com>
7550
7551 * sysdeps/mips/strcmp.S: New.
7552
754a15c6
JM
75532014-09-30 Joseph Myers <joseph@codesourcery.com>
7554
7555 [BZ #14138]
7556 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7557 (linkat): Likewise.
7558 (mkdirat): Likewise.
7559 (readlinkat): Likewise.
7560 (renameat): Likewise.
7561 (symlinkat): Likewise.
7562 (unlinkat): Likewise.
7563 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7564 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7565 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7566 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7567 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7568 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7569 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7570
85bb81c9
WN
75712014-09-30 Will Newton <will.newton@linaro.org>
7572
dc6fe23b
WN
7573 * math/math.h: Define long double math functions if
7574 _LIBC_TEST is defined.
7575 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7576
85bb81c9
WN
7577 * localedata/Makefile: Move assignment to tests-special
7578 into an ifdef testing run-built-tests.
7579 * timezone/Makefile: Likewise.
7580
b7e02da4
JM
75812014-09-29 Joseph Myers <joseph@codesourcery.com>
7582
7583 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7584 with $(BASH) not $(SHELL).
7585
62058ce6
CD
75862014-09-29 Carlos O'Donell <carlos@redhat.com>
7587 Matthew LeGendre <legendre1@llnl.gov>
7588
7589 [BZ #17411]
7590 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7591 l_reloc_result.
7592
8e257a29
KS
75932014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7594
7595 * stdio-common/printf_fp.c
7596 (hack_digit): New function, broken out of ...
7597 (__printf_fp): ... local function here. Update call sites.
7598 hack_digit now takes an additional parameter that is a pointer
7599 to a struct of the referenced locals. Those locals moved inside
7600 the struct and references updated.
7601
f4a58f0d
L
76022014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7603
7604 * aclocal.m4: Require autoconf 2.69.
7605 * configure: Regenerated.
7606 * sysdeps/aarch64/configure: Likewise.
7607 * sysdeps/alpha/configure: Likewise.
7608 * sysdeps/arm/armv7/configure: Likewise.
7609 * sysdeps/arm/configure: Likewise.
7610 * sysdeps/ia64/configure: Likewise.
7611 * sysdeps/mach/configure: Likewise.
7612 * sysdeps/mips/configure: Likewise.
7613 * sysdeps/s390/configure: Likewise.
7614 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7616
7617 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7618 file.
7619 * sysdeps/ia64/configure.ac: Likewise.
7620
93ae1eba
JM
76212014-09-26 Joseph Myers <joseph@codesourcery.com>
7622
1810d3ab
JM
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7624 specify symbol version for ld.so. Do not include entry for
7625 libpthread.
7626 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7627 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7628 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7629
93ae1eba
JM
7630 [BZ #14171]
7631 * Makeconfig [$(build-shared) = yes]
7632 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7633 makefiles.
7634 [$(build-shared) = yes && $(soversions.mk-done) = t]
7635 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7636 [$(build-shared) = yes && $(soversions.mk-done) = t]
7637 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7638 to Makerules.
7639 [$(build-shared) = yes && $(soversions.mk-done) = t]
7640 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7641 here.
7642 [$(build-shared) = yes && $(soversions.mk-done) = t]
7643 (common-generated): Don't append gnu/lib-names.h and
7644 gnu/lib-names.stmp here.
7645 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7646 (lib-names-h-abi): New variable.
7647 [$(build-shared) = yes && $(soversions.mk-done) = t]
7648 (lib-names-stmp-abi): Likewise.
7649 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7650 abi-variants] (before-compile): Append
7651 $(common-objpfx)$(lib-names-h-abi).
7652 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7653 abi-variants] (common-generated): Append gnu/lib-names.h.
7654 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7655 abi-variants] (install-others-nosubdir): Depend on
7656 $(inst_includedir)/$(lib-names-h-abi).
7657 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7658 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7659 [$(build-shared) = yes && $(soversions.mk-done) = t]
7660 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7661 [$(build-shared) = yes && $(soversions.mk-done) = t]
7662 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7663 [$(build-shared) = yes && $(soversions.mk-done) = t]
7664 (common-generated): Append $(lib-names-h-abi) and
7665 $(lib-names-stmp-abi).
7666 * scripts/lib-names.awk: Do not handle multi being set.
7667 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7668 Remove variable.
7669 (abi-lp64_be-ld-soname): Likewise.
7670 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7671 Likewise.
7672 (abi-hard-ld-soname): Likewise.
7673 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7674 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7675 Remove variable.
7676 (abi-o32_hard-ld-soname): Likewise.
7677 (abi-o32_soft_2008-ld-soname): Likewise.
7678 (abi-o32_hard_2008-ld-soname): Likewise.
7679 (abi-n32_soft-ld-soname): Likewise.
7680 (abi-n32_hard-ld-soname): Likewise.
7681 (abi-n32_soft_2008-ld-soname): Likewise.
7682 (abi-n32_hard_2008-ld-soname): Likewise.
7683 (abi-n64_soft-ld-soname): Likewise.
7684 (abi-n64_hard-ld-soname): Likewise.
7685 (abi-n64_soft_2008-ld-soname): Likewise.
7686 (abi-n64_hard_2008-ld-soname): Likewise.
7687 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7688 Likewise.
7689 (abi-64-v2-ld-soname): Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7691 ld.so entries.
7692 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7693 variable.
7694 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7695 entry.
7696 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7697 variable.
7698 (abi-64-ld-soname): Likewise.
7699 (abi-x32-ld-soname): Likewise.
7700 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7701 entry.
7702 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7703
68870f12
JM
77042014-09-23 Joseph Myers <joseph@codesourcery.com>
7705
7706 [BZ #14138]
7707 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7708 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7709 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7712 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7713 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7714 syscall entry for GLIBC_2.2 symbol version.
7715 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7718 (setrlimit): Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7720 Likewise.
7721
ea58f202
WN
77222014-09-23 Will Newton <will.newton@linaro.org>
7723
7724 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7725 _LINUX_ARM_SYSDEP_H include guard too.
7726 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7727 define.
7728
69eb9a18
RV
77292014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7730
7731 * sysdeps/unix/sysv/linux/eventfd.c:
7732 Make first argument unsigned.
7733 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7735
20e5a5f7
OB
77362014-09-20 Ondřej Bílka <neleai@seznam.cz>
7737
7738 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7739 * socket/sys/socket.h: Likewise
7740 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7741
d3c827e7
AK
77422014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7743
7744 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7745
fe1cc35a
AS
77462014-09-17 Arjun Shankar <arjun.is@lostca.se>
7747
7748 * time/tst-ftime.c: New test.
7749 * time/Makefile (tests): Add tst-ftime.
7750
4e8afe69
JM
77512014-09-17 Joseph Myers <joseph@codesourcery.com>
7752
c4fe3ea7
JM
7753 * soft-fp/extended.h: Fix comment formatting.
7754 * soft-fp/op-1.h: Likewise.
7755 * soft-fp/op-2.h: Likewise.
7756 * soft-fp/op-4.h: Likewise.
7757 * soft-fp/op-8.h: Likewise.
7758 * soft-fp/op-common.h: Likewise.
7759 * soft-fp/soft-fp.h: Likewise.
7760
4e8afe69
JM
7761 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7762
af296fcd
JM
77632014-09-16 Joseph Myers <joseph@codesourcery.com>
7764
7765 [BZ #6652]
7766 * Makeconfig (soversions-default-setname): Remove variable.
7767 ($(common-objpfx)soversions.i): Don't pass default_setname to
7768 soversions.awk.
7769 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7770 oldest_abi to abi-versions.awk.
7771 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7772 * config.make.in (oldest-abi): Remove variable.
7773 * configure.ac (--enable-oldest-abi): Remove configure option.
7774 * configure: Regenerated.
7775 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7776 text.
7777 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7778 * scripts/soversions.awk: Do not handle default_setname variable.
7779 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7780 variable.
7781 * sysdeps/mach/hurd/configure: Regenerated.
7782 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7783 variable.
7784 * sysdeps/unix/sysv/linux/configure: Regenerated.
7785
545583d6
SP
77862014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7787
d330b980
SP
7788 * elf/Makefile (CFLAGS-interp.c): Remove.
7789 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7790 path string.
7791 * elf/interp.c: Include generated runtime-linker.h
7792
02657da2
SP
7793 * Makerules (lib%.so): Don't include $(+interp) in
7794 prerequisites.
7795 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7796 * dlfcn/eval.c: Remove file.
7797
653b1080
SP
7798 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7799 macros.
7800
602f80ec
SP
7801 [BZ #17266]
7802 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7803 4.2 and newer.
7804
545583d6
SP
7805 [BZ #17370]
7806 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7807
884ddc50
SP
78082014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7809 Jakub Jelinek <jakub@redhat.com>
7810
7811 [BZ #17266]
7812 * libio/stdio.h: Check definition of __fortify_function
7813 instead of __extern_always_inline to include bits/stdio2.h.
7814 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7815 check if __extern_always_inline is defined.
7816 [__USE_MISC || __USE_XOPEN]: Likewise.
7817 [__USE_ISOC99] Likewise.
7818 * misc/sys/cdefs.h (__fortify_function): Define only if
7819 __extern_always_inline is defined.
7820 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7821 __extern_always_inline and __extern_inline only for g++-4.3
7822 and newer or a compatible gcc.
7823
a7b87268
AS
78242014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 [BZ #17371]
7827 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7828 last change to handle zero prefix length.
7829
3f41521d
SP
78302014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7831
61fe374a
SP
7832 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7833 _SC_REGEX_VERSION.
7834
3f41521d
SP
7835 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7836 _POSIX_RAW_SOCKETS.
7837
d8f879ee
AM
78382014-09-13 Allan McRae <allan@archlinux.org>
7839
7840 * po/ru.po: Update Russian translation from translation project.
7841
c079afb7
RM
78422014-09-12 Roland McGrath <roland@hack.frob.com>
7843
a62b3c15
RM
7844 * locale/programs/locale.c (show_locale_vars): Inline local function
7845 into its sole call site. Clean up some style nits.
7846 (print_item): New function, broken out of ...
7847 (show_info): ... local function here. Clean up style nits.
7848
d7e49b19
RM
7849 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7850 out of ...
7851 (set_class_defaults): ... local function set_default here.
7852 Define set_default as a macro locally to pass constant parameters.
7853 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7854 rather than a shared local.
7855
c079afb7
RM
7856 * stdlib/rpmatch.c (try): New function, broken out of ...
7857 (rpmatch): ... local function here. Also, prototypify definition.
7858
0bd72468
JM
78592014-09-12 Joseph Myers <joseph@codesourcery.com>
7860
ba90e050
JM
7861 * scripts/soversions.awk: Do not handle configuration names.
7862 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7863 vendor and os variables to soversions.awk.
7864 * configure.ac: Do not modify gnu-* host_os.
7865 * configure: Regenerated
7866 * shlib-versions: Remove first column with configuration names.
7867 * nptl/shlib-versions: Likewise.
7868 * nptl_db/shlib-versions: Likewise.
7869 * sysdeps/hppa/shlib-versions: Likewise.
7870 * sysdeps/m68k/shlib-versions: Likewise.
7871 * sysdeps/mach/hurd/shlib-versions: Likewise.
7872 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7873 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7874 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7875 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7876 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7877 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7878 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7879 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7881 Likewise.
7882 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7883 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7884 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7885 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7886 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7887 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7890
73a39112
JM
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7892 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7894 Regenerated.
7895 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7897 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7898
c729e7c1
JM
7899 * shlib-versions: Remove OS-specific entries. Moved to files in
7900 sysdeps.
7901 * sysdeps/mach/hurd/shlib-versions: New file.
7902 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7903
dc932a24
JM
7904 * nptl/shlib-versions: Remove architecture-specific entries.
7905 Moved to files in sysdeps.
7906 * shlib-versions: Likewise.
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7908 file.
7909 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7910 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7913
0bd72468
JM
7914 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7915 (UDP_NO_CHECK6_RX): Likewise.
7916
920238e0
SP
79172014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7918
7919 * sysdeps/posix/sysconf.c (__sysconf): Spell
7920 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7921
ba7b4d29
FW
79222014-08-12 Florian Weimer <fweimer@redhat.com>
7923
7924 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7925 loading.
7926 * iconv/Versions (__gconv_transliterate): Export for use from
7927 gconv modules.
7928 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7929 (struct __gconv_trans_data, __gconv_trans_fct,
7930 __gconv_trans_context_fct, __gconv_trans_query_fct,
7931 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7932 definitions.
7933 (struct __gconv_step_data): Remove __trans member.
7934 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7935 longer hidden. Remove unused trans_data argument.
7936 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7937 (__gconv_translit_find): Remove declaration.
7938 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7939 prototype.
7940 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7941 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7942 trans_data argument. Add hidden definition.
7943 (__gconv_translit_find): Remove.
7944 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7945 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7946 * iconv/skeleton.c: Remove transliteration initialization.
7947 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7948 __gconv_step_data initialization.
7949 * libio/iofwide.c (__libio_translit_): Remove.
7950 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7951 * wcsmbs/btowc.c (__btowc): Likewise.
7952 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7953 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7954 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7955 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7956 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7957 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7958 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7959 * wcsmbs/wctob.c (wctob): Likewise.
7960
5379aebd
SP
79612014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7962
7963 [BZ #16194]
7964 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7965 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7966 register usage.
7967 * sysdeps/x86/Makefile: Adjust.
7968
8c0ab919
RM
79692014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7970 Roland McGrath <roland@hack.frob.com>
7971
7972 * locale/weight.h: Add include guard.
7973 (findidx): Make static rather than auto; take new parameters
7974 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7975 * locale/weightwc.h: Likewise.
7976 * posix/fnmatch_loop.c
7977 (FCT): Change type of EXTRA from int32_t to wint_t.
7978 Don't include either header inside the function.
7979 Call FINDIDX rather than findidx, and pass new arguments.
7980 #undef FINDIDX at the end of the file.
7981 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7982 FINDIDX before including fnmatch_loop.c for the non-wide version.
7983 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7984 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7985 for the wide version.
7986 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7987 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7988 Pass new arguments to findidx.
7989 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7990 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7991 Don't #include it inside the function. Pass new arguments to findidx.
7992 * posix/regex_internal.h
7993 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7994 (re_string_elem_size_at): Don't #include it inside the function.
7995 Pass new arguments to findidx.
7996 * string/strcoll_l.c: #include WEIGHT_H at top level.
7997 (get_next_seq): Don't #include it inside the function.
7998 Pass new arguments to findidx.
7999 (get_next_seq_nocache): Likewise.
8000 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8001 (STRXFRM): Don't #include it inside the function.
8002 Pass new arguments to findidx.
8003
52ffbdf2
FW
80042014-09-11 Florian Weimer <fweimer@redhat.com>
8005
8006 [BZ #17344]
8007 * malloc/malloc.c (unlink): Turn asserts into a call to
8008 malloc_printerr.
8009
984c0ea9
TL
80102014-09-11 Tim Lammens <tim.lammens@gmail.com>
8011
8012 [BZ #17370]
8013 * libio/wfileops (do_ftell_wide): Free OUT.
8014
3daee107
CM
80152014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8016
8017 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8018
58b930ae
SP
80192014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8020
8021 [BZ #17363]
8022 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8023 group if the current group is empty.
8024
3b473fec
AZ
80252014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8026
71ae8647
AZ
8027 * benchtests/bench-memset.c (test_main): Add more test from size
8028 from 32 to 512 bytes.
8029 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8030 Add POWER8 memset object.
8031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8032 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8033 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8034 implementation.
8035 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8036 Likewise.
8037 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8038 multiarch POWER8 memset optimization.
8039 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8040 POWER8 memset optimization.
8041
3b473fec
AZ
8042 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8043 Remove bzero multiarch objects.
8044 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8045 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8048 Remove define.
8049 [__bzero]: Redefine to specific name.
8050 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8052 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8053 define.
8054 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8055 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8056
e6fb9587
FW
80572014-09-10 Florian Weimer <fweimer@redhat.com>
8058
8059 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8060 warnings into errors.
8061
8062 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8063 __cxa_thread_atexit_impl prototype.
8064
9d3a350b
SE
80652014-09-09 Steve Ellcey <sellcey@mips.com>
8066
8067 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8068 Fix capitalization of error message.
8069
0febba23
SE
80702014-09-09 Steve Ellcey <sellcey@mips.com>
8071
8072 * sysdeps/mips/preconfigure: Modify ABI tests.
8073
645a0e9c
CD
80742014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8075
8076 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8077
d83f0734
CD
80782014-09-07 Roland McGrath <roland@hack.frob.com>
8079 Carlos O'Donell <carlos@systemhalted.org>
8080
8081 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8082 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8083 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8084 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8085 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8086 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8087 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8088 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8089 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8090 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8091 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8092 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8093 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8094 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8095 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8096 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8097 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8098 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8099 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8100 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8101 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8102 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8103 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8104 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8105 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8106 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8107 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8108 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8109 Deconditionalize the code that was previously under [RESET_PID].
8110 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8111 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8112 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8113 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8114 include sysdep.h.
8115
21c83793
AM
81162014-09-08 Allan McRae <allan@archlinux.org>
8117
8118 * version.h (RELEASE): Set to "development".
8119 (VERSION): Set to "2.20.90"
8120
1cd9b65c
AM
81212014-09-07 Allan McRae <allan@archlinux.org
8122
b8079dd0
AM
8123 * version.h (RELEASE): Set to "stable".
8124 (VERSION): Set to "2.20"
8125 * include/features.h (__GLIBC_MINOR__): Set to 20.
8126
c46303ef
AM
8127 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8128 Liebler.
8129
1cd9b65c
AM
8130 * po/ko.po: Update Korean translation from translation project.
8131
8622092d
CM
81322014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8133
8134 [BZ #17354]
8135 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8136 macro for handling signed relocations.
8137
41488498
FW
81382014-09-03 Florian Weimer <fweimer@redhat.com>
8139
8140 [BZ #17325]
8141 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8142 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8143 assert.
8144 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8145 * iconvdata/ibm935.c (BODY): Likewise.
8146 * iconvdata/ibm937.c (BODY): Likewise.
8147 * iconvdata/ibm939.c (BODY): Likewise.
8148 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8149 assert.
8150 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8151 script.
8152 * iconvdata/run-iconv-test.sh: New test loop for checking for
8153 decoder crashers.
8154
a78b712d
KR
81552014-09-02 Khem Raj <raj.khem@gmail.com>
8156
8157 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8158 libm_hidden_ver.
8159
cb08abc6
AM
81602014-09-01 Allan McRae <allan@archlinux.org>
8161
2c31e102
AM
8162 * po/eo.po: Update Esperanto translation from translation project.
8163
cb08abc6
AM
8164 * po/ca.po: Update Catalan translation from translation project.
8165
17a62de1
ST
81662014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8167
8168 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8169 __proc_dostop call.
8170
9570bc53
MW
81712014-08-27 Mark Wielaard <mjw@redhat.com>
8172
8173 [BZ #17319]
8174 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8175 to call set_thread_area instead of hand written asm.
8176 (__NR_set_thread_area): Removed define.
8177 (TLS_FLAG_WRITABLE): Likewise.
8178 (__ASSUME_SET_THREAD_AREA): Remove check.
8179 (TLS_EBX_ARG): Remove define.
8180 (TLS_LOAD_EBX): Likewise.
8181
b0f955c9
ST
81822014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8183
8184 Simplify atomicity of socket creation in bind.
8185
8186 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8187 looking up the name after linking the file.
8188
529bf515
AM
81892014-08-27 Allan McRae <allan@archlinux.org>
8190
8191 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8192
a1a6a401
FW
81932014-08-26 Florian Weimer <fweimer@redhat.com>
8194
8195 [BZ #17187]
8196 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8197 trans_compare, open_translit, __gconv_translit_find):
8198 Remove module loading code.
8199
686ab290
AM
82002014-08-26 Allan McRae <allan@archlinux.org>
8201
e4e7cfd2
AM
8202 * po/vi.po: Update Vietnamese translation from translation project.
8203
6aa09f71
AM
8204 * po/uk.po: Update Ukrainian translation from translation project.
8205
edc0660e
AM
8206 * po/fr.po: Update French translation from translation project.
8207
7eea72ac
AM
8208 * po/ru.po: Update Russian translation from translation project.
8209
93c49eff
AM
8210 * po/pl.po: Update Polish translation from translation project.
8211
46acaf63
AM
8212 * po/cs.po: Update Czech translation from translation project.
8213
a9f5ce98
AM
8214 * po/de.po: Update German translation from translation project.
8215
373f2b78
AM
8216 * po/bg.po: Update Bulgarian translation from translation project.
8217
e7548bd8
AM
8218 * po/sv.po: Update Sweedish translation from translation project.
8219
c526bf4d
AM
8220 * po/nl.po: Update Dutch translation from translation project.
8221
686ab290
AM
8222 * po/es.po: Update Spanish translation from translation project.
8223
eb72478a
SP
82242014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8225
dd763fdb
SP
8226 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8227
318c7a58
SP
8228 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8229 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8230 (CPPFLAGS-iconvconfig): Likewise.
8231 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8232
eb72478a
SP
8233 * include/libc-symbols.h: Remove unnecessary check for
8234 NOT_IN_libc.
8235 * nptl/pthreadP.h: Likewise.
8236 * sysdeps/aarch64/setjmp.S: Likewise.
8237 * sysdeps/alpha/setjmp.S: Likewise.
8238 * sysdeps/arm/sysdep.h: Likewise.
8239 * sysdeps/i386/setjmp.S: Likewise.
8240 * sysdeps/m68k/setjmp.c: Likewise.
8241 * sysdeps/posix/getcwd.c: Likewise.
8242 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8243 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8244 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8245 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8246 * sysdeps/sh/sh3/setjmp.S: Likewise.
8247 * sysdeps/sh/sh4/setjmp.S: Likewise.
8248 * sysdeps/unix/alpha/sysdep.h: Likewise.
8249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8251 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8252 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8257 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8260 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8262 * sysdeps/x86_64/setjmp.S: Likewise.
8263
d44a052c
JM
82642014-08-13 Joseph Myers <joseph@codesourcery.com>
8265
8266 [BZ #17263]
8267 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8268 <stdint.h>.
8269 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8270 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8271
508ce3ac
SP
82722014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8273
e44c8b0e
SP
8274 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8275
508ce3ac
SP
8276 [BZ #17262]
8277 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8278 and __x86_64__ when disabling x87 inline functions.
8279
b4acef1f
L
82802014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8281
8282 [BZ #17259]
8283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8284 asm statement with __cpuid_count.
8285
61b1ef6e
MF
82862014-08-12 Mike Frysinger <vapier@gentoo.org>
8287
8288 * configure.ac: Change __ehdr_start code to dereference the struct.
8289 Run readelf on the output to look for relocations.
8290 * configure: Regenerated.
8291
898c62f4
JM
82922014-08-12 Joseph Myers <joseph@codesourcery.com>
8293
8294 [BZ #17261]
8295 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8296 value to 0.
8297 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8298
9a8a5720
RM
82992014-08-12 Roland McGrath <roland@hack.frob.com>
8300
8301 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8302
4e75751c
BO
83032014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8304
8305 [BZ #16892]
8306 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8307 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8308
bb2ce416
SA
83092014-08-12 Sean Anderson <seanga2@gmail.com>
8310
8311 * malloc/malloc.c: Fix typo in comment.
8312
7950a4ee
AM
83132014-08-09 Allan McRae <allan@archlinux.org>
8314
8315 * Regenerate libc.po.
8316
f469c49f
MF
83172014-08-08 Mike Frysinger <vapier@gentoo.org>
8318
8319 * intl/tst-gettext2.sh: Check every lang file for creation.
8320
656b84c2
WD
83212014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8322
8323 * sysdeps/aarch64/fpu/math_private.h
8324 (libc_feholdsetround_noex_aarch64_ctx): New function.
8325
538e9e45
W
83262014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8327
8328 * sysdeps/arm/armv6/strcpy.S (strcpy):
8329 Fix performance issue in misaligned cases.
8330
d4795e4a
AZ
83312014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332
8333 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8334 Move definition from termios.h.
8335 (struct termio): Likewise.
8336 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8337 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8338 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8339 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8340 Likewise.
8341 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8342 Move definition to ioctl-types.h
8343 (struct termio): Likewise.
8344 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8345 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8346 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8347 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8348 Likewise.
8349
64accb62
RH
83502014-08-05 Richard Henderson <rth@redhat.com>
8351
27bb6dc0
RH
8352 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8353 exceptions.
8354 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8355 Add fraiseexcpt.
8356 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8357 Use __feraiseexcept.
8358 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8359 Protect libm symbols with IS_IN_libm.
8360
64accb62
RH
8361 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8362
e5292691
BO
83632014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8364
8365 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8366
5b4bd2d4
WN
83672014-08-04 Will Newton <will.newton@linaro.org>
8368
8369 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8370 file.
8371
fcadaeef
MF
83722014-08-04 Mike Frysinger <vapier@gentoo.org>
8373
8374 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8375 variants for each function.
8376
43a94c64
RM
83772014-08-04 Roland McGrath <roland@hack.frob.com>
8378
8379 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8380 appended ...
8381 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8382 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8383 appended ...
8384 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8385 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8386 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8387 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8388 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8389 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8390 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8391 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8392 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8393 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8394 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8395 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8396 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8397 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8398 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8400 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8401 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8402 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8403 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8404 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8405 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8406 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8412 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8414 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8420 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8421 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8422 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8423 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8424 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8425 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8426 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8427 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8428 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8430 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8431 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8432 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8433 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8434 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8435 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8436 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8437 Update #include.
8438 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8439 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8440
8f3c1fa4
RM
84412014-08-04 Roland McGrath <roland@hack.frob.com>
8442
8443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8444 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8445 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8446 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8447 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8448 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8449
ca08746f
RM
84502014-08-04 Roland McGrath <roland@hack.frob.com>
8451
8452 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8453 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8454 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8455 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8456
9c925ff9
RM
84572014-08-04 Roland McGrath <roland@hack.frob.com>
8458
8459 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8460 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8461 (__libc_vfork): Define function under this name.
8462 (__vfork): Define as an alias.
8463 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8464 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8465
e641054c
RM
84662014-08-04 Roland McGrath <roland@hack.frob.com>
8467
8468 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8469 that was previously under [RESET_PID].
8470 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8471
dacdc867
AS
84722014-08-04 Andreas Schwab <schwab@suse.de>
8473
8474 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8475
41f725ff
MF
84762014-08-03 Mike Frysinger <vapier@gentoo.org>
8477
8478 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8479 (main): Likewise.
8480
277cfb31
RM
84812014-08-01 Roland McGrath <roland@hack.frob.com>
8482
8483 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8484
4896f049
RH
84852014-08-01 Richard Henderon <rth@redhat.com>
8486
8487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8488 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8489 typo in exact zero test.
8490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8493
6f64e7d7
RM
84942014-08-01 Roland McGrath <roland@hack.frob.com>
8495
8496 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8497 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8498 * sysdeps/arm/sysdep.h: ... here.
8499 [!__ASSEMBLER__]: Include <stdint.h>.
8500
3f3dd810
SP
85012014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
a476ac4b
SP
8503 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8504 (HAVE_WCTYPE_H): Likewise.
8505 (HAVE_ISWCTYPE): Likewise.
8506 (ENABLE_NLS): Likewise.
8507 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8508 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8509
78dd658a
SP
8510 * posix/regex_internal.c: Check if DEBUG is defined and is
8511 set.
8512
3f3dd810
SP
8513 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8514 (HAVE_MBSRTOWCS): Likewise.
8515 * posix/fnmatch.c: Include string.h unconditionally.
8516
95ee7fb1
SL
85172014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8518
8519 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8520 reversal.
8521
23fe486b
RM
85222014-07-31 Roland McGrath <roland@hack.frob.com>
8523
f61a113f
RM
8524 * sysdeps/generic/safe-fatal.h: New file.
8525 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8526 * nptl/forward.c: Include it.
8527 (__pthread_unwind): Use __safe_fatal as default action, rather
8528 than a bogus use of INTERNAL_SYSCALL that could never work.
8529
9fe7e787
RM
8530 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8531 * configure.ac (libc_cv_builtin_trap): New test.
8532 * configure: Regenerated.
8533 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8534 (ABORT_INSTRUCTION): Define using __builtin_trap.
8535
23fe486b
RM
8536 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8537 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8538 * sysdeps/nptl/nptl-signals.h: New file.
8539 * nptl/pthreadP.h: Include <nptl-signals.h>.
8540
f349489e
SL
85412014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8542
8543 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8544 (ONE_DIRECTION): Define.
8545 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8546 (ONE_DIRECTION): Define.
8547 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8548 (ONE_DIRECTION): Define.
8549
2f438e20
SL
85502014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8551
8552 * sysdeps/s390/Makefile: Delete file.
8553 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8554 * sysdeps/s390/__longjmp.c: Delete file.
8555 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8556 Remove fields __flags and __reserved.
8557 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8558 and add versioning.
8559 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8560 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8561 * sysdeps/s390/rtld-setjmp.S: Likewise.
8562 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8563 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8564 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8565 * sysdeps/s390/s390-32/setjmp.S: ... here.
8566 Add versioning.
8567 (__sigsetjmp): Remove setting __flags field.
8568 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8569 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8570 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8571 * sysdeps/s390/s390-64/setjmp.S: ... here.
8572 Add versioning.
8573 (__sigsetjmp): Remove setting __flags field.
8574 * sysdeps/s390/setjmp.S: Delete file.
8575 * sysdeps/s390/sigjmp.c: Likewise.
8576 * sysdeps/s390/v1-longjmp.c: Likewise.
8577 * sysdeps/s390/v1-setjmp.h: Likewise.
8578 * sysdeps/s390/v1-sigjmp.c: Likewise.
8579 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8580 Remove v1-longjmp_chk.
8581 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8582 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8583 Include debug/longjmp_chk.c and add versioning.
8584 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8585 Include nptl/pt-longjmp.c and add versioning.
8586 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8587 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8588 Include __longjmp.c.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8590 Move to ...
8591 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8592 (__getcontext): Remove setting __flags field.
8593 Add versioning.
8594 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8595 Don't restore upper high grps.
8596 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8597 Likewise.
8598 (__swapcontext): Remove setting uc_flags field.
8599 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8600 Delete file.
8601 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8602 Include __longjmp.c.
8603 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8604 Move to ...
8605 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8606 (__getcontext): Remove setting __flags field.
8607 Add versioning.
8608 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8609 (__swapcontext): Remove setting uc_flags field.
8610 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8611 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8612 Remove fields uc_high_gprs and __reserved.
8613 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8614 New file with reverted content.
8615 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8617 Regenerated.
8618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8619 Regenerated.
8620
6c9578a2
AS
86212014-07-31 Andreas Schwab <schwab@suse.de>
8622
8623 * config.h.in (HAVE_IFUNC): Define to 0.
8624 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8625 definedness.
8626
05f3633d
LM
86272014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8628
8629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8630 memmove-avx-unaligned, memcpy-avx-unaligned and
8631 mempcpy-avx-unaligned.
8632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8633 Add tests for AVX memcpy functions.
8634 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8635 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8636 memcpy_chk.
8637 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8638 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8639 memmove_chk.
8640 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8641 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8642 mempcpy_chk.
8643 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8644 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8645 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8646
a53fbd8e
AZ
86472013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648
8649 [BZ #17213]
8650 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8651 powerpc64le.
8652
0961f7e1
JL
86532014-07-29 Jeff Layton <jlayton@poochiereds.net>
8654
8655 [BZ #16839]
8656 * manual/llio.texi: Add section about open file description locks.
8657 * manual/examples/ofdlocks.c: Example of open file description
8658 lock usage.
8659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8660 F_OFD_SETLK, and F_OFD_SETLKW.
8661
cc5fb300
AM
86622014-07-23 Allan McRae <allan@archlinux.org>
8663
8664 * po/es.po: Update Spanish translation from translation project.
8665
23329dca
AS
86662014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8667
8668 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8669
9c82da17
MR
86702014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8671
8672 [BZ #17078]
8673 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8674 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8675 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8676
29c4f53e
JM
86772014-07-17 Joseph Myers <joseph@codesourcery.com>
8678
831b9896
JM
8679 [BZ #17088]
8680 * math/fesetenv.c (__fesetenv)
8681 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8682 * math/feupdateenv.c (__feupdateenv)
8683 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8684
b21c2d50
JM
8685 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8686 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8687 (__ASSUME_SOCKETCALL): Do not define.
8688
067764ef
JM
8689 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8690 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8691 (__ASSUME_SOCKETCALL): Do not define.
8692 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8693 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8694 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8695 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8696 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8697 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8698 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8699 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8700
642530c1
JM
8701 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8702 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8703 (__ASSUME_SOCKETCALL): Do not define.
8704 (__ASSUME_IPC64): Define unconditionally.
8705 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8706 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8707 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8708 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8709 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8710 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8711 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8712 Likewise.
8713
03f77315
JM
8714 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8715 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8716 (__ASSUME_SOCKETCALL): Do not define.
8717 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8718 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8719 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8720 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8721 (__ASSUME_REQUEUE_PI): Define unconditionally.
8722 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8723 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8724 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8725 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8726 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8727 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8728
083b1f7c
JM
8729 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8730 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8731 (__ASSUME_SOCKETCALL): Do not define.
8732 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8733 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8734 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8735 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8736 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8737 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8738
5be44ea6
JM
8739 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8740 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8741 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8742 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8743 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8744 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8745 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8746 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8747 (__ASSUME_GETCPU_SYSCALL): Likewise.
8748
d95ffd4c
JM
8749 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8750 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8751 cases for individual architectures.
8752 * sysdeps/gnu/configure: Regenerated.
8753 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8754 LIBC_SLIBDIR_RTLDDIR.
8755 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8756 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8757 LIBC_SLIBDIR_RTLDDIR.
8758 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8760 LIBC_SLIBDIR_RTLDDIR.
8761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8762 Regenerated.
8763 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8764 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8765 file.
8766 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8768 file.
8769 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8770 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8771 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8772 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8773
29c4f53e
JM
8774 * sysdeps/aarch64/shlib-versions: Move to ...
8775 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8776 * sysdeps/alpha/shlib-versions: Move to ...
8777 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8778 * sysdeps/arm/shlib-versions: Move to ...
8779 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8780 * sysdeps/hppa/shlib-versions: Move all contents except for
8781 libgcc_s entry to ...
8782 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8783 entry from ...
8784 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8785 * sysdeps/ia64/shlib-versions: Move to ...
8786 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8787 entry from ...
8788 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8789 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8790 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8791 * sysdeps/microblaze/shlib-versions: Move to ...
8792 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8793 * sysdeps/mips/shlib-versions: Move to ...
8794 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8795 entry from ...
8796 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8797 * sysdeps/tile/shlib-versions: Move to ...
8798 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8799 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8800 from ...
8801 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8802 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8803 entry from ...
8804 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8805
32bead5b
WN
88062014-07-17 Will Newton <will.newton@linaro.org>
8807
57977c4b
WN
8808 * sysdeps/arm/bits/atomic.h
8809 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8810 (__arch_compare_and_exchange_bool_16_int): Likewise.
8811 (__arch_compare_and_exchange_bool_64_int): Likewise.
8812
32bead5b
WN
8813 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8814 into an #else block.
8815
37fccd41
RM
88162014-07-16 Roland McGrath <roland@hack.frob.com>
8817
8818 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8819 just Linux configurations. Test empirically that the compiler sets
8820 __ARM_EABI__, rather than using the tuple to decide.
8821 * sysdeps/arm/preconfigure: Regenerated.
8822 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8823 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8824 contents appended ...
8825 * sysdeps/arm/configure.ac: ... here.
8826 * sysdeps/arm/configure: Regenerated.
8827
b365f3ec
RM
88282014-07-15 Roland McGrath <roland@hack.frob.com>
8829
8badf496
RM
8830 * nptl/pthread_kill.c: New file.
8831 * nptl/pthread_sigmask.c: New file.
8832 * nptl/pthread_sigqueue.c: New file.
8833
3df6f22e
RM
8834 * sysdeps/nptl/lowlevellock.h: New file.
8835 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8836 * sysdeps/nptl/lowlevellock-futex.h: New file.
8837
b365f3ec
RM
8838 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8839 Remove dead declarations.
8840
f2fef657
L
88412014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8842
8843 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8844 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8845 config-cflags-avx2.
8846 * sysdeps/x86_64/configure.ac: Likewise.
8847 * sysdeps/i386/configure: Regenerated.
8848 * sysdeps/x86_64/configure: Likewise.
8849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8850 memset-avx2 only if config-cflags-avx2 is yes.
8851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8852 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8853 defined.
8854 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8855 only if HAVE_AVX2_SUPPORT is defined.
8856 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8857
f6c44d47
AM
88582014-07-14 Alan Modra <amodra@gmail.com>
8859
8860 [BZ #17153]
8861 * elf/elf.h (DT_PPC64_NUM): Correct value.
8862 * NEWS: Add to fixed bug list.
8863
7ee03f00
JM
88642014-07-13 Jim Meyering <meyering@fb.com>
8865
8866 [BZ 17150]
8867 regex: don't deref NULL upon heap allocation failure
8868 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8869 failure in one more place.
8870 To trigger the segfault, configure grep -with-included-regex,
8871 build it, and run these commands:
8872 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8873
9d39d517
AS
88742014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8875
8876 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8877
a75b89b7
RH
88782014-07-11 Richard Henderson <rth@redhat.com>
8879
8880 * sysdeps/aarch64/libm-test-ulps: Update.
8881
771eb141
FW
88822014-07-10 Florian Weimer <fweimer@redhat.com>
8883
8884 [BZ #17135]
8885 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8886 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8887 (__nptl_setxid): Initialize error member. Call
8888 __nptl_setxid_error.
8889 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8890 * nptl/descr.h (struct xid_command): Add error member.
8891 * nptl/tst-setuid3.c: New file.
8892 * nptl/Makefile (tests): Add it.
8893
bc1da176
AZ
88942014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895
8896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8897 New define.
8898 (__lll_trylock): Use __lll_base_trylock.
8899 (__lll_cond_trylock): Likewise.
8900
887865fc
RM
89012014-07-10 Roland McGrath <roland@hack.frob.com>
8902
c0c6bac9
RM
8903 * nptl/pthread_create.c (start_thread): Use atomic_or and
8904 lll_futex_wake directly rather than lll_robust_dead.
8905 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8906 (lll_robust_dead): Macro removed.
6a42be57 8907 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8908 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8909 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8910 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8911 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8912 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8913 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8914 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8915 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8916 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8917 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8920 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8922
887865fc
RM
8923 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8924 Use atomic_compare_and_exchange_val_acq directly rather than
8925 lll_robust_trylock.
8926 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8927 (__lll_robust_trylock, lll_robust_trylock): Removed.
8928 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8929 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8930 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8932 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8933 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8934 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8935 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8937 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8938 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8939 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8940 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8942
58536726
FW
89432014-07-02 Florian Weimer <fweimer@redhat.com>
8944
8945 * manual/locale.texi (Locale Names): New section documenting
8946 locale name syntax. Adjust menu and node chaining accordingly.
8947 (Choosing Locale): Reference Locale Names, Locale Categories.
8948 Mention setting LC_ALL=C. Reflect that name syntax is now
8949 documented.
8950 (Locale Categories): New section title. Reference Locale Names.
8951 LC_ALL is an environment variable, but not a category.
8952 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8953 description, now in Locale Name. Reference that section. Locale
8954 name syntax is now documented.
8955
4e8f95a0
FW
89562014-07-02 Florian Weimer <fweimer@redhat.com>
8957
8958 [BZ #17137]
8959 * locale/findlocale.c (name_present, valid_locale_name): New
8960 functions.
8961 (_nl_find_locale): Use the loc_name variable to store name
8962 candidates. Call name_present and valid_locale_name to check and
8963 validate locale names. Return an error if the locale is invalid.
8964
d1836456
FW
89652014-07-02 Florian Weimer <fweimer@redhat.com>
8966
8967 * locale/setlocale.c (setlocale): Use strdup for allocating
8968 composite name copy.
8969
d69b7f5a
SP
89702014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8971
888c679b
SP
8972 Sync up with gnulib.
8973 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8974 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8975 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8976 and _GL_ARG_NONNULL.
8977 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8978 [!_LIBC]: Include code for Windows and Cygwin.
8979 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8980 Include prototype for int strerror_r.
8981 [!_LIBC] (is_open): New function.
8982 (flush_stdout): New function.
8983 (print_errno_message): Use it.
8984 (error): Likewise.
8985 (error_at_line): Likewise.
8986 (error_tail) Add function attribute macros. Use
8987 __builtin_expect.
8988
180e0e4b
SP
8989 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8990
d22f1fe2
SP
8991 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8992
12f2254b
SP
8993 * io/ftw.c: Include sys/param.h unconditionally.
8994
c3c7c360
SP
8995 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8996
d62aa75a
SP
8997 [BZ #17125]
8998 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8999 libc_freeres_ptr.
9000 (freecache): New function to free CACHE on exit.
9001
d69b7f5a
SP
9002 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9003 initialization.
9004
5efe06a1
DM
90052014-07-09 David S. Miller <davem@davemloft.net>
9006
9007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9008
7000d82e
DM
9009 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9010 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9011 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9012 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9013 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9014 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9015 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9016 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9017 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9018 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9019 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9020 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9021 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9022
c213442d
AS
90232014-07-09 Andreas Schwab <schwab@suse.de>
9024
4a2552c3
AS
9025 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9026 output.
9027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9028 (do_test): Likewise.
9029
c213442d
AS
9030 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9031
82374e65
WN
90322014-07-09 Will Newton <will.newton@linaro.org>
9033
9034 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9035 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9036 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9037 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9038 * sysdeps/hppa/start.S (_start): Likewise.
9039
6680738a
SP
90402014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9041
6ee3eab4
SP
9042 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9043
6680738a
SP
9044 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9045 defined.
9046
80b5c505
SP
90472014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9048
e35c53e3
SP
9049 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9050 after checking that it is non-NULL.
9051
80b5c505
SP
9052 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9053
91f4b564
AZ
90542014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9055
27b75f56
AZ
9056 * sysdeps/powerpc/memmove.c: Remove file.
9057 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9058 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9059 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9060 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9061 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9062 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9063 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9064 string memmove instead of removed powerpc one.
9065
e7f95bb5
AZ
9066 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9067 [weak_alias]: Fix compiler warning due trailing data.
9068 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9069 [weak_alias]: Likewise.
9070 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9071 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9072
91f4b564
AZ
9073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9074 (__libc_ifunc_impl_list): Add memmove functions.
9075
7c33f1e5
SP
90762014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9077
9078 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9079 Remove code.
9080 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9081 Likewise
9082 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9083 Likewise
9084 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9085 Likewise
9086 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9087 Likewise
9088 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9089 Likewise
9090 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9091 Likewise
9092 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9093 Likewise
9094 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9095 Likewise
9096 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9097 Likewise
9098 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9099 Likewise
9100 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9101 Likewise
9102 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9103 Likewise
9104 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9105 Likewise
9106 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9107 Likewise
9108 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9109 Likewise
9110 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9111 Likewise
9112
3f17b03b
AZ
91132014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9114
87868c24
AZ
9115 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9116 to avoid alignment traps in non-cacheable memory.
9117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9118
07aedd78
AZ
9119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9120 multiarch objects.
9121 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9122 file: multiarch power7 memmove.
9123 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9124 multiarch default memmove.
9125 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9126 multiarch memove for powerpc32/power4.
9127
17762f66
AZ
9128 * string/bcopy.c: Use full path to include memmove.c.
9129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9130 multiarch objects.
9131 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9132 bcopy for powerpc64.
9133 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9134 bcopy for powerpc64.
9135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9136 and memmove implementations.
9137 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9138 optimized multiarch memmove for POWER7/powerpc64.
9139 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9140 default multiarch memmove for powerpc64.
9141 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9142 multiarch for powerpc64.
9143 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9144 for POWER7/powerpc64.
9145 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9146 memmove for POWER7/powerpc64.
9147
d6f68bbe
AZ
9148 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9149 glibc default one.
9150
3f17b03b
AZ
9151 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9152 __ELF_NATIVE_CLASS equal to 64.
9153
08192659
RM
91542014-07-07 Roland McGrath <roland@hack.frob.com>
9155
f4c4021b
RM
9156 * sysdeps/nptl/lowlevellock.h: File removed.
9157
f083450f
RM
9158 * NEWS: NPTL is no longer an add-on!
9159 * nptl/internaltypes.h: Moved ...
9160 * sysdeps/nptl/internaltypes.h: ... here.
9161 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9162 * sysdeps/nptl/fork.c: Likewise.
9163 * sysdeps/nptl/gai_misc.h: Likewise.
9164 * sysdeps/nptl/librt-cancellation.c: Likewise.
9165 * sysdeps/nptl/jmp-unwind.c: Likewise.
9166 * sysdeps/nptl/setxid.h: Likewise.
9167 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9168 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9169 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9170 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9171 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9172 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9173 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9174 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9175 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9176 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9177 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9178 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9179 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9180 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9181 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9183 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9184 * nptl/Makeconfig: Moved ...
9185 * sysdeps/nptl/Makeconfig: ... here.
9186 * nptl/configure: File removed.
9187 * nptl/ANNOUNCE: File removed.
9188 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9189 * sysdeps/unix/sysv/linux/configure: Regenerated.
9190
08192659
RM
9191 * nptl/Makefile (routines): Add libc_pthread_init,
9192 libc_multiple_threads, register-atfork and unregister-atfork.
9193 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9194 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9195 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9196 pthread-pi-defines.sym, structsem.sym.
9197 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9198 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9199 [$(subdir) = nptl] (tests): Add tst-setgetname.
9200 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9201 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9202 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9203 [!LIBC_SIGACTION]: Remove aliases.
9204 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9205 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9206 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9207 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9208 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9209 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9212 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9213 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9214 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9215 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9216 __libc_allocate_rtsig_private.
9217 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9218 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9219 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9220 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9221 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9222 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9223 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9224 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9225 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9226 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9227 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9228 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9229 * nptl/internaltypes.h: ... here.
9230 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9231 * sysdeps/nptl/jmp-unwind.c: ... here.
9232 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9233 * nptl/libc-lowlevellock.c: ... here.
9234 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9235 * nptl/libc_multiple_threads.c: ... here.
9236 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9237 * nptl/libc_pthread_init.c: ... here.
9238 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9239 * nptl/lowlevelbarrier.sym: ... here.
9240 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9241 * nptl/lowlevelcond.sym: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9243 * nptl/lowlevellock.c: ... here.
9244 * nptl/lowlevellock.h: Moved ...
9245 * sysdeps/nptl/lowlevellock.h: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9247 * nptl/lowlevelrobustlock.c: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9249 * nptl/lowlevelrobustlock.sym: ... here.
9250 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9251 * nptl/lowlevelrwlock.sym: ... here.
9252 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9253 * nptl/pt-fork.c: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9255 * nptl/pthread-pi-defines.sym: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9257 * nptl/pthread_attr_getaffinity.c: ... here.
9258 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9259 * nptl/pthread_attr_setaffinity.c: ... here.
9260 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9261 * nptl/pthread_mutex_cond_lock.c: ... here.
9262 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9263 Update #include.
9264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9265 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9266 * nptl/pthread_once.c: ... here, replacing old file.
9267 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9268 * nptl/pthread_yield.c: ... here.
9269 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9270 * nptl/register-atfork.c: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9272 * nptl/sem_post.c: ... here.
9273 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9274 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9275 * nptl/sem_timedwait.c: ... here.
9276 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9277 * nptl/sem_trywait.c: ... here.
9278 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9279 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9280 * nptl/sem_wait.c: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9282 * nptl/structsem.sym: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9284 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9285 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9286 * nptl/unregister-atfork.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9288 * nptl/unwindbuf.sym: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9290 * sysdeps/nptl/fork.c: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9292 * sysdeps/nptl/fork.h: ... here.
9293 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9294 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9295 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9296 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9297 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9298 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9299 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9301 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9303 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9305 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9307 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9309 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9311 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9313 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9315 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9317 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9319 * sysdeps/unix/sysv/linux/raise.c: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9321 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9323 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9325 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9327 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9329 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9331 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9333 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9334 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9335
96baf6ff
SP
93362014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9337
9338 * sysdeps/generic/memcopy.h: Add comment for
9339 MEMCPY_OK_FOR_FWD_MEMMOVE.
9340
6b7b14b2
WN
93412014-07-04 Will Newton <will.newton@linaro.org>
9342
1570a72b
WN
9343 * string/memchr.c: Merge from gnulib.
9344 [_LIBC]: Remove conditionals.
9345 (__ptr_t): Remove define.
9346 (LONG_MAX_32_BITS): Likewise.
9347 (LONG_MAX): Likewise.
9348 (MEMCHR): Use ANSI prototype and optimize algorithm.
9349
6b7b14b2
WN
9350 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9351
38851324
SP
93522014-07-03 Roland McGrath <roland@hack.frob.com>
9353
3d9eb57c
RM
9354 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9355 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9356
78b984ae
RM
9357 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9358 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9359 in a bare environment with no <stdlib.h> installed.
9360 * sysdeps/nptl/configure: Regenerated.
9361
2d5976a5
RM
9362 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9363
c1f5acd4
RM
9364 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9365 AC_EGREP_CPP for kernel header checks, so they only succeed if
9366 including <linux/version.h> actually works right.
9367 * sysdeps/unix/sysv/linux/configure: Regenerated.
9368
4d614fe5
RM
9369 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9370 value so it's not diagnosed as unused.
9371
38851324
SP
9372 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9373 thing) with "ifeq ($(subdir),rt)".
9374
b3ec00e5
RH
93752014-07-03 Richard Henderson <rth@redhat.com>
9376
69862e25
RH
9377 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9378 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9379 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9380
d5e16ade
RH
9381 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9382 (math_force_eval): New.
9383
ca7b945c
RH
9384 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9385 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9386
cd1175a3
RH
9387 * sysdeps/alpha/fpu/s_round.c: Remove file.
9388 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9389
b3ec00e5
RH
9390 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9391 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9392 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9393 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9394 (_dl_start, print_statistics): Likewise.
9395 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9396 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9397
9398 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9399 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9400 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9401 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9403 (HP_SMALL_TIMING_AVAIL): Define.
9404 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9406 (HP_SMALL_TIMING_AVAIL): Define.
9407 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9408 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9409
9410 * sysdeps/aarch64/hp-timing.h: New file.
9411
9412 * sysdeps/generic/hp-timing.h: Remove dead comment.
9413 * sysdeps/generic/hp-timing-common.h: New file.
9414 * sysdeps/alpha/hp-timing.h: Include it.
9415 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9416 * sysdeps/i386/i686/hp-timing.h: Likewise.
9417 * sysdeps/ia64/hp-timing.h: Likewise.
9418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9419 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9420 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9421 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9422 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9423 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9424 (hp_timing_t): New.
9425
9426 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9427 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9428 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9429 * elf/rtld.c (_dl_start_final): Likewise.
9430 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9431 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9432 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9433 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9434 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9435 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9436 (HP_TIMING_DIFF_INIT): Remove.
9437 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9439 (HP_TIMING_DIFF_INIT): Remove.
9440 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9441 * sysdeps/i386/i686/hp-timing.c: Remove file.
9442 * sysdeps/x86_64/hp-timing.c: Remove file.
9443 * sysdeps/ia64/hp-timing.c: Remove file.
9444 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9445 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9446 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9447 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9448
9449 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9450 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9451 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9452 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9453 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9454 (HP_TIMING_ACCUM): Remove.
9455 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9456 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9457 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9458
9459 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9460 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9461 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9462 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9463 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9464 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9466 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9467
9468 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9469
225f410f
MR
94702014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9471
9472 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9473
3247f285
SP
94742014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9475
9476 Sync up with gettext.
9477 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9478 [_MSC_VER]: Include malloc.h
9479 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9480 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9481 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9482 TEMP_FAILURE_RETRY. Cast return of alloca.
9483 [!_LIBC] Call gl_rwlock_init.
9484 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9485
d12704c7
SP
94862014-07-02 Roland McGrath <roland@hack.frob.com>
9487
9488 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9489 before checking its value.
9490
99f8dc92
SP
94912014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9492
05fdac77
SP
9493 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9494
99f8dc92
SP
9495 * debug/memcpy_chk.c: Don't include pagecopy.h.
9496 * debug/mempcpy_chk.c: Likewise.
9497 * string/memcpy.c: Likewise.
9498 * string/memmove.c: Likewise.
9499 * sysdeps/powerpc/memmove.c: Likewise.
9500 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9501 definition of PAGE_COPY_FWD_MAYBE here...
9502 * sysdeps/generic/pagecopy.h: ... from here.
9503 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9504
bc8ea385
VR
95052014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9507
9508 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9510 optimizations.
9511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9512 (__libc_ifunc_impl_list): Likewise.
9513 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9514 multiarch strcat for PPC64.
9515 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9516 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9517
fe5f34e4
RM
95182014-07-02 Roland McGrath <roland@hack.frob.com>
9519
9520 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9521
256aa665
SP
95222014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
d4eb8195
SP
9524 * intl/loadmsgcat.c: Remove declaration of
9525 get_sysdep_segment_value.
9526 (get_sysdep_segment_value): Use ISO C style.
9527 (_nl_load_domain): Use ISO C style. Get rid of redundant
9528 semicolon. Fix typo and formatting in comment.
9529 (_nl_unload_domain): Use ISO C style.
9530
256aa665
SP
9531 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9532
b100f9aa
WN
95332014-07-02 Will Newton <will.newton@linaro.org>
9534
9535 * malloc/obstack.c: Merge from gnulib master.
9536 [HAVE_CONFIG_H]: Remove conditional code.
9537 [!_LIBC]: Include config.h.
9538 [!ELIDE_CODE]: Don't include inttypes.h, include
9539 stdint.h unconditionally.
9540 (print_and_abort): Mark as _Noreturn.
9541 (_obstack_allocated_p): Mark as __attribute_pure__.
9542 (obstack_free): Rename to __obstack_free.
9543 [!__attribute__]: Remove conditional code.
9544 * malloc/obstack.h: Merge from gnulib master.
9545 [__cplusplus]: Move conditional down.
9546 [!__attribute_pure__]: Define __attribute_pure__ here
9547 if it is not already defined.
9548 (_obstack_memory_used): Mark as __attribute_pure__.
9549 [!__obstack_free]: Define as obstack_free.
9550 [__GNUC__]: Remove check for ancient NeXT gcc.
9551
c4c41244
PE
95522014-07-02 Will Newton <will.newton@linaro.org>
9553 Paul Eggert <eggert@cs.ucla.edu>
9554
9555 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9556
e1e041c4
SP
95572014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9558
9559 * resolv/gethnamaddr.c: Add comment warning that the file is
9560 not maintained.
9561
ccf431ff
CD
95622014-07-01 Carlos O'Donell <carlos@redhat.com>
9563
d34570a6
CD
9564 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9565 entries.
9566
ccf431ff
CD
9567 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9568 entry for aio_cancel and aio_cancel64.
9569 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9570 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9571 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9572 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9573 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9574 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9575 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9576 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9577 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9578 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9579 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9580 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9581 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9582
ca06321d
RM
95832014-07-01 Roland McGrath <roland@hack.frob.com>
9584
9585 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9586 * nptl/pthread_mutex_lock.c: Likewise.
9587 * nptl/pthread_mutex_timedlock.c: Likewise.
9588 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9589
a1ac3184
RH
95902014-07-01 Richard henderson <rth@redhat.com>
9591
631021e0
RH
9592 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9593 (__isnan, __isnanl): Remove.
9594 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9595
a1ac3184
RH
9596 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9597
0c1d731f
SL
95982014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9599
9600 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9601
76985d3e
SP
96022014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 * resolv/nss_dns/dns-host.c (getanswer_r)
9605 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9606
b0cb3096
JM
96072014-07-01 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9610 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9611 undefine.
9612 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9613 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9614
4d76cb39
RM
96152014-07-01 Roland McGrath <roland@hack.frob.com>
9616
9617 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9618 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9619
9620 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9621 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9622
9623 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9624 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9625 ... here.
9626 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9627 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9628
9629 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9630 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9631 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9632 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9633
9634 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9635 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9636 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9639 Moved ...
9640 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9641 ... here.
9642 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9651 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9655 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9657 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9661 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9662 ... here.
9663 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9664 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9666 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9667 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9668 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9669 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9670 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9671
0cdcad17
DH
96722014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9673
9674 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9675 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9676 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9677 Add sysdep.
9678
9b71d0e3
AZ
96792014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9680
9681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9682
665390c2
JM
96832014-06-30 Joseph Myers <joseph@codesourcery.com>
9684
ae05a9d7
JM
9685 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9686 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9687
a7672a2f
JM
9688 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9689
665390c2
JM
9690 * sysdeps/arm/libm-test-ulps: Regenerated.
9691
d7a05d07
MR
96922014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9693 Roland McGrath <roland@hack.frob.com>
9694
9695 * test-skeleton.c (signal_handler): Kill the whole process group
9696 before killing the child individually.
9697 (main): Report any failure on `setpgid'.
9698
46f1d8a6
RM
96992014-06-30 Roland McGrath <roland@hack.frob.com>
9700
9701 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9702 from _TLS_H to _ARM_NPTL_TLS_H.
9703 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9704 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9705
9c37ec0b
JM
97062014-06-30 Joseph Myers <joseph@codesourcery.com>
9707
ce9c5b3e
JM
9708 [BZ #16539]
9709 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9710 (__expm1l): Return argument unchanged when small but not
9711 subnormal.
9712
3a6e9887
JM
9713 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9714 include macro name.
9715 (_FP_UNPACK_RAW_1_P): Likewise.
9716 (_FP_PACK_RAW_1): Likewise.
9717 (_FP_PACK_RAW_1_P): Likewise.
9718 (_FP_MUL_MEAT_1_wide): Likewise.
9719 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9720 (_FP_MUL_MEAT_1_hard): Likewise.
9721 (_FP_DIV_MEAT_1_imm): Likewise.
9722 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9723 (_FP_DIV_MEAT_1_udiv): Likewise.
9724 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9725 (_FP_UNPACK_RAW_2): Likewise.
9726 (_FP_UNPACK_RAW_2_P): Likewise.
9727 (_FP_PACK_RAW_2): Likewise.
9728 (_FP_PACK_RAW_2_P): Likewise.
9729 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9730 (_FP_MUL_MEAT_2_wide): Likewise.
9731 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9732 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9733 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9734 (_FP_MUL_MEAT_2_gmp): Likewise.
9735 (_FP_DIV_MEAT_2_udiv): Likewise.
9736 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9737 (_FP_FRAC_SRL_4): Likewise.
9738 (_FP_FRAC_SRST_4): Likewise.
9739 (_FP_FRAC_SRS_4): Likewise.
9740 (_FP_UNPACK_RAW_4): Likewise.
9741 (_FP_UNPACK_RAW_4_P): Likewise.
9742 (_FP_PACK_RAW_4): Likewise.
9743 (_FP_PACK_RAW_4_P): Likewise.
9744 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9745 (_FP_MUL_MEAT_4_wide): Likewise.
9746 (_FP_MUL_MEAT_4_gmp): Likewise.
9747 (umul_ppppmnnn): Likewise.
9748 (_FP_DIV_MEAT_4_udiv): Likewise.
9749 (__FP_FRAC_ADD_4): Likewise.
9750 (__FP_FRAC_SUB_3): Likewise.
9751 (__FP_FRAC_SUB_4): Likewise.
9752 (__FP_FRAC_DEC_3): Likewise.
9753 (__FP_FRAC_DEC_4): Likewise.
9754 (__FP_FRAC_ADDI_4): Likewise.
9755 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9756 (_FP_FRAC_SRL_8): Likewise.
9757 (_FP_FRAC_SRS_8): Likewise.
9758
9c37ec0b
JM
9759 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9760 include macro name.
9761 (FP_UNPACK_RAW_EP): Likewise.
9762 (FP_PACK_RAW_E): Likewise.
9763 (FP_PACK_RAW_EP): Likewise.
9764 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9765 (_FP_ISSIGNAN): Likewise.
9766 (_FP_ADD_INTERNAL): Likewise.
9767 (_FP_FMA): Likewise.
9768 (_FP_CMP): Likewise.
9769 (_FP_SQRT): Likewise.
9770 (_FP_TO_INT): Likewise.
9771 (_FP_FROM_INT): Likewise.
9772 (FP_EXTEND): Likewise.
9773 (_FP_DIV_MEAT_N_loop): Likewise.
9774
2125f674
MR
97752014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9776
9777 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9778 throughout.
9779
edea4028
JM
97802014-06-29 Joseph Myers <joseph@codesourcery.com>
9781
9782 [BZ #17097]
9783 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9784 result with correct sign in case of exponents that produce
9785 overflow except for X very close to 1.
9786
dd0ba018
PE
97872014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9788
9789 mktime: merge #if/#ifdef usage from glibc
9790 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9791 as that works with both Glibc's and Gnulib's style.
9792 See thread starting at Siddhesh Poyarekar's bug report at:
9793 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9794
64df73c2
SP
97952014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9798 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9799 * sysdeps/tile/tilegx/memmove.c: Remove file.
9800
f1eafb41
JM
98012014-06-27 Joseph Myers <joseph@codesourcery.com>
9802
9803 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9804 abi-name definition.
9805 * scripts/soversions.awk: Do not handle or generate ABI lines.
9806 * shlib-versions: Remove ABI entries.
9807 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9808 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9809
58eb0862
RM
98102014-06-27 Roland McGrath <roland@hack.frob.com>
9811
37caf178
RM
9812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9813 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9814 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9819 Moved ...
9820 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9821 ... here.
9822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9835 Moved ...
9836 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9840 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9842 Moved ...
9843 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9850 Moved ...
9851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9857 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9859 Moved ...
9860 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9867 Moved ...
9868 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9872 Moved ...
9873 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9874 ... here.
9875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9876 Identical file removed.
9877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9878 Moved ...
9879 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9881 Identical file removed.
9882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9885 Moved ...
9886 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9888 Identical file removed.
9889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9892 Identical file removed.
9893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9896 Identical file removed.
9897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9898 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9899 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9900 Identical file removed.
9901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9902 Moved ...
9903 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9905 Identical file removed.
9906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9907 Moved ...
9908 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9912 Identical file removed.
9913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9914 Moved ...
9915 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9916 ... here.
9917 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9918 Identical file removed.
9919 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9920 Moved ...
9921 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9923 Identical file removed.
9924 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9925 Moved ...
9926 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9930 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9932 Moved ...
9933 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9934 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9935 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9936
58eb0862
RM
9937 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9938 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9939 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9940 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9941 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9942
6f12d062
AS
99432014-06-27 Arjun Shankar <arjun.is@lostca.se>
9944
9945 [BZ #17092]
9946 * nscd/nscd.c (monitor_child): Return exit status of child
9947 instead of return value from wait syscall.
9948
be254932
JM
99492014-06-27 Joseph Myers <joseph@codesourcery.com>
9950
cb403c34
JM
9951 * configure.ac (libc_commonpagesize): Remove variable.
9952 (libc_relro_required): Likewise.
9953 (libc_cv_z_relro): Remove configure test.
9954 * configure: Regenerated.
9955 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9956 variable.
9957 (libc_relro_required): Likewise.
9958 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9959 (libc_relro_required): Likewise.
9960 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9961 (libc_relro_required): Likewise.
9962 * sysdeps/arm/preconfigure: Regenerated.
9963 * sysdeps/ia64/preconfigure: Remove file.
9964 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9965 variable.
9966 (libc_relro_required): Likewise.
9967
be254932
JM
9968 [BZ #16561]
9969 [BZ #16562]
9970 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9971 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9972 recompute overflowing results in original rounding mode.
9973 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9974 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9975 recompute overflowing results in original rounding mode.
9976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9977 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9978 recompute overflowing results in original rounding mode.
9979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9980 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9981 recompute overflowing results in original rounding mode.
9982 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9983 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9984 recompute overflowing results in original rounding mode.
9985 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9986 (libc_feholdsetround_ctx): New macro.
9987 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9988 * sysdeps/i386/fpu/libm-test-ulps: Update.
9989 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9990
b351d85a
JM
99912014-06-26 Joseph Myers <joseph@codesourcery.com>
9992
9993 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9994 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9995 corresponding .cpsetup call.
9996
3cb4de47
RM
99972014-06-26 Roland McGrath <roland@hack.frob.com>
9998
9999 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10000 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10001 * sysdeps/arm/Makefile [$(subdir) = csu]
10002 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10003 (static-only-routines): Add aeabi_read_tp here.
10004 (shared-only-routines): Add libc-aeabi_read_tp here.
10005 (CFLAGS-libc-start.c): Add -fexceptions here.
10006 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10007 (sysdep_routines, static-only-routines, shared-only-routines):
10008 Don't add to these here.
10009 (CFLAGS-libc-start.c): Likewise.
10010
10011 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10012 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10013 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10014 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10015 * sysdeps/arm/Makefile [$(subdir) = rt]
10016 (librt-sysdep_routines, librt-shared-only-routines):
10017 Append rt-aeabi_unwind_cpp_pr1 here.
10018 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10019 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10020 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10021 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10022 Append nptl-aeabi_unwind_cpp_pr1 here.
10023 (tests): Filter out tst-cleanupx4 here.
10024 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10025 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10026 Don't do those here.
10027
354426bb
JM
100282014-06-26 Joseph Myers <joseph@codesourcery.com>
10029
10030 * scripts/list-sources.sh: Do not handle ports specially.
10031
28b0a8c9
RM
100322014-06-26 Roland McGrath <roland@hack.frob.com>
10033
a3dd035d
RM
10034 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10035 * sysdeps/arm/feupdateenv.c: Likewise.
10036
28b0a8c9
RM
10037 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10038
e66a8203
JM
100392014-06-26 Joseph Myers <joseph@codesourcery.com>
10040
10041 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10042 trailing whitespace removed.
10043 * scripts/config.guess: Update to version 2014-03-23.
10044 * scripts/config.sub: Update to version 2014-05-01
10045 * scripts/install-sh: Update to version 2013-12-25.23.
10046 * scripts/move-if-change: Update from gnulib.
10047
74171115
SP
100482014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10049
b97c9ce5
SP
10050 * debug/memmove_chk.c: Remove pagecopy.h include.
10051
4000f892
SP
100522014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10053
74171115
SP
10054 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10055 identical to gnulib mktime.
10056
a8779c28
JM
100572014-06-26 Joseph Myers <joseph@codesourcery.com>
10058
e64708de
JM
10059 * configure.ac: Do not test for machine being rs6000. Do not test
10060 for powerpc*-*soft.
10061 * configure: Regenerated.
10062
6a9350c8 10063 [BZ #11505]
a8779c28
JM
10064 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10065 test.
10066 * configure: Regenerated.
10067 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10068 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10069 Remove configure test.
10070 * sysdeps/arm/configure: Regenerated.
10071 * sysdeps/nptl/configure.ac: Do not check
10072 libc_cv_asm_cfi_directives.
10073 * sysdeps/nptl/configure: Regenerated.
10074 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10075 * sysdeps/x86_64/nptl/configure: Remove generated file.
10076 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10077 unconditional.
10078 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10079
2aac0a86
SP
100802014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10081
059bf913
SP
10082 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10083 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10084 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10085 it is defined.
10086
4cf5b6d0
SP
10087 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10088 instead of whether it is defined.
10089 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10090 * sysdeps/hppa/dl-machine.h: Likewise.
10091 * sysdeps/ia64/dl-machine.h: Likewise.
10092 * sysdeps/m68k/dl-machine.h: Likewise.
10093 * sysdeps/microblaze/dl-machine.h: Likewise.
10094 * sysdeps/mips/dl-machine.: Likewise.
10095 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10096 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10097 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10098 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10099 * sysdeps/sh/dl-machine.h: Likewise.
10100 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10101 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10102 * sysdeps/tile/dl-machine.h: Likewise.
10103 * sysdeps/x86_64/dl-machine.h: Likewise.
10104
2aac0a86
SP
10105 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10106 code.
10107 (verify_persistent_db): Likewise.
10108
6ad2df0b
RM
101092014-06-26 Roland McGrath <roland@hack.frob.com>
10110
d8a483f3
RM
10111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10112 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10114 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10116 Moved ...
10117 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10118 ... here.
10119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10122 Identical file removed.
10123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10126 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10134 Moved ...
10135 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10137 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10139 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10141 Moved ...
10142 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10144 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10146 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10148 Identical file removed.
10149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10150 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10152 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10154 Moved ...
10155 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10156 ... here.
10157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10160 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10162 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10166 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10168 Moved ...
10169 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10171 Moved ...
10172 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10174 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10176 Moved ...
10177 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10179 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10180
52ae23b4
RM
10181 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10182 folded into ...
10183 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10184 * sysdeps/unix/sysv/linux/s390/Versions
10185 (libpthread: GLIBC_2.19): New version set.
10186 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10188 (librt: GLIBC_2.3.3): New version set.
10189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10191 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10193 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10194 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10195 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10196 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10197 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10198 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10199 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10200 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10201 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10202 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10203 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10204 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10205 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10206 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10207 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10208 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10209 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10211 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10213 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10215 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10217 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10219 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10220 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10225 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10227 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10229 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10231 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10232 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10233 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10234
39507e4a
RM
10235 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10236 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10237 (__libc_vfork): Define the function under this name.
10238 [!NOT_IN_libc] (__vfork): Make this an alias.
10239 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10241 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10242 (__libc_vfork): Define the function under this name.
10243 [!NOT_IN_libc] (__vfork): Make this an alias.
10244 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10245 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10246 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10249 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10250
e549ee56
RM
10251 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10252 code that was previously under [RESET_PID].
10253 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10254 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10256
6ad2df0b
RM
10257 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10258 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10259 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10260 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10261 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10262 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10263 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10264 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10265 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10266 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10268 Moved ...
10269 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10271 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10273 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10275 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10276 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10277 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10287 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10291 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10293 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10294 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10295 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10296 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10297 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10298
7c1c1d8e
RM
102992014-06-25 Roland McGrath <roland@hack.frob.com>
10300
10301 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10302 that was previously under [RESET_PID].
10303 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10304
3e239be6
JM
103052014-06-25 Joseph Myers <joseph@codesourcery.com>
10306
74385da5
JM
10307 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10308 not undefine and redefine.
10309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10310 [O_CLOEXEC]: Make code unconditional.
10311 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10312 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10313 <kernel-features.h>.
10314 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10315 conditional variable definition.
10316 (shm_open) [O_CLOEXEC]: Make code unconditional.
10317 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10318 code.
10319
c2570a0b
JM
10320 * configure.ac (USE_REGPARMS): Don't define here.
10321 * configure: Regenerated.
10322 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10323 * sysdeps/i386/configure: Regenerated.
10324
11b076bb
JM
10325 * nptl/createthread.c: Don't include kernel-features.h.
10326 * nptl/pthread_cancel.c: Likewise.
10327 * nptl/pthread_condattr_setclock.c: Likewise.
10328 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10329 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10330 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10331 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10332 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10334 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10337 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10338 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10339 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10340 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10341 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10342 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10343 * nscd/gai.c: Likewise.
10344 * nss/nss_db/db-open.c: Likewise.
10345 * sysdeps/generic/ldsodefs.h: Likewise.
10346 * sysdeps/sh/nptl/tls.h: Likewise.
10347 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10348 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10349 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10350 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10351 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10352 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10353 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10354 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10356 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10357 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10358 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10359 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10360 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10361 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10362 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10363 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10364 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10365 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10366 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10367 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10368 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10369 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10370 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10372 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10373 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10374 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10375 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10376 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10377 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10378 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10379 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10380 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10381 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10382 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10383 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10384 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10385 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10386 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10387 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10388 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10389 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10390 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10391 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10392 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10393 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10394 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10395 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10396 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10397 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10398 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10399 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10400 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10401 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10402 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10403 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10404 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10427 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10428 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10429 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10430 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10431 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10433 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10434 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10435 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10436 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10437 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10438 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10439 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10440 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10441 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10442 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10445 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10446 * sysdeps/unix/sysv/linux/system.c: Likewise.
10447 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10448 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10449 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10450 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10451 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10452 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10453 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10454
92072d57
JM
10455 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10456 * configure: Regenerated.
10457 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10458
3e239be6
JM
10459 * configure.ac (base_machine): Do not set specially for particular
10460 machines here.
10461 * configure: Regenerated.
10462 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10463 settings from configure.ac.
10464 * sysdeps/i386/preconfigure: New file.
10465 * sysdeps/s390/preconfigure: Likewise.
10466 * sysdeps/sh/preconfigure: Likewise.
10467 * sysdeps/sparc/preconfigure: Likewise.
10468
06d50baa
RM
104692014-06-25 Roland McGrath <roland@hack.frob.com>
10470
74836003
RM
10471 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10472 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10473 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10474 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10475 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10476 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10477 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10478 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10479 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10480 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10481 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10482 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10483 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10484 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10485 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10486 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10488 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10489 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10490
10491 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10492 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10493 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10494 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10495 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10496 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10497 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10498 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10499 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10500 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10501 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10502 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10503 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10504 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10505 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10506 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10507 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10508 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10509 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10510 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10512 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10514 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10516 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10518 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10519 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10520 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10522 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10523 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10524 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10526 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10527 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10528 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10529
06d50baa
RM
10530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10531 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10533 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10535 Moved ...
10536 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10537 ... here.
10538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10541 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10543 Moved ...
10544 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10546 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10550 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10552 Moved ...
10553 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10555 Moved ...
10556 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10558 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10560 Moved ...
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10563 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10565 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10569 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10571 Moved ...
10572 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10573 ... here.
10574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10575 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10579 Moved ...
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10582 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10584 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10588 Moved ...
10589 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10591 Moved ...
10592 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10596 Moved ...
10597 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10599 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10601 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10602
a4ccbc9b
JM
106032014-06-25 Joseph Myers <joseph@codesourcery.com>
10604
0828edbf
JM
10605 * timezone/checktab.awk: Update from tzcode 2014e.
10606 * timezone/private.h: Likewise.
10607 * timezone/tzfile.h: Likewise.
10608 * timezone/zdump.c: Likewise.
10609 * timezone/zic.c: Likewise.
10610
a4ccbc9b
JM
10611 * sysdeps/unix/sysv/linux/kernel-features.h
10612 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10614 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10615 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10616 Remove conditional code.
10617
9aea0cb8
WN
106182014-06-25 Will Newton <will.newton@linaro.org>
10619
10620 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10621 (_dl_arm_cap_flags): Add HWCAP2 values.
10622 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10623 (_DL_HWCAP_COUNT): Increase to 37.
10624 (_DL_HWCAP_LAST): New define.
10625 (_DL_HWCAP2_LAST): New define.
10626 (_dl_procinfo): Add support for printing
10627 AT_HWCAP2 entries.
10628 (_dl_string_hwcap): Use _dl_hwcap_string.
10629
6eaa65ce
AZ
106302014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10631
10632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10633
0f5b7185
JM
106342014-06-25 Joseph Myers <joseph@codesourcery.com>
10635
cfd2ea50
JM
10636 * README: Do not mention ports directory.
10637
cecf2ed4
JM
10638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10639 Remove macro.
10640 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10641 <kernel-features.h>.
10642 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10643 conditional variable definition.
10644 (__futimes): Update comment.
10645 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10646 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10647
a638de82
JM
10648 [BZ #16560]
10649 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10650 arguments close to 0.
10651 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10652 Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10654 Likewise.
10655 * math/auto-libm-test-in: Add more tests of exp10.
10656 * math/auto-libm-test-out: Regenerated.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10658
0f5b7185
JM
10659 * sysdeps/unix/sysv/linux/kernel-features.h
10660 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10661 * sysdeps/unix/sysv/linux/readv.c: Do not include
10662 <kernel-features.h>.
10663 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10664 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10665 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10666 unconditional.
10667 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10668 conditional code.
10669 * sysdeps/unix/sysv/linux/writev.c: Do not include
10670 <kernel-features.h>.
10671 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10672 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10673 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10674 unconditional.
10675 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10676 conditional code.
10677
c7aec4be
WN
106782014-06-25 Will Newton <will.newton@linaro.org>
10679
10680 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10681 comment changes throughout the file. Remove checks
10682 for HAVE_*_H definitions that are not required.
10683 (__gen_tempname): Call abort if an unknown kind value is
10684 passed.
10685
c5241f95
AS
106862014-06-25 Andreas Schwab <schwab@suse.de>
10687
10688 [BZ #17086]
10689 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10690 scalbln, scalblnf, scalblnl in libc.
10691
911422da
SP
106922014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10693
10694 [BZ #17086]
10695 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10696 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10697 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10698
0d749bbe
RM
106992014-06-24 Roland McGrath <roland@hack.frob.com>
10700
10701 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10702 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10703 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10704 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10705 Update #include.
10706 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10707 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10708 Update #include.
10709 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10710 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10711 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10712 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10713 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10714 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10715 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10716 * sysdeps/x86/bits/semaphore.h: ... here.
10717 * sysdeps/x86/nptl/elide.h: Moved ...
10718 * sysdeps/x86/elide.h: ... here.
10719 * sysdeps/x86_64/nptl/Implies: File removed.
10720 * sysdeps/i386/nptl/Implies: File removed.
10721
0ea5d373
JM
107222014-06-24 Joseph Myers <joseph@codesourcery.com>
10723
4060283d
JM
10724 [BZ #16539]
10725 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10726 return the argument for normal arguments with exponent below -64.
10727 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10728 Likewise.
10729 * math/auto-libm-test-in: Add another test of expm1.
10730 * math/auto-libm-test-out: Regenerated.
10731
e7dd3c8c
JM
10732 [BZ #16287]
10733 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10734 calling __erfcl for arguments at least 16.
10735 * math/auto-libm-test-in: Add more tests of erf.
10736 * math/auto-libm-test-out: Regenerated.
10737
0ea5d373
JM
10738 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10739 individual architectures.
10740 * sysdeps/unix/sysv/linux/configure: Regenerated.
10741 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10742 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10743 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10744 (ldd_rewrite_script): Define variable.
10745 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10747 file.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10749 generated file.
10750 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10751 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10752 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10753 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10754 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10755 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10756 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10757 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10758
2307e126
SP
107592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10760
10761 [BZ #17084]
10762 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10763 Rename member __data.d to __data.__elision_data.
10764
c0a4ed77
W
107652014-06-24 Wilco <wdijkstr@arm.com>
10766
10767 * NEWS: Add 16918 to fixed bug list.
10768
b8c00573
W
107692014-06-24 Wilco <wdijkstr@arm.com>
10770
10771 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10772
b5570d92
W
107732014-06-24 Wilco <wdijkstr@arm.com>
10774
10775 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10776 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10777 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10778 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10779 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10780 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10781 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10782 Use _FPU_MASK_RM.
10783
947bdca2
W
107842014-06-24 Wilco <wdijkstr@arm.com>
10785
10786 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10787
00f669ed
W
107882014-06-24 Wilco <wdijkstr@arm.com>
10789
10790 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10791 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10792 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10793 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10794
db59bad3
W
107952014-06-24 Wilco <wdijkstr@arm.com>
10796
10797 [BZ #16918]
10798 * sysdeps/arm/feupdateenv.c (feupdateenv):
10799 Rewrite to reduce FPSCR accesses and fix return value.
10800
001f7b77
W
108012014-06-24 Wilco <wdijkstr@arm.com>
10802
10803 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10804 Optimize to avoid unnecessary FPSCR writes.
10805 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10806 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10807 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10808 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10809
4841e6a6
W
108102014-06-24 Wilco <wdijkstr@arm.com>
10811
10812 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10813 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10814 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10815 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10816 Call libc_fetestexcept_vfp.
10817 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10818 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10819 __SOFTFP__ ifdef so that they can be built for softfp.
10820
0813022c
SP
108212014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10822
08e5862f
SP
10823 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10824 argument type signed char.
10825
0813022c
SP
10826 * Makerules (check-abi): Dump diff of symlist if the test
10827 fails.
10828
3fc7236a
RM
108292014-06-23 Roland McGrath <roland@hack.frob.com>
10830
aba8ef95
RM
10831 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10832 using abort.
10833
3fc7236a
RM
10834 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10835 Remove unused variable ST.
10836
4da6db51
JM
108372014-06-23 Joseph Myers <joseph@codesourcery.com>
10838
4648909d
JM
10839 [BZ #16354]
10840 [BZ #17061]
10841 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10842 small arguments before calling __expm1.
10843 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10844 small arguments before calling __expm1f.
10845 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10846 small arguments before calling __expm1l.
10847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10848 Likewise.
10849 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10850 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10851 spurious underflow for some cosh tests.
10852 * math/auto-libm-test-out: Regenerated.
10853 * sysdeps/i386/fpu/libm-test-ulps: Update.
10854
46a3d3c7
JM
10855 [BZ #17050]
10856 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10857 (__ieee754_y1): Set errno if return value overflows.
10858 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10859 (__ieee754_y1f): Set errno if return value overflows.
10860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10861 (__ieee754_y1l): Set errno if return value overflows.
10862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10863 (__ieee754_y1l): Set errno if return value overflows.
10864 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10865 * math/auto-libm-test-out: Regenerated.
10866
863893ec
JM
10867 * math/gen-auto-libm-tests.c: Document use of
10868 ignore-zero-inf-sign.
10869 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10870 (input_flags): Add ignore-zero-inf-sign.
10871 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10872 * math/gen-libm-test.pl (generate_testfile): Handle
10873 ignore-zero-inf-sign.
10874 * math/auto-libm-test-in: Mark some cpow tests with
10875 ignore-zero-inf-sign and some with xfail-rounding.
10876 * math/auto-libm-test-out: Regenerated.
10877 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10878 * sysdeps/i386/fpu/libm-test-ulps: Update.
10879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880
4da6db51
JM
10881 [BZ #16315]
10882 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10883 overflowing or underflowing operations take place with sign of
10884 result.
10885 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10886 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10887 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10888 (__ieee754_pow): Recompute overflowing and underflowing results in
10889 original rounding mode.
10890 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10891 (__powl_helper): Allow negative argument X and scale negated value
10892 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10893 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10894 overflowing or underflowing operations take place with sign of
10895 result.
10896 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10897 Include <math.h>.
10898 * math/auto-libm-test-in: Add more tests of pow.
10899 * math/auto-libm-test-out: Regenerated.
10900 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10901 (pow_tonearest_test_data): Remove.
10902 (pow_test_tonearest): Likewise.
10903 (pow_towardzero_test_data): Likewise.
10904 (pow_test_towardzero): Likewise.
10905 (pow_downward_test_data): Likewise.
10906 (pow_test_downward): Likewise.
10907 (pow_upward_test_data): Likewise.
10908 (pow_test_upward): Likewise.
10909 (main): Don't call removed functions.
10910 * sysdeps/i386/fpu/libm-test-ulps: Update.
10911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10912
5686b236
RM
109132014-06-23 Roland McGrath <roland@hack.frob.com>
10914
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10916 Moved ...
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10919 Moved ...
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10922 Moved ...
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10925 Moved ...
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10928 File removed.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10930 File removed.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10932 File removed.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10934 File removed.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10936 File removed.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10938 File removed.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10940 File removed.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10942 File removed.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10944 File removed.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10946 File removed.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10948 File removed.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10950 File removed.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10952 Moved ...
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10955 Moved ...
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10957 ... here.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10959 Moved ...
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10962 Moved ...
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10965 Moved ...
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10968 Moved ...
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10971 Moved ...
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10974 Moved ...
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10977 Moved ...
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10981 ... here.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10983 Moved ...
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10986 Moved ...
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10988 ... here.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10990 Moved ...
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10992 ... here.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10994 Moved ...
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10996 ... here.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10998 Moved ...
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11001 Moved ...
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11006 Moved ...
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11008 ... here.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11010 Moved ...
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11012 ... here.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11014 Moved ...
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11020 Moved ...
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11023 Moved ...
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11026 Moved ...
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11028 ... here.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11030 Moved ...
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11033 Moved ...
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11036 Moved ...
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11039 Moved ...
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11044 Moved ...
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11047 Moved ...
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11050 Moved ...
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11052 ... here.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11054 Moved ...
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11056 ... here.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11058 Moved ...
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11060 ... here.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11062 Moved ...
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11065 Moved ...
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11071 Moved ...
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11073 ... here.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11075 Moved ...
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11077 ... here.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11079 Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11081 ... here.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11083 Moved ...
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11086 Moved ...
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11088
e6d90d67
WD
110892014-06-23 Will Newton <will.newton@linaro.org>
11090 Wilco <wdijkstr@arm.com>
11091
11092 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11093 implementation. Include get-rounding-mode.h.
11094 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11095 [!libc_feholdsetround_noex_ctx]: Define
11096 libc_feholdsetround_noex_ctx.
11097 [!libc_feholdsetround_noexf_ctx]: Define
11098 libc_feholdsetround_noexf_ctx.
11099 [!libc_feholdsetround_noexl_ctx]: Define
11100 libc_feholdsetround_noexl_ctx.
11101 (libc_feholdsetround_ctx): New function.
11102 (libc_feresetround_ctx): New function.
11103 (libc_feholdsetround_noex_ctx): New function.
11104 (libc_feresetround_noex_ctx): New function.
11105
d42df555
RM
111062014-06-23 Roland McGrath <roland@hack.frob.com>
11107
88a46474
RM
11108 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11109 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11110 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11111 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11112 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11113 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11114
15bed472
RM
11115 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11116 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11117 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11118 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11119 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11120 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11122 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11124 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11126 Moved ...
11127 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11128 ... here.
11129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11130 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11134 Moved ...
11135 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11137 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11141 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11143 Moved ...
11144 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11149 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11151 Moved ...
11152 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11154 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11155 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11156 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11157 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11158 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11160 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11162 Moved ...
11163 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11164 ... here.
11165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11166 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11172 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11173 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11174 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11176 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11181 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11183 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11190 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11191
d42df555
RM
11192 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11193 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11194 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11195 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11197 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11198 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11199 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11201 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11202 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11205 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11207 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11220
76e5216e
JM
112212014-06-23 Joseph Myers <joseph@codesourcery.com>
11222
11223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11224 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11225 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11226 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11227 (IPV6_PMTUDISC_INTERFACE): Likewise.
11228 (IPV6_PMTUDISC_OMIT): Likewise.
11229
7a81cbcc
AS
112302014-06-23 Andreas Schwab <schwab@suse.de>
11231
11232 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11233 Remove unused errout label.
11234
db224009
AZ
112352014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236
11237 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11238 macro: hardware supports Vector Crypto instructions.
11239
f393b4aa
WN
112402014-06-23 Will Newton <will.newton@linaro.org>
11241
cc7d0447
WN
11242 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11243 rather than __builtin_expect.
11244
d6d06225
WN
11245 * elf/dl-lookup.c (undefined_msg): Remove variable.
11246 (_dl_lookup_symbol_x): Replace undefined_msg with string
11247 literal.
11248
f393b4aa
WN
11249 * elf/dl-lookup.c (do_lookup_unique): New function.
11250 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11251 to a separate function.
11252
ac60763e
AS
112532014-06-23 Andreas Schwab <schwab@suse.de>
11254
11255 [BZ #17079]
11256 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11257 before reading the next line.
11258
c5c13355
WN
112592014-06-23 Will Newton <will.newton@linaro.org>
11260
11261 * test-skeleton.c (signal_handler): Use printf and %m
11262 rather than perror. Use printf rather than fprintf to
11263 stderr. Use puts rather than fputs to stderr.
11264 (main): Likewise.
11265
bd3675f9
LC
112662014-06-22 Ludovic Courtès <ludo@gnu.org>
11267
11268 * nscd/nscd.c (thread_info_t): Remove typedef.
11269 (thread_info): Remove variable.
11270
d03efb2f
AM
112712014-06-21 Allan McRae <allan@archlinux.org>
11272
11273 * NEWS: Mention CVE-2014-4043.
11274
bc4a86fa
RM
112752014-06-20 Roland McGrath <roland@hack.frob.com>
11276
dc9a54f8
RM
11277 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11278 * nptl/smp.h: ... here.
11279
bd7022c4
RM
11280 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11281
26ffd5e6
RM
11282 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11283 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11284 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11285 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11286
93a6d082
RM
11287 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11288 * nptl/stack-aliasing.h: New file.
11289 * sysdeps/i386/i686/stack-aliasing.h: New file.
11290 * sysdeps/i386/i686/nptl/Makefile: File removed.
11291 * sysdeps/x86_64/stack-aliasing.h: New file.
11292 * sysdeps/x86_64/nptl/Makefile
11293 (CFLAGS-pthread_create.c): Variable removed.
11294
bc4a86fa
RM
11295 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11296 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11297 old file.
11298 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11299 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11300 old file.
11301
2272ffc1
JM
113022014-06-21 Joseph Myers <joseph@codesourcery.com>
11303
11304 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11305 (__ASSUME_SIGFRAME_V2): Remove macro.
11306 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11307 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11308 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11309 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11310 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11311 Declare as function. Remove conditional macro definitions.
11312 (__default_rt_sa_restorer): Likewise.
11313 (__default_sa_restorer_v1): Remove declaration.
11314 (__default_sa_restorer_v2): Likewise.
11315 (__default_rt_sa_restorer_v1): Likewise.
11316 (__default_rt_sa_restorer_v2): Likewise.
11317 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11318 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11319 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11320
4b88139b
RM
113212014-06-20 Roland McGrath <roland@hack.frob.com>
11322
11323 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11324 (libpthread-routines): Add sysdep.
11325 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11326 * sysdeps/unix/sysv/linux/sparc/Versions
11327 (libpthread: GLIBC_2.3.3): New version set.
11328 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11329 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11330 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11331 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11332 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11333 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11334 Moved ...
11335 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11337 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11339 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11341 * sysdeps/sparc/nptl/sem_init.c: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11343 * sysdeps/sparc/nptl/sem_post.c: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11345 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11347 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11349 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11350 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11351 (libpthread-routines): Add cpu_relax.
11352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11353 File removed.
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11355 (librt: GLIBC_2.3.3): New version set.
11356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11357 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11359 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11362 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11364 Moved ...
11365 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11367 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11369 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11371 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11373 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11375 Moved ...
11376 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11377 Update #include.
11378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11379 Moved ...
11380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11381 Update #include.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11383 Moved ...
11384 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11385 Update #include.
11386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11387 Moved ...
11388 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11389 Update #include.
11390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11391 Moved ...
11392 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11393 Update #include.
11394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11395 Moved ...
11396 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11397 Update #include.
11398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11399 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11405 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11407 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11409 Moved ...
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11412 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11415
d7109027
JM
114162014-06-20 Joseph Myers <joseph@codesourcery.com>
11417
9bc6103d
JM
11418 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11419 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11420 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11421 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11422 * nscd/nscd.c: Likewise.
11423 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11424 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11425 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11426 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11427
d7109027
JM
11428 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11429 <kernel-features.h>.
11430 (init_mq_netlink): Remove conditional have_sock_cloexec
11431 definitions. Remove code conditional on have_sock_cloexec < 0.
11432 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11433 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11434 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11435 <kernel-features.h>.
11436 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11437 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11438
d92d8f8a
L
114392014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11440
11441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11442 Add tests for memset_chk and memset.
11443
11444 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11445 with AVX2_Usable.
11446
4e6d2347
MR
114472014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11448
257ce712
MR
11449 [BZ #16046]
11450 * elf/tst-dl-iter-static.c: New file.
11451 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11452
4e6d2347
MR
11453 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11454 error.
11455
a2a76afe
JM
114562014-06-20 Joseph Myers <joseph@codesourcery.com>
11457
7fd00f99
JM
11458 * sysdeps/unix/sysv/linux/kernel-features.h
11459 (__ASSUME_F_GETOWN_EX): Remove macro.
11460 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11461 <kernel-features.h>.
11462 (miss_F_GETOWN_EX): Remove variable or macro.
11463 (do_fcntl): Do not check miss_F_GETOWN_EX.
11464 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11465
4a103975
JM
11466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11467 Remove macro.
11468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11469 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11470 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11471
a2a76afe
JM
11472 * sysdeps/unix/sysv/linux/kernel-features.h
11473 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11474 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11475 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11476 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11477
90e5dd48
MR
114782014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11479
11480 [BZ #17075]
11481 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11482 Fix calculation of the symbol's value.
11483 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11484 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11485 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11486 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11487 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11488 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11489 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11490 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11491 (modules-names): Add `tst-armtlsdescmod',
11492 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11493 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11494 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11495 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11496 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11497 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11498 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11499 ($(objpfx)tst-armtlsdescloc): New dependency.
11500 ($(objpfx)tst-armtlsdescextnow): Likewise.
11501 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11502 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11503 TLS scheme support.
11504 * sysdeps/arm/configure: Regenerate.
11505
809fdf0d
JM
115062014-06-20 Joseph Myers <joseph@codesourcery.com>
11507
11508 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11509 (__atfct_seterrno_2): Likewise.
11510 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11511 <kernel-features.h>.
11512 (__ASSUME_ATFCTS): Do not undefine and redefine.
11513 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11514 (__have_atfcts): Remove conditional definition.
11515 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11516 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11517 unreachable if [__ASSUME_ATFCTS].
11518 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11519 not undefine and redefine.
11520 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11521 <kernel-features.h>.
11522 (faccessat) [__NR_faccessat]: Make code unconditional.
11523 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11524 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11525 <kernel-features.h>.
11526 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11527 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11528 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11529 <kernel-features.h>.
11530 (fchownat) [__NR_fchownat]: Make code unconditional.
11531 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11532 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11533 <kernel-features.h>.
11534 (futimesat) [__NR_futimesat]: Make code unconditional.
11535 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11536 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11537 <kernel-features.h>.
11538 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11539 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11540 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11541 <kernel-features.h>.
11542 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11543 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11544 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11545 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11546 <kernel-features.h>.
11547 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11548 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11549 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11550 <kernel-features.h>.
11551 (linkat) [__NR_linkat]: Make code unconditional.
11552 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11553 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11554 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11555 <kernel-features.h>.
11556 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11557 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11558 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11559 <kernel-features.h>.
11560 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11561 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11562 * sysdeps/unix/sysv/linux/openat.c: Do not include
11563 <kernel-features.h>.
11564 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11565 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11566 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11567 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11568 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11569 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11570 <kernel-features.h>.
11571 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11572 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11573 result of INLINE_SYSCALL directly, not via int variable.
11574 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11575 <kernel-features.h>.
11576 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11577 (renameat) [__NR_renameat]: Make code unconditional.
11578 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11579 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11580 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11581 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11582 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11583 (__ASSUME_ATFCTS): Do not undefine and redefine.
11584 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11585 <kernel-features.h>.
11586 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11587 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11588 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11589 <kernel-features.h>.
11590 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11591 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11592 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11593 (__ASSUME_ATFCTS): Do not undefine and redefine.
11594 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11595 <kernel-features.h>.
11596 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11597 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11598 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11599 <kernel-features.h>.
11600 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11601 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11602
224c6c51
L
116032014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11604
11605 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11606
aa6ec754
AS
116072014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11608
11609 [BZ #17069]
11610 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11611 constructed tree before returning error.
11612 * posix/bug-regexp36.c: Expand test case.
11613
d8c2869d
SL
116142014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11615
3ef6b850
SL
11616 [BZ #6803]
11617 * math/libm-test.inc (scalbln_test_date):
11618 Add errno expectations.
11619 * math/w_scalblnf.c: New File.
11620 Add wrapper which checks for setting errno to ERANGE.
11621 Add weak_alias for corresponding scalbln function.
11622 * math/w_scalbln.c: Likewise.
11623 * math/w_scalblnl.c: Likewise.
11624 * math/Makefile (libm-calls): Add w_scalbln.
11625 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11626 Remove weak_alias for corresponding scalbln function.
11627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11631 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11632 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11633 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11634 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11635 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11636 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11637 Remove long_double_symbol for scalblnl function in libm, libc.
11638 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11639 Add wrapper which checks for setting errno to ERANGE.
11640 Add long_double_symbol for scalblnl function in libm, libc.
11641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11642 Remove long_double_symbol for scalblnl in libm.
11643 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11644 Add wrapper which checks for setting errno to ERANGE.
11645 Add long_double_symbol for scalblnl function in libm.
11646 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11647 Do not use wrapper because of own implementation.
11648
c8daec5c
L
116492014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11652 3 bytes for __pad1 for x32.
11653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11654
5c74e47c
LM
116552014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11656 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11659 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11660 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11661 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11662 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11663
4d43ef1e
AS
116642014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11665
11666 [BZ #17069]
11667 * posix/regcomp.c (parse_expression): Deallocate partially
11668 constructed tree before returning error.
11669 * posix/Makefile.c (tests): Add bug-regex36.
11670 (generated): Add bug-regex36.mtrace.
11671 (tests-special): Add $(objpfx)bug-regex36-mem.out
11672 (bug-regex36-ENV): New variable.
11673 ($(objpfx)bug-regex36-mem.out): New rule.
11674 * posix/bug-regex36.c: New file.
11675
51a7380b
WN
116762014-06-19 Will Newton <will.newton@linaro.org>
11677
11678 * malloc/malloc.c (systrim): If extra is zero then return
11679 early.
11680
91b84fe5
SP
116812014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11682
11683 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11684
f940b965
RE
116852014-06-19 Richard Earnshaw <rearnsha@arm.com>
11686
11687 * sysdeps/aarch64/strchr.S: New file.
11688
4ba7a00f
JM
116892014-06-18 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #17022]
11692 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11693 from arguments -2 or below.
11694 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11695 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11696
b3a9f56b
AS
116972014-06-18 Andreas Schwab <schwab@suse.de>
11698
11699 [BZ #17062]
11700 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11701 of a bracket expr not to run off the end of the string.
11702 * posix/Makefile (tests): Add tst-fnmatch3.
11703 * posix/tst-fnmatch3.c: New file.
11704
85d89278
JM
117052014-06-18 Joseph Myers <joseph@codesourcery.com>
11706
11707 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11708 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11709 [$(cross-compiling) = no]: Likewise.
11710 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11711 [$(cross-compiling) = no]: Likewise.
11712
754c5a08
RS
117132014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11714
11715 [BZ #17031]
11716 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11717 double, adjusted for any remainder from the high double.
11718 * math/libm-test.inc (nearbyint): Add tests.
11719 (rint): Likewise.
11720
556f529d
AZ
117212014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722
11723 * nptl/sysdeps/powerpc/Makefile: Moved ...
11724 * sysdeps/powerpc/nptl/Makefile: ... here.
11725 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11726 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11727 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11728 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11729 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11730 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11731 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11732 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11733 * nptl/sysdeps/powerpc/tls.h: Moved ...
11734 * sysdeps/powerpc/nptl/tls.h: ... here.
11735
91c03c53
JM
117362014-06-16 Joseph Myers <joseph@codesourcery.com>
11737
11738 [BZ #16681]
11739 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11740 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11741 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11742 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11743 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11744 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11745 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11746 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11747 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11748
a76e63c5
AS
117492014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11750
11751 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11752
f2f6d82f
AS
117532014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11754
ea8a15f6
AS
11755 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11756 defined operator.
11757
f2f6d82f
AS
11758 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11759 $TIMEOUTFACTOR.
11760
a7291117
FW
117612014-06-16 Florian Weimer <fweimer@redhat.com>
11762
11763 [BZ #17058]
11764 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11765 non-executed part of the test.
11766
3d7c00e3
AS
117672014-06-16 Andreas Schwab <schwab@suse.de>
11768
11769 * string/bits/string2.h (strdup, strndup): Update feature guard.
11770
6957fb31
DM
117712014-06-14 David S. Miller <davem@davemloft.net>
11772
11773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11774
11b9e55b
AS
117752014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11776
1d2a0492
AS
11777 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11778 that was previously under [RESET_PID].
11779 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11780
11b9e55b
AS
11781 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11782 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11783 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11785 (__libc_vfork): New strong alias.
11786 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11787
0f6901d0
AK
117882014-06-14 Andi Kleen <ak@linux.intel.com>
11789
11790 * sysdeps/generic/elide.h: New file.
11791
38bbbb9f
SL
117922014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11793
11794 * Makefile (installed-headers): Adjust path of pthread.h header.
11795
45193bb8
RM
117962014-06-13 Roland McGrath <roland@hack.frob.com>
11797
9a25fd1e
RM
11798 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11799 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11801 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11802
4004f7e4
RM
11803 * nptl/sysdeps/s390/Makefile: Moved ...
11804 * sysdeps/s390/nptl/Makefile: ... here.
11805 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11806 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11807 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11808 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11809 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11810 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11811 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11812 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11813 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11814 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11815 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11816 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11817 * nptl/sysdeps/s390/tls.h: Moved ...
11818 * sysdeps/s390/nptl/tls.h: ... here.
11819
45193bb8
RM
11820 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11821 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11822
f6fdf533
DM
118232014-06-13 David S. Miller <davem@davemloft.net>
11824
11825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11828 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11832 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11833 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11834 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11835 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11836 Remove RESET_PID cpp guards.
11837 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11838 Remove RESET_PID cpp guards.
11839 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11840
f5d71e14
AS
118412014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11842
11843 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11844 __sp to uintptr_t.
11845
b7aa8caa
AK
118462014-06-13 Andi Kleen <ak@linux.intel.com>
11847
4b266200
AZ
11848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11854 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11855 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11859 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11860 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11864 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11866 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11868
11869 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11870 (pthread_rwlock_rdlock): Add elision.
11871 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11872 (pthread_rwlock_wrlock): Add elision.
11873 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11874 (pthread_rwlock_trywrlock): Add elision.
11875 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11876 (pthread_rwlock_tryrdlock): Add elision.
11877 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11878 (pthread_rwlock_tryrdlock): Add elision unlock.
11879 * nptl/sysdeps/pthread/pthread.h:
11880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11881 (PTHREAD_RWLOCK_INITIALIZER,
11882 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11883 Handle new elision field.
11884 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11885 * sysdeps/arm/nptl/bits/pthreadtypes.h
11886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11887 * sysdeps/sh/nptl/bits/pthreadtypes.h
11888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11889 * sysdeps/tile/nptl/bits/pthreadtypes.h
11890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11891 * sysdeps/a/nptl/bits/pthreadtypes.h
11892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11893 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11897 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11898 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11899 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11901 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11902 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11903 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11905 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11907 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11909 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11910 (elision_init): Set try_xbegin to zero when no RTM.
11911 * sysdeps/x86/nptl/bits/pthreadtypes.h
11912 (pthread_rwlock_t): Change __pad1 to __rwelision.
11913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11914
a832bdd3
AK
119152014-06-13 Andi Kleen <ak@linux.intel.com>
11916
11917 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11918 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11919 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11920 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11921
995a46bb
MI
119222014-06-13 Meador Inge <meadori@codesourcery.com>
11923
11924 [BZ #16996]
03ed7738 11925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11926 that the cached result has been set before returning it.
11927
45262aee
RM
119282014-06-12 Roland McGrath <roland@hack.frob.com>
11929
febf6cc5
RM
11930 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11931 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11933 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11935 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11936
e2682246
RM
11937 * nptl/sysdeps/sparc/Makefile: Moved ...
11938 * sysdeps/sparc/nptl/Makefile: ... here.
11939 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11940 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11941 * nptl/sysdeps/sparc/tls.h: Moved ...
11942 * sysdeps/sparc/nptl/tls.h: ... here.
11943 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11944 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11945 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11946 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11947 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11948 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11949 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11950 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11951 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11952 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11953 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11954 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11955 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11956 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11957 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11958 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11959 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11961 Update #include.
11962 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11964 Update #include.
11965 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11967 Update #include.
11968 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11970 Update #include.
11971
b0725f43
RM
11972 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11973
b14368b8
RM
11974 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11975 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11976
c5620eb3
RM
11977 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11978 (struct list_links): Type removed.
11979 (struct thread_node, struct timer_node): Replace struct list_links
11980 with struct list_head.
11981 (list_unlink_ip): Likewise.
11982 * sysdeps/pthread/timer_routines.c
11983 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11984 (list_append, list_insbefore): Likewise.
11985 (list_init): Function removed.
11986 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11987 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11988 * sysdeps/pthread/Makefile: ... here, new file.
11989
11990 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11991 * sysdeps/nptl/Implies: ... here.
11992 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11993 * nptl/sysdeps/pthread/list.h: Moved ...
11994 * include/list.h: ... here.
11995 * nptl/sysdeps/pthread/createthread.c: Moved ...
11996 * nptl/createthread.c: ... here.
11997 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11998 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11999 * nptl/pt-longjmp.c: ... here.
12000 * nptl/sysdeps/pthread/Makefile: Moved ...
12001 * sysdeps/nptl/Makefile: ... here.
12002 * nptl/sysdeps/pthread/Subdirs: Moved ...
12003 * sysdeps/nptl/Subdirs: ... here.
12004 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12005 * sysdeps/nptl/aio_misc.h: ... here.
12006 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12007 * sysdeps/nptl/bits/libc-lock.h: ... here.
12008 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12009 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12010 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12011 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12012 * nptl/sysdeps/pthread/configure: Moved ...
12013 * sysdeps/nptl/configure: ... here.
12014 * nptl/sysdeps/pthread/configure.ac: Moved ...
12015 * sysdeps/nptl/configure.ac: ... here.
12016 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12017 * sysdeps/nptl/gai_misc.h: ... here.
12018 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12019 * sysdeps/nptl/librt-cancellation.c: ... here.
12020 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12021 * sysdeps/nptl/malloc-machine.h: ... here.
12022 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12023 * sysdeps/nptl/pthread-functions.h: ... here.
12024 * nptl/sysdeps/pthread/pthread.h: Moved ...
12025 * sysdeps/nptl/pthread.h: ... here.
12026 * nptl/sysdeps/pthread/setxid.h: Moved ...
12027 * sysdeps/nptl/setxid.h: ... here.
12028 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12029 * sysdeps/nptl/sigfillset.c: ... here.
12030 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12031 * sysdeps/nptl/tcb-offsets.h: ... here.
12032 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12033 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12034 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12035 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12036 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12037 * sysdeps/pthread/allocalim.h: ... here.
12038 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12039 * sysdeps/pthread/bits/sigthread.h: ... here.
12040 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12041 * sysdeps/pthread/flockfile.c: ... here.
12042 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12043 * sysdeps/pthread/ftrylockfile.c: ... here.
12044 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12045 * sysdeps/pthread/funlockfile.c: ... here.
12046 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12047 * sysdeps/pthread/posix-timer.h: ... here.
12048 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12049 * sysdeps/pthread/timer_create.c: ... here.
12050 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12051 * sysdeps/pthread/timer_delete.c: ... here.
12052 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12053 * sysdeps/pthread/timer_getoverr.c: ... here.
12054 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12055 * sysdeps/pthread/timer_gettime.c: ... here.
12056 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12057 * sysdeps/pthread/timer_routines.c: ... here.
12058 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12059 * sysdeps/pthread/timer_settime.c: ... here.
12060 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12061 * sysdeps/pthread/tst-timer.c: ... here.
12062 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12063 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12064
e876b090
RM
12065 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12066 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12067
f6b07b3d
RM
12068 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12069 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12070 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12071 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12072 Update #include target.
12073 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12074 * sysdeps/i386/i686/nptl/Makefile: ... here.
12075 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12076 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12077 Update #include target.
12078 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12079 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12080 * nptl/sysdeps/i386/Makefile: Moved ...
12081 * sysdeps/i386/nptl/Makefile: ... here.
12082 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12083 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12084 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12085 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12086 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12087 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12088 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12089 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12090 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12091 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12092 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12093 * nptl/sysdeps/i386/tls.h: Moved ...
12094 * sysdeps/i386/nptl/tls.h: ... here.
12095
45262aee
RM
12096 * sysdeps/sh/Makefile [$(subdir) = csu]
12097 (gen-as-const-headers): Add tcb-offsets.sym.
12098 * nptl/sysdeps/sh/Makefile: File removed.
12099 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12100 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12101 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12102 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12103 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12104 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12105 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12106 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12107 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12108 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12109 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12110 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12111 * nptl/sysdeps/sh/tls.h: Moved ...
12112 * sysdeps/sh/nptl/tls.h: ... here.
12113 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12114 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12115 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12116 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12117 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12118 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12119 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12120 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12121 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12122 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12123 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12124 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12126 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12128 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12129 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12130 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12132 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12133 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12134 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12136 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12138 Moved ...
12139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12141 Moved ...
12142 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12144 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12145 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12146 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12147 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12148 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12149 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12150 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12151 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12152 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12153 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12154 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12155 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12156 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12157 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12158 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12160 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12161
35a5e3e3
SL
121622014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12163
12164 * posix/spawn_faction_addopen.c: Include string.h.
12165
14642b85
RM
121662014-06-11 Roland McGrath <roland@hack.frob.com>
12167
12168 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12169 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12170 * nptl/sysdeps/x86_64/Makefile: Moved ...
12171 * sysdeps/x86_64/nptl/Makefile: ... here.
12172 * nptl/sysdeps/x86_64/configure: Moved ...
12173 * sysdeps/x86_64/nptl/configure: ... here.
12174 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12175 * sysdeps/x86_64/nptl/configure.ac: ... here.
12176 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12177 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12178 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12179 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12180 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12181 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12182 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12183 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12184 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12185 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12186 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12187 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12188 * nptl/sysdeps/x86_64/tls.h: Moved ...
12189 * sysdeps/x86_64/nptl/tls.h: ... here.
12190 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12191 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12192 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12193 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12194
12195 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12196
31c44fea
AZ
121972014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198
12199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12200
e81a4f9a
JM
122012014-06-11 Joseph Myers <joseph@codesourcery.com>
12202
12203 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12204 type.
12205 [POSIX] (off_t): Likewise.
12206 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12207 [POSIX] (S_ISBLK): Require macro.
12208 [POSIX] (S_ISCHR): Likewise.
12209 [POSIX] (S_ISDIR): Likewise.
12210 [POSIX] (S_ISFIFO): Likewise.
12211 [POSIX] (S_ISREG): Likewise.
12212 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12213 optional-macro.
12214 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12215 type.
12216 [POSIX] (time_t): Likewise.
12217 [POSIX] (timer_t): Likewise.
12218
89e435f3
FW
122192014-06-11 Florian Weimer <fweimer@redhat.com>
12220
12221 [BZ #17048]
12222 * posix/spawn_int.h (struct __spawn_action): Make the path string
12223 non-const to support deallocation.
12224 * posix/spawn_faction_addopen.c
12225 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12226 * posix/spawn_faction_destroy.c
12227 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12228 path in all spawn_do_open actions.
12229 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12230 posix_spawn_file_actions_addopen.
12231
c3a2ebe1
CM
122322014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12233
12234 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12235 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12236 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12237 conditional code always true.
12238 (__libc_vfork): New alias.
12239
9503784a
RM
122402014-06-11 Roland McGrath <roland@hack.frob.com>
12241
c9cab3d2
RM
12242 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12243 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12244
d3996c79
RM
12245 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12246
ba5ec611
RM
12247 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12248 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12249
f12b4814
RM
12250 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12251 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12252
9503784a
RM
12253 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12254 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12255
e23d3d26
VR
122562014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12257
12258 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12259 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12260 multiarch strcmp for PPC64.
12261 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12264 multiarch optimizations.
12265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12266 (__libc_ifunc_impl_list): Likewise.
12267
42b1161e
SP
122682014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12269
12270 * benchtests/scripts/validate_benchout.py: New script.
12271 * benchtests/Makefile (bench-func): Call it.
12272 * benchtests/scripts/benchout.schema.json: New file.
12273
2d0fc4dc
CM
122742014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12275
4a594c34
AZ
12276 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12277 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12278 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12279 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12280 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12281 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12282 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12283 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12284 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12285 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12286 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12287 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12288 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12289 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12290 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12293 Moved ...
4a594c34 12294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12295 ... here.
4a594c34 12296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12297 Moved ...
4a594c34
AZ
12298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12300 Moved ...
4a594c34 12301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12302 ... here.
4a594c34 12303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12304 Moved ...
4a594c34 12305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12306 ... here.
4a594c34 12307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12308 Moved ...
4a594c34
AZ
12309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12311 Moved ...
4a594c34 12312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12313 ... here.
4a594c34 12314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12315 Moved ...
4a594c34 12316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12317 ... here.
4a594c34 12318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12319 Moved ...
4a594c34
AZ
12320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12322 Moved ...
4a594c34 12323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12324 ... here.
4a594c34 12325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12326 Moved ...
4a594c34 12327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12328 ... here.
4a594c34 12329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12330 Moved ...
4a594c34 12331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12332 ... here.
4a594c34 12333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12334 Moved ...
4a594c34
AZ
12335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12337 Moved ...
4a594c34 12338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12339 ... here.
4a594c34 12340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12341 Moved ...
4a594c34 12342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12343 ... here.
4a594c34 12344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12345 Moved ...
4a594c34 12346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12347 ... here.
4a594c34 12348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12349 Moved ...
4a594c34
AZ
12350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12352 Moved ...
4a594c34 12353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12354 ... here.
4a594c34 12355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12356 Moved ...
4a594c34 12357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12358 ... here.
4a594c34 12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12360 Moved ...
4a594c34
AZ
12361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12363 Moved ...
4a594c34 12364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12365 ... here.
4a594c34 12366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12367 Moved ...
4a594c34
AZ
12368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12370 Moved ...
4a594c34
AZ
12371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12373 Moved ...
4a594c34 12374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12375 ... here.
4a594c34 12376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12377 Moved ...
4a594c34 12378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12379 ... here.
4a594c34 12380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12381 Moved ...
4a594c34 12382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12383 ... here.
4a594c34 12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12385 Moved ...
4a594c34
AZ
12386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12388 Moved ...
4a594c34 12389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12390 ... here.
4a594c34 12391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12392 Moved ...
4a594c34 12393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12394 ... here.
4a594c34
AZ
12395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12396 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12400 Moved ...
4a594c34 12401 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12402 ... here.
4a594c34
AZ
12403 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12404 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12406 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12408 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12410 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12411 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12412 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12416 Moved ...
4a594c34
AZ
12417 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12419 Moved ...
4a594c34
AZ
12420 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12422 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12424 Moved ...
4a594c34
AZ
12425 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12427 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12428 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12429 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12430 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12431 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12432
0570cfed
W
124332014-06-10 Wilco <wdijkstr@arm.com>
12434
12435 * math/test-fenv-return.c: New file.
12436 * math/Makefile: Add new test test-fenv-return.
12437
f8ba1b56
JM
124382014-06-10 Joseph Myers <joseph@codesourcery.com>
12439
12440 [BZ #17042]
12441 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12442 when x - 1 is zero.
12443 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12444 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12445 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12446 0.0L for an argument of 1.0L.
12447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12448 Likewise.
12449 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12450 value when x - 1 is zero.
12451 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12452 * sysdeps/i386/fpu/libm-test-ulps: Update.
12453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454
2c3520d9
BO
124552014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12456
12457 [BZ #15119]
12458 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12459
acaa4d24
RM
124602014-06-09 Roland McGrath <roland@hack.frob.com>
12461
12462 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12463 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12464
962b744d
RM
124652014-06-09 Roland McGrath <roland@hack.frob.com>
12466
d752f0cc
RM
12467 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12468 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12469
34eda6d1
RM
12470 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12471 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12472
50f0a637
RM
12473 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12474 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12475
08f41f04
RM
12476 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12477 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12478
962b744d
RM
12479 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12480 if not already defined.
12481 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12482 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12483 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12484 (TLS_INIT_TP): Use it.
12485 (TLS_DEFINE_INIT_TP): New macro.
12486 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12487
09f19b05
JM
124882014-06-09 Joseph Myers <joseph@codesourcery.com>
12489
12490 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12491 constant.
12492 [POSIX] (IXANY): Likewise.
12493 [POSIX] (OLCUC): Likewise.
12494 [POSIX || POSIX2008] (CBAUD): Do not allow.
12495 [POSIX || POSIX2008] (DEFECHO): Likewise.
12496 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12497 [POSIX || POSIX2008] (ECHOKE): Likewise.
12498 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12499 [POSIX || POSIX2008] (EXTA): Likewise.
12500 [POSIX || POSIX2008] (EXTB): Likewise.
12501 [POSIX || POSIX2008] (FLUSHO): Likewise.
12502 [POSIX || POSIX2008] (LOBLK): Likewise.
12503 [POSIX || POSIX2008] (PENDIN): Likewise.
12504 [POSIX || POSIX2008] (SWTCH): Likewise.
12505 [POSIX || POSIX2008] (VDISCARD): Likewise.
12506 [POSIX || POSIX2008] (VDSUSP): Likewise.
12507 [POSIX || POSIX2008] (VLNEXT): Likewise.
12508 [POSIX || POSIX2008] (VREPRINT): Likewise.
12509 [POSIX || POSIX2008] (VSTATUS): Likewise.
12510 [POSIX || POSIX2008] (VWERASE): Likewise.
12511 (B*): Change to B[0123456789]*.
12512 * conform/data/time.h-data [POSIX || UNIX98]
12513 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12514 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12515 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12516 [POSIX] (tm_*): Do not allow.
12517
686554bf
JM
125182014-06-07 Joseph Myers <joseph@codesourcery.com>
12519
12520 * Makefile (install): Don't set LANGUAGE.
12521 * Makefile.in (install): Likewise.
12522 * assert/Makefile (test-assert-ENV): Remove variable.
12523 (test-assert-perr-ENV): Likewise.
12524 * elf/Makefile (neededtest4-ENV): Likewise.
12525 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12526 [$(cross-compiling) = no]: Don't set LANGUAGE.
12527 * io/ftwtest-sh (LANG): Remove variable.
12528 * libio/Makefile (tst-widetext-ENV): Likewise.
12529 * manual/install.texi (Running make install): Don't refer to
12530 environment settings for make install.
12531 * INSTALL: Regenerated.
12532 * nptl/tst-tls6.sh: Don't set LANG.
12533 * posix/globtest.sh (LANG): Remove variable.
12534 * string/Makefile (tester-ENV): Likewise.
12535 (inl-tester-ENV): Likewise.
12536 (noinl-tester-ENV): Likewise.
12537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12538 [$(cross-compiling) = no]: Don't set LANGUAGE.
12539 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12540 without explicit environment settings.
12541
68e6b6b1
RM
125422014-06-06 Roland McGrath <roland@hack.frob.com>
12543
12544 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12545 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12547 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12548
4d3ae034
CM
125492014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12550
12551 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12552 other files in the crypt directory.
12553 * crypt/crypt.c: Remove duplicate includes.
12554 * crypt/crypt-entry.c: Likewise.
12555 * crypt/crypt_util.c: Likewise.
12556
8540f6d2
JM
125572014-06-06 Joseph Myers <joseph@codesourcery.com>
12558
12559 * Makeconfig (run-program-env): New variable.
12560 (run-program-prefix-before-env): Likewise.
12561 (run-program-prefix-after-env): Likewise.
12562 (run-program-prefix): Define in terms of new variables.
12563 (built-program-cmd-before-env): New variable.
12564 (built-program-cmd-after-env): Likewise.
12565 (built-program-cmd): Define in terms of new variables.
12566 (test-program-prefix-before-env): New variable.
12567 (test-program-prefix-after-env): Likewise.
12568 (test-program-prefix): Define in terms of new variables.
12569 (test-program-cmd-before-env): New variable.
12570 (test-program-cmd-after-env): Likewise.
12571 (test-program-cmd): Define in terms of new variables.
12572 * Rules (make-test-out): Use $(run-program-env).
12573 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12574 (help): Do not mention environment variables. Mention
12575 --timeoutfactor option.
12576 (timeoutfactor): New variable.
12577 (blacklist_exports): Remove function.
12578 (exports): Remove variable.
12579 (command): Do not include ${exports}.
12580 * manual/install.texi (Configuring and compiling): Do not mention
12581 test wrappers preserving environment variables. Mention that last
12582 assignment to a variable must take precedence.
12583 * INSTALL: Regenerated.
12584 * benchtests/Makefile (run-bench): Use $(run-program-env).
12585 * catgets/Makefile ($(objpfx)test1.cat): Use
12586 $(built-program-cmd-before-env), $(run-program-env) and
12587 $(built-program-cmd-after-env).
12588 ($(objpfx)test2.cat): Do not specify environment variables
12589 explicitly.
12590 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12591 $(run-program-env) and $(built-program-cmd-after-env).
12592 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12593 $(run-program-env) and $(test-program-cmd-after-env).
12594 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12595 explicitly.
12596 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12597 run_program_env and test_program_cmd_after_env arguments.
12598 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12599 * elf/tst-pathopt.sh: Use run_program_env argument.
12600 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12601 $(test-wrapper-env) and $(run-program-env).
12602 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12603 run_program_env arguments.
12604 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12605 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12606 $(test-program-prefix-before-env), $(run-program-env) and
12607 $(test-program-prefix-after-env).
12608 ($(objpfx)tst-gettext2.out): Likewise.
12609 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12610 run_program_env and test_program_prefix_after_env arguments.
12611 * intl/tst-gettext2.sh: Likewise.
12612 * intl/tst-gettext4.sh: Do not set environment variables
12613 explicitly.
12614 * intl/tst-gettext6.sh: Likewise.
12615 * intl/tst-translit.sh: Likewise.
12616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12617 $(test-program-prefix-before-env), $(run-program-env) and
12618 $(test-program-prefix-after-env).
12619 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12620 run_program_env and test_program_prefix_after_env arguments.
12621 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12622 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12623 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12624 explicitly with each use of ${test_wrapper_env}.
12625 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12626 $(test-program-prefix-before-env), $(run-program-env) and
12627 $(test-program-prefix-after-env).
12628 * posix/tst-getconf.sh: Do not set environment variables
12629 explicitly.
12630 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12631 run_program_env and test_program_prefix_after_env arguments.
12632 * stdio-common/tst-printf.sh: Do not set environment variables
12633 explicitly.
12634 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12635 $(test-program-prefix-before-env), $(run-program-env) and
12636 $(test-program-prefix-after-env).
12637 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12638 run_program_env and test_program_prefix_after_env arguments.
12639 Split $test calls into $test_pre and $test.
12640 * timezone/Makefile (build-testdata): Use
12641 $(built-program-cmd-before-env), $(run-program-env) and
12642 $(built-program-cmd-after-env).
12643
ed36bfa1
AZ
126442014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12645
12646 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12647 strlen for non SHARED builds.
12648
fc75bf46
SP
126492014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12650
12651 * nptl/allocatestack.c (check_list): Inlined function...
12652 (__reclaim_stacks): ... here.
12653
d89b3d80
OB
126542014-06-05 Ondřej Bílka <neleai@seznam.cz>
12655
12656 [BZ #15698]
12657 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12658 memory overrun.
12659
2bf18041
JM
126602014-06-05 Joseph Myers <joseph@codesourcery.com>
12661
12662 * Rules (make-test-out): Include
12663 LOCPATH=$(common-objpfx)localedata in default environment.
12664 * debug/Makefile (tst-chk1-ENV): Remove variable.
12665 (tst-chk2-ENV): Likewise.
12666 (tst-chk3-ENV): Likewise.
12667 (tst-chk4-ENV): Likewise.
12668 (tst-chk5-ENV): Likewise.
12669 (tst-chk6-ENV): Likewise.
12670 (tst-lfschk1-ENV): Likewise.
12671 (tst-lfschk2-ENV): Likewise.
12672 (tst-lfschk3-ENV): Likewise.
12673 (tst-lfschk4-ENV): Likewise.
12674 (tst-lfschk5-ENV): Likewise.
12675 (tst-lfschk6-ENV): Likewise.
12676 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12677 (tst-iconv7-ENV): Likewise.
12678 * intl/Makefile (LOCPATH-ENV): Likewise.
12679 (tst-codeset-ENV): Likewise.
12680 (tst-gettext3-ENV): Likewise.
12681 (tst-gettext5-ENV): Likewise.
12682 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12683 (tst-fopenloc-ENV): Likewise.
12684 (tst-fgetws-ENV): Remove variable.
12685 (tst-ungetwc1-ENV): Likewise.
12686 (tst-ungetwc2-ENV): Likewise.
12687 (bug-ungetwc2-ENV): Likewise.
12688 (tst-swscanf-ENV): Likewise.
12689 (bug-ftell-ENV): Likewise.
12690 (tst-fgetwc-ENV): Likewise.
12691 (tst-fseek-ENV): Likewise.
12692 (tst-ftell-partial-wide-ENV): Likewise.
12693 (tst-ftell-active-handler-ENV): Likewise.
12694 (tst-ftell-append-ENV): Likewise.
12695 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12696 (tst-regexloc-ENV): Likewise.
12697 (bug-regex1-ENV): Likewise.
12698 (tst-regex-ENV): Likewise.
12699 (tst-regex2-ENV): Likewise.
12700 (bug-regex5-ENV): Likewise.
12701 (bug-regex6-ENV): Likewise.
12702 (bug-regex17-ENV): Likewise.
12703 (bug-regex18-ENV): Likewise.
12704 (bug-regex19-ENV): Likewise.
12705 (bug-regex20-ENV): Likewise.
12706 (bug-regex22-ENV): Likewise.
12707 (bug-regex23-ENV): Likewise.
12708 (bug-regex25-ENV): Likewise.
12709 (bug-regex26-ENV): Likewise.
12710 (bug-regex30-ENV): Likewise.
12711 (bug-regex32-ENV): Likewise.
12712 (bug-regex33-ENV): Likewise.
12713 (bug-regex34-ENV): Likewise.
12714 (bug-regex35-ENV): Likewise.
12715 (tst-rxspencer-ENV): Likewise.
12716 (tst-rxspencer-no-utf8-ENV): Likewise.
12717 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12718 (tst-sscanf-ENV): Likewise.
12719 (tst-swprintf-ENV): Likewise.
12720 (tst-swscanf-ENV): Likewise.
12721 (test-vfprintf-ENV): Likewise.
12722 (scanf13-ENV): Likewise.
12723 (bug14-ENV): Likewise.
12724 (tst-grouping-ENV): Likewise.
12725 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12726 (tst-strtod3-ENV): Likewise.
12727 (tst-strtod4-ENV): Likewise.
12728 (tst-strtod5-ENV): Likewise.
12729 (testmb2-ENV): Likewise./
12730 * string/Makefile (tst-strxfrm-ENV): Likewise.
12731 (tst-strxfrm2-ENV): Likewise.
12732 (bug-strcoll1-ENV): Likewise.
12733 (test-strcasecmp-ENV): Likewise.
12734 (test-strncasecmp-ENV): Likewise.
12735 * time/Makefile (tst-strptime-ENV): Likewise.
12736 (tst-ftime_l-ENV): Likewise.
12737 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12738 (tst-mbrtowc-ENV): Likewise.
12739 (tst-wcrtomb-ENV): Likewise.
12740 (tst-mbrtowc2-ENV): Likewise.
12741 (tst-c16c32-1-ENV): Likewise.
12742 (tst-mbsnrtowcs-ENV): Likewise.
12743
cd1fb604
OB
127442014-06-05 Ondřej Bílka <neleai@seznam.cz>
12745
12746 * manual/resource.texi (How to get information about the memory
12747 subsystem?): Fix typo.
12748 Reported by Peon de la Parra Ivan <peon@keba.com>
12749
b42eca7d
GY
127502014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12751
12752 [BZ #16882]
12753 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12754 (pthread_spin_lock): Branch out of spin loop to proper location.
12755 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12756 (pthread_spin_lock): Likewise.
12757
902b71f9
DM
12758 * nptl/tst-spin4.c: New test.
12759 * nptl/Makefile (tests): Add tst-spin4.
12760
f9d2d032
AS
127612014-06-03 Andreas Schwab <schwab@suse.de>
12762
12763 [BZ #15946]
12764 * resolv/res_send.c (send_dg): Reload file descriptor after
12765 calling reopen.
12766
cf7bfd28
SL
127672014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12768
12769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12770
111cc714
RH
127712014-06-03 Richard Henderson <rth@redhat.com>
12772
89b4bd6b
RH
12773 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12774 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12775 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12776 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12777 in the SAVE_PID block.
12778 (__libc_vfork): New alias.
71840409 12779 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12780
111cc714
RH
12781 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12782 child in registers, not on the stack. Remove RESET_PID conditionals.
12783 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12784
ccc39911
MS
127852014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12786
12787 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12788
693096cc
W
127892014-06-03 Wilco <wdijkstr@arm.com>
12790
12791 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12792 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12793 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12794 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12795 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12796 Likewise.
12797
0b4366bc
W
127982014-06-03 Wilco <wdijkstr@arm.com>
12799
12800 * sysdeps/aarch64/fpu/math_private.h
12801 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12802 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12803 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12804 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12805 Fix declarations.
12806
8747cd03
KS
128072014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12808
12809 * crypt/crypt-private.h: Include ufc-crypt.h.
12810 (__b64_from_24bit): Declare extern.
12811 * crypt/crypt_util.c(__b64_from_24bit): New function.
12812 (b64t): New static const variable.
12813 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12814 (b64t): Remove variable.
12815 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12816 * crypt/sha256-crypt.c: Include crypt-private.h.
12817 (b64t): Remove variable.
12818 (__sha256_crypt_r): Remove b64_from_24bit and replace
12819 with __b64_from_24bit.
12820 * crypt/sha512-crypt.c: Likewise.
12821
d936d379
RM
128222014-06-02 Roland McGrath <roland@hack.frob.com>
12823
12824 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12825 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12826 Label the code __libc_vfork rather than __vfork.
12827 [!NOT_IN_libc] (vfork): Define as weak alias.
12828 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12829 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12830 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12831
9fa76613
SP
128322014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12833
12834 * malloc/malloc.c (malloc_info): Fix format specifier for
12835 n_mmaps.
12836
a88dadbe
W
128372014-06-02 Wilco <wdijkstr@arm.com>
12838
12839 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12840 FPCR write.
12841
c95b3011
W
128422014-06-02 Wilco <wdijkstr@arm.com>
12843
12844 [BZ #17009]
12845 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12846 Rewrite to reduce FPCR/FPSR accesses.
12847
6b4d7a90
DM
128482014-06-01 David S. Miller <davem@davemloft.net>
12849
12850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12851
30f3d07c
DM
128522014-05-31 David S. Miller <davem@davemloft.net>
12853
12854 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12855 to occur in round to nearest mode when |x| >= 2.0
12856
74f31c18
RH
128572014-05-30 Richard Henderson <rth@twiddle.net>
12858
f0712b54
RH
12859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12860 (PSEUDO_RET_NOERRNO): Remove.
12861 (ret): Don't redefine.
12862 (ret_NOERRNO): Define in terms of ret.
12863 (ret_ERRVAL): Likewise.
12864
74f31c18
RH
12865 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12866 use of PSEUDO_RET; perform the error check directly.
12867
30477995
MM
128682014-05-30 Marko Myllynen <myllynen@redhat.com>
12869
12870 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12871 with __int128_t.
12872
62a58816
SP
128732014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12874
12875 * malloc/malloc (malloc_info): Fix formatting.
12876
4d653a59
SP
128772014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12878 Roland McGrath <roland@hack.frob.com>
12879
12880 * malloc/malloc (malloc_info): Also print mmapped statistics.
12881
5190c17f
RM
128822014-05-30 Roland McGrath <roland@hack.frob.com>
12883
12884 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12885 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12886
987c0269
OB
128872014-05-30 Ondřej Bílka <neleai@seznam.cz>
12888
12889 * malloc/malloc.c (malloc_info): Inline mi_arena.
12890
af4e8ef9
RH
128912014-05-29 Richard Henderson <rth@twiddle.net>
12892
1670e207
RH
12893 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12894 Remove comma before expanding ASM_ARGS_##nr.
12895 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12896 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12897 of ASM_ARGS_##nr.
12898 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12899 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12900 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12901 (ASM_ARGS_1): Add leading comma.
12902
11a28aee
RH
12903 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12904 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12905 to __errno_location.
12906 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12907 Remove the expected plt for __errno_location.
12908
a17e5ffb 12909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12910 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12911 call to __read_tp.
12912
b5be4597
RH
12913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12914 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12915 it and break it down.
12916 (DOCARGS_0, DOCARGS_1): Do nothing.
12917 (DOCARGS_2): Update to store into the new stack frame.
12918 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12919 (UNDOCARGS_1): Update to restore from the new stack frame.
12920 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12921 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12922
645d44ab
RH
12923 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12924 (SINGLE_THREAD_P): New parameter for result regno.
12925 (PSEUDO): Update to match; use cbz instead of beq.
12926
a8b4f04a
RH
12927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12928 Use ENTRY to define the _nocancel entry point. Share the syscall
12929 and syscall error check paths with the cancel path.
12930 (PSEUDO_END): New.
12931
af4e8ef9
RH
12932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12933 whitespace; tabs before and after asm mnemonics.
12934
26b0d2e1
EW
129352014-05-29 Eric Wong <normalperson@yhbt.net>
12936
12937 [BZ #15132]
12938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12939 Call fstat64 or stat64 internally, depending on arguments passed.
12940 Replace stat buffer argument with file descriptor argument.
12941 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12942 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12943 Pass fd to __internal_statvfs instead of calling fstat64.
12944 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12945 Pass fd to __internal_statvfs64 instead of calling fstat64.
12946 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12947 Pass -1 to __internal_statvfs instead of calling stat64.
12948 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12949 Pass -1 to __internal_statvfs64 instead of calling stat64.
12950
1efe2bd9
RM
129512014-05-28 Roland McGrath <roland@hack.frob.com>
12952
0d3b7a19
RM
12953 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12954 that was previously under [RESET_PID].
12955 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12956
1efe2bd9
RM
12957 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12958 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12959
a6bea3ca
RM
129602014-05-27 Roland McGrath <roland@hack.frob.com>
12961
30b6629e
RM
12962 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12963
a6bea3ca
RM
12964 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12965 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12966
3dfb9a5c
OB
129672014-05-27 Ondřej Bílka <neleai@seznam.cz>
12968
12969 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12970
774f9285
AS
129712014-05-27 Andreas Schwab <schwab@suse.de>
12972
12973 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12974 TLS_INIT_TP macro.
12975 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12976 * elf/rtld.c (init_tls, dl_main): Likewise.
12977 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12978 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12979 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12980 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12981 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12982 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12983 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12984 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12985 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12986 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12987 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12988 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12989 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12990 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12991 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12992 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12993 * sysdeps/generic/tls.h: Update description.
12994
36ffe739
WN
129952014-05-27 Will Newton <will.newton@linaro.org>
12996
12997 [BZ #16990]
12998 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12999 and restore r2 rather than just restoring.
13000
2482ae43
SP
130012014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13002
13003 [BZ #16724]
13004 * libio/tst-ftell-append.c: New test case.
13005 * libio/Makefile (tests): Add test case.
13006 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13007 append mode.
13008 * libio/wfileops.c (do_ftell_wide): Likewise.
13009
3d1024e8
AZ
130102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13011
bab90016
AZ
13012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13013
c7a8d667
AZ
13014 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13015 ...
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13018 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13019 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13021 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13023 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13025 Moved ...
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13028 Moved ...
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13031 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13032 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13033 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13035 ...
13036 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13037 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13038 Moved ...
13039 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13040 here.
13041 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13042 ...
13043 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13044 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13045 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13046
daee7851
AZ
13047 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13048 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13049 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13050 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13051
50a40819
AZ
13052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13053 merge into ...
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13056 ...
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13059 ...
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13062 Moved ...
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13064 here.
13065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13066 Moved ...
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13069 Moved ...
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13071
8464c2a1
AZ
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13073 conditional [RESET_PID].
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13076 removed.
13077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13078 removed.
13079
3d1024e8
AZ
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13081 <tcb-offsets.h>.
13082 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13083 (__libc_vfork): New strong alias.
13084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13085 removed.
13086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13087 Removed.
13088
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13090 <tcb-offsets.h>.
13091 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13092 (__libc_vfork): New strong alias.
13093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13094 removed.
13095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13096 removed.
13097
fdfd175d
CD
130982014-05-26 Carlos O'Donell <carlos@redhat.com>
13099
13100 * malloc/malloc.c (mi_arena): New function.
13101 (malloc_info): Remove nested function mi_arena. Call non-nosted
13102 function mi_arena.
13103
d298c416
AZ
131042014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13105
13106 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13107 by insrwi.
13108 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13109 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13110 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13111 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13112 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13113 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13115
b60ea6ff
AS
131162014-05-26 Andreas Schwab <schwab@suse.de>
13117
13118 [BZ #16984]
13119 * locale/programs/repertoire.c (repertoire_read): Add slash
13120 between I18NPATH element and file name.
13121 * locale/programs/locfile.c (locfile_read): Likewise.
13122
67365926
SL
131232014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13124
13125 * nptl/pthread_mutexattr_settype.c
13126 (__pthread_mutexattr_settype):
13127 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13128
f8bdf1f0
SL
131292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13130
13131 * nptl/tst-mutex5 (do_test):
13132 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13133
15eaf6ff
SP
131342014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13135
13136 * benchtests/README: Document 'init' directive.
13137 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13138 BENCH_INIT.
13139 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13140 (parse_file): Recognize 'init' directive.
13141
75f11331
KM
131422014-05-26 Kyle McMartin <kyle@redhat.com>
13143
13144 [BZ #16796]
13145 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13146 alignment of struct pthread.
13147
c3ec475c
SP
131482014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13149
13150 [BZ #16878]
13151 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13152 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13153 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13154 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13155
82aab97c
RH
131562014-05-25 Richard Henderson <rth@twiddle.net>
13157
aa2f176d
RH
13158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13159 (SINGLE_THREAD_P_PIC): Remove.
13160 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13161 (SINGLE_THREAD_P_PIC): Remove.
13162
ca3cfa40
RH
13163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13164 branch to syscall error ...
13165 (PSEUDO): ... here.
13166 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13167 from __local_syscall_error to .Lsyscall_error.
13168 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13169 (SYSCALL_ERROR): Update label name.
13170
6e6c2d01
RH
13171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13172 Do not use DOARGS/UNDOARGS.
13173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13174 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13175 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13176 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13177 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13178
c69abcee
RH
13179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13180 block comment.
13181
82aab97c
RH
13182 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13183 define if !NOT_IN_libc.
13184 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13185 define with non-default symbol versions.
13186
8820e3ac
RH
131872014-05-23 Richard Henderson <rth@twiddle.net>
13188
900e445f
RH
13189 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13190 (vfork, __vfork): Define via compat_symbol.
13191
8820e3ac
RH
13192 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13193 [!HAVE_IFUNC] (vfork_compat): Remove.
13194 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13195
e59252a5
JM
131962014-05-23 Joseph Myers <joseph@codesourcery.com>
13197
13198 [BZ #16978]
13199 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13200 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13201 variable.
13202
132c7f5f
RH
132032014-05-23 Richard Henderson <rth@twiddle.net>
13204
bc89e962
RH
13205 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13206 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13207 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13208 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13209
13210 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13211 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13212 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13213 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13214 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13215 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13216 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13217 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13218 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13219 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13220 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13221 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13222 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13223 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13225 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13226 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13227 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13228 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13229 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13230 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13231 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13232 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13233 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13237 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13238 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13239 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13241 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13242 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13245 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13247 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13249 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13250 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13251 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13252 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13253 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13254 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13255 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13257 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13259 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13260 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13261 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13262 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13263 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13264 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13265 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13266
e2fa4bc2
RH
13267 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13268 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13269 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13270 before exiting on error.
13271 (__libc_vfork): New strong alias.
13272 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13273 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13274
279b24e2
RH
13275 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13276 that was previously under [RESET_PID].
13277 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13278
132c7f5f
RH
13279 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13280
b72592e7
JM
132812014-05-23 Joseph Myers <joseph@codesourcery.com>
13282
13283 [BZ #16977]
13284 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13285 value when x - 1 is zero.
13286 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13287 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13288 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13289 0.0L for an argument of 1.0L.
13290 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13291 Likewise.
13292 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13293 value when x - 1 is zero.
13294 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13295 * sysdeps/i386/fpu/libm-test-ulps: Update.
13296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13297
2302d679
RV
132982014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13299
13300 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13301 alphasort and versionsort.
13302
32999d63
AZ
133032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13304
13305 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13306 macro.
13307 [copysignf]: Likewise.
13308
019324d0
SP
133092014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13310
13311 * crypt/md5-crypt.c: Fix formatting.
13312
34fff5c2
KS
133132014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13314
13315 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13316 (b64_from_24bit): New function.
13317
3d2badac
AZ
133182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13321 libc_hidden_builtin_def to ifunc.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13323 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13324
f7bb179f 133252014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13326
13327 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13328 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13329
4134b50d
JM
133302014-05-21 Joseph Myers <joseph@codesourcery.com>
13331
bb7d0337
JM
13332 * nscd/Depend (linuxthreads): Remove.
13333 (nptl): Add.
13334 * resolv/Depend (linuxthreads): Remove.
13335 * rt/Depend (linuxthreads): Remove.
13336
4134b50d
JM
13337 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13338 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13339 $(common-objpfx)elf/.
13340 (link-libc-before-gnulib): Likewise.
13341 (elfobjdir): Remove variable.
13342 * Makefile (install): Use $(elf-objpfx) instead of
13343 $(common-objpfx)elf/.
13344 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13345 $(elfobjdir)/.
13346 (link-libc-deps): Likewise.
13347 ($(common-objpfx)libc.so): Likewise.
13348 ($(common-objpfx)linkobj/libc.so): Likewise.
13349 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13350 instead of $(common-objpfx)elf/.
13351 (symbolic-link-list): Likewise.
13352 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13353 [$(cross-compiling) = no]: Likewise.
13354 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13355 $(elfobjdir)/.
13356 (static-gnulib-arch): Likewise.
13357 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13358 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13359 $(common-objpfx)elf/.
13360
3612eb8f
RH
133612014-05-21 Richard Henderson <rth@redhat.com>
13362
a6b3657b
RH
13363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13364 (SINGLE_THREAD_P): Use the correct width load. Fold
13365 into the ldr offset.
13366
3612eb8f
RH
13367 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13368 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13369
175cef41
JM
133702014-05-20 Joseph Myers <joseph@codesourcery.com>
13371
13372 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13373 (libgcc_s_resume): Use __attribute_used__.
13374 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13375 Likewise.
13376
e13bccd3
AZ
133772014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13378
13379 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13380 optimization when used with float constants.
13381
7c112a38
AZ
13382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13383
ae75a883
AJ
133842014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13385
13386 [BZ #16915]
13387 * locale/nl_langinfo_l.c: Make direct reference to every
13388 _nl_current_CATEGORY symbol.
13389 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13390 (tests-static): Add tst-langinfo-static.
13391 (tests-special): Add tst-langinfo-static.out.
13392 ($(objpfx)tst-langinfo.out): Redirect output.
13393 ($(objpfx)tst-langinfo-static.out): New.
13394 * localedata/tst-langinfo.sh: Send output to stdout.
13395 * localedata/tst-langinfo-static.c: New file.
13396
4406c41c
AJ
13397 [BZ #16965]
13398 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13399 when the shift amount is modulo the limb size.
13400
4c0a1e63
RH
134012014-05-20 Richard Henderson <rth@redhat.com>
13402
de9d8f20
RH
13403 [BZ #16967]
13404 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13405 Change type of sa_flags from unsigned int to int.
13406
4c0a1e63
RH
13407 [BZ #16966]
13408 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13409
13410 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13411
a60339aa
WN
134122014-05-20 Will Newton <will.newton@linaro.org>
13413
13414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13415 Test the return value of the system call in the nocancel case.
13416
7d05a816
YR
134172014-05-20 Will Newton <will.newton@linaro.org>
13418 Yvan Roux <yvan.roux@linaro.org>
13419
13420 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13421 #include of asm/ptrace.h.
13422 (PTRACE_GET_THREAD_AREA): Remove #undef.
13423 (PTRACE_GETHBPREGS): Likewise.
13424 (PTRACE_SETHBPREGS): Likewise.
13425 (struct user_regs_struct): New structure.
13426 (struct user_fpsimd_struct): New structure.
13427 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13428 #include of asm/ptrace.h and second #include of sys/user.h.
13429 (PTRACE_GET_THREAD_AREA): Remove #undef.
13430 (PTRACE_GETHBPREGS): Likewise.
13431 (PTRACE_SETHBPREGS): Likewise.
13432 (ELF_NGREG): Use new struct user_regs_struct.
13433 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13434
af121e37
AZ
134352014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13436
13437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13439
834caf06
JM
134402014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13441
13442 [BZ #16958]
13443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13444 membar to avoid block loads/stores to overlap previous stores.
13445
e184a918
RH
134462014-05-17 Richard Henderson <rth@redhat.com>
13447
13448 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13449 Create the __##syscall_name##_nocancel entry point.
13450 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13451 Remove; let the sysdep-cancel.h code create it.
13452
f56c7a6a
DM
134532014-05-17 David S. Miller <davem@davemloft.net>
13454
13455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13456 Protect with __USE_GNU.
13457 (TIOCSET_TEMPT): Likewise.
13458 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13459 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13460 these are already provided in bits/ioctl-types.h
13461
f75616b2
RM
134622014-05-16 Roland McGrath <roland@hack.frob.com>
13463
3edeca86
RM
13464 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13465 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13466
f75616b2
RM
13467 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13468 Use wait4 regardless of [__NR_waitpid].
13469
deb0f7f6
MR
134702014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13471
13472 PR libgcc/60166
13473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13474 (_FP_NANSIGN_Q): Set the quiet bit.
13475
79520f4b
JM
134762014-05-16 Joseph Myers <joseph@codesourcery.com>
13477
13478 * benchtests/Makefile
13479 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13480 not $(common-objpfx)math/libm.so.
13481 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13482 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13483 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13484 $(common-objpfx)dlfcn/libdl.so.
13485 ($(objpfx)tst-audit8): Depend on $(libm), not
13486 $(common-objpfx)math/libm.so.
13487 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13488 not $(common-objpfx)dlfcn/libdl.so.
13489 * math/Makefile
13490 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13491 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13492 [$(build-shared) = yes].
13493 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13494 $(common-objpfx)nptl/libpthread.so.
13495 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13496 $(common-objpfx)math/libm.so$(libm.so-version) or
13497 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13498 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13499 $(common-objpfx)dlfcn/libdl.so.
13500 * setjmp/Makefile (link-libm): Remove variable.
13501 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13502 * stdio-common/Makefile (link-libm): Remove variable.
13503 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13504 * stdlib/Makefile (link-libm): Remove variable.
13505 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13506 ($(objpfx)tst-strtod-round): Likewise.
13507 ($(objpfx)tst-tininess): Likewise.
13508 ($(objpfx)tst-strtod-underflow): Likewise.
13509 ($(objpfx)tst-strtod6): Likewise.
13510 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13511 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13512 $(common-objpfx)dlfcn/libdl.so.
13513
026b0fe4
AZ
135142014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515
13516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13517 BSD terminal modes definitions.
13518
def4bcb2
RM
135192014-05-16 Roland McGrath <roland@hack.frob.com>
13520
fe39b021
RM
13521 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13522 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13523
1d1fc46e 13524 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13525 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13526 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13527 Don't do #include_next.
13528 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13529 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13530 Don't do #include_next.
13531 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13532 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13533 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13534 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13535
c72399fb
AM
135362014-05-16 Allan McRae <allan@archlinux.org>
13537
d51d659d
AM
13538 * po/sv.po: Update Swedish translation from translation project.
13539
c72399fb
AM
13540 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13541 in sed expression.
13542
d0583c40
AJ
135432014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13544
13545 [BZ #16917]
13546 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13547 errno if the TIOCGPTN ioctl fails with an error different than
13548 EINVAL.
13549 * login/tst-ptsname.c: New file.
13550 * login/Makefile (tests): Add tst-ptsname.
13551
d16e6ec7
AJ
13552 [BZ #16943]
13553 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13554 and prlimit64.
13555
cf26a0cb
SP
135562014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13557
13558 [BZ #16849]
13559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13560 herrno to return EAI_AGAIN.
13561
5675da1e
RM
135622014-05-14 Roland McGrath <roland@hack.frob.com>
13563
a5d87b3d
RM
13564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13565 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13566 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13567 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13568 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13569 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13570 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13571 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13573 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13574 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13575 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13576 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13577 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13578 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13579 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13580 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13581 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13582 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13583 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13585 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13586 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13587 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13588 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13589 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13590 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13591 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13592 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13593 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13595 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13597 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13599 Moved ...
13600 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13602 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13604 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13606 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13608 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13612 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13614 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13622 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13624 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13626 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13628 Moved ...
13629 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13631 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13633 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13635 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13637 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13649 Moved ...
13650 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13652 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13653
039890a6
RM
13654 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13655 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13656 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13657 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13658 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13659 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13660 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13662 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13663 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13664 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13666 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13667 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13668 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13669 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13670 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13671 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13672 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13673 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13674 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13675 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13676 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13677 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13678 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13679 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13680 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13682 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13684 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13685
65c89320
RM
13686 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13687 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13688
348f8e8c
RM
13689 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13690 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13691 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13692 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13693 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13694 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13695 Moved ...
13696 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13697 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13698 Moved ...
13699 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13701 Moved ...
13702 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13704 Moved ...
13705 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13706 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13707 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13708 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13709 Moved ...
13710 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13711 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13712 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13714 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13715 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13716 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13717 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13718 Moved ...
13719 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13721 Moved ...
13722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13723 ... here.
13724 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13725 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13726 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13727 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13729 Moved ...
13730 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13731 ... here.
13732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13733 Moved ...
13734 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13736 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13737 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13738 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13739 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13740 Moved ...
13741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13742 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13743 Moved ...
13744 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13746 Moved ...
13747 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13749 Moved ...
13750 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13751 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13752 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13754 Moved ...
13755 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13756 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13757 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13759 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13760 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13761 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13762 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13763 Moved ...
13764 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13766 Moved ...
13767 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13768 ... here.
13769 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13770 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13772 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13774 Moved ...
13775 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13776 ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13778 Moved ...
13779 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13781 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13783 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13784 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13787 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13789 Moved ...
13790 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13792 Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13795 Moved ...
13796 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13798 Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13801 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13803 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13805 Moved ...
13806 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13807 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13808 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13812 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13814 Moved ...
13815 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13817 Moved ...
13818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13819 ... here.
13820 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13821 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13823 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13825 Moved ...
13826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13827 ... here.
13828 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13829 Moved ...
13830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13832 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13833 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13834 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13835 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13836 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13838 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13840 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13841
5085af05
RM
13842 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13843 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13844
708f0813
RM
13845 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13846 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13847
c96067bc
RM
13848 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13849 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13850 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13852 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13854 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13855 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13856 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13857 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13859 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13861 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13862 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13864 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13866 Moved ...
13867 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13869 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13871 Moved ...
13872 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13874 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13876 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13880 Moved ...
13881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13883 Moved ...
13884 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13886 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13888 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13890 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13891 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13892 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13893 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13894 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13895 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13896 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13898 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13900 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13901
ec136444
RM
13902 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13903 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13904 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13905 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13906 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13907
2fbdf533
RM
13908 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13909 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13911 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13912 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13913 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13914 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13915 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13916 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13917 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13918
4c68138b
RM
13919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13921
4eaae765
RM
13922 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13923 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13924 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13925 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13927 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13928 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13929 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13930 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13931 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13932 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13933 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13934 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13935 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13937 Update #include.
13938 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13939 Likewise.
13940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13941 Likewise.
13942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13943 Likewise.
13944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13945 Likewise.
13946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13947 Likewise.
13948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13949 Likewise.
13950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13951 Likewise.
13952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13953 Likewise.
13954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13955 Likewise.
4ef6befa
RM
13956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13962 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13964 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13968 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13970 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13971
941d7dfd
RM
13972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13973 that was previously under [RESET_PID].
13974 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13975 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13976 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13977
1b731c35
RM
13978 * sysdeps/i386/nptl/Implies: New file.
13979 * sysdeps/x86_64/nptl/Implies: New file.
13980 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13981 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13982 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13983 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13984
e2787137
RM
13985 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13986 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13987 (__libc_vfork): New strong alias.
13988 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13989 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13990
13991 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13992 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13993 (__libc_vfork): New strong alias.
13994 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13995 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13996
5675da1e
RM
13997 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13998 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13999 (__libc_vfork): New strong alias.
14000 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14001 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14002 * nptl/pt-vfork.c: New file.
14003 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14004 (libpthread: GLIBC_2.20): New version set (empty).
14005
4f02e2b8
WN
140062014-05-14 Will Newton <will.newton@linaro.org>
14007
14008 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14009 rather than #if.
14010
0bf061d3
JM
140112014-05-14 Joseph Myers <joseph@codesourcery.com>
14012
1a84c3d6
JM
14013 [BZ #16564]
14014 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14015 arguments with exponent 65 or above.
14016 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14017 arguments 0x1p113L or above.
14018 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14019 to arguments 0x1p107L or above.
14020 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14021 positive arguments with exponent 65 or above.
14022 * math/auto-libm-test-in: Add more tests of log1p.
14023 * math/auto-libm-test-out: Regenerated.
14024
01dbacd2
JM
14025 [BZ #16928]
14026 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14027 non-finite arguments is +0.
14028 * math/s_cacosf.c (__cacosf): Likewise.
14029 * math/s_cacosl.c (__cacosl): Likewise.
14030 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14031 * sysdeps/i386/fpu/libm-test-ulps: Update.
14032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14033
913d03c8
JM
14034 [BZ #16927]
14035 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14036 value.
14037 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14038 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14039 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14040 for explicit high bit of mantissa when testing for argument equal
14041 to 1.
14042 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14043 * sysdeps/i386/fpu/libm-test-ulps: Update.
14044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14045
0bf061d3
JM
14046 [BZ #16516]
14047 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14048 (__erf): Scale by 16 instead of 8 in potentially underflowing
14049 case. Ensure exception if result actually underflows.
14050 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14051 (__erff): Scale by 16 instead of 8 in potentially underflowing
14052 case. Ensure exception if result actually underflows.
14053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14054 (efx8): Remove variable.
14055 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14056 case. Ensure exception if result actually underflows.
14057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14058 (efx8): Remove variable.
14059 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14060 case. Ensure exception if result actually underflows.
14061 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14062 (efx8): Remove variable.
14063 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14064 case. Ensure exception if result actually underflows.
14065 * math/auto-libm-test-in: Add more tests of erf.
14066 * math/auto-libm-test-out: Regenerated.
14067
73ba67cb
AS
140682014-05-14 Andreas Schwab <schwab@suse.de>
14069
3d8c8bff
AS
14070 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14071 Remove code conditionalized on USE___THREAD.
14072
73ba67cb
AS
14073 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14074 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14075 not definedness.
14076
5c521ecd
JM
140772014-05-14 Joseph Myers <joseph@codesourcery.com>
14078
5e7698c6
JM
14079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14080 Define unconditionally.
14081 (__ASSUME_O_CLOEXEC): Likewise.
14082 (__ASSUME_SOCK_CLOEXEC): Likewise.
14083 (__ASSUME_IN_NONBLOCK): Likewise.
14084 (__ASSUME_PIPE2): Likewise.
14085 (__ASSUME_EVENTFD2): Likewise.
14086 (__ASSUME_SIGNALFD4): Likewise.
14087 (__ASSUME_DUP3): Likewise.
14088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14089 (__ASSUME_DUP3): Do not define.
14090 (__ASSUME_EVENTFD2): Likewise.
14091 (__ASSUME_IN_NONBLOCK): Likewise.
14092 (__ASSUME_O_CLOEXEC): Likewise.
14093 (__ASSUME_PIPE2): Likewise.
14094 (__ASSUME_SIGNALFD4): Likewise.
14095 (__ASSUME_SOCK_CLOEXEC): Likewise.
14096 (__ASSUME_UTIMES): Undefine.
14097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14098 (__ASSUME_UTIMES): Do not define.
14099 (__ASSUME_O_CLOEXEC): Likewise.
14100 (__ASSUME_SOCK_CLOEXEC): Likewise.
14101 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14102 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14103 0x020621].
14104 (__ASSUME_PIPE2): Likewise.
14105 (__ASSUME_EVENTFD2): Likewise.
14106 (__ASSUME_SIGNALFD4): Likewise.
14107 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14108 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14109 Do not define.
14110 (__ASSUME_EVENTFD2): Likewise.
14111 (__ASSUME_SIGNALFD4): Likewise.
14112 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14113 (__ASSUME_32BITUIDS): Likewise.
14114 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14115 (__ASSUME_IPC64): Likewise.
14116 (__ASSUME_ST_INO_64_BIT): Likewise.
14117 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14118 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14120 (__ASSUME_UTIMES): Do not define.
14121 (__ASSUME_PSELECT): Likewise.
14122 (__ASSUME_PPOLL): Likewise.
14123 (__ASSUME_O_CLOEXEC): Likewise.
14124 (__ASSUME_SOCK_CLOEXEC): Likewise.
14125 (__ASSUME_IN_NONBLOCK): Likewise.
14126 (__ASSUME_PIPE2): Likewise.
14127 (__ASSUME_EVENTFD2): Likewise.
14128 (__ASSUME_SIGNALFD4): Likewise.
14129 (__ASSUME_DUP3): Likewise.
14130 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14131 (__ASSUME_UTIMES): Likewise.
14132 (__ASSUME_O_CLOEXEC): Likewise.
14133 (__ASSUME_SOCK_CLOEXEC): Likewise.
14134 (__ASSUME_IN_NONBLOCK): Likewise.
14135 (__ASSUME_PIPE2): Likewise.
14136 (__ASSUME_EVENTFD2): Likewise.
14137 (__ASSUME_SIGNALFD4): Likewise.
14138 (__ASSUME_DUP3): Likewise.
14139 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14140 (__ASSUME_UTIMES): Likewise.
14141 (__ASSUME_O_CLOEXEC): Likewise.
14142 (__ASSUME_SOCK_CLOEXEC): Likewise.
14143 (__ASSUME_IN_NONBLOCK): Likewise.
14144 (__ASSUME_PIPE2): Likewise.
14145 (__ASSUME_EVENTFD2): Likewise.
14146 (__ASSUME_SIGNALFD4): Likewise.
14147 (__ASSUME_DUP3): Likewise.
14148 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14149 Likewise.
14150 (__ASSUME_UTIMES): Likewise.
14151 (__ASSUME_EVENTFD2): Likewise.
14152 (__ASSUME_SIGNALFD4): Likewise.
14153 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14154 (__ASSUME_O_CLOEXEC): Likewise.
14155 (__ASSUME_SOCK_CLOEXEC): Likewise.
14156 (__ASSUME_IN_NONBLOCK): Likewise.
14157 (__ASSUME_PIPE2): Likewise.
14158 (__ASSUME_EVENTFD2): Likewise.
14159 (__ASSUME_SIGNALFD4): Likewise.
14160 (__ASSUME_DUP3): Likewise.
14161 (__ASSUME_UTIMES): Undefine.
14162
5c521ecd
JM
14163 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14164 feclearexcept. Remove symbol versioning code.
14165 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14166 symbol versioning code.
14167 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14168 symbol versioning code.
14169 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14170 feupdateenv. Remove symbol versioning code.
14171 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14172 fegetexceptflag. Remove symbol versioning code.
14173 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14174 fesetexceptflag. Remove symbol versioning code.
14175 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14176 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14177 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14178 (__posix_fadvise64_l32): Remove prototype.
14179 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14180 code.
14181
5da9dfad
RM
141822014-05-13 Roland McGrath <roland@hack.frob.com>
14183
14184 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14185 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14186 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14187 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14188
893b4f37
SK
141892014-05-13 Sami Kerola <kerolasa@iki.fi>
14190
14191 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14192 current working directory
14193
e0db6517
RM
141942014-05-13 Roland McGrath <roland@hack.frob.com>
14195
58aa195d
RM
14196 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14197 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14198 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14199 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14200 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14201 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14202 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14203 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14204 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14205 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14206 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14207 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14209 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14210 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14211 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14212 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14213 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14215 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14217 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14218 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14219 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14220 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14221 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14223 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14225 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14226 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14227 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14228 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14229 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14230 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14231 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14232 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14233 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14234 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14235 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14236 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14237 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14238
8c6d01f0
RM
14239 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14240 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14241
14242 * sysdeps/unix/sysv/linux/arm/Makefile
14243 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14244 Add rt-aeabi_unwind_cpp_pr1.
14245 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14246 Add nptl-aeabi_unwind_cpp_pr1.
14247 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14248 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14249 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14250 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14251 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14252 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14253
14254 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14255 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14256 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14257 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14258
bba6da4e
RM
14259 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14260 Deconditionalize the code that was previously under [RESET_PID].
14261 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14262
e0db6517
RM
14263 * sysdeps/generic/exit-thread.h: New file.
14264 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14265 * include/unistd.h (__exit_thread): Remove declaration.
14266 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14267 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14268 * csu/libc-start.c: Include <exit-thread.h>.
14269 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14270 * nptl/pthread_create.c: Include <exit-thread.h>.
14271 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14272 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14273 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14274 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14275 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14276 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14277 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14278 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14279 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14280 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14281 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14282 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14283 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14284 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14285 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14286 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14287 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14288
01eb16fd
AS
142892014-05-13 Andreas Schwab <schwab@suse.de>
14290
14291 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14292
637461d9
JM
142932014-05-12 Joseph Myers <joseph@codesourcery.com>
14294
14295 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14296 (__ASSUME_UTIMES): Do not condition on kernel version.
14297 (__ASSUME_PSELECT): Define unconditionally.
14298 (__ASSUME_PPOLL): Likewise.
14299 (__ASSUME_ATFCTS): Likewise.
14300 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14301 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14302 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14303 (__ASSUME_UTIMENSAT): Define unconditionally.
14304 (__ASSUME_PRIVATE_FUTEX): Likewise.
14305 (__ASSUME_FALLOCATE): Likewise.
14306 (__ASSUME_O_CLOEXEC): Likewise.
14307 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14308 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14309 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14310 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14311 (__ASSUME_IN_NONBLOCK): Likewise.
14312 (__ASSUME_PIPE2): Likewise.
14313 (__ASSUME_EVENTFD2): Likewise.
14314 (__ASSUME_SIGNALFD4): Likewise.
14315 (__ASSUME_DUP3): Likewise.
14316 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14317 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14318 (__ASSUME_AT_RANDOM): Likewise.
14319 (__ASSUME_PREADV): Likewise.
14320 (__ASSUME_PWRITEV): Likewise.
14321 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14322 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14323 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14325 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14327 (__ASSUME_O_CLOEXEC): Define unconditionally.
14328 (__ASSUME_PSELECT): Do not undefine conditionally.
14329 (__ASSUME_PPOLL): Likewise.
14330 (__ASSUME_ATFCTS): Likewise.
14331 (__ASSUME_SET_ROBUST_LIST): Likewise.
14332 (__ASSUME_UTIMENSAT): Likewise.
14333 (__ASSUME_FDATASYNC): Define unconditionally.
14334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14335 (__ASSUME_SIGFRAME_V2): Likewise.
14336 )__ASSUME_EVENTFD2): Likewise.
14337 (__ASSUME_SIGNALFD4): Likewise.
14338 (__ASSUME_PSELECT): Do not undefine conditionally.
14339 (__ASSUME_PPOLL): Likewise.
14340 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14341 (__ASSUME_PSELECT): Define unconditionally.
14342 (__ASSUME_PPOLL): Likewise.
14343 (__ASSUME_O_CLOEXEC): Likewise.
14344 (__ASSUME_SOCK_CLOEXEC): Likewise.
14345 (__ASSUME_IN_NONBLOCK): Likewise.
14346 (__ASSUME_PIPE2): Likewise.
14347 (__ASSUME_EVENTFD2): Likewise.
14348 (__ASSUME_SIGNALFD4): Likewise.
14349 (__ASSUME_DUP3): Likewise.
14350 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14351 (__ASSUME_O_CLOEXEC): Likewise.
14352 (__ASSUME_SOCK_CLOEXEC): Likewise.
14353 (__ASSUME_IN_NONBLOCK): Likewise.
14354 (__ASSUME_PIPE2): Likewise.
14355 (__ASSUME_EVENTFD2): Likewise.
14356 (__ASSUME_SIGNALFD4): Likewise.
14357 (__ASSUME_DUP3): Likewise.
14358 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14359 (__ASSUME_EVENTFD2): Likewise.
14360 (__ASSUME_SIGNALFD4): Likewise.
14361 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14362
315eb1d8
AS
143632014-05-12 Andreas Schwab <schwab@suse.de>
14364
14365 [BZ #16932]
14366 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14367 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14368 than maximum RPC packet size.
14369 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14370 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14371 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14372 (_nss_nis_getservbyport_r): Likewise.
14373
91df99f7
WN
143742014-05-12 Will Newton <will.newton@linaro.org>
14375
14376 * malloc/Makefile (tests): Add tst-mallopt.
14377 * malloc/tst-mallopt.c: New file.
14378
0a982a29
RM
143792014-05-09 Roland McGrath <roland@hack.frob.com>
14380
14381 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14382 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14383
0ded08a5
AZ
143842014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14385
14386 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14387 (tst-tlsmod6.so): Likewise.
14388
55d4d550
RM
143892014-05-09 Roland McGrath <roland@hack.frob.com>
14390
14391 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14392
77d08aca
JM
143932014-05-09 Joseph Myers <joseph@codesourcery.com>
14394
14395 [BZ #16064]
14396 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14397 and <dl-procinfo.h>.
14398 (__fegetenv): Save SSE state in envp->__eip if supported.
14399 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14400 envp->__eip if supported.
14401 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14402 and <dl-procinfo.h>.
14403 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14404 __data_offset and __data_selector in environment to 0. Set SSE
14405 state if supported.
14406 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14407 test-fenv-sse.
14408 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14409 -mfpmath=sse.
14410 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14411
28162f4d
WN
144122014-05-09 Will Newton <will.newton@linaro.org>
14413
14414 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14415 and libc_relro_required for ARM.
14416 * sysdeps/arm/preconfigure: Regenerate.
14417
5a414ff7
DV
144182014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14419 Stefan Liebler <stli@linux.vnet.ibm.com>
14420
14421 * config.make.in (enable-lock-elision): New Makefile variable.
14422 * configure.ac: Likewise.
14423 * configure: Regenerate.
14424 * sysdeps/s390/configure.ac:
14425 Add check for gcc transactions support.
14426 * sysdeps/s390/configure: Regenerate.
14427 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14428 Build elision files if enabled.
14429 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14430 Add lock elision support for s390.
14431 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14432 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14433 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14434 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14435 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14436 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14438 Likewise.
14439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14440 Likewise.
14441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14442 Likewise.
14443 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14444 Likewise.
14445 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14446 (__lll_timedlock_elision, __lll_lock_elision)
14447 (__lll_unlock_elision, __lll_trylock_elision)
14448 (lll_timedlock_elision, lll_lock_elision)
14449 (lll_unlock_elision, lll_trylock_elision): Add.
14450 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14451 (pthread_mutex_t): Add lock elision support for s390.
14452
1a2f40e5
W
144532014-05-14 Wilco <wdijkstr@arm.com>
14454
14455 * sysdeps/arm/fclrexcpt.c: Cleanup.
14456 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14457 * sysdeps/arm/feenablxcpt.c: Cleanup.
14458 * sysdeps/arm/fegetenv.c: Cleanup.
14459 * sysdeps/arm/fegetexcept.c: Cleanup.
14460 * sysdeps/arm/fegetround.c: Cleanup.
14461 * sysdeps/arm/feholdexcpt.c: Cleanup.
14462 * sysdeps/arm/fesetenv.c: Cleanup.
14463 * sysdeps/arm/fesetround.c: Cleanup.
14464 * sysdeps/arm/feupdateenv.c: Cleanup.
14465 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14466 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14467 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14468 * sysdeps/arm/ftestexcept.c: Cleanup.
14469 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14470 * sysdeps/arm/setfpucw.c: Cleanup.
14471
f63c86fe
WN
144722014-05-09 Will Newton <will.newton@linaro.org>
14473
14474 * sysdeps/arm/armv7/strcmp.S: New file.
14475 * NEWS: Mention addition of ARMv7 optimized strcmp.
14476
7a1a51b5
RM
144772014-05-08 Roland McGrath <roland@hack.frob.com>
14478
95afbbe5
RM
14479 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14480 look for %.ac rather than %.in.
14481
14482 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14483 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14484 * sysdeps/mach/hurd/configure: Regenerated.
14485 * sysdeps/unix/sysv/linux/configure: Regenerated.
14486
7a1a51b5
RM
14487 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14488
5057ad3b
SE
144892014-05-07 Steve Ellcey <sellcey@mips.com>
14490
14491 [BZ# 16922]
14492 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14493 (LONG_SUB): Ditto.
14494 (PTR_SUB): Ditto.
14495
8dc97517
AS
144962014-05-07 Andreas Schwab <schwab@suse.de>
14497
14498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14499 when skipping over non-matching result from nscd.
14500
ce0c5b8f
OB
145012014-05-07 Ondřej Bílka <neleai@seznam.cz>
14502
14503 [BZ #16876]
14504 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14505
a1189263
OB
14506 [BZ #16877]
14507 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14508 nscd security class.
ce0c5b8f 14509
0f58d252
RM
145102014-05-06 Roland McGrath <roland@hack.frob.com>
14511
14512 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14513 * sysdeps/arm/unwind.h: ... here.
14514
83df9ad0
AJ
145152014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14516
ce0c5b8f
OB
14517 [BZ# 16916]
14518 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14519 Define.
83df9ad0 14520
f360f94a
VR
145212014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14522
14523 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14524 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14525 multiarch strncpy for PPC64.
14526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14527 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14529 multiarch optimizations.
14530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14531 (__libc_ifunc_impl_list): Likewise.
14532 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14533 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14534 multiarch stpncpy for PPC64.
14535 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14536 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14537
978a41c3
AS
145382014-05-06 Andreas Schwab <schwab@suse.de>
14539
14540 [BZ #16912]
14541 * gmon/mcount.c (_MCOUNT_DECL): Use
14542 atomic_compare_and_exchange_bool_acq instead of
14543 catomic_compare_and_exchange_bool_acq.
14544
eb1ed03d
RM
145452014-05-05 Roland McGrath <roland@hack.frob.com>
14546
fe658845
RM
14547 * elf/Makefile (others, install-bin): Remove pldd.
14548 (pldd-modules): Variable removed.
14549 ($(objpfx)pldd): Target removed.
14550 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14551 (others, install-bin): Append pldd here.
14552 ($(objpfx)pldd): New target.
14553
eb1ed03d
RM
14554 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14555 to 0, so the first #if test emitted later doesn't see it undefined.
14556 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14557 * sysdeps/gnu/errlist.c: Regenerated.
14558
19c4bec0
AZ
145592014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14560
14561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14562 [libc_hidden_builtin_def]: Define to empty value.
14563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14564 [libc_hidden_builtin_def]: Likewise.
14565 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14566 [libc_hidden_builtin_def]: Likewise.
14567 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14568 [libc_hidden_builtin_def]: Likewise.
14569 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14570 __redirect_memcpy and define ifunc as default hidden symbol.
14571 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14572 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14573
7776e669
AC
145742014-05-04 Adam Conrad <adconrad@0c3.net>
14575
14576 * locale/iso-4217.def: Reintroduce XDR currency.
14577
d69aeb12
AM
145782014-05-04 Allan McRae <allan@archlinux.org>
14579
14580 * po/eo.po: Update Esperanto translation from translation project.
14581
8f1df5cf
CD
145822014-05-02 Carlos O'Donell <carlos@redhat.com>
14583
14584 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14585 and FEATURE_INDEX_MAX to 1.
14586 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14587
13e402e7
SE
145882014-05-01 Steve Ellcey <sellcey@mips.com>
14589
14590 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14591 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14592 * iconvdata/big5.c (ONE_DIRECTION): Define.
14593 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14594 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14595 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14596 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14597 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14598 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14599 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14600 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14601 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14602 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14603 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14604 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14605 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14606 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14607 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14608 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14609 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14610 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14611 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14612 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14613 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14614 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14615 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14616 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14617 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14618 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14619 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14620 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14621 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14622 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14623 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14624 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14625 * iconvdata/johab.c (ONE_DIRECTION): Define.
14626 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14627 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14628 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14629 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14630 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14631 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14632 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14633 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14634 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14635 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14636
c727f032
RM
146372014-05-01 Roland McGrath <roland@hack.frob.com>
14638
8f2f08d0
RM
14639 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14640 (_IO_JUMPS_OFFSET): Define to 0.
14641
c727f032
RM
14642 * nptl/sysdeps/pthread/bits/libc-lock.h
14643 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14644 (__libc_lock_define_initialized_recursive): Always define using
14645 initializer. Modern compilers treat uninitialized (implicit zero) and
14646 explicit zero initializers the same (i.e. put the datum in bss).
14647
a849e800
AS
146482014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14649
14650 * nscd/nscd-client.h: Include <string.h>.
14651
5331255b
DM
146522014-05-01 David S. Miller <davem@davemloft.net>
14653
14654 [BZ #16885]
14655 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14656 multiple zero bytes exist at the end of a string.
14657 Reported by Aurelien Jarno <aurelien@aurel32.net>
14658
14659 * string/test-strcmp.c (check): Add explicit test for situations where
14660 there are multiple zero bytes after the first.
14661
4fdfe821
AS
146622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14663
14664 [BZ #16890]
14665 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14666 when compiling wprintf.
14667 * stdio-common/tstdiomisc.c (t3): New function.
14668 (main): Call it.
14669
0cdddc25
SE
146702014-05-01 Steve Ellcey <sellcey@mips.com>
14671
14672 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14673 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14674 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14675 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14676
6426d77e
SE
146772014-05-01 Steve Ellcey <sellcey@mips.com>
14678
14679 * stdlib/longlong.h: Updated from GCC.
14680
6d96f5e4
WN
146812014-05-01 Will Newton <will.newton@linaro.org>
14682 Bernard Ogden <bernie.ogden@linaro.org>
14683
7470db0c
WN
14684 * NEWS: Update fixed bug list.
14685
6d96f5e4
WN
14686 [BZ #15119]
14687 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14688
211d653c
DM
146892014-04-30 David S. Miller <davem@davemloft.net>
14690
4fa262fa
DM
14691 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14692 (libc_feholdexcept_setround_sparc_ctx): New function.
14693 (libc_fesetenv_sparc_ctx): Likewise.
14694 (libc_feupdateenv_sparc_ctx): Likewise.
14695 (libc_feholdsetround_sparc_ctx): Likewise.
14696 (libc_feholdexcept_setround_ctx): Define.
14697 (libc_feholdexcept_setroundf_ctx): Likewise.
14698 (libc_feholdexcept_setroundl_ctx): Likewise.
14699 (libc_fesetenv_ctx): Likewise.
14700 (libc_fesetenvf_ctx): Likewise.
14701 (libc_fesetenvl_ctx): Likewise.
14702 (libc_feupdateenv_ctx): Likewise.
14703 (libc_feupdateenvf_ctx): Likewise.
14704 (libc_feupdateenvl_ctx): Likewise.
14705 (libc_feresetround_ctx): Likewise.
14706 (libc_feresetroundf_ctx): Likewise.
14707 (libc_feresetroundl_ctx): Likewise.
14708 (libc_feholdsetround_ctx): Likewise.
14709 (libc_feholdsetroundf_ctx): Likewise.
14710 (libc_feholdsetroundl_ctx): Likewise.
14711
1d3d93ef
DM
14712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14713 with __USE_GNU instead of XOPEN cpp guards.
14714
8aa583c3
DM
14715 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14716 0.
14717
211d653c
DM
14718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14719 with XOPEN cpp guards.
14720
60c8f1f6
JB
147212014-04-30 Julian Brown <julian@codesourcery.com>
14722
14723 [BZ #16888]
14724 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14725 handling.
14726
9a461d46
JM
147272014-04-30 Joseph Myers <joseph@codesourcery.com>
14728
d0f5b3f8
JM
14729 [BZ #9894]
14730 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14731 Change to 2.6.32.
14732 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14733 * sysdeps/unix/sysv/linux/configure: Regenerated.
14734 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14735 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14736 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14737 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14738 * README: Update reference to required Linux kernel version.
14739 * manual/install.texi (Linux): Update reference to required Linux
14740 kernel headers version.
14741 * INSTALL: Regenerated.
14742
9a461d46
JM
14743 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14744 header inclusion.
14745 [POSIX] (limits.h): Likewise.
14746 [POSIX] (math.h): Likewise.
14747 [POSIX] (sys/wait.h): Likewise.
14748 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14749 function.
14750 [POSIX] (stddef.h): Do not allow header inclusion.
14751
1775babf
AZ
147522014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14753
57f41c40 14754 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14755
8f630cca
YY
147562014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14757
14758 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14759 Return immediately after lll_futex_wake.
14760
1cdeb237
SP
147612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14762
bc8f194c
SP
14763 [BZ #16791]
14764 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14765 structure.
14766 (datahead_init_pos): Call datahead_init_common early.
14767 (datahead_init_neg): Likewise.
14768
1cdeb237
SP
14769 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14770 datahead_init_neg): New functions.
14771 * nscd/aicache.c (addhstaiX): Use them.
14772 * nscd/grpcache.c (cache_addgr): Likewise.
14773 * nscd/hstcache.c (cache_addhst): Likewise.
14774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14775 * nscd/netgroupcache.c (do_notfound): Likewise.
14776 (addgetnetgrentX): Likewise.
14777 (addinnetgrX): Likewise.
14778 * nscd/pwdcache.c (cache_addpw): Likewise.
14779 * nscd/servicescache.c (cache_addserv): Likewise.
14780
16b293a7
SP
147812014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14782 Atsushi Onoe <atsushi@onoe.org>
14783
14784 [BZ #14308]
14785 [BZ #12994]
14786 [BZ #13651]
14787 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14788 one response is valid.
14789 * resolv/res_send.c (send_dg): Check for validity of other
14790 response if the current response is a referral.
14791
a28a9b94
SE
147922014-04-29 Steve Ellcey <sellcey@mips.com>
14793
14794 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14795
2ca180e9
SL
147962014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14797
14798 [BZ #16823]
14799 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14800 Always divide by positive zero when computing -Inf result.
14801 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14802 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14803
18f2945a
AZ
148042014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14805
14806 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14807 FPSCR if value do not change.
14808 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14809 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14810 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14811 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14812 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14813 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14814 function.
14815
5abebba4
CD
148162014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14817
14818 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14819 * sysdeps/unix/sysv/linux/hppa: Move directory from
14820 ports/systeps/unix/sysv/linux/hppa.
14821 * README: Update listing for hppa-*-linux-gnu.
14822
f7ed60c2
OB
148232014-04-28 Ondřej Bílka <neleai@seznam.cz>
14824
fff763a5
OB
14825 [BZ #16754]
14826 * manual/stdio.texi (Hook functions): Fix types of stream hook
14827 functions.
f7ed60c2
OB
14828 [BZ #16854]
14829 * socket/sys/socket.h: Fix typo in comment.
14830
df639d73
WD
148312014-04-28 Wilco <wdijkstr@arm.com>
14832
f7ed60c2 14833 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14834 * sysdeps/arm/math_private.h: New file.
14835 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14836
48332d82
L
148372014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14838
14839 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14840 with __int128_t.
14841 (La_x86_64_retval): Likewise.
14842
e5e0d9a4
IB
148432014-04-24 Ian Bolton <ian.bolton@arm.com>
14844
14845 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14846 fpsr if value didn't change.
14847 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14848 to fpcr if value didn't change.
14849 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14850 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14851 fpsr or fpcr if value didn't change.
14852 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14853 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14854 fpcr if value didn't change.
14855 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14856 to fpsr if value didn't change.
14857
bacc75f7
SP
148582014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14859
14860 * nptl/tst-sem3.c: Use test-skeleton.c
14861 (main): Rename to do_test. Use return instead of
14862 exit.
14863 * nptl/tst-sem4.c: Use test-skeleton.c
14864 (main): Rename to do_test.
14865
a059d359
DM
148662014-04-22 David S. Miller <davem@davemloft.net>
14867
14868 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14869 (struct sigaction): New struct member __glibc_reserved0, change
14870 type of sa_flags to int.
14871
ea6c92f3
YZ
148722014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14873
14874 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14875 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14876
766c4a36
SP
148772014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14878
14879 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14880 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14881
140cc7ab
VK
148822014-04-22 Will Newton <will.newton@linaro.org>
14883 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14884
14885 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14886 (__longjmp): Add longjmp and longjmp_target SystemTap
14887 probes.
14888 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14889 (__sigsetjmp): Add setjmp SystemTap probe.
14890
c54e5cf7
CD
148912014-04-17 Carlos O'Donell <carlos@redhat.com>
14892
14893 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14894 match manual order.
14895
75ffb047
AZ
148962014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14897
14898 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14899
2cd925f7
AZ
14900 * sysdeps/powerpc/fpu/fenv_private.h
14901 (libc_feholdexcept_setroundl_ctx): Define to
14902 libc_feholdexcept_setround_ppc_ctx.
14903 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14904 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14905 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14906 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14907
39e6cd8d
IB
149082014-04-17 Ian Bolton <ian.bolton@arm.com>
14909
14910 * sysdeps/aarch64/math-tests.h: New file.
14911
f9281df9
SY
149122014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14913
14914 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14915 New.
14916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14917 Check and set bit_AVX2_Usable.
14918 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14919 macro.
14920 (bit_AVX2): Likewise.
14921 (index_AVX2_Usable): Likewise.
14922 (CPUID_AVX2): Likewise.
14923 (HAS_AVX2): Likewise.
14924
37d35007
WN
149252014-04-17 Will Newton <will.newton@linaro.org>
14926
7c677662
WN
14927 * manual/setjmp.texi (System V contexts): Add note that
14928 calling setcontext on a context created by a call to a
14929 signal handler is undefined. Update text to note that
14930 setcontext from a signal handler is possible but not
14931 recommended.
14932
37d35007 14933 [BZ #16629]
e04a4e9d
WN
14934 * stdlib/tst-setcontext.c: Include signal.h.
14935 (main): Check that the signal stack before and
14936 after swapcontext is the same.
14937
37d35007
WN
14938 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14939 Re-implement to restore registers in user code and avoid
14940 rt_sigreturn system call.
14941
423a7160
W
149422014-04-17 Wilco <wdijkstr@arm.com>
14943
14944 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14945 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14946 * math/test-fenv.c: Skip exception trap tests on targets which only
14947 support non-stop mode.
14948
bc93ab29
IB
149492014-04-17 Ian Bolton <ian.bolton@arm.com>
14950 Wilco Dijkstra <wilco.dijkstra@arm.com>
14951
14952 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14953 (libc_feholdsetround_aarch64_ctx)
14954 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14955 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14956 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14957 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14958 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14959 (libc_feresetround_noexl_ctx): Define.
14960
95fc5fa3
RH
149612014-04-16 Richard Henderson <rth@redhat.com>
14962
ddb04724
RH
14963 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14964
d77c0899
RH
14965 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14966 unwind tables.
14967
a3df56fc
RH
14968 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14969 const from the non-libc, non-ldso copy.
14970
95fc5fa3
RH
14971 * sysdeps/alpha/libm-test-ulps: Regenerate.
14972
7e0b6763
IB
149732014-04-16 Ian Bolton <ian.bolton@arm.com>
14974 Wilco Dijkstra <wilco.dijkstra@arm.com>
14975
14976 * sysdeps/aarch64/fpu/math_private.h: New file.
14977
a9ea2e0c
MS
149782014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14979
14980 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14981
ea8ba7cd
IZ
149822014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14983
7e54fd04 14984 [BZ #16275]
ea8ba7cd
IZ
14985 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14986 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14988 Intel MPX bound registers before _dl_profile_fixup.
14989 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14990 registers after _dl_profile_fixup. Save and restore bound
14991 registers bnd0/bnd1 when calling _dl_call_pltexit.
14992 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14993 (LR_BND_OFFSET): Likewise.
14994 (LRV_BND0_OFFSET): Likewise.
14995 (LRV_BND1_OFFSET): Likewise.
14996
9f2a4fbc
ST
149972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14998
14999 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15000 to...
15001 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15002 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15003 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15004 fields.
9f2a4fbc 15005
fd15a59b
ST
150062014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15007
15008 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15009
f19dfa0a
SL
150102014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15011
15012 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15013
4fa8bc3b
SL
150142014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15015
15016 [BZ #14770]
15017 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15018 * sysdeps/s390/configure: Regenerate.
15019
8ea587db
SL
15020 [BZ #16824]
15021 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15022 Set round-to-nearest internally to reduce error accumulation.
15023
aa5f0ff1
AM
150242014-04-16 Alan Modra <amodra@gmail.com>
15025
15026 [BZ #16740]
15027 [BZ #16619]
15028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15029 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15030 * NEWS: Update fixed bug list.
aa5f0ff1 15031
bb9c256f
SP
150322014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15033
15034 * benchtests/Makefile: Depend on libraries in build directory.
15035 (bench-math): Separate out math tests.
15036 (bench-pthread): Separate out pthread tests.
15037 (bench): Include math and pthread tests.
15038
f737dfd0
CD
150392014-04-14 Carlos O'Donell <carlos@redhat.com>
15040
15041 [BZ #16831]
15042 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15043 _dl_debug_initialize.
15044
0699f766
CD
15045 * configure.ac: Remove SELinux header check.
15046 * configure: Regenerate.
15047 * nscd/selinux.c (perms): Array of const char* to permission names.
15048 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15049 default policy. Call string_to_security_class and string_to_av_perm to
15050 translate strings. Enforce default policy and call avs_has_perm with
15051 results of translated strings.
15052
809bd45f
DM
150532014-04-13 David S. Miller <davem@davemloft.net>
15054
15055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15056
89e691f2
AM
150572014-04-12 Allan McRae <allan@archlinux.org>
15058
15059 [BZ #16838]
15060 * manual/string.texi (Collation Functions): Fix qsort argument
15061 order in example.
15062 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15063
9c9daaeb
CM
150642014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15065
15066 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15067 Make the test a no-op if there are no exceptions defined.
15068
95561fb9
PP
150692014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15070
fe8d072c 15071 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15072 enable-hardcoded-path-in-tests
15073
970c602a
WN
150742014-04-11 Will Newton <will.newton@linaro.org>
15075
15076 * benchtests/Makefile (extra-objs): Add json-lib.o.
15077 (bench-func): Tidy up JSON output.
15078 * benchtests/bench-skeleton.c: Include json-lib.h.
15079 (main): Use JSON library functions to do output of
15080 benchmark results.
15081 * benchtests/bench-timing-type.c (main): Output the
15082 timing type simply, leaving formatting to the user.
15083 * benchtests/json-lib.c: New file.
15084 * benchtests/json-lib.h: Likewise.
15085
36875b06
TR
150862014-04-11 Torvald Riegel <triegel@redhat.com>
15087
15088 [BZ #15215]
15089 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15090 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15091 memory barriers. Add comments.
15092 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15093 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15094 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15095 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15096 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15097 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15098
579db35a
SL
150992014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15100
15101 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15102 * sysdeps/s390/s390-64/configure.ac: ... this ...
15103 * sysdeps/s390/configure.ac: ... to here.
15104 * sysdeps/s390/s390-32/configure: Delete file.
15105 * sysdeps/s390/s390-64/configure: Delete file.
15106 * sysdeps/s390/configure: Regenerate.
15107
c12e9f37
JAPH
151082014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15109
15110 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15111
439bda32
WN
151122014-04-11 Will Newton <will.newton@linaro.org>
15113
15114 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15115 to zero if it is not defined elsewhere. (mtrim): Test
15116 the value of MALLOC_DEBUG with #if rather than #ifdef.
15117
6a5d6ea1
TR
151182014-04-10 Torvald Riegel <triegel@redhat.com>
15119
15120 * benchtests/pthread_once-inputs: New file.
15121 * benchtests/pthread_once-source.c: New file.
15122 * benchtests/README: Update documentation.
15123
a4c75cfd
IZ
151242014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15125 H.J. Lu <hongjiu.lu@intel.com>
15126
7e54fd04 15127 [BZ #16275]
a4c75cfd
IZ
15128 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15129 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15130 * sysdeps/x86_64/configure: Regenerated.
15131 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15132 macro.
15133 (REGISTER_SAVE_RAX): Likewise.
15134 (REGISTER_SAVE_RCX): Likewise.
15135 (REGISTER_SAVE_RDX): Likewise.
15136 (REGISTER_SAVE_RSI): Likewise.
15137 (REGISTER_SAVE_RDI): Likewise.
15138 (REGISTER_SAVE_R8): Likewise.
15139 (REGISTER_SAVE_R9): Likewise.
15140 (REGISTER_SAVE_BND0): Likewise.
15141 (REGISTER_SAVE_BND1): Likewise.
15142 (REGISTER_SAVE_BND2): Likewise.
15143 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15144 bound registers when calling _dl_fixup.
15145
27822ce6
AZ
151462014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15147
15148 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15149 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15150 of its definition.
27822ce6
AZ
15151 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15152 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15153 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15154 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15155 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15156 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15157 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15158
a88ddc90
PTB
151592014-04-09 Peter Brett <peter@peter-b.co.uk>
15160
15161 [BZ #15514]
15162 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15163 pathconf(_PC_NAME_MAX).
15164
01f8eac2
AZ
151652014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166
15167 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15168 Remove macro usage.
15169 (__PTHREAD_SPINS): Move definition to ...
15170 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15171 (__PTHREAD_SPINS): ... here.
15172 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15173 (__PTHREAD_SPIN): Likewise.
15174 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15175 (__PTHREAD_SPIN): Likewise.
15176 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15177 (__PTHREAD_SPIN): Likewise.
15178 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15179 (__PTHREAD_SPIN): Likewise.
15180 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15181 (__PTHREAD_SPIN): Likewise.
15182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15183 (__PTHREAD_SPIN): Likewise.
15184 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15185 (__PTHREAD_SPIN): Likewise.
15186 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15187 (__PTHREAD_SPIN): Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15189 (__PTHREAD_SPIN): Likewise.
15190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15191 (__PTHREAD_SPIN): Likewise.
15192 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15193 (__PTHREAD_SPIN): Likewise.
15194 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15195 (__PTHREAD_SPIN): Likewise.
15196
de21c33c
AZ
15197 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15198 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15199 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15200 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15201 imply folder.
15202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15203 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15204 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15205 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15206 correct imply path.
15207 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15208 strlen symbol for non multi-arch builds.
15209 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15210 missing hidden_def and weak_alias.
15211
862c472e
CD
152122014-04-08 Carlos O'Donell <carlos@redhat.com>
15213
15214 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15215
8667f90e
WN
152162014-04-07 Will Newton <will.newton@linaro.org>
15217
15218 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15219 and contents. [!_LIBC] Remove #ifndef and contents.
15220 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15221 * string/memccpy.c (__memccpy): Use ANSI prototype.
15222 * string/memfrob.c (memfrob): Likewise.
15223 * string/strcoll.c (STRCOLL): Likewise.
15224 * string/strlen.c (strlen): Likewise.
15225 * string/strtok.c (STRTOK): Likewise.
15226 * string/strcat.c: Remove unused #include of memcopy.h.
15227 (strcat): Use ANSI prototype.
15228 * string/strchr.c: Remove unused #include of memcopy.h.
15229 (strchr): Use ANSI prototype.
15230 * string/strcmp.c: Remove unused #include of memcopy.h.
15231 (strcmp): Use ANSI prototype.
15232 * string/strcpy.c: Remove unused #include of memcopy.h.
15233 (strcpy): Use ANSI prototype.
15234
7ffa9423
AZ
152352014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236
15237 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15238 * config.make.in (config-extra-cppflags): Set it from
15239 libc_extra_cppflags.
15240 * configure.ac (libc_extra_cflags): Make it accumulate over
15241 configure fragments.
15242 (libc_extra_cppflags): New flag.
15243 * configure. Regenerate.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15245 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15246 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15248
8bd70862
AZ
15249 [BZ #16815]
15250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15251 result for FE_DOWNWARD rounding mode.
15252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15253 Likewise.
15254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15255
d42f3448
CM
152562014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15257
15258 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15259 in function argument name.
15260
1c21d115
DS
152612014-04-03 David Svoboda <svoboda@cert.org>
15262
15263 [BZ #5666]
15264 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15265 explicitly.
15266
fcccd512
RM
152672014-04-03 Roland McGrath <roland@hack.frob.com>
15268
15269 * elf/dl-unmap-segments.h: New file.
15270 * sysdeps/generic/ldsodefs.h
15271 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15272 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15273 * elf/dl-fptr.c: Likewise.
15274 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15275 * sysdeps/aarch64/tlsdesc.c: Likewise.
15276 * sysdeps/arm/tlsdesc.c: Likewise.
15277 * sysdeps/i386/tlsdesc.c: Likewise.
15278 * sysdeps/tile/dl-runtime.c: Likewise.
15279 * sysdeps/x86_64/tlsdesc.c: Likewise.
15280 * elf/dl-load.h: New file.
15281 * elf/dl-load.c: Include it.
15282 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15283 Macros moved to dl-load.h.
15284 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15285 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15286 Use _dl_unmap_segments in place of __munmap.
15287 Break out segment-mapping loop into ...
15288 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15289
f6488e2b
WN
152902014-04-03 Will Newton <will.newton@linaro.org>
15291
15292 * elf/dl-lookup.c (do_lookup_x): Remove comment
15293 referring to nested function and move variable
15294 declarations down to before first use.
15295
6f05bafe
JM
152962014-04-02 Joseph Myers <joseph@codesourcery.com>
15297
a84e78c8
JM
15298 [BZ #16799]
15299 [BZ #16800]
15300 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15301 with 0 numerator.
15302 * math/s_catanf.c (__catanf): Likewise.
15303 * math/s_catanh.c (__catanh): Likewise.
15304 * math/s_catanhf.c (__catanhf): Likewise.
15305 * math/s_catanhl.c (__catanhl): Likewise.
15306 * math/s_catanl.c (__catanl): Likewise.
15307 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15308 by positive zero when computing -Inf result.
15309 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15310 (catanh_test): Likewise.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313
6f05bafe
JM
15314 [BZ #16789]
15315 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15316 instead of using underflowing value in computing result.
15317 * math/s_clog10.c (__clog10): Likewise.
15318 * math/s_clog10f.c (__clog10f): Likewise.
15319 * math/s_clog10l.c (__clog10l): Likewise.
15320 * math/s_clogf.c (__clogf): Likewise.
15321 * math/s_clogl.c (__clogl): Likewise.
15322 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15323 (clog10_test): Likewise.
15324 * sysdeps/i386/fpu/libm-test-ulps: Update.
15325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15326
b0abbc21
AM
153272014-04-02 Alan Modra <amodra@gmail.com>
15328
15329 [BZ #16739]
15330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15331 output when value is near a power of two. Use int64_t for lx and
15332 remove casts. Use decimal rather than hex exponent constants.
15333 Don't use long double multiplication when double will suffice.
15334 * math/libm-test.inc (nextafter_test_data): Add tests.
15335 * NEWS: Add 16739 and 16786 to bug list.
15336
af6b1797
AM
15337 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15338
483818d7
AM
15339 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15340
f6c55796
WN
153412014-04-01 Will Newton <will.newton@linaro.org>
15342
15343 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15344 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15345
13f7fe35
FW
153462014-04-01 Florian Weimer <fweimer@redhat.com>
15347
15348 [BZ #13347]
15349 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15350 * nptl/tst-setuid2.c: New file.
15351 * nptl/Makefile (xtests): Add tst-setuid2.
15352
c859b32e
AM
153532014-04-01 Alan Modra <amodra@gmail.com>
15354
15355 [BZ #16786]
15356 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15357
54fa2475
JM
153582014-03-31 Joseph Myers <joseph@codesourcery.com>
15359
8795b4a4
JM
15360 [BZ #6803]
15361 [BZ #6804]
15362 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15363 set errno as appropriate.
15364 * math/w_scalbf.c (__scalbf): Likewise.
15365 * math/w_scalbl.c (__scalbl): Likewise.
15366 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15367 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15368 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15369 Add more NaN tests.
15370
54fa2475
JM
15371 [BZ #16349]
15372 * math/w_atan2.c: Include <errno.h>.
15373 (__atan2): Set errno for result underflowing to zero.
15374 * math/w_atan2f.c: Include <errno.h>.
15375 (__atan2f): Set errno for result underflowing to zero.
15376 * math/w_atan2l.c: Include <errno.h>.
15377 (__atan2l): Set errno for result underflowing to zero.
15378 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15379 tests.
15380 * math/auto-libm-test-out: Regenerated.
15381
757d9dd5
AZ
153822014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383
15384 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15385 Encode instruction correctly in little endian.
15386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15387 Likewise.
15388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15389 Likewise.
15390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15391 Likewise.
15392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15393 Likewise.
15394
d7a68734
JM
153952014-03-31 Joseph Myers <joseph@codesourcery.com>
15396
47c5adeb
JM
15397 [BZ #9894]
15398 * sysdeps/unix/sysv/linux/kernel-features.h
15399 [__sparc__ && !__arch64__ && !__sparc_v9__]
15400 (__ASSUME_SET_ROBUST_LIST): Do not define.
15401 [__sparc__ && !__arch64__ && !__sparc_v9__]
15402 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15403 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15404 Likewise.
15405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15406 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15407 (__ASSUME_REQUEUE_PI): Likewise.
15408 (__ASSUME_SET_ROBUST_LIST): Likewise.
15409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15410 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15411 Undefine.
15412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15413 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15414 Likewise.
15415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15416 Likewise.
15417 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15418 Likewise.
15419 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15420 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15421 Undefine.
15422 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15423 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15424 Likewise.
15425
d7a68734
JM
15426 [BZ #16648]
15427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15428 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15429 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15430
c760f5c2
WN
154312014-03-31 Will Newton <will.newton@linaro.org>
15432
15433 * benchtests/Makefile (bench): Add ffs and ffsll to list
15434 of tests.
15435 * benchtests/ffs-inputs: New file.
15436 * benchtests/ffsll-inputs: Likewise.
15437
ea6029b1
JM
154382014-03-29 Joseph Myers <joseph@codesourcery.com>
15439
15440 [BZ #16770]
15441 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15442 too large before casting to int.
15443 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15444 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15445 * math/libm-test.inc (scalb_test_data): Add more tests.
15446
cf806aff
SP
154472014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15448
56737508
SP
15449 * benchtests/Makefile (DETAILED_OPT): New make option.
15450 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15451 set.
15452 * benchtests/bench-skeleton.c: Include stdbool.h.
15453 (main): Store and print timings per input.
15454 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15455 member to each argument value.
15456 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15457 (_print_arg_data): Initialize per-input timing to 0.
15458
cb5e4aad
SP
15459 * benchtests/Makefile (timing-type): New binary.
15460 (bench-clean): Also remove bench-timing-type.
15461 (bench): New target for timing-type.
15462 (bench-func): Print output in JSON format.
15463 * benchtests/bench-skeleton.c (main): Print output in JSON
15464 format.
15465 * benchtests/bench-timing-type.c: New file.
15466 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15467 (TIMING_PRINT_STATS): Remove.
15468 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15469 name separately.
15470
cf806aff
SP
15471 * benchtests/bench-modf.c: Remove.
15472 * benchtests/modf-inputs: New inputs file.
15473
289e0779
JM
154742014-03-28 Joseph Myers <joseph@codesourcery.com>
15475
15476 [BZ #16362]
15477 * math/s_clog10.c (M_PI_LOG10E): New macro.
15478 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15479 imaginary parts are 0.
15480 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15481 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15482 imaginary parts are 0.
15483 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15484 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15485 imaginary parts are 0.
15486 * math/libm-test.inc (clog10_test_data): Update expected results
15487 for when real and imaginary parts are 0.
15488
277ae3f1
PP
154892014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15490
15491 * elf/dl-load.c: Finish conversion of __builtin_expect into
15492 __glibc_{un}likely.
15493
03a7091f
JM
154942014-03-27 Joseph Myers <joseph@codesourcery.com>
15495
15496 [BZ #16348]
15497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15498 1+x for argument with exponent below -67.
15499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15500 Likewise.
15501 * math/auto-libm-test-in: Add more tests of exp.
15502 * math/auto-libm-test-out: Regenerated.
15503
ea7d8b95
SP
155042014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15505
dd3022d7
SP
15506 [BZ #16759]
15507 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15508 (nscd_getnetgrent): Use it.
15509
ea7d8b95
SP
15510 [BZ #16760]
15511 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15512 of stpcpy.
15513
df5b85da
AK
155142014-03-27 Andi Kleen <ak@linux.intel.com>
15515
57f41c40
AS
15516 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15517 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15518 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15519 (lll_robust_unlock): Remove out of line section. Use cfi
15520 intrinsics.
df5b85da 15521 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15522 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15523 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15524 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15525 (lll_robust_unlock): Remove out of line section. Use cfi
15526 intrinsics.
df5b85da
AK
15527 (LLL_STUB_UNWIND_INFO*): Remove.
15528
fbd6b5a4
SP
155292014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15530
15531 [BZ #16758]
15532 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15533 blank values.
15534
1b26b855
PP
155352014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15536
15537 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15538
9be36fb8
JM
155392014-03-26 Joseph Myers <joseph@codesourcery.com>
15540
15541 [BZ #16198]
15542 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15543 fnstenv.
15544 * math/test-fenv-preserve.c: New file.
15545 * math/Makefile (tests): Add test-fenv-preserve.
15546
60a2f3c1
WN
155472014-03-26 Will Newton <will.newton@linaro.org>
15548
15549 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15550
a5e5f1e2
RM
155512014-03-25 Roland McGrath <roland@hack.frob.com>
15552
15553 * scripts/versionlist.awk: Partition the version sets and emit all
15554 GLIBC_* (sorted) before all others (sorted).
15555
00f4012a
JM
155562014-03-25 Joseph Myers <joseph@codesourcery.com>
15557
15558 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15559 GLIBC_2.2.5 version.
15560
7bc5a741
AZ
155612014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15562
15563 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15564 calls.
15565
7578473b
AZ
15566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15567 previous change.
15568
f3f1dab3
AZ
15569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15570
6da36183
AS
155712014-03-25 Andreas Schwab <schwab@suse.de>
15572
15573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15574 label to be used after in6ailist is initialized.
15575
f3f1dab3 155762014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15577
7578473b 15578 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15579 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15580
046651c1
JM
155812014-03-25 Joseph Myers <joseph@codesourcery.com>
15582
15583 [BZ #16357]
15584 [BZ #16599]
15585 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15586 min_plus_half.
15587 (fp_formats): Update initializers.
15588 (init_fp_formats): Initialize new field.
15589 (output_for_one_input_case): Allow underflow for results up to
15590 min_plus_half.
15591 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15592 * math/auto-libm-test-in: Don't mark some underflows from asin and
15593 atanh as spurious.
15594 * math/auto-libm-test-out: Regenerated.
15595 * sysdeps/i386/fpu/libm-test-ulps: Update.
15596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15597
003e49ed
AS
155982014-03-25 Andreas Schwab <schwab@suse.de>
15599
15600 * libio/Makefile (tst-ftell-partial-wide-ENV)
15601 (tst-ftell-active-handler-ENV): Define.
15602
de031874
SL
156032014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15604
15605 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15606
55a81e3b
PP
156072014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15608
15609 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15610
f3426898
JM
156112014-03-24 Joseph Myers <joseph@codesourcery.com>
15612
15613 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15614 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15615 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15616
a42faf59
PP
156172014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15618
15619 [BZ #16634]
a42faf59 15620 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15621 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15622 (open_path): Change from boolean 'secure' to complete flag 'mode'
15623 (_dl_map_object): Adjust.
a42faf59
PP
15624 * elf/Makefile (tests): Add tst-dlopen-aout.
15625 * elf/tst-dlopen-aout.c: New test.
15626
50936127
SL
156272014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15628
15629 [BZ #16714]
15630 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15631 (struct stat): Rename member pad0 to __glibc_reserved0.
15632
26011b5c
SL
15633 [BZ #16712]
15634 * sysdeps/s390/s390-32/bits/wordsize.h
15635 (__WORDSIZE32_SIZE_ULONG): New define.
15636 * sysdeps/s390/s390-64/bits/wordsize.h
15637 (__WORDSIZE32_SIZE_ULONG): Likewise.
15638 * sysdeps/generic/stdint.h (SIZE_MAX):
15639 Define as UL if __WORDSIZE32_SIZE_ULONG.
15640
a2d86bf1
SL
15641 [BZ #16713]
15642 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15643 (__glibc_reserved0): New variable.
15644 (sa_flags): Change type to int.
15645
78b6eebc
SL
15646 * posix/Makefile (before-compile): Use += before-compile instead
15647 of a :=.
15648
f1399b5a
SL
15649 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15650 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15651
a071766e
AS
156522014-03-20 Andreas Schwab <schwab@suse.de>
15653
15654 [BZ #16743]
15655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15656 non-matching result from nscd.
15657
27c673b8
SP
156582014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15659
15660 * scripts/bench.py: Moved to ...
15661 * benchtests/scripts/bench.py: ... here.
15662 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15663
44152e4b
AS
156642014-03-24 Andreas Schwab <schwab@suse.de>
15665
15666 [BZ #16002]
15667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15668 alloca_account and account alloca use for struct in6ailist.
15669
b376a11a
JM
156702014-03-24 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #16284]
15673 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15674 rounding mode to recompute results that overflow to infinity or
15675 underflow to zero.
15676 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15677 bug 16284.
15678 * math/auto-libm-test-out: Regenerated.
15679 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15680 (ccosh_test): Likewise.
15681 (csin_test_data): Use plus_oflow.
15682 (csin_test): Use ALL_RM_TEST.
15683 (csinh_test_data): Use plus_oflow.
15684 (csinh_test): Use ALL_RM_TEST.
15685 * sysdeps/i386/fpu/libm-test-ulps: Update.
15686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15687
f7be7376
JM
156882014-03-21 Joseph Myers <joseph@codesourcery.com>
15689
1ca2d03e
JM
15690 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15691 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15692 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15693
f7be7376
JM
15694 [BZ #16731]
15695 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15696 when x - 1 is zero.
15697 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15698 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15699 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15701 argument is 1.
15702 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15703 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15704 zero.
15705 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15706 * sysdeps/i386/fpu/libm-test-ulps: Update.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708
fdf4534d
SP
157092014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15710
df26ea53
SP
15711 * scripts/bench.pl: Remove file.
15712 * scripts/bench.py: New benchmark script.
15713 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15714 * benchtests/README: Mention python dependency.
15715 * scripts/pylintrc: New file.
15716 * scripts/pylint: New file.
15717
fdf4534d
SP
15718 * bits/mathdef.h: Use #ifdef instead of #if.
15719 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15720 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15721 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15722 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15723 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15724 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15725
6f23d093
AZ
157262014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15727 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15728
15729 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15731 and strpbrk-ppc64 objects.
15732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15733 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15735 multiarch strpbrk for POWER7.
15736 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15737 multiarch strpbrk for PPC64.
15738 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15739 ifunc selector.
15740 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15741 strpbrk for POWER7.
15742
8c92dfff
JM
157432014-03-20 Joseph Myers <joseph@codesourcery.com>
15744
15745 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15746 (atan_test): Likewise.
15747 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15748 (atanh_test): Use ALL_RM_TEST.
15749 (atan2_test_data): Likewise.
15750 (cabs_test): Likewise.
15751 (cacosh_test): Likewise.
15752 (carg_test): Likewise.
15753 (casin_test): Likewise.
15754 (casinh_test): Likewise.
15755 (cbrt_test): Likewise.
15756 (csqrt_test): Likewise.
15757 (erf_test): Likewise.
15758 (erfc_test): Likewise.
15759 (pow10_test): Likewise.
15760 (exp2_test): Likewise.
15761 (hypot_test): Likewise.
15762 (j0_test): Likewise.
15763 (j1_test): Likewise.
15764 (lgamma_test): Likewise.
15765 (gamma_test): Likewise.
15766 (sincos_test): Likewise.
15767 (tanh_test): Likewise.
15768 (y0_test): Likewise.
15769 (y1_test): Likewise.
15770 * sysdeps/i386/fpu/libm-test-ulps: Update.
15771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15772
6eaf95cb
AZ
157732014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15774
a387428c
SP
15775 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15777 and strcspn-ppc64 objects.
15778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15779 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15780 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15781 multiarch strcspn for POWER7.
15782 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15783 multiarch strcspn for PPC64.
15784 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15785 ifunc selector.
15786 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15787 strcspn for POWER7.
15788
ae3a5dff
JM
157892014-03-20 Joseph Myers <joseph@codesourcery.com>
15790
15791 * math/gen-libm-test.pl (generate_testfile): Expect only function
15792 name as argument to AUTO_TESTS_* and pass results for all rounding
15793 modes to parse_args.
15794 (parse_auto_input): Separate inputs of automatic tests from
15795 outputs before storing in %auto_tests.
15796 * math/libm-test.inc (acos_test_data): Update call to
15797 AUTO_TESTS_f_f.
15798 (acos_test): Use ALL_RM_TEST.
15799 (acos_tonearest_test_data): Remove.
15800 (acos_test_tonearest): Likewise.
15801 (acos_towardzero_test_data): Likewise.
15802 (acos_test_towardzero): Likewise.
15803 (acos_downward_test_data): Likewise.
15804 (acos_test_downward): Likewise.
15805 (acos_upward_test_data): Likewise.
15806 (acos_test_upward): Likewise.
15807 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15808 (asin_test_data): Likewise.
15809 (asin_test): Use ALL_RM_TEST.
15810 (asin_tonearest_test_data): Remove.
15811 (asin_test_tonearest): Likewise.
15812 (asin_towardzero_test_data): Likewise.
15813 (asin_test_towardzero): Likewise.
15814 (asin_downward_test_data): Likewise.
15815 (asin_test_downward): Likewise.
15816 (asin_upward_test_data): Likewise.
15817 (asin_test_upward): Likewise.
15818 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15819 (atan_test_data): Likewise.
15820 (atanh_test_data): Likewise.
15821 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15822 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15823 (carg_test_data): Likewise.
15824 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15825 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15826 (ccosh_test_data): Likewise.
15827 (cexp_test_data): Likewise.
15828 (clog_test_data): Likewise.
15829 (clog10_test_data): Likewise.
15830 (cos_test_data): Update call to AUTO_TESTS_f_f.
15831 (cos_test): Use ALL_RM_TEST.
15832 (cos_tonearest_test_data): Remove.
15833 (cos_test_tonearest): Likewise.
15834 (cos_towardzero_test_data): Likewise.
15835 (cos_test_towardzero): Likewise.
15836 (cos_downward_test_data): Likewise.
15837 (cos_test_downward): Likewise.
15838 (cos_upward_test_data): Likewise.
15839 (cos_test_upward): Likewise.
15840 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15841 (cosh_test): Use ALL_RM_TEST.
15842 (cosh_tonearest_test_data): Remove.
15843 (cosh_test_tonearest): Likewise.
15844 (cosh_towardzero_test_data): Likewise.
15845 (cosh_test_towardzero): Likewise.
15846 (cosh_downward_test_data): Likewise.
15847 (cosh_test_downward): Likewise.
15848 (cosh_upward_test_data): Likewise.
15849 (cosh_test_upward): Likewise.
15850 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15851 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15852 (ctan_test_data): Likewise.
15853 (ctan_test): Use ALL_RM_TEST.
15854 (ctan_tonearest_test_data): Remove.
15855 (ctan_test_tonearest): Likewise.
15856 (ctan_towardzero_test_data): Likewise.
15857 (ctan_test_towardzero): Likewise.
15858 (ctan_downward_test_data): Likewise.
15859 (ctan_test_downward): Likewise.
15860 (ctan_upward_test_data): Likewise.
15861 (ctan_test_upward): Likewise.
15862 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15863 (ctanh_test): Use ALL_RM_TEST.
15864 (ctanh_tonearest_test_data): Remove.
15865 (ctanh_test_tonearest): Likewise.
15866 (ctanh_towardzero_test_data): Likewise.
15867 (ctanh_test_towardzero): Likewise.
15868 (ctanh_downward_test_data): Likewise.
15869 (ctanh_test_downward): Likewise.
15870 (ctanh_upward_test_data): Likewise.
15871 (ctanh_test_upward): Likewise.
15872 (erf_test_data): Update call to AUTO_TESTS_f_f.
15873 (erfc_test_data): Likewise.
15874 (exp_test_data): Likewise.
15875 (exp_test): Use ALL_RM_TEST.
15876 (exp_tonearest_test_data): Remove.
15877 (exp_test_tonearest): Likewise.
15878 (exp_towardzero_test_data): Likewise.
15879 (exp_test_towardzero): Likewise.
15880 (exp_downward_test_data): Likewise.
15881 (exp_test_downward): Likewise.
15882 (exp_upward_test_data): Likewise.
15883 (exp_test_upward): Likewise.
15884 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15885 (exp10_test): Use ALL_RM_TEST.
15886 (exp10_tonearest_test_data): Remove.
15887 (exp10_test_tonearest): Likewise.
15888 (exp10_towardzero_test_data): Likewise.
15889 (exp10_test_towardzero): Likewise.
15890 (exp10_downward_test_data): Likewise.
15891 (exp10_test_downward): Likewise.
15892 (exp10_upward_test_data): Likewise.
15893 (exp10_test_upward): Likewise.
15894 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15895 (expm1_test_data): Likewise.
15896 (expm1_test): Use ALL_RM_TEST.
15897 (expm1_tonearest_test_data): Remove.
15898 (expm1_test_tonearest): Likewise.
15899 (expm1_towardzero_test_data): Likewise.
15900 (expm1_test_towardzero): Likewise.
15901 (expm1_downward_test_data): Likewise.
15902 (expm1_test_downward): Likewise.
15903 (expm1_upward_test_data): Likewise.
15904 (expm1_test_upward): Likewise.
15905 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15906 (fma_test): Use ALL_RM_TEST.
15907 (fma_towardzero_test_data): Remove.
15908 (fma_test_towardzero): Likewise.
15909 (fma_downward_test_data): Likewise.
15910 (fma_test_downward): Likewise.
15911 (fma_upward_test_data): Likewise.
15912 (fma_test_upward): Likewise.
15913 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15914 (j0_test_data): Update call to AUTO_TESTS_f_f.
15915 (j1_test_data): Likewise.
15916 (jn_test_data): Update call to AUTO_TESTS_if_f.
15917 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15918 (log_test_data): Update call to AUTO_TESTS_f_f.
15919 (log10_test_data): Likewise.
15920 (log1p_test_data): Likewise.
15921 (log2_test_data): Likewise.
15922 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15923 (pow_tonearest_test_data): Likewise.
15924 (sin_test_data): Update call to AUTO_TESTS_f_f.
15925 (sin_test): Use ALL_RM_TEST.
15926 (sin_tonearest_test_data): Remove.
15927 (sin_test_tonearest): Likewise.
15928 (sin_towardzero_test_data): Likewise.
15929 (sin_test_towardzero): Likewise.
15930 (sin_downward_test_data): Likewise.
15931 (sin_test_downward): Likewise.
15932 (sin_upward_test_data): Likewise.
15933 (sin_test_upward): Likewise.
15934 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15935 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15936 (sinh_test): Use ALL_RM_TEST.
15937 (sinh_tonearest_test_data): Remove.
15938 (sinh_test_tonearest): Likewise.
15939 (sinh_towardzero_test_data): Likewise.
15940 (sinh_test_towardzero): Likewise.
15941 (sinh_downward_test_data): Likewise.
15942 (sinh_test_downward): Likewise.
15943 (sinh_upward_test_data): Likewise.
15944 (sinh_test_upward): Likewise.
15945 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15946 (sqrt_test): Use ALL_RM_TEST.
15947 (sqrt_tonearest_test_data): Remove.
15948 (sqrt_test_tonearest): Likewise.
15949 (sqrt_towardzero_test_data): Likewise.
15950 (sqrt_test_towardzero): Likewise.
15951 (sqrt_downward_test_data): Likewise.
15952 (sqrt_test_downward): Likewise.
15953 (sqrt_upward_test_data): Likewise.
15954 (sqrt_test_upward): Likewise.
15955 (tan_test_data): Update call to AUTO_TESTS_f_f.
15956 (tan_test): Use ALL_RM_TEST.
15957 (tan_tonearest_test_data): Remove.
15958 (tan_test_tonearest): Likewise.
15959 (tan_towardzero_test_data): Likewise.
15960 (tan_test_towardzero): Likewise.
15961 (tan_downward_test_data): Likewise.
15962 (tan_test_downward): Likewise.
15963 (tan_upward_test_data): Likewise.
15964 (tan_test_upward): Likewise.
15965 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15966 (tgamma_test_data): Likewise.
15967 (y0_test_data): Likewise.
15968 (y1_test_data): Likewise.
15969 (yn_test_data): Update call to AUTO_TESTS_if_f.
15970 (main): Do not call removed functions.
15971
d71aeee8
JM
159722014-03-19 Joseph Myers <joseph@codesourcery.com>
15973
15974 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15975 (ldexp_test_data): Remove.
15976 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15977 scalbn_test_data.
15978 (scalb_test): Use ALL_RM_TEST.
15979
baaf1ded
AS
159802014-03-19 Andreas Schwab <schwab@suse.de>
15981
15982 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15983
b1115e91
JM
159842014-03-19 Joseph Myers <joseph@codesourcery.com>
15985
15986 [BZ #16649]
15987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15988 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15989 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15990 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15991 (__ASSUME_PREADV): Undefine.
15992 (__ASSUME_PWRITEV): Likewise.
15993
0283ecca
RM
159942014-03-18 Roland McGrath <roland@hack.frob.com>
15995
7d375303
RM
15996 * bits/mman-linux.h: Add comment about non-Linux use.
15997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15998 bits/mman-linux.h resting place.
15999
0283ecca
RM
16000 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16001 * bits/mman-linux.h: ... here.
16002
aebe1003
AZ
160032014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16004
16005 * conform/conformtest.pl: Add standard definition when calling C
16006 preprocessor on data files.
16007 (checknamespace): Remove unused variable.
16008
b29b6bb8
JM
160092014-03-18 Joseph Myers <joseph@codesourcery.com>
16010
16011 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16012 minus_oflow, plus_uflow and minus_uflow in expected results.
16013 * math/libm-test.inc (scalbn_test_data): Add more tests of
16014 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16015 minus_uflow.
16016 (scalbn_test): Use ALL_RM_TEST.
16017 (scalbln_test_data): Add more tests of negative arguments. Use
16018 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16019 (scalbln_test): Use ALL_RM_TEST.
16020
c8f8fa15
RM
160212014-03-18 Roland McGrath <roland@hack.frob.com>
16022
16023 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16024
fede7a5f
WN
160252014-03-18 Will Newton <will.newton@linaro.org>
16026
16027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16028 inaccurate comment.
16029
80cf0a58
JM
160302014-03-18 Joseph Myers <joseph@codesourcery.com>
16031
16032 * Makerules [!subdir] (check-abi): Exit with error status if a
16033 test failed.
16034
b3620862
JM
160352014-03-17 Joseph Myers <joseph@codesourcery.com>
16036
16037 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16038 for rint. Include results for all rounding modes.
16039 (nearbyint_test): Use ALL_RM_TEST.
16040 (rint_test_data): Include all tests used for nearbyint.
16041
788bba36
WN
160422014-03-17 Will Newton <will.newton@linaro.org>
16043
04ec140a
WN
16044 * nptl/sysdeps/pthread/pthread.h: Revert previous
16045 change.
16046
7579d8d5
WN
16047 * sysdeps/generic/ldsodefs.h: Revert previous
16048 change.
16049
c15cf13a
WN
16050 * libio/genops.c: Revert previous change.
16051 * libio/libioP.h: Likewise.
16052 * stdio-common/vfprintf.c: Likewise.
16053
d0ac1324
WN
16054 * sysdeps/generic/math_private.h: Revert previous
16055 change.
16056
9290130a
WN
16057 * sysdeps/generic/math_private.h: Check whether
16058 HAVE_RM_CTX is defined with #ifdef rather
16059 than #if.
16060
afb466fc
WN
16061 * argp/argp-fmtstream.h: Check whether
16062 __STRICT_ANSI__ is defined with #ifdef rather
16063 than #if.
16064 * argp/argp.h: Likewise.
16065
f7efd7c3
WN
16066 * libio/genops.c: Check whether
16067 _IO_JUMPS_OFFSET is defined with #ifdef rather
16068 than #if.
16069 * libio/libioP.h: Likewise.
16070 * stdio-common/vfprintf.c: Likewise.
16071
53f1bed3
WN
16072 * sysdeps/generic/ldsodefs.h: Check whether
16073 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16074 than #if.
16075
788bba36
WN
16076 * nptl/sysdeps/pthread/pthread.h: Check
16077 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16078 its value.
16079
fcd89ebe
SP
160802014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16081
ae42bbc5
SP
16082 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16083 setting O_APPEND.
16084 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16085 test case.
16086
ea33158c
SP
16087 [BZ #16680]
16088 * libio/fileops.c (_IO_file_open): Seek to end of file but
16089 don't cache the offset.
16090 (get_file_offset): Remove function.
16091 (do_ftell): Use cached offset when available.
16092 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16093 don't cache the offset.
16094 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16095 case.
16096 (do_one_test): Call it.
16097 (do_ftell_test): Fix up expected old offset for a+ mode.
16098 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16099 available.
16100
b1dbb426
SP
16101 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16102 up test status with function return status.
16103 (do_write_test): Likewise.
16104 (do_append_test): Likewise.
16105
fcd89ebe
SP
16106 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16107 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16108 Remove.
16109
9962a2d3
JM
161102014-03-17 Joseph Myers <joseph@codesourcery.com>
16111
16112 * math/gen-libm-test.pl (parse_args): Handle results specified for
16113 each rounding mode separately.
16114 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16115 tests and results from lrint_tonearest_test_data,
16116 lrint_towardzero_test_data, lrint_downward_test_data and
16117 lrint_upward_test_data.
16118 (lrint_test): Use ALL_RM_TEST.
16119 (lrint_tonearest_test_data): Remove.
16120 (lrint_test_tonearest): Likewise.
16121 (lrint_towardzero_test_data): Likewise.
16122 (lrint_test_towardzero): Likewise.
16123 (lrint_downward_test_data): Likewise.
16124 (lrint_test_downward): Likewise.
16125 (lrint_upward_test_data): Likewise.
16126 (lrint_test_upward): Likewise.
16127 (llrint_test_data): Merge in per-rounding-mode tests and results
16128 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16129 llrint_downward_test_data and llrint_upward_test_data.
16130 (llrint_test): Use ALL_RM_TEST.
16131 (llrint_tonearest_test_data): Remove.
16132 (llrint_test_tonearest): Likewise.
16133 (llrint_towardzero_test_data): Likewise.
16134 (llrint_test_towardzero): Likewise.
16135 (llrint_downward_test_data): Likewise.
16136 (llrint_test_downward): Likewise.
16137 (llrint_upward_test_data): Likewise.
16138 (llrint_test_upward): Likewise.
16139 (rint_test_data): Merge in per-rounding-mode tests and results
16140 from rint_tonearest_test_data, rint_towardzero_test_data,
16141 rint_downward_test_data and rint_upward_test_data. Add
16142 per-rounding-mode results for tests not in those arrays.
16143 (rint_test): Use ALL_RM_TEST.
16144 (rint_tonearest_test_data): Remove.
16145 (rint_test_tonearest): Likewise.
16146 (rint_towardzero_test_data): Likewise.
16147 (rint_test_towardzero): Likewise.
16148 (rint_downward_test_data): Likewise.
16149 (rint_test_downward): Likewise.
16150 (rint_upward_test_data): Likewise.
16151 (rint_test_upward): Likewise.
16152 (main): Don't call removed functions.
16153
5006148e
RM
161542014-03-14 Roland McGrath <roland@hack.frob.com>
16155
16156 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16157 "Compiled on ..." crapola. It is anti-useful.
16158
d6fe5e58
JM
161592014-03-14 Joseph Myers <joseph@codesourcery.com>
16160
16161 * scripts/evaluate-test.sh: Handle fourth argument to determine
16162 whether test run should stop on failure.
16163 * Makeconfig (stop-on-test-failure): New variable.
16164 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16165 $(stop-on-test-failure).
16166 * Makefile (tests): Give a summary of results from testing and
16167 exit with failure status if they include an ERROR or FAIL.
16168 (xtests): Likewise.
16169 * manual/install.texi (Configuring and compiling): Mention
16170 stop-on-test-failure=y.
16171 * INSTALL: Regenerated.
16172
498a2233
RM
161732014-03-14 Roland McGrath <roland@hack.frob.com>
16174
22dbc19d
RM
16175 * scripts/versionlist.awk: New file.
16176 * Makerules [$(build-shared) = yes]
16177 (postclean-generated): Add Versions.def, not Versions.def.v and
16178 Versions.def.v.i.
16179 ($(common-objpfx)Versions.def.v.i): Target removed.
16180 ($(common-objpfx)Versions.def): New target.
16181 ($(common-objpfx)Versions.all): Depend on that rather that
16182 $(common-objpfx)Versions.def.v.
16183 * Versions.def: File removed.
16184
498a2233
RM
16185 * Makeconfig (+gccwarn): Add -Wundef.
16186 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16187 a dl-sysdep.h breaking its contract.
16188 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16189 * include/stackinfo.h: New file.
16190 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16191 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16192 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16193 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16194 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16195 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16196 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16197 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16198 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16199 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16200 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16201 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16202 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16203 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16204 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16205
c7de5025
AZ
162062014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16207
16208 [BZ #16707]
16209 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16210 implementation.
16211 * math/libm-test.inc (round_test_data): Add more tests.
16212
98fb27a3
AZ
16213 [BZ #16706]
16214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16215 implementation.
16216 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16217
374f7f61
AZ
16218 [BZ #16701]
16219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16220 implementation.
16221 * math/libm-test.inc (ceil_test_data): Add more tests.
16222
4655c291
AZ
16223 * math/libm-test.inc (trunc_test_data): Add more tests related to
16224 BZ#16414.
16225
d7329d4b
RM
162262014-03-14 Roland McGrath <roland@hack.frob.com>
16227
16228 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16229 with #if rather than #ifdef.
16230 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16231
aa4de9ce
L
162322014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16233
16234 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16235 first. Disable AVX-512 GCC support if assembler doesn't support
16236 it.
16237 * sysdeps/x86_64/configure: Regenerated.
16238
2e03fae7
CD
162392014-03-13 Carlos O'Donell <carlos@redhat.com>
16240
16241 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16242 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16243 (__old_pthread_attr_setstack): Likewise.
16244 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16245 [!_STACK_GROWS_DOWN]: Likewise.
16246
43ca83ec
MF
162472014-03-13 Mike Frysinger <vapier@gentoo.org>
16248
16249 * config.make.in (have-bash2): Delete.
16250 * configure.ac (libc_cv_have_bash2): Delete.
16251 * configure: Regenerate.
16252 * elf/Makefile (common-ldd-rewrite): Rename to ...
16253 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16254 (sh-ldd-rewrite): Delete.
16255 (bash-ldd-rewrite): Delete.
16256 (have-bash2): Delete checks.
57f41c40
AS
16257 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16258 ldd-rewrite.
c66e48b4
MF
16259
16260 * config.make.in (have-ksh): Delete.
16261 (KSH): Delete.
16262 * configure.ac (libc_cv_have_ksh): Delete.
16263 * configure: Regenerate.
16264
b93834ef
MF
16265 * elf/Makefile: Delete $(have-ksh) check.
16266 ($(objpfx)sotruss): Change KSH to BASH.
16267 * elf/sotruss.ksh: Rename to ...
16268 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16269 function style to match POSIX. Drop ksh vim mode setting.
16270
f3a4632a
MF
16271 * manual/time.texi (Specifying the Time Zone with TZ): Change
16272 Tuesday to Thursday.
16273
5896c8bd
MF
16274 * debug/tst-longjmp_chk2.c: Update header comment.
16275 (stackoverflow_handler): Add comment. Call assert on pass value.
16276
2d63a517
IZ
162772014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16278
7e54fd04 16279 [BZ #16194]
2d63a517
IZ
16280 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16281 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16282 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16283 (La_x86_64_vector): Add zmm.
16284 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16285 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16286 ($(objpfx)tst-audit10): New target.
16287 ($(objpfx)tst-audit10.out): Likewise.
16288 (tst-audit10-ENV): New.
16289 (AVX512-CFLAGS): Likewise.
16290 (CFLAGS-tst-audit10.c): Likewise.
16291 (CFLAGS-tst-auditmod10a.c): Likewise.
16292 (CFLAGS-tst-auditmod10b.c): Likewise.
16293 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16294 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16295 * sysdeps/x86_64/configure: Regenerated.
16296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16297 AVX-512 zmm register support.
16298 (_dl_x86_64_save_sse): Likewise.
16299 (_dl_x86_64_restore_sse): Likewise.
16300 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16301 size vector registers.
16302 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16303 (ZMM_SIZE): Likewise.
16304 * sysdeps/x86_64/tst-audit10.c: New file.
16305 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16306 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16307
44c4e5d5
RM
163082014-03-13 Roland McGrath <roland@hack.frob.com>
16309
16310 * configure.ac (HAVE_EHDR_START): New check.
16311 * configure: Regenerated.
16312 * config.h.in (HAVE_EHDR_START): New #undef.
16313 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16314 assuming the lowest-addressed segment maps the start of the file.
16315
acd6e389
JM
163162014-03-13 Joseph Myers <joseph@codesourcery.com>
16317
16318 * INSTALL: Regenerated.
16319
6f918f36
WN
163202014-03-13 Will Newton <will.newton@linaro.org>
16321
16322 * manual/setjmp.texi (System V contexts): Improve
16323 clarity and grammar of documentation.
16324
798212a0
PP
163252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16326
16327 [BZ #16381]
798212a0 16328 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16329 (tests-pie): Add tst-pie2.
798212a0
PP
16330 * elf/tst-pie2.c: New file.
16331 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16332 for ET_EXEC.
16333 * elf/rtld.c (map_doit): Load executable as lt_executable.
16334 (dl_main): Likewise.
16335
abe6d90c
JM
163362014-03-12 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #16642]
16339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16340 (__ASSUME_PSELECT): Undefine.
16341
dd3946c6
AZ
163422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16343
16344 [BZ #16689]
16345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16346 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16347 static build.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16349 selector for static builds.
16350
c44496df
SP
163512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16352
16353 [BZ #16695]
16354 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16355 key in the buffer.
16356
27c7220a
AZ
163572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16358
57f41c40
AS
16359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16360 IFUNC selector for static builds.
27c7220a 16361
600fa361
JM
163622014-03-11 Joseph Myers <joseph@codesourcery.com>
16363
76c96cf7
JM
16364 * sysdeps/mips/math_private.h [__mips_hard_float]
16365 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16366 libc_feresetround_mips_ctx.
16367 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16368 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16369 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16370
600fa361
JM
16371 [BZ #16677]
16372 * math/s_nextafter.c (__nextafter): Do not return value from
16373 overflowing computation.
16374 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16375 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16376 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16377 Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16379 Likewise.
16380 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16381 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16382
d7706c32
RM
163832014-03-11 Roland McGrath <roland@hack.frob.com>
16384
16385 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16386 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16387 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16388 the new mov targetting sp.
16389
4facea47
AZ
163902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391
16392 [BZ #16683]
16393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16394 Define it for static builds as well.
16395 (NO_BZERO_IMPL): Likewise.
16396
e65caf1f
VR
163972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16398
16399 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16400 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16401 multiarch strspn for PPC64.
16402 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16403 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16405 (__libc_ifunc_impl_list): Likewise.
16406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16407 multiarch optimizations
16408 * string/strspn.c (strspn): Using macro to redefine symbol name.
16409
ba9cc071
AZ
164102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16412
16413 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16414 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16415 multiarch strncat for PPC64.
16416 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16417 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16419 (__libc_ifunc_impl_list): Likewise.
16420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16421 multiarch optimizations
16422
8b4ff974
SP
164232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16424
16425 [BZ #16639]
16426 * nscd/nscd.service: Make service type forking.
16427
54b46a4b
AZ
164282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16429
16430 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16431 sign in non default rounding modes.
16432 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16433
e9996ef7
JM
164342014-03-08 Joseph Myers <joseph@codesourcery.com>
16435
16436 * math/libm-test.inc (ALL_RM_TEST): New macro.
16437 (ceil_test): Use ALL_RM_TEST.
16438 (cimag_test): Likewise.
16439 (conj_test): Likewise.
16440 (copysign_test): Likewise.
16441 (cproj_test): Likewise.
16442 (creal_test): Likewise.
16443 (fabs_test): Likewise.
16444 (floor_test): Likewise.
16445 (fmax_test): Likewise.
16446 (fmin_test): Likewise.
16447 (fmod_test): Likewise.
16448 (fpclassify_test): Likewise.
16449 (frexp_test): Likewise.
16450 (ilogb_test): Likewise.
16451 (isfinite_test): Likewise.
16452 (finite_test): Likewise.
16453 (isgreater_test): Likewise.
16454 (isgreaterequal_test): Likewise.
16455 (isinf_test): Likewise.
16456 (isless_test): Likewise.
16457 (islessequal_test): Likewise.
16458 (islessgreater_test): Likewise.
16459 (isnan_test): Likewise.
16460 (isnormal_test): Likewise.
16461 (issignaling_test): Likewise.
16462 (isunordered_test): Likewise.
16463 (logb_test): Likewise.
16464 (logb_downward_test_data): Remove.
16465 (logb_test_downward): Likewise.
16466 (lround_test): Use ALL_RM_TEST.
16467 (llround_test): Likewise.
16468 (modf_test): Likewise.
16469 (nexttoward_test): Likewise.
16470 (remainder_test): Likewise.
16471 (drem_test): Likewise.
16472 (remainder_tonearest_test_data): Likewise.
16473 (remainder_test_tonearest): Likewise.
16474 (drem_test_tonearest): Likewise.
16475 (remainder_towardzero_test_data): Likewise.
16476 (remainder_test_towardzero): Likewise.
16477 (drem_test_towardzero): Likewise.
16478 (remainder_downward_test_data): Likewise.
16479 (remainder_test_downward): Likewise.
16480 (drem_test_downward): Likewise.
16481 (remainder_upward_test_data): Likewise.
16482 (remainder_test_upward): Likewise.
16483 (drem_test_upward): Likewise.
16484 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16485 (round_test): Use ALL_RM_TEST.
16486 (signbit_test): Likewise.
16487 (trunc_test): Likewise.
16488 (significand_test): Likewise.
16489 (main): Don't call removed functions.
16490
bc61d27c
JM
164912014-03-07 Joseph Myers <joseph@codesourcery.com>
16492
5c780849
JM
16493 [BZ #16674]
16494 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16495 || __USE_XOPEN2K8].
16496 (ILL_ILLOPN): Likewise.
16497 (ILL_ILLADR): Likewise.
16498 (ILL_ILLTRP): Likewise.
16499 (ILL_PRVOPC): Likewise.
16500 (ILL_PRVREG): Likewise.
16501 (ILL_COPROC): Likewise.
16502 (ILL_BADSTK): Likewise.
16503 (FPE_INTDIV): Likewise.
16504 (FPE_INTOVF): Likewise.
16505 (FPE_FLTDIV): Likewise.
16506 (FPE_FLTOVF): Likewise.
16507 (FPE_FLTUND): Likewise.
16508 (FPE_FLTRES): Likewise.
16509 (FPE_FLTINV): Likewise.
16510 (FPE_FLTSUB): Likewise.
16511 (SEGV_MAPERR): Likewise.
16512 (SEGV_ACCERR): Likewise.
16513 (BUS_ADRALN): Likewise.
16514 (BUS_ADRERR): Likewise.
16515 (BUS_OBJERR): Likewise.
16516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16517 (TRAP_TRACE): Likewise.
16518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16519 __USE_XOPEN2K8].
16520 (CLD_KILLED): Likewise.
16521 (CLD_DUMPED): Likewise.
16522 (CLD_TRAPPED): Likewise.
16523 (CLD_STOPPED): Likewise.
16524 (CLD_CONTINUED): Likewise.
16525 (POLL_IN): Likewise.
16526 (POLL_OUT): Likewise.
16527 (POLL_MSG): Likewise.
16528 (POLL_ERR): Likewise.
16529 (POLL_PRI): Likewise.
16530 (POLL_HUP): Likewise.
16531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16532 Likewise.
16533 (ILL_ILLOPN): Likewise.
16534 (ILL_ILLADR): Likewise.
16535 (ILL_ILLTRP): Likewise.
16536 (ILL_PRVOPC): Likewise.
16537 (ILL_PRVREG): Likewise.
16538 (ILL_COPROC): Likewise.
16539 (ILL_BADSTK): Likewise.
16540 (FPE_INTDIV): Likewise.
16541 (FPE_INTOVF): Likewise.
16542 (FPE_FLTDIV): Likewise.
16543 (FPE_FLTOVF): Likewise.
16544 (FPE_FLTUND): Likewise.
16545 (FPE_FLTRES): Likewise.
16546 (FPE_FLTINV): Likewise.
16547 (FPE_FLTSUB): Likewise.
16548 (SEGV_MAPERR): Likewise.
16549 (SEGV_ACCERR): Likewise.
16550 (BUS_ADRALN): Likewise.
16551 (BUS_ADRERR): Likewise.
16552 (BUS_OBJERR): Likewise.
16553 (BUS_MCEERR_AR): Likewise.
16554 (BUS_MCEERR_AO): Likewise.
16555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16556 (TRAP_TRACE): Likewise.
16557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16558 __USE_XOPEN2K8].
16559 (CLD_KILLED): Likewise.
16560 (CLD_DUMPED): Likewise.
16561 (CLD_TRAPPED): Likewise.
16562 (CLD_STOPPED): Likewise.
16563 (CLD_CONTINUED): Likewise.
16564 (POLL_IN): Likewise.
16565 (POLL_OUT): Likewise.
16566 (POLL_MSG): Likewise.
16567 (POLL_ERR): Likewise.
16568 (POLL_PRI): Likewise.
16569 (POLL_HUP): Likewise.
16570 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16571 (ILL_ILLOPN): Likewise.
16572 (ILL_ILLADR): Likewise.
16573 (ILL_ILLTRP): Likewise.
16574 (ILL_PRVOPC): Likewise.
16575 (ILL_PRVREG): Likewise.
16576 (ILL_COPROC): Likewise.
16577 (ILL_BADSTK): Likewise.
16578 (FPE_INTDIV): Likewise.
16579 (FPE_INTOVF): Likewise.
16580 (FPE_FLTDIV): Likewise.
16581 (FPE_FLTOVF): Likewise.
16582 (FPE_FLTUND): Likewise.
16583 (FPE_FLTRES): Likewise.
16584 (FPE_FLTINV): Likewise.
16585 (FPE_FLTSUB): Likewise.
16586 (SEGV_MAPERR): Likewise.
16587 (SEGV_ACCERR): Likewise.
16588 (BUS_ADRALN): Likewise.
16589 (BUS_ADRERR): Likewise.
16590 (BUS_OBJERR): Likewise.
16591 (BUS_MCEERR_AR): Likewise.
16592 (BUS_MCEERR_AO): Likewise.
16593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16594 (TRAP_TRACE): Likewise.
16595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16596 __USE_XOPEN2K8].
16597 (CLD_KILLED): Likewise.
16598 (CLD_DUMPED): Likewise.
16599 (CLD_TRAPPED): Likewise.
16600 (CLD_STOPPED): Likewise.
16601 (CLD_CONTINUED): Likewise.
16602 (POLL_IN): Likewise.
16603 (POLL_OUT): Likewise.
16604 (POLL_MSG): Likewise.
16605 (POLL_ERR): Likewise.
16606 (POLL_PRI): Likewise.
16607 (POLL_HUP): Likewise.
16608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16609 Likewise.
16610 (ILL_ILLOPN): Likewise.
16611 (ILL_ILLADR): Likewise.
16612 (ILL_ILLTRP): Likewise.
16613 (ILL_PRVOPC): Likewise.
16614 (ILL_PRVREG): Likewise.
16615 (ILL_COPROC): Likewise.
16616 (ILL_BADSTK): Likewise.
16617 (ILL_BADIADDR): Likewise.
16618 (ILL_BREAK): Likewise.
16619 (FPE_INTDIV): Likewise.
16620 (FPE_INTOVF): Likewise.
16621 (FPE_FLTDIV): Likewise.
16622 (FPE_FLTOVF): Likewise.
16623 (FPE_FLTUND): Likewise.
16624 (FPE_FLTRES): Likewise.
16625 (FPE_FLTINV): Likewise.
16626 (FPE_FLTSUB): Likewise.
16627 (FPE_DECOVF): Likewise.
16628 (FPE_DECDIV): Likewise.
16629 (FPE_DECERR): Likewise.
16630 (FPE_INVASC): Likewise.
16631 (FPE_INVDEC): Likewise.
16632 (SEGV_MAPERR): Likewise.
16633 (SEGV_ACCERR): Likewise.
16634 (SEGV_PSTKOVF): Likewise.
16635 (BUS_ADRALN): Likewise.
16636 (BUS_ADRERR): Likewise.
16637 (BUS_OBJERR): Likewise.
16638 (BUS_MCEERR_AR): Likewise.
16639 (BUS_MCEERR_AO): Likewise.
16640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16641 (TRAP_TRACE): Likewise.
16642 (TRAP_BRANCH): Likewise.
16643 (TRAP_HWBKPT): Likewise.
16644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16645 __USE_XOPEN2K8].
16646 (CLD_KILLED): Likewise.
16647 (CLD_DUMPED): Likewise.
16648 (CLD_TRAPPED): Likewise.
16649 (CLD_STOPPED): Likewise.
16650 (CLD_CONTINUED): Likewise.
16651 (POLL_IN): Likewise.
16652 (POLL_OUT): Likewise.
16653 (POLL_MSG): Likewise.
16654 (POLL_ERR): Likewise.
16655 (POLL_PRI): Likewise.
16656 (POLL_HUP): Likewise.
16657 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16658 (ILL_ILLOPN): Likewise.
16659 (ILL_ILLADR): Likewise.
16660 (ILL_ILLTRP): Likewise.
16661 (ILL_PRVOPC): Likewise.
16662 (ILL_PRVREG): Likewise.
16663 (ILL_COPROC): Likewise.
16664 (ILL_BADSTK): Likewise.
16665 (FPE_INTDIV): Likewise.
16666 (FPE_INTOVF): Likewise.
16667 (FPE_FLTDIV): Likewise.
16668 (FPE_FLTOVF): Likewise.
16669 (FPE_FLTUND): Likewise.
16670 (FPE_FLTRES): Likewise.
16671 (FPE_FLTINV): Likewise.
16672 (FPE_FLTSUB): Likewise.
16673 (SEGV_MAPERR): Likewise.
16674 (SEGV_ACCERR): Likewise.
16675 (BUS_ADRALN): Likewise.
16676 (BUS_ADRERR): Likewise.
16677 (BUS_OBJERR): Likewise.
16678 (BUS_MCEERR_AR): Likewise.
16679 (BUS_MCEERR_AO): Likewise.
16680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16681 (TRAP_TRACE): Likewise.
16682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16683 __USE_XOPEN2K8].
16684 (CLD_KILLED): Likewise.
16685 (CLD_DUMPED): Likewise.
16686 (CLD_TRAPPED): Likewise.
16687 (CLD_STOPPED): Likewise.
16688 (CLD_CONTINUED): Likewise.
16689 (POLL_IN): Likewise.
16690 (POLL_OUT): Likewise.
16691 (POLL_MSG): Likewise.
16692 (POLL_ERR): Likewise.
16693 (POLL_PRI): Likewise.
16694 (POLL_HUP): Likewise.
16695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16696 (ILL_ILLOPN): Likewise.
16697 (ILL_ILLADR): Likewise.
16698 (ILL_ILLTRP): Likewise.
16699 (ILL_PRVOPC): Likewise.
16700 (ILL_PRVREG): Likewise.
16701 (ILL_COPROC): Likewise.
16702 (ILL_BADSTK): Likewise.
16703 (FPE_INTDIV): Likewise.
16704 (FPE_INTOVF): Likewise.
16705 (FPE_FLTDIV): Likewise.
16706 (FPE_FLTOVF): Likewise.
16707 (FPE_FLTUND): Likewise.
16708 (FPE_FLTRES): Likewise.
16709 (FPE_FLTINV): Likewise.
16710 (FPE_FLTSUB): Likewise.
16711 (SEGV_MAPERR): Likewise.
16712 (SEGV_ACCERR): Likewise.
16713 (BUS_ADRALN): Likewise.
16714 (BUS_ADRERR): Likewise.
16715 (BUS_OBJERR): Likewise.
16716 (BUS_MCEERR_AR): Likewise.
16717 (BUS_MCEERR_AO): Likewise.
16718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16719 (TRAP_TRACE): Likewise.
16720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16721 __USE_XOPEN2K8].
16722 (CLD_KILLED): Likewise.
16723 (CLD_DUMPED): Likewise.
16724 (CLD_TRAPPED): Likewise.
16725 (CLD_STOPPED): Likewise.
16726 (CLD_CONTINUED): Likewise.
16727 (POLL_IN): Likewise.
16728 (POLL_OUT): Likewise.
16729 (POLL_MSG): Likewise.
16730 (POLL_ERR): Likewise.
16731 (POLL_PRI): Likewise.
16732 (POLL_HUP): Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16734 (ILL_ILLOPN): Likewise.
16735 (ILL_ILLADR): Likewise.
16736 (ILL_ILLTRP): Likewise.
16737 (ILL_PRVOPC): Likewise.
16738 (ILL_PRVREG): Likewise.
16739 (ILL_COPROC): Likewise.
16740 (ILL_BADSTK): Likewise.
16741 (FPE_INTDIV): Likewise.
16742 (FPE_INTOVF): Likewise.
16743 (FPE_FLTDIV): Likewise.
16744 (FPE_FLTOVF): Likewise.
16745 (FPE_FLTUND): Likewise.
16746 (FPE_FLTRES): Likewise.
16747 (FPE_FLTINV): Likewise.
16748 (FPE_FLTSUB): Likewise.
16749 (SEGV_MAPERR): Likewise.
16750 (SEGV_ACCERR): Likewise.
16751 (BUS_ADRALN): Likewise.
16752 (BUS_ADRERR): Likewise.
16753 (BUS_OBJERR): Likewise.
16754 (BUS_MCEERR_AR): Likewise.
16755 (BUS_MCEERR_AO): Likewise.
16756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16757 (TRAP_TRACE): Likewise.
16758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16759 __USE_XOPEN2K8].
16760 (CLD_KILLED): Likewise.
16761 (CLD_DUMPED): Likewise.
16762 (CLD_TRAPPED): Likewise.
16763 (CLD_STOPPED): Likewise.
16764 (CLD_CONTINUED): Likewise.
16765 (POLL_IN): Likewise.
16766 (POLL_OUT): Likewise.
16767 (POLL_MSG): Likewise.
16768 (POLL_ERR): Likewise.
16769 (POLL_PRI): Likewise.
16770 (POLL_HUP): Likewise.
16771 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16772 (ILL_ILLOPN): Likewise.
16773 (ILL_ILLADR): Likewise.
16774 (ILL_ILLTRP): Likewise.
16775 (ILL_PRVOPC): Likewise.
16776 (ILL_PRVREG): Likewise.
16777 (ILL_COPROC): Likewise.
16778 (ILL_BADSTK): Likewise.
16779 (ILL_DBLFLT): Likewise.
16780 (ILL_HARDWALL): Likewise.
16781 (FPE_INTDIV): Likewise.
16782 (FPE_INTOVF): Likewise.
16783 (FPE_FLTDIV): Likewise.
16784 (FPE_FLTOVF): Likewise.
16785 (FPE_FLTUND): Likewise.
16786 (FPE_FLTRES): Likewise.
16787 (FPE_FLTINV): Likewise.
16788 (FPE_FLTSUB): Likewise.
16789 (SEGV_MAPERR): Likewise.
16790 (SEGV_ACCERR): Likewise.
16791 (BUS_ADRALN): Likewise.
16792 (BUS_ADRERR): Likewise.
16793 (BUS_OBJERR): Likewise.
16794 (BUS_MCEERR_AR): Likewise.
16795 (BUS_MCEERR_AO): Likewise.
16796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16797 (TRAP_TRACE): Likewise.
16798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16799 __USE_XOPEN2K8].
16800 (CLD_KILLED): Likewise.
16801 (CLD_DUMPED): Likewise.
16802 (CLD_TRAPPED): Likewise.
16803 (CLD_STOPPED): Likewise.
16804 (CLD_CONTINUED): Likewise.
16805 (POLL_IN): Likewise.
16806 (POLL_OUT): Likewise.
16807 (POLL_MSG): Likewise.
16808 (POLL_ERR): Likewise.
16809 (POLL_PRI): Likewise.
16810 (POLL_HUP): Likewise.
16811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16812 (ILL_ILLOPN): Likewise.
16813 (ILL_ILLADR): Likewise.
16814 (ILL_ILLTRP): Likewise.
16815 (ILL_PRVOPC): Likewise.
16816 (ILL_PRVREG): Likewise.
16817 (ILL_COPROC): Likewise.
16818 (ILL_BADSTK): Likewise.
16819 (FPE_INTDIV): Likewise.
16820 (FPE_INTOVF): Likewise.
16821 (FPE_FLTDIV): Likewise.
16822 (FPE_FLTOVF): Likewise.
16823 (FPE_FLTUND): Likewise.
16824 (FPE_FLTRES): Likewise.
16825 (FPE_FLTINV): Likewise.
16826 (FPE_FLTSUB): Likewise.
16827 (SEGV_MAPERR): Likewise.
16828 (SEGV_ACCERR): Likewise.
16829 (BUS_ADRALN): Likewise.
16830 (BUS_ADRERR): Likewise.
16831 (BUS_OBJERR): Likewise.
16832 (BUS_MCEERR_AR): Likewise.
16833 (BUS_MCEERR_AO): Likewise.
16834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16835 (TRAP_TRACE): Likewise.
16836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16837 __USE_XOPEN2K8].
16838 (CLD_KILLED): Likewise.
16839 (CLD_DUMPED): Likewise.
16840 (CLD_TRAPPED): Likewise.
16841 (CLD_STOPPED): Likewise.
16842 (CLD_CONTINUED): Likewise.
16843 (POLL_IN): Likewise.
16844 (POLL_OUT): Likewise.
16845 (POLL_MSG): Likewise.
16846 (POLL_ERR): Likewise.
16847 (POLL_PRI): Likewise.
16848 (POLL_HUP): Likewise.
16849 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16850 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16851
bc61d27c
JM
16852 [BZ #16670]
16853 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16854 before #include of <time.h>.
16855 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16856 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16857 (test-xfail-UNIX98/sched.h/conform): Likewise.
16858
302949e2
MS
168592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16860
16861 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16862 error absence of trapping exception support.
16863 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16864
a00f522a
JM
168652014-03-07 Joseph Myers <joseph@codesourcery.com>
16866
6f99f280
JM
16867 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16868 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16869 * timezone/Makefile (testdata): Move definition above include of
16870 Rules.
16871 (test-zones): New variable.
16872 (tests-special): Add zone files.
16873 (build-testdata): Use $(evaluate-test).
16874
0b20a9e8
JM
16875 * elf/Makefile (tests-special): Rename tests to end with .out.
16876 ($(objpfx)noload-mem): Likewise.
16877 ($(objpfx)tst-leaks1-mem): Likewise.
16878 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16879 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16880 $(objpfx)test-iconvconfig.out.
16881 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16882 set -e inside subshell and redirect output to file.
16883 * iconvdata/Makefile (generated): Rename tests to end with .out.
16884 Correct type.
16885 (tests-special): Rename tests to end with .out.
16886 ($(objpfx)mtrace-tst-loading): Likewise.
16887 * intl/Makefile (generated): Likewise.
16888 (tests-special): Likewise.
16889 ($(objpfx)mtrace-tst-gettext): Likewise.
16890 * misc/Makefile (generated): Likewise.
16891 (tests-special): Likewise.
16892 ($(objpfx)tst-error1-mem): Likewise.
16893 * nptl/Makefile (tests-special): Likewise.
16894 ($(objpfx)tst-stack3-mem): Likewise.
16895 (generated): Likewise.
16896 * posix/Makefile (generated): Likewise.
16897 (tests-special): Likewise.
16898 (xtests-special): Likewise.
16899 ($(objpfx)tst-fnmatch-mem): Likewise.
16900 ($(objpfx)bug-regex2-mem): Likewise.
16901 ($(objpfx)bug-regex14-mem): Likewise.
16902 ($(objpfx)bug-regex21-mem): Likewise.
16903 ($(objpfx)bug-regex31-mem): Likewise.
16904 ($(objpfx)tst-vfork3-mem): Likewise.
16905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16906 ($(objpfx)tst-pcre-mem): Likewise.
16907 ($(objpfx)tst-boost-mem): Likewise.
16908 ($(objpfx)bug-ga2-mem): Likewise.
16909 ($(objpfx)bug-glob2-mem): Likewise.
16910 * resolv/Makefile (generate): Likewise.
16911 (tests-special): Likewise.
16912 (xtests-special): Likewise.
16913 (generated): Likewise.
16914 ($(objpfx)mtrace-tst-leaks): Likewise.
16915 ($(objpfx)mtrace-tst-leaks2): Likewise.
16916
265d52ab
JM
16917 * scripts/merge-test-results.sh: New file.
16918 * Makefile (tests-special-notdir): New variable.
16919 (tests): Run merge-test-results.sh.
16920 (xtests): Likewise.
16921 * Rules (tests-special-notdir): New variable.
16922 (xtests-special-notdir): Likewise.
16923 (tests): Run merge-test-results.sh
16924 (xtests): Likewise.
16925
54ee292d
JM
16926 * Makeconfig (test-xfail-name): New variable.
16927 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16928 compute variable name for expected failures.
16929 * conform/Makefile (conformtest-headers-data): New variable.
16930 (conformtest-standards): Likewise.
16931 (conformtest-headers-ISO): Likewise.
16932 (conformtest-headers-ISO99): Likewise.
16933 (conformtest-headers-ISO11): Likewise.
16934 (conformtest-headers-POSIX): Likewise.
16935 (conformtest-headers-XPG3): Likewise.
16936 (conformtest-headers-XPG4): Likewise.
16937 (conformtest-headers-UNIX98): Likewise.
16938 (conformtest-headers-XOPEN2K): Likewise.
16939 (conformtest-headers-POSIX2008): Likewise.
16940 (conformtest-headers-XOPEN2K8): Likewise.
16941 (conformtest-header-list-base): Likewise.
16942 (conformtest-header-list-tests): Likewise.
16943 (conformtest-header-base): Likewise.
16944 (conformtest-header-tests): Likewise.
16945 (tests-special): Add $(conformtest-header-list-tests). If
16946 [$(fast-check) && !$(cross-compiling)], add
16947 $(conformtest-header-tests) instead of
16948 $(objpfx)run-conformtest.out.
16949 (generated): Add $(conformtest-header-list-base). If
16950 [$(fast-check) && !$(cross-compiling)], add
16951 $(conformtest-header-base). Remove previous setting.
16952 ($(conformtest-header-list-tests)): New target.
16953 (test-xfail-run-conformtest): Remove variable.
16954 ($(objpfx)run-conformtest.out): Remove target.
16955 (test-xfail-ISO11/complex.h/conform): New variable.
16956 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16957 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16958 (test-xfail-XPG3/varargs.h/conform): Likewise.
16959 (test-xfail-XPG4/varargs.h/conform): Likewise.
16960 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16961 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16962 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16963 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16964 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16965 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16966 (test-xfail-XPG3/ftw.h/conform): Likewise.
16967 (test-xfail-XPG3/grp.h/conform): Likewise.
16968 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16969 (test-xfail-XPG3/limits.h/conform): Likewise.
16970 (test-xfail-XPG3/pwd.h/conform): Likewise.
16971 (test-xfail-XPG3/search.h/conform): Likewise.
16972 (test-xfail-XPG3/signal.h/conform): Likewise.
16973 (test-xfail-XPG3/stdio.h/conform): Likewise.
16974 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16975 (test-xfail-XPG3/string.h/conform): Likewise.
16976 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16977 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16978 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16979 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16980 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16981 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16982 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16983 (test-xfail-XPG3/termios.h/conform): Likewise.
16984 (test-xfail-XPG3/time.h/conform): Likewise.
16985 (test-xfail-XPG3/unistd.h/conform): Likewise.
16986 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16987 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16988 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16989 (test-xfail-XPG4/netdb.h/conform): Likewise.
16990 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16991 (test-xfail-XPG4/signal.h/conform): Likewise.
16992 (test-xfail-XPG4/stdio.h/conform): Likewise.
16993 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16994 (test-xfail-XPG4/stropts.h/conform): Likewise.
16995 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16996 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16997 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16998 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16999 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17000 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17001 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17002 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17003 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17004 (test-xfail-XPG4/termios.h/conform): Likewise.
17005 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17006 (test-xfail-XPG4/unistd.h/conform): Likewise.
17007 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17008 (test-xfail-POSIX/sched.h/conform): Likewise.
17009 (test-xfail-POSIX/signal.h/conform): Likewise.
17010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17011 (test-xfail-POSIX/tar.h/conform): Likewise.
17012 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17013 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17014 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17015 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17016 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17017 (test-xfail-UNIX98/sched.h/conform): Likewise.
17018 (test-xfail-UNIX98/signal.h/conform): Likewise.
17019 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17020 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17021 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17022 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17023 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17024 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17025 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17026 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17027 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17028 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17029 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17030 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17031 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17032 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17033 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17034 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17035 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17036 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17037 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17038 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17039 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17040 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17041 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17042 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17043 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17044 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17045 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17046 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17047 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17048 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17049 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17050 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17051 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17052 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17053 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17054 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17055 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17056 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17057 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17058 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17059 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17060 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17061 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17063 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17064 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17065 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17066 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17067 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17068 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17069 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17070 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17071 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17072 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17073 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17074 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17075 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17076 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17077 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17078 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17079 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17080 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17081 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17082 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17083 (conformtest-cc-flags): Likewise.
17084 ($(conformtest-header-tests): New target.
17085 * conform/check-header-lists.sh: New file.
17086 * conform/run-conformtest.sh: Remove.
17087
a00f522a
JM
17088 * conform/conformtest.pl: Allow ' and \ in values given for
17089 constants.
17090 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17091 inclusion.
17092 [POSIX] (sys/types.h): Likewise.
17093 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17094 inclusion.
17095 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17096 inclusion.
17097 * conform/data/signal.h-data (SIGIO): Remove expectation.
17098 [XPG3] (SIGBUS): Do not expect.
17099 [POSIX || XPG3] (SIGPOLL): Likewise.
17100 [POSIX || XPG3] (SIGPROF): Likewise.
17101 [POSIX || XPG3] (SIGSYS): Likewise.
17102 [XPG3] (SIGTRAP): Likewise.
17103 [POSIX || XPG3] (SIGURG): Likewise.
17104 [POSIX || XPG3] (SIGVTALRM): Likewise.
17105 [POSIX || XPG3] (SIGXCPU): Likewise.
17106 [POSIX || XPG3] (SIGXFSZ): Likewise.
17107 [POSIX] (SA_SIGINFO): Expect.
17108 [XPG3] (siginfo_t): Do not expect type or contents.
17109 [POSIX] (si_pid): Do not expect element.
17110 [POSIX] (si_uid): Likewise.
17111 [POSIX] (si_addr): Likewise.
17112 [POSIX] (si_status): Likewise.
17113 [POSIX] (si_band): Likewise.
17114 [XPG4] (si_value): Likewise.
17115 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17116 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17117 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17118 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17119 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17120 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17121 [POSIX || XPG3] (ILL_COPROC): Likewise.
17122 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17123 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17124 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17125 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17126 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17127 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17128 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17129 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17130 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17131 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17132 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17133 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17134 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17135 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17136 [POSIX || XPG3] (CLD_EXITED): Likewise.
17137 [POSIX || XPG3] (CLD_KILLED): Likewise.
17138 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17139 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17140 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17141 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17142 [POSIX || XPG3] (POLL_IN): Likewise.
17143 [POSIX || XPG3] (POLL_OUT): Likewise.
17144 [POSIX || XPG3] (POLL_MSG): Likewise.
17145 [POSIX || XPG3] (POLL_ERR): Likewise.
17146 [POSIX || XPG3] (POLL_PRI): Likewise.
17147 [POSIX || XPG3] (POLL_HUP): Likewise.
17148 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17149 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17150 (SIG*): Do not allow.
17151 [XPG3] (si_*): Likewise.
17152 [XPG3] (SI_*): Likewise.
17153 [XPG3 || XPG4] (sigev_*): Likewise.
17154 [XPG3 || XPG4] (SIGEV_*): Likewise.
17155 [XPG3 || XPG4] (sival_*): Likewise.
17156 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17157 [POSIX || XPG3] (BUS_*): Likewise.
17158 [POSIX || XPG3] (CLD_*): Likewise.
17159 [POSIX || XPG3] (FPE_*): Likewise.
17160 [POSIX || XPG3] (ILL_*): Likewise.
17161 [POSIX || XPG3] (POLL_*): Likewise.
17162 [POSIX || XPG3] (SEGV_*): Likewise.
17163 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17164 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17165 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17166 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17167 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17168 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17169 Specify type and value.
17170 (TVERSLEN): Likewise.
17171 (REGTYPE): Likewise.
17172 (AREGTYPE): Likewise.
17173 (LNKTYPE): Likewise.
17174 (SYMTYPE): Likewise.
17175 (CHRTYPE): Likewise.
17176 (BLKTYPE): Likewise.
17177 (DIRTYPE): Likewise.
17178 (FIFOTYPE): Likewise.
17179 (CONTTYPE): Likewise.
17180 (TSUID): Likewise.
17181 (TSGID): Likewise.
17182 (TSVTX): Likewise.
17183 (TUREAD): Likewise.
17184 (TUWRITE): Likewise.
17185 (TUEXEC): Likewise.
17186 (TGREAD): Likewise.
17187 (TGWRITE): Likewise.
17188 (TGEXEC): Likewise.
17189 (TOREAD): Likewise.
17190 (TOWRITE): Likewise.
17191 (TOEXEC): Likewise.
17192 [POSIX] (TSVTX): Expect constant.
17193
aa97dee1
JM
171942014-03-06 Joseph Myers <joseph@codesourcery.com>
17195
f214606a
JM
17196 * Makefile (tests): Change dependencies to ....
17197 (tests-special): ... additions to this variable.
17198 (tests): Depend on $(tests-special).
17199 * Makerules (check-abi-list): New variable.
17200 (check-abi): Depend on $(check-abi-list).
17201 [$(subdir) = elf] (tests-special): Add
17202 $(objpfx)check-abi-libc.out.
17203 [$(build-shared) = yes && subdir] (tests-special): Add
17204 $(check-abi-list).
17205 [$(build-shared) = yes && subdir] (tests): Do not depend on
17206 check-abi.
17207 * Rules (tests): Depend on $(tests-special).
17208 (xtests): Depend on $(xtests-special).
17209 * catgets/Makefile (tests): Change dependencies to ....
17210 (tests-special): ... additions to this variable.
17211 * conform/Makefile (tests): Change dependencies to ....
17212 (tests-special): ... additions to this variable.
17213 * elf/Makefile (tests): Change dependencies to ....
17214 (tests-special): ... additions to this variable.
17215 * grp/Makefile (tests): Change dependencies to ....
17216 (tests-special): ... additions to this variable.
17217 * iconv/Makefile (xtests): Change dependencies to ....
17218 (xtests-special): ... additions to this variable.
17219 * iconvdata/Makefile (tests): Change dependencies to ....
17220 (tests-special): ... additions to this variable.
17221 * intl/Makefile (tests): Change dependencies to ....
17222 (tests-special): ... additions to this variable. Also add
17223 $(objpfx)tst-gettext.out.
17224 * io/Makefile (tests): Change dependencies to ....
17225 (tests-special): ... additions to this variable.
17226 * libio/Makefile (tests): Change dependencies to ....
17227 (tests-special): ... additions to this variable.
17228 * malloc/Makefile (tests): Change dependencies to ....
17229 (tests-special): ... additions to this variable.
17230 * misc/Makefile (tests): Change dependencies to ....
17231 (tests-special): ... additions to this variable.
17232 * nptl/Makefile (tests): Change dependencies to ....
17233 (tests-special): ... additions to this variable.
17234 * nptl_db/Makefile (tests): Change dependencies to ....
17235 (tests-special): ... additions to this variable.
17236 * posix/Makefile (tests): Change dependencies to ....
17237 (tests-special): ... additions to this variable.
17238 (xtests): Change dependencies to ....
17239 (xtests-special): ... additions to this variable.
17240 * resolv/Makefile (tests): Change dependencies to ....
17241 (tests-special): ... additions to this variable.
17242 (xtests): Change dependencies to ....
17243 (xtests-special): ... additions to this variable.
17244 * stdio-common/Makefile (tests): Change dependencies to ....
17245 (tests-special): ... additions to this variable.
17246 (do-tst-unbputc): Remove target.
17247 (do-tst-printf): Likewise.
17248 * stdlib/Makefile (tests): Change dependencies to ....
17249 (tests-special): ... additions to this variable.
17250 * string/Makefile (tests): Change dependencies to ....
17251 (tests-special): ... additions to this variable.
17252 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17253 (tests-special): ... additions to this variable.
17254
81700b53
JM
17255 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17256 whole file.
17257 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17258 whole file.
17259 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17260 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17261
2ea18461
JM
17262 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17263 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17264 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17265 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17266 * conform/data/libgen.h-data [XPG3]: Likewise.
17267 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17268 * conform/data/ndbm.h-data [XPG3]: Likewise.
17269 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17270 * conform/data/netdb.h-data [XPG3]: Likewise.
17271 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17272 * conform/data/poll.h-data [XPG3]: Likewise.
17273 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17274 * conform/data/strings.h-data [XPG3]: Likewise.
17275 * conform/data/stropts.h-data [XPG3]: Likewise.
17276 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17277 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17278 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17279 Likewise.
17280 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17281 * conform/data/sys/time.h-data [XPG3]: Likewise.
17282 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17283 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17284 * conform/data/sys/un.h-data [XPG3]: Likewise.
17285 * conform/data/syslog.h-data [XPG3]: Likewise.
17286 * conform/data/ucontext.h-data [XPG3]: Likewise.
17287 * conform/data/utmpx.h-data [XPG3]: Likewise.
17288 * conform/data/varargs.h-data [UNIX98]: Enable file.
17289
355bc986
JM
17290 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17291
215db402
JM
17292 * math/libm-test.inc (struct test_f_f_data): Move expected results
17293 into structure for each rounding mode.
17294 (struct test_ff_f_data): Likewise.
17295 (struct test_ff_f_data_nexttoward): Likewise.
17296 (struct test_fi_f_data): Likewise.
17297 (struct test_fl_f_data): Likewise.
17298 (struct test_if_f_data): Likewise.
17299 (struct test_fff_f_data): Likewise.
17300 (struct test_c_f_data): Likewise.
17301 (struct test_f_f1_data): Likewise.
17302 (struct test_fF_f1_data): Likewise.
17303 (struct test_ffI_f1_data): Likewise.
17304 (struct test_c_c_data): Likewise.
17305 (struct test_cc_c_data): Likewise.
17306 (struct test_f_i_data): Likewise.
17307 (struct test_ff_i_data): Likewise.
17308 (struct test_f_l_data): Likewise.
17309 (struct test_f_L_data): Likewise.
17310 (struct test_fFF_11_data): Likewise.
17311 (RM_): New macro.
17312 (RM_FE_DOWNWARD): Likewise.
17313 (RM_FE_TONEAREST): Likewise.
17314 (RM_FE_TOWARDZERO): Likewise.
17315 (RM_FE_UPWARD): Likewise.
17316 (RUN_TEST_LOOP_f_f): Update references to expected results.
17317 (RUN_TEST_LOOP_2_f): Likewise.
17318 (RUN_TEST_LOOP_fff_f): Likewise.
17319 (RUN_TEST_LOOP_c_f): Likewise.
17320 (RUN_TEST_LOOP_f_f1): Likewise.
17321 (RUN_TEST_LOOP_fF_f1): Likewise.
17322 (RUN_TEST_LOOP_fI_f1): Likewise.
17323 (RUN_TEST_LOOP_ffI_f1): Likewise.
17324 (RUN_TEST_LOOP_c_c): Likewise.
17325 (RUN_TEST_LOOP_cc_c): Likewise.
17326 (RUN_TEST_LOOP_f_i): Likewise.
17327 (RUN_TEST_LOOP_f_i_tg): Likewise.
17328 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17329 (RUN_TEST_LOOP_f_b): Likewise.
17330 (RUN_TEST_LOOP_f_b_tg): Likewise.
17331 (RUN_TEST_LOOP_f_l): Likewise.
17332 (RUN_TEST_LOOP_f_L): Likewise.
17333 (RUN_TEST_LOOP_fFF_11): Likewise.
17334 * math/gen-libm-test.pl (parse_args): Output four copies of
17335 expected results for each test.
17336
67737b8f
JM
17337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17338 (__ASSUME_UTIMES): Remove.
17339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17340 (__ASSUME_UTIMES): Likewise.
17341
aa97dee1
JM
17342 * math/gen-auto-libm-tests.c: Update comment on output format.
17343 (output_for_one_input_case): Generate before-rounding and
17344 after-rounding information as conditions on output flags not
17345 floating-point format.
17346 * math/auto-libm-test-out: Regenerated.
17347 * math/gen-libm-test.pl (cond_value): New function.
17348 (or_cond_value): Use cond_value.
17349 (generate_testfile): Handle conditional exceptions.
17350
e6b6a857
JM
173512014-03-05 Joseph Myers <joseph@codesourcery.com>
17352
2f0a0f44
JM
17353 * math/libm-test.inc (max_valid_error): New variable.
17354 (init_max_error): Take new argument specifying whether function
17355 results are exactly determined. Set max_valid_error and bound
17356 other variables for errors based on this argument.
17357 (set_max_error): Do not record results above max_valid_error.
17358 (check_float_internal): Only accept errors of up to 0.5ulps if
17359 also at most max_valid_error.
17360 (START): Take new argument EXACT and pass it to init_max_error.
17361 (acos_test): Update call to START.
17362 (acos_test_tonearest): Likewise.
17363 (acos_test_towardzero): Likewise.
17364 (acos_test_downward): Likewise.
17365 (acos_test_upward): Likewise.
17366 (acosh_test): Likewise.
17367 (asin_test): Likewise.
17368 (asin_test_tonearest): Likewise.
17369 (asin_test_towardzero): Likewise.
17370 (asin_test_downward): Likewise.
17371 (asin_test_upward): Likewise.
17372 (asinh_test): Likewise.
17373 (atan_test): Likewise.
17374 (atanh_test): Likewise.
17375 (atan2_test): Likewise.
17376 (cabs_test): Likewise.
17377 (cacos_test): Likewise.
17378 (cacosh_test): Likewise.
17379 (carg_test): Likewise.
17380 (casin_test): Likewise.
17381 (casinh_test): Likewise.
17382 (catan_test): Likewise.
17383 (catanh_test): Likewise.
17384 (cbrt_test): Likewise.
17385 (ccos_test): Likewise.
17386 (ccosh_test): Likewise.
17387 (ceil_test): Likewise.
17388 (cexp_test): Likewise.
17389 (cimag_test): Likewise.
17390 (clog_test): Likewise.
17391 (clog10_test): Likewise.
17392 (conj_test): Likewise.
17393 (copysign_test): Likewise.
17394 (cos_test): Likewise.
17395 (cos_test_tonearest): Likewise.
17396 (cos_test_towardzero): Likewise.
17397 (cos_test_downward): Likewise.
17398 (cos_test_upward): Likewise.
17399 (cosh_test): Likewise.
17400 (cosh_test_tonearest): Likewise.
17401 (cosh_test_towardzero): Likewise.
17402 (cosh_test_downward): Likewise.
17403 (cosh_test_upward): Likewise.
17404 (cpow_test): Likewise.
17405 (cproj_test): Likewise.
17406 (creal_test): Likewise.
17407 (csin_test): Likewise.
17408 (csinh_test): Likewise.
17409 (csqrt_test): Likewise.
17410 (ctan_test): Likewise.
17411 (ctan_test_tonearest): Likewise.
17412 (ctan_test_towardzero): Likewise.
17413 (ctan_test_downward): Likewise.
17414 (ctan_test_upward): Likewise.
17415 (ctanh_test): Likewise.
17416 (ctanh_test_tonearest): Likewise.
17417 (ctanh_test_towardzero): Likewise.
17418 (ctanh_test_downward): Likewise.
17419 (ctanh_test_upward): Likewise.
17420 (erf_test): Likewise.
17421 (erfc_test): Likewise.
17422 (exp_test): Likewise.
17423 (exp_test_tonearest): Likewise.
17424 (exp_test_towardzero): Likewise.
17425 (exp_test_downward): Likewise.
17426 (exp_test_upward): Likewise.
17427 (exp10_test): Likewise.
17428 (exp10_test_tonearest): Likewise.
17429 (exp10_test_towardzero): Likewise.
17430 (exp10_test_downward): Likewise.
17431 (exp10_test_upward): Likewise.
17432 (pow10_test): Likewise.
17433 (exp2_test): Likewise.
17434 (expm1_test): Likewise.
17435 (expm1_test_tonearest): Likewise.
17436 (expm1_test_towardzero): Likewise.
17437 (expm1_test_downward): Likewise.
17438 (expm1_test_upward): Likewise.
17439 (fabs_test): Likewise.
17440 (fdim_test): Likewise.
17441 (floor_test): Likewise.
17442 (fma_test): Likewise.
17443 (fma_test_towardzero): Likewise.
17444 (fma_test_downward): Likewise.
17445 (fma_test_upward): Likewise.
17446 (fmax_test): Likewise.
17447 (fmin_test): Likewise.
17448 (fmod_test): Likewise.
17449 (fpclassify_test): Likewise.
17450 (frexp_test): Likewise.
17451 (hypot_test): Likewise.
17452 (ilogb_test): Likewise.
17453 (isfinite_test): Likewise.
17454 (finite_test): Likewise.
17455 (isgreater_test): Likewise.
17456 (isgreaterequal_test): Likewise.
17457 (isinf_test): Likewise.
17458 (isless_test): Likewise.
17459 (islessequal_test): Likewise.
17460 (islessgreater_test): Likewise.
17461 (isnan_test): Likewise.
17462 (isnormal_test): Likewise.
17463 (issignaling_test): Likewise.
17464 (isunordered_test): Likewise.
17465 (j0_test): Likewise.
17466 (j1_test): Likewise.
17467 (jn_test): Likewise.
17468 (ldexp_test): Likewise.
17469 (lgamma_test): Likewise.
17470 (gamma_test): Likewise.
17471 (lrint_test): Likewise.
17472 (lrint_test_tonearest): Likewise.
17473 (lrint_test_towardzero): Likewise.
17474 (lrint_test_downward): Likewise.
17475 (lrint_test_upward): Likewise.
17476 (llrint_test): Likewise.
17477 (llrint_test_tonearest): Likewise.
17478 (llrint_test_towardzero): Likewise.
17479 (llrint_test_downward): Likewise.
17480 (llrint_test_upward): Likewise.
17481 (log_test): Likewise.
17482 (log10_test): Likewise.
17483 (log1p_test): Likewise.
17484 (log2_test): Likewise.
17485 (logb_test): Likewise.
17486 (logb_test_downward): Likewise.
17487 (lround_test): Likewise.
17488 (llround_test): Likewise.
17489 (modf_test): Likewise.
17490 (nearbyint_test): Likewise.
17491 (nextafter_test): Likewise.
17492 (nexttoward_test): Likewise.
17493 (pow_test): Likewise.
17494 (pow_test_tonearest): Likewise.
17495 (pow_test_towardzero): Likewise.
17496 (pow_test_downward): Likewise.
17497 (pow_test_upward): Likewise.
17498 (remainder_test): Likewise.
17499 (drem_test): Likewise.
17500 (remainder_test_tonearest): Likewise.
17501 (drem_test_tonearest): Likewise.
17502 (remainder_test_towardzero): Likewise.
17503 (drem_test_towardzero): Likewise.
17504 (remainder_test_downward): Likewise.
17505 (drem_test_downward): Likewise.
17506 (remainder_test_upward): Likewise.
17507 (drem_test_upward): Likewise.
17508 (remquo_test): Likewise.
17509 (rint_test): Likewise.
17510 (rint_test_tonearest): Likewise.
17511 (rint_test_towardzero): Likewise.
17512 (rint_test_downward): Likewise.
17513 (rint_test_upward): Likewise.
17514 (round_test): Likewise.
17515 (scalb_test): Likewise.
17516 (scalbn_test): Likewise.
17517 (scalbln_test): Likewise.
17518 (signbit_test): Likewise.
17519 (sin_test): Likewise.
17520 (sin_test_tonearest): Likewise.
17521 (sin_test_towardzero): Likewise.
17522 (sin_test_downward): Likewise.
17523 (sin_test_upward): Likewise.
17524 (sincos_test): Likewise.
17525 (sinh_test): Likewise.
17526 (sinh_test_tonearest): Likewise.
17527 (sinh_test_towardzero): Likewise.
17528 (sinh_test_downward): Likewise.
17529 (sinh_test_upward): Likewise.
17530 (sqrt_test): Likewise.
17531 (sqrt_test_tonearest): Likewise.
17532 (sqrt_test_towardzero): Likewise.
17533 (sqrt_test_downward): Likewise.
17534 (sqrt_test_upward): Likewise.
17535 (tan_test): Likewise.
17536 (tan_test_tonearest): Likewise.
17537 (tan_test_towardzero): Likewise.
17538 (tan_test_downward): Likewise.
17539 (tan_test_upward): Likewise.
17540 (tanh_test): Likewise.
17541 (tgamma_test): Likewise.
17542 (trunc_test): Likewise.
17543 (y0_test): Likewise.
17544 (y1_test): Likewise.
17545 (yn_test): Likewise.
17546 (significand_test): Likewise.
17547
e6b6a857
JM
17548 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17549 individual tests in comment.
17550 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17551 (prev_max_error): New variable.
17552 (prev_real_max_error): Likewise.
17553 (prev_imag_max_error): Likewise.
17554 (compare_ulp_data): Don't refer to test names in comment.
17555 (find_test_ulps): Remove function.
17556 (find_function_ulps): Likewise.
17557 (find_complex_function_ulps): Likewise.
17558 (init_max_error): Take function name as argument. Look up ulps
17559 for that function.
17560 (print_ulps): Remove function.
17561 (print_max_error): Use prev_max_error instead of calling
17562 find_function_ulps.
17563 (print_complex_max_error): Use prev_real_max_error and
17564 prev_imag_max_error instead of calling find_complex_function_ulps.
17565 (check_float_internal): Take max_ulp parameter instead of calling
17566 find_test_ulps. Don't call print_ulps.
17567 (check_float): Update call to check_float_internal.
17568 (check_complex): Update calls to check_float_internal.
17569 (START): Pass argument to init_max_error.
17570 * math/gen-libm-test.pl (%results): Don't include "kind"
17571 information.
17572 (parse_ulps): Don't handle ulps of individual tests.
17573 (print_ulps_file): Likewise.
17574 (output_ulps): Likewise.
17575 * math/README.libm-test: Update.
17576 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17577 individual tests.
17578 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17579 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17580 * sysdeps/arm/libm-test-ulps: Likewise.
17581 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17582 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17583 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17584 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17585 * sysdeps/microblaze/libm-test-ulps: Likewise.
17586 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17587 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17589 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17591 * sysdeps/sh/libm-test-ulps: Likewise.
17592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17593 * sysdeps/tile/libm-test-ulps: Likewise.
17594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17595
45adef3c
JM
175962014-03-04 Joseph Myers <joseph@codesourcery.com>
17597
17598 * math/libm-test.inc (print_complex_max_error): Check separately
17599 whether real and imaginary errors are within allowed range and
17600 pass 0 to print_complex_function_ulps instead of value within
17601 allowed range.
17602
000232b9
SP
176032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17604
d4b17258
SP
17605 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17606 formatting.
17607 (get_handles_fopen): Likewise.
17608 (do_write_test): Likewise.
17609
091eff71
SP
17610 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17611
fa3cd248
SP
17612 * libio/fileops.c (do_ftell): Use cached offset when
17613 available.
17614 * libio/iofwide.c (do_ftell_wide): Likewise.
17615 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17616 _IO_file_attach.
17617 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17618
000232b9
SP
17619 [BZ #16532]
17620 * libio/libioP.h (get_file_offset): New function.
17621 * libio/fileops.c (get_file_offset): Likewise.
17622 (do_ftell): Likewise.
17623 (_IO_new_file_seekoff): Split out ftell logic.
17624 * libio/wfileops.c (do_ftell_wide): Likewise.
17625 (_IO_wfile_seekoff): Split out ftell logic.
17626 * libio/tst-ftell-active-handler.c: New test case.
17627 * libio/Makefile (tests): Add it.
17628
116f4d1a
RM
176292014-03-03 Roland McGrath <roland@hack.frob.com>
17630
17631 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17632 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17633
532a6035
SP
176342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17635
17636 [BZ #16639]
17637 * nscd/connections.c (nscd_init): Call do_exit.
17638 (start_threads): Call do_exit and notify_parent.
17639 (begin_drop_privileges): Call do_exit.
17640 (finish_drop_privileges): Likewise.
17641 * nscd/selinux.c (preserve_capabilities): Likewise.
17642 (install_real_capabilities): Likewise.
17643 (nscd_selinux_enabled): Likewise.
17644 (avc_create_thread): Likewise.
17645 (avc_alloc_lock): Likewise.
17646 (nscd_avc_init): Likewise.
17647 * nscd/nscd.c (parent_fd): New static variable.
17648 (main): Create a pipe between parent and child processes.
17649 Skip closing parent_fd.
17650 (monitor_child): New function.
17651 (do_exit): Likewise.
17652 (notify_parent): Likewise.
17653 * nscd/nscd.h (notify_parent): Likewise.
17654 (do_exit): Likewise.
17655
d6285c9f
CD
176562014-03-03 Carlos O'Donell <carlos@redhat.com>
17657
17658 * malloc/malloc.c (__libc_calloc): Revert last change.
17659
2b85d2a0
AZ
176602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17661
17662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17663
c7debbdf
RS
176642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17665
17666 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17668 implementation.
17669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17670 (__libc_ifunc_impl_list): Likewise.
17671 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17673 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17674 * string/strrchr.c: Define STRRCHR.
17675
235eed86
OB
176762014-02-28 Ondřej Bílka <neleai@seznam.cz>
17677
17678 * benchtest/bench-strtok.c (simple_strtok): Delete.
17679 (strtok_string): Use as benchmark.
17680 * string/strtok (STRTOK): New macro.
17681
8e25d1e7
CD
176822014-02-28 Carlos O'Donell <carlos@redhat.com>
17683
ef563f92
CD
17684 * manual/threads.texi: Add header and standard comments to all
17685 functions.
17686
8e25d1e7
CD
17687 * elf/dl-lookup.c (check_match): New function.
17688 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17689 (do_lookup_x): Remove nested function check_match. Use non-nested
17690 function check_match.
17691
ff71cc37
RM
176922014-02-28 Roland McGrath <roland@hack.frob.com>
17693
f08e9a26
RM
17694 * csu/Makefile (generated, before-compile): Use += rather than =.
17695 * catgets/Makefile (generated, generated-dirs): Likewise.
17696 * debug/Makefile (generated): Likewise.
17697 * dlfcn/Makefile (generated): Likewise.
17698 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17699 * iconvdata/Makefile (before-compile, generated): Likewise.
17700 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17701 * libio/Makefile (generated): Likewise.
17702 * malloc/Makefile (generated): Likewise.
17703 * manual/Makefile (generated, generated-dirs): Likewise.
17704 * misc/Makefile (generated): Likewise.
17705 * posix/Makefile (generated): Likewise.
17706 * resolv/Makefile (generated): Likewise.
17707 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17708 * timezone/Makefile (generated, generated-dirs): Likewise.
17709
ff71cc37
RM
17710 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17711
fe13a20c
AZ
177122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17713
57f41c40
AS
17714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17715 power8 implementation.
17716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17717 file: POWER8 llround ifunc implementation.
17718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17719 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17721 POWER8 llround implementation.
17722
57f41c40
AS
17723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17724 power8 implementation.
17725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17726 file: POWER8 llrint ifunc implementation.
17727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17728 Add POWER8 implementation.
1ad8950a
AZ
17729 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17730 POWER8 llrint implementation.
17731
57f41c40
AS
17732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17733 power8 implementation.
17734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17735 file: POWER8 finite ifunc implementation.
17736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17737 Add POWER8 implementation.
cac626d6
AZ
17738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17739 Likewise.
17740 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17741 POWER8 finite implementation.
17742 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17743
57f41c40
AS
17744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17745 power8 implementation.
17746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17747 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17749 POWER8 implementation.
17750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17751 Likewise.
57f41c40
AS
17752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17753 isinf implementation.
4393fc11
AZ
17754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17755
57f41c40
AS
17756 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17757 (INIT_ARCH): Add hwcap2 initialization.
17758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17759 power8 implementation.
17760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17761 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17763 POWER8 implementation.
17764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17765 Likewise.
57f41c40
AS
17766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17767 isnan implementation.
487972ae
AZ
17768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17769
7d92b787
JY
177702014-02-27 Joey Ye <joey.ye@arm.com>
17771
17772 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17773 (_FP_NANFRAC_Q): Set to zero.
17774
1cadc858
SP
177752014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17776
17777 [BZ #16623]
17778 * math/auto-libm-test-in: New test inputs.
17779 * math/auto-libm-test-out: Regenerate.
17780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17781 and DA.
17782 (__cos): Likewise.
17783 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17784
f8c17e79
JM
177852014-02-27 Joseph Myers <joseph@codesourcery.com>
17786
17787 * scripts/evaluate-test.sh: Take new argument indicating whether
17788 failure is expected.
17789 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17790 indicating whether failure is expected.
17791 * conform/Makefile (test-xfail-run-conformtest): New variable.
17792 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17793 level.
17794 * posix/Makefile (test-xfail-annexc): New variable.
17795 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17796
a5f891ac
JM
177972014-02-26 Joseph Myers <joseph@codesourcery.com>
17798
17799 * argp/Makefile: Include Makeconfig immediately after defining
17800 subdir.
17801 * assert/Makefile: Likewise.
17802 * benchtests/Makefile: Likewise.
17803 * catgets/Makefile: Likewise.
17804 * conform/Makefile: Likewise.
17805 * crypt/Makefile: Likewise.
17806 * csu/Makefile: Likewise.
17807 (all): Remove target.
17808 * ctype/Makefile: Include Makeconfig immediately after defining
17809 subdir.
17810 * debug/Makefile: Likewise.
17811 * dirent/Makefile: Likewise.
17812 * dlfcn/Makefile: Likewise.
17813 * gmon/Makefile: Likewise.
17814 * gnulib/Makefile: Likewise.
17815 * grp/Makefile: Likewise.
17816 * gshadow/Makefile: Likewise.
17817 * hesiod/Makefile: Likewise.
17818 * hurd/Makefile: Likewise.
17819 (all): Remove target.
17820 * iconvdata/Makefile: Include Makeconfig immediately after
17821 defining subdir.
17822 * inet/Makefile: Likewise.
17823 * intl/Makefile: Likewise.
17824 * io/Makefile: Likewise.
17825 * libio/Makefile: Likewise.
17826 (all): Remove target.
17827 * locale/Makefile: Include Makeconfig immediately after defining
17828 subdir.
17829 * login/Makefile: Likewise.
17830 * mach/Makefile: Likewise.
17831 (all): Remove target.
17832 * malloc/Makefile: Include Makeconfig immediately after defining
17833 subdir.
17834 (all): Remove target.
17835 * manual/Makefile: Include Makeconfig immediately after defining
17836 subdir.
17837 * math/Makefile: Likewise.
17838 * misc/Makefile: Likewise.
17839 * nis/Makefile: Likewise.
17840 * nss/Makefile: Likewise.
17841 * po/Makefile: Likewise.
17842 (all): Remove target.
17843 * posix/Makefile: Include Makeconfig immediately after defining
17844 subdir.
17845 * pwd/Makefile: Likewise.
17846 * resolv/Makefile: Likewise.
17847 * resource/Makefile: Likewise.
17848 * rt/Makefile: Likewise.
17849 * setjmp/Makefile: Likewise.
17850 * shadow/Makefile: Likewise.
17851 * signal/Makefile: Likewise.
17852 * socket/Makefile: Likewise.
17853 * soft-fp/Makefile: Likewise.
17854 * stdio-common/Makefile: Likewise.
17855 * stdlib/Makefile: Likewise.
17856 * streams/Makefile: Likewise.
17857 * string/Makefile: Likewise.
17858 * sunrpc/Makefile: Likewise.
17859 (all): Remove target.
17860 * sysvipc/Makefile: Include Makeconfig immediately after defining
17861 subdir.
17862 * termios/Makefile: Likewise.
17863 * time/Makefile: Likewise.
17864 * timezone/Makefile: Likewise.
17865 (all): Remove target.
17866 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17867 subdir.
17868 * wctype/Makefile: Likewise.
17869
5b456e9d
SE
178702014-02-26 Steve Ellcey <sellcey@mips.com>
17871
17872 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17873 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17874 (libc_feholdexcept_setround_mips): Ditto.
17875 (libc_feholdsetround): New.
17876 (libc_feholdsetroundf): New.
17877 (libc_feholdsetroundl): New.
17878 (libc_feupdateenv_test_mips): New.
17879 (libc_feupdateenv_test): New.
17880 (libc_feupdateenv_testf): New.
17881 (libc_feupdateenv_testl): New.
17882 (libc_feresetround): New.
17883 (libc_feresetroundf): New.
17884 (libc_feresetroundl): New.
17885 (libc_fetestexcept_mips): New.
17886 (libc_fetestexcept): New.
17887 (libc_fetestexceptf): New.
17888 (libc_fetestexceptl): New.
17889 (HAVE_RM_CTX): New.
17890 (libc_feholdexcept_setround_mips_ctx): New.
17891 (libc_feholdexcept_setround_ctx): New.
17892 (libc_feholdexcept_setroundf_ctx): New.
17893 (libc_feholdexcept_setroundl_ctx): New.
17894 (libc_fesetenv_mips_ctx): New.
17895 (libc_fesetenv_ctx): New.
17896 (libc_fesetenv_ctxf): New.
17897 (libc_fesetenv_ctxl): New.
17898 (libc_feupdateenv_mips_ctx): New.
17899 (libc_feupdateenv_ctx): New.
17900 (libc_feupdateenvf_ctx): New.
17901 (libc_feupdateenvl_ctx): New.
17902 (libc_feholdsetround_mips_ctx): New.
17903 (libc_feholdsetround_ctx): New.
17904 (libc_feholdsetroundf_ctx): New.
17905 (libc_feholdsetroundl_ctx): New.
17906 (libc_feresetround_mips_ctx): New.
17907 (libc_feresetround_ctx): New.
17908 (libc_feresetroundf_ctx): New.
17909 (libc_feresetroundl_ctx): New.
17910
085d0e35
CD
179112014-02-26 Carlos O'Donell <carlos@redhat.com>
17912
f067bf1f
CD
17913 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17914
085d0e35
CD
17915 * manual/ipc.texi: New file.
17916 * manual/Makefile (chapters): Add ipc.
17917 * manual/job.texi: Add "Inter-Process Communication" to next.
17918 * manual/process.texi: Add "Inter-Process Communication" to prev.
17919
86e58c08
AZ
179202014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17921
17922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17923
4248f0da
OB
179242014-02-26 Ondřej Bílka <neleai@seznam.cz>
17925
17926 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17927
cf822e3c
OB
17928 * manual/arith.texi: Fix spaces after sentences.
17929 * manual/charset.texi: Likewise.
17930 * manual/errno.texi: Likewise.
17931 * manual/install.texi: Likewise.
17932 * manual/llio.texi: Likewise.
17933 * manual/locale.texi: Likewise.
17934 * manual/maint.texi: Likewise.
17935 * manual/math.texi: Likewise.
17936 * manual/memory.texi: Likewise.
17937 * manual/message.texi: Likewise.
17938 * manual/probes.texi: Likewise.
17939 * manual/resource.texi: Likewise.
17940 * manual/signal.texi: Likewise.
17941 * manual/socket.texi: Likewise.
17942 * manual/stdio.texi: Likewise.
17943 * manual/string.texi: Likewise.
17944 * manual/time.texi: Likewise.
17945 * manual/users.texi: Likewise.
17946
ade40b10
CD
179472014-02-25 Carlos O'Donell <carlos@redhat.com>
17948
17949 [BZ #16632]
17950 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17951 _DEFAULT_SOURCE is defined.
17952
d0503676
CD
179532014-02-25 Ulrich Drepper <drepper@gmail.com>
17954 Carlos O'Donell <carlos@redhat.com>
17955
17956 [BZ #16613]
17957 * elf/dl-tls.c (_dl_count_modids): New function.
17958 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17959 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17960 audit library and increment generation counter.
17961 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17962 * elf/tst-audit9.c: New file.
17963 * elf/tst-auditmod9a.c: New file.
17964 * elf/tst-auditmod9b.c: New file.
17965 * elf/Makefile: Add rules to build and run tst-audit9.
17966
4cbf380c
FW
179672014-02-25 Florian Weimer <fweimer@redhat.com>
17968
17969 [BZ #15347]
17970 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17971
80a56cc3
WN
179722014-02-25 Will Newton <will.newton@linaro.org>
17973
17974 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17975 (__longjmp): Restore sp and lr before restoring callee
17976 saved registers. Add longjmp and longjmp_target
17977 SystemTap probe point.
17978 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17979 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17980 Define to zero to match jmpbuf layout.
17981 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17982 (__sigsetjmp): Save sp and lr before saving callee
17983 saved registers. Add setjmp SystemTap probe point.
17984
3ea0f74e
SL
179852014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17986
17987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17988
b04acb26
AS
179892014-02-24 Andreas Schwab <schwab@suse.de>
17990
17991 [BZ #15804]
17992 * elf/pldd.c (wait_for_ptrace_stop): New function.
17993 (main): Call it after attaching.
17994
098ad55c
RM
179952014-02-22 Roland McGrath <roland@hack.frob.com>
17996
d4ec6ae1
RM
17997 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17998 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17999 Versions files is now verboten.
18000 * hurd/Versions (libc: GLIBC_2.0):
18001 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18002 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18003 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18004 * mach/Versions: Likewise.
18005
098ad55c
RM
18006 * csu/Versions: Remove unused %include.
18007 * resolv/Versions: Likewise.
18008
acd7f096
JM
180092014-02-21 Joseph Myers <joseph@codesourcery.com>
18010
f0881698
JM
18011 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18012 ($(objpfx)check-local-headers.out): Likewise.
18013 ($(objpfx)begin-end-check.out): Likewise.
18014 * Makerules (check-abi-%.out): Likewise.
18015 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18016 ($(objpfx)test2.cat): Likewise.
18017 ($(objpfx)de/libc.cat): Likewise.
18018 ($(objpfx)test-gencat.out): Likewise.
18019 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18020 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18021 ($(objpfx)noload-mem): Likewise.
18022 ($(objpfx)tst-pathopt.out): Likewise.
18023 ($(objpfx)tst-rtld-load-self.out): Likewise.
18024 ($(objpfx)tst-array1-cmp.out): Likewise.
18025 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18026 ($(objpfx)tst-array2-cmp.out): Likewise.
18027 ($(objpfx)tst-array3-cmp.out): Likewise.
18028 ($(objpfx)tst-array4-cmp.out): Likewise.
18029 ($(objpfx)tst-array5-cmp.out): Likewise.
18030 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18031 ($(objpfx)check-textrel.out): Likewise.
18032 ($(objpfx)check-execstack.out): Likewise.
18033 ($(objpfx)check-localplt.out): Likewise.
18034 ($(objpfx)order2-cmp.out): Likewise.
18035 ($(objpfx)tst-leaks1-mem): Likewise.
18036 ($(objpfx)tst-leaks1-static-mem): Likewise.
18037 ($(objpfx)tst-initorder-cmp.out): Likewise.
18038 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18039 ($(objpfx)tst-unused-dep.out): Likewise.
18040 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18041 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18042 * iconv/Makefile (test-iconvconfig): Likewise.
18043 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18044 ($(objpfx)iconv-test.out): Likewise.
18045 ($(objpfx)tst-tables.out): Likewise.
18046 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18047 ($(objpfx)tst-gettext.out): Likewise.
18048 ($(objpfx)tst-translit.out): Likewise.
18049 ($(objpfx)tst-gettext2.out): Likewise.
18050 ($(objpfx)tst-gettext4.out): Likewise.
18051 ($(objpfx)tst-gettext6.out): Likewise.
18052 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18053 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18054 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18055 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18057 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18058 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18059 ($(objpfx)wordexp-tst.out): Likewise.
18060 ($(objpfx)annexc.out): Likewise.
18061 ($(objpfx)tst-fnmatch-mem): Likewise.
18062 ($(objpfx)bug-regex2-mem): Likewise.
18063 ($(objpfx)bug-regex14-mem): Likewise.
18064 ($(objpfx)bug-regex21-mem): Likewise.
18065 ($(objpfx)bug-regex31-mem): Likewise.
18066 ($(objpfx)tst-vfork3-mem): Likewise.
18067 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18068 ($(objpfx)tst-pcre-mem): Likewise.
18069 ($(objpfx)tst-boost-mem): Likewise.
18070 ($(objpfx)tst-getconf.out): Likewise.
18071 ($(objpfx)bug-ga2-mem): Likewise.
18072 ($(objpfx)bug-glob2-mem): Likewise.
18073 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18074 ($(objpfx)mtrace-tst-leaks2): Likewise.
18075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18076 ($(objpfx)tst-printf.out): Likewise.
18077 ($(objpfx)tst-setvbuf1.out): Likewise.
18078 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18079 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18080 ($(objpfx)tst-fmtmsg.out): Likewise.
18081 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18082 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18083
acd7f096
JM
18084 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18085 * bits/sigaction.h [__USE_MISC]: Likewise.
18086 * bits/waitstatus.h: Update #endif comments.
18087 * ctype/ctype.h: Likewise.
18088 * dirent/dirent.h: Likewise.
18089 [__USE_MISC]: Remove redundant conditionals.
18090 * grp/grp.h: Update #endif comments.
18091 [__USE_GNU]: Remove redundant conditionals.
18092 [__USE_MISC]: Likewise.
18093 * inet/netinet/in.h [__USE_GNU]: Likewise.
18094 * io/sys/stat.h [__USE_MISC]: Likewise.
18095 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18096 * libio/bits/stdio.h: Update #endif comments.
18097 [__USE_MISC]: Remove redundant conditionals.
18098 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18099 * libio/stdio.h: Update #endif comments.
18100 [__USE_MISC]: Remove redundant conditionals.
18101 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18102 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18103 * math/math.h: Update #else and #endif comments.
18104 [__USE_MISC]: Remove redundant conditionals.
18105 * misc/sys/uio.h: Update #endif comments.
18106 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18107 * posix/glob.h [__USE_MISC]: Likewise.
18108 * posix/sys/types.h: Update #endif comments.
18109 [__USE_MISC]: Remove redundant conditionals.
18110 * posix/sys/wait.h: Update #endif comments.
18111 [__USE_MISC]: Remove redundant conditionals.
18112 * posix/unistd.h: Update #endif comments.
18113 [__USE_MISC]: Remove redundant conditionals.
18114 * pwd/pwd.h [__USE_GNU]: Likewise.
18115 [__USE_MISC]: Likewise.
18116 * resolv/netdb.h [__USE_GNU]: Likewise.
18117 * signal/signal.h: Update #endif comments.
18118 [__USE_MISC]: Remove redundant conditionals.
18119 * stdlib/stdlib.h: Update #else and #endif comments.
18120 [__USE_MISC]: Remove redundant conditionals.
18121 [__USE_GNU]: Likewise.
18122 * string/bits/string2.h [__USE_MISC]: Likewise.
18123 * string/string.h: Update #endif comments.
18124 [__USE_MISC]: Remove redundant conditionals.
18125 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18126 Likewise.
18127 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18128 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18129 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18134 comments.
18135 [__USE_MISC]: Remove redundant conditionals.
18136 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18137 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18138 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18139 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18140 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18141 Likewise.
18142 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18143 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18144 Likewise.
18145 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18146 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18151 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18152 Likewise.
18153 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18154 Likewise.
18155 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18156 * sysdeps/x86/bits/string.h: Update #endif comments.
18157 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18158 conditionals.
18159 * time/sys/time.h: Update #endif comments.
18160 * time/time.h: Likewise.
18161 [__USE_MISC]: Remove redundant conditionals.
18162
a5d82e4e
YG
181632014-02-21 Yury Gribov <y.gribov@samsung.com>
18164
18165 [BZ #16600]
18166 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18167
9a80491d
AS
181682014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18169
18170 * Versions.def (librt): Add GLIBC_2.17.
18171
105fa381
AC
181722014-02-21 Adam Conrad <adconrad@0c3.net>
18173
18174 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18175 synonym for _SYS_AUXV_H to allow direct inclusion.
18176 * sysdeps/sparc/bits/hwcap.h: Likewise.
18177 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18178 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18179 * sysdeps/sparc/sysdep.h: Likewise.
18180
b8cd1c4e
SP
181812014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18182
18183 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18184
bd939d23
RS
181852014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18186
18187 * benchtests/bench-strrchr.c: Print length instead of position.
18188
5d7b57ca
JM
181892014-02-20 Joseph Myers <joseph@codesourcery.com>
18190
bc688c10
JM
18191 [BZ #16611]
18192 * sysdeps/unix/sysv/linux/kernel-features.h
18193 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18194 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18195 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18196 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18197 Likewise.
18198 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18199 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18200 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18201 (__ASSUME_SENDMMSG): Define instead of using previous
18202 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18204 (__ASSUME_SENDMMSG_SYSCALL): Define.
18205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18206 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18207 Likewise.
18208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18209 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18210 Likewise.
18211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18212 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18213 Likewise.
18214 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18215 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18216 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18217 [__ASSUME_SENDMMSG]: Change conditionals to
18218 [__ASSUME_SENDMMSG_SOCKETCALL].
18219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18220 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18221 Define.
18222 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18223 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18224 Likewise.
18225 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18226 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18227 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18228 [!__ASSUME_SENDMMSG]: Change conditional to
18229 [!__ASSUME_SENDMMSG_SOCKETCALL].
18230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18231 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18232 Define.
18233
0e31b18c
JM
18234 [BZ #16610]
18235 * sysdeps/unix/sysv/linux/kernel-features.h
18236 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18237 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18238 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18239 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18240 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18241 [__i386__ || __sparc__]
18242 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18243 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18244 (__ASSUME_RECVMMSG): Define instead of using previous
18245 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18247 (__ASSUME_RECVMMSG_SYSCALL): Define.
18248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18250 Likewise.
18251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18253 Likewise.
18254 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18258 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18259 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18260 [__ASSUME_RECVMMSG]: Change condition to
18261 [__ASSUME_RECVMMSG_SOCKETCALL].
18262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18263 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18264 Define.
18265 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18266 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18268 Likewise.
18269 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18270 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18271 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18272 [!__ASSUME_RECVMMSG]: Change condition to
18273 [!__ASSUME_RECVMMSG_SOCKETCALL].
18274 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18275 (__ASSUME_RECVMMSG_SYSCALL): Define.
18276
dd481ccf
JM
18277 [BZ #16609]
18278 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18279 __powerpc__ || __s390__ || __sh__ || __sparc__]
18280 (__ASSUME_SOCKETCALL): Define.
18281 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18282 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18283 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18284 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18285 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18286 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18287 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18288 (__ASSUME_ACCEPT4): Define instead of using previous
18289 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18290 __powerpc__ || __sparc__ || __s390__)] condition.
18291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18292 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18293 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18294 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18295 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18296 [!__ASSUME_ACCEPT4]: Change condition to
18297 [!__ASSUME_ACCEPT4_SOCKETCALL].
18298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18299 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18300 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18302 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18303 __ASSUME_ACCEPT4_SYSCALL.
18304 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18305 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18307 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18308 __ASSUME_ACCEPT4_SYSCALL.
18309 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18310 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18312 [__ASSUME_ACCEPT4]: Change condition to
18313 [__ASSUME_ACCEPT4_SOCKETCALL].
18314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18315 (__ASSUME_SOCKETCALL): Define.
18316 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18318 (__ASSUME_SOCKETCALL): Define.
18319 (__ASSUME_ACCEPT4): Remove.
18320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18321 Define.
18322 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18323 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18324 Likewise.
18325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18326 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18327
5d7b57ca
JM
18328 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18329 macro.
18330 (HWCAP_ARM_LPAE): Likewise.
18331 (HWCAP_ARM_EVTSTRM): Likewise.
18332 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18333 Add vpfd32, lpae and evtstrm.
18334 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18335 Increase to 22.
18336
63689d61
JM
183372014-02-19 Joseph Myers <joseph@codesourcery.com>
18338
18339 * math/auto-libm-test-in: Add tests of clog10.
18340 * math/auto-libm-test-out: Regenerated.
18341 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18342 * sysdeps/i386/fpu/libm-test-ulps: Update.
18343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344
ab09bf61
AS
183452014-02-18 Andreas Schwab <schwab@suse.de>
18346
18347 [BZ #16574]
18348 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18349 Store non-zero if the second buffer was newly allocated.
18350 (send_dg): Likewise.
18351 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18352 to send_vc and send_dg.
18353 (res_nsend): Pass NULL for ansp2_malloced.
18354 * resolv/res_query.c (__libc_res_nquery): Add parameter
18355 answerp2_malloced and pass it down to __libc_res_nsend.
18356 (res_nquery): Pass additional NULL to __libc_res_nquery.
18357 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18358 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18359 second answer buffer if answerp2_malloced was set.
18360 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18361 (__libc_res_nquerydomain): Add parameter
18362 answerp2_malloced and pass it down to __libc_res_nquery.
18363 (res_nquerydomain): Pass additional NULL to
18364 __libc_res_nquerydomain.
18365 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18366 additional NULL to __libc_res_nsend and __libc_res_nquery.
18367 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18368 additional NULL to __libc_res_nsearch.
18369 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18370 parameter of __libc_res_nsearch to check for separately allocated
18371 second buffer.
18372 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18373 __libc_res_nquery.
18374 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18375 additional NULL to __libc_res_nquery.
18376 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18377 __libc_res_nsearch.
18378 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18379 * include/resolv.h: Update prototypes of __libc_res_nquery,
18380 __libc_res_nsearch, __libc_res_nsend.
18381
a4fb7861
JM
183822014-02-18 Joseph Myers <joseph@codesourcery.com>
18383
c6af2d89
JM
18384 * math/auto-libm-test-in: Add tests of fma.
18385 * math/auto-libm-test-out: Regenerated.
18386 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18387 (fma_towardzero_test_data): Likewise.
18388 (fma_downward_test_data): Likewise.
18389 (fma_upward_test_data): Likewise.
18390 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18391 mpc_mode.
18392 (rounding_modes): Add values for new field.
18393 (func_calc_method): Add value mpfr_fff_f.
18394 (func_calc_desc): Add mpfr_fff_f union field.
18395 (test_function): Add field exact_args.
18396 (FUNC): Add macro argument EXACT_ARGS.
18397 (FUNC_mpfr_f_f): Update call to FUNC.
18398 (FUNC_mpfr_f_f): Likewise.
18399 (FUNC_mpfr_ff_f): Likewise.
18400 (FUNC_mpfr_if_f): Likewise.
18401 (FUNC_mpc_c_f): Likewise.
18402 (FUNC_mpc_c_c): Likewise.
18403 (test_functions): Add fma. Update calls to FUNC.
18404 (handle_input_arg): Add argument exact_args.
18405 (add_test): Update call to handle_input_arg.
18406 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18407 (output_for_one_input_case): Update call to calc_generic_results.
18408 Recalculate exact zero results in each rounding mode.
18409
a4fb7861
JM
18410 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18411 non-negative before setting low bit.
18412 * math/auto-libm-test-in: Mark one asin test possibly having
18413 spurious underflow.
18414 * math/auto-libm-test-out: Regenerated.
18415 * sysdeps/i386/fpu/libm-test-ulps: Update.
18416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18417
ef114eaf
DH
184182014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18419
2b7f4f2c
SP
18420 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18421 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18422 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18423 * README: Add missing listing for microblaze*-*-linux-gnu.
18424
8125aedc
AM
184252014-02-16 Ondřej Bílka <neleai@seznam.cz>
18426
18427 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18428 duplicate code
18429
c70a4b1d
MF
184302014-02-16 Mike Frysinger <vapier@gentoo.org>
18431
18432 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18433 * sysdeps/unix/sysv/linux/ia64: Move directory from
18434 ports/sysdeps/unix/sysv/linux/ia64.
18435 * README: Update listing for ia64-*-linux-gnu.
18436
591aeaf7
TD
184372014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18438 Joseph Myers <joseph@codesourcery.com>
18439
18440 * Makeconfig (test-name): New variable.
18441 (evaluate-test): Likewise.
18442 * Makerules (do-test-clean): Remove .test-result files.
18443 (common-mostlyclean): Likewise.
18444 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18445 * scripts/evaluate-test.sh: New file.
18446
6e89caf1
JM
184472014-02-14 Joseph Myers <joseph@codesourcery.com>
18448
7f98f180
JM
18449 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18450 separate $(objpfx)tst-fopenloc-cmp.out and
18451 $(objpfx)tst-fopenloc-mem.out targets.
18452 (tests): Update dependencies.
18453 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18454 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18455 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18456 (tst-rxspencer-no-utf8-ARGS): New variable.
18457 (tst-rxspencer-no-utf8-ENV): Likewise.
18458 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18459 instead of $(objpfx)tst-rxspencer-mem.
18460 ($(objpfx)tst-rxspencer-mem): Change target to
18461 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18462 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18463 * posix/tst-rxspencer-no-utf8.c: New file.
18464
6e89caf1
JM
18465 * elf/Makefile ($(objpfx)order.out): Remove rule.
18466 [$(run-built-tests) = yes] (tests): Depend on
18467 $(objpfx)order-cmp.out.
18468 ($(objpfx)order-cmp.out): New rule.
18469 [$(run-built-tests) = yes] (tests): Depend on
18470 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18471 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18472 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18473 $(objpfx)tst-array5-static-cmp.out.
18474 ($(objpfx)tst-array1.out): Remove rule.
18475 ($(objpfx)tst-array1-cmp.out): New rule.
18476 ($(objpfx)tst-array1-static.out): Remove rule.
18477 ($(objpfx)tst-array1-static-cmp.out): New rule.
18478 ($(objpfx)tst-array2.out): Remove rule.
18479 ($(objpfx)tst-array2-cmp.out): New rule.
18480 ($(objpfx)tst-array3.out): Remove rule.
18481 ($(objpfx)tst-array3-cmp.out): New rule.
18482 ($(objpfx)tst-array4.out): Remove rule.
18483 ($(objpfx)tst-array4-cmp.out): New rule.
18484 ($(objpfx)tst-array5.out): Remove rule.
18485 ($(objpfx)tst-array5-cmp.out): New rule.
18486 ($(objpfx)tst-array5-static.out): Remove rule.
18487 ($(objpfx)tst-array5-static-cmp.out): New rule.
18488 [$(run-built-tests) = yes] (tests): Depend on
18489 $(objpfx)order2-cmp.out.
18490 ($(objpfx)order2.out): Remove rule.
18491 ($(objpfx)order2-cmp.out): New rule.
18492 ($(objpfx)tst-initorder.out): Remove rule.
18493 [$(run-built-tests) = yes] (tests): Depend on
18494 $(objpfx)tst-initorder-cmp.out.
18495 ($(objpfx)tst-initorder-cmp.out): New rule.
18496 ($(objpfx)tst-initorder2.out): Remove rule.
18497 [$(run-built-tests) = yes] (tests): Depend on
18498 $(objpfx)tst-initorder2-cmp.out.
18499 ($(objpfx)tst-initorder2-cmp.out): New rule.
18500 [$(run-built-tests) = yes] (tests): Depend on
18501 $(objpfx)tst-unused-dep-cmp.out.
18502 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18503 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18504 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18505 on $(objpfx)tst-setvbuf1-cmp.out.
18506 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18507 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18508 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18509 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18510 ($(objpfx)tst-svc.out): Remove rule.
18511 ($(objpfx)tst-svc-cmp.out): New rule.
18512
ed9a38e2
JM
185132014-02-13 Joseph Myers <joseph@codesourcery.com>
18514
18515 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18516 * ctype/ctype.h [__USE_MISC]: Likewise.
18517 * dirent/dirent.h [__USE_MISC]: Likewise.
18518 * grp/grp.h [__USE_MISC]: Likewise.
18519 * io/fcntl.h [__USE_MISC]: Likewise.
18520 * io/sys/stat.h [__USE_MISC]: Likewise.
18521 * libio/stdio.h [__USE_MISC]: Likewise.
18522 * posix/unistd.h [__USE_MISC]: Likewise.
18523 * pwd/pwd.h [__USE_MISC]: Likewise.
18524 * stdlib.h [__USE_MISC]: Likewise.
18525 * string/bits/string2.h [__USE_MISC]: Likewise.
18526 * string/string.h [__USE_MISC]: Likewise.
18527 * time/time.h [__USE_MISC]: Likewise.
18528
d6680619
AS
185292014-02-13 Andreas Schwab <schwab@suse.de>
18530
18531 [BZ #16574]
18532 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18533 second answer buffer if it was separately allocated.
18534
ace614b8
JM
185352014-02-12 Joseph Myers <joseph@codesourcery.com>
18536
743151ae
JM
18537 * sysdeps/mips/math-tests.h: Include <features.h>.
18538 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18539 (ROUNDING_TESTS_long_double): Do not define.
18540 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18541 (EXCEPTION_TESTS_long_double): Likewise.
18542 * sysdeps/mips/mips64/libm-test-ulps: Update.
18543
498afc54
JM
18544 * include/features.h (__USE_BSD): Remove macro definitions.
18545 (__USE_SVID): Likewise.
18546 (_BSD_SOURCE): Likewise.
18547 (_SVID_SOURCE): Likewise.
18548 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18549 from definition of _DEFAULT_SOURCE.
18550 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18551 [_DEFAULT_SOURCE].
18552 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18553 * bits/mman.h [__USE_BSD]: Likewise.
18554 * bits/termios.h [__USE_BSD]: Likewise.
18555 * bits/waitstatus.h [__USE_BSD]: Likewise.
18556 * ctype/ctype.h [__USE_SVID]: Likewise.
18557 * dirent/dirent.h [__USE_BSD]: Likewise.
18558 * grp/grp.h [__USE_SVID]: Likewise.
18559 [__USE_BSD]: Likewise.
18560 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18561 * io/fcntl.h [__USE_BSD]: Likewise.
18562 * io/ftw.h [__USE_BSD]: Likewise.
18563 * io/sys/stat.h [__USE_BSD]: Likewise.
18564 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18565 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18566 * libio/stdio.h [__USE_SVID]: Likewise.
18567 [__USE_BSD]: Likewise.
18568 * math/math.h [__USE_SVID]: Likewise.
18569 [__USE_BSD]: Likewise.
18570 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18571 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18572 * misc/search.h [__USE_SVID]: Likewise.
18573 * misc/sys/mman.h [__USE_BSD]: Likewise.
18574 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18575 * misc/sys/uio.h [__USE_BSD]: Likewise.
18576 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18577 * posix/glob.h [__USE_BSD]: Likewise.
18578 * posix/regex.h [__USE_BSD]: Likewise.
18579 * posix/sys/types.h [__USE_BSD]: Likewise.
18580 [__USE_SVID]: Likewise.
18581 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18582 * posix/sys/wait.h [__USE_BSD]: Likewise.
18583 [__USE_SVID]: Likewise.
18584 * posix/unistd.h [__USE_BSD]: Likewise.
18585 [__USE_SVID]: Likewise.
18586 * pwd/pwd.h [__USE_SVID]: Likewise.
18587 * resolv/netdb.h [__USE_BSD]: Likewise.
18588 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18589 * signal/signal.h [__USE_BSD]: Likewise.
18590 [__USE_SVID]: Likewise.
18591 * socket/sys/socket.h [__USE_BSD]: Likewise.
18592 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18593 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18594 [__USE_SVID]: Likewise.
18595 * string/bits/string2.h [__USE_BSD]: Likewise.
18596 [__USE_SVID]: Likewise.
18597 * string/bits/string3.h [__USE_BSD]: Likewise.
18598 * string/endian.h [__USE_BSD]: Likewise.
18599 * string/string.h [__USE_SVID]: Likewise.
18600 [__USE_BSD]: Likewise.
18601 * string/strings.h [__USE_BSD]: Likewise.
18602 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18603 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18604 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18605 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18606 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18607 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18608 Likewise.
18609 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18610 Likewise.
18611 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18612 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18613 Likewise.
18614 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18615 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18616 Likewise.
18617 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18618 Likewise.
18619 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18620 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18622 Likewise.
18623 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18624 Likewise.
18625 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18626 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18627 * termios/termios.h [__USE_BSD]: Likewise.
18628 * time/sys/time.h [__USE_BSD]: Likewise.
18629 * time/time.h [__USE_BSD]: Likewise.
18630 [__USE_SVID]: Likewise.
18631
dd7b064c
JM
18632 * Makefile (subdir_targets): Remove subdir_lint.out.
18633
a2c4c199
JM
18634 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18635 (do-tst-printf): Likewise.
18636 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18637 $(objpfx)tst-printf.out.
18638
8756f740
JM
18639 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18640
1b6dd3f1
JM
18641 * Makerules (check-abi-%): Change target to
18642 $(objpfx)check-abi-%.out.
18643 (check-abi target): Update dependencies.
18644 (check-abi-pattern variable): Redirect output of diff to $@.
18645 (check-abi variable): Likewise.
18646 * elf/Makefile (check-abi): Update dependencies.
18647
ace614b8
JM
18648 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18649 unused.
18650 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18651 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18652 subnormal range.
18653 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18654 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18655 value has largest subnormal exponent.
18656 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18657 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18658 * sysdeps/aarch64/soft-fp/sfp-machine.h
18659 (_FP_TININESS_AFTER_ROUNDING): New macro.
18660 * sysdeps/alpha/soft-fp/sfp-machine.h
18661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18662 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18663 Likewise.
18664 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18666 * sysdeps/mips/soft-fp/sfp-machine.h
18667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18668 * sysdeps/powerpc/soft-fp/sfp-machine.h
18669 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18670 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18671 Likewise.
18672 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18673 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18675 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18676 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18677 Likewise.
18678
fbfdf9cb
DAS
186792014-02-12 Dylan Alex Simon <dylan@dylex.net>
18680
18681 [BZ #16545]
18682 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18683 model 1.
18684
68b7efaa
RH
186852014-02-12 Richard Henderson <rth@redhat.com>
18686
c70a4b1d 18687 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18688 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18689 * sysdeps/unix/sysv/linux/alpha: Move directory from
18690 ports/sysdeps/unix/sysv/linux/alpha.
18691 * README: Update listing for alpha-*-linux-gnu.
18692
cb4a2928
JM
186932014-02-11 Joseph Myers <joseph@codesourcery.com>
18694
c941736c
JM
18695 * include/features.h: Update comment documenting feature test
18696 macros.
18697 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18698 _DEFAULT_SOURCE.
18699 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18700 (_SVID_SOURCE): Likewise.
18701 (_DEFAULT_SOURCE): Update description of default features.
18702 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18703 with _GNU_SOURCE.
18704 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18705 (S_ISVTX): Likewise.
18706 * manual/math.texi (Mathematical Constants): Likewise.
18707 * manual/signal.texi (Interrupted Primitives): Likewise.
18708 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18709 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18710 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18711 Don't refer to _SVID_SOURCE in warning text.
18712
e8d8d7ec
JM
18713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18714
cb4a2928
JM
18715 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18716 already defined.
18717 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18718 * sysdeps/mips/dl-lookup.c: Remove.
18719 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18720
7e6424e3
AK
187212014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18722
18723 [BZ #16447]
18724 * math/auto-libm-test-in: Add testcase for expl.
18725 * math/auto-libm-test-out: Regenerate.
18726 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18727 calculation of unsafe.
18728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18729
75eff3fe
MS
187302014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18731
18732 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18733 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18734 ports/sysdeps/unix/sysv/linux/aarch64.
18735 * README: Update listing for aarch64*-*-linux-gnu.
18736
d35f1e80
WN
187372014-02-11 Will Newton <will.newton@linaro.org>
18738
18739 * manual/probes.texi (Mathematical Function Probes): Use
18740 "triggered" instead of "hit".
18741
7b3436d4
WN
18742 * manual/probes.texi (Internal Probes): Add documentation
18743 of setjmp, longjmp and longjmp_target probes.
18744
b4f12ca3
WN
18745 * include/stap-probe.h: Add comment about probe argument
18746 format.
18747
c13a72b7
WN
18748 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18749 definition. (tr_where, tr_freehook, tr_mallochook,
18750 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18751
195b8165
DM
187522014-02-11 David S. Miller <davem@davemloft.net>
18753
18754 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18755 processing int_tests.
18756
2ad7600b
JM
187572014-02-10 Joseph Myers <joseph@codesourcery.com>
18758
18759 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18760 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18761 * sysdeps/unix/sysv/linux/mips: Move directory from
18762 ports/sysdeps/unix/sysv/linux/mips.
18763 * README: Update listing for mips-*-linux-gnu and
18764 mips64-*-linux-gnu.
18765
73588a72
AS
187662014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18767
18768 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18769 * sysdeps/unix/sysv/linux/m68k: Move directory from
18770 ports/sysdeps/unix/sysv/linux/m68k.
18771 * README: Update listing for m68k-*-linux-gnu.
18772
4372980f
CM
187732014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18774
18775 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18776 * sysdeps/unix/sysv/linux/generic: Move directory from
18777 ports/sysdeps/unix/sysv/linux/generic.
18778 * sysdeps/unix/sysv/linux/tile: Move directory from
18779 ports/sysdeps/unix/sysv/linux/tile.
18780 * README: Update listing for tile*-*-linux-gnu.
18781
a1ffb40e
OB
187822014-02-10 Ondřej Bílka <neleai@seznam.cz>
18783
57f41c40
AS
18784 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18785 __builtin_expect.
a1ffb40e
OB
18786 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18787 * catgets/open_catalog.c (__open_catalog): Likewise.
18788 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18789 * debug/confstr_chk.c: Likewise.
18790 * debug/fread_chk.c (__fread_chk): Likewise.
18791 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18792 * debug/getgroups_chk.c: Likewise.
18793 * debug/mbsnrtowcs_chk.c: Likewise.
18794 * debug/mbsrtowcs_chk.c: Likewise.
18795 * debug/mbstowcs_chk.c: Likewise.
18796 * debug/memcpy_chk.c: Likewise.
18797 * debug/memmove_chk.c: Likewise.
18798 * debug/mempcpy_chk.c: Likewise.
18799 * debug/memset_chk.c: Likewise.
18800 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18801 * debug/strcat_chk.c (__strcat_chk): Likewise.
18802 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18803 * debug/strncat_chk.c (__strncat_chk): Likewise.
18804 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18805 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18806 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18807 * debug/wcpncpy_chk.c: Likewise.
18808 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18809 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18810 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18811 * debug/wcsncpy_chk.c: Likewise.
18812 * debug/wcsnrtombs_chk.c: Likewise.
18813 * debug/wcsrtombs_chk.c: Likewise.
18814 * debug/wcstombs_chk.c: Likewise.
18815 * debug/wmemcpy_chk.c: Likewise.
18816 * debug/wmemmove_chk.c: Likewise.
18817 * debug/wmempcpy_chk.c: Likewise.
18818 * debug/wmemset_chk.c: Likewise.
18819 * dirent/scandirat.c (SCANDIRAT): Likewise.
18820 * dlfcn/dladdr1.c (dladdr1): Likewise.
18821 * dlfcn/dladdr.c (dladdr): Likewise.
18822 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18823 * dlfcn/dlerror.c (__dlerror): Likewise.
18824 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18825 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18826 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18827 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18828 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18829 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18830 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18831 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18832 Likewise.
18833 * elf/dl-conflict.c: Likewise.
18834 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18835 * elf/dl-dst.h: Likewise.
18836 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18837 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18838 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18839 * elf/dl-init.c (call_init, _dl_init): Likewise.
18840 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18841 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18842 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18843 Likewise.
a1ffb40e
OB
18844 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18845 Likewise.
18846 * elf/dl-minimal.c (__libc_memalign): Likewise.
18847 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18848 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18849 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18850 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18851 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18852 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18853 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18854 * elf/dl-writev.h (_dl_writev): Likewise.
18855 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18856 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18857 (dl_main): Likewise.
a1ffb40e
OB
18858 * elf/setup-vdso.h (setup_vdso): Likewise.
18859 * grp/compat-initgroups.c (compat_call): Likewise.
18860 * grp/fgetgrent.c (fgetgrent): Likewise.
18861 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18862 * grp/putgrent.c (putgrent): Likewise.
18863 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18864 Likewise.
18865 * hurd/hurdinit.c: Likewise.
18866 * iconvdata/8bit-gap.c (struct): Likewise.
18867 * iconvdata/ansi_x3.110.c : Likewise.
18868 * iconvdata/big5.c : Likewise.
18869 * iconvdata/big5hkscs.c : Likewise.
18870 * iconvdata/cp1255.c: Likewise.
18871 * iconvdata/cp1258.c : Likewise.
18872 * iconvdata/cp932.c : Likewise.
18873 * iconvdata/euc-cn.c: Likewise.
18874 * iconvdata/euc-jisx0213.c : Likewise.
18875 * iconvdata/euc-jp.c: Likewise.
18876 * iconvdata/euc-jp-ms.c : Likewise.
18877 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18878 * iconvdata/gb18030.c : Likewise.
18879 * iconvdata/gbbig5.c (const): Likewise.
18880 * iconvdata/gbgbk.c: Likewise.
18881 * iconvdata/gbk.c : Likewise.
18882 * iconvdata/ibm1364.c : Likewise.
18883 * iconvdata/ibm930.c : Likewise.
18884 * iconvdata/ibm932.c: Likewise.
18885 * iconvdata/ibm933.c : Likewise.
18886 * iconvdata/ibm935.c : Likewise.
18887 * iconvdata/ibm937.c : Likewise.
18888 * iconvdata/ibm939.c : Likewise.
18889 * iconvdata/ibm943.c: Likewise.
18890 * iconvdata/iso_11548-1.c: Likewise.
18891 * iconvdata/iso-2022-cn.c : Likewise.
18892 * iconvdata/iso-2022-cn-ext.c : Likewise.
18893 * iconvdata/iso-2022-jp-3.c: Likewise.
18894 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18895 * iconvdata/iso-2022-kr.c : Likewise.
18896 * iconvdata/iso646.c (gconv_end): Likewise.
18897 * iconvdata/iso_6937-2.c : Likewise.
18898 * iconvdata/iso_6937.c : Likewise.
18899 * iconvdata/iso8859-1.c: Likewise.
18900 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18901 * iconvdata/shift_jisx0213.c : Likewise.
18902 * iconvdata/sjis.c : Likewise.
18903 * iconvdata/t.61.c : Likewise.
18904 * iconvdata/tcvn5712-1.c : Likewise.
18905 * iconvdata/tscii.c: Likewise.
18906 * iconvdata/uhc.c : Likewise.
18907 * iconvdata/unicode.c (gconv_end): Likewise.
18908 * iconvdata/utf-16.c (gconv_end): Likewise.
18909 * iconvdata/utf-32.c (gconv_end): Likewise.
18910 * iconvdata/utf-7.c (base64): Likewise.
18911 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18912 * iconv/gconv_close.c (__gconv_close): Likewise.
18913 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18914 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18915 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18916 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18917 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18918 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18919 * iconv/iconv.c (iconv): Likewise.
18920 * iconv/iconv_close.c: Likewise.
18921 * iconv/loop.c (SINGLE): Likewise.
18922 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18923 * include/atomic.h: Likewise.
18924 * inet/inet6_option.c (option_alloc): Likewise.
18925 * intl/bindtextdom.c (set_binding_values): Likewise.
18926 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18927 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18928 * intl/localealias.c (read_alias_file): Likewise.
18929 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18930 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18931 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18932 * libio/fmemopen.c (fmemopen): Likewise.
18933 * libio/iofgets.c (_IO_fgets): Likewise.
18934 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18935 * libio/iofgetws.c (fgetws): Likewise.
18936 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18937 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18938 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18939 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18940 * locale/findlocale.c (_nl_find_locale): Likewise.
18941 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18942 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18943 Likewise.
18944 * locale/setlocale.c (setlocale): Likewise.
18945 * login/programs/pt_chown.c (main): Likewise.
18946 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18947 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18948 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18949 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18950 * math/e_exp2l.c: Likewise.
18951 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18952 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18953 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18954 * math/s_catan.c (__catan): Likewise.
18955 * math/s_catanf.c (__catanf): Likewise.
18956 * math/s_catanh.c (__catanh): Likewise.
18957 * math/s_catanhf.c (__catanhf): Likewise.
18958 * math/s_catanhl.c (__catanhl): Likewise.
18959 * math/s_catanl.c (__catanl): Likewise.
18960 * math/s_ccosh.c (__ccosh): Likewise.
18961 * math/s_ccoshf.c (__ccoshf): Likewise.
18962 * math/s_ccoshl.c (__ccoshl): Likewise.
18963 * math/s_cexp.c (__cexp): Likewise.
18964 * math/s_cexpf.c (__cexpf): Likewise.
18965 * math/s_cexpl.c (__cexpl): Likewise.
18966 * math/s_clog10.c (__clog10): Likewise.
18967 * math/s_clog10f.c (__clog10f): Likewise.
18968 * math/s_clog10l.c (__clog10l): Likewise.
18969 * math/s_clog.c (__clog): Likewise.
18970 * math/s_clogf.c (__clogf): Likewise.
18971 * math/s_clogl.c (__clogl): Likewise.
18972 * math/s_csin.c (__csin): Likewise.
18973 * math/s_csinf.c (__csinf): Likewise.
18974 * math/s_csinh.c (__csinh): Likewise.
18975 * math/s_csinhf.c (__csinhf): Likewise.
18976 * math/s_csinhl.c (__csinhl): Likewise.
18977 * math/s_csinl.c (__csinl): Likewise.
18978 * math/s_csqrt.c (__csqrt): Likewise.
18979 * math/s_csqrtf.c (__csqrtf): Likewise.
18980 * math/s_csqrtl.c (__csqrtl): Likewise.
18981 * math/s_ctan.c (__ctan): Likewise.
18982 * math/s_ctanf.c (__ctanf): Likewise.
18983 * math/s_ctanh.c (__ctanh): Likewise.
18984 * math/s_ctanhf.c (__ctanhf): Likewise.
18985 * math/s_ctanhl.c (__ctanhl): Likewise.
18986 * math/s_ctanl.c (__ctanl): Likewise.
18987 * math/w_pow.c: Likewise.
18988 * math/w_powf.c: Likewise.
18989 * math/w_powl.c: Likewise.
18990 * math/w_scalb.c (sysv_scalb): Likewise.
18991 * math/w_scalbf.c (sysv_scalbf): Likewise.
18992 * math/w_scalbl.c (sysv_scalbl): Likewise.
18993 * misc/error.c (error_tail): Likewise.
18994 * misc/pselect.c (__pselect): Likewise.
18995 * nis/nis_callback.c (__nis_create_callback): Likewise.
18996 * nis/nis_call.c (__nisfind_server): Likewise.
18997 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18998 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18999 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19000 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19001 * nis/nis_lookup.c (nis_lookup): Likewise.
19002 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19003 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19004 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19005 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19006 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19007 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19008 * nis/nss_compat/compat-initgroups.c (add_group)
19009 (internal_getgrent_r): Likewise.
19010 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19011 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19012 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19013 (internal_getspnam_r): Likewise.
19014 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19015 (_nss_nis_getaliasbyname_r): Likewise.
19016 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19017 (_nss_nis_getntohost_r): Likewise.
19018 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19019 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19020 (_nss_nis_getgrgid_r): Likewise.
19021 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19022 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19023 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19024 (_nss_nis_gethostbyname4_r): Likewise.
19025 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19026 (initgroups_netid): Likewise.
a1ffb40e 19027 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19028 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19029 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19030 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19031 (_nss_nis_getprotobynumber_r): Likewise.
19032 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19033 (_nss_nis_getsecretkey): Likewise.
19034 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19035 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19036 (_nss_nis_getpwuid_r): Likewise.
19037 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19038 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19039 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19040 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19041 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19042 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19043 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19044 Likewise.
57f41c40
AS
19045 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19046 (_nss_nisplus_getntohost_r): Likewise.
19047 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19048 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19049 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19050 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19051 Likewise.
57f41c40
AS
19052 * nis/nss_nisplus/nisplus-initgroups.c
19053 (_nss_nisplus_initgroups_dyn): Likewise.
19054 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19055 (_nss_nisplus_getnetbyaddr_r): Likewise.
19056 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19057 (_nss_nisplus_getprotobynumber_r): Likewise.
19058 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19059 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19060 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19061 Likewise.
57f41c40
AS
19062 * nis/nss_nisplus/nisplus-service.c
19063 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19064 (_nss_nisplus_getservbyport_r): Likewise.
19065 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19066 (_nss_nisplus_getspnam_r): Likewise.
19067 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19068 Likewise.
a1ffb40e
OB
19069 * nscd/aicache.c (addhstaiX): Likewise.
19070 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19071 * nscd/connections.c (register_traced_file, send_ro_fd)
19072 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19073 (main_loop_epoll): Likewise.
a1ffb40e
OB
19074 * nscd/grpcache.c (addgrbyX): Likewise.
19075 * nscd/hstcache.c (addhstbyX): Likewise.
19076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19077 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19078 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19079 (addinnetgrX): Likewise.
19080 * nscd/nscd-client.h (__nscd_acquire_maplock)
19081 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19082 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19083 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19084 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19085 Likewise.
19086 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19088 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19089 (__nscd_get_map_ref): Likewise.
a1ffb40e 19090 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19091 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19092 Likewise.
a1ffb40e
OB
19093 * nscd/pwdcache.c (addpwbyX): Likewise.
19094 * nscd/selinux.c (preserve_capabilities): Likewise.
19095 * nscd/servicescache.c (addservbyX): Likewise.
19096 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19097 * posix/fnmatch.c (fnmatch): Likewise.
19098 * posix/getopt.c (_getopt_internal_r): Likewise.
19099 * posix/glob.c (glob, glob_in_dir): Likewise.
19100 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19102 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19103 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19104 * resolv/res_init.c: Likewise.
19105 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19106 * resolv/res_query.c (__libc_res_nquery): Likewise.
19107 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19108 Likewise.
19109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19110 * stdio-common/perror.c (perror): Likewise.
19111 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19112 * stdio-common/tmpnam.c (tmpnam): Likewise.
19113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19114 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19115 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19116 Likewise.
a1ffb40e
OB
19117 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19118 * stdlib/putenv.c (putenv): Likewise.
19119 * stdlib/setenv.c (__add_to_environ): Likewise.
19120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19121 * stdlib/strtol_l.c (INTERNAL): Likewise.
19122 * string/memmem.c (memmem): Likewise.
19123 * string/strerror.c (strerror): Likewise.
19124 * string/strnlen.c (__strnlen): Likewise.
19125 * string/test-memmem.c (simple_memmem): Likewise.
19126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19127 * sunrpc/pm_getport.c (__get_socket): Likewise.
19128 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19129 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19130 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19131 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19132 Likewise.
19133 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19134 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19135 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19136 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19137 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19138 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19139 Likewise.
19140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19141 Likewise.
a1ffb40e
OB
19142 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19143 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19145 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19146 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19148 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19149 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19150 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19151 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19152 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19153 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19154 Likewise.
19155 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19156 Likewise.
19157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19158 Likewise.
19159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19161 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19163 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19164 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19165 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19175 Likewise.
a1ffb40e
OB
19176 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19177 Likewise.
19178 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19179 Likewise.
19180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19181 Likewise.
19182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19184 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19185 Likewise.
19186 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19187 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19188 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19189 * sysdeps/posix/sleep.c: Likewise.
19190 * sysdeps/posix/tempname.c: Likewise.
19191 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19193 Likewise.
57f41c40
AS
19194 * sysdeps/powerpc/powerpc32/dl-machine.h
19195 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19196 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19198 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19200 Likewise.
19201 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19203 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19205 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19206 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19207 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19208 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19210 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19212 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19213 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19215 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19216 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19217 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19218 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19219 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19220 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19221 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19224 Likewise.
19225 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19226 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19227 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19228 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19229 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19230 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19231 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19232 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19233 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19235 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19236 Likewise.
19237 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19238 (__posix_fallocate64_l64): Likewise.
19239 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19240 (posix_fallocate): Likewise.
57f41c40
AS
19241 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19242 Likewise.
a1ffb40e 19243 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19244 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19245 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19246 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19247 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19248 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19249 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19250 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19251 (__posix_fallocate64_l64): Likewise.
19252 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19253 Likewise.
19254 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19256 (__get_clockfreq): Likewise.
a1ffb40e
OB
19257 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19258 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19259 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19262 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19263 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19264 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19265 Likewise.
19266 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19267 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19268 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19271 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19272 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19273 Likewise.
19274 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19275 (posix_fallocate): Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19277 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19278 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19279 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19280 (elf_machine_rela, elf_machine_rela_relative)
19281 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19282 * time/asctime.c (asctime_internal): Likewise.
19283 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19284 * time/tzset.c (__tzset_parse_tz): Likewise.
19285 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19286 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19287 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19288 * wcsmbs/wcsmbsload.h: Likewise.
19289
f3d338c9
OB
19290 [BZ #15894]
19291 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19292
57f41c40
AS
19293 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19294 (arena_get2): Remove THREAD_STATS conditionals.
19295 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19296 (__malloc_stats, int): Likewise.
bdfe308a 19297
d674667c
MF
192982014-02-08 Mike Frysinger <vapier@gentoo.org>
19299
19300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19301 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19302
6349768c
MF
19303 * manual/setjmp.texi: Fix typos/grammar errors.
19304
0b7c7473
MF
19305 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19306 Only return early when n is <= 0. Delete unused return statement.
19307
ac8cc9e3
MF
19308 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19309 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19310 * debug/tst-longjmp_chk3.c: New file.
19311
c5bb8e23
MF
19312 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19313 (test_main): Replace code with set_fortify_handler call.
19314 * debug/test-strcpy_chk.c: Likewise.
19315 * debug/tst-chk1.c: Likewise.
19316 * debug/tst-longjmp_chk.c: Likewise.
19317 * test-skeleton.c: Include fcntl.h & paths.h
19318 (set_fortify_handler): Define.
19319
10444e42
MF
19320 * debug/tst-longjmp_chk.c: Add header comment and include
19321 ../test-skeleton.c.
19322 (do_test): Mark static.
19323 (TEST_FUNCTION): Define.
19324
1e805e8d
MF
19325 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19326 (IP_PMTUDISC_INTERFACE): Likewise.
19327 (IP_MULTICAST_IF): Likewise.
19328 (IP_MULTICAST_TTL): Likewise.
19329 (IP_MULTICAST_LOOP): Likewise.
19330 (IP_ADD_MEMBERSHIP): Likewise.
19331 (IP_DROP_MEMBERSHIP): Likewise.
19332 (IP_UNBLOCK_SOURCE): Likewise.
19333 (IP_BLOCK_SOURCE): Likewise.
19334 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19335 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19336 (IP_MSFILTER): Likewise.
19337 (MCAST_JOIN_GROUP): Likewise.
19338 (MCAST_BLOCK_SOURCE): Likewise.
19339 (MCAST_UNBLOCK_SOURCE): Likewise.
19340 (MCAST_LEAVE_GROUP): Likewise.
19341 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19342 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19343 (MCAST_MSFILTER): Likewise.
19344 (IP_MULTICAST_ALL): Likewise.
19345 (IP_UNICAST_IF): Likewise.
19346
73f79bb7
MF
19347 * timezone/Makefile: Delete $(have-ksh) check.
19348 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19349 * timezone/tzselect.ksh: Add +x mode bits.
19350
8da79b60
MF
19351 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19352 (ANON_INODE_FS_MAGIC): Likewise.
19353 (BDEVFS_MAGIC): Likewise.
19354 (BINFMTFS_MAGIC): Likewise.
19355 (BTRFS_TEST_MAGIC): Likewise.
19356 (CRAMFS_MAGIC_WEND): Likewise.
19357 (DEBUGFS_MAGIC): Likewise.
19358 (ECRYPTFS_SUPER_MAGIC): Likewise.
19359 (EXT3_SUPER_MAGIC): Likewise.
19360 (EXT4_SUPER_MAGIC): Likewise.
19361 (FUTEXFS_SUPER_MAGIC): Likewise.
19362 (HOSTFS_SUPER_MAGIC): Likewise.
19363 (HUGETLBFS_MAGIC): Likewise.
19364 (MINIX3_SUPER_MAGIC): Likewise.
19365 (MTD_INODE_FS_MAGIC): Likewise.
19366 (NILFS_SUPER_MAGIC): Likewise.
19367 (OPENPROM_SUPER_MAGIC): Likewise.
19368 (PIPEFS_MAGIC): Likewise.
19369 (PSTOREFS_MAGIC): Likewise.
19370 (QNX6_SUPER_MAGIC): Likewise.
19371 (RAMFS_MAGIC): Likewise.
19372 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19373 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19374 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19375 (SECURITYFS_MAGIC): Likewise.
19376 (SELINUX_MAGIC): Likewise.
19377 (SMACK_MAGIC): Likewise.
19378 (SOCKFS_MAGIC): Likewise.
19379 (SQUASHFS_MAGIC): Likewise.
19380 (STACK_END_MAGIC): Likewise.
19381 (TMPFS_MAGIC): Likewise.
19382 (USBDEVICE_SUPER_MAGIC): Likewise.
19383 (V9FS_MAGIC): Likewise.
19384 (XENFS_SUPER_MAGIC): Likewise.
19385 (CRAMFS_MAGIC): Fix typo in comment.
19386 (EXT2_SUPER_MAGIC): Update comment.
19387 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19388
464263cc
JM
193892014-02-08 Joseph Myers <joseph@codesourcery.com>
19390
c6bfe5c4
JM
19391 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19392 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19393 * sysdeps/unix/sysv/linux/arm: Move directory from
19394 ports/sysdeps/unix/sysv/linux/arm.
19395 * README: Update listing for arm-*-linux-gnueabi.
19396
464263cc
JM
19397 * README: Remove mention of am33.
19398
32749f6c
RM
193992014-02-07 Roland McGrath <roland@hack.frob.com>
19400
19401 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19402 than the comma operator, to avoid "rhs of comma has no effect"
19403 compiler warnings.
19404 (__sigfillset, __sigandset, __sigorset): Likewise.
19405 * include/signal.h (__sigemptyset): Likewise.
19406 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19407
d5b396c1
AM
194082014-02-07 Allan McRae <allan@archlinux.org>
19409
19410 * version.h (RELEASE): Set to "development".
19411 (VERSION): Set to "2.19.90"
19412 * NEWS: Add 2.20 section.
19413
3bfff2ed
CD
194142014-02-06 Carlos O'Donell <carlos@redhat.com>
19415
19416 [BZ #16529]
19417 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19418
ee7cc385
SP
194192014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19420
19421 * manual/contrib.texi: Update entry for Carlos O'Donell,
19422 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19423
f877c4f2
CD
194242014-02-05 Carlos O'Donell <carlos@rehdat.com>
19425
27e839f6
CD
19426 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19427
f877c4f2
CD
19428 * sysdeps/unix/sysv/linux/kernel-features.h
19429 [__LINUX_KERNEL_VERSION >= 0x020621]
19430 (__ASSUME_PROC_PID_TASK_COMM): Define.
19431
68159946
SP
194322014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19433
ba17cdbd
SP
19434 [BZ #16398]
19435 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19436 conversion when destination buffer does not have enough space.
19437 * libio/tst-ftell-partial-wide.c: New test case.
19438 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19439
68159946
SP
19440 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19441 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19442 Leonard and Allan McRae.
19443
2b528732
DM
194442014-02-04 David S. Miller <davem@davemloft.net>
19445
19446 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19447 32-bit.
19448
0ff82463
AZ
194492014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19450
57f41c40
AS
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19452 New file
c01603f7
AZ
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19454 New file
57f41c40
AS
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19456 New file.
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19458 New file.
c01603f7
AZ
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19460 New file.
57f41c40
AS
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19462 New file.
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19464 New file.
c01603f7
AZ
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19466 New file.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19468 New file.
19469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19470 New file.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19472 New file.
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19474 New file.
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19476 New file.
19477
194782014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19479
0ff82463
AZ
19480 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19481 * shlib-versions: Likewise.
19482
1695c773
AZ
194832014-02-04 Roland McGrath <roland@hack.frob.com>
19484 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19485
19486 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19487 (abilist-pattern): New variable, set to %-le.abilist.
19488
19489 * Makerules (abilist-pattern): New variable.
19490 (vpath): Use $(abilist-pattern) in place of %.abilist.
19491 (check-abi-% pattern rule): Likewise.
19492 (check-abi, update-abi): Likewise.
19493
6c0ce4b4
EW
194942014-02-04 Eric Wong <normalperson@yhbt.net>
19495
19496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19497
481e3524
CD
194982014-02-03 Carlos O'Donell <carlos@redhat.com>
19499
19500 * manual/startup.texi: Add next, previous, and top entries for
19501 the `Program Arguments' and `Environment Variables' nodes.
19502
375592d3
AO
195032014-02-03 Alexandre Oliva <aoliva@redhat.com>
19504
19505 * manual/macros.texi: Add comments before MTASC-safety macros.
19506
f54838ba
AO
19507 * manual/users.texi: Document MTASC-safety properties.
19508
57f41c40
AS
19509 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19510 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19511 @deftypefun, and add @safety note.
19512 * manual/signal.texi: Move comments that analyze the above
19513 functions to their home place.
19514
fd3daba4
AM
195152014-02-03 Allan McRae <allan@archlinux.org>
19516
19517 * po/sl.po: Update Slovenian translation from translation project.
19518
597636d7
AO
195192014-02-02 Alexandre Oliva <aoliva@redhat.com>
19520
19521 * manual/time.texi (timegm): Add missing blank after @c.
19522 Reported by Joseph Myers <joseph@codesourcery.com>.
19523
ee196e3c
AO
195242014-02-01 Alexandre Oliva <aoliva@redhat.com>
19525
19526 * manual/check-safety.sh: New.
19527 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19528
f8d529d5
AO
19529 * manual/terminal.texi: Document MTASC-safety properties.
19530
de55fdf4
AO
19531 * manual/filesys.texi: Document MTASC-safety properties.
19532
c3299c08
AO
19533 * manual/errno.texi: Document MTASC-safety properties.
19534
06e90b14
AO
19535 * manual/intro.texi: Document safety identifiers and
19536 conditionals.
19537
1acd4371
AO
19538 * manual/string.texi (wcstok): Fix prototype.
19539 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19540
23e5b8cb
AO
19541 * manual/time.texi: Document MTASC-safety properties.
19542
11087373
AO
19543 * manual/string.texi: Document MTASC-safety properties.
19544
5da2c93d
AO
19545 * manual/threads.texi: Document MTASC-safety properties.
19546
171e9210
AO
19547 * manual/stdio.texi: Document MTASC-safety properties.
19548
d9e02532
AO
19549 * manual/syslog.texi: Document MTASC-safety properties.
19550
6af8bab7
AO
19551 * manual/sysinfo.texi: Document MTASC-safety properties.
19552
663b02d7
AO
19553 * manual/startup.texi: Document MTASC-safety properties.
19554
973f180b
AO
19555 * manual/socket.texi: Document MTASC-safety properties.
19556
8f3c25c8
AO
19557 * manual/signal.texi: Document MTASC-safety properties.
19558
542210fb
AO
195592014-01-31 Alexandre Oliva <aoliva@redhat.com>
19560
19561 * manual/setjmp.texi: Document MTASC-safety properties.
19562
433c45a2
AO
19563 * manual/search.texi: Document MTASC-safety properties.
19564
c8ce789c
AO
19565 * manual/resource.texi: Document MTASC-safety properties.
19566
19f5d29c
AO
19567 * manual/process.texi: Document MTASC-safety properties.
19568
e2dfb7f4
AO
19569 * manual/platform.texi: Document MTASC-safety properties.
19570
8c1413f5
AO
19571 * manual/pipe.texi: Document MTASC-safety properties.
19572
03483ada
AO
19573 * manual/pattern.texi: Document MTASC-safety properties.
19574
29e7e2df
AO
19575 * manual/message.texi: Document MTASC-safety properties.
19576
9f529d7c
AO
19577 [BZ #12751]
19578 * manual/memory.texi: Document MTASC-safety properties.
19579
27aaa791
AO
19580 * manual/math.texi: Document MTASC-safety properties.
19581
f2d58726
AO
19582 * manual/locale.texi: Document MTASC-safety properties.
19583
2cc3615c
AO
19584 * manual/llio.texi: Document MTASC-safety properties.
19585
d9f0ec97
AO
19586 * manual/libdl.texi: New.
19587
e7c4409a
AO
19588 * manual/lang.texi: Document MTASC-safety properties.
19589
27bdc63c
AO
19590 * manual/job.texi: Document MTASC-safety properties.
19591
a7b90ea9
AO
19592 * manual/getopt.texi: Document MTASC-safety properties.
19593
c49130e3
AO
19594 * manual/ctype.texi: Document MTASC-safety properties.
19595
0d23a5c1
MR
195962014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19597
19598 [BZ #16046]
19599 * csu/libc-tls.c (static_map): Remove variable.
19600 (__libc_setup_tls): Use main executable's link map for TLS data.
19601 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19602 casing for LM_ID_BASE and GL(dl_nns).
19603 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19604 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19605 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19606 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19607 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19608 member.
19609 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19610 l_phnum members.
19611
0037bb60
AO
196122014-01-30 Alexandre Oliva <aoliva@redhat.com>
19613
19614 * manual/debug.texi: Document MTASC-safety properties.
19615
409e00bd
L
196162014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19617
19618 [BZ #16510]
19619 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19620 of __x86_64__ when disabling x87 inline functions.
19621
86e60666
AO
196222014-01-29 Alexandre Oliva <aoliva@redhat.com>
19623
19624 * manual/charset.texi: Document MTASC-safety properties.
19625
76167637
AO
19626 * manual/crypt.texi: Document MTASC-safety properties.
19627
e567f2a0
AO
19628 * manual/conf.texi: Document MTASC-safety properties.
19629
b719dafd
AO
19630 * manual/arith.texi: Document MTASC-safety properties.
19631
4a16c662
AO
19632 * manual/argp.texi: Document MTASC-safety properties.
19633
0a57b83e
AO
19634 * manual/macros.texi: Introduce macros to document multi
19635 thread, asynchronous signal and asynchronous cancellation
19636 safety properties.
19637 * manual/intro.texi: Introduce the properties themselves.
19638
feab2397
KK
196392014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19640
19641 * sysdeps/sh/sh4/Makefile: New file.
19642
1c0d11bc
AS
196432014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19644
19645 * math/gen-libm-test.pl ($srcdir): New variable.
19646 ($auto_input): Use it.
19647
af37a8a3
SP
196482014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19649
d7b00f98
SP
19650 [BZ #16506]
19651 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19652 access beyond array bounds when parsing netgroups file.
19653
af37a8a3
SP
19654 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19655 the old buffer before realloc.
19656
0c00f062
AM
196572014-01-27 Allan McRae <allan@archlinux.org>
19658
19659 * po/fr.po: Update French translation from translation project.
19660
7d69a1b0
KK
196612014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19662
19663 * sysdeps/sh/libm-test-ulps: Regenerate.
19664
6e697ff7
DM
196652014-01-24 David S. Miller <davem@davemloft.net>
19666
19667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19668
9cadb35c
KK
196692014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19670
19671 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19672 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19673
5d41dadf
SP
196742013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19675
19676 [BZ #16474]
19677 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19678 string pointers after reallocation.
19679
0bad441c
KK
196802014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19681
19682 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19683 __SH4A__ instead of __SH_FPU_ANY__.
19684
7007c661
KK
196852014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19686
19687 * sysdeps/sh/fpu_control.h: New file.
19688 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19689 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19690 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19691 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19692 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19693 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19694 * sysdeps/sh/sys/ucontext.h: Remove.
19695 * sysdeps/sh/sys: Remove directory.
19696
0f0c35e4
AK
196972014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19698
19699 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19700 s390/sys/ucontext.h.
19701 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19703
4959e284
L
197042014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19705
19706 [BZ #15605]
19707 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19708
d98720e0
AZ
197092014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19710
19711 [BZ#16431]
19712 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19713 Adjust the vDSO correctly for internal calls.
19714 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19715
91cbd0bc
AM
197162014-01-20 Allan McRae <allan@archlinux.org>
19717
19718 * po/ca.po: Update Catalan translation from translation project.
19719
7a02cfad
MF
197202014-01-16 Mike Frysinger <vapier@gentoo.org>
19721
19722 * sysdeps/s390/sotruss-lib.c: New file.
19723
736c304a
AZ
197242014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19725
19726 [BZ#16430]
6e077ee5 19727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19728 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19729 local calls issues by not having a PLT stub required for IFUNC calls.
19730 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19731
94d0cea0
JM
197322014-01-16 Joseph Myers <joseph@codesourcery.com>
19733
19734 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19735 * math/test-fpucw-static.c: Likewise.
19736
980cb518
SP
197372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19738
19739 [BZ #16453]
19740 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19741
2393fc01
AZ
197422014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19743
19744 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19745 implementation for powerpc.
19746
d359bcc2
OB
197472014-01-15 Ondřej Bílka <neleai@seznam.cz>
19748
19749 [BZ #14782]
19750 * sysdeps/posix/system.c (__libc_system): Do not enable
19751 asynchronous cancellation.
19752
7beb48cb
AK
197532014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19754
19755 [BZ #16427]
19756 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19757 handling only for numbers special also in the IEEE case.
19758
c20d5bf5
AK
197592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19760
19761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19762
e83bd4ee
AM
197632014-01-11 Allan McRae <allan@archlinux.org>
19764
76d0ea69
AM
19765 * po/bg.po: Update Bulgarian translation from translation project.
19766
e83bd4ee
AM
19767 * po/de.po: Update German translation from translation project.
19768
bc2ba20a
RM
197692014-01-10 Roland McGrath <roland@hack.frob.com>
19770
19771 * sysdeps/generic/gcc-compat.h: New file.
19772
649ecea2
SP
197732014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19774
19775 * benchtests/asin-inputs: Correct slow inputs.
19776 * benchtests/acos-inputs: Likewise.
19777
1b19c006
AM
197782014-01-10 Allan McRae <allan@archlinux.org>
19779
a46dab08
AM
19780 * po:sv.po: Update Swedish translation from translation project.
19781
421df74a
AM
19782 * po/vi.po: Update Vietnamese translation from translation project.
19783
d61c51a7
AM
19784 * po/eo.po: Update Esperanto translation from translation project.
19785
0339a319
AM
19786 * po/cs.po: Update Czech translation from translation project.
19787
94ad3e99
AM
19788 * po/nl.po: Update Dutch translation from translation project.
19789
e349ca71
AM
19790 * po/pl.po: Update Polish translation from translation project.
19791
ddf930c1
AM
19792 * po/ru.po: Update Russian translation from translation project.
19793
1b19c006
AM
19794 * po/uk.po: Update Ukrainian translation from translation project.
19795
9f236c49
BM
197962014-01-08 Brooks Moses <bmoses@google.com>
19797
19798 * elf/dl-load.c: Fix comment typo.
19799
cd6701cf
CD
198002014-01-08 Carlos O'Donell <carlos@redhat.com>
19801
19802 * po/header.pot: Rename to...
19803 * po/pot.header: ... this.
19804 * po/Makefile: Use pot.header.
19805
66671c84
YK
198062014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19807 Maxim Kuvyrkov <maxim@kugelworks.com>
19808
19809 [BZ #16394]
cd6701cf
CD
19810 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19811 SRC and DEST against LEN.
66671c84 19812
38f34581
AZ
198132014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19814
19815 [BZ #16414]
19816 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19817 implementation.
19818 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19819
198202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19821
19822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19823
4c327f2a
JM
198242014-01-08 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #16408]
19827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19828 for large positive arguments.
19829
b821f414
JM
198302014-01-07 Joseph Myers <joseph@codesourcery.com>
19831
1f0f2067
JM
19832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19833
a5a326f6
JM
19834 * math/auto-libm-test-in: Mark various tests with
19835 xfail-rounding:ldbl-128ibm.
19836 * math/auto-libm-test-out: Regenerated.
19837
b821f414
JM
19838 [BZ #16407]
19839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19840 Increase overflow threshold.
19841
94c8a4bc
OB
198422014-01-07 Ondřej Bílka <neleai@seznam.cz>
19843
19844 [BZ #14286]
19845 * stdio-common/vfprintf.c: Check for integer overflow.
19846
87ded0c3
AK
198472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19848
19849 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19850 the first argument and return value of __tls_get_addr_internal.
19851
c5eebdd0
AK
198522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19853
19854 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19855 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19856
05d138ef
AK
198572014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19858
19859 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19860 * sysdeps/s390/rtld-global-offsets.sym: New file.
19861 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19862 GLIBC_2.19 symbol.
19863 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19865 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19866 ... this.
19867 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19869 ... this.
19870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19871 Regenerate.
19872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19873 Regenerate.
19874 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19875 halfs of GPRs for high_gprs contexts.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19877 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19878 field.
19879 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19880 uc_flags field.
19881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19882 64 bit versions:
19883 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19884 for high GPRs (uc_high_gprs) and for future extensions
19885 (__reserved).
19886 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19887 for future extensions (__reserved).
19888 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19889 64 bit versions:
19890 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19891 SC_HIGHGPRS offset definition.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19893 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19894
93a45ff1
AK
19895 * Versions.def: Add GLIBC_2.19 for libpthread.
19896 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19897 siglongjmp for libpthread with GLIBC_2.19 symver.
19898 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19899 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19900 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19901 * sysdeps/s390/__longjmp.c: New file.
19902 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19903 * sysdeps/s390/longjmp.c: New file.
19904 * sysdeps/s390/setjmp.S: New file.
19905 * sysdeps/s390/sigjmp.S: New file.
19906 * sysdeps/s390/v1-longjmp.c: New file.
19907 * sysdeps/s390/v1-setjmp.h: New file.
19908 * sysdeps/s390/v1-sigjmp.c: New file.
19909 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19910 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19911 GLIBC_2.19 version.
19912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19913 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19914 versioned symbols for ____longjmp_chk.
19915 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19916 Likewise.
19917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19918 Regenerate.
19919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19920 Regenerate.
19921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19922 Regenerate.
19923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19924 Regenerate.
19925 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19926 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19927 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19928 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19929 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19930 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19931 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19932 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19933 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19934 * sysdeps/s390/rtld-__longjmp.c: New file.
19935 * sysdeps/s390/rtld-setjmp.S: New file.
19936
eb3fc44b
JM
199372014-01-06 Joseph Myers <joseph@codesourcery.com>
19938
19939 [BZ #16400]
19940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19941 Return -__logl (x) for small positive arguments without evaluating
19942 a polynomial.
19943
9341dde4
MF
199442014-01-06 Mike Frysinger <vapier@gentoo.org>
19945
19946 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19947 Rename to ...
19948 (__ptrace_peeksiginfo_args): ... this.
19949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19952
4cff0293
AM
199532014-01-06 Allan McRae <allan@archlinux.org>
19954
19955 * inet/netinet/in.h: Fix typo in comment.
19956
75595dcf
AJ
199572014-01-05 Andreas Jaeger <aj@suse.de>
19958
19959 * sysdeps/i386/fpu/libm-test-ulps: Update.
19960
79c1e109
AM
199612014-01-05 Allan McRae <allan@archlinux.org>
19962
dd804818
AM
19963 * po/libc.pot: Regenerated.
19964
79c1e109
AM
19965 * malloc/memusagestat.c: Fix gettext call formatting.
19966
0c813d1f
SK
199672014-01-04 Sami Kerola <kerolasa@iki.fi>
19968
19969 * nscd/nscd.c: Improve usage() output.
19970
20f4a8d9
MF
199712014-01-04 Mike Frysinger <vapier@gentoo.org>
19972
19973 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19974 * sysdeps/unix/sysv/linux/configure: Regenerated.
19975 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19976 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19977
22562bb2
JM
199782014-01-03 Joseph Myers <joseph@codesourcery.com>
19979
19980 [BZ #16390]
19981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19982 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19983
d7ad2d9b
AZ
199842014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19985
19986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19987 extra tokens at end of #undef directive.
19988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19989 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19991
7dd009d8
JM
199922014-01-03 Joseph Myers <joseph@codesourcery.com>
19993
24db925a
JM
19994 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19995
7dd009d8
JM
19996 * math/auto-libm-test-in: Mark various tests with
19997 xfail-rounding:ldbl-128ibm.
19998 * math/auto-libm-test-out: Regenerated.
19999
396e3ecf
JM
200002014-01-02 Joseph Myers <joseph@codesourcery.com>
20001
819e5d50
JM
20002 [BZ #16386]
20003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20004 numbers with subnormal high part when calculating exponent.
20005
90b6a1e5
JM
20006 [BZ #16385]
20007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20008 fabs.
20009
396e3ecf
JM
20010 [BZ #16384]
20011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20012 M_LN2l.
20013 (__ieee754_acoshl): Use __log1pl not __log1p.
20014
6c8dbf00
OB
200152013-01-02 Ondřej Bílka <neleai@seznam.cz>
20016
57f41c40
AS
20017 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20018 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20019 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20020 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20021 (reused_arena, arena_get2): Convert to GNU style.
20022 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20023 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20024 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20025 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20026 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20027 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20028 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20029 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20030 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20031 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20032 * malloc/malloc.h: Likewise.
57f41c40
AS
20033 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20034 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20035 * malloc/mcheck.h: Likewise.
57f41c40
AS
20036 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20037 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20038 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20039 * malloc/morecore.c (__default_morecore): Likewise.
20040 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20041 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20042 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20043 (print_and_abort): Likewise.
6c8dbf00
OB
20044 * malloc/obstack.h: Likewise.
20045 * malloc/set-freeres.c (__libc_freeres): Likewise.
20046 * malloc/tst-mallocstate.c (main): Likewise.
20047 * malloc/tst-mtrace.c (main): Likewise.
20048 * malloc/tst-realloc.c (do_test): Likewise.
20049
d4124212
SP
200502013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20051
9a3c6a6f
SP
20052 [BZ #16366]
20053 * nscd/netgroupcache.c (do_notfound): New function.
20054 (addgetnetgrentX): Use it.
20055
d4124212
SP
20056 [BZ # 16365]
20057 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20058 NSS_STATUS_NOTFOUND.
20059
97b9a009
JM
200602014-01-01 Joseph Myers <joseph@codesourcery.com>
20061
20062 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064
d4697bc9
AM
200652014-01-01 Allan McRae <allan@archlinux.org>
20066
ddb3687f
AM
20067 * scripts/update-copyrights: Update configure input file suffix.
20068
88726d48
AM
20069 * NEWS: Update copyright year.
20070 * catgets/gencat.c: Likewise.
20071 * csu/version.c: Likewise.
20072 * debug/catchsegv.sh: Likewise.
20073 * debug/pcprofiledump.c: Likewise.
20074 * debug/xtrace.sh: Likewise.
20075 * elf/ldconfig.c: Likewise.
20076 * elf/ldd.bash.in: Likewise.
20077 * elf/pldd.c: Likewise.
20078 * elf/sotruss.ksh: Likewise.
20079 * elf/sprof.c: Likewise.
20080 * iconv/iconv_prog.c: Likewise.
20081 * iconv/iconvconfig.c: Likewise.
20082 * locale/programs/locale.c: Likewise.
20083 * locale/programs/localedef.c: Likewise.
20084 * login/programs/pt_chown.c: Likewise.
20085 * malloc/memusage.sh: Likewise.
20086 * malloc/memusagestat.c: Likewise.
20087 * malloc/mtrace.pl: Likewise.
20088 * manual/libc.texinfo: Likewise.
20089 * nscd/nscd.c: Likewise.
20090 * nss/getent.c: Likewise.
20091 * nss/makedb.c: Likewise.
20092 * posix/getconf.c: Likewise.
20093 * scripts/test-installation.pl: Likewise.
20094
d4697bc9
AM
20095 * All files with FSF copyright notices: Update copyright dates
20096 using scripts/update-copyrights.
20097 * intl/plural.c: Regenerated.
20098 * locale/programs/charmap-kw.h: Likewise.
20099 * locale/programs/locfile-kw.h: Likewise.
20100
c8590f9d
MF
201012013-12-31 Mike Frysinger <vapier@gentoo.org>
20102
20103 * sysdeps/unix/sysv/linux/configure: Regenerated.
20104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20105 the linux/fanotify.h header.
20106 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20107 HAVE_LINUX_FANOTIFY_H is defined.
20108
b19221b9
SP
201092013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20110
dd1d85e5
SP
20111 * benchtests/cos-inputs: New inputs.
20112 * benchtests/sin-inputs: Likewise.
20113
1acbb90f
SP
20114 * benchtests/atan-inputs: New inputs. Fix name of multiple
20115 precision fallback inputs.
20116
4c012ed3
SP
20117 * benchtests/atanh-inputs: New inputs.
20118 * benchtests/tanh-inputs: Likewise.
20119
eff98324
SP
20120 * benchtests/acosh-inputs: New inputs.
20121 * benchtests/asinh-inputs: Likewise.
20122
ce641152
SP
20123 * benchtests/cosh-inputs: New inputs.
20124 * benchtests/sinh-inputs: Likewise.
20125
b19221b9
SP
20126 * benchtests/acos-inputs: Add more inputs.
20127 * benchtests/asin-inputs: Likewise.
20128
030a4976 201292013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20130
030a4976 20131 [BZ #16375]
9dcc8f11
VS
20132 * manual/arith.texi: Fix spelling.
20133 * manual/charset.texi: Likewise.
20134 * manual/errno.texi: Likewise.
20135 * manual/filesys.texi: Likewise.
20136 * manual/lang.texi: Likewise.
20137 * manual/llio.texi: Likewise.
20138 * manual/locale.texi: Likewise.
20139 * manual/message.texi: Likewise.
20140 * manual/resource.texi: Likewise.
20141 * manual/search.texi: Likewise.
20142 * manual/setjmp.texi: Likewise.
20143 * manual/stdio.texi: Likewise.
20144 * manual/string.texi: Likewise.
20145 * manual/sysinfo.texi: Likewise.
20146 * manual/time.texi: Likewise.
20147
11520a57
CD
201482013-12-27 Carlos O'Donell <carlos@redhat.com>
20149
20150 * po/sl.po: New file.
20151
471103ae
MF
201522013-12-27 Mike Frysinger <vapier@gentoo.org>
20153
20154 * .gitignore: Add core/.gdbinit/.gdb_history.
20155
6c9642ed
AM
201562013-12-27 Allan McRae <allan@archlinux.org>
20157
20158 [BZ #16369]
20159 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20160 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20161
3f637079
BM
201622013-12-24 Brooks Moses <bmoses@google.com>
20163
20164 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20165 all compilers that claim C++98 compliance, not just GCC.
20166 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20167 Likewise.
20168
abc26e99
MK
201692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20170
20171 * NEWS: Restore accidentally deleted bug-fix entries.
20172
362b47fe
MK
201732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20174 Ondřej Bílka <neleai@seznam.cz>
20175
20176 [BZ #15073]
20177 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20178 have_lock.
362b47fe 20179
b9bcbbcb
OB
201802013-12-23 Ondřej Bílka <neleai@seznam.cz>
20181
20182 [BZ #12986]
20183 * manual/stdio.texi (String Input Conversions): Clarify that character
20184 classes are not supported.
20185
fb55fcd2
AZ
201862013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20187
20188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20189
ef7344f0
JM
201902013-12-22 Joseph Myers <joseph@codesourcery.com>
20191
4f40e4b3
JM
20192 [BZ #16337]
20193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20194 Calculate results for small negative arguments directly rather
20195 than using reflection formula with special underflow handling.
20196
ef7344f0
JM
20197 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20198 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20199 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20200 (fchflags): Likewise.
20201 (revoke): Likewise.
20202 (setlogin): Likewise.
20203 (sigaltstack): Likewise.
20204 (wait4): Likewise.
20205 (sigblock): Remove.
20206 (sigsetmask): Likewise.
20207 (wait3): Likewise.
20208 (waitpid): Likewise.
20209 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20210 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20211 file.
20212 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20213 * sysdeps/unix/bsd/Makefile: ... here.
20214 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20215 * sysdeps/unix/bsd/Versions: ... here.
20216 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20217 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20218 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20219 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20220 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20221 * sysdeps/unix/bsd/sigblock.c: ... here.
20222 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20223 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20224 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20225 * sysdeps/unix/bsd/sigvec.c: ... here.
20226 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20227 * sysdeps/unix/bsd/tcdrain.c: ... here.
20228 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20229 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20230 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20231 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20232 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20233 * sysdeps/unix/bsd/wait.c: ... here.
20234 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20235 * sysdeps/unix/bsd/wait3.c: ... here.
20236 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20237 * sysdeps/unix/bsd/waitpid.c: ... here.
20238
5b0626b9
JM
202392013-12-21 Joseph Myers <joseph@codesourcery.com>
20240
20241 [BZ #16356]
20242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20243 round-to-nearest for [!USE_AS_EXPM1L].
20244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20245 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20246 more tests of exp and exp10. Expect some exp10 tests to miss
20247 exceptions or fail in directed rounding modes.
20248 * math/auto-libm-test-out: Regenerated.
20249 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20250 (exp10_test_tonearest): New function.
20251 (exp10_towardzero_test_data): New array.
20252 (exp10_test_towardzero): New function.
20253 (exp10_downward_test_data): New array.
20254 (exp10_test_downward): New function.
20255 (exp10_upward_test_data): New array.
20256 (exp10_test_upward): New function.
20257 (main): Call the new functions.
20258 * sysdeps/i386/fpu/libm-test-ulps: Update.
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20260
7fda5682
JM
202612013-12-20 Joseph Myers <joseph@codesourcery.com>
20262
31e3a405
JM
20263 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20264 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20265 * math/auto-libm-test-out: Regenerated.
20266 * math/libm-test.inc (acosh_test_data): Add more tests.
20267 (atanh_test_data): Likewise.
20268 (ceil_test_data): Likewise.
20269 (copysign_test_data): Likewise.
20270 * sysdeps/i386/fpu/libm-test-ulps: Update.
20271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20272
85bff96a
JM
20273 * timezone/checktab.awk: Update from tzcode 2013i.
20274 * timezone/private.h: Likewise.
20275 * timezone/scheck.c: Likewise.
20276 * timezone/tzfile.h: Likewise.
20277 * timezone/tzselect.ksh: Likewise.
20278 * timezone/zdump.c: Likewise.
20279 * timezone/zic.c: Likewise.
20280
b7867a3b
JM
20281 * math/auto-libm-test-in: Add tests of cpow.
20282 * math/auto-libm-test-out: Regenerated.
20283 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20285 mpc_cc_c.
20286 (func_calc_desc): Add mpc_cc_c union field.
20287 (test_functions): Add cpow.
20288 (special_fill_2pi): New function.
20289 (special_real_inputs): Add 2pi.
20290 (calc_generic_results): Handle mpc_cc_c.
20291 * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293
7fda5682
JM
20294 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20295 csqrt, ctan and ctanh.
20296 * math/auto-libm-test-out: Regenerated.
20297 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20298 (TEST_COND_x86): Likewise.
20299 (ccos_test_data): Use AUTO_TESTS_c_c.
20300 (ccosh_test_data): Likewise.
20301 (cexp_test_data): Likewise.
20302 (clog_test_data): Likewise.
20303 (csqrt_test_data): Likewise.
20304 (ctan_test_data): Likewise.
20305 (ctan_tonearest_test_data): Likewise.
20306 (ctan_towardzero_test_data): Likewise.
20307 (ctan_downward_test_data): Likewise.
20308 (ctan_upward_test_data): Likewise.
20309 (ctanh_test_data): Likewise.
20310 (ctanh_tonearest_test_data): Likewise.
20311 (ctanh_towardzero_test_data): Likewise.
20312 (ctanh_downward_test_data): Likewise.
20313 (ctanh_upward_test_data): Likewise.
20314 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20315 mpc_c_c.
20316 (func_calc_desc): Add mpc_c_c union field.
20317 (FUNC_mpc_c_c): New macro.
20318 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20319 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20320 ctanh.
20321 (special_fill_min_subnorm_p120): New function.
20322 (special_real_inputs): Add min_subnorm_p120.
20323 (calc_generic_results): Handle mpc_c_c.
20324 * sysdeps/i386/fpu/libm-test-ulps: Update.
20325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20326
5ff8d60e
SP
203272013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20328
57f41c40
AS
20329 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20330 (do_sin_slow): New functions.
20331 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20332 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20333
84ba214c
SP
20334 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20335 Use M to change sign of result instead of X. Assume X is
20336 positive.
20337 (csloww1): Likewise.
20338 (__sin): Adjust.
20339 (__cos): Adjust.
20340
975195e4
SP
20341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20342 arguments A and DA.
20343 (__sin): Adjust.
20344 (__cos): Likewise.
20345
5ff8d60e
SP
20346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20347 (__cos): Likewise.
20348 (sloww1): Don't adjust sign of DX.
20349 (csloww1): Likewise.
20350 (sloww2): Use X directly and don't adjust sign of DX.
20351 (csloww2): Likewise.
20352
eb983568
JM
203532013-12-19 Joseph Myers <joseph@codesourcery.com>
20354
64a17f1a
JM
20355 * math/auto-libm-test-in: Add tests of cabs and carg.
20356 * math/auto-libm-test-out: Regenerated.
20357 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20358 (carg_test_data): Likewise.
20359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20360 mpc_c_f.
20361 (func_calc_desc): Add mpc_c_f union field.
20362 (test_functions): Add cabs and carg.
20363 (calc_generic_results): Handle mpc_c_f.
20364
eb983568
JM
20365 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20366 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20367 as a macro and a compat symbol.
20368 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20370 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20371 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20372 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20374 not use .hidden.
20375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20376 Likewise.
20377 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20378 Likewise.
20379 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20380 Likewise.
20381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20382 Likewise.
20383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20384 Likewise.
20385 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20386 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20387 from GLIBC_2.3.2.
20388
6eeb678a
AZ
203892013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20390
20391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20392
6f6fc482
JM
203932013-12-19 Joseph Myers <joseph@codesourcery.com>
20394
21fea2e2
JM
20395 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20396 trailing whitespace removed.
20397 * scripts/config.guess: Update to version 2013-11-29.
20398 * scripts/config.sub: Update to version 2013-10-01.
20399
6f6fc482
JM
20400 * math/auto-libm-test-in: Add tests of sincos.
20401 * math/auto-libm-test-out: Regenerated.
20402 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20403 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20404 mpfr_f_11.
20405 (func_calc_desc): Add mpfr_f_11 union field.
20406 (test_functions): Add sincos.
20407 (calc_generic_results): Handle mpfr_f_11.
20408 * sysdeps/i386/fpu/libm-test-ulps: Update.
20409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20410
83f5c32d
AS
204112013-12-19 Andreas Schwab <schwab@suse.de>
20412
20413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20414 CALL_MCOUNT.
20415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20416 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20417 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20418
c688b419
JM
204192013-12-19 Joseph Myers <joseph@codesourcery.com>
20420
335ee092
JM
20421 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20422 * sysdeps/i386/fpu/libm-test-ulps: Update.
20423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20424
f88acd39
JM
20425 [BZ #16293]
20426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20427 round-to-nearest mode when using frndint.
20428 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20429 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20431 Likewise.
20432 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20433 sinh test to fail.
20434 * math/auto-libm-test-out: Regenerated.
20435 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20436 (TEST_COND_x86): Likewise.
20437 (expm1_tonearest_test_data): New array.
20438 (expm1_test_tonearest): New function.
20439 (expm1_towardzero_test_data): New array.
20440 (expm1_test_towardzero): New function.
20441 (expm1_downward_test_data): New array.
20442 (expm1_test_downward): New function.
20443 (expm1_upward_test_data): New array.
20444 (expm1_test_upward): New function.
20445 (main): Run the new test functions.
20446 * sysdeps/i386/fpu/libm-test-ulps: Update.
20447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20448
c688b419
JM
20449 * include/features.h: Update comment documenting feature test
20450 macros. Mention _DEFAULT_SOURCE in comment.
20451 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20452 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20453 _BSD_SOURCE and _SVID_SOURCE.
20454 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20455 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20456 !_SVID_SOURCE]: Likewise.
20457 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20458 (__USE_POSIX_IMPLICITLY): Define.
20459 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20460 (_POSIX_SOURCE): Undefine and redefine.
20461 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20462 (_POSIX_C_SOURCE): Likewise.
20463 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20464 (Feature Test Macros): Update documentation of default features.
20465
9f6e964c
RS
204662013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20467
20468 * benchtests/Makefile: Add bench-strtok.
20469 * benchtests/bench-strtok.c: New file: strtok benchtest.
20470
ee0a148a
AM
204712013-12-19 Allan McRae <allan@archlinux.org>
20472
20473 * manual/install.texi: Suppress menu for plain text output.
20474 * INSTALL: Regenerated.
20475
b9ab448f
BM
204762013-12-18 Brooks Moses <bmoses@google.com>
20477
20478 [BZ #15846]
20479 * misc/getauxval.c: Include errno.h.
20480 (__getauxval): Set errno to ENOENT if the requested type is not
20481 found.
20482 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20483 don't declare with __attribute_const__.
20484 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20485 * manual/startup.texi: Document that getauxval sets errno.
20486
23776487
JM
204872013-12-18 Joseph Myers <joseph@codesourcery.com>
20488
f889953b
JM
20489 * math/auto-libm-test-in: Add tests of jn and yn.
20490 * math/auto-libm-test-out: Regenerated.
20491 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20492 (yn_test_data): Likewise.
20493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20494 mpfr_if_f.
20495 (func_calc_desc): Add mpfr_if_f union field.
20496 (FUNC_mpfr_if_f): New macro.
20497 (test_functions): Add jn and yn.
20498 (calc_generic_results): Assert type of second input for
20499 mpfr_ff_f. Handle mpfr_if_f.
20500 (output_for_one_input_case): Disable all checking for arguments
20501 fitting floating-point types in case of an integer argument.
20502 * sysdeps/i386/fpu/libm-test-ulps: Update.
20503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20504
23776487
JM
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20506 Don't expect fegetround reference in libm.so.
20507
cb756c6d
MS
205082013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20509
20510 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20511 $(config-cflags-nofma).
20512
2dec468f
JM
205132013-12-18 Joseph Myers <joseph@codesourcery.com>
20514
5953eb3a
JM
20515 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20516 * math/auto-libm-test-out: Regenerated.
20517
2dec468f
JM
20518 [BZ #16338]
20519 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20520 to determine exponent and adjust argument to have exponent of -1.
20521 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20522 log2.
20523 * math/auto-libm-test-out: Regenerated.
20524 * sysdeps/i386/fpu/libm-test-ulps: Update.
20525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526
4d84e6ad
OB
205272013-12-18 Ondřej Bílka <neleai@seznam.cz>
20528
20529 * manual/probes.texi: Remove cases when per-thread arenas are
20530 disabled.
20531
1818483b
AS
205322013-12-18 Andreas Schwab <schwab@suse.de>
20533
20534 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20535 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20536 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20537 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20538 * sysdeps/i386/i686/multiarch/Makefile: Update.
20539 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20540
25de95bf
JM
205412013-12-17 Joseph Myers <joseph@codesourcery.com>
20542
20543 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20544 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20545
674762d9
PE
205462013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20547
ed27ed83 20548 [BZ #15968]
0748546f
PE
20549 Support TZ transition times < 00:00:00.
20550 This is needed for version-3 tz-format files; it supports time
20551 stamps past 2037 for America/Godthab (the only entry in the tz
20552 database for which this change is relevant).
20553 * manual/time.texi (TZ Variable): Document transition times
20554 from -167:59:59 through -00:00:01.
20555 * time/tzset.c (tz_rule): Time of day is now signed.
20556 (__tzset_parse_tz): Parse negative time of day.
20557
4480e934
PE
20558 Document TZ transition times >= 25:00:00.
20559 * manual/time.texi (TZ Variable): Document transition times from
20560 25:00:00 through 167:59:59. These are already supported, and this
20561 support will help with version-3 tz-format files.
20562
69947401
PE
20563 * manual/time.texi (TZ Variable): Modernize North America example
20564 to reflect current (i.e., 2007-and-later) daylight saving rules.
20565
674762d9
PE
20566 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20567
7011c262
JM
205682013-12-17 Joseph Myers <joseph@codesourcery.com>
20569
2fc6557e
JM
20570 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20571 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20574 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20575 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20576 * sysdeps/unix/bsd/clock.c: Likewise.
20577 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20578 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20579 * sysdeps/unix/bsd/init-posix.c: Likewise.
20580 * sysdeps/unix/bsd/poll.c: Likewise.
20581 * sysdeps/unix/bsd/ptsname.c: Likewise.
20582 * sysdeps/unix/bsd/seekdir.c: Likewise.
20583 * sysdeps/unix/bsd/setegid.c: Likewise.
20584 * sysdeps/unix/bsd/seteuid.c: Likewise.
20585 * sysdeps/unix/bsd/setgid.c: Likewise.
20586 * sysdeps/unix/bsd/setrgid.c: Likewise.
20587 * sysdeps/unix/bsd/setruid.c: Likewise.
20588 * sysdeps/unix/bsd/setsid.c: Likewise.
20589 * sysdeps/unix/bsd/setuid.c: Likewise.
20590 * sysdeps/unix/bsd/sigaction.c: Likewise.
20591 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20592 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20593 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20594 * sysdeps/unix/bsd/telldir.c: Likewise.
20595 * sysdeps/unix/bsd/times.c: Likewise.
20596 * sysdeps/unix/bsd/usleep.c: Likewise.
20597
029c7b25
JM
20598 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20599 ($(objpfx)libbsd-compat.a): Remove rule.
20600
7011c262
JM
20601 * include/features.h (__FAVOR_BSD): Do not define.
20602 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20603 features conflicting with POSIX.
20604 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20605 (_BSD_SOURCE): Remove description of not being a subset of other
20606 feature test macros.
20607 * manual/job.texi (getpgrp): Do not document BSD version.
20608 (getpgid): Do not document by reference to BSD getpgrp.
20609 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20610 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20611 * signal/signal.h [__FAVOR_BSD]: Likewise.
20612 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20613 instead of making contents conditional on [__FAVOR_BSD].
20614 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20615
affb6f78
AZ
206162013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20617
20618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20619
c88769dd
JM
206202013-12-17 Joseph Myers <joseph@codesourcery.com>
20621
6432a540
JM
20622 [BZ #16314]
20623 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20624 values below 2**-450, not 2**-500.
20625 * math/auto-libm-test-in: Don't allow spurious underflow from
20626 hypot.
20627 * math/auto-libm-test-out: Regenerated.
20628
c88769dd
JM
20629 [BZ #16316]
20630 [BZ #16330]
20631 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20632 values of ha and hb and sort them after adjusting subnormal
20633 arguments.
20634 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20635 Likewise.
20636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20637 values of ea and eb and sort them after adjusting subnormal
20638 arguments.
20639 * math/auto-libm-test-in: Do not expect some hypot tests of
20640 subnormals to fail. Add more hypot tests.
20641 * math/auto-libm-test-out: Regenerated.
20642
29618f6b
KK
206432013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20644
20645 [BZ #13304]
20646 * sysdeps/sh/s_fma.c: New file.
20647 * sysdeps/sh/s_fmaf.c: New file.
20648 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20649 version.
20650 * sysdeps/sh/Implies: Add sh/soft-fp.
20651
eacfdfbf
RM
206522013-12-16 Roland McGrath <roland@hack.frob.com>
20653
20654 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20655 level of indirection to members `objname', `errstring', `malloced'.
20656 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20657 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20658 it as the __longjmp argument (just pass 1 instead).
20659 (_dl_catch_error): Initialize C with argument pointers and address of
20660 volatile local ERRCODE rather than copying values out of C at return.
20661
ff362e5b
JM
206622013-12-16 Joseph Myers <joseph@codesourcery.com>
20663
20664 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20665 * math/auto-libm-test-out: Regenerated.
20666 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20667 (hypot_test_data): Likewise.
20668 (pow_test_data): Likewise.
20669 (pow_tonearest_test_data): Likewise.
20670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20671 mpfr_ff_f.
20672 (func_calc_desc): Add mpfr_ff_f union field.
20673 (FUNC_mpfr_ff_f): New macro.
20674 (test_functions): Add atan2, hypot and pow.
20675 (special_fill_min): New function.
20676 (special_fill_minus_min): Likewise.
20677 (special_fill_min_subnorm): Likewise.
20678 (special_fill_minus_min_subnorm): Likewise.
20679 (special_real_inputs): Add min, -min, min_subnorm and
20680 -min_subnorm.
20681 (calc_generic_results): Handle mpfr_ff_f.
20682 * sysdeps/i386/fpu/libm-test-ulps: Update.
20683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20684
5764c27f
WN
206852013-12-16 Will Newton <will.newton@linaro.org>
20686
20687 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20688 (Aligned Memory Blocks): Add documentation for aligned_alloc
20689 and suggest it as an alternative to posix_memalign.
20690 (Hooks for Malloc): Document __memalign_hook is also called
20691 for aligned_alloc. (Summary of Malloc): Add summary for
20692 aligned alloc. Document __memalign_hook is also called
20693 for aligned_alloc.
20694
0a096e44
WN
206952013-12-16 Will Newton <will.newton@linaro.org>
20696
20697 * manual/memory.texi (Malloc Examples): Clarify default
20698 alignment documentation. Suggest posix_memalign rather
20699 than memalign or valloc.
20700 (Aligned Memory Blocks): Remove suggestion to use memalign
20701 or valloc. Remove obsolete comment about BSD.
20702 Document memalign errno values and mark the function obsolete.
20703 Document posix_memalign returned error codes. Mark valloc
20704 as obsolete. (Hooks for Malloc): __memalign_hook is also
20705 called for posix_memalign and valloc.
20706 (Summary of Malloc): Add posix_memalign to function summary.
20707 __memalign_hook is also called for posix_memalign and valloc.
20708
8d561986
SP
207092013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20710
20711 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20712 TAYLOR_SIN.
20713 (__sin): Adjust.
20714 (__cos): Likewise.
20715 (sloww): Use mynumber union. Expand ternary operator into
20716 if-else statements.
20717 (cslow): use mynumber union.
20718
73616a74
AM
207192013-12-16 Allan McRae <allan@archlinux.org>
20720
9e8ac24b
AM
20721 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20722 * configure: Regenerated.
20723
6f8e37eb
AM
20724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20725
8894bad3
AM
20726 [BZ #14120]
20727 * configure.ac: Added --enable-maintainer-mode. Check for
20728 autoconf when enabled.
20729 * configure: Regenerated.
20730
73616a74
AM
20731 * nscd/nscd.service: New file.
20732 * nscd/nscd.tmpfiles: New file.
20733
584b18eb
OB
207342013-12-14 Ondřej Bílka <neleai@seznam.cz>
20735
20736 [BZ #12100]
20737 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20738 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20739 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20740 (strstr): Add __strstr_sse2_unaligned ifunc.
20741 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20742 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20743 (strcasestr): Remove __strcasestr_sse42 ifunc.
20744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20747
8a5c7897
KK
207482013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20749
20750 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20751 * sysdeps/sh/bits/fenv.h: ... here.
20752 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20753
fd712ef3
AZ
207542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20755
20756 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20757
42fcb46c
AZ
20758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20759 hypotf multiarch implementations.
20760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20763 multiarch hypot for PPC64.
20764 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20767 multiarch hypotf for PPC64.
20768
83efded4
AZ
20769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20770 modff multiarch implementations.
20771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20774 multiarch modf for PPC64.
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20778 multiarch modff for PPC64.
20779
43e246d2
AZ
20780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20781 and logl multiarch implementations.
20782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20785 multiarch logb for PPC64.
20786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20789 multiarch logb for PPC64.
20790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20793 multiarch logb for PPC64.
20794
8fdad123
AZ
20795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20796 isinff multiarch implementation.
20797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20798 file.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20801 multiarch isinf for PPC64.
20802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20803 file.
20804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20805 multiarch isinff for PPC64.
20806
1481d706
AZ
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20808 finitef multiarch implementation.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20810 file.
20811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20813 multiarch finite for PPC64.
20814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20815 file.
20816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20817 multiarch finitef for PPC64.
20818
5ccd5fc8
AZ
20819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20820 lrint multiarch implementation.
20821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20822 file.
20823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20825 multiarch llrint for PPC64.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20827 multiarch lrint for PPC64.
20828
2568f3fa
AZ
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20830 copysignf multiarch implementation.
20831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20832 file.
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20834 file.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20836 multiarch copysign for PPC64.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20838 multiarch copysignf for PPC64.
20839
1cb341fd
AZ
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20841 multiarch implementation.
20842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20843 file.
20844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20845 file.
20846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20847 file.
20848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20849 file.
20850 multiarch llround for PPC64.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20852 multiarch trunc for PPC64.
20853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20854 multiarch truncf for PPC64.
20855
59a3e194
AZ
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20857 multiarch implementation.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20859 file.
20860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20861 file.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20863 file.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20865 file.
20866 multiarch llround for PPC64.
20867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20868 multiarch round for PPC64.
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20870 multiarch roundf for PPC64.
20871
357fd3b4
AZ
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20873 multiarch implementation.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20875 file.
20876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20877 file.
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20879 file.
20880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20881 file.
20882 multiarch llround for PPC64.
20883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20884 multiarch floor for PPC64.
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20886 multiarch floorf for PPC64.
20887
96770f12
AZ
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20889 multiarch implementation.
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20891 file.
20892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20893 file.
20894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20895 file.
20896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20897 file.
20898 multiarch llround for PPC64.
20899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20900 multiarch ceil for PPC64.
20901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20902 multiarch ceilf for PPC64.
20903
c3627f6e
AZ
20904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20905 multiarch implementation.
20906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20907 file.
20908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20909 file.
20910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20911 file.
20912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20913 multiarch llround for PPC64.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20915 multiarch lround for PPC64.
20916
b2284ad7
AZ
20917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20918 multiarch implementation.
20919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20922 file.
20923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20926 multiarch isnan for PPC64.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20928 multiarch isnanf for PPC64.
20929
69bbc63d
AZ
20930 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20931 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20932 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20933 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20934 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20936
c24517c9
AZ
20937 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20938 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20941
a52374e8
AZ
20942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20943 multiarch implementations.
20944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20945 (__libc_ifunc_impl_list): Likewise.
20946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20948 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20949 multiarch stpcpy for PPC64.
20950
7f5ec113
AZ
20951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20952 multiarch implementations.
20953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20954 (__libc_ifunc_impl_list): Likewise.
20955 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20957 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20958 multiarch strcpy for PPC64.
20959
e28bcd42
AZ
20960 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20961 redefine function name.
20962 (_wordcopy_fwd_dest_aligned): Likewise.
20963 (_wordcopy_bwd_aligned): Likewise.
20964 (_wordcopy_bwd_dest_aligned): Likewise.
20965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20966 multiarch implementations.
20967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20968 (__libc_ifunc_impl_list): Likewise.
20969 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20970 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20971 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20972 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20973 multiarch wcscpy for PPC64.
20974
92cacfce
AZ
20975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20976 multiarch implementations.
20977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20978 (__libc_ifunc_impl_list): Likewise.
20979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20983 multiarch wcscpy for PPC64.
20984
7b714620
AZ
20985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20986 multiarch implementations.
20987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20988 (__libc_ifunc_impl_list): Likewise.
20989 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20991 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20992 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20993 multiarch wcsrchr for PPC64.
20994
16fd2ae3
AZ
20995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20996 multiarch implementations.
20997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20998 (__libc_ifunc_impl_list): Likewise.
20999 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21000 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21001 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21002 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21003 multiarch wcschr for PPC64.
21004
9ee2969b
AZ
21005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21006 multiarch implementations.
21007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21008 (__libc_ifunc_impl_list): Likewise.
21009 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21010 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21011 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21012 multiarch strchrnul for PPC64.
21013
372dc060
AZ
21014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21015 implementations.
21016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21017 (__libc_ifunc_impl_list): Likewise.
21018 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21019 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21020 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21021 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21022 strchr for PPC64.
21023
24c2c3b9
AZ
21024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21025 implementations.
21026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21027 (__libc_ifunc_impl_list): Likewise.
21028 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21030 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21031 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21032 strncmp for PPC64.
21033
1c92d9a0
AZ
21034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21035 multiarch implementations.
21036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21037 (__libc_ifunc_impl_list): Likewise.
21038 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21039 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21040 strncasecmp for PPC64.
21041 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21042 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21043 multiarch strncasecmp_l for PPC64.
21044
17de3ee3
AZ
21045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21046 multiarch implementations.
21047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21048 (__libc_ifunc_impl_list): Likewise.
21049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21051 multiarch strcasecmp for PPC64.
21052 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21053 file.
21054 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21055 multiarch strcasecmp_l for PPC64.
21056
62982bf9
AZ
21057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21058 implementations.
21059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21060 (__libc_ifunc_impl_list): Likewise.
21061 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21062 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21063 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21064 strnlen for PPC64.
21065
a65f4904
AZ
21066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21067 implementations.
21068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21069 (__libc_ifunc_impl_list): Likewise.
21070 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21071 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21072 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21073 strlen for PPC64.
21074
1fd005ad
AZ
21075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21076 implementations.
21077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21078 (__libc_ifunc_impl_list): Likewise.
21079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21080 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21081 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21082 rawmemrchr for PPC64.
21083
cd05ba91
AZ
21084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21085 implementation.
21086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21087 (__libc_ifunc_impl_list): Likewise.
21088 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21089 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21090 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21091 memrchr for PPC64.
21092
870f8676
AZ
21093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21094 implementation.
21095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21096 (__libc_ifunc_impl_list): Likewise.
21097 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21098 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21099 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21100 memchr for PPC64.
21101
f00be62b
AZ
21102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21103 implementation.
21104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21105 (__libc_ifunc_impl_list): Likewise.
21106 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21108 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21109 mempcpy for PPC64.
21110
8a29a3d0
AZ
21111 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21112 avoid cretion of __bzero symbol.
21113 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21114 Likewise.
21115 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21116 Likewise.
21117 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21118 Likewise.
21119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21120 multiarch implementations.
21121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21122 (__libc_ifunc_impl_list): Likewise.
21123 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21124 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21125 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21126 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21127 bzero for PPC32.
21128 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21129 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21130 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21131 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21132 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21133 memset for PPC64.
21134 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21135
07253fcf
AZ
21136 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21138 implementations.
21139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21140 (__libc_ifunc_impl_list): Likewise.
21141 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21142 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21143 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21144 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21145 memcmp for PPC64.
21146
b5beafbc
AZ
21147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21148 multiarch for POWER/PPC64.
21149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21150 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21157 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21158 memcpy for PPC64.
21159
5e6a4d4b
AZ
21160 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21161 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21162 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21163 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21164 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21165 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21166 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21167 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21168 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21169 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21170 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21171 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21172 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21173 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21174 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21182
ddfab6dc
KK
211832013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21184
21185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21186
19b5525e
SP
211872013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21188
21189 * benchtests/Makefile (bench): Add exp2 and log2.
21190 (LDLIBS-bench-exp2): Add -lm.
21191 (LDLIBS-bench-log2): Likewise.
21192 * benchtests/exp2-inputs: New inputs file.
21193 * benchtests/log2-inputs: New inputs file.
21194 * benchtests/log-inputs: Add new inputs.
21195 * benchtests/tan-inputs: Likewise.
21196
196f7f5d
SP
211972013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21198
7a74607f
SP
21199 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21200 definition...
57f41c40
AS
21201 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21202 (csloww2): ... from here.
7a74607f 21203
196f7f5d
SP
21204 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21205 instead of structures.
21206 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21207 (POLYNOMIAL): Likewise.
21208 (TAYLOR_SLOW): Likewise.
21209 (__sin): Likewise.
21210 (__cos): Likewise.
21211 (slow1): Likewise.
21212 (slow2): Likewise.
21213 (sloww): Likewise.
21214 (sloww1); Likewise.
21215 (sloww2): Likewise.
21216 (bsloww1): Likewise.
21217 (bsloww2): Likewise.
21218 (cslow2): Likewise.
21219 (csloww): Likewise.
21220 (csloww1): Likewise.
21221 (csloww2): Likewise.
21222
0dfa665c
OB
212232013-12-10 Ondřej Bílka <neleai@seznam.cz>
21224
21225 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21226 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21227 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21228 * malloc/hooks.c (realloc_check): Likewise.
21229
5782a80f
OB
21230 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21231 * malloc/arena.c: Remove PER_THREAD conditional.
21232 [!PER_THREAD]: Remove code.
21233 (ptmalloc_unlock_all2): Likewise.
21234 (ptmalloc_init): Likewise.
21235 (_int_new_arena): Likewise.
21236 (arena_get2): Likewise.
21237 * malloc/hooks.c (__malloc_get_state): Likewise.
21238 (__malloc_set_state): Likewise.
21239 * malloc/malloc.c: Likewise.
21240 (struct malloc_state): Likewise.
21241 (struct malloc_par): Likewise.
21242 (__libc_realloc): Likewise.
21243 (__libc_mallopt): Likewise.
21244
aeb95445
AZ
212452013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21246
21247 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21248
e8349efd
OB
212492013-12-09 Ondřej Bílka <neleai@seznam.cz>
21250
21251 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21252 macro to a function. Check for zero perturb_byte.
21253 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21254
f3eeb3fc 21255 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21256 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21257 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21258 force_reg by atomic_forced_read.
21259 * malloc/arena.c (ptmalloc_init): Likewise.
21260 * malloc/hooks.c (top_check): Likewise.
21261
be2f9009
AZ
212622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21263
21264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21265
e7b914bd
MT
212662013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21267
21268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21269
9f0be4f8
JM
212702013-12-08 Joseph Myers <joseph@codesourcery.com>
21271
21272 * math/auto-libm-test-in: Add tests of lgamma.
21273 * math/auto-libm-test-out: Regenerated.
21274 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21275 (M_LOG_2_SQRT_PIl): Likewise.
21276 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21277 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21278 mpfr_f_f1.
21279 (func_calc_desc): Add mpfr_f_f1 union field.
21280 (ARGS1): New macro.
21281 (ARGS2): Likewise.
21282 (ARGS3): Likewise.
21283 (ARGS4): Likewise.
21284 (RET1): Likewise.
21285 (RET2): Likewise.
21286 (CALC): Likewise.
21287 (FUNC): Likewise.
21288 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21289 (test_functions): Add lgamma.
21290 (calc_generic_results): Handle mpfr_f_f1.
21291 * sysdeps/i386/fpu/libm-test-ulps: Update.
21292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21293
24eeafdb
AZ
212942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295
21296 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21297 __mpn_add_n for PowerPC64/POWER7.
21298 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21299 __mpn_sub_n for PowerPC64/POWER7.
21300
4a2c0fd4
AZ
21301 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21302 __mpn_addmul_1 for PowerPC64.
21303 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21304 __mpn_submul_1 for PowerPC64.
21305 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21306 for PowerPC64.
21307 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21308 for PowerPC64.
21309
4b5b548c
FS
213102013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21311
21312 [BZ #15089]
21313 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21314
0a3ac0aa
AZ
213152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21316
21317 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21318
ccdc8438
AZ
21319 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21320 add multiarch folders.
21321 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21322 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21323 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21324 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21325 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21326 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21327 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21328 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21329 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21330 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21331 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21338
2e973d99
AZ
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21340 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21342 New file.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21344 New file.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21346 multiarch __ieee754_hypot for PowerPC32.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21348 New file.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21350 New file.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21352 multiarch __ieee754_hypotf for PowerPC32.
21353
2d9470b2
AZ
21354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21355 long_double_symbol only if __logbl is defined.
21356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21357 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21359 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21361 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21363 path for implementation.
21364 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21367 logb, and logbl multiarch implementations for PowerPC32.
21368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21369 file.
21370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21371 file.
21372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21373 multiarch logb for PowerPC32.
21374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21375 file.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21377 file.
21378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21379 multiarch logbf for PowerPC32.
21380 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21382 file.
21383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21384 multiarch logbl implementation for PowerPC32.
21385
5212ffce
AZ
21386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21387 and modff multiarch implementations.
21388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21389 New file.
21390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21391 New file.
21392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21393 multiarch modf for PowerPC32.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21395 New file.
21396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21397 New file.
21398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21399 multiarch modff for PowerPC32.
21400
79dccf31
AZ
21401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21402 and lrintf multiarch implementations.
21403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21404 New file.
21405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21406 New file.
21407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21408 multiarch lrint for PowerPC32.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21410 file: multiarch lrintf for PowerPC32.
21411
deb66480
AZ
21412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21413 and lroundf multiarch implementations.
21414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21415 New file.
21416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21417 New file.
21418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21419 New file.
21420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21421 multiarch lround for PowerPC32.
21422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21423 file: multiarch lroundf for PowerPC32.
21424
264b036b
AZ
21425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21426 copysign and copysignf multiarch implementations.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21428 New file.
21429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21430 New file.
21431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21432 file: multiarch copysign for PowerPC32.
21433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21434 file: multiarch copysignf for PowerPC32.
21435
d47db6c9
AZ
21436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21437 and truncf multiarch implementations.
21438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21439 New file.
21440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21441 file.
21442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21443 multiarch trunc for PowerPC32.
21444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21445 New file.
21446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21447 New file.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21449 multiarch truncf for PowerPC32.
21450
ddb60b5a
AZ
21451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21452 and roundf multiarch implementations.
21453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21454 New file.
21455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21456 file.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21458 multiarch round for PowerPC32.
21459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21460 New file.
21461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21462 New file.
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21464 multiarch roundf for PowerPC32.
21465
bedcf49b
AZ
21466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21467 and floorf multiarch implementations.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21469 New file.
21470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21471 file.
21472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21473 multiarch floor for PowerPC32.
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21475 New file.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21477 New file.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21479 multiarch floorf for PowerPC32.
21480
35ae5b40
AZ
21481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21482 and ceilf multiarch implementations.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21484 New file.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21486 file.
21487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21488 multiarch ceil for PowerPC32.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21490 New file.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21492 file.
21493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21494 multiarch ceilf for PowerPC32.
21495
ae1a4cd9
AZ
21496 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21497 is defined.
21498 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21499 FINITEF is defined.
21500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21501 and finitef multiarch implementations.
21502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21503 New file.
21504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21505 file.
21506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21507 multiarch finite for PowerPC32.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21509 New file.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21511 file: multiarch finitef for PowerPC32.
21512
64fffd65
AZ
21513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21514 and isinff multiarch implementations.
21515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21516 file.
21517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21518 file.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21520 multiarch isinf for PowerPC32.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21522 New file.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21524 multiarch isinff for PowerPC32.
21525
8e4e7ba2
AZ
21526 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21527 alias when __isnan is defined.
21528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21529 and isnanf multiarch implementations.
21530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21531 file.
21532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21533 file.
21534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21535 file.
21536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21537 file.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21539 multiarch isnan for PowerPC32.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21541 New file.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21543 New file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21545 multiarch isnanf for PowerPC32.
21546
ddba588e
AZ
21547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21548 and sqrtf multiarch implementations.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21550 file.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21552 file.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21554 multiarch sqrt for PowerPC32.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21556 file.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21558 file.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21560 multiarch sqrtf for PowerPC32.
21561
0f96a2f0
AZ
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21563 and llroundf multiarch implementations.
21564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21565 New file.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21567 New file.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21569 New file.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21571 file: multiarch llround for PowerPC32.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21573 file: multiarch llroundf for PowerPC32.
21574
c9b5d79e
AZ
21575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21576 multiarch PowerPC32 fpu implementations.
21577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21578 New file.
21579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21580 New file.
21581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21582 multiarch llrint for PowerPC32.
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21584 New file.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21586 New file.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21588 file.
21589
9cbb3aab
AZ
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21591
ea5a72f8
AZ
21592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21593 file.
21594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21595 file.
21596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21597 file.
21598 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21599 multiarch wordcopy for PPC32.
21600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21601 wordcopy objects.
21602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21603 (__libc_ifunc_impl_list): Likewise.
21604 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21605 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21607 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21609 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21610
93be09e7
AZ
21611 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21613 file.
21614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21615 file.
21616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21617 file.
21618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21619 multiarch wcscpy for PPC32.
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21621 multiarch objects.
21622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21623 (__libc_ifunc_impl_list): Likewise.
21624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21625 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21626 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21627 sysdeps/powerpc/power6/wcscpy.c.
21628
bb04e529
AZ
21629 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21631 file.
21632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21633 file.
21634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21635 file.
21636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21637 multiarch wcsrchr for PPC32.
21638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21639 multiarch objects.
21640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21641 (__libc_ifunc_impl_list): Likewise.
21642 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21643 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21644 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21645 sysdeps/powerpc/power6/wcsrchr.c.
21646
05b5cd1c
AZ
21647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21648 file.
21649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21650 file.
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21653 multiarch wcschr for PPc32.
21654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21655 multiarch objects.
21656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21657 (__libc_ifunc_impl_list): Likewise.
21658 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21659 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21660 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21661 sysdeps/powerpc/power6/wcschr.c.
21662
ba964147
AZ
21663 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21664 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21665 file.
21666 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21667 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21668 file: multiarch strchr for PPC32.
21669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21670 multiarch objects.
21671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21672 (__libc_ifunc_impl_list): Likewise.
21673
31c81aaa
AZ
21674 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21675 name.
21676 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21677 file.
21678 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21679 file.
21680 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21681 multiarch strchrnul for PPC32.
21682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21683 multiarch objects.
21684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21685 (__libc_ifunc_impl_list): Likewise.
21686
0d0607d9
AZ
21687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21688 file.
21689 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21690 multiarch strncasecmp for PPC32.
21691 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21692 file.
21693 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21694 multiarch strncasecmp_l for PPC32.
21695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21696 strncasecmp multiarch objects.
21697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21698 (__libc_ifunc_impl_list): Likewise.
21699
4dfd5c86
AZ
21700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21701 file.
21702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21703 multiarch strncasecmp for PPC32.
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21705 New file.
21706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21707 multiarch strcasecmp_l for PPC32.
21708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21709 multiarch objects.
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21711 (__libc_ifunc_impl_list): Likewise.
21712
a19e01a3
AZ
21713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21714 file.
21715 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21716 file.
21717 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21718 multiarch strncmp for PPC32.
21719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21720 multiarch objects.
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21722 (__libc_ifunc_impl_list): Likewise.
21723
ae9cf7a2
AZ
21724 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21725 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21726 file.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21728 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21730 multiarch objects.
21731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21732 (__libc_ifunc_impl_list): Likewise.
21733
3148bb7d
AZ
21734 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21735 file.
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21737 file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21740 multiarch objects.
21741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21742 (__libc_ifunc_impl_list): Likewise.
21743
7af8b946
AZ
21744 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21745 file.
21746 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21747 file.
21748 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21749 multiarch rawmemchr for PPC32.
21750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21751 multiarch objects.
21752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21753 (__libc_ifunc_impl_list): Likewise.
21754
03a6aa6a
AZ
21755 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21756 file.
21757 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21758 file.
21759 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21760 file: memrchr multiarch for PPC32.
21761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21762 multiarch objects.
21763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21764 (__libc_ifunc_impl_list): Likewise.
21765
1c62e6d9
AZ
21766 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21768 file.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21770 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21771 multiarch memchr for PPC32.
21772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21773 multiarch objects.
21774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21775 (__libc_ifunc_impl_list): Likewise.
21776
87da8bdb
AZ
21777 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21779 file.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21781 file.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21783 file: multiarch mempcpy for PPC32.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21785 multiarch objects.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21787 (__libc_ifunc_impl_list): Likewise.
21788
20ed4714
AZ
21789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21792 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21793 multiarch bzero for PPC32.
21794 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21795 file.
21796 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21797 file.
21798 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21799 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21800 file: multiarch memset for PPC32.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21803 memset multiarch objects.
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21805 (__libc_ifunc_impl_list): Likewise.
21806
ab3e3a46
AZ
21807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21808 file.
21809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21811 memcmp for PPC32.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21814 multiarch objects.
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21816 (__libc_ifunc_impl_list): Likewise.
21817
930de6f0
AZ
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21821 file.
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21823 file.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21825 file.
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21827 multiarch memcpy for PPC32.
21828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21829 multiarch objects.
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21831 (__libc_ifunc_impl_list): Likewise.
21832
4c628e00
AZ
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21834 support multiarch for POWER/PPC32.
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21836 Likewise.
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21839 Implies file to make multiarch folder appers before the fpu and
21840 default folder for power4 configuration.
21841
f4479220
SP
218422013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21843
21844 * scripts/bench.pl: Append volatile keyword to type.
21845
8517800f
KK
218462013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21847
21848 * sysdeps/sh/sotruss-lib.c: New file.
21849 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21850
180138f1
AZ
218512013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21854
bbf37bdc
JM
218552013-12-05 Joseph Myers <joseph@codesourcery.com>
21856
e47cc4e0
JM
21857 [BZ #6810]
21858 * math/w_tgamma.c: Include <errno.h>.
21859 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21860 * math/w_tgammaf.c: Include <errno.h>.
21861 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21862 * math/w_tgammal.c: Include <errno.h>.
21863 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21864 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21865 underflow. Add more tgamma tests.
21866 * math/auto-libm-test-out: Regenerated.
21867 * sysdeps/i386/fpu/libm-test-ulps: Update.
21868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21869
bbf37bdc
JM
21870 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21871 sin, sinh, tan, tanh, tgamma, y0 and y1.
21872 * math/auto-libm-test-out: Regenerated.
21873 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21874 (TEST_COND_x86): Likewise.
21875 (M_E2l): Remove macro.
21876 (M_E3l): Likewise.
21877 (M_2_SQRT_PIl): Likewise.
21878 (M_SQRT_PIl): Likewise.
21879 (M_1_DIV_El): Likewise.
21880 (log_test_data): Use AUTO_TESTS_f_f.
21881 (log10_test_data): Likewise.
21882 (log1p_test_data): Likewise.
21883 (log2_test_data): Likewise.
21884 (sin_test_data): Likewise.
21885 (sin_tonearest_test_data): Likewise.
21886 (sin_towardzero_test_data): Likewise.
21887 (sin_downward_test_data): Likewise.
21888 (sin_upward_test_data): Likewise.
21889 (sinh_test_data): Likewise.
21890 (sinh_tonearest_test_data): Likewise.
21891 (sinh_towardzero_test_data): Likewise.
21892 (sinh_downward_test_data): Likewise.
21893 (sinh_upward_test_data): Likewise.
21894 (tan_test_data): Likewise.
21895 (tan_tonearest_test_data): Likewise.
21896 (tan_towardzero_test_data): Likewise.
21897 (tan_downward_test_data): Likewise.
21898 (tan_upward_test_data): Likewise.
21899 (tanh_test_data): Likewise.
21900 (tgamma_test_data): Likewise.
21901 (y0_test_data): Likewise.
21902 (y1_test_data): Likewise.
21903 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21904 (special_real_inputs): Add pi/4.
21905 * sysdeps/i386/fpu/libm-test-ulps: Update.
21906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21907
eb5ad6b9
AZ
219082013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21909
21910 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21911 "longjmp_target" static probes.
21912 (__longjmp): Rename to __longjmp_symbol.
21913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21914 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21915 on which longjmp to generate.
21916 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21917 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21918 probe.
21919 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21920 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21921 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21923 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21924 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21926 __longjmp_symbol based on which __longjmp to generate.
21927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21928 probe.
21929 (setjmp): Rename to setjmp_symbol.
21930 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21931 (_setjmp): Rename to _setjmp_symbol.
21932 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21933 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21934 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21935 which setjmp to generate.
21936 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21937 "longjmp_target" static probes.
21938
d136c6dc
SP
219392013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21940
9298ecba
SP
21941 * benchtests/README: Add note about output arguments.
21942 * benchtests/bench-sincos.c: Remove file.
21943 * benchtests/sincos-inputs: New file.
21944 * scripts/bench.pl: Identify output arguments and define
21945 static variables for them.
21946
232983e9
SP
21947 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21948
d136c6dc
SP
21949 [BZ #15941]
21950 * Makefile (INSTALL): Add install-plain.texi as the primary
21951 dependency.
21952 * manual/install-plain.texi: New file.
21953 * manual/install.texi: Include node directive only for
21954 non-plaintext output.
21955
699ff837
JM
219562013-12-04 Joseph Myers <joseph@codesourcery.com>
21957
ab07cea8
JM
21958 * stdlib/longlong.h: Update from GCC.
21959
699ff837
JM
21960 [BZ #6807]
21961 [BZ #15901]
21962 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21963 * math/w_j0f.c (y0f): Likewise.
21964 * math/w_j0l.c (__y0l): Likewise.
21965 * math/w_j1.c (y1): Likewise.
21966 * math/w_j1f.c (y1f): Likewise.
21967 * math/w_j1l.c (__y1l): Likewise
21968 * math/w_jn.c (yn): Likewise.
21969 * math/w_jnf.c (ynf): Likewise.
21970 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21971 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21972 value for Bessel function domain errors outside _SVID_ mode.
21973 Adjust sign of return value for yn (negative integer, 0).
21974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21975 by zero in return for negative x and set sign appropriately for
21976 negative n.
21977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21979 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21980 expectations in error cases.
21981 (y1_test_data): Likewise.
21982 (yn_test_data): Likewise.
21983 * sysdeps/i386/fpu/libm-test-ulps: Update.
21984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985
5b118558
UW
219862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21987
21988 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21989 "64" to "64-v1". Add "64-v2".
21990 (abi-64-options): Rename to ...
21991 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21992 (abi-64-condition): Rename to ...
21993 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21994 (abi-64-ld-soname): Rename to ...
21995 (abi-64-v1-ld-soname): ... this.
21996 (abi-64-v2-options): Define.
21997 (abi-64-v2-condition): Likewise.
21998 (abi-64-v2-ld-soname): Likewise.
21999 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22000 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22004
61cd8fe4
UW
220052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22006 Alan Modra <amodra@gmail.com>
22007
22008 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22009 New versions for use with the ELFv2 ABI.
22010 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22011 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22012 declaration.
22013 (struct La_ppc64v2_retval): Likewise.
22014 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22015 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22016 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22017 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22018 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22019 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22020 Do not save or restore CR.
22021 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22022 (_dl_profile_resolve): Do no save or restore CR. Support extended
22023 return values for ELFv2 ABI. Fix location of FPR return registers.
22024 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22025 updated values for _CALL_ELF == 2.
22026 (La_regs, La_retval, int_retval): Likewise.
22027
8b8a692c
UW
220282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22029
22030 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22031 (FRAME_MIN_SIZE_PARM): Likewise.
22032 (FRAME_BACKCHAIN): Likewise.
22033 (FRAME_CR_SAVE): Likewise.
22034 (FRAME_LR_SAVE): Likewise.
22035 (FRAME_TOC_SAVE): Likewise.
22036 (FRAME_PARM_SAVE): Likewise.
22037 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22038 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22039 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22040 (call_mcount_parm_offset): New macro.
22041 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22042 (PROF): Use symbolic stack frame offsets.
22043 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22045 Redefine in terms of FRAME_MIN_SIZE.
22046 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22047 (_dl_profile_resolve): Likewise. Update comment.
22048 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22049 symbols stack frame offsets.
22050 (__sigsetjmp): Likewise.
22051 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22052 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22053 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22054 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22055
22056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22057 (FRAME_BACKCHAIN): Remove.
22058 (FRAME_CR_SAVE): Likewise.
22059 (FRAME_LR_SAVE): Likewise.
22060 (FRAME_COMPILER_DW): Likewise.
22061 (FRAME_LINKER_DW): Likewise.
22062 (FRAME_TOC_SAVE): Likewise.
22063 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22064 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22065 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22066 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22068 (CHECK_SP): Use symbolic stack frame offsets.
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22070 zone" instead of caller's parameter save area for temp storage.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22072 Likewise. Also, use symbolic stack frame offsets.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22074 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22075 our own stack frame instead of the caller's.
22076 (__socket): Use symbolic stack frame offsets.
22077
122b66de
UW
220782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22079 Alan Modra <amodra@gmail.com>
22080
22081 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22082 Define.
57f41c40
AS
22083 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22084 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22085 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22086 New function.
22087 (elf_machine_fixup_plt): Call it.
22088 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22089 reloc arguments.
22090 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22092 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22093 r2 before calling target.
22094
696caf1d
UW
220952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22096 Alan Modra <amodra@gmail.com>
22097
22098 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22099 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22100 versions of macros to support ELFv2 ABI.
22101 (LOCALENTRY): New macro.
22102 (ENTRY, EALIGN): Use it.
22103 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22104 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22105 fall through into ENTRY entry point.
22106 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22107 Only define if _CALL_ELF != 2.
22108
22109 (elf_machine_matches_host): Verify ABI version matches.
22110 (RTLD_START): Use LOCALENTRY.
22111 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22112 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22113 (PLT_ENTRY_WORDS): New macro.
22114 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22115 (elf_machine_runtime_setup): Support ELFv2 ABI.
22116 (elf_machine_fixup_plt): Likewise.
22117 (elf_machine_plt_conflict): Likewise.
22118 (resolve_ifunc): Likewise.
22119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22120 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22121 Likewise.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22123 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22125 (makecontext): Support ELFv2 ABI.
22126 * elf/elf.h (EF_PPC64_ABI): Define.
22127
d31beafa
UW
221282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22129
57f41c40
AS
22130 * sysdeps/powerpc/powerpc64/sysdep.h
22131 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22132 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22133 (ENTRY) [ASSEMBLER]: ... but instead here ...
22134 (EALIGN) [ASSEMBLER]: ... and here.
22135 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22136 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22137 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22138 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22139 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22141 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22142 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22144 Use PPC64_LOAD_FUNCPTR.
22145
b525166b
UW
22146 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22147
7ec07d9a
AM
221482013-12-04 Alan Modra <amodra@gmail.com>
22149
22150 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22151 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22152 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22153 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22154
22155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22156 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22157 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22158 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22159 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22160 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22161
5162e7dd
UW
221622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22163
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22165 (__makecontext): Fix incorrect CFI when backtracing out of
22166 context created via makecontext.
22167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22168 (__setcontext): Fix incorrect CFI during switch to new context.
22169 (__novec_setcontext): Likewise.
22170
19e3372b
OB
221712013-12-04 Ondřej Bílka <neleai@seznam.cz>
22172
22173 [BZ #4772]
22174 * time/strptime_l.c (__strptime_internal): Allow modifiers
22175 in strptime.
22176 * time/tst-strptime.c (day_tests): Add testcase.
22177
ecaf142d
SP
221782013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22179
22180 * scripts/bench.pl: Skip over blank lines.
22181
fbf964ae
PE
221822013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22183
22184 [BZ #926]
22185 * manual/time.texi (Calendar Time): Clarify what timezone functions
22186 use.
22187
fa60a674
AZ
221882013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22189
22190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22191
d674f0ef
OB
221922013-12-04 Ondřej Bílka <neleai@seznam.cz>
22193
22194 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22195 implementation.
22196 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22197 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22198 * debug/memset_chk.c (__memset_chk): Likewise.
22199 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22200 * debug/strncpy_chk.c: Likewise.
22201
17dea188
JM
222022013-12-03 Joseph Myers <joseph@codesourcery.com>
22203
749008ff
JM
22204 [BZ #15268]
22205 [BZ #15425]
22206 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22207 (__ieee754_exp): For possibly underflowing results, check size of
22208 result and force underflow exception if required.
22209 * math/auto-libm-test-in: Add more tests of exp.
22210 * math/auto-libm-test-out: Regenerated.
22211 * sysdeps/i386/fpu/libm-test-ulps: Update.
22212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22213
17dea188
JM
22214 [BZ #16283]
22215 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22216 * math/w_exp2f.c (__exp2f): Likewise.
22217 * math/w_exp2l.c (__exp2l): Likewise.
22218 * math/auto-libm-test-in: Do not allow missing errno on exp2
22219 underflow.
22220 * math/auto-libm-test-out: Regenerated.
22221
b20de2c3
OB
222222013-12-03 Ondřej Bílka <neleai@seznam.cz>
22223
22224 [BZ #16274]
22225 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22226 handle filename validation.
22227 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22228 (do_open): Delete.
22229
d8e2dbe3
JM
222302013-12-03 Joseph Myers <joseph@codesourcery.com>
22231
34e16df5
JM
22232 [BZ #6786]
22233 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22234 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22235 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22236 <float.h>.
22237 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22239 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22241 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22243 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22244 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22245 Add more erfc tests.
22246 * math/auto-libm-test-out: Regenerated.
22247 * sysdeps/i386/fpu/libm-test-ulps: Update.
22248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22249
d8e2dbe3
JM
22250 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22251 exp2, expm1, j0 and j1.
22252 * math/auto-libm-test-out: Regenerated.
22253 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22254 (erfc_test_data): Likewise.
22255 (exp_test_data): Likewise.
22256 (exp_tonearest_test_data): Likewise.
22257 (exp_towardzero_test_data): Likewise.
22258 (exp_downward_test_data): Likewise.
22259 (exp_upward_test_data): Likewise.
22260 (exp10_test_data): Likewise.
22261 (exp2_test_data): Likewise.
22262 (expm1_test_data): Likewise.
22263 (j0_test_data): Likewise.
22264 (j1_test_data): Likewise.
22265 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22266 (input_flag_type): Add flag_xfail_rounding.
22267 (input_flags): Add xfail-rounding.
22268 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22269 (output_for_one_input_case): Handle flag_xfail_rounding.
22270 * sysdeps/i386/fpu/libm-test-ulps: Update.
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22272
18d14251
AJ
222732013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22274
3d2e6075 22275 [BZ #16289]
18d14251
AJ
22276 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22277 division by 0.
22278
520d437b
SP
222792013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22280
22281 [BZ #16195]
22282 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22283 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22284 (STAP_PROBE0): New macro.
22285 (STAP_PROBE1): Likewise.
22286 (STAP_PROBE2): Likewise.
22287 (STAP_PROBE3): Likewise.
22288 (STAP_PROBE4): Likewise.
22289
416e0145
OB
222902013-12-02 Ondřej Bílka <neleai@seznam.cz>
22291
22292 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22293
9d17796a
SE
222942013-12-02 Steve Ellcey <sellcey@mips.com>
22295
22296 * benchtests/Makefile (bench): Add sqrt.
22297 (LDLIBS-bench-sqrt): New.
22298 * benchtests/sqrt-input: New.
22299
f524d6a8
PS
223002013-12-02 Pavel Simerda <psimerda@redhat.com>
22301
639a0ef8
PS
22302 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22303 (GAIH_EAI): Likewise.
22304 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22305 (gaih_inet): Likewise.
22306 (getaddrinfo): Don't use GAIH_EAI.
22307
f524d6a8
PS
22308 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22309 (struct gaih): Remove definition.
22310
df3aedaf
SP
223112013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22312
22313 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22314 Use HERRNOP directly.
22315
1ab19dec
AZ
223162013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22317
b42ad38d 22318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22319
176b0c79
JM
223202013-11-30 Joseph Myers <joseph@codesourcery.com>
22321
22322 * math/gen-auto-libm-tests.c (test_functions): Add more
22323 single-argument functions.
22324 (special_fill_pi_2): New function.
22325 (special_fill_minus_pi_2): Likewise.
22326 (special_fill_pi_6): Likewise.
22327 (special_fill_minus_pi_6): Likewise.
22328 (special_fill_pi_3): Likewise.
22329 (special_fill_2pi_3): Likewise.
22330 (special_fill_e): Likewise.
22331 (special_fill_1_e): Likewise.
22332 (special_fill_e_minus_1): Likewise.
22333 (special_real_inputs): Add more special inputs.
22334 (output_for_one_input_case): Do not require ERANGE on underflow to
22335 zero if round-to-nearest result does not underflow to zero, unless
22336 exact results required.
22337 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22338 atan, atanh, cbrt, cos and cosh.
22339 * math/auto-libm-test-out: Regenerated.
22340 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22341 (acos_tonearest_test_data): Likewise.
22342 (acos_towardzero_test_data): Likewise.
22343 (acos_downward_test_data): Likewise.
22344 (acos_upward_test_data): Likewise.
22345 (acosh_test_data): Likewise.
22346 (asin_test_data): Likewise.
22347 (asin_tonearest_test_data): Likewise.
22348 (asin_towardzero_test_data): Likewise.
22349 (asin_upward_test_data): Likewise.
22350 (asinh_test_data): Likewise.
22351 (atan_test_data): Likewise.
22352 (atanh_test_data): Likewise.
22353 (cbrt_test_data): Likewise.
22354 (cos_test_data): Likewise.
22355 (cos_tonearest_test_data): Likewise.
22356 (cos_towardzero_test_data): Likewise.
22357 (cos_downward_test_data): Likewise.
22358 (cos_upward_test_data): Likewise.
22359 (cosh_test_data): Likewise.
22360 (cosh_tonearest_test_data): Likewise.
22361 (cosh_towardzero_test_data): Likewise.
22362 (cosh_downward_test_data): Likewise.
22363 (cosh_upward_test_data): Likewise.
22364 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366
ffb536d0
JM
223672013-11-29 Joseph Myers <joseph@codesourcery.com>
22368
2a77a467
JM
22369 [BZ #6787]
22370 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22371 * math/w_exp10f.c (__exp10f): Likewise.
22372 * math/w_exp10l.c (__exp10l): Likewise.
22373 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22374 errno settings in existing tests.
22375
ea3bc4e8
JM
22376 [BZ #14032]
22377 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22378 precision control set to double precision.
22379 * sysdeps/i386/fpu/w_sqrt.c: New file.
22380 * math/auto-libm-test-in: Add more tests.
22381 * math/auto-libm-test-out: Update.
22382
0712c9d8
JM
22383 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22384 (sqrt_test_tonearest): New function.
22385 (sqrt_towardzero_test_data): New variable.
22386 (sqrt_test_towardzero): New function.
22387 (sqrt_downward_test_data): New variable.
22388 (sqrt_test_downward): New function.
22389 (sqrt_upward_test_data): New variable.
22390 (sqrt_test_upward): New function.
22391 (main): Call the new functions.
22392
ffb536d0
JM
22393 * math/gen-auto-libm-tests.c: New file.
22394 * math/auto-libm-test-in: Likewise.
22395 * math/auto-libm-test-out: New generated file.
22396 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22397 variables.
22398 (%beautify): Add generated representations of zero.
22399 (top level): Set $auto_input and call parse_auto_input.
22400 (beautify): Remove trailing "f" from hex float constants.
22401 (parse_args): Handle XFAIL_TEST.
22402 (convert_condition): New function.
22403 (or_value): Likewise.
22404 (or_cond_value): Likewise.
22405 (generate_testfile): Handle AUTO_TESTS_* lines.
22406 (parse_auto_input): New function.
22407 * math/libm-test.inc (XFAIL_TEST): New macro.
22408 (ERRNO_UNCHANGED): Update value.
22409 (ERRNO_EDOM): Likewise.
22410 (ERRNO_ERANGE): Likewise.
22411 (IGNORE_RESULT): Likewise.
22412 (TEST_COND_flt_32): New macro.
22413 (TEST_COND_dbl_64): Likewise.
22414 (TEST_COND_ldbl_96_intel): Likewise.
22415 (TEST_COND_ldbl_96_m68k): Likewise.
22416 (TEST_COND_ldbl_128): Likewise.
22417 (TEST_COND_ldbl_128ibm): Likewise.
22418 (TEST_COND_long32): Likewise.
22419 (TEST_COND_long64): Likewise.
22420 (TEST_COND_before_rounding): Likewise.
22421 (TEST_COND_after_rounding): Likewise.
22422 (enable_test): Handle XFAIL_TEST flag.
22423 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22424 with finite results.
22425 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22426 auto-libm-test-out.
22427
acd98a8e
AK
224282013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22429 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22430
22431 [BZ #16214]
22432 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22433 __tls_get_addr_internal instead of __tls_get_offset in order to
22434 avoid GOT pointer dependency. Make rtld export
22435 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22436 __tls_get_addr since we are a __tls_get_offset platform.
22437 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22438 GOT pointer being set up before.
22439 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22440
3c1c46a6
JM
224412013-11-28 Joseph Myers <joseph@codesourcery.com>
22442
7475aef5
JM
22443 * manual/math.texi (Errors in Math Functions): Document accuracy
22444 goals.
22445
8bca7cd8
JM
22446 [BZ #15004]
22447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22448 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22450 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22451 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22453 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22454 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22456 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22459 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22463
91a1f3fe
JM
22464 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22465 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22466 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22467 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22468 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22469 Likewise.
22470 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22471 Likewise.
22472 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22473 Likewise.
22474 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22475 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22476 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22477 atomic-feupdateenv and flt-rounds.
22478 * sysdeps/powerpc/nofpu/Versions (libc): Add
22479 __atomic_feholdexcept, __atomic_feclearexcept,
22480 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22481 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22482 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22484 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22485 here.
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22487 Update.
22488
c5df7609
JM
22489 * manual/arith.texi (FP Exceptions): Document that exceptions may
22490 not be raised when matherr is used.
22491 (Math Error Reporting): Document overflow in directed rounding
22492 modes. Document that errno may not be set when finite values are
22493 returned on overflow. Document intent to set errno on underflow
22494 only for underflow to zero.
22495
3c1c46a6
JM
22496 [BZ #16271]
22497 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22498 round-to-nearest then adjust result for other rounding modes.
22499 * include/fenv.h (fegetround): Use libm_hidden_proto.
22500 * math/fegetround.c (fegetround): Use libm_hidden_def.
22501 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22502 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22503 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22505 Likewise.
22506 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22508 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22509 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22510
5a4c6d53
SP
225112013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22512
22513 [BZ #16077]
22514 * nss/Versions (libnss_files): Add
22515 _nss_files_gethostbyname3_r.
22516 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22517 New function.
22518 (HOST_DB_LOOKUP): Remove macro.
22519 (_nss_files_gethostbyname_r): Implement function without the
22520 HOST_DB_LOOKUP macro.
22521 (_nss_files_gethostbyname2_r): Likewise.
22522
897b98ba
OB
225232013-11-28 Ondřej Bílka <neleai@seznam.cz>
22524
22525 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22526
6f476861
UB
225272013-11-26 Uros Bizjak <ubizjak@gmail.com>
22528
22529 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22530 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22531 warning.
22532
bd12ab55
AZ
225332013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22534
22535 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22536 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22537 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22538 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22539 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22540 __fe_nomask_env_priv and attribute_hidden.
22541 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22542 (libc_feupdateenv_test_ppc): Likewise.
22543 (libc_feresetround_ppc): Likewise.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22545 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22546 compat_symbol macro.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22548 (__fe_nomask_env): Likewise.
22549 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22550
52bb6543
OB
225512013-11-26 Ondřej Bílka <neleai@seznam.cz>
22552
22553 * string/Makefile: Remove ifunc tests.
22554 * string/test-string.h: Define TEST_IFUNC.
22555 * string/test-bcopy-ifunc.c: Remove.
22556 * string/test-bzero-ifunc.c: Likewise.
22557 * string/test-memccpy-ifunc.c: Likewise.
22558 * string/test-memchr-ifunc.c: Likewise.
22559 * string/test-memcmp-ifunc.c: Likewise.
22560 * string/test-memcpy-ifunc.c: Likewise.
22561 * string/test-memmem-ifunc.c: Likewise.
22562 * string/test-memmove-ifunc.c: Likewise.
22563 * string/test-mempcpy-ifunc.c: Likewise.
22564 * string/test-memrchr-ifunc.c: Likewise.
22565 * string/test-memset-ifunc.c: Likewise.
22566 * string/test-rawmemchr-ifunc.c: Likewise.
22567 * string/test-stpcpy-ifunc.c: Likewise.
22568 * string/test-stpncpy-ifunc.c: Likewise.
22569 * string/test-strcasecmp-ifunc.c: Likewise.
22570 * string/test-strcasestr-ifunc.c: Likewise.
22571 * string/test-strcat-ifunc.c: Likewise.
22572 * string/test-strchr-ifunc.c: Likewise.
22573 * string/test-strchrnul-ifunc.c: Likewise.
22574 * string/test-strcmp-ifunc.c: Likewise.
22575 * string/test-strcpy-ifunc.c: Likewise.
22576 * string/test-strcspn-ifunc.c: Likewise.
22577 * string/test-strlen-ifunc.c: Likewise.
22578 * string/test-strncasecmp-ifunc.c: Likewise.
22579 * string/test-strncat-ifunc.c: Likewise.
22580 * string/test-strncmp-ifunc.c: Likewise.
22581 * string/test-strncpy-ifunc.c: Likewise.
22582 * string/test-strnlen-ifunc.c: Likewise.
22583 * string/test-strpbrk-ifunc.c: Likewise.
22584 * string/test-strrchr-ifunc.c: Likewise.
22585 * string/test-strspn-ifunc.c: Likewise.
22586 * string/test-strstr-ifunc.c: Likewise.
22587
ab260039 225882013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22589
22590 * benchtests/Makefile: Remove ifunc tests.
22591 * benchtests/bench-string.h: Define TEST_IFUNC.
22592 * benchtests/bench-bcopy-ifunc.c: Remove.
22593 * benchtests/bench-bzero-ifunc.c: Likewise.
22594 * benchtests/bench-memccpy-ifunc.c: Likewise.
22595 * benchtests/bench-memchr-ifunc.c: Likewise.
22596 * benchtests/bench-memcmp-ifunc.c: Likewise.
22597 * benchtests/bench-memcpy-ifunc.c: Likewise.
22598 * benchtests/bench-memmem-ifunc.c: Likewise.
22599 * benchtests/bench-memmove-ifunc.c: Likewise.
22600 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22601 * benchtests/bench-memrchr-ifunc.c: Likewise.
22602 * benchtests/bench-memset-ifunc.c: Likewise.
22603 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22604 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22605 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22606 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22607 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22608 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22609 * benchtests/bench-strcat-ifunc.c: Likewise.
22610 * benchtests/bench-strchr-ifunc.c: Likewise.
22611 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22612 * benchtests/bench-strcmp-ifunc.c: Likewise.
22613 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22614 * benchtests/bench-strcpy-ifunc.c: Likewise.
22615 * benchtests/bench-strcspn-ifunc.c: Likewise.
22616 * benchtests/bench-strlen-ifunc.c: Likewise.
22617 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22618 * benchtests/bench-strncat-ifunc.c: Likewise.
22619 * benchtests/bench-strncmp-ifunc.c: Likewise.
22620 * benchtests/bench-strncpy-ifunc.c: Likewise.
22621 * benchtests/bench-strnlen-ifunc.c: Likewise.
22622 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22623 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22624 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22625 * benchtests/bench-strspn-ifunc.c: Likewise.
22626 * benchtests/bench-strstr-ifunc.c: Likewise.
22627
226282013-11-26 Ondřej Bílka <neleai@seznam.cz>
22629
ab260039
OB
22630 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22631
d1d9eaf4 226322013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22633
d1d9eaf4
OB
22634 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22635 * rt/aio.h: Likewise.
22636 * sysdeps/gnu/bits/utmp.h: Likewise.
22637 * sysdeps/gnu/bits/utmpx.h: Likewise.
22638 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22639 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22640 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22641 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22642 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22643 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22644 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22645 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22646 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22647 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22648 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22650 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22653 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22654 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22655 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22656 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22657 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22658 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22659 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22660 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22661 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22662 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22664 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22665 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22666 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22667 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22668 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22669 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22670 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22671 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22672 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22673 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22674 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22675 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22676 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22677 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22678 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22679 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22680
a7624ed9
CD
226812013-11-25 Carlos O'Donell <carlos@redhat.com>
22682
22683 [BZ #16245]
22684 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22685 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22686
63cfe52b
JM
226872013-11-25 Joseph Myers <joseph@codesourcery.com>
22688
22689 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22691 Likewise.
22692
41e8926a
AZ
226932013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22694
22695 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22696 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22697 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22698 (__fesetround): Remove define.
22699 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22700 rounding and exceptions handling.
22701 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22702 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22703 (__fe_nomask_env): Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22705 __fegetround instead of fegetround.
22706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22708
6851bd4d
RM
227092013-11-21 Roland McGrath <roland@hack.frob.com>
22710
070906ff
RM
22711 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22712 it's there.
22713
6851bd4d
RM
22714 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22715
84ae135d
MI
227162013-11-21 Meador Inge <meadori@codesourcery.com>
22717
22718 [BZ #11157]
22719 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22720 (encrypt_r): Likewise.
22721 * malloc/obstack.h (obstack_free): Likewise.
22722 * posix/unistd.h (encrypt): Likewise.
22723
daf75146
GM
227242013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22725
22726 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22727 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22728 DL_CALL_DT_FINI() that call the functions directly.
22729 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22730 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22731 * elf/dl-fini.c: Likewise.
22732
10ad46bc
OB
227332013-11-20 Ondřej Bílka <neleai@seznam.cz>
22734
22735 * malloc/hooks.c (memalign_check): Add alignment rounding.
22736 * malloc/malloc.c (_mid_memalign): New function.
22737 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22738 Implement by calling _mid_memalign.
22739 * manual/probes.texi (Memory Allocation Probes): Remove
22740 memory_valloc_retry and memory_pvalloc_retry.
22741
f3fd2628
SP
227422013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22743
4712799f
SP
22744 * locale/programs/locarchive.c (open_archive): Add const
22745 qualifier to ARCHIVEFNAME and copy default fname to
22746 DEFAULT_FNAME.
22747
0417b20f
SP
22748 [BZ #15601]
22749 * libio/tst-widetext.input: Rename Oriya to Odia.
22750 * locale/iso-639.def: Likewise.
22751
f3fd2628
SP
22752 * manual/probes.texi (Mathematical Function Probes): Add
22753 documentation for sin, cos, asin and acos probes.
22754 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22755 (__sin32): Add slowasin probe.
22756 (__cos32): Add slowacos probe.
22757 (__mpsin): Add slowsin probe.
22758 (__mpcos): Add slowcos probe.
22759
73c1ce4f
JM
227602013-11-19 Joseph Myers <joseph@codesourcery.com>
22761
22762 [BZ #15483]
22763 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22764 thread-local __sim_exceptions_thread and global
22765 __sim_exceptions_global.
22766 (__sim_disabled_exceptions): Change to thread-local
22767 __sim_disabled_exceptions_thread and global
22768 __sim_disabled_exceptions_global.
22769 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22770 and global __sim_round_mode_global.
22771 (__simulate_exceptions): Use thread-local floating-point state and
22772 set global state from it as needed.
22773 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22774 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22775 __sim_round_mode_thread.
22776 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22777 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22778 and global __sim_exceptions_global.
22779 (__sim_disabled_exceptions): Change to thread-local
22780 __sim_disabled_exceptions_thread and global
22781 __sim_disabled_exceptions_global.
22782 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22783 and global __sim_round_mode_global.
22784 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22785 (SIM_SET_GLOBAL): Likewise.
22786 * sysdeps/powerpc/soft-fp/sfp-machine.h
22787 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22788 __sim_round_mode_thread.
22789 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22790 __sim_disabled_exceptions_thread.
22791 (__sim_exceptions): Change to __sim_exceptions_thread.
22792 (__sim_disabled_exceptions): Change to
22793 __sim_disabled_exceptions_thread.
22794 (__sim_round_mode): Change to __sim_round_mode_thread.
22795 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22796 thread-local floating-point state and set global state from it as
22797 needed.
22798 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22799 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22800 (__sim_disabled_exceptions): Remove extern declaration.
22801 (feenableexcept): Use thread-local floating-point state and set
22802 global state from it as needed.
22803 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22804 extern declaration.
22805 (__sim_disabled_exceptions): Likewise.
22806 (__sim_round_mode): Likewise.
22807 (__fegetenv): Use thread-local floating-point state.
22808 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22809 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22810 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22811 floating-point state and set global state from it as needed.
22812 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22813 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22814 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22815 Likewise.
22816 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22817 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22818 Likewise.
22819 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22820 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22821 Use __sim_round_mode_thread.
22822 * math/test-fenv-tls.c: New file.
22823 * math/Makefile (tests): Add test-fenv-tls.
22824 ($(objpfx)test-fenv-tls): Depend on
22825 $(common-objpfx)nptl/libpthread.so.
22826
b5449b12
AS
228272013-11-19 Andreas Schwab <schwab@suse.de>
22828
22829 * locale/programs/locale.c (show_info): Decode wordarray elements.
22830 * locale/categories.def (LC_MONETARY): Add element for
22831 _NL_MONETARY_CRNCYSTR.
22832 * locale/C-monetary.c (conversion_rate): New variable.
22833 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22834 element.
22835
e186536b
CM
228362013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22837
22838 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22839 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22840
5c349950
PP
228412013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22842
22843 * elf/Makefile (tst-auxv): New test.
22844 * elf/tst-auxv.c: New
22845 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22846
699df45b
JM
228472013-11-18 Joseph Myers <joseph@codesourcery.com>
22848
22849 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22850 (hidden_proto): Caller changed.
22851 (hidden_tls_proto): New macro.
22852 (libc_hidden_tls_proto): Likewise.
22853 (rtld_hidden_tls_proto): Likewise.
22854 (libm_hidden_tls_proto): Likewise.
22855 (libresolv_hidden_tls_proto): Likewise.
22856 (librt_hidden_tls_proto): Likewise.
22857 (libdl_hidden_tls_proto): Likewise.
22858 (libnss_files_hidden_tls_proto): Likewise.
22859 (libnsl_hidden_tls_proto): Likewise.
22860 (libnss_nisplus_hidden_tls_proto): Likewise.
22861 (libutil_hidden_tls_proto): Likewise.
22862
b7589107
OB
228632013-11-18 Ondřej Bílka <neleai@seznam.cz>
22864
22865 [BZ #10253]
22866 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22867 (decompose_rpath): Defer expansion to fillin_rpath.
22868 (_dl_init_paths): Pass linkmap to fillin_rpath.
22869
250c23bd
RS
228702013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22871
22872 * benchtests/Makefile: Add strsep.
22873 * benchtests/bench-strsep.c: New file: strsep benchtest.
22874 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22875
a7931fcf
AS
228762013-11-18 Andreas Schwab <schwab@suse.de>
22877
22878 * locale/programs/locale.c (show_info) [case byte]: Check for
22879 '\377' instead of '\177'.
22880 * locale/C-monetary.c (not_available): Always use "\377".
22881 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22882 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22883 detect unavailable sign_posn locale elements.
22884 * locale/localeconv.c (__localeconv): For grouping and
22885 mon_grouping handle "\177" and "\377" like no grouping.
22886 (INT_ELEM): New macro. Use it to set all numeric members.
22887 * locale/programs/ld-monetary.c (monetary_read)
22888 <tok_mon_grouping>: Normalize single -1 to the empty string.
22889 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22890 Likewise.
22891
728dab0e
OB
228922013-11-07 Ondřej Bílka <neleai@seznam.cz>
22893
22894 [BZ #16055]
22895 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22896 when we match (nil).
22897 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22898
66294491
JM
228992013-11-16 Joseph Myers <joseph@codesourcery.com>
22900
ce665817
JM
22901 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22902 (NO_TEST_INLINE): Update value.
22903 (ERRNO_UNCHANGED): Likewise.
22904 (ERRNO_EDOM): Likewise.
22905 (ERRNO_ERANGE): Likewise.
22906 (IGNORE_RESULT): Likewise.
22907 (check_float_internal): Check signs of NaN results if
22908 TEST_NAN_SIGN used.
22909 (check_complex): Pass TEST_NAN_SIGN flag through to second
22910 check_float_internal call.
22911 (copysign_test_data): Add tests with quiet NaNs as second
22912 argument. Use TEST_NAN_SIGN.
22913 (fabs_test_data): Add test of negative quiet NaN argument. Use
22914 TEST_NAN_SIGN.
22915 (signbit_test_data): Add tests of quiet NaN argument.
22916 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22917
ee1466a9
JM
22918 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22919 $ignore_result.
22920 (parse_args): Handle function results specified as IGNORE.
22921 * math/libm-test.inc (IGNORE_RESULT): New macro.
22922 (check_float_internal): Do not check numerical result if flag
22923 IGNORE_RESULT set.
22924 (check_complex): Pass through IGNORE_RESULT to second
22925 check_float_internal call.
22926 (check_int): Do not check numerical result if flag IGNORE_RESULT
22927 set.
22928 (check_long): Likewise.
22929 (check_bool): Likewise.
22930 (check_longlong): Likewise.
22931 (lrint_test_data): Add tests of infinite and NaN arguments.
22932 (lrint_tonearest_test_data): Likewise.
22933 (lrint_towardzero_test_data): Likewise.
22934 (lrint_downward_test_data): Likewise.
22935 (lrint_upward_test_data): Likewise.
22936 (llrint_test_data): Likewise.
22937 (llrint_tonearest_test_data): Likewise.
22938 (llrint_towardzero_test_data): Likewise.
22939 (llrint_downward_test_data): Likewise.
22940 (llrint_upward_test_data): Likewise.
22941 (lround_test_data): Likewise.
22942 (llround_test_data): Likewise.
22943
14407b7e
JM
22944 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22945 (ERRNO_UNCHANGED): Update value.
22946 (ERRNO_EDOM): Likewise.
22947 (ERRNO_ERANGE): Likewise.
22948 (NO_TEST_INLINE_FLOAT): New macro.
22949 (NO_TEST_INLINE_DOUBLE): Likewise.
22950 (enable_test): New function.
22951 (RUN_TEST_f_f): Check enable_test before running test.
22952 (RUN_TEST_2_f): Likewise.
22953 (RUN_TEST_fff_f): Likewise.
22954 (RUN_TEST_c_f): Likewise.
22955 (RUN_TEST_f_f1): Likewise.
22956 (RUN_TEST_fF_f1): Likewise.
22957 (RUN_TEST_fI_f1): Likewise.
22958 (RUN_TEST_ffI_f1): Likewise.
22959 (RUN_TEST_c_c): Likewise.
22960 (RUN_TEST_cc_c): Likewise.
22961 (RUN_TEST_f_i): Likewise.
22962 (RUN_TEST_f_i_tg): Likewise.
22963 (RUN_TEST_ff_i_tg): Likewise.
22964 (RUN_TEST_f_b): Likewise.
22965 (RUN_TEST_f_b_tg): Likewise.
22966 (RUN_TEST_f_l): Likewise.
22967 (RUN_TEST_f_L): Likewise.
22968 (RUN_TEST_fFF_11): Likewise.
22969 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22970 conditionals.
22971 (cosh_test_data): Likewise.
22972 (exp_test_data): Likewise.
22973 (expm1_test_data): Likewise.
22974 (hypot_test_data): Likewise.
22975 (pow_test_data): Likewise.
22976 (sinh_test_data): Likewise.
22977 (tanh_test_data): Likewise.
22978 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22979 flags argument.
22980
ca07f197
JM
22981 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22982 tests with quiet NaN input and output.
22983 (acosh_test_data): Likewise.
22984 (asin_test_data): Likewise.
22985 (asinh_test_data): Likewise.
22986 (atan_test_data): Likewise.
22987 (atanh_test_data): Likewise.
22988 (atan2_test_data): Likewise.
22989 (cbrt_test_data): Likewise.
22990 (cos_test_data): Likewise.
22991 (cosh_test_data): Likewise.
22992 (erf_test_data): Likewise.
22993 (erfc_test_data): Likewise.
22994 (exp_test_data): Likewise.
22995 (exp10_test_data): Likewise.
22996 (exp2_test_data): Likewise.
22997 (expm1_test_data): Likewise.
22998 (hypot_test_data): Likewise.
22999 (j0_test_data): Likewise.
23000 (j1_test_data): Likewise.
23001 (jn_test_data): Likewise.
23002 (lgamma_test_data): Likewise.
23003 (log_test_data): Likewise.
23004 (log10_test_data): Likewise.
23005 (log1p_test_data): Likewise.
23006 (log2_test_data): Likewise.
23007 (pow_test_data): Likewise.
23008 (scalb_test_data): Likewise.
23009 (sin_test_data): Likewise.
23010 (sincos_test_data): Likewise.
23011 (sinh_test_data): Likewise.
23012 (tan_test_data): Likewise.
23013 (tanh_test_data): Likewise.
23014 (tgamma_test_data): Likewise.
23015 (y0_test_data): Likewise.
23016 (y1_test_data): Likewise.
23017 (yn_test_data): Likewise.
23018
66294491
JM
23019 [BZ #16167]
23020 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23021 argument being NaN and avoid computations with second argument in
23022 that case.
23023 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23024 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23026
1820b143
CL
230272013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23028
23029 * locale/iso-639.def: Add Chitwani Tharu (the).
23030
714bd261
AS
230312013-11-14 Andreas Schwab <schwab@suse.de>
23032
23033 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23034 word instead of empty string.
23035
7ab44563
AZ
230362013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23037
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23039 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23041 (__fe_nomask_env): Likewise.
23042
e8470ea2
SE
230432013-11-13 Steve Ellcey <sellcey@mips.com>
23044
23045 * benchtests/bench-timing.h: Include time.h.
23046
17c1d9f0
L
230472013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23048
23049 [BZ #15997]
23050 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23051 to 3.4.0 for x32.
23052 * sysdeps/unix/sysv/linux/configure: Regenerated.
23053
9310c284
JM
230542013-11-13 Joseph Myers <joseph@codesourcery.com>
23055
23056 [BZ #16151]
23057 * stdlib/strtod_l.c (round_and_return): Do not consider
23058 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23059 exponent one less than half the least subnormal exponent.
23060 * stdlib/test-strtod-round-data: Add more tests.
23061 * stdlib/tst-strtod-round.c (tests): Regenerated.
23062
7a2ad8cf
AZ
230632013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23064
23065 [BZ #14143]
23066 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23067 (__fe_mask_env): Likewise.
23068 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23069 libm_hidden_proto and add function prototype.
23070 (__fe_mask_env): Add function prototype.
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23072 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23074 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23076 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23077
50727aa7
MS
230782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23079
b2f386c1 23080 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23081 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23082
a615be46
MS
230832013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23084
23085 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23086 of htab_find_slot().
23087
7ddace62
DM
230882013-11-11 David S. Miller <davem@davemloft.net>
23089
23090 [BZ #16150]
23091 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23092 symbol in the non-vis3 case in static builds.
23093 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23094 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23095 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23096 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23097
9182aa67
JK
230982013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23099
23100 [BZ #387]
23101 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23102 it is empty.
23103
450a2e2d
AZ
231042013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23105
b2f386c1
SP
23106 * benchtests/Makefile: Add bench-strtod.
23107 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23108
8ec3f656
AS
231092013-11-11 Andreas Schwab <schwab@suse.de>
23110
23111 [BZ #16153]
23112 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23113 terminating NUL in key length.
23114
76a9b998
AZ
231152013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23116
23117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23118 Add artificial ODP entry for vDSO symbol for PPC64.
23119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23120 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23121
e4368156
OB
231222013-11-07 Ondřej Bílka <neleai@seznam.cz>
23123
23124 [BZ #15374]
23125 * nss/getent.c (services_keys): Recognize services starting with digit.
23126
8d6bb57c
DM
231272013-11-06 David S. Miller <davem@davemloft.net>
23128
23129 [BZ #15985]
23130 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23131 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23132
e256c421
WN
231332013-11-06 Will Newton <will.newton@linaro.org>
23134
23135 * manual/memory.texi (Malloc Examples): Remove register
23136 keyword from examples.
23137
f6e12daa 231382013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23139
f6e12daa 23140 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23141
9d880655
AS
231422013-11-04 Joseph Myers <joseph@codesourcery.com>
23143
fd2f9486 23144 [BZ #6981]
9d880655
AS
23145 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23146 depending on [__GCC_IEC_559 > 0].
23147 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23148 depending on [__GCC_IEC_559_COMPLEX > 0].
23149
ae129d3c
CL
231502013-11-03 Chris Leonard <cjl@sugarlabs.org>
23151
23152 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23153 to iso-639.def.
23154
4a15c2a4 231552013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23156
23157 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23158
8b35e35d
OB
231592013-11-01 Ondřej Bílka <neleai@seznam.cz>
23160
23161 [BZ #16112]
23162 * malloc/malloc (malloc_info): Do not handle first bin as
23163 special case.
23164
1d70fd6c
CL
231652013-11-01 Chris Leonard <cjl@sugarlabs.org>
23166
23167 * locale/iso-639.def: Add Central Nahuatl (nhn).
23168
8c5c2600
BH
231692013-11-01 Bruno Haible <bruno@clisp.org>
23170
23171 [BZ #7003]
23172 * manual/math.texi (BSD Random): Specify range upper bound as
23173 in POSIX.
23174
da5579c2
CL
231752013-10-31 Chris Leonard <cjl@sugarlabs.org>
23176
23177 * locale/iso-639.def: Add Meadow Mari (mhr).
23178
5d30d853
OB
231792013-10-31 Ondřej Bílka <neleai@seznam.cz>
23180
23181 [BZ #14752], [BZ #15763]
23182 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23183 Validate name.
23184 * rt/tst_shm.c: Add test for escaping directory.
23185
a4966c61
AS
231862013-10-31 Andreas Schwab <schwab@suse.de>
23187
8a43e768 23188 [BZ #15917]
a4966c61
AS
23189 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23190 followed by 'x' as part of digit sequence.
23191 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23192
28d708c4
MAP
231932013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23194
23195 [BZ #16037]
23196 * configure.ac: allow GNU Make 4.0 and greater.
23197 * configure: Regenerated.
23198
a56ee40b
WN
231992013-10-30 Will Newton <will.newton@linaro.org>
23200
23201 [BZ #16038]
23202 * malloc/hooks.c (memalign_check): Limit alignment to the
23203 maximum representable power of two.
23204 * malloc/malloc.c (__libc_memalign): Likewise.
23205 * malloc/tst-memalign.c (do_test): Add test for very
23206 large alignment values.
23207 * malloc/tst-posix_memalign.c (do_test): Likewise.
23208
c6e4925d
OB
232092013-10-30 Ondřej Bílka <neleai@seznam.cz>
23210
23211 [BZ #11087]
23212 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23213 (munmap_chunk): Likewise.
23214 (mremap_chunk): Likewise.
23215
232162013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23217
8a43e768 23218 [BZ #15799]
bbea82f7
OB
23219 * stdlib/div.c (div): Remove obsolete code.
23220 * stdlib/ldiv.c (ldiv): Likewise.
23221 * stdlib/lldiv.c (lldiv): Likewise.
23222
977f4b31
SP
232232013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23224
23225 [BZ #16071]
23226 * nss/nss_files/files-XXX.c (get_contents_ret): New
23227 enumerator.
23228 (get_contents): New function.
23229 (internal_getent): Use it. Expand size of LINEBUFLEN.
23230
cb8a6dbd
MF
232312013-10-30 Mike Frysinger <vapier@gentoo.org>
23232
23233 * configure.in: Moved to ...
23234 * configure.ac: ... here. Change reference to configure.in
23235 to configure.ac.
23236 * sysdeps/arm/preconfigure.ac: ... here.
23237 configure.in to configure.ac.
23238 * sysdeps/gnu/configure.in: Moved to ...
23239 * sysdeps/gnu/configure.ac: ... here.
23240 * sysdeps/i386/configure.in: Moved to ...
23241 * sysdeps/i386/configure.ac: ... here.
23242 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23243 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23244 * sysdeps/mach/configure.in: Moved to ...
23245 * sysdeps/mach/configure.ac: ... here.
23246 * sysdeps/mach/hurd/configure.in: Moved to ...
23247 * sysdeps/mach/hurd/configure.ac: ... here.
23248 * sysdeps/powerpc/configure.in: Moved to ...
23249 * sysdeps/powerpc/configure.ac: ... here.
23250 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23251 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23252 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23253 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23254 * sysdeps/s390/s390-32/configure.in: Moved to ...
23255 * sysdeps/s390/s390-32/configure.ac: ... here.
23256 * sysdeps/s390/s390-64/configure.in: Moved to ...
23257 * sysdeps/s390/s390-64/configure.ac: ... here.
23258 * sysdeps/sh/configure.in: Moved to ...
23259 * sysdeps/sh/configure.ac: ... here.
23260 * sysdeps/sparc/configure.in: Moved to ...
23261 * sysdeps/sparc/configure.ac: ... here.
23262 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23263 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23264 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23265 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23266 * sysdeps/x86_64/configure.in: Moved to ...
23267 * sysdeps/x86_64/configure.ac: ... here.
23268 * sysdeps/x86_64/preconfigure.in: Moved to ...
23269 * sysdeps/x86_64/preconfigure.ac: ... here.
23270 * aclocal.m4: Change reference to configure.in to configure.ac.
23271 * config.h.in: Likewise.
23272 * manual/install.texi: Likewise.
23273 * manual/maint.texi: Likewise.
23274 * Makefile: Likewise.
23275 * malloc/Makefile: Likewise.
23276 * nscd/Makefile: Likewise.
23277 * Makeconfig: Change reference to configure.in and
23278 preconfigure.in to configure.ac and preconfigure.ac
23279 respectively.
23280 * INSTALL: Regenerated.
23281 * configure: Likewise.
23282 * sysdeps/gnu/configure: Likewise.
23283 * sysdeps/i386/configure: Likewise.
23284 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23285 * sysdeps/mach/configure: Likewise.
23286 * sysdeps/mach/hurd/configure: Likewise.
23287 * sysdeps/powerpc/configure: Likewise.
23288 * sysdeps/powerpc/powerpc32/configure: Likewise.
23289 * sysdeps/powerpc/powerpc64/configure: Likewise.
23290 * sysdeps/s390/s390-32/configure: Likewise.
23291 * sysdeps/s390/s390-64/configure: Likewise.
23292 * sysdeps/sh/configure: Likewise.
23293 * sysdeps/sparc/configure: Likewise.
23294 * sysdeps/unix/sysv/linux/configure: Likewise.
23295 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23296 * sysdeps/x86_64/configure: Likewise.
23297 * sysdeps/x86_64/preconfigure: Likewise.
23298
36a4953a
AS
232992013-10-29 Andreas Schwab <schwab@suse.de>
23300
23301 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23302
c79a1204
SP
233032013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23304
dfa1b402
SP
23305 * benchtests/pow-inputs: Add new inputs.
23306
54f73d9c
SP
23307 * benchtests/exp-inputs: Add new inputs.
23308
c79a1204
SP
23309 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23310 conditional check for return value.
23311 (__cos32): Likewise.
23312
67beb545 233132013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23314
23315 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23316 to provide a boost for large inputs with word alignment.
23317 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23318 implementation based on optimized PPC64 strcpy.
23319 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23320 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23321 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23322 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23323
151659f6
OB
233242013-10-25 Ondřej Bílka <neleai@seznam.cz>
23325
482a077e 23326 [BZ #2801]
151659f6
OB
23327 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23328
10b0f26b
OB
233292013-10-25 Ondřej Bílka <neleai@seznam.cz>
23330
23331 [BZ #14876]
23332 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23333 * time/tst-strptime.c (day_tests): Add testcase.
23334
ca42d35e
OB
233352013-10-25 Ondřej Bílka <neleai@seznam.cz>
23336
482a077e 23337 [BZ #14029]
ca42d35e
OB
23338 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23339
52e6d801
FB
233402013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23341
23342 [BZ #16074]
23343 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23344 MAP_FAILED on error.
23345
7cbcdb36
SP
233462013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23347
23348 [BZ #16072]
23349 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23350 heap for large requests.
23351
894f3f10
AM
233522013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23353
23354 [BZ #9954]
23355 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23356 result if the result has no associated interface.
23357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23358 interface for all 127.X.Y.Z addresses.
23359
b85545a6
CL
233602013-10-24 Chris Leonard <cjl@sugarlabs.org>
23361
23362 * locale/iso-639.def: Add Ligurian (lij)
23363
d1f23d46
OB
233642013-10-21 Ondřej Bílka <neleai@seznam.cz>
23365
23366 [BZ #15825]
23367 * sunrpc/rpc_main.c: Document rpcgen -5.
23368
4db5b08f
MS
233692013-10-19 Michael Stahl <mstahl@redhat.com>
23370
23371 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23372
a471e96a
OB
233732013-10-19 Ondřej Bílka <neleai@seznam.cz>
23374
d1f23d46 23375 [BZ #10278]
a471e96a
OB
23376 * posix/glob.c: Match only directories when trailing slash is present.
23377 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23378 (main): Add testcase.
23379
45c30c61
OB
233802013-10-19 Ondřej Bílka <neleai@seznam.cz>
23381
23382 [BZ #15670]
23383 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23384
484c12fb
CD
233852013-10-18 Carlos O'Donell <carlos@redhat.com>
23386
3d7dc513
CD
23387 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23388 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23389 AUTH_DES and cindex for FIPS 140-2.
23390 (DES Encryption): Add cindex FIPS 46-3.
23391
484c12fb
CD
23392 * locale/locarchive.h (struct locarhandle): Add fname.
23393 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23394 if an optional argument was specified to --list-archive,
23395 otherwise NULL.
23396 * locale/programs/locarchive.c (show_archive_content): Take new
23397 argument fname and pass it via ah.fname to open_archive.
23398 * locale/programs/localedef.h: Update decl.
23399 (open_archive): If AH->fname is non-null, open that file
23400 rather than the default file name, and don't ignore ENOENT.
23401 (create_archive): Set AH.fname to NULL.
23402 (delete_locales_from_archive): Likewise.
23403 (add_locales_to_archive): Likewise.
23404 * locale/programs/locfile.c (write_all_categories): Likewise.
23405
3c8325fb
JM
234062013-10-18 Joseph Myers <joseph@codesourcery.com>
23407 Aldy Hernandez <aldyh@redhat.com>
23408
23409 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23410 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23411 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23412 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23413 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23416 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23417 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23418 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23419 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23420 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23421 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23422 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23423 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23424 Likewise.
23425 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23426 Likewise.
23427 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23428 Likewise.
23429 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23430 Likewise.
23431 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23432 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23433 Likewise.
23434 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23435 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23436 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23437 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23438 Likewise.
23439 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23440 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23441 * sysdeps/powerpc/preconfigure: Likewise.
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23443 Likewise.
23444 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23445 Replace contents of file by #include of <fenv_libc.h>.
23446 * sysdeps/powerpc/soft-fp/sfp-machine.h
23447 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23448 and <sys/prctl.h>.
23449 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23462 Allow copysignl PLT reference to be missing.
23463
5abe0682
RS
234642013-10-18 Richard Sandiford <richard@codesourcery.com>
23465 Joseph Myers <joseph@codesourcery.com
23466
23467 [BZ #15948]
23468 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23469 single character.
23470 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23471
c7738d08
SP
234722013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23473
23474 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23475 * elf/tst-tls1.c: Likewise.
23476 * elf/tst-tls10.h: Likewise.
23477 * elf/tst-tls14.c: Likewise.
23478 * elf/tst-tls2.c: Likewise.
23479 * elf/tst-tls3.c: Likewise.
23480 * elf/tst-tls4.c: Likewise.
23481 * elf/tst-tls5.c: Likewise.
23482 * elf/tst-tls6.c: Likewise.
23483 * elf/tst-tls7.c: Likewise.
23484 * elf/tst-tls8.c: Likewise.
23485 * elf/tst-tls9.c: Likewise.
23486 * elf/tst-tlsmod1.c: Likewise.
23487 * elf/tst-tlsmod13.c: Likewise.
23488 * elf/tst-tlsmod13a.c: Likewise.
23489 * elf/tst-tlsmod14a.c: Likewise.
23490 * elf/tst-tlsmod16a.c: Likewise.
23491 * elf/tst-tlsmod16b.c: Likewise.
23492 * elf/tst-tlsmod2.c: Likewise.
23493 * elf/tst-tlsmod3.c: Likewise.
23494 * elf/tst-tlsmod4.c: Likewise.
23495 * elf/tst-tlsmod5.c: Likewise.
23496 * elf/tst-tlsmod6.c: Likewise.
23497
0bfcf2c7
OB
234982013-10-18 Ondřej Bílka <neleai@seznam.cz>
23499
23500 [BZ #12486]
23501 * malloc/malloc.c: remove checks for statistics.
23502
264aad1e
OB
235032013-10-17 Ondřej Bílka <neleai@seznam.cz>
23504
23505 [BZ #15277]
23506 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23507 * inet/tst-network.c: Add testcase.
23508
b957ced8
AS
235092013-10-17 Andreas Schwab <schwab@suse.de>
23510
23511 [BZ #15218]
23512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23513 to determine canonical name.
23514
c5d5d574
OB
235152013-10-17 Ondřej Bílka <neleai@seznam.cz>
23516
23517 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23518 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23541 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23542 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23575
e5c2c2d0
JM
235762013-10-17 Joseph Myers <joseph@codesourcery.com>
23577
23578 [BZ #16041]
23579 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23580 make result into a quiet NaN.
23581
51ca9e29
JM
235822013-10-16 Joseph Myers <joseph@codesourcery.com>
23583
23584 * soft-fp/adddf3.c: Fix horizontal whitespace.
23585 * soft-fp/addsf3.c: Likewise.
23586 * soft-fp/addtf3.c: Likewise.
23587 * soft-fp/divdf3.c: Likewise.
23588 * soft-fp/divsf3.c: Likewise.
23589 * soft-fp/divtf3.c: Likewise.
23590 * soft-fp/double.h: Likewise.
23591 * soft-fp/eqdf2.c: Likewise.
23592 * soft-fp/eqsf2.c: Likewise.
23593 * soft-fp/eqtf2.c: Likewise.
23594 * soft-fp/extenddftf2.c: Likewise.
23595 * soft-fp/extended.h: Likewise.
23596 * soft-fp/extendsfdf2.c: Likewise.
23597 * soft-fp/extendsftf2.c: Likewise.
23598 * soft-fp/extendxftf2.c: Likewise.
23599 * soft-fp/fixdfdi.c: Likewise.
23600 * soft-fp/fixdfsi.c: Likewise.
23601 * soft-fp/fixdfti.c: Likewise.
23602 * soft-fp/fixsfdi.c: Likewise.
23603 * soft-fp/fixsfsi.c: Likewise.
23604 * soft-fp/fixsfti.c: Likewise.
23605 * soft-fp/fixtfdi.c: Likewise.
23606 * soft-fp/fixtfsi.c: Likewise.
23607 * soft-fp/fixtfti.c: Likewise.
23608 * soft-fp/fixunsdfdi.c: Likewise.
23609 * soft-fp/fixunsdfsi.c: Likewise.
23610 * soft-fp/fixunsdfti.c: Likewise.
23611 * soft-fp/fixunssfdi.c: Likewise.
23612 * soft-fp/fixunssfsi.c: Likewise.
23613 * soft-fp/fixunssfti.c: Likewise.
23614 * soft-fp/fixunstfdi.c: Likewise.
23615 * soft-fp/fixunstfsi.c: Likewise.
23616 * soft-fp/fixunstfti.c: Likewise.
23617 * soft-fp/floatdidf.c: Likewise.
23618 * soft-fp/floatdisf.c: Likewise.
23619 * soft-fp/floatditf.c: Likewise.
23620 * soft-fp/floatsidf.c: Likewise.
23621 * soft-fp/floatsisf.c: Likewise.
23622 * soft-fp/floatsitf.c: Likewise.
23623 * soft-fp/floattidf.c: Likewise.
23624 * soft-fp/floattisf.c: Likewise.
23625 * soft-fp/floattitf.c: Likewise.
23626 * soft-fp/floatundidf.c: Likewise.
23627 * soft-fp/floatundisf.c: Likewise.
23628 * soft-fp/floatunditf.c: Likewise.
23629 * soft-fp/floatunsidf.c: Likewise.
23630 * soft-fp/floatunsisf.c: Likewise.
23631 * soft-fp/floatunsitf.c: Likewise.
23632 * soft-fp/floatuntidf.c: Likewise.
23633 * soft-fp/floatuntisf.c: Likewise.
23634 * soft-fp/floatuntitf.c: Likewise.
23635 * soft-fp/fmadf4.c: Likewise.
23636 * soft-fp/fmasf4.c: Likewise.
23637 * soft-fp/fmatf4.c: Likewise.
23638 * soft-fp/gedf2.c: Likewise.
23639 * soft-fp/gesf2.c: Likewise.
23640 * soft-fp/getf2.c: Likewise.
23641 * soft-fp/ledf2.c: Likewise.
23642 * soft-fp/lesf2.c: Likewise.
23643 * soft-fp/letf2.c: Likewise.
23644 * soft-fp/muldf3.c: Likewise.
23645 * soft-fp/mulsf3.c: Likewise.
23646 * soft-fp/multf3.c: Likewise.
23647 * soft-fp/negdf2.c: Likewise.
23648 * soft-fp/negsf2.c: Likewise.
23649 * soft-fp/negtf2.c: Likewise.
23650 * soft-fp/op-1.h: Likewise.
23651 * soft-fp/op-2.h: Likewise.
23652 * soft-fp/op-4.h: Likewise.
23653 * soft-fp/op-8.h: Likewise.
23654 * soft-fp/op-common.h: Likewise.
23655 * soft-fp/quad.h: Likewise.
23656 * soft-fp/single.h: Likewise.
23657 * soft-fp/soft-fp.h: Likewise.
23658 * soft-fp/sqrtdf2.c: Likewise.
23659 * soft-fp/sqrtsf2.c: Likewise.
23660 * soft-fp/sqrttf2.c: Likewise.
23661 * soft-fp/subdf3.c: Likewise.
23662 * soft-fp/subsf3.c: Likewise.
23663 * soft-fp/subtf3.c: Likewise.
23664 * soft-fp/truncdfsf2.c: Likewise.
23665 * soft-fp/trunctfdf2.c: Likewise.
23666 * soft-fp/trunctfsf2.c: Likewise.
23667 * soft-fp/trunctfxf2.c: Likewise.
23668 * soft-fp/unorddf2.c: Likewise.
23669 * soft-fp/unordsf2.c: Likewise.
23670 * soft-fp/unordtf2.c: Likewise.
23671
9ebb0332
JM
236722013-10-15 Joseph Myers <joseph@codesourcery.com>
23673
23674 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23675 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23676
4b1a6d8b
OB
236772013-10-15 Ondřej Bílka <neleai@seznam.cz>
23678
23679 * elf/dl-libc.c: Clear initfini list after freeing.
23680
1e145589
JM
236812013-10-14 Joseph Myers <joseph@codesourcery.com>
23682
23683 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23684 * soft-fp/addsf3.c: Likewise.
23685 * soft-fp/addtf3.c: Likewise.
23686 * soft-fp/divdf3.c: Likewise.
23687 * soft-fp/divsf3.c: Likewise.
23688 * soft-fp/divtf3.c: Likewise.
23689 * soft-fp/double.h: Likewise.
23690 * soft-fp/eqdf2.c: Likewise.
23691 * soft-fp/eqsf2.c: Likewise.
23692 * soft-fp/eqtf2.c: Likewise.
23693 * soft-fp/extenddftf2.c: Likewise.
23694 * soft-fp/extended.h: Likewise.
23695 * soft-fp/extendsfdf2.c: Likewise.
23696 * soft-fp/extendsftf2.c: Likewise.
23697 * soft-fp/extendxftf2.c: Likewise.
23698 * soft-fp/fixdfdi.c: Likewise.
23699 * soft-fp/fixdfsi.c: Likewise.
23700 * soft-fp/fixdfti.c: Likewise.
23701 * soft-fp/fixsfdi.c: Likewise.
23702 * soft-fp/fixsfsi.c: Likewise.
23703 * soft-fp/fixsfti.c: Likewise.
23704 * soft-fp/fixtfdi.c: Likewise.
23705 * soft-fp/fixtfsi.c: Likewise.
23706 * soft-fp/fixtfti.c: Likewise.
23707 * soft-fp/fixunsdfdi.c: Likewise.
23708 * soft-fp/fixunsdfsi.c: Likewise.
23709 * soft-fp/fixunsdfti.c: Likewise.
23710 * soft-fp/fixunssfdi.c: Likewise.
23711 * soft-fp/fixunssfsi.c: Likewise.
23712 * soft-fp/fixunssfti.c: Likewise.
23713 * soft-fp/fixunstfdi.c: Likewise.
23714 * soft-fp/fixunstfsi.c: Likewise.
23715 * soft-fp/fixunstfti.c: Likewise.
23716 * soft-fp/floatdidf.c: Likewise.
23717 * soft-fp/floatdisf.c: Likewise.
23718 * soft-fp/floatditf.c: Likewise.
23719 * soft-fp/floatsidf.c: Likewise.
23720 * soft-fp/floatsisf.c: Likewise.
23721 * soft-fp/floatsitf.c: Likewise.
23722 * soft-fp/floattidf.c: Likewise.
23723 * soft-fp/floattisf.c: Likewise.
23724 * soft-fp/floattitf.c: Likewise.
23725 * soft-fp/floatundidf.c: Likewise.
23726 * soft-fp/floatundisf.c: Likewise.
23727 * soft-fp/floatunsidf.c: Likewise.
23728 * soft-fp/floatunsisf.c: Likewise.
23729 * soft-fp/floatuntidf.c: Likewise.
23730 * soft-fp/floatuntisf.c: Likewise.
23731 * soft-fp/floatuntitf.c: Likewise.
23732 * soft-fp/fmadf4.c: Likewise.
23733 * soft-fp/fmasf4.c: Likewise.
23734 * soft-fp/fmatf4.c: Likewise.
23735 * soft-fp/gedf2.c: Likewise.
23736 * soft-fp/gesf2.c: Likewise.
23737 * soft-fp/getf2.c: Likewise.
23738 * soft-fp/ledf2.c: Likewise.
23739 * soft-fp/lesf2.c: Likewise.
23740 * soft-fp/letf2.c: Likewise.
23741 * soft-fp/muldf3.c: Likewise.
23742 * soft-fp/mulsf3.c: Likewise.
23743 * soft-fp/multf3.c: Likewise.
23744 * soft-fp/negdf2.c: Likewise.
23745 * soft-fp/negsf2.c: Likewise.
23746 * soft-fp/negtf2.c: Likewise.
23747 * soft-fp/op-1.h: Likewise.
23748 * soft-fp/op-2.h: Likewise.
23749 * soft-fp/op-4.h: Likewise.
23750 * soft-fp/op-8.h: Likewise.
23751 * soft-fp/op-common.h: Likewise.
23752 * soft-fp/quad.h: Likewise.
23753 * soft-fp/single.h: Likewise.
23754 * soft-fp/soft-fp.h: Likewise.
23755 * soft-fp/sqrtdf2.c: Likewise.
23756 * soft-fp/sqrtsf2.c: Likewise.
23757 * soft-fp/sqrttf2.c: Likewise.
23758 * soft-fp/subdf3.c: Likewise.
23759 * soft-fp/subsf3.c: Likewise.
23760 * soft-fp/subtf3.c: Likewise.
23761 * soft-fp/truncdfsf2.c: Likewise.
23762 * soft-fp/trunctfdf2.c: Likewise.
23763 * soft-fp/trunctfsf2.c: Likewise.
23764 * soft-fp/trunctfxf2.c: Likewise.
23765 * soft-fp/unorddf2.c: Likewise.
23766 * soft-fp/unordsf2.c: Likewise.
23767 * soft-fp/unordtf2.c: Likewise.
23768
17c48a60
OB
237692013-10-14 Ondřej Bílka <neleai@seznam.cz>
23770
23771 [BZ #15672]
23772 * misc/error.c (error_tail): Fix possible buffer overflow.
23773
cabba934
OB
237742013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23775
23776 [BZ #13028]
23777 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23778 address.
23779
94bf958a
PM
237802013-10-14 P. J. McDermott <pj@pehjota.net>
23781
23782 [BZ #832]
23783 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23784 testing pipefail option.
23785
71b4dea7
JM
237862013-10-12 Joseph Myers <joseph@codesourcery.com>
23787
23788 * soft-fp/double.h: Indent preprocessor directives inside #if.
23789 * soft-fp/extended.h: Likewise.
23790 * soft-fp/op-2.h: Likewise.
23791 * soft-fp/op-4.h: Likewise.
23792 * soft-fp/op-common.h: Likewise.
23793 * soft-fp/quad.h: Likewise.
23794 * soft-fp/single.h: Likewise.
23795 * soft-fp/soft-fp.h: Likewise.
23796
55602758
YC
237972013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23798
23799 * iconv/iconv_prog.c: Fix typos.
23800 * stdio-common/psiginfo-data.h: Likewise.
23801
9cd83302
RT
238022013-10-12 Reuben Thomas <rrt@sc3d.org>
23803
23804 [BZ #15764]
23805 * locale/setlocale.c: Fix typo.
23806
99fd9f47
JM
238072013-10-12 Joseph Myers <joseph@codesourcery.com>
23808
b7ea74f0
JM
23809 [BZ #16036]
23810 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23811 signaling NaN arguments.
23812 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23813 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23814
8a509447
JM
23815 [BZ #14910]
23816 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23817 unordered operands.
23818 * soft-fp/gesf2.c (__gesf2): Likewise.
23819 * soft-fp/getf2.c (__getf2): Likewise.
23820 * soft-fp/ledf2.c (__ledf2): Likewise.
23821 * soft-fp/lesf2.c (__lesf2): Likewise.
23822 * soft-fp/letf2.c (__letf2): Likewise.
23823
98998e9f
JM
23824 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23825 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23826 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23827 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23828 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23829 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23830 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23831 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23832 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23833 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23834 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23835 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23836 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23837 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23838 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23839 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23840 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23841 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23842 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23843 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23844 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23845 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23846 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23847 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23848 * soft-fp/floattidf.c (__floattidf): Likewise.
23849 * soft-fp/floattisf.c (__floattisf): Likewise.
23850 * soft-fp/floattitf.c (__floattitf): Likewise.
23851 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23852 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23853 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23854 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23855 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23856 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23857 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23858 * soft-fp/gesf2.c (__gesf2): Likewise.
23859 * soft-fp/getf2.c (__getf2): Likewise.
23860 * soft-fp/ledf2.c (__ledf2): Likewise.
23861 * soft-fp/lesf2.c (__lesf2): Likewise.
23862 * soft-fp/letf2.c (__letf2): Likewise.
23863
8edc4a11
JM
23864 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23865 Undefine and redefine.
23866 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23867 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23868 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23869 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23870 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23871 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23872 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23873 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23874 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23875 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23876 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23877 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23878 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23879 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23880 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23881
8399acaf
JM
23882 [BZ #16032]
23883 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23884 without decrementing exponent if mantissa >= that for the
23885 denominator, not >.
23886 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23887 denominator, not >. Decrement exponent in < case instead of
23888 incrementing in >= case.
23889 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23890 without decrementing exponent if mantissa >= that for the
23891 denominator, not >.
23892
99fd9f47
JM
23893 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23894 computing saturated result for unsigned overflow.
23895
10e1cf6b
SP
238962013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23897 Jeff Law <law@redhat.com>
23898
23899 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23900 (atan2Mp): Add systemtap probe marker.
23901 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23902 (__ieee754_log): Add systemtap probe marker.
23903 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23904 (atanMp): Add systemtap probe marker.
23905 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23906 (tanMp): Add systemtap probe marker.
23907 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23908 (__slowexp): Add systemtap probe marker.
23909 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23910 (__slowpow): Add systemtap probe marker.
23911 * manual/probes.texi: Document probes.
23912
3d110c7c
EB
239132013-10-11 Eric Biggers <ebiggers3@gmail.com>
23914
23915 [BZ #15362]
23916 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23917 written.
23918 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23919 written.
23920 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23921 written to buffer but not flushed.
23922 * libio/iofwrite_u.c: Likewise.
23923 * libio/iopadn.c: Return bytes returned even if EOF was
23924 encountered.
23925 * libio/iowpadn.c: Likewise.
23926 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23927 if _IO_padn does not write the whole buffer.
23928 [!COMPILE_WPRINTF] (PAD): Likewise.
23929
75b4202a
DM
239302013-10-10 David S. Miller <davem@davemloft.net>
23931
23932 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23933 directory block.
23934
6c6352e6
JM
239352013-10-10 Joseph Myers <joseph@codesourcery.com>
23936
33b853c3
JM
23937 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23938 instead of FSF address.
23939 * soft-fp/fixdfti.c: Likewise.
23940 * soft-fp/fixsfti.c: Likewise.
23941 * soft-fp/fixtfti.c: Likewise.
23942 * soft-fp/fixunsdfti.c: Likewise.
23943 * soft-fp/fixunssfti.c: Likewise.
23944 * soft-fp/fixunstfti.c: Likewise.
23945 * soft-fp/floattidf.c: Likewise.
23946 * soft-fp/floattisf.c: Likewise.
23947 * soft-fp/floattitf.c: Likewise.
23948 * soft-fp/floatuntidf.c: Likewise.
23949 * soft-fp/floatuntisf.c: Likewise.
23950 * soft-fp/floatuntitf.c: Likewise.
23951 * soft-fp/trunctfxf2.c: Likewise.
23952
6c6352e6
JM
23953 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23954 * soft-fp/fixdfti.c: Likewise.
23955 * soft-fp/fixsfti.c: Likewise.
23956 * soft-fp/fixtfti.c: Likewise.
23957 * soft-fp/fixunsdfti.c: Likewise.
23958 * soft-fp/fixunssfti.c: Likewise.
23959 * soft-fp/fixunstfti.c: Likewise.
23960 * soft-fp/floattidf.c: Likewise.
23961 * soft-fp/floattisf.c: Likewise.
23962 * soft-fp/floattitf.c: Likewise.
23963 * soft-fp/floatuntidf.c: Likewise.
23964 * soft-fp/floatuntisf.c: Likewise.
23965 * soft-fp/floatuntitf.c: Likewise.
23966 * soft-fp/trunctfxf2.c: Likewise.
23967
3bf78b71
DM
239682013-10-10 David S. Miller <davem@davemloft.net>
23969
23970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23971
6f10289e
JM
239722013-10-10 Joseph Myers <joseph@codsourcery.com>
23973
bd878fc0
JM
23974 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23975 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23976 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23977 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23978 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23979 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23980 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23981
6f10289e
JM
23982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23983 for NaNs before doing comparisons on argument.
23984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23985 Likewise.
23986
321e2684
WN
239872013-10-10 Will Newton <will.newton@linaro.org>
23988
23989 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23990 passed to _int_memalign does not overflow.
23991
40fefba1
TR
239922013-10-10 Torvald Riegel <triegel@redhat.com>
23993
23994 * scripts/bench.pl: Add include-sources directive.
23995 * benchtests/README: Update documentation.
23996
2ae21ed2
JM
239972013-10-10 Joseph Myers <joseph@codesourcery.com>
23998
dcc2dd3f
JM
23999 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24000 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24001 instead of FP_INIT_ROUNDMODE.
24002 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24003 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24004
2ae21ed2
JM
24005 [BZ #16034]
24006 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24007 copy class of input value.
24008 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24009 not handle exceptions.
24010 * soft-fp/negsf2.c (__negsf2): Likewise.
24011 * soft-fp/negtf2.c (__negtf2): Likewise.
24012 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24013
cb8f9562
JM
240142013-10-09 Joseph Myers <joseph@codesourcery.com>
24015
24016 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24017 semicolon. From Linux kernel.
24018
5b60c59d
AB
240192013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24020
24021 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24022
b86835ca
YC
240232013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24024
24025 [BZ #156]
24026 * manual/socket.texi: Added statement about buffer
24027 for gethostbyname2_r.
24028
e7044ea7
OB
240292013-10-08 Ondřej Bílka <neleai@seznam.cz>
24030
24031 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24032 Use .p2align directive instead, throughout.
24033 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24034 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24035 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24038 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24039 * sysdeps/x86_64/strchr.S: Likewise.
24040 * sysdeps/x86_64/strrchr.S: Likewise.
24041
09544cbc
SP
240422013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
88576635
SP
24044 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24045
e7b2d1dd
SP
24046 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24047
09544cbc
SP
24048 * sysdeps/generic/math_private.h (__mpsin1): Remove
24049 declaration.
24050 (__mpcos1): Likewise.
24051 (__mpsin): New argument __range_reduce.
24052 (__mpcos): Likewise.
24053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24054 (slow): Use __mpsin and __mpcos.
24055 (slow1): Likewise.
24056 (slow2): Likewise.
24057 (sloww): Likewise.
24058 (sloww1): Likewise.
24059 (sloww2): Likewise.
24060 (bsloww): Likewise.
24061 (bsloww1): Likewise.
24062 (bsloww2): Likewise.
24063 (cslow2): Likewise.
24064 (csloww): Likewise.
24065 (csloww1): Likewise.
24066 (csloww2): Likewise.
24067 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24068 range_reduce. Merge in __mpsin1.
24069 (__mpcos): Likewise.
24070 (__mpsin1): Remove.
24071 (__mpcos1): Likewise.
24072
7602d070
JM
240732013-10-07 Joseph Myers <joseph@codesourcery.com>
24074
24075 * locale/loadlocale.c (_nl_intern_locale_data): Use
24076 LOCFILE_ALIGNED_P.
24077 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24078 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24079 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24080 obstack data is appropriately aligned.
24081 (obstack_int32_grow_fast): Likewise.
24082 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24083 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24084 (add_locale_uint32_array): Likewise.
24085
a357259b
SP
240862013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24087
24088 * benchtests/Makefile: Remove ARGLIST and RET variables.
24089 ($(objpfx)bench-%.c): Pass only function name to the script.
24090 * benchtests/README: Update documentation.
24091 * benchtests/acos-inputs: Add new directives.
24092 * benchtests/acosh-inputs: Likewise.
24093 * benchtests/asin-inputs: Likewise.
24094 * benchtests/asinh-inputs: Likewise.
24095 * benchtests/atan-inputs: Likewise.
24096 * benchtests/atanh-inputs: Likewise.
24097 * benchtests/cos-inputs: Likewise.
24098 * benchtests/cosh-inputs: Likewise.
24099 * benchtests/exp-inputs: Likewise.
24100 * benchtests/log-inputs: Likewise.
24101 * benchtests/pow-inputs: Likewise.
24102 * benchtests/rint-inputs: Likewise.
24103 * benchtests/sin-inputs: Likewise.
24104 * benchtests/sinh-inputs: Likewise.
24105 * benchtests/tan-inputs: Likewise.
24106 * benchtests/tanh-inputs: Likewise.
24107 * scripts/bench.pl: Add support for new directives.
24108
9ec1b13d
AM
241092013-10-07 Alan Modra <amodra@gmail.com>
24110
24111 * README: Fix careless merge.
24112
8b7d57cd
AM
241132013-10-05 Alan Modra <amodra@gmail.com>
24114
24115 * NEWS: Mention powerpc64le support and bugs fixed.
24116 * README: Both big-endian and little-endian powerpc64 supported.
24117
7b7bab13
ST
241182013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24119
57f41c40
AS
24120 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24121 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24122 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24123 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24124
d39baad1
RA
241252013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24126
24127 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24128 match prototype.
24129
cd78f7e7
JM
241302013-10-04 Joseph Myers <joseph@codesourcery.com>
24131
29d73d86
JM
24132 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24133 Move -mhard-float appending from
24134 ports/sysdeps/powerpc/powerpc32/Makefile.
24135 [$(with-fp) = yes] (ASFLAGS): Likewise.
24136 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24137 * sysdeps/powerpc/nofpu: Move directory from
24138 ports/sysdeps/powerpc/nofpu.
24139 * sysdeps/powerpc/soft-fp: Move directory from
24140 ports/sysdeps/powerpc/soft-fp.
24141 * sysdeps/powerpc/powerpc32/405: Move directory from
24142 ports/sysdeps/powerpc/powerpc32/405.
24143 * sysdeps/powerpc/powerpc32/440: Move directory from
24144 ports/sysdeps/powerpc/powerpc32/440.
24145 * sysdeps/powerpc/powerpc32/464: Move directory from
24146 ports/sysdeps/powerpc/powerpc32/464.
24147 * sysdeps/powerpc/powerpc32/476: Move directory from
24148 ports/sysdeps/powerpc/powerpc32/476.
24149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24150 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24152 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24154 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24156 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24158 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24159 * README: Update for powerpc-*-linux-gnu software floating point
24160 support in libc.
24161
e246b347
JM
24162 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24163 case to powerpc/powerpc32*.
24164 * sysdeps/unix/sysv/linux/configure: Regenerated.
24165
89c2003e
JM
24166 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24167 (_FPU_MASK_OM): Define as 0x04.
24168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24170 0x00c10080.
24171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24172 0x0000003c.
24173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24174
cd78f7e7
JM
24175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24176 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24177 getcontext_e500.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24179 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24180 setcontext_e500.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24182 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24183 and setcontext_e500.
24184
c755294d
CL
241852013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24186
24187 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24188
e16d221c
SP
241892013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24190
24191 * manual/threads.texi (Default Thread Attributes): Fix typo.
24192
215c7d43
WN
241932013-10-04 Will Newton <will.newton@linaro.org>
24194
24195 * malloc/Makefile: Add tst-memalign.
24196 * malloc/tst-memalign.c: New file.
24197
27d0461b
WN
24198 * malloc/tst-posix_memalign.c: Add comments.
24199 (do_test): Add comments and call free on all potentially
24200 allocated pointers. Add space after cast.
24201
1bc92709
WN
24202 * malloc/tst-pvalloc.c: Add comments.
24203 (do_test): Add comments and call free on all potentially
24204 allocated pointers. Remove duplicate check for NULL pointer.
24205 Add space after cast.
24206
66a9be9d
WN
24207 * malloc/tst-valloc.c: Add comments.
24208 (do_test): Add comments and call free on all potentially
24209 allocated pointers. Remove duplicate check for NULL pointer.
24210 Add space after cast.
24211
4cb81307
AM
242122013-10-04 Alan Modra <amodra@gmail.com>
24213
24214 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24215 Use stdint types in rather than __attribute__((mode())).
24216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24217
f8e3e9f3
AM
242182013-10-04 Alan Modra <amodra@gmail.com>
24219
24220 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24221 Correct handling of unaligned relocs for little-endian.
24222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24223
8f9ebb08
AM
242242013-10-04 Alan Modra <amodra@gmail.com>
24225
24226 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24227 * configure: Regenerate.
24228 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24229 * shlib-versions: Likewise.
24230
0edf96c2
AM
242312013-10-04 Alan Modra <amodra@gmail.com>
24232
24233 * string/tester.c (test_memrchr): Increment reported test cycle.
24234
e0f7a380
AM
242352013-10-04 Alan Modra <amodra@gmail.com>
24236
24237 * string/test-memcpy.c (do_one_test): When reporting errors, print
24238 string address and don't overrun end of string.
24239
466b0393
AM
242402013-10-04 Alan Modra <amodra@gmail.com>
24241
24242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24243 insrdi. Make better use of reg selection to speed exit slightly.
24244 Schedule entry path a little better. Remove useless "are we done"
24245 checks on entry to main loop. Handle wrapping around zero address.
24246 Correct main loop count. Handle single left-over word from main
24247 loop inline rather than by using loop_small. Remove extra word
24248 case in loop_small caused by wrong loop count. Add little-endian
24249 support.
24250 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24252 cache hint.
24253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24254 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24255 support. Avoid rlwimi.
24256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24257
3be87c77
AM
242582013-10-04 Alan Modra <amodra@gmail.com>
24259
24260 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24261 insrdi. Formatting.
3be87c77
AM
24262 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24263 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24264 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24265 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24266 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24267 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24268
759cfef3
AM
242692013-10-04 Alan Modra <amodra@gmail.com>
24270
24271 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24275 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24276 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24278 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24279 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24280 use of regs. Use power7 mtocrf. Tidy function tails.
24281
fe6e95d7
AM
242822013-10-04 Alan Modra <amodra@gmail.com>
24283
24284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24285 Formatting. Consistently use rXXX register defines or rN defines.
24286 Use early exit labels that avoid restoring unused non-volatile regs.
24287 Make cr field use more consistent with rWORDn compares. Rename
24288 regs used as shift registers for unaligned loop, using rN defines
24289 for short lifetime/multiple use regs.
24290 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24292 addi 1,1,64 to pop stack frame. Simplify return value code.
24293 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24294
664318c3
AM
242952013-10-04 Alan Modra <amodra@gmail.com>
24296
24297 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24298 support. Correct typos, formatting. Optimize tail. Use insrdi
24299 rather than rlwimi.
24300 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24301 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24302 little-endian support. Correct typos.
24303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24304 rather than rlwimi.
24305 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24306 in loop and entry code to keep "and." results.
24307 (strchr): Add little-endian support. Comment. Move cntlzd
24308 earlier in tail.
24309 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24310
43b84013
AM
243112013-10-04 Alan Modra <amodra@gmail.com>
24312
24313 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24314 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24315 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24316 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24317
8a7413f9
AM
243182013-10-04 Alan Modra <amodra@gmail.com>
24319
24320 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24321 (rTMP): Define as r11.
24322 (strcmp): Add little-endian support. Optimise tail.
24323 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24324 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24325 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24327 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24330
33ee81de
AM
243312013-10-04 Alan Modra <amodra@gmail.com>
24332
24333 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24334 little-endian support. Remove unnecessary "are we done" tests.
24335 Handle "s" wrapping around zero and extremely large "size".
24336 Correct main loop count. Handle single left-over word from main
24337 loop inline rather than by using small_loop. Correct comments.
24338 Delete "zero" tail, use "end_max" instead.
24339 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24340
db9b4570
AM
243412013-10-04 Alan Modra <amodra@gmail.com>
24342
24343 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24344 support. Don't branch over align.
24345 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24347 support. Rearrange tmp reg use to suit. Comment.
24348 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24349
f7c399cf
AM
243502013-10-04 Alan Modra <amodra@gmail.com>
24351
24352 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24353
0b2c2ace
AM
243542013-10-04 Alan Modra <amodra@gmail.com>
24355
24356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24357 conditional form of branch and link when obtaining pc.
24358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24359
02f04a6c
AM
243602013-10-04 Alan Modra <amodra@gmail.com>
24361
24362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24363 HIWORD/LOWORD.
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24366
9b874b2f
AM
243672013-10-04 Alan Modra <amodra@gmail.com>
24368
24369 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24370 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24371 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24372 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24373 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24374 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24375 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24378 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24379
be1e5d31
AB
243802013-10-04 Anton Blanchard <anton@au1.ibm.com>
24381 Alistair Popple <alistair@ozlabs.au.ibm.com>
24382 Alan Modra <amodra@gmail.com>
24383
24384 [BZ #15723]
24385 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24386 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24387 _dl_hwcap access for little-endian.
24388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24389 destroy vmx regs when saving unaligned.
24390 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24392 destroy vmx regs when saving unaligned.
24393
fef13a78
AM
243942013-10-04 Alan Modra <amodra@gmail.com>
24395
24396 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24397 Don't use a union to pack hi/low value.
24398
76a66d51
AB
243992013-10-04 Anton Blanchard <anton@au1.ibm.com>
24400
24401 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24402 for little-endian.
24403 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24405 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24406 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24407 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24408
6a31fe7f
AM
244092013-10-04 Alan Modra <amodra@gmail.com>
24410
24411 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24412 constants to usual value for .cst8 section, and remove redundant
24413 high address load.
24414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24415 constant for 0x1p52. Load little-endian words of double from
24416 correct stack offsets.
24417
7b88401f
AM
244182013-10-04 Alan Modra <amodra@gmail.com>
24419
24420 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24421 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24422 words of double from correct stack offsets.
24423 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24424 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24425 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24430 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24431 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24435 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24436 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24437 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24438 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24439 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24440
9c008155
AM
244412013-10-04 Alan Modra <amodra@gmail.com>
24442
24443 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24444 64-bit int/double union.
24445 (_FPU_SETCW): Likewise.
24446 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24447 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24448
da13146d
AM
244492013-10-04 Alan Modra <amodra@gmail.com>
24450
24451 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24452 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24453
603e8410
AM
244542013-10-04 Alan Modra <amodra@gmail.com>
24455
24456 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24457 use vector int constants.
24458 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24459
4a28b3ca
AB
244602013-10-04 Anton Blanchard <anton@au1.ibm.com>
24461
24462 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24463 array with long long.
24464 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24465 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24466 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24467 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24468 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24469 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24470 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24471 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24472 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24473 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24474 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24476 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24477
2ca85d2b
AB
244782013-10-04 Anton Blanchard <anton@au1.ibm.com>
24479
24480 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24481 (__signbit): Likewise. Correct for little-endian.
24482 (__signbitl): Call __signbit.
24483 (lrint): Correct for little-endian.
24484 (lrintf): Call lrint.
24485
62a728ae
AM
244862013-10-04 Alan Modra <amodra@gmail.com>
24487
24488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24489 union 32-bit int array member with 64-bit int array.
24490 (t515, tm256): Double rather than long double.
24491 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24492
32c301df
AM
244932013-10-04 Alan Modra <amodra@gmail.com>
24494
24495 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24496 Delete.
24497 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24499 version of math_ldbl.h.
24500
650ef4bd
AM
245012013-10-04 Alan Modra <amodra@gmail.com>
24502
24503 [BZ #15734], [BZ #15735]
24504 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24505 all uses of ieee875 long double macros and unions. Simplify test
24506 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24507 ldbl_extract_mantissa value for ix,iy exponents. Properly
24508 normalize after ldbl_extract_mantissa, and don't add hidden bit
24509 already handled. Don't treat low word of ieee854 mantissa like
24510 low word of IBM long double and mask off bit when testing for
24511 zero.
24512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24513 all uses of ieee875 long double macros and unions. Simplify tests
24514 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24515 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24516 two1022, instead use their values. Recognise that tests for large
24517 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24519 Rewrite all uses of ieee875 long double macros and unions. Simplify
24520 test for 0.0L and nan. Correct negation.
24521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24522 ieee875 long double macros and unions. Correct output for large
24523 magnitude x. Correct absolute value calculation.
24524 (__erfcl): Likewise.
24525 * math/libm-test.inc: Add tests for errors discovered in IBM long
24526 double versions of fmodl, remainderl, erfl and erfcl.
24527
765714ca
AM
245282013-10-04 Alan Modra <amodra@gmail.com>
24529
24530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24531 all uses of ieee854 long double macros and unions. Simplify tests
24532 for long doubles that are fully specified by the high double.
24533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24534 Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24536 Remove dead code too.
24537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24538 (__ieee754_ynl): Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24542 Remove dead code too.
24543 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24547 Simplify.
24548 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24549 Simplify.
24550 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24553 Comment on variable precision.
24554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24556 Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24561 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24562
4ebd120c
AM
245632013-10-04 Alan Modra <amodra@gmail.com>
24564
24565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24567 all uses of ieee854 long double macros and unions.
24568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24570 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24572 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24574 Likewise.
24575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24581 Simplify sign and nan test too.
24582 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24586 Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24589 Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24596
1b6adf88
AM
245972013-10-04 Alan Modra <amodra@gmail.com>
24598
24599 * stdio-common/printf_size.c (__printf_size): Don't use
24600 union ieee854_long_double in fpnum union.
24601 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24602 signbit macro to retrieve sign from long double.
24603 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24604 retrieve sign from long double.
24605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24606 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24607 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24608 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24609 * math/test-misc.c (main): Don't use union ieee854_long_double.
24610
4cf69995
AM
246112013-10-04 Alan Modra <amodra@gmail.com>
24612
24613 [BZ #15680]
24614 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24616 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24617 calculation. Remove unnecessary test for denormal exponent.
24618 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24619 Correct handling of denormals. Avoid undefined shift behaviour.
24620 Correct normalisation of low mantissa when low double is denormal.
24621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24622 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24623 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24624 Correct normalisation of low mantissa. Test for overflow of high
24625 mantissa and normalise.
24626 (ldbl_nearbyint): Use more readable constant for two52.
24627 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24628 (__mpn_construct_long_double): Fix test for overflow of high
24629 mantissa and correct normalisation. Avoid undefined shift.
24630
9605ca6c
AM
246312013-10-04 Alan Modra <amodra@gmail.com>
24632
24633 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24634 (union ibm_extended_long_double): Define as an array of ieee754_double.
24635 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24637 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24638 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24646
975569d0
JM
246472013-10-03 Joseph Myers <joseph@codesourcery.com>
24648
d3d23756
JM
24649 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24650 page size instead of calling getpagesize.
24651
975569d0
JM
24652 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24653 (LOCFILE_ALIGN_MASK): Likewise.
24654 (LOCFILE_ALIGN_UP): Likewise.
24655 (LOCFILE_ALIGNED_P): Likewise.
24656 * locale/programs/ld-collate.c (collate_output): Use the new
24657 macros instead of __alignof__ (int32_t).
24658 * locale/weight.h (findidx): Likewise.
24659
b1fe1f2b
OB
246602013-10-03 Ondřej Bílka <neleai@seznam.cz>
24661
24662 [BZ #431]
24663 * manual/string.texi: Fix strncat and wcsncat.
24664
5f855e35
BM
246652013-10-03 Brooks Moses <bmoses@google.com>
24666
24667 [BZ #15915]
24668 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24669 * Makerules: ...here, and adjust associated comments.
24670
3cef6009
WN
246712013-10-02 Will Newton <will.newton@linaro.org>
24672
24673 * malloc/Makefile: Add tst-pvalloc.
24674 * malloc/tst-pvalloc.c: New file.
24675
7815420b
WN
246762013-10-02 Will Newton <will.newton@linaro.org>
24677
24678 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24679 improve test coverage.
24680
4868b204
WN
246812013-10-02 Will Newton <will.newton@linaro.org>
24682
24683 * malloc/Makefile: Add tst-posix_memalign.
24684 * malloc/tst-posix_memalign.c: New file.
24685
29c793b3
EB
246862013-10-01 Eric Blake <eblake@redhat.com>
24687
24688 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24689 Use __THROWNL rather than __THROW on static functions.
24690
fd967522
PM
246912013-09-30 Petr Machata <pmachata@redhat.com>
24692
24693 * elf/elf.h (R_AARCH64_ABS16): New macro.
24694 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24695 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24696 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24697 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24698 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24699 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24700 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24701 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24702 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24703 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24704 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24705 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24706 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24707 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24708 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24709 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24710 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24711 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24712 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24713 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24714 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24715 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24716 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24717 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24718 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24719 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24720 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24721 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24722 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24723 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24724 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24725 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24726 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24727 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24728 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24729 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24730 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24731 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24732 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24733 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24734 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24735 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24736 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24737 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24738 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24739 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24740 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24741 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24742 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24743 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24744 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24745 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24746 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24747 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24748 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24749 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24750 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24751 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24752 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24753 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24754 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24755 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24756 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24757 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24758 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24759 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24760 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24761 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24762 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24763 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24764 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24765 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24766 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24767 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24768 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24769 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24770 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24771 (R_AARCH64_TLSDESC_LDR): Likewise.
24772 (R_AARCH64_TLSDESC_ADD): Likewise.
24773 (R_AARCH64_TLSDESC_CALL): Likewise.
24774
b2179107
AS
247752013-09-30 Andreas Schwab <schwab@suse.de>
24776
24777 [BZ #15048]
24778 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24779 the nss database lookup.
24780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24782
47f28d0a
MF
247832013-09-28 Mike Frysinger <vapier@gentoo.org>
24784
24785 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24786
247872013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24788
24789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24790 ${Bash-specific parameter/pattern/string} parameter expansion.
24791 * sysdeps/unix/make-syscalls.sh: Likewise.
24792
f4518a17
KK
247932013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24794
24795 * sysdeps/sh/stackguard-macros.h: New file.
24796
dc1a95c7
OB
247972013-09-26 Ondřej Bílka <neleai@seznam.cz>
24798
24799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24801 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24803 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24804 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24805
5ebbff8f
AZ
248062013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24807
24808 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24809 Fix thread ID register.
24810
4fd2cf9f
JM
248112013-09-25 Joseph Myers <joseph@codesourcery.com>
24812
24813 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24814 [POSIX || UNIX98]: Require rather than permitting all symbols from
24815 <time.h>.
24816 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24817 element of struct sched_param.
24818 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24819 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24820 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24821 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24822 constant.
24823
12c22bc4
OL
248242013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24825
24826 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24827 argument calculation.
24828
a03d8ea7
JM
248292013-09-24 Joseph Myers <joseph@codesourcery.com>
24830
24831 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24832 Expect macro.
24833 [POSIX] (pthread_attr_t): Do not require type.
24834 [POSIX] (pthread_cond_t): Likewise.
24835 [POSIX] (pthread_condattr_t): Likewise.
24836 [POSIX] (pthread_key_t): Likewise.
24837 [POSIX] (pthread_mutex_t): Likewise.
24838 [POSIX] (pthread_mutexattr_t): Likewise.
24839 [POSIX] (pthread_once_t): Likewise.
24840 [POSIX] (pthread_t): Likewise.
24841 [POSIX-based standards] (pthread_atfork): Expect function.
24842
6055173a
JM
248432013-09-24 Joseph Myers <joseph@codesourcery.com>
24844 Richard Sandiford <richard@codesourcery.com>
24845
24846 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24847 (swap_endianness_p): New extern variable.
24848 (set_big_endian): New inline function.
24849 (maybe_swap_uint32): Likewise.
24850 (maybe_swap_uint32_array): Likewise.
24851 (maybe_swap_uint32_obstack): Likewise.
24852 * locale/programs/locfile.c: Include <stdbool.h>.
24853 (swap_endianness_p): New variable.
24854 (add_locale_uint32): Call maybe_swap_uint32.
24855 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24856 (write_locale_data): Call maybe_swap_uint32_array.
24857 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24858 maybe_swap_uint32.
24859 (obstack_int32_grow_fast): Likewise.
24860 (output_weightwc): Call maybe_swap_uint32_obstack.
24861 (collate_output): Likewise.
24862 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24863 (OPT_LITTLE_ENDIAN): Likewise.
24864 (options): Add --little-endian and --big-endian options.
24865 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24866 * locale/programs/locarchive.c: Include "locfile.h".
24867 (GET): New macro.
24868 (SET): Likewise.
24869 (INC): Likewise.
24870 (create_archive): Use the new macros to access fields of
24871 structures directly mapped from or written to locale archives.
24872 (oldlocrecentcmp): Likewise.
24873 (enlarge_archive): Likewise.
24874 (insert_name): Likewise.
24875 (add_alias): Likewise.
24876 (add_locale): Likewise.
24877 (delete_locales_from_archive): Likewise.
24878 (show_archive_content): Likewise.
24879 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24880 locale data.
24881
39bf0bb4
RM
248822013-09-24 Roland McGrath <roland@hack.frob.com>
24883
24884 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24885 http://www.gnu.org/doc/freemanuals.texi.
24886 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24887
f02eed10
WN
248882013-09-24 Will Newton <will.newton@linaro.org>
24889
24890 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24891 macro.
24892
a3a6c312
JM
248932013-09-23 Joseph Myers <joseph@codesourcery.com>
24894
24895 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24896 unsigned char.
24897
107375ac
MR
248982013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24899
24900 * manual/threads.texi (POSIX Threads): Fix a typo.
24901
141f3a77
SP
249022013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24903
303e567a
SP
24904 [BZ #14547]
24905 * string/tst-strcoll-overflow.c: New test case.
24906 * string/Makefile (xtests): Add tst-strcoll-overflow.
24907 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24908 cache if string sizes may cause integer overflow.
24909
141f3a77
SP
24910 [BZ #14547]
24911 * string/strcoll_l.c (coll_seq): New members rule, idx,
24912 save_idx and back_us.
24913 (get_next_seq_nocache): New function.
24914 (do_compare_nocache): New function.
24915 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24916 when malloc fails.
24917
c61b4d41
CD
249182013-09-23 Carlos O'Donell <carlos@redhat.com>
24919
0b1f8e35
CD
24920 [BZ #15754]
24921 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24922 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24923 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24924
c61b4d41
CD
24925 [BZ #15754]
24926 * elf/Makefile (tests): Add tst-ptrguard1.
24927 (tests-static): Add tst-ptrguard1-static.
24928 (tst-ptrguard1-ARGS): Define.
24929 (tst-ptrguard1-static-ARGS): Define.
24930 * elf/tst-ptrguard1.c: New file.
24931 * elf/tst-ptrguard1-static.c: New file.
24932 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24933 * sysdeps/i386/stackguard-macros.h: Likewise.
24934 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24935 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24936 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24937 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24938 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24939 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24940
249412013-09-23 Hector Marco <hecmargi@upv.es>
24942 Ismael Ripoll <iripoll@disca.upv.es>
24943 Carlos O'Donell <carlos@redhat.com>
24944
24945 [BZ #15754]
24946 * sysdeps/generic/stackguard-macros.h: Define
24947 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24948 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24949 Define __pointer_chk_guard_local.
24950 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24951 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24952
f5f4e7b4
VV
249532013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24954
24955 [BZ #15859]
24956 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24957
5bb43a43
AS
249582013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24959
24960 * include/string.h (__ffs): Declare as hidden.
24961 * string/ffs.c (__ffs): Define as hidden.
24962 * sysdeps/i386/ffs.c (__ffs): Likewise.
24963 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24964 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24965 * sysdeps/s390/ffs.c (__ffs): Likewise.
24966 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24967
3ea5be54
AO
249682013-09-20 Alexandre Oliva <aoliva@redhat.com>
24969
ffb89e53
AO
24970 * NEWS: Mention malloc probes.
24971
322dea08
AO
24972 * malloc/arena.c (new_heap): New memory_heap_new probe.
24973 (grow_heap): New memory_heap_more probe.
24974 (shrink_heap): New memory_heap_less probe.
24975 (heap_trim): New memory_heap_free probe.
24976 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24977 (systrim): New memory_sbrk_less probe.
24978 * manual/probes.texi: Document them.
24979
655673f3
AO
24980 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24981 * manual/probes.texi: Document it.
24982
35fed6f1
AO
24983 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24984 (__libc_realloc): Add memory_realloc_retry probe.
24985 (__libc_memalign): Add memory_memalign_retry probe.
24986 (__libc_valloc): Add memory_valloc_retry probe.
24987 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24988 (__libc_calloc): Add memory_calloc_retry probe.
24989 * manual/probes.texi: Document them.
24990
6999d38c
AO
24991 * malloc/arena.c (get_free_list): Add probe
24992 memory_arena_reuse_free_list.
24993 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24994 and memory_arena_reuse.
24995 (arena_get2) [!PER_THREAD]: Likewise.
24996 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24997 memory_arena_reuse_realloc.
24998 * manual/probes.texi: Document them.
24999
0653427f
AO
25000 * malloc/malloc.c (__libc_free): Add
25001 memory_mallopt_free_dyn_thresholds probe.
25002 (__libc_mallopt): Add multiple memory_mallopt probes.
25003 * manual/probes.texi: Document them.
25004
3ea5be54
AO
25005 * malloc/malloc.c: Include stap-probe.h.
25006 (__libc_mallopt): Add memory_mallopt probe.
25007 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25008 * manual/probes.texi: New.
25009 * manual/Makefile (chapters): Add probes.
25010 * manual/threads.texi: Set next node.
25011
e35696c3 250122013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25013
e35696c3
CL
25014 [BZ #15963, #13985]
25015 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25016 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25017 Add `Chinese' to `nan' entry name.
25018
4aafb73c
SP
250192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25020
25021 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25022 (POLYNOMIAL): Likewise.
25023 (TAYLOR_SINCOS): Likewise.
25024 (TAYLOR_SLOW): Likewise.
25025 (__sin): Use TAYLOR_SINCOS.
25026 (__cos): Likewise.
25027 (slow): Use TAYLOR_SLOW.
25028 (sloww): Likewise.
25029 (bsloww): Likewise.
25030 (csloww): Likewise.
25031
d84f25c7
LD
250322013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25033
25034 * stdlib/strtod_l.c: Fix buffer overrun.
25035
5eea0404
SP
250362013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25037
7849ff93
SP
25038 * benchtests/Makefile (bench): Add sincos.
25039 * benchtests/bench-sincos.c: New file.
25040
cfa3c886
SP
25041 * math/libm-test.inc (cos_test_data): New test inputs.
25042 (sin_test_data): Likewise.
25043
b348e1e3
SP
25044 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25045 macro.
25046 (__sin): Use it.
25047 (__cos): Likewise.
25048 (slow1): Likewise.
25049 (slow2): Likewise.
25050 (sloww1): Likewise.
25051 (sloww2): Likewise.
25052 (bsloww1): Likewise.
25053 (bsloww2): Likewise.
25054 (cslow2): Likewise.
25055 (csloww1): Likewise.
25056 (csloww2): Likewise.
25057
6cce25f8
SP
25058 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25059 function.
25060 (__sin): Use it.
25061 (__cos): Likewise.
25062
5eea0404
SP
25063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25064 gotos.
25065 (__cos): Likewise.
25066
9c21573c
MR
250672013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25068
25069 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25070 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25071 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25072 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25073 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25074 * elf/cache.c (print_entry): Handle the new cache flags.
25075
24d22e65
JM
250762013-09-18 Joseph Myers <joseph@codesourcery.com>
25077 Aldy Hernandez <aldyh@redhat.com>
25078
25079 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25080 Change condition to [_SOFT_FLOAT].
25081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25093 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25096 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25097 declaration.
25098
d13ef066
JM
250992013-09-18 Joseph Myers <joseph@codesourcery.com>
25100
2e071de0
JM
25101 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25102 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25103 (__longjmp): Use LOAD_GP to load saved GPRs.
25104 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25105 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25106 (__sigsetjmp): Use SAVE_GP to save GPRs.
25107
d13ef066
JM
25108 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25109 Do not append -msoft-float.
25110 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25111
97a0650b
SP
251122013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25113
25114 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25115
11ca09e9
JM
251162013-09-17 Joseph Myers <joseph@codesourcery.com>
25117
25118 [BZ #15966]
25119 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25120 (_FPU_GETCW): Use initial "__" on variable and field names but not
25121 on macro parameter name.
25122 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25123 parentheses around reference to macro parameter.
25124
08ffcf34
RS
251252013-09-13 Richard Sandiford <richard@codesourcery.com>
25126
25127 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25128 prototype.
25129 (ctype_startup): Use uint32_t in cast and sizeof for
25130 ctype->charnames.
25131
ae7080d3
JL
251322013-09-11 Jia Liu <proljc@gmail.com>
25133
25134 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25135 __daddr_t_defined.
25136 [__FreeBSD__]: Likewise.
25137
5905e7b3
OB
251382013-09-11 Ondřej Bílka <neleai@seznam.cz>
25139
25140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25141 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25142 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25143 (strchr): Remove __strchr_sse42 ifunc selection.
25144 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25145 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25146
b987c776
WN
251472013-09-11 Will Newton <will.newton@linaro.org>
25148
25149 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25150 parameter to RES. Remove hardcoded 1000 value.
25151 * benchtests/bench-skeleton.c (main): Pass RES parameter
25152 to TIMING_INIT and multiply result by 1000.
25153
ddf985af
AZ
251542013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25155
25156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25157
ffdd3181
AS
251582013-09-11 Andreas Schwab <schwab@suse.de>
25159
25160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25161 if not defined.
25162 (O_TMPFILE) [__USE_GNU]: Define.
25163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25164 Define.
25165
b73ed247
WN
251662013-09-11 Will Newton <will.newton@linaro.org>
25167
25168 [BZ #15857]
25169 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25170 does not overflow.
25171
55e17aad
WN
251722013-09-11 Will Newton <will.newton@linaro.org>
25173
25174 [BZ #15856]
25175 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25176 does not overflow.
25177
1159a193
WN
251782013-09-11 Will Newton <will.newton@linaro.org>
25179
25180 [BZ #15855]
25181 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25182 does not overflow.
25183
5905e7b3 251842013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25185
25186 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25187 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25191
cdfc721b
AM
251922013-09-10 Allan McRae <allan@archlinux.org>
25193
aa04af00
AM
25194 [BZ #15748]
25195 * manual/arith.texi (Parsing of Floats): Clarify
25196 cross-reference.
25197
cdfc721b
AM
25198 [BZ #15849]
25199 * manual/install.texi (Running make install): Mention
25200 --enable-pt-chown.
25201 * INSTALL: Regenerated.
25202
95e7cf29
MR
252032013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25204
25205 * csu/init-first.c (_init): Remove the !SHARED condition around
25206 FPU control word initialization.
25207 * elf/dl-support.c (_dl_fpu_control): New variable.
25208 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25209 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25210 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25211 * math/test-fpucw-static.c: New file.
25212 * math/test-fpucw-ieee.c: New file.
25213 * math/test-fpucw-ieee-static.c: New file.
25214 * math/Makefile (tests): Add `test-fpucw-ieee' and
25215 `$(tests-static)'.
25216 (tests-static): New variable.
25217 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25218 dependency to...
25219 [($(build-shared),yes)]
25220 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25221 ... this.
25222 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25223 New dependency.
25224
83e43bf0
AM
252252013-09-09 Allan McRae <allan@archlinux.org>
25226
a9f5ce09
AM
25227 [BZ #15939]
25228 * manual/string.texi (Collation Functions): Fix typo in
25229 strcoll example.
25230 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25231
34829bc2
AM
25232 [BZ #15893]
25233 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25234
3932737d
AM
25235 [BZ #15892]
25236 * libio/memstream.c (open_memstream): Fix memory leak.
25237 * libio/wmemstream.c (open_wmemstream): Likewise.
25238
83e43bf0
AM
25239 [BZ #15895]
25240 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25241
0c66b8e9
WN
252422013-09-09 Will Newton <will.newton@linaro.org>
25243
25244 * malloc/Makefile: Add tst-realloc to tests.
25245 * malloc/tst-realloc.c: New file.
25246
f6b00fd1
AM
252472013-09-09 Allan McRae <allan@archlinux.org>
25248
25249 [BZ #15844]
25250 * COPYING: Update from GNU website to fix FSF address.
25251 * COPYING.LIB: Likewise.
25252
eec55e16
DM
252532013-09-06 David S. Miller <davem@davemloft.net>
25254
25255 * po/zh_TW.po: Update Chinese (traditional) translation from
25256 translation project.
25257
1ecbb381
RS
252582013-09-06 Richard Sandiford <richard@codesourcery.com>
25259 Joseph Myers <joseph@codesourcery.com>
25260
25261 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25262 "localeinfo.h".
25263 (obstack_chunk_alloc): New macro.
25264 (obstack_chunk_free): Likewise.
25265 (record_offset): New function.
25266 (init_locale_data): Likewise.
25267 (align_locale_data): Likewise.
25268 (add_locale_empty): Likewise.
25269 (add_locale_raw_data): Likewise.
25270 (add_locale_raw_obstack): Likewise.
25271 (add_locale_string): Likewise.
25272 (add_locale_wstring): Likewise.
25273 (add_locale_uint32): Likewise.
25274 (add_locale_uint32_array): Likewise.
25275 (add_locale_char): Likewise.
25276 (start_locale_structure): Likewise.
25277 (end_locale_structure): Likewise.
25278 (start_locale_prelude): Likewise.
25279 (end_locale_prelude): Likewise.
25280 (write_locale_data): Take locale_file structure rather than an
25281 iovec.
25282 * locale/programs/locfile.h: Include "obstack.h".
25283 (struct locale_file): Change to store locale file contents instead
25284 of header.
25285 (init_locale_data): New prototype.
25286 (align_locale_data): Likewise.
25287 (add_locale_empty): Likewise.
25288 (add_locale_raw_data): Likewise.
25289 (add_locale_raw_obstack): Likewise.
25290 (add_locale_string): Likewise.
25291 (add_locale_wstring): Likewise.
25292 (add_locale_uint32): Likewise.
25293 (add_locale_uint32_array): Likewise.
25294 (add_locale_char): Likewise.
25295 (start_locale_structure): Likewise.
25296 (end_locale_structure): Likewise.
25297 (start_locale_prelude): Likewise.
25298 (end_locale_prelude): Likewise.
25299 (write_locale_data): Update prototype.
25300 * locale/programs/3level.h (struct TABLE): Remove result field.
25301 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25302 Use new locale_file interface.
25303 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25304 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25305 * locale/programs/ld-address.c (address_output): Use new
25306 locale_file interface.
25307 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25308 NO_ADD_LOCALE.
25309 (collate_finish): Don't call collseq_table_finalize.
25310 (collate_output): Use new locale_file interface.
25311 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25312 in file.
25313 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25314 (TABLE): Move defines earlier in file.
25315 (ELEMENT): Likewise.
25316 (DEFAULT): Likewise.
25317 (wctrans_table_add): Move macro and inline function earlier in
25318 file.
25319 (struct wctype_table): Move type earlier in file.
25320 (add_locale_wctype_table): New static prototype.
25321 (struct locale_ctype_t): Use logical types instead of struct iovec
25322 pointers for members.
25323 (ctype_output): Use new locale_file interface.
25324 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25325 new locale_file interface.
25326 (allocate_arrays): Update for use of new locale_file interface.
25327 * locale/programs/ld-identification.c (identification_output): Use
25328 new locale_file interface.
25329 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25330 * locale/programs/ld-messages.c (messages_output): Likewise.
25331 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25332 * locale/programs/ld-name.c (name_output): Likewise.
25333 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25334 * locale/programs/ld-paper.c (paper_output): Likewise.
25335 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25336 * locale/programs/ld-time.c (time_output): Likewise.
25337
e029e2e5
AZ
253382013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25339
25340 * benchtests/Makefile: Add memrchr benchmark.
25341 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25342 benchmark as memrchr.
25343 * benchtests/bench-memrchr-ifunc.c: New file.
25344 * benchtests/bench-memrchr.c: New file.
25345
bbf6e8e4
WN
253462013-09-06 Will Newton <will.newton@linaro.org>
25347
25348 * benchtests/Makefile (string-bench): Add memcpy.
25349
6c82a2f8
CD
253502013-09-05 Carlos O'Donell <carlos@redhat.com>
25351 Cong Wang <amwang@redhat.com>
25352
e732c5f0 25353 [BZ #15850]
6c82a2f8
CD
25354 * sysdeps/unix/sysv/linux/bits/in.h
25355 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25356 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25357 before __USE_KERNEL_IPV6_DEFS uses.
25358 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25359 IPPROTO_BEETPH.
25360 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25361 sockaddr_in6, or ipv6_mreq.
25362
5430fc65
AZ
253632013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25364
25365 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25366 memory access for final bytes in some large inputs.
25367 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25368
4660856c
AZ
253692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25370
25371 * string/test-memrchr.c: New file.
25372 * string/test-memrchr-ifunc.c: New file.
25373 * string/Makefile: Add new memrchr testcase.
25374
bb8ea713
MF
253752013-09-05 Mike Frysinger <vapier@gentoo.org>
25376
25377 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25378 fanotify_init returns EPERM.
25379
b92a20b5
JM
253802013-09-04 Joseph Myers <joseph@codesourcery.com>
25381
25382 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25383 errors.
25384 (top level): Treat second token from macro or constant entries for
25385 allowed headers as allowed.
25386 * include/complex.h: Condition internal declarations on
25387 [!_ISOMAC].
25388 * include/fenv.h: Condition include of <stdbool.h> and internal
25389 declarations on [!_ISOMAC].
7447ccd9
CL
25390
253912013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25392
3e181dda 25393 [BZ #15923]
7447ccd9
CL
25394 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25395
3f2e46a4
JM
253962013-09-04 Joseph Myers <joseph@codesourcery.com>
25397
25398 * configure.in (--enable-versioning): Remove configure option.
25399 (libc_cv_asm_symver_directive): Remove configure test.
25400 (libc_cv_ld_version_script_option): Likewise.
25401 (VERSIONING): Remove variable and AC_SUBST.
25402 (DO_VERSIONING): Remove AC_DEFINE.
25403 * configure: Regenerated.
25404 * config.h.in (DO_VERSIONING): Remove macro.
25405 * Makerules [$(versioning) = yes]: Change conditionals to
25406 [$(build-shared) = yes].
25407 * config.make.in (versioning): Remove variable.
25408 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25409 [$(build-shared) = yes].
25410 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25411 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25412 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25413 [$(build-shared) = yes].
25414 * extra-lib.mk [$(versioning) = yes]: Likewise.
25415 * hurd/Makefile [$(versioning) = yes]: Likewise.
25416 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25417 [SHARED].
25418 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25419 [SHARED].
25420 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25421 [SHARED && !NO_HIDDEN].
25422 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25423 [SHARED].
25424 [SHARED && DO_VERSIONING]: Likewise..
25425 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25426 [$(build-shared) = yes].
25427 * manual/install.texi (--disable-versioning): Remove
25428 documentation.
25429 * INSTALL: Regenerated.
25430 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25431 to [SHARED].
25432 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25433 [$(build-shared) = yes].
25434 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25435 * sysdeps/i386/i686/multiarch/strstr-c.c
25436 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25437 [SHARED && !NO_HIDDEN].
25438 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25439 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25440 * sysdeps/powerpc/powerpc32/dl-machine.c
25441 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25442 * sysdeps/powerpc/powerpc32/sysdep.h
25443 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25444 to [SHARED && PIC && !NO_HIDDEN].
25445 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25446 conditional to [SHARED].
25447
44558701
WN
254482013-09-04 Will Newton <will.newton@linaro.org>
25449
25450 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25451 * benchtests/bench-string.h: Include bench-timing.h instead
25452 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25453 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25454 call to HP_TIMING_DIFF_INIT.
25455 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25456 instead of hp-timing.h macros.
25457 * benchtests/bench-memchr.c: Likewise.
25458 * benchtests/bench-memcmp.c: Likewise.
25459 * benchtests/bench-memcpy.c: Likewise.
25460 * benchtests/bench-memmem.c: Likewise.
25461 * benchtests/bench-memmove.c: Likewise.
25462 * benchtests/bench-memset.c: Likewise.
25463 * benchtests/bench-rawmemchr.c: Likewise.
25464 * benchtests/bench-strcasecmp.c: Likewise.
25465 * benchtests/bench-strcasestr.c: Likewise.
25466 * benchtests/bench-strcat.c: Likewise.
25467 * benchtests/bench-strchr.c: Likewise.
25468 * benchtests/bench-strcmp.c: Likewise.
25469 * benchtests/bench-strcpy.c: Likewise.
25470 * benchtests/bench-strcpy_chk.c: Likewise.
25471 * benchtests/bench-strlen.c: Likewise.
25472 * benchtests/bench-strncasecmp.c: Likewise.
25473 * benchtests/bench-strncat.c: Likewise.
25474 * benchtests/bench-strncmp.c: Likewise.
25475 * benchtests/bench-strncpy.c: Likewise.
25476 * benchtests/bench-strnlen.c: Likewise.
25477 * benchtests/bench-strpbrk.c: Likewise.
25478 * benchtests/bench-strrchr.c: Likewise.
25479 * benchtests/bench-strspn.c: Likewise.
25480 * benchtests/bench-strstr.c: Likewise.
25481
cae16d66
WN
254822013-09-04 Will Newton <will.newton@linaro.org>
25483
25484 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25485
ffa3cd7f
JM
254862013-09-03 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #15427]
25489 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25490 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25491 * math/libm-test.inc (lgamma_test_data): Add more tests.
25492 * sysdeps/i386/fpu/libm-test-ulps: Update.
25493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25494
8f02859f
OB
254952013-09-03 Ondřej Bílka <neleai@seznam.cz>
25496
25497 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25499 Add ifunc.
25500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25501 Add strcmp-sse2-unaligned
25502 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25503
18d43716
MF
255042013-09-02 Mike Frysinger <vapier@gentoo.org>
25505
25506 * Versions.def (libc): Add GLIBC_2.19.
25507
ac444012
MF
255082013-09-02 Mike Frysinger <vapier@gentoo.org>
25509
25510 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25511 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25512
b7835e32
JM
255132013-09-02 Joseph Myers <joseph@codesourcery.com>
25514
25515 [BZ #14155]
25516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25517 intermediate calculations in recurrence.
25518 (__ieee754_ynf): Likewise.
25519 * math/libm-test.inc (jn_test_data): Do not allow spurious
25520 underflow exception. Add more tests.
25521 (yn_test_data): Add more tests.
25522 * sysdeps/i386/fpu/libm-test-ulps: Update.
25523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25524
8220f4f0
OB
255252013-09-02 Ondřej Bílka <neleai@seznam.cz>
25526
25527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25528
f24a6d08
OB
255292013-08-30 Ondřej Bílka <neleai@seznam.cz>
25530
25531 * csu/init-first.c: Fix then/than typos.
25532 * locale/programs/ld-collate.c: Likewise.
25533 * locale/programs/linereader.h: Likewise.
25534 * manual/charset.texi: Likewise.
25535 * manual/filesys.texi: Likewise.
25536 * manual/stdio.texi: Likewise.
25537 * manual/string.texi: Likewise.
25538 * stdlib/fmtmsg.c: Likewise.
25539 * sysdeps/i386/stpncpy.S: Likewise.
25540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25541 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25544
382466e0
OB
255452013-08-30 Ondřej Bílka <neleai@seznam.cz>
25546
25547 * elf/dl-open.c: Fix typos.
25548 * iconvdata/gbbig5.c: Likewise.
25549 * iconvdata/iso-2022-jp.c: Likewise.
25550 * iconv/gconv_int.h: Likewise.
25551 * iconv/loop.c: Likewise.
25552 * nis/rpcsvc/nis.h: Likewise.
25553 * resolv/ns_name.c: Likewise.
25554 * stdio-common/vfscanf.c: Likewise.
25555 * streams/stropts.h: Likewise.
25556 * sunrpc/rpc_thread.c: Likewise.
25557 * sysdeps/i386/strpbrk.S: Likewise.
25558 * sysdeps/ieee754/k_standard.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25561 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25562 * sysdeps/mach/hurd/profil.c: Likewise.
25563 * sysdeps/s390/dl-procinfo.h: Likewise.
25564 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25565 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25566 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25567 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25569
0186c6e9
OB
255702013-08-30 Ondřej Bílka <neleai@seznam.cz>
25571
25572 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25574
d4e16af1
OB
255752013-08-29 Ondřej Bílka <neleai@seznam.cz>
25576
25577 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25578 aix specific files.
25579 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25580 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25581 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25582 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25583 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25584 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25585 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25586 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25587
88335980
TS
255882013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25589 Roland McGrath <roland@hack.frob.com>
25590
25591 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25592 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25593
ed479b02
ST
255942013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25595
25596 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25597 __executable_start symbol instead of _start.
25598
f1cc4c86
TS
255992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25600
d821f07c
TS
25601 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25602 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25603 Move macros to...
25604 * sysdeps/gnu/ldsodefs.h: ... this new file.
25605
c54290cf
TS
25606 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25607 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25608 instead of ELFOSABI_LINUX.
25609
0007fc9b 25610 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25611 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25612 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25613 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25614 Likewise.
25615 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25616 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25617 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25618 Likewise.
25619 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25620 (ibm_extended_long_double): Add ieee_nan member.
25621 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25622 (do_test): New function.
25623
f1cc4c86
TS
25624 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25625 TEST_TRUNC.
25626 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25627 functions, renamed from truncdfsf_test, trunctfsf_test,
25628 trunctfdf_test.
25629 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25630 functions.
25631 (do_test): Run all these.
25632
6f65e668
OB
256332013-08-29 Ondřej Bílka <neleai@seznam.cz>
25634
25635 * argp/argp-help.c: Fix typos.
25636 * argp/argp-parse.c: Likewise.
25637 * debug/backtracesyms.c: Likewise.
25638 * elf/elf.h: Likewise.
25639 * malloc/malloc.c: Likewise.
25640 * nis/nis_print.c: Likewise.
25641 * resolv/res_comp.c: Likewise.
25642 * stdlib/stdlib.h: Likewise.
25643 * sunrpc/clnt_tcp.c: Likewise.
25644 * sunrpc/clnt_udp.c: Likewise.
25645 * sunrpc/clnt_unix.c: Likewise.
25646 * sysdeps/unix/bsd/ptsname.c: Likewise.
25647 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25648 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25650 Likewise.
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25652 Likewise.
25653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25654 Likewise.
6f65e668
OB
25655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25656
3a309239
SP
256572013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25658
25659 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25661
3b813b29
MF
256622013-08-27 Mike Frysinger <vapier@gentoo.org>
25663
25664 [BZ #15897]
25665 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25666 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25667 ($(objpfx)bug-dl-leaf): New rule.
25668 ($(objpfx)bug-dl-leaf.so): Likewise.
25669 ($(objpfx)bug-dl-leaf.out): Likewise.
25670 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25671 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25672 * dlfcn/bug-dl-leaf.c: New test.
25673 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25674 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25675 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25676 (dlclose): Likewise.
25677 (dlmopen): Likewise.
25678
8cc3269f
RM
256792013-08-27 Roland McGrath <roland@hack.frob.com>
25680
7f9d0034
RM
25681 * include/netdb.h [!_ISOMAC]:
25682 Don't include <tls.h>.
25683 (h_errno, __libc_h_errno): Move declaration and macros out of
25684 [_LIBC_REENTRANT].
25685
fb431262
RM
25686 * include/resolv.h [_RESOLV_H_]:
25687 Don't include <tls.h>.
25688 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25689 * resolv/res_libc.c: Don't include <tls.h>.
25690 (_res): Use __attribute__ ((nocommon)) in place of
25691 __attribute__ ((section (".bss"))).
25692
bd81123a
RM
25693 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25694 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25695
c4e42566
RM
25696 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25697
f890a59b
RM
25698 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25699 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25700
25701 * resolv/res_mkquery.c: Include <sys/time.h>.
25702
5d1f0a09
RM
25703 * inet/ifreq.c: Moved to ...
25704 * sysdeps/unix/ifreq.c: ... here.
25705 * inet/ifreq.c: New file, true stub version.
25706
6fcf28b3
RM
25707 * socket/sa_len.c: New file.
25708 * socket/Makefile (aux): Add it.
25709 * sysdeps/unix/sysv/linux/Makefile
25710 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25711 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25712 and #include <socket/sa_len.c>.
25713 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25714 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25715
e041fb8b
RM
25716 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25717 * bits/socket.h: ... here.
25718
8cc3269f
RM
25719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25720 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25721 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25722
5d228a43
AS
257232013-08-27 Andreas Schwab <schwab@suse.de>
25724
45b8accc
AS
25725 [BZ #15736]
25726 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25727 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25728 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25729 * string/test-strcasecmp.c (test_main): Run tests in several
25730 locales.
25731 * string/test-strncasecmp.c (test_main): Likewise.
25732
5d228a43
AS
25733 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25734 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25735 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25737 (__strncasecmp_ssse3) [PIC]: Likewise.
25738
59d112a4
RM
257392013-08-26 Roland McGrath <roland@hack.frob.com>
25740
53234cc3
RM
25741 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25742
59d112a4
RM
25743 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25744 instead of explicitly declaring xdecrypt.
25745 * nis/nss_nis/nis-publickey.c: Likewise.
25746
595aba70
SP
257472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25748
25749 [BZ #15890]
25750 * nscd/aicache.c: Include res_hconf.h.
25751 (addhstaiX): Initialize res_hconf.
25752
ffabd393
AS
257532013-08-26 Andreas Schwab <schwab@suse.de>
25754
25755 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25756 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25757
e0a69f5c
SP
257582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25759
25760 * nscd/aicache.c (addhstaiX): Fix indentation.
25761
8c12f01d
MF
257622013-08-25 Mike Frysinger <vapier@gentoo.org>
25763
25764 * configure.ac: Quote $build_pt_chown test.
25765 * configure: Regenerated.
25766
8fe89494
JM
257672013-08-23 Joseph Myers <joseph@codesourcery.com>
25768
25769 [BZ #15532]
25770 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25771 * math/s_cexpf.c (__cexpf): Likewise.
25772 * math/s_cexpl.c (__cexpl): Likewise.
25773 * math/libm-test.inc (cexp_test_data): Correct expected return
25774 value for NaN + i0. Add another test.
25775
75b181d6
DM
257762013-08-22 David S. Miller <davem@davemloft.net>
25777
25778 * po/ca.po: Update Catalan translation from translation project.
936241e4 25779 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25780
acd06bb1
JM
257812013-08-21 Joseph Myers <joseph@codesourcery.com>
25782
25783 [BZ #15797]
25784 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25785 is infinite, not alongside NaN test.
25786 * math/s_fdimf.c (__fdimf): Likewise.
25787 * math/s_fdiml.c (__fdiml): Likewise.
25788 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25789 errno is unchanged.
25790
c0c3f78a
OB
257912013-08-21 Ondřej Bílka <neleai@seznam.cz>
25792
25793 * argp/argp-help.c: Fix typos.
25794 * crypt/speeds.c: Likewise.
25795 * csu/check_fds.c: Likewise.
25796 * elf/dl-load.c: Likewise.
25797 * elf/dl-open.c: Likewise.
25798 * elf/reldep3.c: Likewise.
25799 * elf/reldep.c: Likewise.
25800 * elf/sprof.c: Likewise.
25801 * iconv/iconv_charmap.c: Likewise.
25802 * iconv/skeleton.c: Likewise.
25803 * iconv/strtab.c: Likewise.
25804 * io/lockf64.c: Likewise.
25805 * libio/libioP.h: Likewise.
25806 * resolv/gai_notify.c: Likewise.
25807 * resolv/ns_name.c: Likewise.
25808 * resolv/ns_samedomain.c: Likewise.
25809 * resolv/res_send.c: Likewise.
25810 * stdlib/random.c: Likewise.
25811 * sunrpc/rpc/xdr.h: Likewise.
25812 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25814 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25815 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25820 * sysdeps/mach/hurd/check_fds.c: Likewise.
25821 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25822 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25825 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25826 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25827 * sysdeps/pthread/aio_notify.c: Likewise.
25828 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25829 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25832 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25833
46ed1038
LD
258342013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25835
25836 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25837 version if bit_Slow_SSE4_2 is set.
25838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25839 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25840
d400dcac
AZ
258412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842
25843 [BZ #15867]
25844 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25845 trampoline stack frame information.
25846 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25847 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25848 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25849 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25850 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25851 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25852 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25853 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25854 sa_flags value.
25855 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25856 interrupting a syscall and set with option SA_SIGINFO.
25857
42c8fdd8
JM
258582013-08-20 Joseph Myers <joseph@codesourcery.com>
25859
c980f2f4
JM
25860 [BZ #15531]
25861 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25862 argument is infinite.
25863 * math/s_cprojf.c (__cprojf): Likewise.
25864 * math/s_cprojl.c (__cprojl): Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25866 * math/libm-test.inc (cproj_test_data): Add more tests.
25867
0716c4fc
JM
25868 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25869
42c8fdd8
JM
25870 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25871 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25872 size. Use __ffs to determine corresponding shift.
25873
b31469d0
JM
258742013-08-20 Joseph Myers <joseph@codesourcery.com>
25875 Roland McGrath <roland@hack.frob.com>
25876
25877 * Makefile (INSTALL): Remove trailing blank lines from output of
25878 makeinfo.
25879
4e39af6e
AK
258802013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25881
25882 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25883 Align 32 bit compat elf_greg to 8 bytes.
25884
f315524e
AA
258852013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25886
25887 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25888
1326ba1a
SP
258892013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25890
25891 * string/strcoll_l.c (coll_seq): New structure.
25892 (get_next_seq_cached): New function.
25893 (get_next_seq): New function.
25894 (do_compare): New function.
25895 (STRCOLL): Use GNU style definition. Simplify implementation
25896 by using get_next_seq, get_next_seq_cached and do_compare.
25897
91ce4085
FW
258982013-08-16 Florian Weimer <fweimer@redhat.com>
25899
25900 [BZ #14699]
25901 CVE-2013-4237
25902 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25903 member.
25904 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25905 member.
25906 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25907 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25908 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25909 conditional.
25910 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25911 GETDENTS_64BIT_ALIGNED.
25912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25913 * manual/filesys.texi (Reading/Closing Directory): Document
25914 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25915 strongly.
25916 * manual/conf.texi (Limits for Files): Add portability note to
25917 NAME_MAX, PATH_MAX.
25918 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25919
ca0a6bc4
AS
259202013-08-13 Andreas Schwab <schwab@suse.de>
25921
25922 [BZ #15749]
25923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25924 of fabs.
25925 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25926 LDBL_MAX_EXP >= 16384]: Add tests for it.
25927
6c1fd795
DM
259282013-08-12 David S. Miller <davem@davemloft.net>
25929
25930 * version.h (RELEASE): Set to "development".
25931 (VERSION): Set to "2.18.90".
25932 * NEWS: Add 2.19 section.
25933
31ad488d
DM
259342013-08-03 David S. Miller <davem@davemloft.net>
25935
25936 * po/ko.po: Update Korean translation from translation project.
25937
db24e684
DM
259382013-08-01 David S. Miller <davem@davemloft.net>
25939
25940 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25941 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25942 Bilka.
25943
f723285b
DM
259442013-07-30 David S. Miller <davem@davemloft.net>
25945
25946 * po/fr.po: Update French translation from translation project.
25947
3cbc52db
DM
259482013-07-28 David S. Miller <davem@davemloft.net>
25949
30bbc0cc
DM
25950 * po/cs.po: Update Czech translation from translation project.
25951
3cbc52db
DM
25952 * po/sv.po: Update Swedish translation from translation project.
25953
d492e6d0
DM
259542013-07-27 David S. Miller <davem@davemloft.net>
25955
f1a7f492
DM
25956 * po/eo.po: Update Esperanto translation from translation project.
25957
90e62a4a
DM
25958 * po/vi.po: Update Vietnamese translation from translation project.
25959
d492e6d0
DM
25960 * po/de.po: Update German translation from translation project.
25961
d4baa62d
DM
259622013-07-26 David S. Miller <davem@davemloft.net>
25963
641aa7b4
DM
25964 * po/bg.po: Update Bulgarian translation from translation project.
25965
d4baa62d
DM
25966 * po/nl.po: Update Dutch translation from translation project.
25967 * po/pl.po: Update Polish translation from translation project.
25968 * po/ru.po: Update Russian translation from translation project.
25969
61a9dcb9
DM
259702013-07-24 David S. Miller <davem@davemloft.net>
25971
25972 * po/libc.pot: Update.
25973
7b1f8b58
AZ
259742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25975
25976 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25977 variable page size.
25978 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25979 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25980 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25981
a8fc7a03
AK
259822013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25983
25984 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25985
e4608715
CD
259862013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25987 Andreas Schwab <schwab@suse.de>
25988 Roland McGrath <roland@hack.frob.com>
25989 Joseph Myers <joseph@codesourcery.com>
25990 Carlos O'Donell <carlos@redhat.com>
25991
25992 [BZ #15755]
25993 * config.h.in: Define HAVE_PT_CHOWN.
25994 * config.make.in (build-pt-chown): New variable.
25995 * configure.in (--enable-pt_chown): New configure option.
25996 * configure: Regenerate.
25997 * login/Makefile: Include Makeconfig. Build pt_chown only if
25998 build-pt-chown is enabled.
25999 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26000 pt_chown to fix pty ownership.
26001 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26002 CLOSE_ALL_FDS.
26003 * manual/install.texi (Configuring and compiling): Mention
26004 --enable-pt_chown. Add @findex for grantpt.
26005 * INSTALL: Regenerate.
26006
da2d62df
DM
260072013-07-20 David S. Miller <davem@davemloft.net>
26008
26009 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26010 difference between 32-bit and 64-bit.
26011
d7e06450
CD
260122013-07-15 Carlos O'Donell <carlos@redhat.com>
26013
26014 [BZ #15711]
26015 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26016 Avoid system header dependency with -ffreestanding.
26017 ($(objpfx)bits/syscall%d): Likewise.
26018
f959cfd7
DM
260192013-07-13 David S. Miller <davem@davemloft.net>
26020
26021 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26022 underflows from atanl/atan2l due to bug 15319.
26023 (casinh_test_data): Likewise.
26024
c61f8513
DM
260252013-07-07 David S. Miller <davem@davemloft.net>
26026
26027 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26028
72c90ed0
JA
260292013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26030
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26033
52dfbe13
SP
260342013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26035
26036 * configure.in (--enable-lock-elision): Fix message text.
26037 * INSTALL: Regenerate.
26038 * configure: Regenerate.
26039
3f169543
AZ
260402013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26041
26042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26043
521c6785
AJ
260442013-07-03 Andreas Jaeger <aj@suse.de>
26045
26046 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26047 define.
26048 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26049 (ptrace_peeksiginfo_args): Add.
26050 (__ptrace_peeksiginfo_flags): Add.
26051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26054
d2cc15cb
AM
260552013-07-03 Allan McRae <allan@archlinux.org>
26056
26057 * sysdeps/i386/fpu/libm-test-ulps: Update.
26058
3aaeeca7
DM
260592013-07-02 David S. Miller <davem@davemloft.net>
26060
26061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26062
5314ed1a
MT
260632013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26064
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26066
67338156
JM
260672013-07-02 Joseph Myers <joseph@codesourcery.com>
26068
26069 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
1717da59
AK
260722013-07-02 Andi Kleen <ak@linux.intel.com>
26073
26074 * config.h.in (ENABLE_LOCK_ELISION): Add.
26075 * configure.in (--enable-lock-elision): Add option.
26076 * manual/install.texi: Document --enable lock elision.
26077 * configure: Regenerate
26078 * INSTALL: Regenerate.
26079
1c81621c
L
260802013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26081
26082 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26083 SSE4.2 strcasecmp for libc.a.
26084 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26085
77f01ab5
JM
260862013-07-02 Joseph Myers <joseph@codesourcery.com>
26087
26088 [BZ #13304]
26089 * soft-fp/op-common.h (_FP_FMA): New macro.
26090 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26091 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26092 (_FP_MUL_MEAT_1_imm): ... here.
26093 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26094 (_FP_MUL_MEAT_1_wide): ... here.
26095 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26096 (_FP_MUL_MEAT_1_hard): ... here.
26097 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26098 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26099 (_FP_MUL_MEAT_2_wide): ... here.
26100 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26101 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26102 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26103 (_FP_MUL_MEAT_2_gmp): ... here.
26104 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26105 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26106 (_FP_MUL_MEAT_4_wide): ... here.
26107 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26108 (_FP_MUL_MEAT_4_gmp): ... here.
26109 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26110 (_FP_WFRACBITS_DW_S): Likewise.
26111 (_FP_WFRACXBITS_DW_S): Likewise.
26112 (_FP_HIGHBIT_DW_S): Likewise.
26113 (FP_FMA_S): Likewise.
26114 (_FP_FRAC_HIGH_DW_S): Likewise.
26115 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26116 (_FP_WFRACBITS_DW_D): Likewise.
26117 (_FP_WFRACXBITS_DW_D): Likewise.
26118 (_FP_HIGHBIT_DW_D): Likewise.
26119 (FP_FMA_D): Likewise.
26120 (_FP_FRAC_HIGH_DW_D): Likewise.
26121 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26122 (_FP_WFRACBITS_DW_E): Likewise.
26123 (_FP_WFRACXBITS_DW_E): Likewise.
26124 (_FP_HIGHBIT_DW_E): Likewise.
26125 (FP_FMA_E): Likewise.
26126 (_FP_FRAC_HIGH_DW_E): Likewise.
26127 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26128 (_FP_WFRACBITS_DW_Q): Likewise.
26129 (_FP_WFRACXBITS_DW_Q): Likewise.
26130 (_FP_HIGHBIT_DW_Q): Likewise.
26131 (FP_FMA_Q): Likewise.
26132 (_FP_FRAC_HIGH_DW_Q): Likewise.
26133 * soft-fp/fmasf4.c: New file.
26134 * soft-fp/fmadf4.c: Likewise.
26135 * soft-fp/fmatf4.c: Likewise.
26136
6308fd9a
LD
261372013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26138
26139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26140 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26141 Silvermont.
26142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26143 macro.
26144 (index_Slow_SSE4_2): Likewise.
26145 (index_Prefer_PMINUB_for_stringop): Likewise.
26146 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26147 bit_Slow_SSE4_2 is set.
26148 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26149 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26150
89cd9569
RA
261512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26152
26153 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26154 rtld_global._dl_hwcap2.
26155 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26156 POWER8.
26157 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26158 POWER8 feature descriptions defined in _dl_hwcap2.
26159 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26160 string handling for POWER8 feature bits.
26161 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26162 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26163 _dl_powerpc_cap_flags.
26164 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26165 * sysdeps/powerpc/rtld-global-offsets.sym
26166 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26167 _dl_hwcap2 in the rtld_global_ro structure.
26168
1ae8bfe0
RA
261692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26170
26171 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26172 hardware capabilities in support of AT_HWCAP2.
26173 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26174 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26175 GLRO(dl_hwcap2).
26176 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26177 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26178 explicitly the unknown a_type display mechanism is used.
26179 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26180 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26181 struct member.
26182 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26183 to macro prototype for AT_HWCAP2 support.
26184 * sysdeps/i386/dl-procinfo.h: Likewise.
26185 * sysdeps/s390/dl-procinfo.h: Likewise.
26186 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26187 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26188 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26189 return -1 for unknown a_type display fallback.
26190 * sysdeps/sparc/dl-procinfo.h: Likewise.
26191 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26192 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26193
8fbec010
JM
261942013-06-28 Joseph Myers <joseph@codesourcery.com>
26195
26196 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26197 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26198
0432680e
PY
261992013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26200
26201 [BZ #12492]
26202 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26203 mprotect making __stack_prot writable.
26204
ce61a2ad
NF
262052013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26206 Joseph Myers <joseph@codesourcery.com>
26207
26208 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26209 as being properly aligned.
26210
f91f1c0f
MR
262112013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26212
3d0f5d0c
MR
26213 * dlfcn/modstatic5.c: New file.
26214 * dlfcn/tststatic5.c: New file.
26215 * dlfcn/Makefile (tests): Add tststatic5.
26216 (tests-static): Likewise.
26217 (modules-names): Add modstatic5.
26218 (tststatic5-ENV): New variable.
26219 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26220
f91f1c0f
MR
26221 [BZ #15022]
26222 * elf/dl-support.c (_dl_main_map): New variable.
26223 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26224 (_dl_nns, _dl_load_adds): Set to 1.
26225 (_dl_initial_searchlist): Refer to _dl_main_map.
26226 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26227 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26228 call to _dl_get_origin.
26229 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26230 around call_map.
26231 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26232 * dlfcn/modstatic3.c: New file.
26233 * dlfcn/tststatic3.c: New file.
26234 * dlfcn/tststatic4.c: New file.
26235 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26236 (tests-static): Likewise.
26237 (modules-names): Add modstatic3.
26238 (tststatic3-ENV, tststatic4-ENV): New variables.
26239 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26240 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26241
cbe7d24b
JM
262422013-06-26 Joseph Myers <joseph@codesourcery.com>
26243
26244 * configure.in (CC): Require GCC version 4.4 or later.
26245 * configure: Regenerated.
26246 * manual/install.texi (Tools for Compilation): Update GCC version
26247 requirement.
26248 * INSTALL: Regenerated.
26249
11b8a0e1
LD
262502013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26251
26252 [BZ #15674]
bb5bb87c
L
26253 * string/test-memcmp.c (check2): New.
26254 (main): Call check2.
26255
11b8a0e1
LD
26256 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26257
b0037103
MR
262582013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26259
26260 [BZ #15022]
26261 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26262 over to...
26263 (dl_open_worker) [!SHARED]: ... here.
26264
c18c701d
RA
262652013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26266
26267 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26268
1d17fa5f
RH
262692013-06-25 Richard Henderson <rth@redhat.com>
26270
26271 * locale/programs/locarchive.c: Include <libc-internal.h>
26272
8fcb833a
JM
262732013-06-25 Joseph Myers <joseph@codesourcery.com>
26274
26275 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26276 trailing whitespace removed.
26277
17db6e8d
MF
262782013-06-24 Mike Frysinger <vapier@gentoo.org>
26279
26280 [BZ #10283]
17db6e8d
MF
26281 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26282 * locale/programs/locarchive.c: Include libc-mmap.h.
26283 (prepare_address_space): Take two new outputs (the mmap base and len).
26284 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26285 values.
26286 (create_archive): Declare new mmap base and len values for
26287 prepare_address_space, and store the result in ah.
26288 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26289 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26290 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26291 Declare new mmap base and len values for
26292 prepare_address_space, and store the result in new_ah.
26293 (open_archive): Declare new mmap base and len values for
26294 prepare_address_space, and store the result in ah.
26295 (close_archive): If ah->mmap_base is not NULL, use that and
26296 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26297 * sysdeps/generic/libc-mmap.h: New file.
26298
d605071e
MF
262992013-06-24 Mike Frysinger <vapier@gentoo.org>
26300
26301 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26302 (ALIGN_UP): Likewise.
26303 (PTR_ALIGN_DOWN): Likewise.
26304 (PTR_ALIGN_UP): Likewise.
26305
2f063a6e
RA
263062013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26307
26308 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26309 entry mapped to PPC_PLATFORM_POWER8.
26310 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26311 POWER8.
26312 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26313 (_dl_string_platform): Add case for exporting platform position for
26314 POWER8.
26315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26316 search path to sysdeps/powerpc/powerpc32/power8 directory.
26317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26318 search path to sysdeps/powerpc/powerpc64/power8 directory.
26319 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26320 power7 directories.
26321 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26322 power7 directories.
26323
a31ee4b3
SP
263242013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26325
a74ca98f
SP
26326 * INSTALL: Regenerate.
26327
a31ee4b3
SP
26328 * nscd/connections.c (nscd_init): Fix comment.
26329
695c378f
JM
263302013-06-22 Joseph Myers <joseph@codesourcery.com>
26331
d8412221
JM
26332 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26333
695c378f
JM
26334 [BZ #15667]
26335 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26336 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26337
d1d54715
MR
263382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26339
26340 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26341 DL_DST_REQ_STATIC.
26342 (DL_DST_REQ_STATIC): Remove macro.
26343
8fdda7af
JM
263442013-06-21 Joseph Myers <joseph@codesourcery.com>
26345
26346 [BZ #7006]
26347 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26348 with a shift of 0 bits.
26349
f3bc5e5a
MR
263502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26351
26352 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26353 $(tststatic-ENV).
26354
be09e8c9
KK
263552013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26356
26357 [BZ #15655]
26358 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26359
85c2e611
AZ
263602013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26361
26362 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26363 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26364 accepts -fno-tree-loop-distribute-patterns.
26365 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26366 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26367 recursive call.
26368 * string/memset.c (memset): Likewise.
26369 * string/test-memmove.c (simple_memmove): Disable loop transformation
26370 to library calls.
26371 * string/test-memset.c (simple_memset): Likewise.
26372 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26373 * benchtests/bench-memset.c (simple_memset): Likewise.
26374 * configure: Regenerated.
26375
c91e0825
JM
263762013-06-20 Joseph Myers <joseph@codesourcery.com>
26377
b8c792af
JM
26378 * math/test-misc.c (main): Ignore fesetround failure when failures
26379 of subsequent rounding tests would be ignored.
26380
c91e0825
JM
26381 [BZ #15654]
26382 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26383 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26384 * math/fegetenv.c (__fegetenv): Return 0.
26385 * math/fegetexcept.c (fegetexcept): Return 0.
26386 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26387 FE_TONEAREST.
26388 * math/feholdexcpt.c (feholdexcept): Return 0.
26389 * math/fesetenv.c (__fesetenv): Return 0.
26390 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26391 argument FE_TONEAREST.
26392 * math/feupdateenv.c (__feupdateenv): Return 0.
26393 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26394
bfcacbde
RM
263952013-06-18 Roland McGrath <roland@hack.frob.com>
26396
26397 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26398 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26399 ($(objpfx)rtld-%.os rules): Use them.
26400
e55a9b25
AZ
264012013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26402
26403 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26404 fields.
26405
346d65b3
RM
264062013-06-17 Roland McGrath <roland@hack.frob.com>
26407
12086fb4
RM
26408 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26409 length of target pattern, then descending length of dependency pattern.
26410 * configure.in (AWK): Require gawk 3.1.2 or newer.
26411 * manual/install.texi (Tools for Compilation): Say that we do.
26412 * configure: Regenerated.
26413
346d65b3
RM
26414 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26415 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26416 * scripts/sysd-rules.awk: ... this new script.
26417 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26418 than a glob-style pattern.
26419
1a846317
JM
264202013-06-17 Joseph Myers <joseph@codesourcery.com>
26421
26422 * math/test-misc.c (main): Do not treat incorrectly rounded
26423 conversions as failure unless ROUNDING_TESTS passes.
26424
8fc75e6f
JM
264252013-06-15 Joseph Myers <joseph@codesourcery.com>
26426
3711a167
JM
26427 [BZ #15631]
26428 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26429 restore exception state around main square root computation, then
26430 check for inexactness explicitly.
26431
8fc75e6f
JM
26432 * math/libm-test.inc (fma_test_data): Add another test.
26433
61dd6208
SP
264342013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26435
adf23d2c
SP
26436 * manual/threads.texi (Non-POSIX Extensions): New document
26437 node. Document pthread_getattr_default_np and
26438 pthread_setattr_default_np.
26439
61dd6208
SP
26440 * Versions.def (libpthread): Add GLIBC_2.18.
26441 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26443 Likewise.
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26445 Likewise.
26446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26447 Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26449 Likewise.
26450 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26451 Likewise.
26452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26453 Likewise.
26454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26455 Likewise.
26456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26457 Likewise.
26458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26459 Likewise.
26460
d086fc7b
LD
264612013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26462
26463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26464 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26465
747ef469
SP
264662013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26467 H.J. Lu <hjl.tools@gmail.com>
26468
26469 [BZ #15627]
26470 * sysdeps/x86_64/rtld-memset.c: Remove file.
26471 * sysdeps/x86_64/rtld-memset.S: New file.
26472
1b2feed2
JM
264732013-06-14 Joseph Myers <joseph@codesourcery.com>
26474
26475 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26476 (test_in_one_mode): Take arguments for whether the rounding mode
26477 is supported for each floating-point type.
26478 (do_test): Pass new arguments to test_in_one_mode using
26479 ROUNDING_TESTS.
26480
a58ad3f8
RM
264812013-06-13 Roland McGrath <roland@hack.frob.com>
26482
26483 * posix/tst-waitid.c (do_test): Distinguish different instances of
26484 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26485 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26486 before entering the kernel for waitpid.
26487
c204ab28
SP
264882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26489
26490 * NEWS: Fix note on clock function precision. Text by Roland
26491 McGrath.
26492
f4a29fba
RM
264932013-06-13 Roland McGrath <roland@hack.frob.com>
26494
26495 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26496 it into place only when and if the sanity check passes.
26497
1f24b9ad
JM
264982013-06-13 Joseph Myers <joseph@codesourcery.com>
26499
26500 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26501 output for whether conversion result is exact. Take argument
26502 indicating whether type is IBM long double.
26503 (round_for_all): Change need_exact field to ibm_ld.
26504 * stdlib/tst-strtod-round.c (struct exactness): New type.
26505 (struct test): Change bool ld_ok field to struct exactness exact.
26506 (TEST): Update all definitions for change to field.
26507 (tests): Regenerate array contents.
26508 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26509 field value. Check for IBM long double here.
26510 (do_test): Update calls to test_in_one_mode.
26511
58206c68
SP
265122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26513
26514 [BZ #12515]
26515 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26516 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26517
2d6f4c5b 265182013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26519
26520 [BZ #15605]
26521 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26522 generated by the compiler on loop optimizations.
26523 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26524 general definitions.
26525
94f2c076
JM
265262013-06-12 Joseph Myers <joseph@codesourcery.com>
26527
26528 * math/bug-nextafter.c: Include <math-tests.h>.
26529 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26530 the relevant type.
26531 * math/bug-nexttoward.c: Include <math-tests.h>.
26532 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26533 the relevant type.
26534 * math/test-misc.c: Include <math-tests.h>.
26535 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26536 the relevant type.
26537
e0e50a0a
AJ
265382013-06-12 Andreas Jaeger <aj@suse.de>
26539
26540 * po/ia.po: Update Interlingua translation from translation
26541 project.
26542
25061094
SP
265432013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26544
26545 * include/fenv.h: Include stdbool.h.
26546 (struct rm_ctx): New structure.
26547 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26548 Define macro.
26549 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26550 (SET_RESTORE_ROUNDF): Likewise.
26551 (SET_RESTORE_ROUNDL): Likewise.
26552 (SET_RESTORE_ROUND_NOEX): Likewise.
26553 (SET_RESTORE_ROUND_NOEXF): Likewise.
26554 (SET_RESTORE_ROUND_NOEXL): Likewise.
26555 (SET_RESTORE_ROUND_53BIT): Likewise.
26556 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26557 (libc_feresetround_noexf_ctx): Likewise.
26558 (libc_feresetround_noexl_ctx): Likewise.
26559 (libc_feholdsetround_53bit_ctx): Likewise.
26560 (libc_feresetround_53bit_ctx): Likewise.
26561 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26562 (libc_feholdexcept_setround_sse_ctx): New function.
26563 (libc_fesetenv_sse_ctx): Likewise.
26564 (libc_feupdateenv_sse_ctx): Likewise.
26565 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26566 (libc_feholdexcept_setround_387_ctx): Likewise.
26567 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26568 (libc_feholdsetround_387_prec_ctx): Likewise.
26569 (libc_feholdsetround_387_ctx): Likewise.
26570 (libc_feholdsetround_387_53bit_ctx): Likewise.
26571 (libc_feholdsetround_sse_ctx): Likewise.
26572 (libc_feresetround_sse_ctx): Likewise.
26573 (libc_feresetround_387_ctx): Likewise.
26574 (libc_feupdateenv_387_ctx): Likewise.
26575 (libc_feholdexcept_setroundf_ctx): Define macro.
26576 (libc_fesetenvf_ctx): Likewise.
26577 (libc_feupdateenvf_ctx): Likewise.
26578 (libc_feholdsetroundf_ctx): Likewise.
26579 (libc_feresetroundf_ctx): Likewise.
26580 (libc_feholdexcept_setround_ctx): Likewise.
26581 (libc_fesetenv_ctx): Likewise.
26582 (libc_feupdateenv_ctx): Likewise.
26583 (libc_feholdsetround_ctx): Likewise.
26584 (libc_feresetround_ctx): Likewise.
26585 (libc_feholdexcept_setroundl_ctx): Likewise.
26586 (libc_feupdateenvl_ctx): Likewise.
26587 (libc_feholdsetroundl_ctx): Likewise.
26588 (libc_feresetroundl_ctx): Likewise.
26589 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26590 (libc_feresetround_53bit_ctx): Likewise.
26591
59b30555
SP
265922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26593
26594 * locale/iso-639.def: Convert to UTF-8.
26595
f1d73d30
JM
265962013-06-11 Joseph Myers <joseph@codesourcery.com>
26597
26598 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26599 (EXCEPTION_TESTS_double): Likewise.
26600 (EXCEPTION_TESTS_long_double): Likewise.
26601 (EXCEPTION_TESTS): Likewise.
26602 * math/libm-test.inc (test_exceptions): Only test exceptions if
26603 EXCEPTION_TESTS (FLOAT).
26604
94aca5e7
SP
266052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26606
26607 * benchtests/Makefile (string-bench): Add strcpy_chk and
26608 stpcpy_chk.
26609 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26610 * benchtests/bench-stpcpy_chk.c: New file.
26611 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26612 * benchtests/bench-strcpy_chk.c: New file.
26613 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26614 code.
26615 (do_test): Likewise.
26616
fac0c5f2
RA
266172013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26618
26619 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26620 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26621 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26622 with tabs where appropriate.
26623 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26624 dl-procinfo.h.
26625 [PPC_PLATFORM_PPC440]: Likewise.
26626 [PPC_PLATFORM_PPC464]: Likewise.
26627 [PPC_PLATFORM_PPC476]: Likewise.
26628 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26629 ppc464, and ppc476 platform strings merging from ports/
26630 dl-procinfo.h.
26631
f22bc486
AS
266322013-06-11 Andreas Schwab <schwab@suse.de>
26633
26634 [BZ #14991]
26635 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26636 (from_ucs4_idx): Regenerate.
26637 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26638 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26639 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26640 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26641 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26642 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26643 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26644 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26645 from FROM_LOOP and TO_LOOP specific macros.
26646 (BODY): Handle combining characters.
26647 * iconvdata/BIG5HKSCS.irreversible: Update.
26648 * iconvdata/BIG5HKSCS.precomposed: New file.
26649 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26650 characters.
26651 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26652
c1f75dc3
SP
266532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26654
4eacded2
SP
26655 * include/sys/time.h: Fix indentation and add copyright header.
26656
fec799f8
SP
26657 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26658 (do_test): Likewise.
26659 * string/test-memchr.c (do_one_test): Likewise.
26660 (do_test): Likewise.
26661 * string/test-memcmp.c (do_one_test): Likewise.
26662 (do_test): Likewise.
26663 * string/test-memcpy.c (do_one_test): Likewise.
26664 (do_test): Likewise.
26665 * string/test-memmem.c (do_one_test): Likewise.
26666 (do_test): Likewise.
26667 (do_random_tests): Likewise.
26668 * string/test-memmove.c (do_one_test): Likewise.
26669 (do_test): Likewise.
26670 * string/test-memset.c (do_one_test): Likewise.
26671 (do_test): Likewise.
26672 * string/test-rawmemchr.c (do_one_test): Likewise.
26673 (do_test): Likewise.
26674 * string/test-strcasecmp.c (do_one_test): Likewise.
26675 (do_test): Likewise.
26676 * string/test-strcasestr.c (do_one_test): Likewise.
26677 (do_test): Likewise.
26678 * string/test-strcat.c (do_one_test): Likewise.
26679 (do_test): Likewise.
26680 * string/test-strchr.c (do_one_test): Likewise.
26681 (do_test): Likewise.
26682 * string/test-strcmp.c (do_one_test): Likewise.
26683 (do_test): Likewise.
26684 * string/test-strcpy.c (do_one_test): Likewise.
26685 (do_test): Likewise.
26686 * string/test-string.h: Likewise.
26687 (test_init): Likewise.
26688 * string/test-strlen.c (do_one_test): Likewise.
26689 (do_test): Likewise.
26690 * string/test-strncasecmp.c (do_one_test): Likewise.
26691 (do_test): Likewise.
26692 * string/test-strncat.c (do_one_test): Likewise.
26693 (do_test): Likewise.
26694 * string/test-strncmp.c (do_one_test): Likewise.
26695 (do_test_limit): Likewise.
26696 (do_test): Likewise.
26697 * string/test-strncpy.c (do_one_test): Likewise.
26698 (do_test): Likewise.
26699 * string/test-strnlen.c (do_one_test): Likewise.
26700 (do_test): Likewise.
26701 * string/test-strpbrk.c (do_one_test): Likewise.
26702 (do_test): Likewise.
26703 * string/test-strrchr.c (do_one_test): Likewise.
26704 (do_test): Likewise.
26705 * string/test-strspn.c (do_one_test): Likewise.
26706 (do_test): Likewise.
26707 * string/test-strstr.c (do_one_test): Likewise.
26708 (do_test): Likewise.
26709
97020474
SP
26710 * benchtests/Makefile (string-bench): Add string benchmarks.
26711 * benchtests/bench-bcopy-ifunc.c: New file.
26712 * benchtests/bench-bcopy.c: New file.
26713 * benchtests/bench-bzero-ifunc.c: New file.
26714 * benchtests/bench-bzero.c: New file.
26715 * benchtests/bench-memccpy-ifunc.c: New file.
26716 * benchtests/bench-memccpy.c: New file.
26717 * benchtests/bench-memchr-ifunc.c: New file.
26718 * benchtests/bench-memchr.c: New file.
26719 * benchtests/bench-memcmp-ifunc.c: New file.
26720 * benchtests/bench-memcmp.c: New file.
26721 * benchtests/bench-memmem-ifunc.c: New file.
26722 * benchtests/bench-memmem.c: New file.
26723 * benchtests/bench-memmove-ifunc.c: New file.
26724 * benchtests/bench-memmove.c: New file.
26725 * benchtests/bench-mempcpy-ifunc.c: New file.
26726 * benchtests/bench-mempcpy.c: New file.
26727 * benchtests/bench-memset-ifunc.c: New file.
26728 * benchtests/bench-memset.c: New file.
26729 * benchtests/bench-rawmemchr-ifunc.c: New file.
26730 * benchtests/bench-rawmemchr.c: New file.
26731 * benchtests/bench-stpcpy-ifunc.c: New file.
26732 * benchtests/bench-stpcpy.c: New file.
26733 * benchtests/bench-stpncpy-ifunc.c: New file.
26734 * benchtests/bench-stpncpy.c: New file.
26735 * benchtests/bench-strcasecmp-ifunc.c: New file.
26736 * benchtests/bench-strcasecmp.c: New file.
26737 * benchtests/bench-strcasestr-ifunc.c: New file.
26738 * benchtests/bench-strcasestr.c: New file.
26739 * benchtests/bench-strcat-ifunc.c: New file.
26740 * benchtests/bench-strcat.c: New file.
26741 * benchtests/bench-strchr-ifunc.c: New file.
26742 * benchtests/bench-strchr.c: New file.
26743 * benchtests/bench-strchrnul-ifunc.c: New file.
26744 * benchtests/bench-strchrnul.c: New file.
26745 * benchtests/bench-strcmp-ifunc.c: New file.
26746 * benchtests/bench-strcmp.c: New file.
26747 * benchtests/bench-strcpy-ifunc.c: New file.
26748 * benchtests/bench-strcpy.c: New file.
26749 * benchtests/bench-strcspn-ifunc.c: New file.
26750 * benchtests/bench-strcspn.c: New file.
26751 * benchtests/bench-strlen-ifunc.c: New file.
26752 * benchtests/bench-strlen.c: New file.
26753 * benchtests/bench-strncasecmp-ifunc.c: New file.
26754 * benchtests/bench-strncasecmp.c: New file.
26755 * benchtests/bench-strncat-ifunc.c: New file.
26756 * benchtests/bench-strncat.c: New file.
26757 * benchtests/bench-strncmp-ifunc.c: New file.
26758 * benchtests/bench-strncmp.c: New file.
26759 * benchtests/bench-strncpy-ifunc.c: New file.
26760 * benchtests/bench-strncpy.c: New file.
26761 * benchtests/bench-strnlen-ifunc.c: New file.
26762 * benchtests/bench-strnlen.c: New file.
26763 * benchtests/bench-strpbrk-ifunc.c: New file.
26764 * benchtests/bench-strpbrk.c: New file.
26765 * benchtests/bench-strrchr-ifunc.c: New file.
26766 * benchtests/bench-strrchr.c: New file.
26767 * benchtests/bench-strspn-ifunc.c: New file.
26768 * benchtests/bench-strspn.c: New file.
26769 * benchtests/bench-strstr-ifunc.c: New file.
26770 * benchtests/bench-strstr.c: New file.
26771
c1f75dc3
SP
26772 * benchtests/Makefile: Disable parallel execution of targets.
26773 (string-bench): Add memcpy.
26774 (benchset): New variable to store a list of benchmark sets.
26775 (bench-func): Renamed from bench.
26776 (bench-set): New target.
26777 (bench): Depend on bench-func and bench-set.
26778 * benchtests/README: Add section on benchmark sets.
26779 * benchtests/bench-memcpy-ifunc.c: New file.
26780 * benchtests/bench-memcpy.c: New file.
26781 * benchtests/bench-string.h: New file.
26782
50fd745b
AS
267832013-06-11 Andreas Schwab <schwab@suse.de>
26784
26785 [BZ #15577]
26786 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26787 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26788 values in the triple.
26789 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26790 terminator in the group key.
26791
3ee7e9fe
AJ
267922013-06-11 Andreas Jaeger <aj@suse.de>
26793
26794 * po/zh_TW.po: Update Chinese (traditional) translation from
26795 translation project.
26796
89fb6835
SP
267972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26800 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26801 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26803 (clock_getcpuclockid): Likewise.
26804 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26805 Add weak_alias and libc_hidden_def.
26806 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26807 * rt/clock_gettime.c (clock_gettime): Rename to
26808 __clock_gettime. Add weak_alias and libc_hidden_def.
26809 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26810 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26811 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26812 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26813 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26814 Likewise.
26815 * rt/clock_settime.c (clock_settime): Rename to
26816 __clock_settime. Add weak_alias and libc_hidden_def.
26817 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26818
0efa6f8b
JM
268192013-06-10 Joseph Myers <joseph@codesourcery.com>
26820
b8c61b4b
JM
26821 * mach/err_boot.sub: Remove trailing whitespace.
26822 * mach/err_ipc.sub: Likewise.
26823 * mach/err_mach.sub: Likewise.
26824
0efa6f8b
JM
26825 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26826 (ROUNDING_TESTS_double): Likewise.
26827 (ROUNDING_TESTS_long_double): Likewise.
26828 (ROUNDING_TESTS): Likewise.
26829 * math/libm-test.inc: Include <math-tests.h>.
26830 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26831 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26832 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26833 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26834
50b818bf
SP
268352013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26836
26837 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26838 of assigning.
26839
60d2f8f3
JM
268402013-06-08 Joseph Myers <joseph@codesourcery.com>
26841
4902d2c3
JM
26842 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26843 otherwise empty TRANS lines.
26844 * sysdeps/gnu/errlist.c: Regenerated.
26845
60d2f8f3
JM
26846 * catgets/gencat.c (error_print): Use (void) in function
26847 definition.
26848 * crypt/crypt_util.c (__init_des): Likewise.
26849 * crypt/speeds.c (Stop): Likewise.
26850 (main): Likewise.
26851 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26852 * inet/ruserpass.c (token): Likewise.
26853 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26854 * intl/localealias.c (extend_alias_table): Likewise.
26855 * intl/plural-exp.c (init_germanic_plural): Likewise.
26856 * libio/fcloseall.c (__fcloseall): Likewise.
26857 * libio/genops.c (_IO_flush_all): Likewise.
26858 (_IO_flush_all_linebuffered): Likewise.
26859 (_IO_cleanup): Likewise.
26860 (_IO_iter_begin): Likewise.
26861 (_IO_iter_end): Likewise.
26862 (_IO_list_lock): Likewise.
26863 (_IO_list_unlock): Likewise.
26864 (_IO_list_resetlock): Likewise.
26865 * libio/getchar.c (getchar): Likewise.
26866 * libio/getchar_u.c (getchar_unlocked): Likewise.
26867 * libio/getwchar.c (getwchar): Likewise.
26868 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26869 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26870 * login/getpt.c (__getpt): Likewise.
26871 * login/tst-utmp.c (main): Likewise.
26872 * malloc/hooks.c (__malloc_check_init): Likewise.
26873 * malloc/malloc.c (__malloc_stats): Likewise.
26874 * malloc/mtrace.c (tr_break): Likewise.
26875 (mtrace): Likewise.
26876 (muntrace): Likewise.
26877 * misc/fstab.c (endfsent): Likewise.
26878 * misc/getclktck.c (__getclktck): Likewise.
26879 * misc/getdtsz.c (__getdtablesize): Likewise.
26880 * misc/gethostid.c (gethostid): Likewise.
26881 * misc/getpagesize.c (__getpagesize): Likewise.
26882 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26883 (__get_nprocs): Likewise.
26884 (__get_phys_pages): Likewise.
26885 (__get_avphys_pages): Likewise.
26886 * misc/getttyent.c (getttyent): Likewise.
26887 (setttyent): Likewise.
26888 (endttyent): Likewise.
26889 * misc/getusershell.c (getusershell): Likewise.
26890 (endusershell): Likewise.
26891 (setusershell): Likewise.
26892 (initshells): Likewise.
26893 * misc/hsearch.c (__hdestroy): Likewise.
26894 * misc/sync.c (sync): Likewise.
26895 * misc/syslog.c (closelog_internal): Likewise.
26896 (closelog): Likewise.
26897 * misc/ttyslot.c (ttyslot): Likewise.
26898 * misc/vhangup.c (vhangup): Likewise.
26899 * posix/fork.c (__fork): Likewise.
26900 * posix/getegid.c (__getegid): Likewise.
26901 * posix/geteuid.c (__geteuid): Likewise.
26902 * posix/getgid.c (__getgid): Likewise.
26903 * posix/getpid.c (__getpid): Likewise.
26904 * posix/getppid.c (__getppid): Likewise.
26905 * posix/getuid.c (__getuid): Likewise.
26906 * posix/pause.c (pause): Likewise.
26907 * posix/setpgrp.c (setpgrp): Likewise.
26908 * posix/setsid.c (__setsid): Likewise.
26909 * posix/test-vfork.c (noop): Likewise.
26910 * resolv/gethnamaddr.c (_endhtent): Likewise.
26911 (_gethtent): Likewise.
26912 (ht_endhostent): Likewise.
26913 (gethostent): Likewise.
26914 (dns_service): Likewise.
26915 * stdlib/drand48.c (drand48): Likewise.
26916 * stdlib/lrand48.c (lrand48): Likewise.
26917 * stdlib/mrand48.c (mrand48): Likewise.
26918 * stdlib/rand.c (rand): Likewise.
26919 * stdlib/random.c (__random): Likewise.
26920 * stdlib/setenv.c (clearenv): Likewise.
26921 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26922 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26923 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26924 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26925 (__get_nprocs): Likewise.
26926 (__get_phys_pages): Likewise.
26927 (__get_avphys_pages): Likewise.
26928 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26929 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26930 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26931 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26932 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26933 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26934 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26935 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26936 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26937 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26938 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26939 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26940 * sysdeps/posix/clock.c (clock): Likewise.
26941 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26942 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26943 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26944 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26945 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26947 (__get_nprocs_conf): Likewise.
26948 (__get_phys_pages): Likewise.
26949 (__get_avphys_pages): Likewise.
26950 * time/clock.c (clock): Likewise.
26951 * time/tzset.c (__tzname_max): Likewise.
26952
2e09a79a
JM
269532013-06-07 Joseph Myers <joseph@codesourcery.com>
26954
26955 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26956 (__bswap_32): Do not use "register".
26957 * crypt/crypt.c (_ufc_doit_r): Likewise.
26958 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26959 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26960 * gmon/gmon.c (__monstartup): Likewise.
26961 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26962 * hurd/hurdmalloc.c (more_memory): Likewise.
26963 (malloc): Likewise.
26964 (free): Likewise.
26965 (realloc): Likewise.
26966 (malloc_fork_prepare): Likewise.
26967 (malloc_fork_parent): Likewise.
26968 (malloc_fork_child): Likewise.
26969 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26970 (_svcauth_des): Likewise.
26971 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26972 * inet/inet_net.c (inet_network): Likewise.
26973 * inet/inet_netof.c (inet_netof): Likewise.
26974 * inet/rcmd.c (__validuser2_sa): Likewise.
26975 * io/fts.c (fts_open): Likewise.
26976 (fts_load): Likewise.
26977 (fts_close): Likewise.
26978 (fts_read): Likewise.
26979 (fts_children): Likewise.
26980 (fts_build): Likewise.
26981 (fts_stat): Likewise.
26982 (fts_sort): Likewise.
26983 (fts_alloc): Likewise.
26984 (fts_lfree): Likewise.
26985 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26986 (_IO_file_xsgetn): Likewise.
26987 (_IO_file_xsgetn_mmap): Likewise.
26988 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26989 (_IO_cookie_write): Likewise.
26990 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26991 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26992 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26993 * malloc/obstack.c (_obstack_begin): Likewise.
26994 (_obstack_begin_1): Likewise.
26995 (_obstack_newchunk): Likewise.
26996 (_obstack_allocated_p): Likewise.
26997 (obstack_free): Likewise.
26998 (_obstack_memory_used): Likewise.
26999 * misc/getttyent.c (getttynam): Likewise.
27000 (getttyent): Likewise.
27001 (skip): Likewise.
27002 (value): Likewise.
27003 * misc/getusershell.c (initshells): Likewise.
27004 * misc/syslog.c (__vsyslog_chk): Likewise.
27005 * misc/ttyslot.c (ttyslot): Likewise.
27006 * nis/nis_hash.c (__nis_hash): Likewise.
27007 * posix/fnmatch_loop.c (FCT): Likewise.
27008 * posix/getconf.c (print_all): Likewise.
27009 (main): Likewise.
27010 * posix/getopt.c (exchange): Likewise.
27011 * posix/glob.c (globfree): Likewise.
27012 (prefix_array): Likewise.
27013 (__glob_pattern_type): Likewise.
27014 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27015 (NS_GET32): Likewise.
27016 (NS_PUT16): Likewise.
27017 (NS_PUT32): Likewise.
27018 * resolv/gethnamaddr.c (getanswer): Likewise.
27019 (gethostbyname2): Likewise.
27020 (gethostbyaddr): Likewise.
27021 (_gethtent): Likewise.
27022 (_gethtbyname2): Likewise.
27023 (_gethtbyaddr): Likewise.
27024 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27025 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27026 * resolv/res_init.c (__res_vinit): Likewise.
27027 (net_mask): Likewise.
27028 * resolv/res_mkquery.c (outchar): Likewise.
27029 (PRINT): Likewise.
27030 * stdio-common/printf_fp.c (outchar): Likewise.
27031 (PRINT): Likewise.
27032 * stdio-common/printf_fphex.c (outchar): Likewise.
27033 (PRINT): Likewise.
27034 * stdio-common/printf_size.c (outchar): Likewise.
27035 (PRINT): Likewise.
27036 * stdio-common/test_rdwr.c (main): Likewise.
27037 * stdio-common/tfformat.c (matches): Likewise.
27038 * stdio-common/vfprintf.c (outchar): Likewise.
27039 (printf_unknown): Likewise.
27040 (buffered_vfprintf): Likewise.
27041 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27042 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27043 (ReadFile): Likewise.
27044 * stdlib/qsort.c (SWAP): Likewise.
27045 (_quicksort): Likewise.
27046 * stdlib/setenv.c (__add_to_environ): Likewise.
27047 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27048 * stdlib/strtol_l.c (__strtol_l): Likewise.
27049 * stdlib/tst-strtod.c (main): Likewise.
27050 * stdlib/tst-strtol.c (main): Likewise.
27051 * stdlib/tst-strtoll.c (main): Likewise.
27052 * string/bits/string2.h (__strcmp_cc): Likewise.
27053 (__strcmp_cg): Likewise.
27054 (__strcspn_c1): Likewise.
27055 (__strcspn_c2): Likewise.
27056 (__strcspn_c3): Likewise.
27057 (__strspn_c1): Likewise.
27058 (__strspn_c2): Likewise.
27059 (__strspn_c3): Likewise.
27060 (__strsep_1c): Likewise.
27061 (__strsep_2c): Likewise.
27062 (__strsep_3c): Likewise.
27063 * string/memccpy.c (__memccpy): Likewise.
27064 * string/stpcpy.c (__stpcpy): Likewise.
27065 * string/strcmp.c (strcmp): Likewise.
27066 * string/strrchr.c (strrchr): Likewise.
27067 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27068 Likewise.
27069 * sysdeps/mach/hurd/getcwd.c
27070 (_hurd_canonicalize_directory_name_internal): Likewise.
27071 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27072 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27073 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27074 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27075 Likewise, in both definitions.
27076 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27077 definitions.
27078 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27079 64] (__bswap_64): Likewise.
27080 * time/test_time.c (main): Likewise.
27081 * time/tzfile.c (__tzfile_read): Likewise.
27082 (__tzfile_compute): Likewise.
27083 * time/tzset.c (__tzset_parse_tz): Likewise.
27084 (tzset_internal): Likewise.
27085 (compute_change): Likewise.
27086 * wcsmbs/wcscat.c (__wcscat): Likewise.
27087 * wcsmbs/wcschr.c (wcschr): Likewise.
27088 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27089 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27090 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27091 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27092 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27093 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27094 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27095 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27096 * wcsmbs/wmemset.c (wmemset): Likewise.
27097
9e54314b
JM
270982013-06-06 Joseph Myers <joseph@codesourcery.com>
27099
27100 * scripts/config.guess: Update to version 2013-05-16.
27101 * scripts/config.sub: Update to version 2013-04-24.
27102 * scripts/install-sh: Update to version 2011-11-20.07.
27103 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27104 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27105
350635a5
OB
271062013-06-06 Ondřej Bílka <neleai@seznam.cz>
27107
27108 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27109 * elf/sln.c: Likewise.
27110 * hurd/hurd/ioctl.h: Likewise.
27111 * hurd/hurdmalloc.c: Likewise.
27112 * hurd/xattr.c: Likewise.
27113 * include/shlib-compat.h: Likewise.
27114 * inet/ruserpass.c: Likewise.
27115 * libio/iofgets_u.c: Likewise.
27116 * libio/iofgetws_u.c: Likewise.
27117 * locale/programs/ld-identification.c: Likewise.
27118 * locale/programs/ld-time.c: Likewise.
27119 * mach/msg-destroy.c: Likewise.
27120 * nss/nss_files/files-netgrp.c: Likewise.
27121 * resolv/res_data.c: Likewise.
27122 * soft-fp/op-1.h: Likewise.
27123 * soft-fp/op-2.h: Likewise.
27124 * soft-fp/op-4.h: Likewise.
27125 * soft-fp/op-common.h: Likewise.
27126 * stdio-common/printf_fphex.c: Likewise.
27127 * stdlib/strtod_l.c: Likewise.
27128 * sunrpc/rpc/clnt.h: Likewise.
27129 * sysdeps/generic/framestate.c: Likewise.
27130 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27131 * sysdeps/i386/bsd-setjmp.S: Likewise.
27132 * sysdeps/i386/__longjmp.S: Likewise.
27133 * sysdeps/i386/setjmp.S: Likewise.
27134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27145 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27146 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27147 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27150 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27151 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27152 * sysdeps/ieee754/support.c: Likewise.
27153 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27154 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27155 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27156 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27157 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27158 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27159 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27160 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27161 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27162 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27163 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27164 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27165 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27166 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27167 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27168 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27169 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27171
44a988af
OB
271722013-06-05 Ondřej Bílka <neleai@seznam.cz>
27173
25506f09 27174 * posix/transbug.c: Remove executable mode.
44a988af 27175
9c84384c
JM
271762013-06-05 Joseph Myers <joseph@codesourcery.com>
27177
27178 * crypt/speeds.c: Remove trailing whitespace.
27179 * dlfcn/default.c: Likewise.
27180 * elf/ifuncdep2.c: Likewise.
27181 * elf/ifuncmain1.c: Likewise.
27182 * elf/ifuncmain1vis.c: Likewise.
27183 * elf/testobj.h: Likewise.
27184 * elf/tst-stackguard1.c: Likewise.
27185 * gmon/sys/gmon.h: Likewise.
27186 * hurd/hurdmsg.c: Likewise.
27187 * hurd/new-fd.c: Likewise.
27188 * hurd/ports-get.c: Likewise.
27189 * iconvdata/ibm1008_420.c: Likewise.
27190 * inet/tst-getni1.c: Likewise.
27191 * inet/tst-getni2.c: Likewise.
27192 * libio/ioungetc.c: Likewise.
27193 * libio/wfiledoalloc.c: Likewise.
27194 * manual/libm-err-tab.pl: Likewise.
27195 * math/w_dremf.c: Likewise.
27196 * misc/ftruncate.c: Likewise.
27197 * posix/bug-glob2.c: Likewise.
27198 * posix/tst-pcre.c: Likewise.
27199 * posix/wait4.c: Likewise.
27200 * resolv/README: Likewise.
27201 * resolv/res_debug.h: Likewise.
27202 * resolv/tst-inet_ntop.c: Likewise.
27203 * setjmp/bug269-setjmp.c: Likewise.
27204 * soft-fp/extended.h: Likewise.
27205 * soft-fp/op-1.h: Likewise.
27206 * soft-fp/op-2.h: Likewise.
27207 * soft-fp/op-4.h: Likewise.
27208 * soft-fp/op-8.h: Likewise.
27209 * soft-fp/testit.c: Likewise.
27210 * stdio-common/bug16.c: Likewise.
27211 * stdlib/random.c: Likewise.
27212 * sunrpc/rpcsvc/rquota.x: Likewise.
27213 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27214 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27215 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27216 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27218 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27220 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27222 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27242 * sysdeps/ieee754/s_lib_version.c: Likewise.
27243 * sysdeps/mach/hurd/check_fds.c: Likewise.
27244 * sysdeps/mach/hurd/getsockname.c: Likewise.
27245 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27246 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27247 * sysdeps/powerpc/bits/link.h: Likewise.
27248 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27249 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27250 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27251 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27252 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27253 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27254 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27255 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27256 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27257 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27258 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27259 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27260 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27261 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27262 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27263 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27267 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27268 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27269 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27271 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27272 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27273 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27275 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27276 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27279 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27282 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27300 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27307 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27312 * sysdeps/powerpc/sysdep.h: Likewise.
27313 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27314 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27315 * sysdeps/sh/dl-trampoline.S: Likewise.
27316 * sysdeps/sh/memset.S: Likewise.
27317 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27318 * sysdeps/sh/strlen.S: Likewise.
27319 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27320 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27321 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27322 * sysdeps/sparc/sparc32/rem.S: Likewise.
27323 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27324 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27325 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27326 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27327 * sysdeps/sparc/sparc32/urem.S: Likewise.
27328 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27329 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27330 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27331 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27332 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27333 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27334 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27335 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27336 * sysdeps/unix/bsd/times.c: Likewise.
27337 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27338 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27344 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27346 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27348 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27349 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27350 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27351 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27352 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27353 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27354 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27355 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27356 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27357 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27358 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27359 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27360 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27361 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27362 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27363 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27364 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27365 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27366 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27367 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27368 * sysdeps/x86_64/strcspn.S: Likewise.
27369
869378a5
RA
273702013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27371
27372 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27373 generated file. Regenerate properly from gen-translit.pl.
27374 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27375 locale/C-translit.h.
27376
840e2943
AS
273772013-06-05 Andreas Schwab <schwab@suse.de>
27378
27379 [BZ #15100]
27380 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27381 week as 6 instead of -1.
27382 * time/tst-strptime.c (day_tests): Add test case.
27383
4c60cb0c
SP
273842013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27385
27386 * sysdeps/generic/math_private.h
27387 (libc_feholdexcept_setround_53bit): Replace with
27388 libc_feholdsetround_53bit.
27389 (libc_feupdateenv_53bit): Replace with
27390 libc_feresetround_53bit.
27391 (SET_RESTORE_ROUND_53BIT): Adjust.
27392
d180203e
SP
273932013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27394
96df079a
SP
27395 * string/test-strchrnul.c: Add copyright header.
27396
d180203e
SP
27397 * posix/tst-getaddrinfo4.c: Increase test timeout.
27398
8b0ccb2d
CD
273992013-06-03 Carlos O'Donell <carlos@redhat.com>
27400
27401 [BZ #15536]
27402 * math/libm-test.inc (MAX_EXP): Remove
27403 (MIN_EXP): Define.
27404 (ulp): Use MIN_EXP - MANT_DIG.
27405 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27406
3b3c4d40
CD
274072013-05-31 Carlos O'Donell <carlos@redhat.com>
27408
27409 * po/be.po: Revert last change.
27410 * po/zh_CN.po: Likewise.
27411 * po/header.pot: Likewise.
27412
fab7ce3f
JM
274132013-05-31 Joseph Myers <joseph@codesourcery.com>
27414
27415 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27416 link-libc-deps to empty as target-specific variable.
27417 * Makerules (link-libc-args): New variable.
27418 (libc-for-link): Likewise.
27419 (link-libc-deps): Likewise.
27420 (lib%.so): Depend on $(link-libc-deps). Link with
27421 $(link-libc-args).
27422 (build-module): Link with $(link-libc-args).
27423 (build-module-asneeded): Likewise.
27424 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27425 list of objects.
27426 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27427 target-specific variable.
27428 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27429 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27430 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27431 libc.
27432 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27433 libc and ld.so.
27434 ($(objpfx)libpcprofile.so): Likewise.
27435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27436 libc_nonshared.a.
27437 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27438 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27439 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27440 $(link-libc-deps).
27441 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27442 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27443 * login/Makefile ($(objpfx)libutil.so): Likewise.
27444 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27445 * math/Makefile ($(objpfx)libm.so): Likewise.
27446 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27447 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27448 variable instead of depending directly on libc.
27449 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27450 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27451 $(link-libc-deps).
27452 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27453 libc.
27454 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27455 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27456 ($(objpfx)libanl.so): Likewise.
27457 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27458 ld.so.
27459 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27460 $(link-libc-deps).
27461 * sysdeps/i386/fpu/Makefile: Remove file.
27462 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27463 ($(objpfx)libm.so): Remove dependency on ld.so.
27464
eca5920c
PF
274652013-05-30 Patsy Franklin <pfrankli@redhat.com>
27466
27467 [BZ # 15553]
27468 * nis/yp_xdr.c (XDRMAXNAME): Define.
27469 (XDRMAXRECORD): Define.
27470 (xdr_domainname): Use XDRMAXNAME.
27471 (xdr_mapname): Likewise.
27472 (xdr_peername): Likewise.
27473 (xdr_keydat): Use XDRMAXRECORD.
27474 (xdr_valdat): Likewise.
27475
274762013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27477
27478 [BZ #14256]
27479 * manual/errno.texi (ESTALE): Update to account for more than
27480 just NFS file systems.
27481 * sysdeps/gnu/errlist.c: Regenerated.
27482
b9375348
SP
274832013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27484
27485 [BZ #15465]
27486 * elf/Makefile (tests): Add tst-null-argv.
27487 (modules-names): Add tst-null-argv-lib.
27488 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27489 (tst-null-argv-ENV): Set environment for tst-null-argv.
27490 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27491 (RTLD_PROGNAME): New macro.
27492 * elf/tst-null-argv.c: New test case.
27493 * elf/tst-null-argv-lib.c: Library for test case.
27494 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27495 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27496 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27497 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27498 * elf/dl-init.c (call_init): Likewise.
27499 (_dl_init): Likewise.
27500 * elf/dl-load.c (print_search_path): Likewise.
27501 (_dl_map_object): Likewise.
27502 * elf/dl-lookup.c (do_lookup_x): Likewise.
27503 (add_dependency): Likewise.
27504 (_dl_lookup_symbol_x): Likewise.
27505 (_dl_debug_bindings): Likewise.
27506 * elf/dl-open.c (_dl_show_scope): Likewise.
27507 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27508 * elf/dl-version.c (match_symbol): Likewise.
27509 (_dl_check_map_versions): Likewise.
27510 * elf/rtld.c (dl_main): Likewise.
27511 (print_unresolved): Use RTLD_PROGNAME.
27512 (print_missing_version): Likewise.
27513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27514 (elf_machine_rela): Likewise.
27515 * sysdeps/powerpc/powerpc32/dl-machine.c
27516 (__process_machine_rela): Likewise.
27517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27518 Likewise.
27519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27520 Likewise.
27521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27522 Likewise.
27523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27525 Likewise.
27526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27527 Likewise.
27528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27529
8a9f20c8
CD
275302013-05-28 Carlos O'Donell <carlos@redhat.com>
27531
27532 * po/be.po: Add descriptive title.
27533 * po/zh_CN.po: Likewise.
27534 * po/header.pot: Likewise.
27535
0e60d68e
MF
275362013-05-28 Mike Frysinger <vapier@gentoo.org>
27537
27538 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27539 error message.
27540 (enlarge_archive): Likewise.
27541
56b672e9
BN
275422013-05-28 Ben North <ben@redfrontdoor.org>
27543
27544 * manual/arith.texi (frexp): It is the magnitude of the return
27545 value which lies in [0.5, 1), not the return value itself.
27546
5e056687
AZ
275472013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27548
27549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27550
2b66ef5d
TS
275512013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27552
528c2405
TS
27553 * stdio-common/bug26.c (main): Correct fscanf template.
27554
07b4c13d
TS
27555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27556 declare _dl_skip_args.
27557
ec9dd97c
TS
27558 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27559 Don't declare.
27560
2b66ef5d
TS
27561 * manual/platform.texi: Add missing @end deftypefun.
27562
4f8dfe27
JM
275632013-05-24 Joseph Myers <joseph@codesourcery.com>
27564
0323d086
JM
27565 [BZ #15529]
27566 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27567 bit of mantissa of 2^16382.
27568 * math/libm-test.inc (hypot_test_data): Add more tests.
27569
dd4259b9
JM
27570 * math/libm-test.inc: Add drem and pow10 to list of tested
27571 functions.
27572 (pow10_test): New function.
27573 (drem_test): Likewise.
27574 (drem_test_tonearest): Likewise.
27575 (drem_test_towardzero): Likewise.
27576 (drem_test_downward): Likewise.
27577 (drem_test_upward): Likewise.
27578 (main): Call the new functions.
27579
4f8dfe27
JM
27580 * math/libm-test.inc (finite_test_data): Remove.
27581 (finite_test): Run tests from isfinite_test_data.
27582 (gamma_test_data): Remove.
27583 (gamma_test): Run tests from lgamma_test_data.
27584 * sysdeps/i386/fpu/libm-test-ulps: Update.
27585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27586
d116b7c4
AZ
275872013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27588
27589 * manual/platform.texi: Add PowerPC PPR function set documentation.
27590 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27591 implementation.
27592
e96e3767
CD
275932013-05-24 Carlos O'Donell <carlos@redhat.com>
27594
27595 * math/libm-test.inc (MAX_EXP): Define.
27596 (ULPDIFF): Define.
27597 (ulp): New function.
27598 (check_float_internal): Use ULPDIFF.
27599 (cpow_test): Disable failing test.
27600 (check_ulp): Test ulp() implemetnation.
27601 (main): Call check_ulp before starting tests.
27602
b679a606
JM
276032013-05-24 Joseph Myers <joseph@codesourcery.com>
27604
e8bdba36
JM
27605 * math/gen-libm-test.pl (generate_testfile): Do not handle
27606 START_DATA and END_DATA.
27607 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27608 END_DATA.
27609 (acos_tonearest_test_data): Likewise.
27610 (acos_towardzero_test_data): Likewise.
27611 (acos_downward_test_data): Likewise.
27612 (acos_upward_test_data): Likewise.
27613 (acosh_test_data): Likewise.
27614 (asin_test_data): Likewise.
27615 (asin_tonearest_test_data): Likewise.
27616 (asin_towardzero_test_data): Likewise.
27617 (asin_downward_test_data): Likewise.
27618 (asin_upward_test_data): Likewise.
27619 (asinh_test_data): Likewise.
27620 (atan_test_data): Likewise.
27621 (atanh_test_data): Likewise.
27622 (atan2_test_data): Likewise.
27623 (cabs_test_data): Likewise.
27624 (cacos_test_data): Likewise.
27625 (cacosh_test_data): Likewise.
27626 (carg_test_data): Likewise.
27627 (casin_test_data): Likewise.
27628 (casinh_test_data): Likewise.
27629 (catan_test_data): Likewise.
27630 (catanh_test_data): Likewise.
27631 (cbrt_test_data): Likewise.
27632 (ccos_test_data): Likewise.
27633 (ccosh_test_data): Likewise.
27634 (ceil_test_data): Likewise.
27635 (cexp_test_data): Likewise.
27636 (cimag_test_data): Likewise.
27637 (clog_test_data): Likewise.
27638 (clog10_test_data): Likewise.
27639 (conj_test_data): Likewise.
27640 (copysign_test_data): Likewise.
27641 (cos_test_data): Likewise.
27642 (cos_tonearest_test_data): Likewise.
27643 (cos_towardzero_test_data): Likewise.
27644 (cos_downward_test_data): Likewise.
27645 (cos_upward_test_data): Likewise.
27646 (cosh_test_data): Likewise.
27647 (cosh_tonearest_test_data): Likewise.
27648 (cosh_towardzero_test_data): Likewise.
27649 (cosh_downward_test_data): Likewise.
27650 (cosh_upward_test_data): Likewise.
27651 (cpow_test_data): Likewise.
27652 (cproj_test_data): Likewise.
27653 (creal_test_data): Likewise.
27654 (csin_test_data): Likewise.
27655 (csinh_test_data): Likewise.
27656 (csqrt_test_data): Likewise.
27657 (ctan_test_data): Likewise.
27658 (ctan_tonearest_test_data): Likewise.
27659 (ctan_towardzero_test_data): Likewise.
27660 (ctan_downward_test_data): Likewise.
27661 (ctan_upward_test_data): Likewise.
27662 (ctanh_test_data): Likewise.
27663 (ctanh_tonearest_test_data): Likewise.
27664 (ctanh_towardzero_test_data): Likewise.
27665 (ctanh_downward_test_data): Likewise.
27666 (ctanh_upward_test_data): Likewise.
27667 (erf_test_data): Likewise.
27668 (erfc_test_data): Likewise.
27669 (exp_test_data): Likewise.
27670 (exp_tonearest_test_data): Likewise.
27671 (exp_towardzero_test_data): Likewise.
27672 (exp_downward_test_data): Likewise.
27673 (exp_upward_test_data): Likewise.
27674 (exp10_test_data): Likewise.
27675 (exp2_test_data): Likewise.
27676 (expm1_test_data): Likewise.
27677 (fabs_test_data): Likewise.
27678 (fdim_test_data): Likewise.
27679 (finite_test_data): Likewise.
27680 (floor_test_data): Likewise.
27681 (fma_test_data): Likewise.
27682 (fma_towardzero_test_data): Likewise.
27683 (fma_downward_test_data): Likewise.
27684 (fma_upward_test_data): Likewise.
27685 (fmax_test_data): Likewise.
27686 (fmin_test_data): Likewise.
27687 (fmod_test_data): Likewise.
27688 (fpclassify_test_data): Likewise.
27689 (frexp_test_data): Likewise.
27690 (gamma_test_data): Likewise.
27691 (hypot_test_data): Likewise.
27692 (ilogb_test_data): Likewise.
27693 (isfinite_test_data): Likewise.
27694 (isgreater_test_data): Likewise.
27695 (isgreaterequal_test_data): Likewise.
27696 (isinf_test_data): Likewise.
27697 (isless_test_data): Likewise.
27698 (islessequal_test_data): Likewise.
27699 (islessgreater_test_data): Likewise.
27700 (isnan_test_data): Likewise.
27701 (isnormal_test_data): Likewise.
27702 (issignaling_test_data): Likewise.
27703 (isunordered_test_data): Likewise.
27704 (j0_test_data): Likewise.
27705 (j1_test_data): Likewise.
27706 (jn_test_data): Likewise.
27707 (ldexp_test_data): Likewise.
27708 (lgamma_test_data): Likewise.
27709 (lrint_test_data): Likewise.
27710 (lrint_tonearest_test_data): Likewise.
27711 (lrint_towardzero_test_data): Likewise.
27712 (lrint_downward_test_data): Likewise.
27713 (lrint_upward_test_data): Likewise.
27714 (llrint_test_data): Likewise.
27715 (llrint_tonearest_test_data): Likewise.
27716 (llrint_towardzero_test_data): Likewise.
27717 (llrint_downward_test_data): Likewise.
27718 (llrint_upward_test_data): Likewise.
27719 (log_test_data): Likewise.
27720 (log10_test_data): Likewise.
27721 (log1p_test_data): Likewise.
27722 (log2_test_data): Likewise.
27723 (logb_test_data): Likewise.
27724 (logb_downward_test_data): Likewise.
27725 (lround_test_data): Likewise.
27726 (llround_test_data): Likewise.
27727 (modf_test_data): Likewise.
27728 (nearbyint_test_data): Likewise.
27729 (nextafter_test_data): Likewise.
27730 (nexttoward_test_data): Likewise.
27731 (pow_test_data): Likewise.
27732 (pow_tonearest_test_data): Likewise.
27733 (pow_towardzero_test_data): Likewise.
27734 (pow_downward_test_data): Likewise.
27735 (pow_upward_test_data): Likewise.
27736 (remainder_test_data): Likewise.
27737 (remainder_tonearest_test_data): Likewise.
27738 (remainder_towardzero_test_data): Likewise.
27739 (remainder_downward_test_data): Likewise.
27740 (remainder_upward_test_data): Likewise.
27741 (remquo_test_data): Likewise.
27742 (rint_test_data): Likewise.
27743 (rint_tonearest_test_data): Likewise.
27744 (rint_towardzero_test_data): Likewise.
27745 (rint_downward_test_data): Likewise.
27746 (rint_upward_test_data): Likewise.
27747 (round_test_data): Likewise.
27748 (scalb_test_data): Likewise.
27749 (scalbn_test_data): Likewise.
27750 (scalbln_test_data): Likewise.
27751 (signbit_test_data): Likewise.
27752 (sin_test_data): Likewise.
27753 (sin_tonearest_test_data): Likewise.
27754 (sin_towardzero_test_data): Likewise.
27755 (sin_downward_test_data): Likewise.
27756 (sin_upward_test_data): Likewise.
27757 (sincos_test_data): Likewise.
27758 (sinh_test_data): Likewise.
27759 (sinh_tonearest_test_data): Likewise.
27760 (sinh_towardzero_test_data): Likewise.
27761 (sinh_downward_test_data): Likewise.
27762 (sinh_upward_test_data): Likewise.
27763 (sqrt_test_data): Likewise.
27764 (tan_test_data): Likewise.
27765 (tan_tonearest_test_data): Likewise.
27766 (tan_towardzero_test_data): Likewise.
27767 (tan_downward_test_data): Likewise.
27768 (tan_upward_test_data): Likewise.
27769 (tanh_test_data): Likewise.
27770 (tgamma_test_data): Likewise.
27771 (trunc_test_data): Likewise.
27772 (y0_test_data): Likewise.
27773 (y1_test_data): Likewise.
27774 (yn_test_data): Likewise.
27775 (significand_test_data): Likewise.
27776
b679a606
JM
27777 * math/gen-libm-test.pl (@functions): Remove variable.
27778 (generate_testfile): Don't handle START and END lines.
27779 * math/libm-test.inc (START): New macro.
27780 (END): Likewise.
27781 (END_COMPLEX): Likewise.
27782 (acos_test): Use END macro without arguments.
27783 (acos_test_tonearest): Likewise.
27784 (acos_test_towardzero): Likewise.
27785 (acos_test_downward): Likewise.
27786 (acos_test_upward): Likewise.
27787 (acosh_test): Likewise.
27788 (asin_test): Likewise.
27789 (asin_test_tonearest): Likewise.
27790 (asin_test_towardzero): Likewise.
27791 (asin_test_downward): Likewise.
27792 (asin_test_upward): Likewise.
27793 (asinh_test): Likewise.
27794 (atan_test): Likewise.
27795 (atanh_test): Likewise.
27796 (atan2_test): Likewise.
27797 (cabs_test): Likewise.
27798 (cacos_test): Use END_COMPLEX macro without arguments.
27799 (cacosh_test): Likewise.
27800 (carg_test): Use END macro without arguments.
27801 (casin_test): Use END_COMPLEX macro without arguments.
27802 (casinh_test): Likewise.
27803 (catan_test): Likewise.
27804 (catanh_test): Likewise.
27805 (cbrt_test): Use END macro without arguments.
27806 (ccos_test): Use END_COMPLEX macro without arguments.
27807 (ccosh_test): Likewise.
27808 (ceil_test): Use END macro without arguments.
27809 (cexp_test): Use END_COMPLEX macro without arguments.
27810 (cimag_test): Use END macro without arguments.
27811 (clog_test): Use END_COMPLEX macro without arguments.
27812 (clog10_test): Likewise.
27813 (conj_test): Likewise.
27814 (copysign_test): Use END macro without arguments.
27815 (cos_test): Likewise.
27816 (cos_test_tonearest): Likewise.
27817 (cos_test_towardzero): Likewise.
27818 (cos_test_downward): Likewise.
27819 (cos_test_upward): Likewise.
27820 (cosh_test): Likewise.
27821 (cosh_test_tonearest): Likewise.
27822 (cosh_test_towardzero): Likewise.
27823 (cosh_test_downward): Likewise.
27824 (cosh_test_upward): Likewise.
27825 (cpow_test): Use END_COMPLEX macro without arguments.
27826 (cproj_test): Likewise.
27827 (creal_test): Use END macro without arguments.
27828 (csin_test): Use END_COMPLEX macro without arguments.
27829 (csinh_test): Likewise.
27830 (csqrt_test): Likewise.
27831 (ctan_test): Likewise.
27832 (ctan_test_tonearest): Likewise.
27833 (ctan_test_towardzero): Likewise.
27834 (ctan_test_downward): Likewise.
27835 (ctan_test_upward): Likewise.
27836 (ctanh_test): Likewise.
27837 (ctanh_test_tonearest): Likewise.
27838 (ctanh_test_towardzero): Likewise.
27839 (ctanh_test_downward): Likewise.
27840 (ctanh_test_upward): Likewise.
27841 (erf_test): Use END macro without arguments.
27842 (erfc_test): Likewise.
27843 (exp_test): Likewise.
27844 (exp_test_tonearest): Likewise.
27845 (exp_test_towardzero): Likewise.
27846 (exp_test_downward): Likewise.
27847 (exp_test_upward): Likewise.
27848 (exp10_test): Likewise.
27849 (exp2_test): Likewise.
27850 (expm1_test): Likewise.
27851 (fabs_test): Likewise.
27852 (fdim_test): Likewise.
27853 (finite_test): Likewise.
27854 (floor_test): Likewise.
27855 (fma_test): Likewise.
27856 (fma_test_towardzero): Likewise.
27857 (fma_test_downward): Likewise.
27858 (fma_test_upward): Likewise.
27859 (fmax_test): Likewise.
27860 (fmin_test): Likewise.
27861 (fmod_test): Likewise.
27862 (fpclassify_test): Likewise.
27863 (frexp_test): Likewise.
27864 (gamma_test): Likewise.
27865 (hypot_test): Likewise.
27866 (ilogb_test): Likewise.
27867 (isfinite_test): Likewise.
27868 (isgreater_test): Likewise.
27869 (isgreaterequal_test): Likewise.
27870 (isinf_test): Likewise.
27871 (isless_test): Likewise.
27872 (islessequal_test): Likewise.
27873 (islessgreater_test): Likewise.
27874 (isnan_test): Likewise.
27875 (isnormal_test): Likewise.
27876 (issignaling_test): Likewise.
27877 (isunordered_test): Likewise.
27878 (j0_test): Likewise.
27879 (j1_test): Likewise.
27880 (jn_test): Likewise.
27881 (ldexp_test): Likewise.
27882 (lgamma_test): Likewise.
27883 (lrint_test): Likewise.
27884 (lrint_test_tonearest): Likewise.
27885 (lrint_test_towardzero): Likewise.
27886 (lrint_test_downward): Likewise.
27887 (lrint_test_upward): Likewise.
27888 (llrint_test): Likewise.
27889 (llrint_test_tonearest): Likewise.
27890 (llrint_test_towardzero): Likewise.
27891 (llrint_test_downward): Likewise.
27892 (llrint_test_upward): Likewise.
27893 (log_test): Likewise.
27894 (log10_test): Likewise.
27895 (log1p_test): Likewise.
27896 (log2_test): Likewise.
27897 (logb_test): Likewise.
27898 (logb_test_downward): Likewise.
27899 (lround_test): Likewise.
27900 (llround_test): Likewise.
27901 (modf_test): Likewise.
27902 (nearbyint_test): Likewise.
27903 (nextafter_test): Likewise.
27904 (nexttoward_test): Likewise.
27905 (pow_test): Likewise.
27906 (pow_test_tonearest): Likewise.
27907 (pow_test_towardzero): Likewise.
27908 (pow_test_downward): Likewise.
27909 (pow_test_upward): Likewise.
27910 (remainder_test): Likewise.
27911 (remainder_test_tonearest): Likewise.
27912 (remainder_test_towardzero): Likewise.
27913 (remainder_test_downward): Likewise.
27914 (remainder_test_upward): Likewise.
27915 (remquo_test): Likewise.
27916 (rint_test): Likewise.
27917 (rint_test_tonearest): Likewise.
27918 (rint_test_towardzero): Likewise.
27919 (rint_test_downward): Likewise.
27920 (rint_test_upward): Likewise.
27921 (round_test): Likewise.
27922 (scalb_test): Likewise.
27923 (scalbn_test): Likewise.
27924 (scalbln_test): Likewise.
27925 (signbit_test): Likewise.
27926 (sin_test): Likewise.
27927 (sin_test_tonearest): Likewise.
27928 (sin_test_towardzero): Likewise.
27929 (sin_test_downward): Likewise.
27930 (sin_test_upward): Likewise.
27931 (sincos_test): Likewise.
27932 (sinh_test): Likewise.
27933 (sinh_test_tonearest): Likewise.
27934 (sinh_test_towardzero): Likewise.
27935 (sinh_test_downward): Likewise.
27936 (sinh_test_upward): Likewise.
27937 (sqrt_test): Likewise.
27938 (tan_test): Likewise.
27939 (tan_test_tonearest): Likewise.
27940 (tan_test_towardzero): Likewise.
27941 (tan_test_downward): Likewise.
27942 (tan_test_upward): Likewise.
27943 (tanh_test): Likewise.
27944 (tgamma_test): Likewise.
27945 (trunc_test): Likewise.
27946 (y0_test): Likewise.
27947 (y1_test): Likewise.
27948 (yn_test): Likewise.
27949 (significand_test): Likewise.
27950
bae143d2
OB
279512013-05-24 Ondřej Bílka <neleai@seznam.cz>
27952
27953 [BZ #15381]
27954 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27955
9323d39b
EM
279562013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27957
d4ea44a0 27958 [BZ #14894]
9323d39b
EM
27959 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27960 __ppc_mdoio and __ppc_mdoom.
27961 * manual/platform.texi: Document new functions __ppc_yield,
27962 __ppc_mdoio and __ppc_mdoom.
27963
13e23af7
CD
279642013-05-22 Carlos O'Donell <carlos@redhat.com>
27965
27966 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27967 (main): Mention "tls" pseudo-hwcap is legacy.
27968 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27969
351fe550
JM
279702013-05-22 Joseph Myers <joseph@codesourcery.com>
27971
27972 * math/gen-libm-test.pl (parse_args): Output only string of
27973 arguments as text for test name, not full call or descriptions of
27974 tests for extra outputs.
27975 (generate_testfile): Do not pass function name to parse_args.
27976 Generate this_func variable from START.
27977 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27978 field to arg_str.
27979 (struct test_ff_f_data): Likewise.
27980 (test_ff_f_data_nexttoward): Likewise.
27981 (struct test_fi_f_data): Likewise.
27982 (struct test_fl_f_data): Likewise.
27983 (struct test_if_f_data): Likewise.
27984 (struct test_fff_f_data): Likewise.
27985 (struct test_c_f_data): Likewise.
27986 (struct test_f_f1_data): Likewise. Remove field extra_name.
27987 (struct test_fF_f1_data): Likewise.
27988 (struct test_ffI_f1_data): Likewise.
27989 (struct test_c_c_data): Rename test_name field to arg_str.
27990 (struct test_cc_c_data): Likewise.
27991 (struct test_f_i_data): Likewise.
27992 (struct test_ff_i_data): Likewise.
27993 (struct test_f_l_data): Likewise.
27994 (struct test_f_L_data): Likewise.
27995 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27996 and extra2_name.
27997 (COMMON_TEST_SETUP): New macro.
27998 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27999 (COMMON_TEST_CLEANUP): Likewise.
28000 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28001 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28002 macros.
28003 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28004 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28005 macros.
28006 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28007 (RUN_TEST_fff_f): Take argument string. Call new setup and
28008 cleanup macros.
28009 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28010 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28011 macros.
28012 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28013 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28014 macros.
28015 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28016 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28017 cleanup macros.
28018 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28019 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28020 cleanup macros.
28021 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28022 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28023 cleanup macros.
28024 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28025 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28026 macros.
28027 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28028 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28029 macros.
28030 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28031 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28032 macros.
28033 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28034 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28035 cleanup macros.
28036 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28037 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28038 cleanup macros.
28039 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28040 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28041 macros.
28042 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28043 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28044 cleanup macros.
28045 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28046 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28047 macros.
28048 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28049 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28050 macros.
28051 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28052 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28053 cleanup macros.
28054 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28055
85118d4d
EBM
280562013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28057
28058 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28059 to _sifields.sigfault.
28060 (si_addr_lsb): Define new macro.
28061 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28063 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28064
7a44c18f
CD
280652013-05-03 Carlos O'Donell <carlos at redhat.com>
28066
28067 [BZ #15441]
28068 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28069 returns -1.
28070 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28071 null return -1.
28072 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28073 loading the domain.
28074
b50a7181
JM
280752013-05-22 Joseph Myers <joseph@codesourcery.com>
28076
28077 * math/gen-libm-test.pl (parse_args): Do not include expected
28078 result in test name.
28079 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28082 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28083 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28085
051063c8
SP
280862013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28087
3ce9e010
SP
28088 * benchtests/Makefile: Sort function entries.
28089
051063c8
SP
28090 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28091 tanh, asinh, acosh, atanh.
28092 * benchtests/acos-inputs: New file.
28093 * benchtests/acosh-inputs: New file.
28094 * benchtests/asin-inputs: New file.
28095 * benchtests/asinh-inputs: New file.
28096 * benchtests/atanh-inputs: New file.
28097 * benchtests/cosh-inputs: New file.
28098 * benchtests/log-inputs: New file.
28099 * benchtests/sinh-inputs: New file.
28100 * benchtests/tanh-inputs: New file.
28101
47c22455
DL
281022013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28103
28104 [BZ #15339]
28105 * posix/tst-getaddrinfo4.c: New test.
28106 * posix/Makefile (tests): Add it.
28107
3d04f5db
SP
281082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28109
28110 [BZ #15339]
28111 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28112 when no services were used.
28113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28114 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28115
d5dd6189
AS
281162013-05-21 Andreas Schwab <schwab@suse.de>
28117
28118 [BZ #15014]
28119 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28120 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28121 successful.
28122 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28123 redundant variable declarations and reallocation of buffer when
28124 parsing as IPv6 address. Always set NSS status when called from
28125 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28126 buffer too small. Correct computation of needed size.
28127 * nss/Makefile (tests): Add test-digits-dots.
28128 * nss/test-digits-dots.c: New test.
28129
fef94eab
SP
281302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28131
28132 * benchtests/Makefile: Remove instructions for adding
28133 benchmark tests.
28134 * benchtests/README: New file to explain how to execute and
28135 enhance the benchmark tests.
28136
e39adf43
AS
281372013-05-21 Andreas Schwab <schwab@suse.de>
28138
28139 [BZ #15493]
28140 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28141 * setjmp/tst-sigsetjmp.c: New test.
28142
b2b671b6
OB
281432013-05-20 Ondřej Bílka <neleai@seznam.cz>
28144
28145 * sysdeps/x86_64/memset.S (memset): New implementation.
28146 (__bzero): Likewise.
28147 (__memset_tail): New function.
28148
2d48b41c
OB
281492013-05-20 Ondřej Bílka <neleai@seznam.cz>
28150
28151 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28152 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28153 __memcpy_sse2_unaligned ifunc selection.
28154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28155 Add memcpy-sse2-unaligned.S.
28156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28157 Add: __memcpy_sse2_unaligned.
28158
f16cc3eb
JM
281592013-05-19 Joseph Myers <joseph@codesourcery.com>
28160
3e694268
JM
28161 [BZ #15490]
28162 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28163 math_force_eval before restoring floating-point envrionment.
28164 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28166 Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28168 <math_private.h>.
28169 (__nearbyintl): Use math_force_eval before restoring
28170 floating-point environment.
28171 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28172
db62a907
JM
28173 * math/gen-libm-test.pl (special_functions): Remove.
28174 (parse_args): Don't handle TEST_extra. Handle functions with no
28175 return value.
28176 * math/libm-test.inc (struct test_sincos_data): Replace with
28177 struct test_fFF_11_data.
28178 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28179 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28180 (sincos_test_data): Change element type to struct
28181 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28182 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28183 RUN_TEST_LOOP_sincos.
28184 * math/README.libm-test: Don't mention special handling of
28185 individual functions.
28186 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28188 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28190 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28192
f16cc3eb
JM
28193 * math/gen-libm-test.pl (get_variable): Remove function.
28194 (parse_args): Don't show pointer parameters to call in test
28195 names. Use "extra output N" in test names for extra outputs
28196 rather than naming variables.
28197
3779b5b6
JM
281982013-05-18 Joseph Myers <joseph@codesourcery.com>
28199
2ee094ff
JM
28200 [BZ #15488]
28201 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28202 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28203 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28204 double tests.
28205 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28206 disable.
28207 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28208 check_long_double.
28209
3779b5b6
JM
28210 * math/gen-libm-test.pl (@tests): Remove variable.
28211 ($count): Likewise.
28212 (new_test): Remove function.
28213 (show_exceptions): New function.
28214 (special_functions): Use show_exceptions instead of new_test.
28215 (parse_args): Likewise.
28216 (generate_testfile): Pass only function name in generated call to
28217 print_max_error or print_complex_max_error.
28218 (get_ulps): Do not handle complex tests specially.
28219 (output_test): Rename to ...
28220 (get_all_ulps_for_test): ... this. Return a string rather than
28221 printing to a file. Require ulps to be present.
28222 (output_ulps): Generate arrays rather than #defines.
28223 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28224 (struct ulp_data): New type.
28225 (BUILD_COMPLEX_ULP): Remove macro.
28226 (compare_ulp_data): New function.
28227 (find_ulps): Likewise.
28228 (find_test_ulps): Likewise.
28229 (find_function_ulps): Likewise.
28230 (find_complex_function_ulps): Likewise.
28231 (print_max_error): Determine allowed ulps using
28232 find_function_ulps.
28233 (print_complex_max_error): Determine allowed ulps using
28234 find_complex_function_ulps.
28235 (check_float_internal): Determine max ulps using find_test_ulps.
28236 (check_float): Do not take max_ulp parameter. Update call to
28237 check_float_internal.
28238 (check_complex): Likewise.
28239 (check_int): Do not take max_ulp parameter.
28240 (check_long): Likewise.
28241 (check_bool): Likewise.
28242 (check_longlong): Likewise.
28243 (struct test_f_f_data): Remove max_ulp field.
28244 (struct test_ff_f_data): Likewise.
28245 (struct test_ff_f_data_nexttoward): Likewise.
28246 (struct test_fi_f_data): Likewise.
28247 (struct test_fl_f_data): Likewise.
28248 (struct test_if_f_data): Likewise.
28249 (struct test_fff_f_data): Likewise.
28250 (struct test_c_f_data): Likewise.
28251 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28252 (struct test_fF_f1_data): Likewise.
28253 (struct test_ffI_f1_data): Likewise.
28254 (struct test_c_c_data): Remove max_ulp field.
28255 (struct test_cc_c_data): Likewise.
28256 (struct test_f_i_data): Likewise.
28257 (struct test_ff_i_data): Likewise.
28258 (struct test_f_l_data): Likewise.
28259 (struct test_f_L_data): Likewise.
28260 (struct test_sincos_data): Likewise.
28261 (RUN_TEST_f_f): Do not handle ulps.
28262 (RUN_TEST_LOOP_f_f): Likewise.
28263 (RUN_TEST_2_f): Likewise.
28264 (RUN_TEST_LOOP_2_f): Likewise.
28265 (RUN_TEST_fff_f): Likewise.
28266 (RUN_TEST_LOOP_fff_f): Likewise.
28267 (RUN_TEST_c_f): Likewise.
28268 (RUN_TEST_LOOP_c_f): Likewise.
28269 (RUN_TEST_f_f1): Likewise.
28270 (RUN_TEST_LOOP_f_f1): Likewise.
28271 (RUN_TEST_fF_f1): Likewise.
28272 (RUN_TEST_LOOP_fF_f1): Likewise.
28273 (RUN_TEST_fI_f1): Likewise.
28274 (RUN_TEST_LOOP_fI_f1): Likewise.
28275 (RUN_TEST_ffI_f1): Likewise.
28276 (RUN_TEST_LOOP_ffI_f1): Likewise.
28277 (RUN_TEST_c_c): Likewise.
28278 (RUN_TEST_LOOP_c_c): Likewise.
28279 (RUN_TEST_cc_c): Likewise.
28280 (RUN_TEST_LOOP_cc_c): Likewise.
28281 (RUN_TEST_f_i): Likewise.
28282 (RUN_TEST_LOOP_f_i): Likewise.
28283 (RUN_TEST_f_i_tg): Likewise.
28284 (RUN_TEST_LOOP_f_i_tg): Likewise.
28285 (RUN_TEST_ff_i_tg): Likewise.
28286 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28287 (RUN_TEST_f_b): Likewise.
28288 (RUN_TEST_LOOP_f_b): Likewise.
28289 (RUN_TEST_f_b_tg): Likewise.
28290 (RUN_TEST_LOOP_f_b_tg): Likewise.
28291 (RUN_TEST_f_l): Likewise.
28292 (RUN_TEST_LOOP_f_l): Likewise.
28293 (RUN_TEST_f_L): Likewise.
28294 (RUN_TEST_LOOP_f_L): Likewise.
28295 (RUN_TEST_sincos): Likewise.
28296 (RUN_TEST_LOOP_sincos): Likewise.
28297
8269107f
JM
282982013-05-17 Joseph Myers <joseph@codesourcery.com>
28299
bb38759d
JM
28300 [BZ #15480]
28301 [BZ #15485]
28302 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28303 main case of finite arguments, set rounding mode to FE_TONEAREST
28304 and discard exceptions.
28305 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28306 exceptions.
28307 (remainder_tonearest_test_data): New variable.
28308 (remainder_test_tonearest): New function.
28309 (remainder_towardzero_test_data): New variable.
28310 (remainder_test_towardzero): New function.
28311 (remainder_downward_test_data): New variable.
28312 (remainder_test_downward): New function.
28313 (remainder_upward_test_data): New variable.
28314 (remainder_test_upward): New function.
28315 (main): Call the new test functions.
28316
a00bdcf0
JM
28317 * math/libm-test.inc (struct test_f_f1_data): Remove field
28318 extra_init.
28319 (struct test_fF_f1_data): Likewise.
28320 (struct test_ffI_f1_data): Likewise.
28321 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28322 based on value of EXTRA_EXPECTED.
28323 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28324 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28325 EXTRA_VAR based on value of EXTRA_EXPECTED.
28326 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28327 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28328 EXTRA_VAR based on value of EXTRA_EXPECTED.
28329 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28330 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28331 EXTRA_VAR based on value of EXTRA_EXPECTED.
28332 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28333 * math/gen-libm-test.pl (parse_args): Don't output initializers
28334 for extra output values.
28335
de407f79
JM
28336 * math/libm-test.inc (check_int): Expect result to be exactly
28337 equal to expected value and do not handle ulps.
28338 (check_long): Likewise.
28339 (check_longlong): Likewise.
28340
8269107f
JM
28341 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28342 exceptions.
28343 (cimag_test_data): Likewise.
28344 (conj_test_data): Likewise.
28345 (copysign_test_data): Likewise.
28346 (cproj_test_data): Likewise.
28347 (creal_test_data): Likewise.
28348 (fabs_test_data): Likewise.
28349 (fdim_test_data): Likewise.
28350 (finite_test_data): Likewise.
28351 (floor_test_data): Likewise.
28352 (fmax_test_data): Likewise.
28353 (fmin_test_data): Likewise.
28354 (fmod_test_data): Likewise.
28355 (fpclassify_test_data): Likewise.
28356 (frexp_test_data): Likewise.
28357 (ilogb_test_data): Likewise.
28358 (isfinite_test_data): Likewise.
28359 (isgreater_test_data): Likewise.
28360 (isgreaterequal_test_data): Likewise.
28361 (isinf_test_data): Likewise.
28362 (isless_test_data): Likewise.
28363 (islessequal_test_data): Likewise.
28364 (islessgreater_test_data): Likewise.
28365 (isnan_test_data): Likewise.
28366 (isnormal_test_data): Likewise.
28367 (issignaling_test_data): Likewise.
28368 (isunordered_test_data): Likewise.
28369 (ldexp_test_data): Likewise.
28370 (lrint_test_data): Likewise.
28371 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28372 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28373 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28374 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28375 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28376 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28377 test input.
28378 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28379 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28380 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28381 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28382 that test input.
28383 (lrint_downward_test_data): Test for "inexact" exceptions.
28384 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28385 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28386 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28387 test input.
28388 (lrint_upward_test_data): Test for "inexact" exceptions.
28389 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28390 test input.
28391 (llrint_test_data): Test for "inexact" exceptions.
28392 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28393 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28394 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28395 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28396 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28397 (llrint_downward_test_data): Test for "inexact" exceptions.
28398 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28399 (llrint_upward_test_data): Test for "inexact" exceptions.
28400 (logb_test_data): Likewise.
28401 (logb_downward_test_data): Likewise.
28402 (nextafter_test_data): Likewise.
28403 (nexttoward_test_data): Likewise.
28404 (remainder_test_data): Likewise.
28405 (remquo_test_data): Likewise.
28406 (scalbn_test_data): Likewise.
28407 (scalbln_test_data): Likewise.
28408 (signbit_test_data): Likewise.
28409 (sqrt_test_data): Likewise.
28410 (significand_test_data): Likewise.
28411
48a18de1
SP
284122013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28413
28414 [BZ #15424]
28415 * benchtests/bench-modf.c (struct args): Mark arg0 as
28416 volatile.
28417 * scripts/bench.pl: Mark members of struct args as volatile.
28418
13d3b41a
AZ
284192013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28420
68191c1d 28421 [BZ # 15497]
13d3b41a
AZ
28422 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28423 negative infinity on POWER6 or lower.
28424 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28425
2848b105
MR
284262013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28427
28428 [BZ #15442]
28429 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28430 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28431 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28432 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28433 (_FP_SETQNAN): New macro.
28434 (_FP_SETQNAN_SEMIRAW): Likewise.
28435 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28436 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28437 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28438 (FP_EXTEND): Use _FP_FRAC_SNANP.
28439 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28440 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28441 into account.
28442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28443 New macro.
28444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28445 Likewise.
28446
323e5cb7
JM
284472013-05-16 Joseph Myers <joseph@codesourcery.com>
28448
c58b274f
JM
28449 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28450 with DIVIDE_BY_ZERO_EXCEPTION.
28451 (gamma_test_data): Likewise.
28452 (lgamma_test_data): Likewise.
28453 (log_test_data): Likewise.
28454 (log10_test_data): Likewise.
28455 (log2_test_data): Likewise.
28456 (tgamma_test_data): Likewise.
28457
0ab34904
JM
28458 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28459 (acos_test_tonearest): Likewise.
28460 (acos_test_towardzero): Likewise.
28461 (acos_test_downward): Likewise.
28462 (acos_test_upward): Likewise.
28463 (acosh_test): Likewise.
28464 (asin_test): Likewise.
28465 (asin_test_tonearest): Likewise.
28466 (asin_test_towardzero): Likewise.
28467 (asin_test_downward): Likewise.
28468 (asin_test_upward): Likewise.
28469 (asinh_test): Likewise.
28470 (atan_test): Likewise.
28471 (atanh_test): Likewise.
28472 (atan2_test): Likewise.
28473 (cabs_test): Likewise.
28474 (cacos_test): Likewise.
28475 (cacosh_test): Likewise.
28476 (casin_test): Likewise.
28477 (casinh_test): Likewise.
28478 (catan_test): Likewise.
28479 (catanh_test): Likewise.
28480 (cbrt_test): Likewise.
28481 (ccos_test): Likewise.
28482 (ccosh_test): Likewise.
28483 (cexp_test): Likewise.
28484 (clog_test): Likewise.
28485 (clog10_test): Likewise.
28486 (cos_test): Likewise.
28487 (cos_test_tonearest): Likewise.
28488 (cos_test_towardzero): Likewise.
28489 (cos_test_downward): Likewise.
28490 (cos_test_upward): Likewise.
28491 (cosh_test): Likewise.
28492 (cosh_test_tonearest): Likewise.
28493 (cosh_test_towardzero): Likewise.
28494 (cosh_test_downward): Likewise.
28495 (cosh_test_upward): Likewise.
28496 (cpow_test): Likewise.
28497 (csin_test): Likewise.
28498 (csinh_test): Likewise.
28499 (csqrt_test): Likewise.
28500 (ctan_test): Likewise.
28501 (ctan_test_tonearest): Likewise.
28502 (ctan_test_towardzero): Likewise.
28503 (ctan_test_downward): Likewise.
28504 (ctan_test_upward): Likewise.
28505 (ctanh_test): Likewise.
28506 (ctanh_test_tonearest): Likewise.
28507 (ctanh_test_towardzero): Likewise.
28508 (ctanh_test_downward): Likewise.
28509 (ctanh_test_upward): Likewise.
28510 (erf_test): Likewise.
28511 (erfc_test): Likewise.
28512 (exp_test): Likewise.
28513 (exp_test_tonearest): Likewise.
28514 (exp_test_towardzero): Likewise.
28515 (exp_test_downward): Likewise.
28516 (exp_test_upward): Likewise.
28517 (exp10_test): Likewise.
28518 (exp2_test): Likewise.
28519 (expm1_test): Likewise.
28520 (fmod_test): Likewise.
28521 (gamma_test): Likewise.
28522 (hypot_test): Likewise.
28523 (j0_test): Likewise.
28524 (j1_test): Likewise.
28525 (jn_test): Likewise.
28526 (lgamma_test): Likewise.
28527 (log_test): Likewise.
28528 (log10_test): Likewise.
28529 (log1p_test): Likewise.
28530 (log2_test): Likewise.
28531 (logb_test_downward): Likewise.
28532 (pow_test): Likewise.
28533 (pow_test_tonearest): Likewise.
28534 (pow_test_towardzero): Likewise.
28535 (pow_test_downward): Likewise.
28536 (pow_test_upward): Likewise.
28537 (remainder_test): Likewise.
28538 (remquo_test): Likewise.
28539 (sin_test): Likewise.
28540 (sin_test_tonearest): Likewise.
28541 (sin_test_towardzero): Likewise.
28542 (sin_test_downward): Likewise.
28543 (sin_test_upward): Likewise.
28544 (sincos_test): Likewise.
28545 (sinh_test): Likewise.
28546 (sinh_test_tonearest): Likewise.
28547 (sinh_test_towardzero): Likewise.
28548 (sinh_test_downward): Likewise.
28549 (sinh_test_upward): Likewise.
28550 (sqrt_test): Likewise.
28551 (tan_test): Likewise.
28552 (tan_test_tonearest): Likewise.
28553 (tan_test_towardzero): Likewise.
28554 (tan_test_downward): Likewise.
28555 (tan_test_upward): Likewise.
28556 (tanh_test): Likewise.
28557 (tgamma_test): Likewise.
28558 (y0_test): Likewise.
28559 (y1_test): Likewise.
28560 (yn_test): Likewise.
28561
323e5cb7
JM
28562 * math/gen-libm-test.pl (adjust_arg): Remove function.
28563 (special_function): Remove argument $in_func. Only handle
28564 generating output for tables of tests, not inside functions.
28565 (parse_args): Likewise.
28566 (generate_testfile): Remove variable $in_func. Update call to
28567 parse_args.
28568 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28569 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28570 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28571 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28572 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28573 (MAX_VALUE_INIT): Rename macro to max_value.
28574 (MIN_VALUE_INIT): Rename macro to min_value.
28575 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28576 (plus_zero): Remove variable.
28577 (minus_zero): Likewise.
28578 (plus_infty): Likewise.
28579 (minus_infty): Likewise.
28580 (qnan_value): Likewise.
28581 (max_value): Likewise.
28582 (min_value): Likewise.
28583 (min_subnorm_value): Likewise.
28584
e054f494
RA
285852013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28586
28587 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28588 uint64_t or uint32_t usage.
28589 * crypt/sha256-block.c: Likewise.
28590 * crypt/sha256-crypt.c: Likewise.
28591 * crypt/sha256.c: Likewise.
28592 * crypt/sha512-block.c: Likewise.
28593 * crypt/sha512-crypt.c: Likewise.
28594 * crypt/sha512.c: Likewise.
28595 * debug/backtrace-tst.c: Likewise.
28596 * debug/pcprofiledump.c: Likewise.
28597 * elf/cache.c: Likewise.
28598 * elf/dl-cache.c: Likewise.
28599 * elf/dl-misc.c: Likewise.
28600 * elf/dl-profile.c: Likewise.
28601 * elf/dl-support.c: Likewise.
28602 * elf/ldconfig.c: Likewise.
28603 * elf/sprof.c: Likewise.
28604 * iconv/dummy-repertoire.c: Likewise.
28605 * iconv/iconv_charmap.c: Likewise.
28606 * iconv/skeleton.c: Likewise.
28607 * iconvdata/8bit-generic.c: Likewise.
28608 * iconvdata/cp737.h: Likewise.
28609 * iconvdata/cp775.h: Likewise.
28610 * iconvdata/ibm1008.h: Likewise.
28611 * iconvdata/ibm1025.h: Likewise.
28612 * iconvdata/ibm1046.h: Likewise.
28613 * iconvdata/ibm1097.h: Likewise.
28614 * iconvdata/ibm1112.h: Likewise.
28615 * iconvdata/ibm1122.h: Likewise.
28616 * iconvdata/ibm1123.h: Likewise.
28617 * iconvdata/ibm1124.h: Likewise.
28618 * iconvdata/ibm1129.h: Likewise.
28619 * iconvdata/ibm1130.h: Likewise.
28620 * iconvdata/ibm1132.h: Likewise.
28621 * iconvdata/ibm1133.h: Likewise.
28622 * iconvdata/ibm1137.h: Likewise.
28623 * iconvdata/ibm1140.h: Likewise.
28624 * iconvdata/ibm1141.h: Likewise.
28625 * iconvdata/ibm1142.h: Likewise.
28626 * iconvdata/ibm1143.h: Likewise.
28627 * iconvdata/ibm1144.h: Likewise.
28628 * iconvdata/ibm1145.h: Likewise.
28629 * iconvdata/ibm1146.h: Likewise.
28630 * iconvdata/ibm1147.h: Likewise.
28631 * iconvdata/ibm1148.h: Likewise.
28632 * iconvdata/ibm1149.h: Likewise.
28633 * iconvdata/ibm1153.h: Likewise.
28634 * iconvdata/ibm1154.h: Likewise.
28635 * iconvdata/ibm1155.h: Likewise.
28636 * iconvdata/ibm1156.h: Likewise.
28637 * iconvdata/ibm1157.h: Likewise.
28638 * iconvdata/ibm1158.h: Likewise.
28639 * iconvdata/ibm1160.h: Likewise.
28640 * iconvdata/ibm1161.h: Likewise.
28641 * iconvdata/ibm1162.h: Likewise.
28642 * iconvdata/ibm1163.h: Likewise.
28643 * iconvdata/ibm1164.h: Likewise.
28644 * iconvdata/ibm1166.h: Likewise.
28645 * iconvdata/ibm1167.h: Likewise.
28646 * iconvdata/ibm12712.h: Likewise.
28647 * iconvdata/ibm1390.h: Likewise.
28648 * iconvdata/ibm1399.h: Likewise.
28649 * iconvdata/ibm16804.h: Likewise.
28650 * iconvdata/ibm4517.h: Likewise.
28651 * iconvdata/ibm4899.h: Likewise.
28652 * iconvdata/ibm4909.h: Likewise.
28653 * iconvdata/ibm4971.h: Likewise.
28654 * iconvdata/ibm5347.h: Likewise.
28655 * iconvdata/ibm803.h: Likewise.
28656 * iconvdata/ibm856.h: Likewise.
28657 * iconvdata/ibm901.h: Likewise.
28658 * iconvdata/ibm902.h: Likewise.
28659 * iconvdata/ibm9030.h: Likewise.
28660 * iconvdata/ibm9066.h: Likewise.
28661 * iconvdata/ibm921.h: Likewise.
28662 * iconvdata/ibm922.h: Likewise.
28663 * iconvdata/ibm9448.h: Likewise.
28664 * iconvdata/isiri-3342.h: Likewise.
28665 * iconvdata/jis0201.h: Likewise.
28666 * include/link.h: Likewise.
28667 * include/netdb.h: Likewise.
28668 * inet/check_native.c: Likewise.
28669 * inet/check_pf.c: Likewise.
28670 * inet/getipv4sourcefilter.c: Likewise.
28671 * inet/getnameinfo.c: Likewise.
28672 * inet/getsourcefilter.c: Likewise.
28673 * inet/htonl.c: Likewise.
28674 * inet/setipv4sourcefilter.c: Likewise.
28675 * inet/setsourcefilter.c: Likewise.
28676 * inet/test-inet6_opt.c: Likewise.
28677 * inet/tst-network.c: Likewise.
28678 * locale/C-collate.c: Likewise.
28679 * locale/C-ctype.c: Likewise.
28680 * locale/C-time.c: Likewise.
28681 * locale/C-translit.h: Likewise.
28682 * locale/loadarchive.c: Likewise.
28683 * locale/programs/3level.h: Likewise.
28684 * locale/programs/charmap.c: Likewise.
28685 * locale/programs/charmap.h: Likewise.
28686 * locale/programs/ld-address.c: Likewise.
28687 * locale/programs/ld-collate.c: Likewise.
28688 * locale/programs/ld-ctype.c: Likewise.
28689 * locale/programs/ld-identification.c: Likewise.
28690 * locale/programs/ld-measurement.c: Likewise.
28691 * locale/programs/ld-messages.c: Likewise.
28692 * locale/programs/ld-monetary.c: Likewise.
28693 * locale/programs/ld-name.c: Likewise.
28694 * locale/programs/ld-numeric.c: Likewise.
28695 * locale/programs/ld-paper.c: Likewise.
28696 * locale/programs/ld-telephone.c: Likewise.
28697 * locale/programs/ld-time.c: Likewise.
28698 * locale/programs/linereader.c: Likewise.
28699 * locale/programs/locale.c: Likewise.
28700 * locale/programs/locarchive.c: Likewise.
28701 * locale/programs/locfile.h: Likewise.
28702 * locale/programs/repertoire.c: Likewise.
28703 * locale/programs/simple-hash.c: Likewise.
28704 * locale/programs/simple-hash.h: Likewise.
28705 * malloc/memusage.c: Likewise.
28706 * malloc/memusagestat.c: Likewise.
28707 * nis/nis_defaults.c: Likewise.
28708 * nis/nis_hash.c: Likewise.
28709 * nis/nis_print.c: Likewise.
28710 * nis/nis_xdr.c: Likewise.
28711 * nscd/connections.c: Likewise.
28712 * nscd/hstcache.c: Likewise.
28713 * nscd/nscd_gethst_r.c: Likewise.
28714 * nscd/nscd_getserv_r.c: Likewise.
28715 * nscd/nscd_helper.c: Likewise.
28716 * nscd/servicescache.c: Likewise.
28717 * nss/makedb.c: Likewise.
28718 * nss/nss_db/db-XXX.c: Likewise.
28719 * nss/nss_db/db-initgroups.c: Likewise.
28720 * nss/nss_db/db-netgrp.c: Likewise.
28721 * nss/nss_files/files-network.c: Likewise.
28722 * nss/nss_files/files-parse.c: Likewise.
28723 * posix/bug-regex5.c: Likewise.
28724 * posix/fnmatch_loop.c: Likewise.
28725 * posix/regcomp.c: Likewise.
28726 * posix/regexec.c: Likewise.
28727 * posix/tst-rfc3484-2.c: Likewise.
28728 * posix/tst-rfc3484-3.c: Likewise.
28729 * posix/tst-rfc3484.c: Likewise.
28730 * resolv/nss_dns/dns-canon.c: Likewise.
28731 * resolv/nss_dns/dns-network.c: Likewise.
28732 * resolv/res_init.c: Likewise.
28733 * resolv/res_mkquery.c: Likewise.
28734 * resolv/tst-aton.c: Likewise.
28735 * stdlib/cxa_atexit.c: Likewise.
28736 * stdlib/cxa_finalize.c: Likewise.
28737 * stdlib/gen-fpioconst.c: Likewise.
28738 * stdlib/strtol_l.c: Likewise.
28739 * string/tst-endian.c: Likewise.
28740 * sunrpc/auth_des.c: Likewise.
28741 * sunrpc/clnt_udp.c: Likewise.
28742 * sunrpc/rtime.c: Likewise.
28743 * sunrpc/svcauth_des.c: Likewise.
28744 * sunrpc/xdr.c: Likewise.
28745 * sunrpc/xdr_intXX_t.c: Likewise.
28746 * sunrpc/xdr_rec.c: Likewise.
28747 * sysdeps/generic/ldconfig.h: Likewise.
28748 * sysdeps/generic/ldsodefs.h: Likewise.
28749 * sysdeps/generic/memusage.h: Likewise.
28750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28760 * sysdeps/posix/getaddrinfo.c: Likewise.
28761 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28762 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28763 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28764 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28765 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28766 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28767 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28768 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28769 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28770 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28771 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28772 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28773 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28774 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28776 * sysdeps/x86_64/dl-tls.h: Likewise.
28777 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28778 * time/alt_digit.c: Likewise.
28779 * time/era.c: Likewise.
28780 * wcsmbs/tst-c16c32-1.c: Likewise.
28781
8c75f674
JM
287822013-05-16 Joseph Myers <joseph@codesourcery.com>
28783
28784 * math/libm-test.inc (struct test_sincos_data): New type.
28785 (RUN_TEST_LOOP_sincos): New macro.
28786 (sincos_test_data): New variable.
28787 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28788
e6e49e59
RH
287892013-05-16 Richard Henderson <rth@redhat.com>
28790
28791 * math/atest-exp2.c (LIMB64): New macro.
28792 (CONSTSZ): New macro.
28793 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28794 (hexdig): Move ...
28795 (print_mpn_fp): ... to function scope.
28796 (read_mpn_hex): Remove.
28797 (get_log2): Remove.
28798 (exp2_mpn): Use mp_log2.
28799 (main): Use mp_exp1.
28800
15c7c18d
JM
288012013-05-16 Joseph Myers <joseph@codesourcery.com>
28802
105a07df
JM
28803 * math/libm-test.inc: Remove comment about not testing "inexact"
28804 exceptions.
28805 (INEXACT_EXCEPTION): New macro.
28806 (NO_INEXACT_EXCEPTION): Likewise.
28807 (INVALID_EXCEPTION_OK): Update value.
28808 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28809 (OVERFLOW_EXCEPTION_OK): Likewise.
28810 (UNDERFLOW_EXCEPTION_OK): Likewise.
28811 (IGNORE_ZERO_INF_SIGN): Likewise.
28812 (ERRNO_UNCHANGED): Likewise.
28813 (ERRNO_EDOM): Likewise.
28814 (ERRNO_ERANGE): Likewise.
28815 (test_exceptions): Handle testing "inexact" exceptions.
28816 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28817 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28818 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28819 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28820 INEXACT_EXCEPTION.
28821 (rint_towardzero_test_data): Likewise.
28822 (rint_downward_test_data): Likewise.
28823 (rint_upward_test_data): Likewise.
28824
e9eee333
JM
28825 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28826 with OVERFLOW_EXCEPTION.
28827 (exp10_test_data): Likewise.
28828 (exp2_test_data): Likewise.
28829 (expm1_test_data): Likewise.
28830 (lgamma_test_data): Likewise.
28831 (pow_test_data): Likewise.
28832 (tgamma_test_data): Likewise.
28833 (yn_test_data): Remove duplicate test of overflow.
28834
1c38ff73
JM
28835 * math/libm-test.inc (struct test_cc_c_data): New type.
28836 (RUN_TEST_LOOP_cc_c): New macro.
28837 (cpow_test_data): New variable.
28838 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28839
15c7c18d
JM
28840 * math/libm-test.inc (struct test_f_L_data): New type.
28841 (RUN_TEST_LOOP_f_L): New macro.
28842 (llrint_test_data): New variable.
28843 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28844 (llrint_tonearest_test_data): New variable.
28845 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28846 (llrint_towardzero_test_data): New variable.
28847 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28848 (llrint_downward_test_data): New variable.
28849 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28850 (llrint_upward_test_data): New variable.
28851 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28852 (llround_test_data): New variable.
28853 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28854
f137ff13
PC
288552013-05-13 Peter Collingbourne <pcc@google.com>
28856
28857 * math/atest-exp2.c (get_log2): Remove const attribute.
28858
3608cb24
JM
288592013-05-15 Joseph Myers <joseph@codesourcery.com>
28860
28861 * math/libm-test.inc (struct test_f_l_data): New type.
28862 (RUN_TEST_LOOP_f_l): New macro.
28863 (lrint_test_data): New variable.
28864 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28865 (lrint_tonearest_test_data): New variable.
28866 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28867 (lrint_towardzero_test_data): New variable.
28868 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28869 (lrint_downward_test_data): New variable.
28870 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28871 (lrint_upward_test_data): New variable.
28872 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28873 (lround_test_data): New variable.
28874 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28875
39b1f617
PC
288762013-05-15 Peter Collingbourne <pcc@google.com>
28877
1deff3dc
PC
28878 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28879 (EXTRACT_WORDS64) Use where appropriate.
28880 (INSERT_WORDS64) Likewise.
28881
791f3ba0
PC
28882 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28883 constraints with x constraints.
28884 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28885
39b1f617
PC
28886 * malloc/obstack.c (_obstack_compat): Add initializer.
28887
12fba011
EM
288882013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28889
28890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28891 si_trapno and add si_addr_lsb to _sifields.sigfault.
28892 (si_trapno): Remove macro.
28893 (si_addr_lsb): Define new macro.
28894 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28895
d369f531
JM
288962013-05-15 Joseph Myers <joseph@codesourcery.com>
28897
b861c6c4
JM
28898 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28899 instead of TEST_f_l.
28900 (llrint_test_tonearest): Likewise.
28901 (llrint_test_towardzero): Likewise.
28902 (llrint_test_downward): Likewise.
28903 (llrint_test_upward): Likewise.
28904 (llround_test): Likewise.
28905
7abeee12
JM
28906 * math/libm-test.inc (struct test_f_i_data): Add comment.
28907 (RUN_TEST_LOOP_f_b): New macro.
28908 (RUN_TEST_LOOP_f_b_tg): Likewise.
28909 (finite_test_data): New variable.
28910 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28911 (isfinite_test_data): New variable.
28912 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28913 (isinf_test_data): New variable.
28914 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28915 (isnan_test_data): New variable.
28916 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28917 (isnormal_test_data): New variable.
28918 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28919 (issignaling_test_data): New variable.
28920 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28921 (signbit_test_data): New variable.
28922 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28923
cbe8c4d3
JM
28924 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28925 with INVALID_EXCEPTION.
28926 (acosh_test_data): Likewise.
28927 (asin_test_data): Likewise.
28928 (atanh_test_data): Likewise.
28929 (fmod_test_data): Likewise.
28930 (log_test_data): Likewise.
28931 (log10_test_data): Likewise.
28932 (log2_test_data): Likewise.
28933 (pow_test_data): Likewise.
28934 (sqrt_test_data): Likewise.
28935 (y0_test_data): Likewise.
28936 (y1_test_data): Likewise.
28937 (yn_test_data): Likewise.
28938
5575c0e5
JM
28939 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28940 function contents.
28941
d369f531
JM
28942 * math/libm-test.inc (struct test_ff_i_data): New type.
28943 (RUN_TEST_LOOP_ff_i_tg): New macro.
28944 (isgreater_test_data): New variable.
28945 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28946 (isgreaterequal_test_data): New variable.
28947 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28948 (isless_test_data): New variable.
28949 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28950 (islessequal_test_data): New variable.
28951 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28952 (islessgreater_test_data): New variable.
28953 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28954 (isunordered_test_data): New variable.
28955 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28956
781fd748
DM
289572013-05-14 David S. Miller <davem@davemloft.net>
28958
28959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28960
87aa21df
JM
289612013-05-14 Joseph Myers <joseph@codesourcery.com>
28962
5e908270
JM
28963 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28964
f71172e5
JM
28965 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28966 extra_test to int.
28967 (struct test_f_i_data): Change type of max_ulp to int.
28968
8cfa635a
JM
28969 * math/libm-test.inc (test_ffI_f1_data): New type.
28970 (RUN_TEST_LOOP_ffI_f1): New macro.
28971 (remquo_test_data): New variable.
28972 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28973
2bcb36b2
JM
28974 * setjmp/tst-setjmp-fp.c: New file.
28975 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28976 (link-libm): New variable.
28977 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28978
acbd839a
JM
28979 * math/libm-test.inc (struct test_f_i_data): New type.
28980 (RUN_TEST_LOOP_f_i): New macro.
28981 (RUN_TEST_LOOP_f_i_tg): Likewise.
28982 (fpclassify_test_data): New variable.
28983 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28984 (ilogb_test_data): New variable.
28985 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28986
e414d745
JM
28987 * math/libm-test.inc (scalbln_test): Correct function name in END
28988 call.
28989
d9c2a0fd
JM
28990 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28991 (RUN_TEST_LOOP_fI_f1): New macro.
28992 (frexp_test_data): New variable.
28993 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28994
9dc9095d
JM
28995 * math/libm-test.inc (struct test_fF_f1_data): New type.
28996 (RUN_TEST_LOOP_fF_f1): New macro.
28997 (modf_test_data): New variable.
28998 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28999
87aa21df
JM
29000 * math/libm-test.inc (struct test_f_f1_data): New type.
29001 (RUN_TEST_LOOP_f_f1): New macro.
29002 (gamma_test_data): New variable.
29003 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29004 (lgamma_test_data): New variable.
29005 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29006
141af660
CD
290072013-05-13 Carlos O'Donell <carlos@redhat.com>
29008
29009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29010 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29011 (main): Comment "tls" pseudo-hwcap.
29012
6d33265c
JM
290132013-05-13 Joseph Myers <joseph@codesourcery.com>
29014
68fc074c
JM
29015 * math/libm-test.inc (struct test_fl_f_data): New type.
29016 (RUN_TEST_LOOP_fl_f): New variable.
29017 (scalbln_test_data): New variable.
29018 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29019
243216e1
JM
29020 * math/libm-test.inc (struct test_fi_f_data): New type.
29021 (RUN_TEST_LOOP_fi_f): New macro.
29022 (ldexp_test_data): New variable.
29023 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29024 (scalbn_test_data): New variable.
29025 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29026
6a1992e2
JM
29027 * math/libm-test.inc (struct test_c_f_data): New type.
29028 (RUN_TEST_LOOP_c_f): New macro.
29029 (cabs_test_data): New variable.
29030 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29031 (carg_test_data): New variable.
29032 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29033 (cimag_test_data): New variable.
29034 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29035 (creal_test_data): New variable.
29036 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29037
0e400df5
JM
29038 * math/libm-test.inc (struct test_if_f_data): New type.
29039 (RUN_TEST_LOOP_if_f): New macro.
29040 (jn_test_data): New variable.
29041 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29042 (yn_test_data): New variable.
29043 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29044
6d33265c
JM
29045 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29046
f98ece5f
AZ
290472013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29048
29049 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29050 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29051
0f7d347b
SP
290522013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29053
43fe811b
SP
29054 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29055 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29056 (bench-deps): Add bench-timing.h.
29057 * benchtests-bench-skeleton.c: Include bench-timing.h.
29058 (main): Use TIMING_* macros instead of clock_gettime.
29059 * benchtests/bench-timing.h: New file.
29060
0f7d347b
SP
29061 [BZ #14582]
29062 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29063 Renamed from _LIB_VERSION.
29064 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29065
601a3a5f
JM
290662013-05-12 Joseph Myers <joseph@codesourcery.com>
29067
4f184d30
JM
29068 * math/libm-test.inc (struct test_fff_f_data): New type.
29069 (RUN_TEST_LOOP_fff_f): New macro.
29070 (fma_test_data): New variable.
29071 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29072 (fma_towardzero_test_data): New variable.
29073 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29074 (fma_downward_test_data): New variable.
29075 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29076 (fma_upward_test_data): New variable.
29077 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29078
08198877
JM
29079 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29080 (struct test_c_c_data): New type.
29081 (RUN_TEST_LOOP_c_c): New macro.
29082 (cacos_test_data): New variable.
29083 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29084 (cacosh_test_data): New variable.
29085 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29086 (casin_test_data): New variable.
29087 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29088 (casinh_test_data): New variable.
29089 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29090 (catan_test_data): New variable.
29091 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29092 (catanh_test_data): New variable.
29093 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29094 (ccos_test_data): New variable.
29095 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29096 (ccosh_test_data): New variable.
29097 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29098 (cexp_test_data): New variable.
29099 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29100 (clog_test_data): New variable.
29101 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29102 (clog10_test_data): New variable.
29103 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29104 (conj_test_data): New variable.
29105 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29106 (cproj_test_data): New variable.
29107 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29108 (csin_test_data): New variable.
29109 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29110 (csinh_test_data): New variable.
29111 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29112 (csqrt_test_data): New variable.
29113 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29114 (ctan_test_data): New variable.
29115 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29116 (ctan_tonearest_test_data): New variable.
29117 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29118 (ctan_towardzero_test_data): New variable.
29119 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29120 (ctan_downward_test_data): New variable.
29121 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29122 (ctan_upward_test_data): New variable.
29123 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29124 (ctanh_test_data): New variable.
29125 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29126 (ctanh_tonearest_test_data): New variable.
29127 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29128 (ctanh_towardzero_test_data): New variable.
29129 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29130 (ctanh_downward_test_data): New variable.
29131 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29132 (ctanh_upward_test_data): New variable.
29133 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29134 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29135 of BUILD_COMPLEX.
29136
601a3a5f
JM
29137 * math/libm-test.inc (struct test_ff_f_data): New type.
29138 (struct test_ff_f_data_nexttoward): Likewise.
29139 (RUN_TEST_LOOP_2_f): New macro.
29140 (RUN_TEST_LOOP_ff_f): Likewise.
29141 (atan2_test_data): New variable.
29142 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29143 (copysign_test_data): New variable.
29144 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29145 (fdim_test_data): New variable.
29146 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29147 (fmax_test_data): New variable.
29148 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29149 (fmin_test_data): New variable.
29150 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29151 (fmod_test_data): New variable.
29152 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29153 (hypot_test_data): New variable.
29154 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29155 (nextafter_test_data): New variable.
29156 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29157 (nexttoward_test_data): New variable.
29158 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29159 (pow_test_data): New variable.
29160 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29161 (pow_tonearest_test_data): New variable.
29162 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29163 (pow_towardzero_test_data): New variable.
29164 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29165 (pow_downward_test_data): New variable.
29166 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29167 (pow_upward_test_data): New variable.
29168 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29169 (remainder_test_data): New variable.
29170 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29171 (scalb_test_data): New variable.
29172 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29173 * sysdeps/i386/fpu/libm-test-ulps: Update.
29174
74c57478
JM
291752013-05-11 Joseph Myers <joseph@codesourcery.com>
29176
8329e4da
JM
29177 * math/libm-test.inc (fma_test): Use max_value instead of local
29178 variable fltmax.
29179 (nextafter_test): Likewise.
29180
74c57478
JM
29181 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29182 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29183 (acos_downward_test_data): New variable.
29184 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29185 (acos_upward_test_data): New variable.
29186 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29187 (acosh_test_data): New variable.
29188 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29189 (asin_test_data): New variable.
29190 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29191 (asin_tonearest_test_data): New variable.
29192 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29193 (asin_towardzero_test_data): New variable.
29194 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29195 (asin_downward_test_data): New variable.
29196 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29197 (asin_upward_test_data): New variable.
29198 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29199 (asinh_test_data): New variable.
29200 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29201 (atan_test_data): New variable.
29202 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29203 (atanh_test_data): New variable.
29204 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29205 (cbrt_test_data): New variable.
29206 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29207 (ceil_test_data): New variable.
29208 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29209 (cos_test_data): New variable.
29210 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29211 (cos_tonearest_test_data): New variable.
29212 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29213 (cos_towardzero_test_data): New variable.
29214 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29215 (cos_downward_test_data): New variable.
29216 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29217 (cos_upward_test_data): New variable.
29218 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29219 (cosh_test_data): New variable.
29220 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29221 (cosh_tonearest_test_data): New variable.
29222 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29223 (cosh_towardzero_test_data): New variable.
29224 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29225 (cosh_downward_test_data): New variable.
29226 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29227 (cosh_upward_test_data): New variable.
29228 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29229 (erf_test_data): New variable.
29230 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29231 (erfc_test_data): New variable.
29232 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29233 (exp_test_data): New variable.
29234 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29235 (exp_tonearest_test_data): New variable.
29236 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29237 (exp_towardzero_test_data): New variable.
29238 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29239 (exp_downward_test_data): New variable.
29240 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29241 (exp_upward_test_data): New variable.
29242 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29243 (exp10_test_data): New variable.
29244 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29245 (exp2_test_data): New variable.
29246 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29247 (expm1_test_data): New variable.
29248 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29249 (fabs_test_data): New variable.
29250 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29251 (floor_test_data): New variable.
29252 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29253 (j0_test_data): New variable.
29254 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29255 (j1_test_data): New variable.
29256 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29257 (log_test_data): New variable.
29258 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29259 (log10_test_data): New variable.
29260 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29261 (log1p_test_data): New variable.
29262 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29263 (log2_test_data): New variable.
29264 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29265 (logb_test_data): New variable.
29266 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29267 (logb_downward_test_data): New variable.
29268 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29269 (nearbyint_test_data): New variable.
29270 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29271 (rint_test_data): New variable.
29272 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29273 (rint_tonearest_test_data): New variable.
29274 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29275 (rint_towardzero_test_data): New variable.
29276 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29277 (rint_downward_test_data): New variable.
29278 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29279 (rint_upward_test_data): New variable.
29280 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29281 (round_test_data): New variable.
29282 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29283 (sin_test_data): New variable.
29284 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29285 (sin_tonearest_test_data): New variable.
29286 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29287 (sin_towardzero_test_data): New variable.
29288 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29289 (sin_downward_test_data): New variable.
29290 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29291 (sin_upward_test_data): New variable.
29292 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29293 (sinh_test_data): New variable.
29294 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29295 (sinh_tonearest_test_data): New variable.
29296 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29297 (sinh_towardzero_test_data): New variable.
29298 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29299 (sinh_downward_test_data): New variable.
29300 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29301 (sinh_upward_test_data): New variable.
29302 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29303 (sqrt_test_data): New variable.
29304 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29305 (tan_test_data): New variable.
29306 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29307 (tan_tonearest_test_data): New variable.
29308 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29309 (tan_towardzero_test_data): New variable.
29310 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29311 (tan_downward_test_data): New variable.
29312 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29313 (tan_upward_test_data): New variable.
29314 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29315 (tanh_test_data): New variable.
29316 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29317 (tgamma_test_data): New variable.
29318 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29319 (trunc_test_data): New variable.
29320 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29321 (y0_test_data): New variable.
29322 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29323 (y1_test_data): New variable.
29324 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29325 (significand_test_data): New variable.
29326 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29327
7187d844
CG
293282013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29329
29330 [BZ #12387]
29331 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29332
f63fae73
PT
293332013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29334
29335 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29336
8a67a4b3
AJ
293372013-05-10 Andreas Jaeger <aj@suse.de>
29338
29339 [BZ #15448]
29340 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29341 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29342
51df539d
JM
293432013-05-10 Joseph Myers <joseph@codesourcery.com>
29344
29345 * math/gen-libm-test.pl (adjust_arg): New function.
29346 (special_functions): Handle generating output in both functions
29347 and arrays.
29348 (parse_args): Likewise.
29349 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29350 $in_func argument to parse_args.
29351 * math/libm-test.inc (struct test_f_f_data): New type.
29352 (IF_ROUND_INIT_): New macro.
29353 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29354 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29355 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29356 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29357 (ROUND_RESTORE_): Likewise.
29358 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29359 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29360 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29361 (ROUND_RESTORE_FE_UPWARD): Likewise.
29362 (RUN_TEST_LOOP_f_f): New macro.
29363 (acos_test_data): New variable.
29364 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29365 (acos_tonearest_test_data): New variable.
29366 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29367
5c637fe5
SP
293682013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29369
29370 * benchtests/bench-skeleton.c (startup): Fix coding style.
29371
ab2b9461
JM
293722013-05-10 Joseph Myers <joseph@codesourcery.com>
29373
29374 [BZ #6809]
29375 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29376 negative infinity argument.
29377 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29378 negative infinity argument.
29379 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29380 negative infinity argument.
29381 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29382 domain errors.
29383
4c0fe6fe
FW
293842013-05-10 Florian Weimer <fweimer@redhat.com>
29385
29386 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29387 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29388 * iconv/iconv_prog.c (main): Likewise.
29389 * locale/programs/charmap-dir.c (charmap_readdir)
29390 (fopen_uncompressed): Likewise.
29391 * locale/programs/locfile.c (siblings_uncached)
29392 (write_locale_data): Use lstat64 instead of lstat.
29393 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29394 stat.
29395
a3375d29
AJ
293962013-05-10 Andreas Jaeger <aj@suse.de>
29397
29398 [BZ #15395]
29399 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29400 localization.
29401 Include <locale.h>.
29402
36129722
CD
294032013-05-09 Carlos O'Donell <carlos@redhat.com>
29404
29405 * elf/dl-close.c (_dl_close_worker): Add comments.
29406
faa7f811
JM
294072013-05-09 Joseph Myers <joseph@codesourcery.com>
29408
ed41ffef
JM
29409 [BZ #15359]
29410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29411 high part of pi/2.
29412 (__ieee754_rem_pio2l): Update comments.
29413
d0213cd0
JM
29414 [BZ #15429]
29415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29416 high part of pi/2.
29417 (__ieee754_rem_pio2l): Update comments.
29418
0d3e777a
JM
29419 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29420 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29421
24f56066
JM
29422 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29423 M_PI_4l.
29424
faa7f811
JM
29425 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29426 (M_PI_34_LOG10El): Likewise.
29427 (M_PI2_LOG10El): Likewise.
29428 (M_PI4_LOG10El): Likewise.
29429 (M_PI_LOG10El): Likewise.
29430
e9a5e0fd
AZ
294312013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29432
29433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29434
d8cd06db
JM
294352013-05-08 Joseph Myers <joseph@codesourcery.com>
29436
a0d9f9d7
JM
29437 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29438 (MINUS_ZERO_INIT): Likewise.
29439 (PLUS_INFTY_INIT): Likewise.
29440 (MINUS_INFTY_INIT): Likewise.
29441 (QNAN_VALUE_INIT): Likewise.
29442 (MAX_VALUE_INIT): Likewise.
29443 (MIN_VALUE_INIT): Likewise.
29444 (MIN_SUBNORM_VALUE_INIT): Likewise.
29445 (plus_zero): Initialize with PLUS_ZERO_INIT.
29446 (minus_zero): Initialize with MINUS_ZERO_INIT.
29447 (plus_infty): Initialize with PLUS_INFTY_INIT.
29448 (minus_infty): Initialize with MINUS_INFTY_INIT.
29449 (qnan_value): Initialize with QNAN_VALUE_INIT.
29450 (max_value): Initialize with MAX_VALUE_INIT.
29451 (min_value): Initialize with MIN_VALUE_INIT.
29452 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29453
ae08db3b
JM
29454 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29455 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29456 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29457 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29458
f44bf14a
JM
29459 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29460 (RUN_TEST_2_f): Likewise.
29461 (RUN_TEST_ff_f): Likewise.
29462 (RUN_TEST_fi_f): Likewise.
29463 (RUN_TEST_fl_f): Likewise.
29464 (RUN_TEST_fff_f): Likewise.
29465 (RUN_TEST_c_f): Likewise.
29466 (RUN_TEST_f_f1): Likewise.
29467 (RUN_TEST_fF_f1): Likewise.
29468 (RUN_TEST_fI_f1): Likewise.
29469 (RUN_TEST_ffI_f1): Likewise.
29470 (RUN_TEST_c_c): Likewise.
29471 (RUN_TEST_cc_c): Likewise.
29472 (RUN_TEST_f_i): Likewise.
29473 (RUN_TEST_f_i_tg): Likewise.
29474 (RUN_TEST_ff_i_tg): Likewise.
29475 (RUN_TEST_f_b): Likewise.
29476 (RUN_TEST_f_b_tg): Likewise.
29477 (RUN_TEST_f_l): Likewise.
29478 (RUN_TEST_f_L): Likewise.
29479 (RUN_TEST_sincos): Likewise.
29480 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29481 whether to show exceptions. Do not include ");\n" in return
29482 value.
29483 (special_functions): Output call to RUN_TEST_sincos instead of
29484 check_float calls. Update calls to new_test.
29485 (parse_args): Output call to single RUN_TEST_* macro instead of
29486 check_* calls and other assignments. Update calls to new_test.
29487
d8cd06db
JM
29488 [BZ #2546]
29489 [BZ #2560]
29490 [BZ #5159]
29491 [BZ #15426]
29492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29493 input to result for tgamma overflow.
29494 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29495 (gamma_coeff): New variable.
29496 (NCOEFF): New macro.
29497 (gamma_positive): New function.
29498 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29499 underflow here. Use gamma_positive instead of exp (lgamma) for
29500 other arguments.
29501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29502 (gamma_coeff): New variable.
29503 (NCOEFF): New macro.
29504 (gammaf_positive): New function.
29505 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29506 underflow here. Use gamma_positive instead of exp (lgamma) for
29507 other arguments.
29508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29509 (gamma_coeff): New variable.
29510 (NCOEFF): New macro.
29511 (gammal_positive): New function.
29512 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29513 underflow here. Use gamma_positive instead of exp (lgamma) for
29514 other arguments.
29515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29516 (gamma_coeff): New variable.
29517 (NCOEFF): New macro.
29518 (gammal_positive): New function.
29519 (__ieee754_gammal_r): Handle positive infinity, overflow and
29520 underflow here. Handle NaN the same as positive infinity. Remove
29521 check x < 0xffffffff for negative integers. Use gamma_positive
29522 instead of exp (lgamma) for other arguments.
29523 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29524 (gamma_coeff): New variable.
29525 (NCOEFF): New macro.
29526 (gammal_positive): New function.
29527 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29528 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29529 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29531 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29532 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29533 * sysdeps/generic/math_private.h (__gamma_productf): New
29534 prototype.
29535 (__gamma_product): Likewise.
29536 (__gamma_productl): Likewise.
29537 * math/Makefile (libm-calls): Add gamma_product.
29538 * math/libm-test.inc (tgamma_test): Add more tests.
29539 * sysdeps/i386/fpu/libm-test-ulps: Update.
29540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29541
bb7cf681
OB
295422013-05-08 Ondřej Bílka <neleai@seznam.cz>
29543
29544 * benchtests/bench-skeleton.c (main): Preheat CPU.
29545
ba853947
AJ
295462013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29547
29548 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29549
8347c74c
RM
295502013-05-07 Roland McGrath <roland@hack.frob.com>
29551
29552 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29553 and _dl_skip_args_internal.
29554
e8dd4791
CD
295552013-05-07 Carlos O'Donell <carlos@redhat.com>
29556
29557 * manual/message.texi (Message Translation): Talk about users.
29558 Message to key mapping impacts design.
29559
c7405830
RM
295602013-05-06 Roland McGrath <roland@hack.frob.com>
29561
a9173057
RM
29562 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29563
976e2f03
RM
29564 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29565
9723ffc5
RM
29566 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29567 * sysdeps/wordsize-64/glob64.c: ... here.
29568
962e6658
RM
29569 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29570 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29571 New macros.
29572
ee586a6d
RM
29573 * debug/getlogin_r_chk.c: Moved to ...
29574 * login/getlogin_r_chk.c: ... here.
29575 * debug/Makefile (routines): Move getlogin_r_chk to ...
29576 * login/Makefile (routines): ... here.
29577 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29578 * login/Versions (libc: GLIBC_2.4): ... here.
29579
355f9165
RM
29580 * io/poll.c (__poll): Renamed from poll.
29581 Add libc_hidden_def.
29582 (poll): Define as weak alias.
29583
bd9ffde6
RM
29584 * debug/ptsname_r_chk.c: Moved to ...
29585 * login/ptsname_r_chk.c: ... here.
29586 * debug/Makefile (routines): Move ptsname_r_chk to ...
29587 * login/Makefile (routines): ... here.
29588 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29589 * login/Versions (libc: GLIBC_2.4): ... here.
29590
8fb16a04
RM
29591 * posix/getlogin.c: Moved to ...
29592 * login/getlogin.c: ... here.
29593 * posix/getlogin_r.c: Moved to ...
29594 * login/getlogin_r.c: ... here.
29595 * posix/getlogin_r.c: Moved to ...
29596 * login/getlogin_r.c: ... here.
29597 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29598 * login/Makefile (routines): ... here.
29599 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29600 * login/Versions (libc: GLIBC_2.0): ... here.
29601
b99b892f
RM
29602 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29603 (setrlimit): Define as weak alias.
29604
c7405830
RM
29605 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29606 Call __ names for open, ftruncate, and close.
29607 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29608 (truncate): Define as weak alias.
29609
5bf96de5
JM
296102013-05-06 Joseph Myers <joseph@codesourcery.com>
29611
9ea3513c
JM
29612 * math/gen-libm-test.pl (parse_args): Initialize x before each
29613 test of frexp, modf and remquo.
29614
5bf96de5
JM
29615 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29616 test signgam value.
29617
16e616a7
AZ
296182013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29619
29620 [BZ #15418]
29621 [BZ #15419]
29622 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29623 internal tests.
29624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29625
d5e82754
RM
296262013-05-06 Roland McGrath <roland@hack.frob.com>
29627
29628 * elf/dl-writev.h: New file.
29629 * elf/dl-misc.c: Include it.
29630 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29631 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29632
a7548d41
JM
296332013-05-04 Joseph Myers <joseph@codesourcery.com>
29634
b7dab1e4
JM
29635 * math/libm-test.inc (noXFails): Remove variable.
29636 (noXPasses): Likewise.
29637 (BUILD_COMPLEX_INT): Remove macro.
29638 (print_screen): Remove xfail argument.
29639 (print_screen_max_error): Likewise.
29640 (update_stats): Likewise.
29641 (print_max_error): Likewise. Update calls to other affected
29642 functions.
29643 (print_complex_max_error): Likewise.
29644 (test_single_exception): Update calls to print_screen.
29645 (test_single_errno): Likewise.
29646 (check_float_internal): Remove xfail argument. Update calls to
29647 other affected functions.
29648 (check_float): Likewise.
29649 (check_complex): Likewise.
29650 (check_int): Likewise.
29651 (check_long): Likewise.
29652 (check_bool): Likewise.
29653 (check_longlong): Likewise.
29654 (main): Don't print noXFails and noXPasses.
29655 * math/gen-libm-test.pl (top level): Don't mention expected
29656 failure handling in comment.
29657 (new_test): Don't handle expected failures.
29658 (parse_args): Don't mention expected failure handling in comment.
29659 (generate_testfile): Don't handle expected failures.
29660 (parse_ulps): Likewise.
29661 (print_ulps_file): Likewise.
29662 (get_failure): Remove function.
29663 (output_test): Don't handle expected failures.
29664 * make/README.libm-test: Don't mention expected failure handling.
29665
a7548d41
JM
29666 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29667 (minus_zero): Likewise.
29668 (plus_infty): Likewise.
29669 (minus_infty): Likewise.
29670 (qnan_value): Likewise.
29671 (max_value): Likewise.
29672 (min_value): Likewise.
29673 (min_subnorm_value): Likewise.
29674 (initialize): Do not initialize those variables dynamically.
29675
60bfd54c
RM
296762013-05-03 Roland McGrath <roland@hack.frob.com>
29677
cc0e6ed8
RM
29678 * io/open.c (__open_2): Moved to ...
29679 * io/open_2.c: ... this new file.
29680 * io/open64.c (__open64_2): Moved to ...
29681 * io/open64_2.c: ... this new file.
29682 * io/openat.c (__openat_2): Moved to ...
29683 * io/openat_2.c: ... this new file.
29684 * io/openat64.c (__openat64_2): Moved to ...
29685 * io/openat64_2.c: ... this new file.
29686 * io/Makefile (routines): Add them.
29687 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29688 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29689 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29690 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29691 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29692 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29693 (__openat64): Add hidden_ver.
29694 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29695 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29696
60bfd54c
RM
29697 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29698 Separately conditionalize setting of GLRO(dl_sysinfo) so
29699 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29700 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29701
83e7640f
AZ
297022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29703
29704 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29705 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29706 definition.
29707 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29708 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29709 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29710 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29711 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29712
d5dc2af3
JM
297132013-05-03 Joseph Myers <joseph@codesourcery.com>
29714
c31a5b1e
JM
29715 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29716 test signgam value.
29717
d5dc2af3
JM
29718 * math/libm-test.inc (hypot_test): Do not use
29719 IGNORE_ZERO_INF_SIGN.
29720
164fd39d
AJ
297212013-05-03 Andreas Jaeger <aj@suse.de>
29722
29723 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29724 Linux 3.9.
29725 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29726 (PF_MAX): Adjust for VSOCK change.
29727
8237f48c
AZ
297282013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29729
29730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29731
9df02941
CD
297322013-05-02 Carlos O'Donell <carlos@redhat.com>
29733
29734 [BZ #15264]
29735 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29736 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29737 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29738
d422395e
DM
297392013-05-02 David S. Miller <davem@davemloft.net>
29740
29741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29742
a07c5731
OB
297432013-05-01 Ondřej Bílka <neleai@seznam.cz>
29744
29745 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29746
1324e37f
RM
297472013-05-01 Roland McGrath <roland@hack.frob.com>
29748
29749 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29750
0695940b
RS
297512013-05-01 Richard Smith <richard@metafoo.co.uk>
29752
bb5f27ad 29753 [BZ #14952]
0695940b
RS
29754 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29755 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29756 Use __attribute__ ((__gnu_inline__)).
29757 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29758 Don't use __attribute__ ((__gnu_inline__)).
29759
10de07f5
JM
297602013-05-01 Joseph Myers <joseph@codesourcery.com>
29761
29762 [BZ #15423]
29763 * math/s_catan.c (__catan): Handle small real or imaginary part of
29764 input specially to avoid spurious underflow.
29765 * math/s_catanf.c (__catanf): Likewise.
29766 * math/s_catanh.c (__catanh): Likewise.
29767 * math/s_catanhf.c (__catanhf): Likewise.
29768 * math/s_catanhl.c (__catanhl): Likewise.
29769 * math/s_catanl.c (__catanl): Likewise.
29770 * math/libm-test.inc (catan_test): Add more tests.
29771 (catanh_test): Likewise.
29772 * sysdeps/i386/fpu/libm-test-ulps: Update.
29773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29774
cb4d5414
AZ
297752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29776
29777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29778
caf84319
JM
297792013-04-30 Joseph Myers <joseph@codesourcery.com>
29780
29781 [BZ #15416]
29782 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29783 accurately for denominator in atan2.
29784 * math/s_catanf.c (__catanf): Likewise.
29785 * math/s_catanh.c (__catanh): Likewise.
29786 * math/s_catanhf.c (__catanhf): Likewise.
29787 * math/s_catanhl.c (__catanhl): Likewise.
29788 * math/s_catanl.c (__catanl): Likewise.
29789 * math/libm-test.inc (catan_test): Add more tests.
29790 (catanh_test): Likewise.
29791 * sysdeps/i386/fpu/libm-test-ulps: Update.
29792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29793
d569c6ee
SP
297942013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29795
6dbe713d
SP
29796 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29797
f0ee064b
SP
29798 * benchtests/Makefile (bench): Remove slow benchmarks.
29799 * benchtests/atan-inputs: Add slow benchmark inputs.
29800 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29801 (BENCH_FUNC): Accept variant offset.
29802 (VARIANT): Define.
29803 * benchtests/bench-skeleton.c (main): Run benchmark for each
29804 variant.
29805 * benchtests/cos-inputs: Add slow benchmark inputs.
29806 * benchtests/exp-inputs: Likewise.
29807 * benchtests/pow-inputs: Likewise.
29808 * benchtests/sin-inputs: Likewise.
29809 * benchtests/slowatan-inputs: Remove.
29810 * benchtests/slowatan.c: Remove.
29811 * benchtests/slowcos-inputs: Remove.
29812 * benchtests/slowcos.c: Remove.
29813 * benchtests/slowexp-inputs: Remove.
29814 * benchtests/slowexp.c: Remove.
29815 * benchtests/slowpow-inputs: Remove.
29816 * benchtests/slowpow.c: Remove.
29817 * benchtests/slowsin-inputs: Remove.
29818 * benchtests/slowsin.c: Remove.
29819 * benchtests/slowtan-inputs: Remove.
29820 * benchtests/slowtan.c: Remove.
29821 * benchtests/tan-inputs: Add slow benchmark inputs.
29822 * scripts/bench.pl: Parse comments and directives.
29823
d569c6ee
SP
29824 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29825 in CPPFLAGS.
29826 ($(objpfx)bench-%.c): Remove *-ITER.
29827 * benchtests/bench-modf.c: Remove definition of ITER.
29828 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29829 (main): Loop for DURATION seconds instead of fixed number of
29830 iterations.
29831 * scripts/bench.pl: Don't expect iterations in parameters.
29832
a6a242fe
RM
298332013-04-29 Roland McGrath <roland@hack.frob.com>
29834
29835 * io/fchdir.c (__fchdir): Renamed from fchdir.
29836 (fchdir): Define as weak alias.
29837
f2da7793
JM
298382013-04-29 Joseph Myers <joseph@codesourcery.com>
29839
29840 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29841 (ERRNO_EDOM): Likewise.
29842 (ERRNO_ERANGE): Likewise.
29843 (noErrnoTests): New variable.
29844 (init_max_error): Set errno to 0.
29845 (test_single_errno): New function.
29846 (test_errno): Likewise.
29847 (check_float_internal): Call test_errno. Set errno to 0.
29848 (check_complex): Refer to errno tests in comment.
29849 (check_int): Call test_errno. Set errno to 0.
29850 (check_long): Likewise.
29851 (check_bool): Likewise.
29852 (check_longlong): Likewise.
29853 (cos_test): Use ERRNO_* flags for errno tests instead of
29854 check_int.
29855 (expm1_test): Likewise.
29856 (fmod_test): Likewise.
29857 (ilogb_test): Likewise.
29858 (lgamma_test): Likewise.
29859 (pow_test): Likewise.
29860 (remainder_test): Likewise.
29861 (sin_test): Likewise.
29862 (tan_test): Likewise.
29863 (yn_test): Likewise.
29864 (initialize): Set errno to 0.
29865 (main): Print number of errno tests.
29866 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29867
b1a36ceb
AJ
298682013-04-29 Andreas Jaeger <aj@suse.de>
29869
c3ed8088
AJ
29870 [BZ #15084]
29871 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29872 and RES_USEVC.
29873
f1a24198
AJ
29874 [BZ #15085]
29875 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29876 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29877 unimplemented.
29878
9ce3b2cb
AJ
29879 [BZ #15380]
29880 * stdlib/random.c (__initstate): Return NULL if
29881 __initstate fails.
29882
f1a24198 29883 [BZ #15086]
b1a36ceb
AJ
29884 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29885 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29886 RES_SNGLKUPREOP.
29887
7e7b6f36
AZ
298882013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29889
29890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29891
4d14f449
JM
298922013-04-29 Joseph Myers <joseph@codesourcery.com>
29893
29894 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29895 of individual tests.
29896 (casin_test): Likewise.
29897 (casinh_test): Likewise.
29898
5b4217d7
JM
298992013-04-27 Joseph Myers <joseph@codesourcery.com>
29900
29901 [BZ #15409]
29902 * math/s_catan.c (__catan): Handle arguments with large real or
29903 imaginary part separately without squaring.
29904 * math/s_catanf.c (__catanf): Likewise.
29905 * math/s_catanh.c (__catanh): Likewise.
29906 * math/s_catanhf.c (__catanhf): Likewise.
29907 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29908 and redefine.
29909 (__catanhl): Handle arguments with large real or imaginary part
29910 separately without squaring.
29911 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29912 and redefine.
29913 (__catanl): Handle arguments with large real or imaginary part
29914 separately without squaring.
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
4220c3ef
AJ
299202013-04-27 Andreas Jaeger <aj@suse.de>
29921
29922 [BZ #15007]
29923 * stdlib/stdlib.h: Update guards for qecvt.
29924 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29925 <stdlib.h>.
29926
4721b2d1
AM
299272013-04-27 Allan McRae <allan@archlinux.org>
29928
29929 * sysdeps/i386/fpu/libm-test-ulps: Update.
29930
f0302940
JM
299312013-04-26 Joseph Myers <joseph@codesourcery.com>
29932
9457fd95
JM
29933 [BZ #15406]
29934 * math/s_catan.c: Include <float.h>.
29935 (__catan): Ensure underflow exception occurs for underflowed
29936 result.
29937 * math/s_catanf.c: Include <float.h>.
29938 (__catanf): Ensure underflow exception occurs for underflowed
29939 result.
29940 * math/s_catanh.c: Include <float.h>.
29941 (__catanh): Ensure underflow exception occurs for underflowed
29942 result.
29943 * math/s_catanhf.c: Include <float.h>.
29944 (__catanhf): Ensure underflow exception occurs for underflowed
29945 result.
29946 * math/s_catanhl.c: Include <float.h>.
29947 (__catanhl): Ensure underflow exception occurs for underflowed
29948 result.
29949 * math/s_catanl.c: Include <float.h>.
29950 (__catanl): Ensure underflow exception occurs for underflowed
29951 result.
29952 * math/libm-test.inc (catan_test): Add more tests.
29953 (catanh_test): Likewise.
29954
f0302940
JM
29955 [BZ #15405]
29956 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29957 underflowed result.
29958 * math/s_ccoshf.c (__ccoshf): Likewise.
29959 * math/s_ccoshl.c (__ccoshl): Likewise.
29960 * math/s_csin.c (__csin): Likewise.
29961 * math/s_csinf.c (__csinf): Likewise.
29962 * math/s_csinh.c (__csinh): Likewise.
29963 * math/s_csinhf.c (__csinhf): Likewise.
29964 * math/s_csinhl.c (__csinhl): Likewise.
29965 * math/s_csinl.c (__csinl): Likewise.
29966 * math/libm-test.inc (ccos_test): Add more tests.
29967 (ccosh_test): Likewise.
29968 (csin_test): Likewise.
29969 (csinh_test): Likewise.
29970
aa630f59
AZ
299712013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29972
29973 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29974 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29975 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29976 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29977 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29978 powerpc/power5+/fpu folders.
29979 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29980
29981
1b835983
MT
299822013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29983
29984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29985
73709b26
JM
299862013-04-25 Joseph Myers <joseph@codesourcery.com>
29987
29988 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29989 additions to variable.
29990 [$(config-machine) = x86_64] (modules-names): Likewise.
29991 ($(objpfx)tst-audit3): Remove dependency.
29992 ($(objpfx)tst-audit3.out): Likewise.
29993 ($(objpfx)tst-audit4): Likewise.
29994 ($(objpfx)tst-audit4.out): Likewise.
29995 ($(objpfx)tst-audit5): Likewise.
29996 ($(objpfx)tst-audit5.out): Likewise.
29997 ($(objpfx)tst-audit6): Likewise.
29998 ($(objpfx)tst-audit6.out): Likewise.
29999 ($(objpfx)tst-audit7): Likewise.
30000 ($(objpfx)tst-audit7.out): Likewise.
30001 (tst-audit3-ENV): Remove variable.
30002 (tst-audit4-ENV): Likewise.
30003 (tst-audit5-ENV): Likewise.
30004 (tst-audit6-ENV): Likewise.
30005 (tst-audit7-ENV): Likewise.
30006 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30007 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30008 addition to variable.
30009 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30010 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30013 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30014 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30015 tst-audit3, tst-audit4 and tst-audit5.
30016 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30017 tst-audit6 and tst-audit7.
30018 [$(subdir) = elf] (modules-names): Add audit modules for those
30019 tests.
30020 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30021 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30022 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30023 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30024 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30025 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30026 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30027 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30028 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30029 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30030 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30031 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30032 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30033 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30034 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30035 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30036 Likewise.
30037 [$(subdir) = elf && $(config-cflags-avx) = yes]
30038 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30039 [$(subdir) = elf && $(config-cflags-avx) = yes]
30040 (CFLAGS-tst-auditmod4a.c): Likewise.
30041 [$(subdir) = elf && $(config-cflags-avx) = yes]
30042 (CFLAGS-tst-auditmod4b.c): Likewise.
30043 [$(subdir) = elf && $(config-cflags-avx) = yes]
30044 (CFLAGS-tst-auditmod6b.c): Likewise.
30045 [$(subdir) = elf && $(config-cflags-avx) = yes]
30046 (CFLAGS-tst-auditmod6c.c): Likewise.
30047 [$(subdir) = elf && $(config-cflags-avx) = yes]
30048 (CFLAGS-tst-auditmod7b.c): Likewise.
30049 * elf/tst-audit3.c: Move to ...
30050 * sysdeps/x86_64/tst-audit3.c: ... here.
30051 * elf/tst-audit4.c: Move to ...
30052 * sysdeps/x86_64/tst-audit4.c: ... here.
30053 * elf/tst-audit5.c: Move to ...
30054 * sysdeps/x86_64/tst-audit5.c: ... here.
30055 * elf/tst-audit6.c: Move to ...
30056 * sysdeps/x86_64/tst-audit6.c: ... here.
30057 * elf/tst-audit7.c: Move to ...
30058 * sysdeps/x86_64/tst-audit7.c: ... here.
30059 * elf/tst-auditmod3a.c: Move to ...
30060 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30061 * elf/tst-auditmod3b.c: Move to ...
30062 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30063 * elf/tst-auditmod4a.c: Move to ...
30064 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30065 * elf/tst-auditmod4b.c: Move to ...
30066 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30067 * elf/tst-auditmod5a.c: Move to ...
30068 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30069 * elf/tst-auditmod5b.c: Move to ...
30070 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30071 * elf/tst-auditmod6a.c: Move to ...
30072 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30073 * elf/tst-auditmod6b.c: Move to ...
30074 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30075 * elf/tst-auditmod6c.c: Move to ...
30076 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30077 * elf/tst-auditmod7a.c: Move to ...
30078 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30079 * elf/tst-auditmod7b.c: Move to ...
30080 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30081
1ef74943
PP
300822013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30083
30084 [BZ #15366]
30085 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30086 define unconditionally.
30087 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30088 define unconditionally.
30089 (INT8_C, INT16_C, etc.): Likewise.
30090
93fd48c5
MR
300912013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30092
ae9552cf
MR
30093 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30094 __ehdr_start with hidden visibility.
30095
93fd48c5
MR
30096 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30097
418601aa
CD
300982013-04-24 Carlos O'Donell <carlos@redhat.com>
30099
30100 * math/libm-test.inc (cos_test): Use accurate hex constants.
30101 (sincost_test): Likewise.
30102
2f38fbfe
JM
301032013-04-24 Joseph Myers <joseph@codesourcery.com>
30104
5e221800
JM
30105 * math/libm-test.inc (catan_test): Add more tests.
30106 (catanh_test): Likewise.
30107
77f143fd
JM
30108 * math/s_catanf.c (__catanf): Use suffixed floating-point
30109 constants.
30110 * math/s_catanhf.c (__catanhf): Likewise.
30111 * math/s_catanhl.c (__catanhl): Likewise.
30112 * math/s_catanl.c (__catanl): Likewise.
30113
2f38fbfe
JM
30114 [BZ #15394]
30115 * math/s_catan.c (__catan): Calculate imaginary part of result
30116 with log1p not log unless computing log of number close to 0.
30117 * math/s_catanf.c (__catanf): Likewise.
30118 * math/s_catanl.c (__catanl): Likewise.
30119 * math/s_catanh.c (__catanh): Calculate real part of result with
30120 log1p not log unless computing log of number close to 0.
30121 * math/s_catanhf.c (__catanhf): Likewise.
30122 * math/s_catanhl.c (__catanhl): Likewise.
30123 * math/libm-test.inc (catan_test): Add more tests.
30124 (catanh_test): Likewise.
30125 * sysdeps/i386/fpu/libm-test-ulps: Update.
30126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30127
45d69176
SP
301282013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30129
30130 * benchtests/Makefile: Mention files in which fast and slow
30131 paths of math functions are implemented.
30132
87f51853
RM
301332013-04-23 Roland McGrath <roland@hack.frob.com>
30134
30135 * sysdeps/posix/timespec_get.c: New file.
30136
3c026539
AZ
301372013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30138
30139 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30140 POWER.
30141 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30142 for POWER.
30143 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30144 powerpc/power5/fpu folders.
30145 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30146 * benchtests/Makefile: Add modf testcase.
30147 * benchtests/bench-modf.c: New file: Benchmark test for mo
30148
ff491d14
SP
301492013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30150
30151 [BZ #14888]
30152 * time/Makefile (tests): Add tst-strptime-whitespace.
30153 * time/strptime_l.c (get_number): Use ISSPACE.
30154 (__strptime_internal): Likewise.
30155 * time/tst-strptime-whitespace.c: New test case.
30156
7ed3f4e8
AS
301572013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30158
30159 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30160 member.
30161 (_nss_files_init): Set it here.
30162
5c95f7b6
HC
301632013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30164
30165 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30166 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30167 unsigned.
30168
d34c9158
JBG
301692013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30170
30171 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30172
2169712d
SP
301732013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30174
30175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30176 size just once.
30177
29c5de99
DM
301782013-04-21 David S. Miller <davem@davemloft.net>
30179
30180 * po/ru.po: Update Russion translation from translation project.
30181
ccdad15d
AC
301822013-04-17 Adam Conrad <adconrad@0c3.net>
30183
30184 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30185 and setfsgid.
30186
0f122b8d
CD
301872013-04-17 Carlos O'Donell <carlos@redhat.com>
30188
5c5b07da 30189 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30190 * configure: Regenerate.
5c5b07da 30191 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30192 Add example to error message.
30193 * sysdeps/i386/configure: Regenerate.
30194
037714dd
SP
301952013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30196
30197 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30198 slowtan.
30199 * benchtests/cos-inputs: New file.
30200 * benchtests/slowcos-inputs: New file.
30201 * benchtests/slowcos.c: New file.
30202 * benchtests/slowtan-inputs: New file.
30203 * benchtests/slowtan.c: New file.
30204 * benchtests/tan-inputs: New file.
30205
e913141d
RM
302062013-04-16 Roland McGrath <roland@hack.frob.com>
30207
30208 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30209 considered kosher.
30210
a2964074
SP
302112013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30212
4856bcd2
SP
30213 * benchtests/Makefile: Include cppflags-iterator.mk to add
30214 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30215
a2964074
SP
30216 * Makefile.in (bench-clean): New target.
30217 * benchtests/Makefile (bench-clean): Likewise.
30218
9fbf9aca
DH
302192013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30220
30221 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30222
207d1e2a
TS
302232013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30224
30225 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30226
306dfba9
AS
302272013-04-15 Andreas Schwab <schwab@suse.de>
30228
30229 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30231 * nscd/pwdcache.c (cache_addpw): Likewise.
30232 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30233 more than recsize.
30234
206a6699
SP
302352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30236
30237 * benchtests/Makefile (bench): Write all output to
30238 bench-out.tmp together.
30239
0582f6b3
AS
302402013-04-15 Andreas Schwab <schwab@suse.de>
30241
30242 * nscd/nscd.c (main): Don't fork again after closing files.
30243
acb4325f
SP
302442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30245
5cb26d0a
SP
30246 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30247
acb4325f
SP
30248 * benchtests/Rules (bench-deps): Collect dependencies into a
30249 single variable. Add Makefile to dependencies.
30250 ($(objpfx)bench-%.c): Depend on bench-deps.
30251
47792506
RM
302522013-04-12 Roland McGrath <roland@hack.frob.com>
30253 Xavier Roche <roche+kml2@exalead.com>
30254
30255 [BZ #15361]
30256 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30257 just that it's a file descriptor.
30258 * manual/llio.texi (Synchronizing AIO Operations): Update description
30259 for EBADF error from aio_fsync.
30260
8fc1bee5
SP
302612013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30262
30263 * Rules (bench): Move target definition...
30264 * benchtests/Makefile: ... here.
30265
aba5e333
CD
302662013-04-11 Carlos O'Donell <carlos@redhat.com>
30267
30268 * math/libm-test.inc (cos_test): Fix PI/2 test.
30269 (sincos_test): Likewise.
30270 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30271 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30272
273cdee8
AS
302732013-04-11 Andreas Schwab <schwab@suse.de>
30274
6ecec3b6
AS
30275 [BZ #13988]
30276 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30277 accept exponent character only when digits were seen.
30278 * stdio-common/Makefile (tests): Add bug26.
30279 * stdio-common/bug26.c: New file.
30280
273cdee8
AS
30281 [BZ #14293]
30282 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30283 non-freeable.
30284
8da491f5
SP
302852013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30286
01dc6df9
SP
30287 * Makeconfig (rtld-prefix): Define built linker prefix.
30288 * Rules (run-bench): Use it.
30289 * math/Makefile (run-regen-ulps): Likewise.
30290
8da491f5
SP
30291 * Rules (bench): Remove eval.
30292
abe7f530
SP
302932013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30294 Roland McGrath <roland@hack.frob.com>
30295 Ondrej Bilka <neleai@seznam.cz>
30296
30297 [BZ #15346]
30298 * time/getdate.c: Include ctype.h and alloca.h.
30299 (__getdate_r): Trim leading and trailing spaces of input.
30300 * time/tst-getdate.c (tests): Add tests with leading and
30301 trailing spaces.
30302
61c23e62
RM
303032013-04-08 Roland McGrath <roland@hack.frob.com>
30304
30305 [BZ #14280]
30306 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30307 when computing value.
30308
7208a313
CD
303092013-04-06 Carlos O'Donell <carlos@redhat.com>
30310
085b2d41
CD
30311 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30312 Use testrun.sh to run libm tests.
30313
7208a313
CD
30314 [BZ #15309]
30315 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30316
872c0acd
MM
303172013-04-06 Marko Myllynen <myllynen@redhat.com>
30318
30319 [BZ #15264]
30320 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30321
26510bdd
CD
303222013-04-06 Carlos O'Donell <carlos@redhat.com>
30323
30324 * Makefile.in (regen-ulps): New target.
30325 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30326 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30327 [ifneq (no,$(PERL)] (regen-ulps): New target.
30328 [ifeq (no,$(PERL)] (regen-ulps): New target.
30329 * math/libm-test.inc (ulps_file_name): Define.
30330 (output_dir): New variable.
30331 (options): Add "output-dir" option.
30332 (parse_opt): Handle 'o' case.
30333 (main): If output_dir is non-NULL use it as a prefix
30334 otherwise use "".
30335 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30336
a01f19c8
CD
303372013-04-06 Carlos O'Donell <carlos@redhat.com>
30338
30339 [BZ #10060, #10062]
30340 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30341 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30342 fail configure if __sync_val_compare_and_swap is not inlined.
30343 * sysdeps/i386/configure: Regenerate.
30344 * configure.in: Build for i686 when configured for i386.
30345 * configure: Regenerate.
30346 * README: Remove i386 reference.
30347
b7a329a5
CD
303482013-04-06 Carlos O'Donell <carlos@redhat.com>
30349
30350 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30352
bf0f50df
TS
303532013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30354
ee091edf
TS
30355 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30356 (lmsnanval): New variables.
30357 (F): Add conversion tests.
30358 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30359 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30360
a8b792d6
TS
30361 * stdio-common/tstdiomisc.c (F): Properly collect individual
30362 tests' results.
30363
a1cbf437
TS
30364 [BZ #14686, #15336]
30365 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30366 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30367 Instead, use input NaN values or generate a qNaN by arithmetic
30368 operation. Also fix bugs to comply with the standard.
30369 * math/libm-test.inc (remainder_test): Add more tests.
30370
8b43a0c9
TS
30371 [BZ #15335, #15342]
30372 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30374 input NaN values or generate a qNaN by arithmetic operation.
30375
d91da4ce
TS
30376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30377 unreachable code.
30378
bf0f50df
TS
30379 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30380 definitions.
30381
05e166c8
JM
303822013-04-03 Joseph Myers <joseph@codesourcery.com>
30383
30384 [BZ #14478]
30385 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30386 underflowed result.
30387 * math/s_cexpf.c (__cexpf): Likewise.
30388 * math/s_cexpl.c (__cexpl): Likewise.
30389 * math/libm-test.inc (cexp_test): Add more tests.
30390
1cef1b19
AS
303912013-04-03 Andreas Schwab <schwab@suse.de>
30392
30393 [BZ #15330]
30394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30395 order arrays from heap if bigger than alloca cutoff.
30396
74d87055
TS
303972013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30398
30399 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30400 (SNAN_TESTS_double): Refer to GCC PR56831.
30401 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30402 GCC PR56828.
30403
d755bba4
SP
304042013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30405
90d5d5bb
SP
30406 * Rules (bench): Move bench.out after the run is complete.
30407
73e0cd5d
SP
30408 * Rules (bench): Echo currently running benchmark.
30409
64aabd4b
SP
30410 * benchtests/Makefile (bench): Add atan and slowatan.
30411 * benchtests/atan-inputs: New file.
30412 * benchtests/slowatan-inputs: New file.
30413 * benchtests/slowatan.c: New file.
30414
c871eccd
SP
30415 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30417 its value.
30418
d755bba4
SP
30419 [BZ #15305]
30420 * sysdeps/unix/sysv/linux/kernel-features.h
30421 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30422 __ASSUME_XFS_RESTRICTED_CHOWN.
30423 * sysdeps/unix/sysv/linux/pathconf.c
30424 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30425 Save and restore errno.
30426
52ce4860
JM
304272013-04-02 Joseph Myers <joseph@codesourcery.com>
30428
30429 [BZ #15327]
30430 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30431 arguments using __kernel_casinh.
30432 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30433 arguments using __kernel_casinhf.
30434 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30435 arguments using __kernel_casinhl.
30436 * math/libm-test.inc (cacosh_test): Add more tests.
30437 * sysdeps/i386/fpu/libm-test-ulps: Update.
30438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30439
81f311c2
SP
304402013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30441
e7906a47
SP
30442 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30444
92e3664b
SP
30445 * bench/Makefile (bench): Add sin and slowsin.
30446 * benchtests/sin-inputs: New file.
30447 * benchtests/slowsin-inputs: New file.
30448 * benchtests/slowsin.c: New file.
30449
81f311c2
SP
30450 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30451 (bench): Add slowexp and slowpow.
30452 (exp-ITER): Increase iterations.
30453 (pow-ITER): Likewise.
30454 * benchtests/exp-inputs: Change input.
30455 * benchtests/pow-inputs: Likewise.
30456 * benchtests/slowexp-inputs: New file.
30457 * benchtests/slowexp.c: New file.
30458 * benchtests/slowpow-inputs: New file.
30459 * benchtests/slowpow.c: New file.
30460
ab0f1aa9
AZ
304612013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30462
30463 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30464 instructions.
30465 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30466 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30467 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30468 * benchtests/Makefile: Add rint benchtest.
30469 * benchtests/rint-inputs: Input for rint benchtest.
30470
57267616
TS
304712013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30472
30473 * Versions.def (libm): Add GLIBC_2.18.
30474 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30475 hidden libm prototypes.
30476 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30477 * math/Makefile (libm-calls): Add s_issignaling.
30478 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30479 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30480 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30481 declaration.
30482 * math/math.h [__USE_GNU] (issignaling): New macro.
30483 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30484 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30485 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30486 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30489 * manual/arith.texi (issignaling): New section.
30490 * manual/libm-err-tab.pl (@all_functions): Update comment.
30491 * math/gen-libm-test.pl (parse_args): Apply special handling for
30492 issignaling.
30493 * math/libm-test.inc (print_float, issignaling_test): New
30494 functions.
30495 (check_float_internal): Add issignaling checks.
30496 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30497 default definition.
30498 * sysdeps/powerpc/math-tests.h: New file.
30499 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30500 tests.
30501 * math/test-snan.c (TEST_FUNC): Likewise.
30502
6142896d
DM
305032013-03-30 David S. Miller <davem@davemloft.net>
30504
30505 * po/de.po: Update from translation team.
30506
ccc8cadf
JM
305072013-03-30 Joseph Myers <joseph@codesourcery.com>
30508
30509 [BZ #10357]
30510 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30511 imaginary part less than 1.0 and real part less than 0.5
30512 specially.
30513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30515 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30516 (cacos_test): Add more tests.
30517 (casin_test): Likewise.
30518 (casinh_test): Likewise.
30519 * sysdeps/i386/fpu/libm-test-ulps: Update.
30520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30521
0f6a8d4b
SP
305222013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30523
0d1029de
SP
30524 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30525 ONE with its value.
30526
c2d94018
SP
30527 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30528 (__pow_mp): Replace ONE and MONE with their values.
30529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30530 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30531 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30532 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30533 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30534 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30535
27ec37f1
SP
30536 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30537
a64d7e0e
SP
30538 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30539 (__pow_mp): Replace ZERO and MZERO with their values.
30540 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30542 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30544 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30545 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30546 (__sqr): Likewise.
30547
d26dd3eb
SP
30548 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30549
0f6a8d4b
SP
30550 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30551
e57b0c61
RM
305522013-03-28 Roland McGrath <roland@hack.frob.com>
30553
30554 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30555 Declare with __attribute__ ((weak)).
30556 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30557 Call __call_tls_dtors only if it's not NULL.
30558
356b3480
RM
305592013-03-28 Roland McGrath <roland@hack.frob.com>
30560
288f7d79
RM
30561 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30562 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30563 magic __ehdr_start linker symbol if it's defined.
30564 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30565 them up here if it was already done.
30566
dc0a0263
RM
30567 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30568 (_dl_aux_init): Use const in cast when setting it.
30569 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30570 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30571 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30572
3d3436ae
RM
30573 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30574 Declare them here.
30575 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30576 * csu/libc-tls.c: Nor here.
30577 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30578
356b3480
RM
30579 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30580 (__libc_message): Never call vsyslog.
30581
b0f1246a
AM
305822013-03-28 Alan Modra <amodra@gmail.com>
30583
30584 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30585 Define as empty.
30586 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30587 Likewise.
30588
fbbe2b9a
AZ
305892013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30590
30591 [BZ #15214]
30592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30593 underflow.
30594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30595
1728ab37
SP
305962013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30597
7a86be6e
SP
30598 [BZ #15304]
30599 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30600 Don't add gid passed as argument.
30601
1728ab37
SP
30602 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30603
3a7182a1
JM
306042013-03-27 Joseph Myers <joseph@codesourcery.com>
30605
30606 [BZ #15307]
30607 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30608 imaginary part between 1.0 and 1.5 and real part less than 0.5
30609 specially.
30610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30612 * math/libm-test.inc (cacos_test): Add more tests.
30613 (casin_test): Likewise.
30614 (casinh_test): Likewise.
30615 * sysdeps/i386/fpu/libm-test-ulps: Update.
30616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30617
6f2e90e7
SP
306182013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30619
5739f705
SP
30620 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30621 constants.
30622 (norm): Likewise.
30623 (denorm): Likewise.
30624 (__dbl_mp): Likewise.
30625 (add_magnitudes): Likewise.
30626 (sub_magnitudes): Likewise.
30627 (__add): Likewise.
30628 (__sub): Likewise.
30629 (__mul): Likewise.
30630 (__sqr): Likewise.
30631 (__inv): Likewise.
30632 (__dvd): Likewise.
30633
e375e83d
SP
30634 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30635 commented code.
30636 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30637 (__dubcos): Likewise.
30638 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30639 (__ieee754_acos): Likewise.
30640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30641 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30642 (__exp1): Likewise.
30643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30645 (log1): Likewise.
30646 (my_log2): Likewise.
30647 (checkint): Likewise.
30648 * sysdeps/ieee754/dbl-64/e_remainder.c
30649 (__ieee754_remainder): Likewise.
30650 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30652 (bsloww): Likewise.
30653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30654
6f2e90e7
SP
30655 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30657 MANTISSA_STORE_T to store computations on mantissa. Use
30658 macros for rounding and division.
30659 (denorm): Likewise.
30660 (__dbl_mp): Likewise.
30661 (add_magnitudes): Likewise.
30662 (sub_magnitudes): Likewise.
30663 (__mul): Likewise.
30664 (__sqr): Likewise.
30665 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30666 powers of two in terms of TWOPOW macro.
30667 (mp_no): Make type of mantissa as MANTISSA_T.
30668 [!RADIXI]: Define RADIXI.
30669 [!TWO52]: Define TWO52.
30670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30671
fce14d4e
AZ
306722013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30673
30674 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30675 llroundl symbol when building for PPC32.
30676
9ad027fb
MW
306772013-03-24 Mark H Weaver <mhw@netris.org>
30678
30679 * manual/arith.texi (Normalization Functions): Fix prototypes for
30680 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30681
e42a38dd
AZ
306822013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30683
30684 [BZ #13889]
30685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30686 high value to check if expl overflow.
30687 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30688 to check for underflow and overflow.
30689 * math/libm-test.inc: Add exp test.
30690
2e0fb521
DL
306912013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30692
30693 [BZ #11120]
30694 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30695 with NOT_IN_libc.
30696
b5784d95
AZ
306972013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30698
30699 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30700 symbol.
30701
5aa4a1a1
TS
307022013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30703
bdef0be7
TS
30704 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30705 wrap blocks consisting of several statements.
30706
5aa4a1a1
TS
30707 * sysdeps/generic/math-tests.h: New file.
30708 * sysdeps/i386/fpu/math-tests.h: Likewise.
30709 * math/test-snan.c: Include it.
30710 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30711
98c48fe5
JM
307122013-03-21 Joseph Myers <joseph@codesourcery.com>
30713
30714 [BZ #15285]
30715 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30716 (__ieee754_j0l): Do not improve calculations using cos of twice
30717 input for inputs above LDBL_MAX / 2.0L.
30718 (__ieee754_y0l): Likewise.
30719 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30720 (__ieee754_j1l): Do not improve calculations using cos of twice
30721 input for inputs above LDBL_MAX / 2.0L.
30722 (__ieee754_y1l): Likewise.
30723 * math/libm-test.inc (j0_test): Add another test.
30724 (j1_test): Likewise.
30725 (y0_test): Likewise.
30726 (y1_test): Likewise.
30727 * sysdeps/i386/fpu/libm-test-ulps: Update.
30728
3775a8bc
SP
307292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30730
30731 * Rules ($(objpfx)bench-%.c): Include code from a C source
30732 file.
30733
0a1b2ae6
JM
307342013-03-21 Joseph Myers <joseph@codesourcery.com>
30735
30736 [BZ #15287]
30737 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30738 imaginary part 1.0 and real part less than 0.5 specially.
30739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30741 * math/libm-test.inc (cacos_test): Add more tests.
30742 (casin_test): Likewise.
30743 (casinh_test): Likewise.
30744 * sysdeps/i386/fpu/libm-test-ulps: Update.
30745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30746
b33d4ce4
SP
307472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30748
30749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30750 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30751
bef0b507
JM
307522013-03-20 Joseph Myers <joseph@codesourcery.com>
30753
30754 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30755 * config.make.in (config-cflags-sse4): Remove variable.
30756 (config-cflags-avx): Likewise.
30757 (config-cflags-sse2avx): Likewise.
30758 (config-cflags-novzeroupper): Likewise.
30759 (config-asflags-i686): Likewise.
30760 (have-mfma4): Likewise.
30761 (have-as-vis3): Likewise.
30762 (MIG): Likewise.
30763 * configure.in (MIG): Do not AC_SUBST.
30764 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30765 (libc_cv_cc_sse4): Do not AC_SUBST.
30766 (libc_cv_cc_avx): Likewise.
30767 (libc_cv_cc_sse2avx): Likewise.
30768 (libc_cv_cc_novzeroupper): Likewise.
30769 (libc_cv_cc_fma4): Likewise.
30770 (libc_cv_as_i686): Likewise.
30771 (libc_cv_sparc_as_vis3): Likewise.
30772 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30773 LIBC_CONFIG_VAR.
30774 (config-asflags-i686): Likewise.
30775 (config-cflags-avx): Likewise.
30776 (config-cflags-sse2avx): Likewise.
30777 (have-mfma4): Likewise.
30778 (config-cflags-novzeroupper): Likewise.
30779 * sysdeps/mach/configure.in (MIG): Likewise.
30780 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30781 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30782 LIBC_CONFIG_VAR.
30783 (config-cflags-avx): Likewise.
30784 (config-cflags-sse2avx): Likewise.
30785 (have-mfma4): Likewise.
30786 (config-cflags-novzeroupper): Likewise.
30787 * configure: Regenerated.
30788 * sysdeps/i386/configure: Likewise.
30789 * sysdeps/mach/configure: Likewise.
30790 * sysdeps/sparc/configure: Likewise.
30791 * sysdeps/x86_64/configure: Likewise.
30792
912cc4b3
RM
307932013-03-20 Roland McGrath <roland@hack.frob.com>
30794
30795 [BZ #14812]
30796 * locale/programs/localedef.c (options): Put N_ translation marker
30797 on argument names, not just descriptions.
30798
04eed2b0
MS
307992013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30800
30801 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30802
a065ceff
OB
308032013-03-20 Ondřej Bílka <neleai@seznam.cz>
30804
9bb2a810 30805 [BZ #14176]
a065ceff
OB
30806 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30807
a600e5ce
RM
308082013-03-19 Roland McGrath <roland@hack.frob.com>
30809
30810 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30811 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30812 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30813 [!BEFORE_ABORT] (before_abort): New function.
30814 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30815 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30816 (writev_for_fatal): New function.
30817 (WRITEV_FOR_FATAL): New macro; call that.
30818 (backtrace_and_maps): New function.
30819 (BEFORE_ABORT): New macro; call that.
30820 (struct str_list): Type removed.
30821 (__libc_message, __libc_fatal): Functions removed.
30822 Include <sysdeps/posix/libc_fatal.c> instead.
30823
6b18bea6
JM
308242013-03-19 Joseph Myers <joseph@codesourcery.com>
30825
30826 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30827 constants.
30828 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30829 double constants.
30830
aaa8cb4b
AS
308312013-03-19 Andreas Schwab <schwab@suse.de>
30832
44673770
AS
30833 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30834 * sysdeps/gnu/configure: Regenerate.
30835
aaa8cb4b
AS
30836 * configure.in: Substitute libc_cv_rtlddir.
30837 * configure: Regenerate.
30838 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30839 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30840 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30841 * elf/Makefile (install-others, CFLAGS-interp.c)
30842 (ldso_install, common-ldd-rewrite): Likewise.
30843 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30844 $(inst_slibdir)/$(rtld-installed-name).
30845 * scripts/rellns-sh: Add -p option.
30846 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30847 for source.
30848
d3cfc668
SP
308492013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30850
30851 * manual/nptl.texi: Renamed to ...
30852 * manual/threads.texi: ... this.
30853 * manual/Makefile (chapters): Update.
30854
0e2b9cdd
RM
308552013-03-18 Roland McGrath <roland@hack.frob.com>
30856
30857 [BZ #14812]
30858 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30859 on argument names, not just descriptions.
0e2b9cdd
RM
30860 * malloc/memusagestat.c (options): Likewise.
30861 * nss/getent.c (options): Likewise.
63270c24
RM
30862
308632013-03-18 Benno Schulenberg <bensberg@justemail.net>
30864
30865 [BZ #14812]
30866 * iconv/iconv_prog.c (options): Put N_ translation marker
30867 on argument names, not just descriptions.
30868 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30869
b2e1393c
OB
308702013-03-18 Ondrej Bilka <neleai@seznam.cz>
30871
30872 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30873 implementation which is faster on all x86_64 architectures.
30874 Tested on AMD, Intel Nehalem, SNB, IVB.
30875 * sysdeps/x86_64/strnlen.S: Likewise.
30876
30877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30878 Remove all multiarch strlen and strnlen versions.
30879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30880 Remove strlen and strnlen related parts.
30881
30882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30883 Inline strlen part.
30884 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30885
30886 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30887 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30888 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30889 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30890 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30891 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30892
ec4ff04d
CD
308932013-03-17 Carlos O'Donell <carlos@redhat.com>
30894
30895 * manual/memory.texi (Malloc Tunable Parameters):
30896 Sort parameters alphabetically. Add comments for missing entries.
30897
cd18e90a
DM
308982013-03-17 David S. Miller <davem@davemloft.net>
30899
30900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30901
2a185d32
JM
309022013-03-16 Joseph Myers <joseph@codesourcery.com>
30903
d2f9799e
JM
30904 [BZ #15283]
30905 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30906 for arguments at most half maximum finite value.
30907 * math/libm-test.inc (j0_test): Add more tests.
30908 (j1_test): Likewise.
30909 (y0_test): Likewise.
30910 (y1_test): Likewise.
30911 * sysdeps/i386/fpu/libm-test-ulps: Update.
30912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30913
2a185d32
JM
30914 [BZ #14155]
30915 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30916 1 / x and functions P and Q for arguments above 0x1p256L.
30917 (__ieee754_y0l): Likewise.
30918 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30919 (__ieee754_y1l): Likewise.
30920 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30921 (j1_test): Likewise.
30922 (y0_test): Likewise.
30923 (y1_test): Likewise.
30924
6cbec759
TS
309252013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30926
30927 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30928 variable.
30929
bc16e260
RM
309302013-03-15 Roland McGrath <roland@hack.frob.com>
30931
aefc9b8c
RM
30932 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30933 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30934 zero since it's initialized to EXEC_PAGESIZE.
30935
bc16e260
RM
30936 * sysdeps/unix/sysv/linux/ldsodefs.h
30937 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30938 * sysdeps/generic/ldsodefs.h: ... here.
30939
a57da955
TS
309402013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30941
af00a34d
TS
30942 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30943
495ded2c
TS
30944 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30945 math/test-snan.c.
30946 * math/test-snan.c: Renamed from
30947 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30948 * math/Makefile (tests): Add test-snan.
30949 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30950 test-powerpc-snan.
30951
777b0332
TS
30952 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30953 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30954 functions.
30955 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30956 __builtin_nan family of functions.
30957 * math/libm-test.inc (initialize): Initialize qnan_value with
30958 __builtin_nan family of functions.
30959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30960 Remove variables.
30961 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30962 Remove functions.
30963 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30964 storage class. Initialize qNaN_var and sNaN_var with
30965 __builtin_nan and __builtin_nans families of functions,
30966 respectively.
30967
64d063b8
TS
30968 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30969 (sqrt_test): Remove duplicate test with qNaN input.
30970 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30971 (round_test, signbit_test, significand_test): Note missing +/-Inf
30972 as well as qNaN tests.
30973
67e971f1
TS
30974 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30975 qNaN_var. Fix a few strings, too.
30976 * math/libm-test.inc (nan_value): Rename to qnan_value.
30977 * math/gen-libm-test.pl (%beautify): Adjust to that.
30978 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30979 * math/test-misc.c (main): Likewise.
30980 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30981 to __qnan_bytes, and __qnan_union, respectively.
30982 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30983 Likewise.
30984 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30985 and lqnanval, respectively.
30986 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30987 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30988 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30989 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30990
64487e12
TS
30991 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30992 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30993 doubles.
30994
e015e27b
TS
30995 * math/test-misc.c (main): Fix copy'n'pastos.
30996 * misc/tst-efgcvt.c (special): Likewise.
30997
a57da955
TS
30998 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30999 Remove declarations.
31000
1e380345
SP
310012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31002
31003 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31004 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31005 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31006 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31007
ef26eece
AZ
310082013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31009
31010 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31011 macro to return vdso values correctly in IFUNC implementations.
31012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31013 Optimization by using IFUNC.
31014
8cfdb7e0
SP
310152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31016 Richard Henderson <rth@redhat.com>
31017 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31018
31019 * Makefile.in (bench): New target.
31020 * NEWS: Mention the benchmark framework.
31021 * Rules (bench): Likewise.
31022 (binaries-bench): Generate binaries for functions to
31023 benchmark.
31024 * benchtests/Makefile: New makefile for benchmark tests.
31025 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31026 programs.
31027 * benchtests/exp-inputs: New input file for EXP function.
31028 * benchtests/pow-inputs: New input file for POW function.
31029 * scripts/bench.pl: New script to generate source files for
31030 benchmark programs.
31031
bcda9880
SP
310322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31033
d22ca8cd
SP
31034 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31035 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31036 computations on mantissa. Use macros for rounding and
31037 division.
31038 (denorm): Likewise.
31039 (__dbl_mp): Likewise.
31040 (add_magnitudes): Likewise.
31041 (sub_magnitudes): Likewise.
31042 (__mul): Likewise.
31043 (__sqr): Likewise.
31044 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31045 powers of two in terms of TWOPOW macro.
31046 (mp_no): Make type of mantissa as MANTISSA_T.
31047 [!RADIXI]: Define RADIXI.
31048 [!TWO52]: Define TWO52.
31049 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31050
bcda9880
SP
31051 * manual/nptl.texi (cindex): Modify threads to pthreads.
31052
06d5adfb
JM
310532013-03-15 Joseph Myers <joseph@codesourcery.com>
31054
31055 * sysdeps/x86_64/preconfigure: Regenerated.
31056
41c7328e
JM
310572013-03-14 Joseph Myers <joseph@codesourcery.com>
31058
31059 [BZ #14155]
31060 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31061 0x1p28 and above.
31062 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31063 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31064 0x1p28 and above.
31065 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31066 * math/libm-test.inc (j0_test): Do not allow one spurious
31067 underflow exception.
31068 (y1_test): Likewise.
31069
e25cfa60
SP
310702013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31071
0409959c
SP
31072 * manual/Makefile (chapters): Add nptl.
31073 * manual/debug.texi (Debugging Support): Add link to Threads
31074 chapter.
31075 * manual/nptl.texi: New file.
31076
e25cfa60
SP
31077 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31078
58a1335e
PB
310792013-03-14 Petr Baudis <pasky@ucw.cz>
31080
31081 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31082 for non-NULL pointer before the memory validity test. Pointed
31083 out by Holger Brunck <holger.brunck@keymile.com>.
31084
9dc7c64f
AS
310852013-03-13 Andreas Schwab <schwab@suse.de>
31086
31087 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31088 instead of .os.
31089
54206aa6
JM
310902013-03-13 Joseph Myers <joseph@codesourcery.com>
31091
31092 * timezone/zic.c: Update from tzcode 2013b.
31093
e98cdb38
CD
310942013-03-12 Carlos O'Donell <carlos@redhat.com>
31095
31096 * manual/install.texi (Configuring and compiling):
31097 Mention i686 and i586.
31098 * INSTALL: Regenerate.
31099
9967e003
RM
311002013-03-12 Roland McGrath <roland@hack.frob.com>
31101
31102 * sysdeps/init_array/elf-init.c: New file.
31103 * csu/elf-init.c
31104 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31105 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31106
31107 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31108 __gmon_start__ as global, but as static with a .preinit_array pointer.
31109 * sysdeps/init_array/gmon-start.c: New file. Use that.
31110 * sysdeps/init_array/crti.S: New file, empty except for comments.
31111 * sysdeps/init_array/crtn.S: Likewise.
31112
e6b5a293 311132013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31114
31115 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31116 definining bcopy.
80f844c9
OB
31117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31118 Remove Prefer_SSE_for_memop.
31119 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31120 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31121 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31123 memset-x86-64.
80f844c9 31124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31125 Remove bzero, memset ifunc support.
80f844c9
OB
31126 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31127 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31128 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31129 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31130
fb6b0fcb
AS
311312013-03-11 Andreas Schwab <schwab@suse.de>
31132
31133 [BZ #15234]
31134 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31135 by SHLIB_COMPAT.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31137 (GLIBC_2.16): Remove pthread_atfork.
31138
3e6bd4b1
PP
311392013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31140
31141 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31142 (ptestcases.h): Likewise.
31143
222d7f00
RM
311442013-03-08 Roland McGrath <roland@hack.frob.com>
31145
31146 * Makeconfig ($(common-objpfx)config.status): Depend on
31147 sysdeps/*/preconfigure{,.in} too.
31148
1ba4f030
JM
311492013-03-08 Joseph Myers <joseph@codesourcery.com>
31150
a222d91a
JM
31151 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31152 (__free_hook): Use void * instead of __malloc_ptr_t.
31153 (__malloc_hook): Likewise.
31154 (__realloc_hook): Likewise.
31155 (__memalign_hook): Likewise.
31156 (__after_morecore_hook): Likewise.
31157 * malloc/arena.c (save_malloc_hook): Likewise.
31158 (save_free_hook): Likewise.
31159 * malloc/hooks.c (malloc_hook_ini): Likewise.
31160 (realloc_hook_ini): Likewise.
31161 (memalign_hook_ini): Likewise.
31162 * malloc/malloc.c (malloc_hook_ini): Likewise.
31163 (realloc_hook_ini): Likewise.
31164 (memalign_hook_ini): Likewise.
31165 (__free_hook): Likewise.
31166 (__malloc_hook): Likewise.
31167 (__realloc_hook): Likewise.
31168 (__memalign_hook): Likewise.
31169 (__libc_malloc): Likewise.
31170 (__libc_free): Likewise.
31171 (__libc_realloc): Likewise.
31172 (__libc_memalign): Likewise.
31173 (__libc_valloc): Likewise.
31174 (__libc_pvalloc): Likewise.
31175 (__libc_calloc): Likewise.
31176 (__posix_memalign): Likewise.
31177 * malloc/morecore.c (__sbrk): Likewise.
31178 (__default_morecore): Likewise.
31179
5cc45e10
JM
31180 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31181
dd54b864
JM
31182 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31183 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31184 __malloc_ptrdiff_t.
31185
1ba4f030
JM
31186 * malloc/malloc.h (__malloc_size_t): Remove macro.
31187 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31188 __malloc_size_t.
31189 (old_memalign_hook): Likewise.
31190 (old_realloc_hook): Likewise.
31191 (struct hdr): Likewise.
31192 (flood): Likewise.
31193 (mallochook): Likewise.
31194 (memalignhook): Likewise.
31195 (reallochook): Likewise.
31196 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31197 (tr_old_realloc_hook): Likewise.
31198 (tr_old_memalign_hook): Likewise.
31199 (tr_mallochook): Likewise.
31200 (tr_reallochook): Likewise.
31201 (tr_memalignhook): Likewise.
31202
edf66e57
AZ
312032013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31204
31205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31206 default_ldbl_pack and using as default implementation.
31207 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31208 implementation.
31209 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31210 redundant definition.
31211 (ldbl_insert_mantissa): Likewise.
31212 (ldbl_canonicalize): Likewise.
31213 (ldbl_nearbyint): Likewise.
31214 (ldbl_pack): Rename to ldbl_pack_ppc.
31215 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31216 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31217 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31218
6d9145d8
SP
312192013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31220
31221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31222 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31224 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31227 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31228 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31229
4dd4e157
AJ
312302013-03-07 Andreas Jaeger <aj@suse.de>
31231
31232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31233 bits/mman-linux.h.
31234
adbb8027
SP
312352013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31236
ce544b5b
SP
31237 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31238 Include mpa.h and declare __MPEXP.
31239 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31240 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31241 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31243 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31244 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31245 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31246
4cc149fd
SP
31247 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31248 (__slowpow): Use long double EXPL and LOGL functions to
31249 compute POW.
31250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31251 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31252 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31253 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31254 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31256
e6ebd4a7
SP
31257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31258 intermediate variable to calculate exponent.
31259 (__sqr): Likewise.
31260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31261 Likewise.
31262 (__sqr): Likewise.
31263
82a9811d
SP
31264 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31265 [!NO__SQR]: Define __sqr.
31266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31267 and NO__SQR. Remove all code except __mul and __sqr. Include
31268 sysdeps/ieee754/dbl-64/mpa.c.
31269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31270
adbb8027
SP
31271 [BZ #12723]
31272 * posix/Makefile (tests): Add tst-pathconf.
31273 * posix/tst-pathconf.c: New test case.
31274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31275 _PC_PIPE_BUF.
31276 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31277
39120df9
PF
312782013-03-06 Patsy Franklin <pfrankli@redhat.com>
31279
31280 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31281
67525cb8
AJ
312822013-03-06 Andreas Jaeger <aj@suse.de>
31283
664a9ce4
AJ
31284 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31285 definition via __MAP_ANONYMOUS.
31286
8e39047d
AJ
31287 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31288 it's not part of Linux headers.
31289
67525cb8
AJ
31290 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31291 (MAP_HUGE_MASK): Define.
31292
31293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31294 Define.
31295 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31297 Define.
31298 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31299 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31300 Define.
31301 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31303 Define.
31304 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31305
31306 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31307 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31308 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31309 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31310 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31311 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31312
31313 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31314 Handle f2fs.
31315
31316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31317 Handle f2fs and efivarfs.
31318
31319 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31320 f2fs.
31321
31322 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31323 (EFIVARFS_MAGIC): Add.
31324 (F2FS_LINK_MAX): Add.
31325
e1b42695
PP
313262013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31327
31328 * stdio-common/vfprintf.c: Replace __builtin_expect with
31329 __glibc_unlikely.
31330
2d67d91a
JM
313312013-03-06 Joseph Myers <joseph@codesourcery.com>
31332
31333 [BZ #13550]
31334 * sysdeps/generic/bp-sym.h: Remove file.
31335 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31336 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31337 <bp-sym.h> and <bp-asm.h>.
31338 (__longjmp): Don't use BP_SYM.
31339 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31340 and <bp-asm.h>.
31341 (memcpy): Don't use BP_SYM.
31342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31343 <bp-sym.h> and <bp-asm.h>.
31344 (memcpy): Don't use BP_SYM.
31345 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31346 <bp-asm.h>.
31347 (memcpy): Don't use BP_SYM.
31348 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31349 <bp-asm.h>.
31350 (memset): Don't use BP_SYM.
31351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31353 (__bzero): Don't use BP_SYM.
31354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31357 <bp-sym.h> and <bp-asm.h>.
31358 (memcmp): Don't use BP_SYM. Remove comment about bounded
31359 pointers.
31360 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31361 <bp-sym.h> and <bp-asm.h>.
31362 (memcpy): Don't use BP_SYM.
31363 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31364 <bp-sym.h> and <bp-asm.h>.
31365 (memset): Don't use BP_SYM.
31366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31368 (__bzero): Don't use BP_SYM.
31369 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31370 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31372 <bp-sym.h> and <bp-asm.h>.
31373 (strncmp): Don't use BP_SYM. Remove comment about bounded
31374 pointers.
31375 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31376 <bp-sym.h> and <bp-asm.h>.
31377 (memcpy): Don't use BP_SYM.
31378 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31379 <bp-sym.h> and <bp-asm.h>.
31380 (memset): Don't use BP_SYM.
31381 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31382 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31383 (__bzero): Don't use BP_SYM.
31384 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31385 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31387 <bp-sym.h> and <bp-asm.h>.
31388 (__memchr): Don't use BP_SYM.
31389 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31390 <bp-sym.h> and <bp-asm.h>.
31391 (memcmp): Don't use BP_SYM. Remove comment about bounded
31392 pointers.
31393 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31394 <bp-sym.h> and <bp-asm.h>.
31395 (memcpy): Don't use BP_SYM.
31396 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31397 <bp-sym.h> and <bp-asm.h>.
31398 (__mempcpy): Don't use BP_SYM.
31399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31400 <bp-sym.h> and <bp-asm.h>.
31401 (__memrchr): Don't use BP_SYM.
31402 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31403 <bp-sym.h> and <bp-asm.h>.
31404 (memset): Don't use BP_SYM.
31405 (__bzero): Likewise.
31406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31407 <bp-sym.h> and <bp-asm.h>.
31408 (__rawmemchr): Don't use BP_SYM.
31409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31410 <bp-sym.h> and <bp-asm.h>.
31411 (__STRCMP): Don't use BP_SYM.
31412 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31413 <bp-sym.h> and <bp-asm.h>.
31414 (strchr): Don't use BP_SYM.
31415 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31416 <bp-sym.h> and <bp-asm.h>.
31417 (__strchrnul): Don't use BP_SYM.
31418 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31419 <bp-sym.h> and <bp-asm.h>.
31420 (strlen): Don't use BP_SYM.
31421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31422 <bp-sym.h> and <bp-asm.h>.
31423 (strncmp): Don't use BP_SYM. Remove comment about bounded
31424 pointers.
31425 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31426 <bp-sym.h> and <bp-asm.h>.
31427 (__strnlen): Don't use BP_SYM.
31428 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31429 <bp-sym.h> and <bp-asm.h>.
31430 (__GI__setjmp): Don't use BP_SYM.
31431 (_setjmp): Likewise.
31432 (__sigsetjmp): Likewise.
31433 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31434 (L(start_addresses)): Don't use BP_SYM.
31435 (_start): Likewise.
31436 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31437 <bp-asm.h>.
31438 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31439 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31440 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31441 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31442 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31443 <bp-asm.h>.
31444 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31445 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31446 about bounded pointers.
31447 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31448 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31449 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31450 <bp-asm.h>.
31451 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31452 about bounded pointers. Remove GKM FIXME comments.
31453 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31454 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31455 <bp-asm.h>.
31456 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31457 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31458 Remove GKM FIXME comments.
31459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31461 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31462 <bp-asm.h>.
31463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31464 about bounded pointers. Remove GKM FIXME comment.
31465 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31466 and <bp-asm.h>.
31467 (strncmp): Don't use BP_SYM. Remove comment about bounded
31468 pointers.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31470 <bp-sym.h> and <bp-asm.h>.
31471 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31473 <bp-sym.h> and <bp-asm.h>.
31474 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31475 comment.
31476
cdcf361f
PP
314772013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31478
31479 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31480 call free(NULL).
31481
3c4a2b15
DM
314822013-03-05 David S. Miller <davem@davemloft.net>
31483
31484 * po/es.po: Update from translation team.
31485
cdcf361f 314862013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31487
31488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31489 <bits/mman-linux.h>.
31490 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31491 is fine.
31492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31493 <bits/mman-linux.h> to end of file.
31494 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31495 is fine.
31496 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31497 <bits/mman-linux.h> to end of file.
31498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31499 is fine.
31500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31501 <bits/mman-linux.h> to end of file.
31502
31503 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31504 (MCL_CURRENT, MCL_FUTURE): Define here.
31505
5f67c04f
AK
315062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31507
8a4473cc 31508 [BZ #15232]
5f67c04f
AK
31509 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31510 attribute_hidden.
31511 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31512
c3e94a95
AK
315132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31514
31515 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31516 fourth parameter needed for rt_sigprocmask syscall.
31517 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31518 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31520 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31521 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31522 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31523
cfb6382a
JM
315242013-03-04 Joseph Myers <joseph@codesourcery.com>
31525
31526 [BZ #13550]
31527 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31528 comment about bounded pointers.
31529 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31530 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31531
539d8e01
AJ
315322013-03-04 Andreas Jaeger <aj@suse.de>
31533
31534 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31535 common definitions.
31536
31537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31538 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31540 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31543
2e167a70 315442013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31545
31546 [BZ #15055]
31547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31548 __ieee754_sqrl instead of __sqrl.
31549
68508633
JM
315502013-03-01 Joseph Myers <joseph@codesourcery.com>
31551
31552 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31553 * sysdeps/powerpc/fpu_control.h: ... here.
31554 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31555 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31556 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31557 * sysdeps/powerpc/bits/mathinline.h: ... here.
31558
7775448e
RM
315592013-03-01 Roland McGrath <roland@hack.frob.com>
31560
31561 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31562 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31563 to just [NEED_DL_SYSINFO_DSO].
31564 * elf/dl-support.c: Likewise.
31565 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31566 * elf/rtld.c (dl_main): Likewise.
31567 * elf/setup-vdso.h (setup_vdso): Likewise.
31568 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31569 * sysdeps/unix/sysv/linux/dl-sysdep.c
31570 (_dl_discover_osversion): Likewise.
31571
4e9b5995
CD
315722013-03-01 Carlos O'Donell <carlos@redhat.com>
31573
31574 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31575 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31576
e23872c8
SP
315772013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31578
e5c74c63
SP
31579 * NEWS: Mention libm performance improvements and non-x86 PI
31580 futex support.
31581
e23872c8
SP
31582 * csu/libc-start.c (__pthread_initialize_minimal): Change
31583 function arguments.
31584 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31585
b5510883
JM
315862013-02-28 Joseph Myers <joseph@codesourcery.com>
31587
31588 [BZ #13550]
31589 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31591 <bp-sym.h> and <bp-asm.h>.
31592 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31594 and <bp-asm.h>.
31595 (memcpy): Don't use BP_SYM.
31596 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31597 <bp-asm.h>.
31598 (__mpn_add_n): Don't use BP_SYM.
31599 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31600 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31601 and <bp-asm.h>.
31602 (__mpn_addmul_1): Don't use BP_SYM.
31603 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31604 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31605 <bp-sym.h>.
31606 (_setjmp): Don't use BP_SYM.
31607 (__novmx_setjmp): Likewise.
31608 (__GI__setjmp): Likewise.
31609 (__vmx_setjmp): Likewise.
31610 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31611 <bp-sym.h>.
31612 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31613 (__bzero): Don't use BP_SYM.
31614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31616 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31617 <bp-sym.h> and <bp-asm.h>.
31618 (memcpy): Don't use BP_SYM.
31619 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31620 <bp-sym.h> and <bp-asm.h>.
31621 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31623 <bp-sym.h> and <bp-asm.h>.
31624 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31625 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31626 <bp-asm.h>.
31627 (__mpn_lshift): Don't use BP_SYM.
31628 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31629 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31630 <bp-asm.h>.
31631 (memset): Don't use BP_SYM.
31632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31634 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31635 <bp-asm.h>.
31636 (__mpn_mul_1): Don't use BP_SYM.
31637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31639 <bp-sym.h> and <bp-asm.h>.
31640 (memcmp): Don't use BP_SYM.
31641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31642 <bp-sym.h> and <bp-asm.h>.
31643 (memcpy): Don't use BP_SYM.
31644 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31645 <bp-sym.h> and <bp-asm.h>.
31646 (memset): Don't use BP_SYM.
31647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31648 <bp-sym.h> and <bp-asm.h>.
31649 (strncmp): Don't use BP_SYM.
31650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31651 <bp-sym.h> and <bp-asm.h>.
31652 (memcpy): Don't use BP_SYM.
31653 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31654 <bp-sym.h> and <bp-asm.h>.
31655 (memset): Don't use BP_SYM.
31656 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31657 <bp-sym.h> and <bp-asm.h>.
31658 (__memchr): Don't use BP_SYM.
31659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31660 <bp-sym.h> and <bp-asm.h>.
31661 (memcmp): Don't use BP_SYM.
31662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31663 <bp-sym.h> and <bp-asm.h>.
31664 (memcpy): Don't use BP_SYM.
31665 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31666 <bp-sym.h> and <bp-asm.h>.
31667 (__mempcpy): Don't use BP_SYM.
31668 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31669 <bp-sym.h> and <bp-asm.h>.
31670 (__memrchr): Don't use BP_SYM.
31671 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (memset): Don't use BP_SYM.
31674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31675 <bp-sym.h> and <bp-asm.h>.
31676 (__rawmemchr): Don't use BP_SYM.
31677 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31678 <bp-sym.h> and <bp-asm.h>.
31679 (__STRCMP): Don't use BP_SYM.
31680 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31681 <bp-sym.h> and <bp-asm.h>.
31682 (strchr): Don't use BP_SYM.
31683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31684 <bp-sym.h> and <bp-asm.h>.
31685 (__strchrnul): Don't use BP_SYM.
31686 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31687 <bp-sym.h> and <bp-asm.h>.
31688 (strlen): Don't use BP_SYM.
31689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31690 <bp-sym.h> and <bp-asm.h>.
31691 (strncmp): Don't use BP_SYM.
31692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31693 <bp-sym.h> and <bp-asm.h>.
31694 (__strnlen): Don't use BP_SYM.
31695 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31696 <bp-asm.h>.
31697 (__mpn_rshift): Don't use BP_SYM.
31698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31699 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31700 <bp-sym.h> and <bp-asm.h>.
31701 (__sigsetjmp): Don't use BP_SYM.
31702 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31703 (L(start_addresses)): Don't use BP_SYM.
31704 (_start): Likewise.
31705 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31706 <bp-asm.h>.
31707 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31708 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31709 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31710 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31711 <bp-asm.h>.
31712 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31713 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31714 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31715 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31716 <bp-asm.h>.
31717 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31718 comments.
31719 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31720 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31721 <bp-asm.h>.
31722 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31723 FIXME comments.
31724 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31725 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31726 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31727 <bp-asm.h>.
31728 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31729 comment.
31730 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31731 and <bp-asm.h>.
31732 (strncmp): Don't use BP_SYM,
31733 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31734 <bp-asm.h>.
31735 (__mpn_sub_n): Don't use BP_SYM.
31736 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31737 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31738 and <bp-asm.h>.
31739 (__mpn_submul_1): Don't use BP_SYM.
31740 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31742 <bp-sym.h> and <bp-asm.h>.
31743 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31745 <bp-sym.h> and <bp-asm.h>.
31746 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31747 comment.
31748
8d19fe64
SP
317492013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31750
31751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31752 Use ZK to minimize writes to Z.
31753 (sub_magnitudes): Simplify code a bit.
31754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31755 Use ZK to minimize writes to Z.
31756 (sub_magnitudes): Simplify code a bit.
31757
85bd816a
RM
317582013-02-27 Roland McGrath <roland@hack.frob.com>
31759
31760 * csu/gmon-start.c: Add special exception to license text.
31761
b5977bf2
RH
317622013-02-27 Richard Henderson <rth@redhat.com>
31763
31764 * scripts/config.guess: Update from config.git.
31765 * scripts/config.sub: Likewise.
31766
11d6e2f2
SP
317672013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31768
09c14ed2
SP
31769 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31770
a688864e
SP
31771 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31772
6295157a
SP
31773 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31774
b8de2202
SP
31775 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31776
11d6e2f2
SP
31777 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31778
7e80ddb8
RM
317792013-02-26 Roland McGrath <roland@hack.frob.com>
31780
31781 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31782 [$(build-shared = yes].
7e80ddb8 31783
7da6d9ed
SP
317842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31785
45f05884
SP
31786 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31787 (__mul): Reduce iterations for calculating mantissa.
31788
2236d359
SP
31789 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31790 MPTWO.
31791 (__mpranred): Likewise.
31792
7da6d9ed
SP
31793 [BZ #15160]
31794 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31795 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31796
b7688c42
PE
317972013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31798
31799 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31800 Define __attribute__.
31801
53a5c423
SP
318022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31803
31804 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31805 unused.
31806 * posix/regex_internal.h (__attribute): Remove.
31807 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31808 (re_string_context_at): Likewise.
31809 (bitset_not): Use __attribute__ and mark function as possibly
31810 unused.
31811 (bitset_merge): Likewise.
31812 (bitset_mask): Likewise.
31813 (re_string_char_size_at): Likewise.
31814 (re_string_wchar_at): Likewise.
31815 (re_string_elem_size_at): Likewise.
31816
60f5a8b5
SP
318172013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31818
2a983a2e
SP
31819 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31820 code.
31821 (cc32): Likewise.
31822
e69804d1
SP
31823 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31824 (__acr): Likewise.
31825 (__cpy): Likewise.
31826 (norm): Likewise.
31827 (denorm): Likewise.
31828 (__dbl_mp): Likewise.
31829 (add_magnitudes): Likewise.
31830 (sub_magnitudes): Likewise.
31831 (__mul): Likewise.
31832 (__inv): Likewise.
31833
2f22a1e8
SP
31834 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31835 style.
31836
8930ddc7
SP
31837 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31838 style.
31839
dc60cb11
SP
31840 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31841 code.
31842
60f5a8b5
SP
31843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31844 up changes with default code.
31845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31846 Likewise.
31847
b4d1fd33
AM
318482013-02-24 Allan McRae <allan@archlinux.org>
31849
faf6f8bc
AM
31850 * manual/socket.texi (The Internet Namespace): Order menu items
31851 to match that in the file.
31852
b4d1fd33
AM
31853 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31854 node listing of the info page menu.
31855
2366713d
JM
318562013-02-21 Joseph Myers <joseph@codesourcery.com>
31857
31858 [BZ #13550]
31859 * sysdeps/i386/bp-asm.h: Remove file.
31860 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31861 (PARMS): Do not use macros from bp-asm.h.
31862 (S1): Likewise.
31863 (S2): Likewise.
31864 (SIZE): Likewise.
31865 (__mpn_add_n): Do not use BP_SYM
31866 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31867 "bp-asm.h".
31868 (PARMS): Do not use macros from bp-asm.h.
31869 (S1): Likewise.
31870 (SIZE): Likewise.
31871 (__mpn_addmul_1): Do not use BP_SYM
31872 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31873 "bp-asm.h".
31874 (PARMS): Do not use macros from bp-asm.h.
31875 (SIGMSK): Likewise.
31876 (_setjmp): Likewise. Do not use BP_SYM.
31877 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31878 "bp-asm.h".
31879 (PARMS): Do not use macros from bp-asm.h.
31880 (SIGMSK): Likewise.
31881 (setjmp): Likewise. Do not use BP_SYM.
31882 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31883 "bp-asm.h".
31884 (PARMS): Do not use macros from bp-asm.h.
31885 (__frexp): Do not use BP_SYM.
31886 (frexp): Likewise.
31887 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31888 "bp-asm.h".
31889 (PARMS): Do not use macros from bp-asm.h.
31890 (__frexpf): Do not use BP_SYM.
31891 (frexpf): Likewise.
31892 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31893 "bp-asm.h".
31894 (PARMS): Do not use macros from bp-asm.h.
31895 (__frexpl): Do not use BP_SYM.
31896 (frexpl): Likewise.
31897 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31898 "bp-asm.h".
31899 (PARMS): Do not use macros from bp-asm.h.
31900 (__remquo): Do not use BP_SYM.
31901 (remquo): Likewise.
31902 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31903 "bp-asm.h".
31904 (PARMS): Do not use macros from bp-asm.h.
31905 (__remquof): Do not use BP_SYM.
31906 (remquof): Likewise.
31907 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31908 "bp-asm.h".
31909 (PARMS): Do not use macros from bp-asm.h.
31910 (__remquol): Do not use BP_SYM.
31911 (remquol): Likewise.
31912 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31913 "bp-asm.h".
31914 (PARMS): Do not use macros from bp-asm.h.
31915 (DEST): Likewise.
31916 (SRC): Likewise.
31917 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31918 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31919 "bp-asm.h".
31920 (PARMS): Do not use macros from bp-asm.h.
31921 (strlen): Do not use BP_SYM.
31922 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31923 "bp-asm.h".
31924 (PARMS): Do not use macros from bp-asm.h.
31925 (S1): Likewise.
31926 (S2): Likewise.
31927 (SIZE): Likewise.
31928 (__mpn_add_n): Do not use BP_SYM.
31929 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31930 "bp-asm.h".
31931 (PARMS): Do not use macros from bp-asm.h.
31932 (S1): Likewise.
31933 (SIZE): Likewise.
31934 (__mpn_addmul_1): Do not use BP_SYM.
31935 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31936 weak_alias.
31937 (bzero): Likewise.
31938 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31939 "bp-asm.h".
31940 (PARMS): Do not use macros from bp-asm.h.
31941 (S): Likewise.
31942 (SIZE): Likewise.
31943 (__mpn_lshift): Do not use BP_SYM.
31944 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31945 "bp-asm.h".
31946 (PARMS): Do not use macros from bp-asm.h.
31947 (DEST): Likewise.
31948 (SRC): Likewise.
31949 (LEN): Likewise.
31950 (memcpy): Likewise. Do not use BP_SYM.
31951 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31952 libc_hidden_def and weak_alias.
31953 (mempcpy): Do not use BP_SYM in weak_alias.
31954 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31955 "bp-asm.h".
31956 (PARMS): Do not use macros from bp-asm.h.
31957 (DEST): Likewise.
31958 (LEN): Likewise.
31959 [!BZERO_P] (CHR): Likewise.
31960 (memset): Likewise. Do not use BP_SYM.
31961 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31962 "bp-asm.h".
31963 (PARMS): Do not use macros from bp-asm.h.
31964 (S1): Likewise.
31965 (SIZE): Likewise.
31966 (__mpn_mul_1): Do not use BP_SYM.
31967 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31968 "bp-asm.h".
31969 (PARMS): Do not use macros from bp-asm.h.
31970 (S): Likewise.
31971 (SIZE): Likewise.
31972 (__mpn_rshift): Do not use BP_SYM.
31973 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31974 "bp-asm.h".
31975 (PARMS): Do not use macros from bp-asm.h.
31976 (STR): Likewise.
31977 (CHR): Likewise.
31978 (strchr): Likewise. Do not use BP_SYM.
31979 (index): Do not use BP_SYM in weak_alias.
31980 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31981 "bp-asm.h".
31982 (PARMS): Do not use macros from bp-asm.h.
31983 (DEST): Likewise.
31984 (SRC): Likewise.
31985 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31986 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31987 "bp-asm.h".
31988 (PARMS): Do not use macros from bp-asm.h.
31989 (strlen): Do not use BP_SYM.
31990 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31991 "bp-asm.h".
31992 (PARMS): Do not use macros from bp-asm.h.
31993 (S1): Likewise.
31994 (S2): Likewise.
31995 (SIZE): Likewise.
31996 (__mpn_sub_n): Do not use BP_SYM.
31997 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31998 "bp-asm.h".
31999 (PARMS): Do not use macros from bp-asm.h.
32000 (S1): Likewise.
32001 (SIZE): Likewise.
32002 (__mpn_submul_1): Do not use BP_SYM.
32003 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32004 "bp-asm.h".
32005 (PARMS): Do not use macros from bp-asm.h.
32006 (S1): Likewise.
32007 (S2): Likewise.
32008 (SIZE): Likewise.
32009 (__mpn_add_n): Do not use BP_SYM.
32010 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32011 weak_alias.
32012 (bzero): Likewise.
32013 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32014 "bp-asm.h".
32015 (PARMS): Do not use macros from bp-asm.h.
32016 (BLK2): Likewise.
32017 (LEN): Likewise.
32018 (memcmp): Do not use BP_SYM.
32019 (bcmp): Do not use BP_SYM in weak_alias.
32020 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32021 "bp-asm.h".
32022 (PARMS): Do not use macros from bp-asm.h.
32023 (DEST): Likewise.
32024 (SRC): Likewise.
32025 (LEN): Likewise.
32026 (memcpy): Likewise. Do not use BP_SYM.
32027 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32028 "bp-asm.h".
32029 (PARMS): Do not use macros from bp-asm.h.
32030 (DEST): Likewise.
32031 (SRC): Likewise.
32032 (LEN): Likewise.
32033 (memmove): Likewise. Do not use BP_SYM.
32034 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32035 "bp-asm.h".
32036 (PARMS): Do not use macros from bp-asm.h.
32037 (DEST): Likewise.
32038 (SRC): Likewise.
32039 (LEN): Likewise.
32040 (__mempcpy): Likewise. Do not use BP_SYM.
32041 (mempcpy): Do not use BP_SYM in weak_alias.
32042 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32043 "bp-asm.h".
32044 (PARMS): Do not use macros from bp-asm.h.
32045 (DEST): Likewise.
32046 (LEN): Likewise.
32047 [!BZERO_P] (CHR): Likewise.
32048 (memset): Likewise. Do not use BP_SYM.
32049 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32050 "bp-asm.h".
32051 (PARMS): Do not use macros from bp-asm.h.
32052 (STR2): Likewise.
32053 (strcmp): Do not use BP_SYM.
32054 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32055 "bp-asm.h".
32056 (PARMS): Do not use macros from bp-asm.h.
32057 (STR): Likewise.
32058 (DELIM): Likewise.
32059 [USE_AS_STRTOK_R] (SAVE): Likewise.
32060 (FUNCTION): Likewise. Do not use BP_SYM.
32061 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32062 aliases.
32063 (strtok_r): Likewise.
32064 (__GI___strtok_r): Likewise.
32065 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32066 (PARMS): Do not use macros from bp-asm.h.
32067 (S): Likewise.
32068 (SIZE): Likewise.
32069 (__mpn_lshift): Do not use BP_SYM.
32070 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32071 (PARMS): Do not use macros from bp-asm.h.
32072 (STR): Likewise.
32073 (CHR): Likewise.
32074 (__memchr): Do not use BP_SYM.
32075 (memchr): Do not use BP_SYM in weak_alias.
32076 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32077 (PARMS): Do not use macros from bp-asm.h.
32078 (BLK2): Likewise.
32079 (LEN): Likewise.
32080 (memcmp): Do not use BP_SYM.
32081 (bcmp): Do not use BP_SYM in weak_alias.
32082 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32083 (PARMS): Do not use macros from bp-asm.h.
32084 (S1): Likewise.
32085 (SIZE): Likewise.
32086 (__mpn_mul_1): Do not use BP_SYM.
32087 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32088 "bp-asm.h".
32089 (PARMS): Do not use macros from bp-asm.h.
32090 (STR): Likewise.
32091 (CHR): Likewise.
32092 (__rawmemchr): Do not use BP_SYM.
32093 (rawmemchr): Do not use BP_SYM in weak_alias.
32094 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32095 (PARMS): Do not use macros from bp-asm.h.
32096 (S): Likewise.
32097 (SIZE): Likewise.
32098 (__mpn_rshift): Do not use BP_SYM.
32099 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32100 (PARMS): Do not use macros from bp-asm.h.
32101 (SIGMSK): Likewise.
32102 (__sigsetjmp): Likewise. Do not use BP_SYM.
32103 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32104 (_start): Do not use BP_SYM.
32105 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32106 (PARMS): Do not use macros from bp-asm.h.
32107 (DEST): Likewise.
32108 (SRC): Likewise.
32109 (__stpcpy): Likewise. Do not use BP_SYM.
32110 (stpcpy): Do not use BP_SYM in weak_alias.
32111 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32112 "bp-asm.h".
32113 (PARMS): Do not use macros from bp-asm.h.
32114 (DEST): Likewise.
32115 (SRC): Likewise.
32116 (LEN): Likewise.
32117 (__stpncpy): Likewise. Do not use BP_SYM.
32118 (stpncpy): Do not use BP_SYM in weak_alias.
32119 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32120 (PARMS): Do not use macros from bp-asm.h.
32121 (STR): Likewise.
32122 (CHR): Likewise.
32123 (strchr): Likewise. Do not use BP_SYM.
32124 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32125 "bp-asm.h".
32126 (PARMS): Do not use macros from bp-asm.h.
32127 (STR): Likewise.
32128 (CHR): Likewise.
32129 (__strchrnul): Likewise. Do not use BP_SYM.
32130 (strchrnul): Do not use BP_SYM in weak_alias.
32131 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32132 "bp-asm.h".
32133 (PARMS): Do not use macros from bp-asm.h.
32134 (STOP): Likewise.
32135 (strcspn): Do not use BP_SYM.
32136 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32137 "bp-asm.h".
32138 (PARMS): Do not use macros from bp-asm.h.
32139 (STR): Likewise.
32140 (STOP): Likewise.
32141 (strpbrk): Likewise. Do not use BP_SYM.
32142 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32143 "bp-asm.h".
32144 (PARMS): Do not use macros from bp-asm.h.
32145 (STR): Likewise.
32146 (CHR): Likewise.
32147 (strrchr): Likewise. Do not use BP_SYM.
32148 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32149 (PARMS): Do not use macros from bp-asm.h.
32150 (SKIP): Likewise.
32151 (strspn): Do not use BP_SYM.
32152 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32153 (PARMS): Do not use macros from bp-asm.h.
32154 (STR): Likewise.
32155 (DELIM): Likewise.
32156 (SAVE): Likewise.
32157 (FUNCTION): Likewise. Do not use BP_SYM.
32158 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32159 aliases.
32160 (strtok_r): Likewise.
32161 (__GI___strtok_r): Likewise.
32162 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32163 (PARMS): Do not use macros from bp-asm.h.
32164 (S1): Likewise.
32165 (S2): Likewise.
32166 (SIZE): Likewise.
32167 (__mpn_sub_n): Do not use BP_SYM.
32168 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32169 "bp-asm.h".
32170 (PARMS): Do not use macros from bp-asm.h.
32171 (S1): Likewise.
32172 (SIZE): Likewise.
32173 (__mpn_submul_1): Do not use BP_SYM.
32174 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32175 <bp-sym.h>.
32176 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32177 and <bp-asm.h>.
32178 (PARMS): Do not use macros from bp-asm.h.
32179 (FLAGS): Likewise.
32180 (PTID): Likewise.
32181 (TLS): Likewise.
32182 (CTID): Likewise.
32183 (__clone): Do not use BP_SYM.
32184 (clone): Do not use BP_SYM in weak_alias.
32185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32186 and <bp-asm.h>.
32187 (PARMS): Do not use macros from bp-asm.h.
32188 (LEN): Likewise.
32189 (__mmap64): Do not use BP_SYM.
32190 (mmap64): Do not use BP_SYM in weak_alias.
32191 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32192 <bp-sym.h> and <bp-asm.h>.
32193 (PARMS): Do not use macros from bp-asm.h.
32194 (__posix_fadvise64_l64): Do not use BP_SYM.
32195 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32196 (PARMS): Do not use macros from bp-asm.h.
32197 (NSOPS): Likewise.
32198 (semtimedop): Do not use BP_SYM.
32199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32200 and <bp-asm.h>.
32201
582a3cff
AM
322022013-02-21 Allan McRae <allan@archlinux.org>
32203
32204 * manual/message.texi (Charset conversion in gettext):
32205 Move @end statement to beginning of line.
32206
bab8a695
SP
322072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32208
80945231
SP
32209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32210 static.
32211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32212 Likewise.
32213
bab8a695
SP
32214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32215 (denorm): Likewise.
32216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32218
e21d7aa7
AK
322192013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32220
32221 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32222 tail-call to the resolved function if pltexit isn't needed.
32223
4c7a4263
SP
322242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32225
32226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32227 or Y being zero as being unlikely.
32228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32229 Likewise.
32230
41f49342
CD
322312013-02-20 Carlos O'Donell <carlos@redhat.com>
32232
32233 * manual/nss.texi (System Databases and Name Service Switch):
32234 Remove frobnicate @pxref.
32235
50022a93
TS
322362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32237
32238 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32239 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32240
08cbd996
PM
322412013-02-20 Petr Machata <pmachata@redhat.com>
32242
32243 * elf/elf.h (R_ARM_TARGET1): New macro.
32244 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32245 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32246 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32247 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32248 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32249 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32250 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32251 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32252 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32253 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32254 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32255 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32256 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32257 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32258 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32259 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32260 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32261 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32262 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32263 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32264 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32265 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32266 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32267 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32268 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32269 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32270 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32271 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32272 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32273 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32274 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32275 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32276 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32277 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32278 (R_ARM_THM_GOT_BREL12): Likewise.
32279 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32280 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32281 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32282 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32283 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32284 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32285 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32286 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32287 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32288
c7b275d6
TS
322892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32290
32291 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32292 __attribute_used__ to __attribute__ ((unused)).
32293
20cd7fb3
SP
322942013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32295
32296 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32297 powerpc mpa.c.
32298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32299 comment formatting.
32300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32301
92945b52
JM
323022013-02-19 Joseph Myers <joseph@codesourcery.com>
32303
32304 [BZ #13550]
32305 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32306 Remove macro.
32307 (ENTER): Remove both macro definitions.
32308 (LEAVE): Likewise.
32309 (CHECK_BOUNDS_LOW): Likewise.
32310 (CHECK_BOUNDS_HIGH): Likewise.
32311 (CHECK_BOUNDS_BOTH): Likewise.
32312 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32313 (RETURN_BOUNDED_POINTER): Likewise.
32314 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32315 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32316 (POP_ERRNO_LOCATION_RETURN): Likewise.
32317 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32318 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32319 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32320 macros.
32321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32322 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32323 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32324 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32325 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32326 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32327 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32328 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32329 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32330 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32331 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32332 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32333 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32334 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32335 removed macros.
32336 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32337 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32338 macros.
32339 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32340 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32341 * sysdeps/i386/i586/memset.S (memset): Likewise.
32342 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32343 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32344 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32345 macros.
32346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32347 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32348 Change uses of L(2) to L(out).
32349 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32350 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32351 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32352 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32353 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32354 removed macros.
32355 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32356 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32357 macros.
32358 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32359 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32360 (RETURN): Do not use macro LEAVE.
32361 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32362 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32363 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32364 * sysdeps/i386/i686/memset.S (memset): Likewise.
32365 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32366 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32368 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32369 Likewise.
32370 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32371 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32372 L(1_2) and L(1_3) into L(1).
32373 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32374 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32375 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32376 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32377 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32378 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32379 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32380 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32381 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32382 macros.
32383 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32384 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32385 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32386 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32387 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32388 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32389 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32390 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32391 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32392 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32393 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32394 * sysdeps/i386/strspn.S (strspn): Likewise.
32395 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32396 conditional code.
32397 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32398 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32399 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32400 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32401 L(1_3) into L(1_1).
32402 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32404 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32405 macros.
32406 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32407
2389741a
JJ
324082013-02-19 Jakub Jelinek <jakub@redhat.com>
32409
32410 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32411 macro.
32412
2016b3cd
SP
324132013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32414
e4f22324
SP
32415 * math/atest-exp.c (exp_mpn): Remove ROUND.
32416 * math/atest-exp2.c (exp_mpn): Likewise.
32417 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32418
2016b3cd
SP
32419 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32420 * stdlib/tst-tls-atexit-lib.c: Likewise.
32421 * stdlib/tst-tls-atexit.c: Likewise.
32422
4be9b544
MF
324232013-02-18 Mike Frysinger <vapier@gentoo.org>
32424
32425 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32426 and __attribute_alloc_size__.
32427
2f62b9ee
MF
324282013-02-18 Mike Frysinger <vapier@gentoo.org>
32429
32430 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32431 __attribute_alloc_size__.
32432 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32433 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32434
6ff444c4
MF
324352013-02-18 Mike Frysinger <vapier@gentoo.org>
32436
32437 * include/programs/xmalloc.h: New file.
32438 * catgets/gencat.c: Include it.
32439 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32440 * elf/pldd.c: Likewise.
32441 * iconv/iconv_charmap.c: Likewise.
32442 * iconv/iconvconfig.c: Likewise.
32443 * iconv/strtab.c: Likewise.
32444 * locale/programs/locale.c: Likewise.
32445 * locale/programs/localedef.h: Likewise.
32446 * locale/programs/simple-hash.c: Likewise.
32447 * nscd/nscd.h: Likewise.
32448 * nss/makedb.c: Likewise.
32449 * sysdeps/generic/ldconfig.h: Likewise.
32450
be179c8a
SP
324512013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32452
ba384f6e
SP
32453 * Versions.def: Add GLIBC_2.18.
32454 * include/link.h (struct link_map): New member l_tls_dtor_count.
32455 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32456 (__call_tls_dtors): Likewise.
32457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32458 __cxa_thread_atexit_impl.
32459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32460 Likewise.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32462 Likewise.
32463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32464 Likewise.
32465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32466 Likewise.
32467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32469 Likewise.
32470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32471 Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32474 Likewise.
32475 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32476 (tests): Add test case tst-tls-atexit.
32477 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32478 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32479 (GLIBC_PRIVATE): Add __call_tls_dtors.
32480 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32481 for libstdc++.
32482 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32483 * stdlib/tst-tls-atexit.c: New test case.
32484 * stdlib/tst-tls-atexit-lib.c: New test case.
32485
ffaa74cf 32486 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32487
be179c8a
SP
32488 * elf/Versions (ld): Add _dl_find_dso_for_object.
32489 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32490 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32491 (dl_open_worker): Use _dl_find_dso_for_object.
32492 * elf/dl-sym.c (do_sym): Likewise.
32493 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32494
f78b5caa
AK
324952013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32496
32497 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32498 Syntactic changes only.
32499 (_dl_runtime_profile): Do a tail-call to the resolved function.
32500
29691210
JM
325012013-02-17 Joseph Myers <joseph@codesourcery.com>
32502
32503 [BZ #13550]
32504 * sysdeps/x86_64/bp-asm.h: Remove file.
32505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32506 <bp-sym.h> and <bp-asm.h>.
32507 (__clone): Do not use BP_SYM.
32508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32509 <bp-sym.h> and <bp-asm.h>.
32510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32511 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32512 "bp-asm.h".
32513 (_setjmp): Do not use BP_SYM.
32514 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32515 "bp-asm.h".
32516 (setjmp): Do not use BP_SYM.
32517 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32518 libc_hidden_def.
32519 (mempcpy): Do not use BP_SYM in weak_alias.
32520 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32521 "bp-asm.h".
32522 (strchr): Do not use BP_SYM.
32523 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32524 "bp-asm.h".
32525 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32526 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32527 (_start): Do not use BP_SYM.
32528 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32529 "bp-asm.h".
32530 (strcat): Do not use BP_SYM.
32531 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32532 "bp-asm.h".
32533 (STRCMP): Do not use BP_SYM.
32534 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32535 "bp-asm.h".
32536 (STRCPY): Do not use BP_SYM.
32537 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32538 "bp-asm.h".
32539 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32540 "bp-asm.h".
32541 (FUNCTION): Do not use BP_SYM.
32542 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32543 weak_alias.
32544 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32545
f238fd19
AJ
325462013-02-17 Andreas Jaeger <aj@suse.de>
32547
32548 * time/Versions: Sort entries.
32549 * string/Versions: Likewise.
32550 * resolv/Versions: Likewise.
32551 * posix/Versions: Likewise.
32552 * iconv/Versions: Likewise.
32553 * elf/Versions: Likewise.
32554 * wcsmbs/Versions: Likewise.
32555
bd07f23c 325562013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32557
22af19f9
SP
32558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32559 loop termination condition.
32560
4709fe76
SP
32561 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32562 variable to calculate EZ.
32563 (__sqr): Likewise.
2d0e0f29
SP
32564
32565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32566 the lower precision input.
32567
daaa7713
JM
325682013-02-15 Joseph Myers <joseph@codesourcery.com>
32569
32570 [BZ #13550]
32571 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32572 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32573 (run-via-rtld-prefix): Do not handle %-bp tests.
32574 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32575 (all-object-suffixes): Remove .ob.
32576 (bppfx): Remove variable.
32577 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32578 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32579 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32580 [$(build-bounded) = yes] (libtype.ob): Likewise.
32581 * Makerules (elide-routines.ob): Remove variable.
32582 (do-tests-clean): Do not handle *-bp.out.
32583 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32584 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32585 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32586 (tests): Do not include $(tests-bp.out).
32587 (xtests): Do not include $(xtests-bp.out).
32588 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32589 [$(build-bounded) = yes] ($(addprefix
32590 $(objpfx),$(binaries-bounded))): Remove rule.
32591 ($(objpfx)%-bp.out): Remove rule.
32592 * config.make.in (build-bounded): Remove variable.
32593 * crypt/Makefile [$(build-bounded) = yes]
32594 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32595 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32596 append to variable.
32597 [$(build-bounded) = yes] (install-lib): Likewise.
32598 [$(build-bounded) = yes] (generated): Likewise.
32599 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32600 Remove rule.
32601 * intl/Makefile [$(build-bounded) = yes]
32602 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32603 * math/Makefile [$(build-bounded) = yes]
32604 ($(tests:%=$(objpfx)%-bp): Likewise.
32605 * misc/Makefile [$(build-bounded) = yes]
32606 ($(objpfx)tst-tsearch-bp): Likewise.
32607 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32608 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32609 Remove dependency.
32610 * string/Makefile (o-objects.ob): Remove variable.
32611 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32612 (CFLAGS-.ob): Remove variable.
32613 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32614 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32615 both definitions of variable.
32616 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32617 (ASFLAGS-.ob): Remove variable.
32618
e97ed6dd
JM
326192013-02-14 Joseph Myers <joseph@codesourcery.com>
32620
2bdd4ca6
JM
32621 [BZ #13550]
32622 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32623 Remove __BOUNDED_POINTERS__ from condition.
32624 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32625 * string/bits/string2.h [!__NO_STRING_INLINES &&
32626 !__BOUNDED_POINTERS__]: Likewise.
32627 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32628 Likewise.
32629 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32630 Remove conditional code.
32631 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32632 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32633 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32634 condition.
32635
e97ed6dd
JM
32636 [BZ #13550]
32637 * csu/libc-start.c: Do not include <bp-sym.h>.
32638 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32639 * elf/dl-open.c: Do not include <bp-sym.h>.
32640 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32641 * math/fegetenv.c: Do not include <bp-sym.h>.
32642 (fegetenv): Do not use BP_SYM in versioned symbols.
32643 * nptl/sysdeps/pthread/bits/libc-lockP.h
32644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32645 <bp-sym.h>.
32646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32647 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32649 (__pthread_mutex_destroy): Likewise.
32650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32651 (__pthread_mutex_lock): Likewise.
32652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32653 (__pthread_mutex_trylock): Likewise.
32654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32655 (__pthread_mutex_unlock): Likewise.
32656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32657 (__pthread_mutexattr_init): Likewise.
32658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32659 (__pthread_mutexattr_destroy): Likewise.
32660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32661 (__pthread_mutexattr_settype): Likewise.
32662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32663 (__pthread_rwlock_init): Likewise.
32664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32665 (__pthread_rwlock_destroy): Likewise.
32666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32667 (__pthread_rwlock_rdlock): Likewise.
32668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32669 (__pthread_rwlock_tryrdlock): Likewise.
32670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32671 (__pthread_rwlock_wrlock): Likewise.
32672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32673 (__pthread_rwlock_trywrlock): Likewise.
32674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32675 (__pthread_rwlock_unlock): Likewise.
32676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32677 (__pthread_key_create): Likewise.
32678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32679 (__pthread_setspecific): Likewise.
32680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32681 (__pthread_getspecific): Likewise.
32682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32683 Likewise.
32684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32685 (_pthread_cleanup_push_defer): Likewise.
32686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32687 (_pthread_cleanup_pop_restore): Likewise.
32688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32689 (pthread_setcancelstate): Likewise.
32690 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32691 <bp-sym.h>.
32692 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32693 (memchr): Do not use BP_SYM in weak_alias.
32694 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32695 (fegetenv): Do not use BP_SYM in versioned symbols.
32696 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32697 (fesetenv): Do not use BP_SYM in versioned symbols.
32698 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32699 (feupdateenv): Do not use BP_SYM in versioned symbols.
32700 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32701 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32702 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32703 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32704 (open64): Do not use BP_SYM in weak_alias.
32705 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32706 (fegetenv): Do not use BP_SYM in versioned symbols.
32707 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32708 (fesetenv): Do not use BP_SYM in versioned symbols.
32709 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32710 (feupdateenv): Do not use BP_SYM in versioned symbols.
32711 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32712 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32713 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32714 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32715 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32716 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32718 <bp-sym.h>.
32719 (__libc_start_main): Do not use BP_SYM.
32720
d6752ccd
SP
327212013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32722
cb57ce60
SP
32723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32724 redundant return line.
32725 (norm): Likewise.
32726 (denorm): Likewise.
32727 (dbl_mp): Likewise.
32728 (sub_magnitudes): Likewise.
32729 (__add): Likewise.
32730 (__sub): Likewise.
32731 (__mul): Likewise.
32732 (__inv): Likewise.
32733 (__dvd): Likewise.
32734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32735 (norm): Likewise.
32736 (denorm): Likewise.
32737 (dbl_mp): Likewise.
32738 (sub_magnitudes): Likewise.
32739 (__add): Likewise.
32740 (__sub): Likewise.
32741 (__mul): Likewise.
32742 (__inv): Likewise.
32743 (__dvd): Likewise.
32744
f414520d
SP
32745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32746 instead of __mul.
32747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32748 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32749 (cc32): Likewise.
32750
d6752ccd
SP
32751 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32752 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32754 of __mul for squares.
32755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32756 function
32757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32758 Likewise.
32759 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32760 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32761
70d9946a
JM
327622013-02-13 Joseph Myers <joseph@codesourcery.com>
32763
32764 [BZ #13550]
32765 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32766 code.
32767 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32768 prototype or function definition. Rename ubp_* variables and
32769 parameters. Remove argv definitions conditional on
32770 [__BOUNDED_POINTERS__].
32771 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32772 * elf/dl-runtime.c (_dl_fixup): Likewise.
32773 * include/set-hooks.h (RUN_HOOK): Likewise.
32774 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32775 definition.
32776 * string/strcpy.c (strcpy): Do not use __unbounded.
32777 * sysdeps/generic/frame.h (struct layout): Likewise.
32778 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32779 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32780 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32781 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32782 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32783 (__backtrace): Likewise.
32784 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32785 use __ptrvalue.
32786 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32787 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32788 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32789 Likewise.
32790 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32791 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32792 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32793 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32794 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32795 Do not use __unbounded.
32796 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32797 Rename __unboundedrlimits parameter to rlimits in prototype.
32798 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32799 Do not use __unbounded.
32800 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32801 not use __ptrvalue.
32802 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32803 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32804 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32805 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32806 __ptrvalue or __unbounded.
32807 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32808 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32809 use __unbounded.
32810 (__new_msgctl): Do not use __ptrvalue.
32811 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32812 __unbounded.
32813 (__libc_msgrcv): Do not use __ptrvalue.
32814 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32815 startup_info): Do not use __unbounded.
32816 (__libc_start_main): Likewise. Rename ubp_* variables and
32817 parameters. Remove argv definitions conditional on
32818 [__BOUNDED_POINTERS__].
32819 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32820 __ptrvalue.
32821 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32822 use __unbounded.
32823 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32824 or __ptrvalue.
32825 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32826 use __unbounded.
32827 (__new_shmctl): Do not use __ptrvalue.
32828 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32829 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32830 Likewise.
32831 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32833 (__libc_sigaction): Likewise.
32834 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32835 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32836 Likewise.
32837 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32838
cc7834d6
OB
328392013-02-13 Ondřej Bílka <neleai@seznam.cz>
32840
ffb1ec7b 32841 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32842
32843 * string/mempcpy.c: Implement by calling memcpy.
32844
bdf02814
SP
328452013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32846
c2af38aa
SP
32847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32848
4e92d59e
SP
32849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32850 evaluation.
32851
909279a5
SP
32852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32853 values in the mantissa.
32854
bdf02814
SP
32855 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32856 minimize writes to Z.
32857 (sub_magnitudes): Simplify code a bit.
32858
cd525923
RM
328592013-02-12 Roland McGrath <roland@hack.frob.com>
32860
32861 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32862 from the message. The linker prefixes all warnings with that already.
32863
7e2f0d2d
AS
328642013-02-12 Andreas Schwab <schwab@suse.de>
32865
a445af0b
AS
32866 [BZ #15078]
32867 * posix/regexec.c (extend_buffers): Add parameter min_len.
32868 (check_matching): Pass minimum needed length.
32869 (clean_state_log_if_needed): Likewise.
32870 (get_subexp): Likewise.
32871 * posix/Makefile (tests): Add bug-regex34.
32872 (bug-regex34-ENV): Define.
32873 * posix/bug-regex34.c: New file.
32874
7e2f0d2d
AS
32875 [BZ #11561]
32876 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32877 elements compare against the byte sequence of it, not its name.
32878 * posix/Makefile (tests): Add bug-regex35.
32879 (bug-regex35-ENV): Define.
32880 * posix/bug-regex35.c: New file.
32881
a175b684
TV
328822013-02-11 Tom de Vries <tom@codesourcery.com>
32883
32884 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32885 comment.
32886 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32887 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32888 (CHECK_EOL): Add undef.
32889
310998fe 328902013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32891
32892 * bits/stdlib-bsearch.h: New file.
32893 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32894 * stdlib/stdlib.h: Likewise.
41eda41d 32895
8ded91fb
RM
328962013-02-11 Roland McGrath <roland@hack.frob.com>
32897
32898 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32899 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32900 declaration.
32901 * manual/search.texi (Array Search Function): Add missing const in
32902 lfind prototype.
32903 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32904 declaration to use rlim_t.
32905 (Basic Scheduling Functions): Remove erroneous const from
32906 sched_getparam prototype. Remove erroneous * from
32907 sched_get_priority_max and sched_get_priority_min prototypes.
32908 (Resource Usage): Fix summary @comment on vtimes to refer to
32909 sys/vtimes.h rather than vtimes.h.
32910 Add missing *s in vtimes prototype.
32911 (Limits on Resources): Fix ulimit prototype to return long int.
32912 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32913 prototypes to use long int rather than double.
32914 (BSD Random): Fix initstate and setstate to use char *, not void *.
32915 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32916 prototype to make second argument 'struct aiocb64 *const[]'.
32917 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32918 (Status of AIO Operations): Remove erroneous const in aio_return and
32919 aio_return64 prototypes.
32920 (Synchronizing I/O): Fix sync prototype to return void.
32921 * manual/startup.texi (Suboptions): Remove an erroneous const in
32922 getsubopt prototype.
32923 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32924 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32925 use size_t rather than int.
32926 (Scanning All Users): Likewise for getpwent_r.
32927 (Setting Groups): Add missing const to setgroups prototype.
32928 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32929 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32930 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32931 'const void *' rather than 'const char *'.
32932 (Host Address Functions): Likewise for inet_ntop.
32933 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32934 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32935 ssize_t for return value.
32936 (Sending Data): Likewise for send, sendto, sendmsg.
32937 (Socket Option Functions): Add a missing const in setsockopt prototype.
32938 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32939 use wchar_t for the argument.
32940 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32941 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32942 take no arguments.
32943 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32944 double/float/long double for second argument.
32945 Fix return types of significand, significandf, significandl.
32946 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32947 argument in fchmod prototype.
32948 (File Owner): Use uid_t and gid_t in fchown prototype.
32949 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32950 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32951 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32952 use 'const struct dirent **' as argument types to CMP function pointer
32953 argument.
32954 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32955 (File Times): Fix summary magic @comment for struct utimbuf and utime
32956 to refer to utime.h, not time.h.
32957 * manual/string.texi (Argz Functions): Add missing const in
32958 argz_extract and argz_next prototypes.
32959 (Finding Tokens in a String): Likewise for basename.
32960 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32961 (Copying and Concatenation): Fix typo in wmemmove prototype.
32962 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32963 (Signal Stack): Remove erroneous const in sigstack prototype.
32964 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32965 prototype.
32966 (Simple Calendar Time): Likewise for stime.
32967 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32968 prototype.
32969 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32970 say sys/sysctl.h instead.
32971 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32972 and vsyslog prototypes.
32973
fe77fe6d
TV
329742013-02-11 Tom de Vries <tom@codesourcery.com>
32975
32976 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32977 Remove.
32978
3a09b620
RM
329792013-02-11 Roland McGrath <roland@hack.frob.com>
32980
32981 * misc/sys/mman.h: Fix typo in mremap comment.
32982
550a0b89
RM
329832013-02-08 Roland McGrath <roland@hack.frob.com>
32984
32985 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32986 the '\0' terminator.
32987
a2da1673
JM
329882013-02-08 Joseph Myers <joseph@codesourcery.com>
32989
32990 [BZ #13550]
32991 * debug/segfault.c: Don't include <bp-checks.h>.
32992 * sysdeps/generic/bp-checks.h: Remove file.
32993 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32994 (__GETDENTS): Don't use CHECK_N.
32995 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32996 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32997 (__getgroups): Don't use CHECK_N.
32998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32999 (setgroups): Don't use CHECK_N.
33000 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33001 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33002 (__libc_msgrcv): Don't use CHECK_N.
33003 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33004 (__libc_msgsnd): Don't use CHECK_N.
33005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33006 <bp-checks.h>.
33007 (__libc_pread): Don't use CHECK_N.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33009 include <bp-checks.h>.
33010 (__libc_pread64): Don't use CHECK_N.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33012 include <bp-checks.h>.
33013 (__libc_pwrite): Don't use CHECK_N.
33014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33015 include <bp-checks.h>.
33016 (__libc_pwrite64): Don't use CHECK_N.
33017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33018 <bp-checks.h>.
33019 (__libc_pread): Don't use CHECK_N.
33020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33021 include <bp-checks.h>.
33022 (__libc_pread64): Don't use CHECK_N.
33023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33024 include <bp-checks.h>.
33025 (__libc_pwrite): Don't use CHECK_N.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33027 include <bp-checks.h>.
33028 (__libc_pwrite64): Don't use CHECK_N.
33029 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33030 (do_pread): Don't use CHECK_N.
33031 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33032 (do_pread64): Don't use CHECK_N.
33033 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33034 (do_pwrite): Don't use CHECK_N.
33035 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33036 (do_pwrite64): Don't use CHECK_N.
33037 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33038 (__libc_readv): Don't use CHECK_N.
33039 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33040 (semop): Don't use CHECK_N.
33041 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33042 <bp-checks.h>.
33043 (semtimedop): Don't use CHECK_N.
33044 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33045 (__libc_pread): Don't use CHECK_N.
33046 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33047 <bp-checks.h>.
33048 (__libc_pread64): Don't use CHECK_N.
33049 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33050 <bp-checks.h>.
33051 (__libc_pwrite): Don't use CHECK_N.
33052 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33053 <bp-checks.h>.
33054 (__libc_pwrite64): Don't use CHECK_N.
33055 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33056 <bp-checks.h>.
33057 (__libc_msgrcv): Don't use CHECK_N.
33058 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33059 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33060 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33061 (__libc_writev): Don't use CHECK_N.
33062
b84660a8
RM
330632013-02-08 Roland McGrath <roland@hack.frob.com>
33064
7f3e75f8
RM
33065 * string/strcpy.c: Removed unused variable.
33066
b84660a8
RM
33067 * Makeconfig (+sysdep-includes): Define with := rather than =.
33068 Use an existing include/ subdir of each sysdeps dir before it.
33069
471514d3
CD
330702013-02-08 Carlos O'Donell <carlos@redhat.com>
33071
33072 * nscd/connection.c (register_traced_file): Comment function.
33073 [HAVE_INOTIFY] (union __inev): Define.
33074 [HAVE_INOTIFY] (inotify_check_files): New function.
33075 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33076 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33077 clear_db_cache.
33078 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33079
b2d3c3be
CD
330802013-02-08 Carlos O'Donell <carlos@redhat.com>
33081
33082 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33083 loaded if not already and that a failure is permanent.
33084
b39949d2
CD
330852013-02-08 Carlos O'Donell <carlos@redhat.com>
33086
ddacd1db 33087 [BZ #15006]
b39949d2
CD
33088 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33089 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33090
b2c9eff4
JM
330912013-02-08 Joseph Myers <joseph@codesourcery.com>
33092
f3aae3f3
JM
33093 [BZ #13550]
33094 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33095 (CHECK_1_NULL_OK): Likewise.
33096 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33097 (__fxstat): Do not use CHECK_1.
33098 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33099 <bp-checks.h>.
33100 (___fxstat64): Do not use CHECK_1.
33101 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33102 <bp-checks.h>.
33103 (__fxstatat): Do not use CHECK_1.
33104 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33105 <bp-checks.h>.
33106 (__fxstatat64): Do not use CHECK_1.
33107 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33108 <bp-checks.h>.
33109 (__fxstat): Do not use CHECK_1.
33110 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33111 <bp-checks.h>.
33112 (__fxstatat): Do not use CHECK_1.
33113 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33114 <bp-checks.h>.
33115 (__getresgid): Do not use CHECK_1.
33116 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33117 <bp-checks.h>.
33118 (__getresuid): Do not use CHECK_1.
33119 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33120 <bp-checks.h>.
33121 (__lxstat): Do not use CHECK_1.
33122 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33123 <bp-checks.h>.
33124 (__old_msgctl): Do not use CHECK_1.
33125 (__new_msgctl): Likewise.
33126 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33127 <bp-checks.h>.
33128 (__new_setrlimit): Do not use CHECK_1.
33129 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33130 <bp-checks.h>.
33131 (__old_shmctl): Do not use CHECK_1.
33132 (__new_shmctl): Likewise.
33133 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33134 <bp-checks.h>.
33135 (__xstat): Do not use CHECK_1.
33136 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33137 (__lxstat): Do not use CHECK_1.
33138 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33139 <bp-checks.h>.
33140 (___lxstat64): Do not use CHECK_1.
33141 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33142 (__old_msgctl): Do not use CHECK_1.
33143 (__new_msgctl): Likewise.
33144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33145 <bp-checks.h>.
33146 (__gettimeofday): Do not use CHECK_1.
33147 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33148 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33149 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33150 <bp-checks.h>.
33151 (__gettimeofday): Do not use CHECK_1.
33152 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33153 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33154 (__new_shmctl): Do not use CHECK_1.
33155 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33156 <bp-checks.h>.
33157 (do_sigtimedwait): Do not use CHECK_1.
33158 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33159 <bp-checks.h>.
33160 (do_sigwaitinfo): Do not use CHECK_1.
33161 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33162 <bp-checks.h>.
33163 (msgctl): Do not use CHECK_1.
33164 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33165 <bp-checks.h>.
33166 (shmctl): Do not use CHECK_1.
33167 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33168 (ustat): Do not use CHECK_1.
33169 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33170 <bp-checks.h>.
33171 (__fxstat): Do not use CHECK_1.
33172 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33173 <bp-checks.h>.
33174 (__fxstatat): Do not use CHECK_1.
33175 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33176 <bp-checks.h>.
33177 (__lxstat): Do not use CHECK_1.
33178 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33179 <bp-checks.h>.
33180 (__xstat): Do not use CHECK_1.
33181 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33182 (__xstat): Do not use CHECK_1.
33183 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33184 (___xstat64): Do not use CHECK_1.
33185
b2c9eff4
JM
33186 [BZ #13550]
33187 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33188 definitions.
33189 (CHECK_BOUNDS_HIGH): Likewise.
33190 * string/strcpy.c: Do not include <bp-checks.h>.
33191 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33192
f1d70dad
RM
331932013-02-07 Roland McGrath <roland@hack.frob.com>
33194
33195 * nscd/nscd-client.h (__nscd_drop_map_ref):
33196 Add __attribute__ ((unused)).
33197 * nis/nss-nisplus.h (niserr2nss): Likewise.
33198
33199 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33200 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33201
33202 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33203 Remove inline keyword.
33204 * include/rounding-mode.h (round_away): Likewise.
33205 * libio/wfileops.c (adjust_wide_data): Likewise.
33206 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33207 (__m128i_strloadu_tolower): Likewise.
33208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33209 (__m128i_strloadu_tolower): Likewise.
33210 * time/mktime.c (ydhms_diff): Likewise.
33211 * locale/elem-hash.h (elem_hash): Likewise.
33212 * locale/setlocale.c (setdata): Likewise.
33213 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33214 (re_string_wchar_at): Likewise.
33215 (bitset_not, bitset_merge, bitset_mask): Likewise.
33216 [!(__GNUC__ > 3)] (inline): Remove macro.
33217 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33218 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33219 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33220 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33221 * string/memcmp.c (memcmp_bytes): Likewise.
33222 * locale/programs/locarchive.c (compute_hashval): Likewise.
33223 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33224 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33225 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33226 * nss/getent.c (print_rpc, print_protocols): Likewise.
33227 (print_passwd, print_group, print_aliases): Likewise.
33228 * nis/nss-nisplus.h (niserr2nss): Likewise.
33229 * nscd/connections.c (restart_p): Likewise.
33230 Change return type to bool.
33231
eab55bfb
RM
332322013-02-05 Roland McGrath <roland@hack.frob.com>
33233
7bd642f5
RM
33234 * Makeconfig (all-Depend-files): Add existing
33235 $(sorted-subdirs:=/Depend) files.
33236 (all-subdirs): Remove nss.
33237 * sysdeps/unix/inet/Subdirs: Add it here instead.
33238 * hesiod/Depend: New file.
33239
573c29b2
RM
33240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33241 instead of calling alloca.
33242
b2e25af0
RM
33243 * io/lseek.c (__lseek): Rename to __libc_lseek.
33244 Define __lseek as an alias.
33245
eab55bfb
RM
33246 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33247
9a0d1941
CD
332482013-02-04 Carlos O'Donell <carlos@redhat.com>
33249
33250 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33251 else clause and remove check for non-standard endianness.
33252
b83bbec4
DM
332532013-02-04 David S. Miller <davem@davemloft.net>
33254
33255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33256
6277fdab
JM
332572013-02-04 Joseph Myers <joseph@codesourcery.com>
33258
33259 [BZ #13550]
33260 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33261 (__ubp_memchr): Remove prototype.
33262 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33263 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33264 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33265 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33266 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33267 Remove alias.
33268 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33269 (__ubp_memchr): Likewise.
33270 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33271 (__ubp_memchr): Likewise.
33272 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33273 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33274 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33275 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33276 CHECK_STRING.
33277 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33278 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33279 (__getcwd): Do not use CHECK_STRING.
33280 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33281 <bp-checks.h>.
33282 (__real_chown): Do not use CHECK_STRING.
33283 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33284 <bp-checks.h>.
33285 (fchownat): Do not use CHECK_STRING.
33286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33287 CHECK_STRING.
33288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33289 <bp-checks.h>.
33290 (__lchown): Do not use CHECK_STRING.
33291 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33292 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33294 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33296 include <bp-checks.h>.
33297 (truncate64): Do not use CHECK_STRING.
33298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33299 <bp-checks.h>.
33300 (__real_chown): Do not use CHECK_STRING.
33301 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33302 <bp-checks.h>.
33303 (__lchown): Do not use CHECK_STRING.
33304 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33305 <bp-checks.h>.
33306 (__chown): Do not use CHECK_STRING.
33307 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33308 <bp-checks.h>.
33309 (truncate64): Do not use CHECK_STRING.
33310 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33311 Likewise.
33312 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33313 (__xmknod): Do not use CHECK_STRING.
33314 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33315 <bp-checks.h>.
33316 (__xmknodat): Do not use CHECK_STRING.
33317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33318 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33319
903ae060
AS
333202013-02-04 Andreas Schwab <schwab@suse.de>
33321
33322 [BZ #14142]
33323 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33324 * include/netdb.h: Likewise for h_errno.
33325 * elf/tst-stackguard1.c: Include <tls.h>.
33326
542f9466
JK
333272013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33328
33329 * elf/link.h (struct link_map): Extend the l_addr comment.
33330 * include/link.h (struct link_map): Likewise.
33331
e782a927
JM
333322013-02-01 Joseph Myers <joseph@codesourcery.com>
33333
33334 [BZ #13550]
33335 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33336 (BOUNDED_1): Remove macro.
33337 * debug/backtrace.c: Don't include <bp-checks.h>.
33338 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33339 (__backtrace): Likewise.
33340 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33341 <bp-checks.h>.
33342 (__backtrace): Don't use BOUNDED_1.
33343 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33344 <bp-checks.h>.
33345 (__backtrace): Don't use BOUNDED_1.
33346 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33347 (__backtrace): Don't use BOUNDED_1.
33348 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33349 (shmat): Don't use BOUNDED_N.
33350
8cf28c5e
JM
333512013-01-31 Joseph Myers <joseph@codesourcery.com>
33352
3a7ac8a0
JM
33353 [BZ #13550]
33354 * sysdeps/generic/bp-start.h: Remove file.
33355 * csu/libc-start.c: Don't include <bp-start.h>.
33356 (LIBC_START_MAIN): Set up __environ directly instead of using
33357 INIT_ARGV_and_ENVIRON.
33358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33359 <bp-start.h>.
33360
f3499f95
JM
33361 [BZ #13550]
33362 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33363 definitions.
33364 (CHECK_FCNTL): Likewise.
33365 (CHECK_N_PAGES): Likewise.
33366
32a45bea
JM
33367 [BZ #13550]
33368 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33369 definitions.
33370 (CHECK_SIGSET_NULL_OK): Likewise.
33371 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33372 <bp-checks.h>.
33373 (sigpending): Don't use CHECK_SIGSET.
33374 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33375 <bp-checks.h>.
33376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33377 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33378 <bp-checks.h>.
33379 (do_sigsuspend): Don't use CHECK_SIGSET.
33380 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33381 use CHECK_SIGSET.
33382 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33383 (do_sigwait): Don't use CHECK_SIGSET.
33384 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33385 use CHECK_SIGSET.
33386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33387 include <bp-checks.h>.
33388 (sigpending): Don't use CHECK_SIGSET.
33389 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33390 include <bp-checks.h>.
33391 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33392 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33393 <bp-checks.h>.
33394 (sigpending): Don't use CHECK_SIGSET.
33395 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33396 <bp-checks.h>.
33397 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33398
2e8a5c8c
JM
33399 [BZ #13550]
33400 * sysdeps/generic/bp-semctl.h: Remove file.
33401 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33402 <bp-checks.h> and <bp-semctl.h>.
33403 (__old_semctl): Don't use CHECK_SEMCTL.
33404 (__new_semctl): Likewise.
33405 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33406 and <bp-semctl.h>.
33407 (__old_semctl): Don't use CHECK_SEMCTL.
33408 (__new_semctl): Likewise.
33409 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33410 <bp-checks.h> and <bp-semctl.h>.
33411 (__old_semctl): Don't use CHECK_SEMCTL.
33412 (__new_semctl): Likewise.
33413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33414 <bp-checks.h> and <bp-semctl.h>.
33415 (semctl): Don't use CHECK_SEMCTL.
33416
c2d54929
JM
33417 [BZ #13550]
33418 * Makerules (elide-bp-thunks): Remove variable.
33419 (elide-routines.oS): Don't use $(elide-bp-thunks).
33420 (elide-routines.os): Likewise.
33421 (elide-routines.o): Likewise.
33422 (elide-routines.op): Likewise.
33423 (elide-routines.og): Likewise.
33424 (objects): Don't use $(bp-thunks).
33425 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33426 include.
33427 (common-generated): Do not add s-proto-bp.d.
33428 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33429 (int): Likewise.
33430 (typ): Likewise.
33431 Do not generate makefile rules for bounded-pointer thunks.
33432 * sysdeps/generic/bp-thunks.h: Remove file.
33433 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33434 * sysdeps/unix/s-proto-bp.S: Likewise.
33435
8cf28c5e
JM
33436 [BZ #15062]
33437 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33438 parts of result separately when argument is not close to line from
33439 -i to i and one part of argument is small.
33440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33442 * math/libm-test.inc (cacos_test): Add more tests.
33443 (casin_test): Likewise.
33444 (casinh_test): Likewise.
33445 * sysdeps/i386/fpu/libm-test-ulps: Update.
33446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33447
c4e33b8d
DM
334482013-01-31 David S. Miller <davem@davemloft.net>
33449
33450 * po/de.po: Update from translation team.
33451
3b60b421
MK
334522013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33453
33454 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33455
bb931195
TS
334562013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33457
b5a5da23
TS
33458 * configure.in (_AC_PROG_CC_C89): New definition.
33459 * configure: Regenerate.
33460
bb931195
TS
33461 * configure.in (AC_PROG_CPP): New definition.
33462 * configure: Regenerate.
33463
8c53a12c
JM
334642013-01-23 Joseph Myers <joseph@codesourcery.com>
33465
33466 * debug/tst-backtrace.h: New file.
33467 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33468 (ret): Remove variable.
33469 (x): Likewise.
33470 (FAIL): Remove macro.
33471 (NO_INLINE): Likewise.
33472 (fn1): Use match function instead of strstr.
33473 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33474 (ret): Remove variable.
33475 (x): Likewise.
33476 (FAIL): Remove macro.
33477 (NO_INLINE): Likewise.
33478 (fn): Use match function instead of strstr.
33479 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33480 (ret): Remove variable.
33481 (x): Likewise.
33482 (FAIL): Remove macro.
33483 (NO_INLINE): Likewise.
33484 (handle_signal): Use match function instead of strstr.
33485 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33486 (ret): Remove variable.
33487 (x): Likewise.
33488 (FAIL): Remove macro.
33489 (NO_INLINE): Likewise.
33490 (handle_signal): Use match function instead of strstr.
33491
4858fa2a
RM
334922013-01-23 Roland McGrath <roland@hack.frob.com>
33493
33494 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33495
bae8e7f5
DM
334962013-01-23 David S. Miller <davem@davemloft.net>
33497
33498 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33499 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33500 argument of CAS if possible.
33501 * sysdeps/sparc/sparc64/bits/atomic.h
33502 (__arch_compare_and_exchange_val_32_acq): Likewise.
33503 (__arch_compare_and_exchange_val_64_acq): Likewise.
33504
9cbbc4ae
PT
335052013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33506
33507 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33508 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33509 Include <limits.h>.
67b3f58c 33510 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33511
5655a0b5
AC
335122013-01-23 Adam Conrad <adconrad@0c3.net>
33513
33514 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33515 (LDFLAGS-tst-array5): Likewise.
33516
052aff95
JM
335172013-01-23 Joseph Myers <joseph@codesourcery.com>
33518
33519 [BZ #15036]
33520 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33521 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33522 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33523 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33524
7c1e01aa
DM
335252013-01-21 David S. Miller <davem@davemloft.net>
33526
33527 * sysdeps/sparc/backtrace.c: New file.
33528 * sysdeps/sparc/sparc32/backtrace.h: New file.
33529 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33530 * sysdeps/sparc/sparc64/backtrace.h: New file.
33531 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33532 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33533 -funwind-tables.
33534
ab087e0a
AS
335352013-01-21 Andreas Schwab <schwab@suse.de>
33536
33537 [BZ #15020]
33538 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33539 closed its stdout.
33540
ed689c2f
AS
335412013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33542
33543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33544 "mpa2.h".
33545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33546
31d470ac
JM
335472013-01-18 Joseph Myers <joseph@codesourcery.com>
33548 Mark Mitchell <mark@codesourcery.com>
33549 Tom de Vries <tom@codesourcery.com>
33550 Paul Pluzhnikov <ppluzhnikov@google.com>
33551
33552 * debug/tst-backtrace2.c: New file.
33553 * debug/tst-backtrace3.c: Likewise.
33554 * debug/tst-backtrace4.c: Likewise.
33555 * debug/tst-backtrace5.c: Likewise.
33556 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33557 (CFLAGS-tst-backtrace3.c): Likewise.
33558 (CFLAGS-tst-backtrace4.c): Likewise.
33559 (CFLAGS-tst-backtrace5.c): Likewise.
33560 (LDFLAGS-tst-backtrace2): Likewise.
33561 (LDFLAGS-tst-backtrace3): Likewise.
33562 (LDFLAGS-tst-backtrace4): Likewise.
33563 (LDFLAGS-tst-backtrace5): Likewise.
33564 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33565 tst-backtrace4 and tst-backtrace5.
33566
90567f30 335672013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33568 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33569
33570 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33571 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33572 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33573 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33575 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33576 "+r" and remove output regs list as redundant. Add explicit inline
33577 asm to specify register of return val to work around compiler codegen
33578 bug. Remove (int) cast on return value. Add return type parameter to
33579 use in macro so that this macro does not truncate return value for
33580 64-bit values.
33581 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33582 pass to INTERNAL_VSYSCALL_NCS.
33583 (INLINE_VSYSCALL): Add 'long int' as return type to
33584 INTERNAL_VSYSCALL_NCS macro invocation.
33585 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33586 INTERNAL_VSYSCALL_NCS macro invocation.
33587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33588
d3b9ea61
SP
335892013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33590
0b57daeb
SP
33591 [BZ #14496]
33592 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33593 Fix application of SIMD FP exception mask.
33594
caa99d06
SP
33595 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33596 mp_no from a power of two.
33597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33598 __mpexp_twomm1. Use __pow_mp.
33599
d3b9ea61
SP
33600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33601 multiplication.
33602
1dbaee3c
DM
336032013-01-17 David S. Miller <davem@davemloft.net>
33604
33605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33606
728d7b43
JM
336072013-01-17 Joseph Myers <joseph@codesourcery.com>
33608
33609 [BZ #15023]
33610 * include/complex.h: Condition contents on [!_COMPLEX_H].
33611 (__kernel_casinhf): New prototype.
33612 (__kernel_casinh): Likewise.
33613 (__kernel_casinhl): Likewise.
33614 * math/Makefile (libm_calls): Add k_casinh.
33615 * math/k_casinh.c: New file.
33616 * math/k_casinhf.c: Likewise.
33617 * math/k_casinhl.c: Likewise.
33618 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33619 finite nonzero arguments.
33620 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33621 finite nonzero arguments.
33622 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33623 finite nonzero arguments.
33624 * math/s_casinh.c: Do not include <float.h>.
33625 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33626 * math/s_casinhf.c: Do not include <float.h>.
33627 (__casinhf): Move code for finite nonzero arguments to
33628 k_casinhf.c.
33629 * math/s_casinhl.c: Do not include <float.h>.
33630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33631 redefine.
33632 (__casinhl): Move code for finite nonzero arguments to
33633 k_casinhl.c.
33634 * math/libm-test.inc (cacos_test): Add more tests.
33635 * sysdeps/i386/fpu/libm-test-ulps: Update.
33636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33637
2a26ef3a
PT
336382013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33639
33640 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33641 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33642 [!HAVE_MREMAP]: Remove [defined linux] case.
33643 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33644
a897655d
SP
336452013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33646
33647 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33648
881ebe89 336492013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33650
33651 * elf/elf.h (R_386_SIZE32): New relocation.
33652 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33653 R_386_SIZE32.
33654 (elf_machine_rela): Likewise.
33655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33656 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33657
59981e9b
JM
336582013-01-17 Joseph Myers <joseph@codesourcery.com>
33659
33660 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33661 (FP_FAST_FMA): Do not define.
33662 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33663 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33664 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33665 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33666 !_SOFT_FLOAT]: Likewise.
33667 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33669 value.
33670 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33671 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33672 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33674 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33675 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33676 file.
33677
cfa8054f
AS
336782013-01-16 Andreas Schwab <schwab@suse.de>
33679
33680 [BZ #14327]
33681 * include/stdlib.h (__mktemp): Add declaration.
33682 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33683 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33684
dd930cc5
SP
336852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33686
881ebe89
SP
33687 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33688 definitions.
33689 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33690 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33691 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33692 definitions here.
33693 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33694 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33695 definitions.
33696 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33697 and ONE.
33698 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33699 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33700 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33701 definitions.
33702 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33703 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33704 definitions.
33705 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33706
dd930cc5
SP
33707 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33708
c19a9f89
DM
337092013-01-15 David S. Miller <davem@davemloft.net>
33710
1aa61767
DM
33711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33712 trunc{,f} to libm-sysdep_routes.
33713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33715 file.
33716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33718 file.
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33720 file.
33721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33727 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33728 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33729
c42d5e98
DM
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33731 nearbyint{,f} to libm-sysdep_routes.
33732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33734 New file.
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33736 file.
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33738 New file.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33740 file.
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33744 file.
33745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33747 file.
33748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33749 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33750 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33751
c19a9f89
DM
33752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33753 libc_feholdexcept and libc_fesetenv.
33754
357679d2
MF
337552013-01-15 Mike Frysinger <vapier@gentoo.org>
33756
33757 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33758
65a82e3d
DM
337592013-01-14 David S. Miller <davem@davemloft.net>
33760
8b954ab9
DM
33761 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33762 (SPARC_ASM_VIS2_IFUNC): Likewise.
33763 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33765 use of 'siam' instruction.
33766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33767 Likewise.
33768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33769 Likewise.
33770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33771 Likewise.
33772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33777 file.
33778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33779 file.
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33781 file.
33782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33783 file.
33784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33789 new VIS2 routines.
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33793 Likewise.
33794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33799 routines to libm-sysdep_routines.
33800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33801
65a82e3d
DM
33802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33803 fdim/fdimf to libm-sysdep_routines.
33804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33805 file.
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33808 file.
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33812 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33813 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33814 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33815 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33816
e34ab705
SP
338172013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33818
2a91b573
SP
33819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33820 to optimize copies.
33821
1066a534
SP
33822 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33825
e34ab705
SP
33826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33827 local variable MPTWO.
33828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33829 Likewise.
33830
aba5e596
MF
338312013-01-13 Mike Frysinger <vapier@gentoo.org>
33832
33833 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33834 GLOB_NOESCAPE.
33835
e557e9e5
MF
338362013-01-13 Mike Frysinger <vapier@gentoo.org>
33837
33838 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33839
0428cec9
MF
338402013-01-13 Mike Frysinger <vapier@gentoo.org>
33841
33842 * manual/pattern.texi (glob_t): Document gl_flags.
33843 (glob64_t): Likewise.
33844
8794a964
DM
338452013-01-11 David S. Miller <davem@davemloft.net>
33846
66438c3f
RM
33847 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33848 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33849 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33850 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33851 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33852 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33853 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33854 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33855 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33856 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33857 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33858 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33860
4ae4244d
DM
33861 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33862 sparc V9 rather than using V8 code.
33863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33865
8794a964
DM
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33867 Move to...
33868 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33869 Here.
33870
6270516e
RM
338712013-01-11 Roland McGrath <roland@hack.frob.com>
33872
33873 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33874 not in the main loop.
33875 * configure: Regenerated.
33876
6a57d931
JM
338772013-01-11 Joseph Myers <joseph@codesourcery.com>
33878
33879 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33880 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33881 to just #else.
33882 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33883 [!__GLIBC_HAVE_LONG_LONG] case.
33884 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33885 condition to just #else.
33886 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33887 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33888 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33889 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33890 unconditional.
33891 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33892 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33893 #elif condition to just #else.
33894 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33895 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33896 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33897 #elif condition to just #else.
33898
0e8529e9
SE
338992013-01-11 Steve Ellcey <sellcey@mips.com>
33900
33901 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33902 (EF_MIPS_ARCH_64): Fix value.
33903 (EF_MIPS_ARCH_32R2): New.
33904 (EF_MIPS_ARCH_64R2): New.
33905
740b3dbe
L
339062013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33907
33908 * Makeconfig (+link-pie-before-libc): New.
33909 (+link-pie-after-libc): Likewise.
33910 (+link-pie-tests): Likewise.
33911 (+link-pie): Rewritten.
33912 (link-before-libc): Remove $(config-LDFLAGS).
33913 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33914 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33915 (config-LDFLAGS): Renamed to ...
33916 (rtld-LDFLAGS): This.
33917 (rtld-tests-LDFLAGS): New macro.
33918 (link-libc-rpath-link): Likewise.
33919 (link-libc-tests-rpath-link): Likewise.
33920 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33921 (link-libc): Prepand $(link-libc-rpath-link).
33922 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33923 (test-program-prefix): New macro.
33924 (test-via-rtld-prefix): Likewise.
33925 (test-program-cmd): Likewise.
33926 (host-test-program-cmd): Likewise.
33927 * Makefile ($(common-objpfx)testrun.sh): Replace
33928 $(run-program-prefix) with $(test-program-prefix).
33929 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33930 $(rtld-LDFLAGS).
33931 ($(common-objpfx)shlib.lds): Likewise.
33932 (build-module-helper): Likewise.
33933 ($(common-objpfx)format.lds): Likewise.
33934 * Rules (binaries-pie-tests): New.
33935 (binaries-pie-notests): Likewise.
33936 (binaries-pie): Rewritten.
33937 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33938 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33939 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33940 (make-test-out): Replace $(host-built-program-cmd) with
33941 $(host-test-program-cmd).
33942 * config.make.in (build-hardcoded-path-in-tests): New variable.
33943 * configure.in (--enable-hardcoded-path-in-tests): New configure
33944 option.
33945 (hardcoded_path_in_tests): New AC_SUBST.
33946 * configure: Regenerated.
33947 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33948 $(built-program-cmd) with $(test-program-cmd).
33949 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33950 (test_program_cmd): This.
33951 * elf/Makefile ($(objpfx)order.out): Run test with
33952 $(test-program-prefix).
33953 ($(objpfx)order2.out): Likewise.
33954 ($(objpfx)tst-initorder.out): Likewise.
33955 ($(objpfx)tst-initorder2.out): Likewise.
33956 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33957 $(test-program-cmd).
33958 ($(objpfx)tst-array1-static.out): Likewise.
33959 ($(objpfx)tst-array2.out): Likewise.
33960 ($(objpfx)tst-array3.out): Likewise.
33961 ($(objpfx)tst-array4.out): Likewise.
33962 ($(objpfx)tst-array5.out): Likewise.
33963 ($(objpfx)tst-array5-static.out): Likewise.
33964 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33965 $(test-program-cmd).
33966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33967 $(run-program-prefix) with $(test-program-prefix).
33968 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33969 (test_program_prefix): This.
33970 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33971 $(run-program-prefix) with $(test-program-prefix).
33972 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33973 (test_program_prefix): This.
33974 * iconvdata/tst-tables.sh: Likewise.
33975 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33976 $(run-program-prefix) with $(test-program-prefix).
33977 ($(objpfx)tst-translit.out): Likewise.
33978 ($(objpfx)tst-gettext2.out): Likewise.
33979 ($(objpfx)tst-gettext4.out): Likewise.
33980 ($(objpfx)tst-gettext6.out): Likewise.
33981 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33982 (test_program_prefix): This.
33983 * intl/tst-gettext2.sh: Likewise.
33984 * intl/tst-gettext4.sh Likewise.
33985 * intl/tst-gettext6.sh: Likewise.
33986 * intl/tst-translit.sh: Likewise.
33987 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33988 with $(test-program-cmd).
33989 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33990 $(run-program-prefix) with $(test-program-prefix).
33991 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33992 (test_program_prefix): This.
33993 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33994 $(run-program-prefix) with $(test-program-prefix).
33995 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33996 (test_program_prefix): This.
33997 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33998 * posix/Makefile ($(objpfx)globtest.out): Replace
33999 $(run-via-rtld-prefix) and $(test-wrapper) with
34000 $(test-program-prefix) and $(test-via-rtld-prefix).
34001 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34002 $(test-program-prefix).
34003 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34004 $(host-test-program-cmd).
34005 (tst-spawn-ARGS): Likewise.
34006 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34007 $(test-program-prefix).
34008 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34009 (test_via_rtld_prefix): This.
34010 (test_wrapper): Renamed to ...
34011 (test_program_prefix): This.
34012 (run_program_prefix): Replaced by test_program_prefix.
34013 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34014 (test_program_prefix): This.
34015 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34016 with $(host-test-program-cmd).
34017 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34018 $(run-program-prefix) with $(test-program-prefix).
34019 ($(objpfx)tst-printf.out): Likewise.
34020 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34021 $(test-program-cmd).
34022 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34023 (test_program_prefix): This.
34024 * stdio-common/tst-unbputc.sh: Likewise.
34025 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34026 $(run-program-prefix) with $(test-program-prefix).
34027 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34028 (test_program_prefix): This.
34029 * string/Makefile ($(objpfx)tst-svc.out): Replace
34030 $(built-program-cmd) with $(test-program-cmd).
34031
c6fe55cf
AJ
340322013-01-11 Andreas Jaeger <aj@suse.de>
34033
34034 [BZ #15003]
34035 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34036 value. Sync with Linux 3.7.
34037
9e6919c8
DM
340382013-01-10 David S. Miller <davem@davemloft.net>
34039
34040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34043
1c9f1a02
RM
340442013-01-10 Roland McGrath <roland@hack.frob.com>
34045
34046 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34047 never set.
34048 * configure: Regenerated.
34049
b9de2dde
DM
340502013-01-10 David S. Miller <davem@davemloft.net>
34051
34052 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34053 sparc V9 rather than using V8 code.
34054 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34055 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34056
e7f68ef4
RM
340572013-01-10 Roland McGrath <roland@hack.frob.com>
34058
34059 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34060 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34061 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34062 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34063 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34064 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34065 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34066 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34067 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34068 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34069 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34070 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34071 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34072 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34073 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34074 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34075 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34076 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34077 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34078 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34079 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34080 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34081 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34082 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34083 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34084 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34085 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34086
5a47cc9c
DM
340872013-01-10 David S. Miller <davem@davemloft.net>
34088
34089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34090
4cf8f209
L
340912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 * posix/Makefile (tests-static): New variable.
34094 (tests): Add $(tests-static).
34095 (tst-exec-static-ARGS): New variable.
34096 (tst-spawn-static-ARGS): Likewise.
34097 * posix/tst-exec-static.c: New file.
34098 * posix/tst-spawn-static.c: Likewise.
34099 * posix/tst-exec.c: Support run directly.
34100 * posix/tst-spawn.c: Likewise.
34101
fed0faa1
JM
341022013-01-10 Joseph Myers <joseph@codesourcery.com>
34103
828beb13
JM
34104 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34105 long.
34106 * math/bits/mathcalls.h (llrint): Likewise.
34107 (llround): Likewise.
34108 * stdlib/stdlib.h (struct drand48_data): Likewise.
34109 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34110 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34111 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34112 Likewise.
34113 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34114 Likewise.
34115 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34116 (elf_greg_t): Likewise.
34117 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34118 (__jmp_buf): Likewise.
34119 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34120 definitions.
34121 (llrint): Likewise, for all definitions.
34122 (llrintl): Likewise.
34123
fed0faa1
JM
34124 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34125 Remove [__GNUC__] condition.
34126 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34127 condition to just [__USE_ISOC99].
34128 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34129
1a20cb20
L
341302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34131
34132 [BZ #14200]
34133 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34134 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34135 defined.
34136 (_POSIX_V6_ILP32_OFF32): Likewise.
34137 (_XBS5_ILP32_OFF32): Likewise.
34138 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34139 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34140
751b85f7
SP
341412013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34142
7490eb81
SP
34143 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34144
751b85f7
SP
34145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34146 doubles __mpexp_twomm1. Adjust usage.
34147 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34148 Remove.
34149
988197f0
AS
341502013-01-10 Andreas Schwab <schwab@suse.de>
34151
34152 [BZ #14964]
34153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34154 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34155
e83d7298
DM
341562013-01-09 David S. Miller <davem@davemloft.net>
34157
034ed64b 34158 [BZ #15003]
57f41c40
AS
34159 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34160 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34161 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34162 (TCP_FASTOPEN): Define.
e83d7298
DM
34163 (tcp_repair_opt): New structure.
34164 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34165 enum values.
57f41c40
AS
34166 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34167 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34168 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34169 (tcp_cookie_transactions): New structure.
34170
d5e0b9bd
AB
341712013-01-09 Anton Blanchard <anton@samba.org>
34172
34173 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34174 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34176 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34177
0c07e3ea
JM
341782013-01-09 Joseph Myers <joseph@codesourcery.com>
34179
34180 * include/features.h (__USE_ANSI): Remove.
34181
232f7002
RM
341822013-01-09 Roland McGrath <roland@hack.frob.com>
34183
ad98e30c
RM
34184 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34185
232f7002
RM
34186 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34187
950c99ca
SP
341882013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34189
b5792741
SP
34190 * sysdeps/s390/fpu/libm-test-ulps: Update.
34191
47cf2278
SP
34192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34193
950c99ca
SP
34194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34195 (__acr): Likewise.
34196 (__cpy): Likewise.
34197 (norm): Likewise.
34198 (denorm): Likewise.
34199 (__mp_dbl): Likewise.
34200 (__dbl_mp): Likewise.
34201 (add_magnitudes): Likewise.
34202 (sub_magnitudes): Likewise.
34203 (__add): Likewise.
34204 (__sub): Likewise.
34205 (__mul): Likewise.
34206 (__inv): Likewise.
34207 (__dvd): Likewise.
34208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34209 (__acr): Likewise.
34210 (__cpy): Likewise.
34211 (norm): Likewise.
34212 (denorm): Likewise.
34213 (__mp_dbl): Likewise.
34214 (__dbl_mp): Likewise.
34215 (add_magnitudes): Likewise.
34216 (sub_magnitudes): Likewise.
34217 (__add): Likewise.
34218 (__sub): Likewise.
34219 (__mul): Likewise.
34220 (__inv): Likewise.
34221 (__dvd): Likewise.
34222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34223 (__acr): Likewise.
34224 (__cpy): Likewise.
34225 (norm): Likewise.
34226 (denorm): Likewise.
34227 (__mp_dbl): Likewise.
34228 (__dbl_mp): Likewise.
34229 (add_magnitudes): Likewise.
34230 (sub_magnitudes): Likewise.
34231 (__add): Likewise.
34232 (__sub): Likewise.
34233 (__mul): Likewise.
34234 (__inv): Likewise.
34235 (__dvd): Likewise.
34236
eede9df9
JM
342372013-01-08 Joseph Myers <joseph@codesourcery.com>
34238
34239 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34240 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34241 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34242 2 && __USE_EXTERN_INLINES]: Likewise.
34243
c40ea3d9
AJ
342442013-01-08 Andreas Jaeger <aj@suse.de>
34245
34246 [BZ# 14985]
34247 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34248 Remove.
34249 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34250 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34251
2ccdea26
AB
342522013-01-07 Anton Blanchard <anton@samba.org>
34253
34254 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34255 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34256 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34257 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34259 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34260 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34261 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34264 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34272 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34275 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34277 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34278 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34279 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34280 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34281 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34283 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34284 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34289 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34293 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34294 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34297
a9708fed
JM
342982013-01-07 Joseph Myers <joseph@codesourcery.com>
34299
375607b9
JM
34300 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34301 (__MALLOC_PMT): Likewise.
34302 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34303 [__GNUC__], only on [_LIBC].
34304 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34305 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34306 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34307 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34308 forward declaration.
34309 (realloc_hook_ini): Likewise.
34310 (memalign_hook_ini): Likewise.
34311 (__libc_memalign): Do not use __MALLOC_PMT in variable
34312 declaration.
34313 (__libc_valloc): Likewise.
34314 (__libc_pvalloc): Likewise.
34315 (__libc_calloc): Likewise.
34316 (__posix_memalign): Likewise.
34317
a9708fed
JM
34318 [BZ #14996]
34319 * math/s_casinh.c: Include <float.h>.
34320 (__casinh): Do not do computation with squaring and square root
34321 for large arguments.
34322 * math/s_casinhf.c: Include <float.h>.
34323 (__casinhf): Do not do computation with squaring and square root
34324 for large arguments.
34325 * math/s_casinhl.c: Include <float.h>.
34326 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34327 (__casinhl): Do not do computation with squaring and square root
34328 for large arguments.
34329 * math/libm-test.inc (casin_test): Add more tests.
34330 (casinh_test): Likewise.
34331 * sysdeps/i386/fpu/libm-test-ulps: Update.
34332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34333
afec409a
L
343342013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34337 (__x86_64_raw_data_cache_size): Likewise.
34338 (__x86_64_data_cache_size_half): Likewise.
34339 (__x86_64_raw_data_cache_size_half): Likewise.
34340 (__x86_64_shared_cache_size): Likewise.
34341 (__x86_64_raw_shared_cache_size): Likewise.
34342 (__x86_64_shared_cache_size_half): Likewise.
34343 (__x86_64_raw_shared_cache_size_half): Likewise.
34344 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34345 to ...
34346 (__x86_data_cache_size): This.
34347 (__x86_64_raw_data_cache_size): Renamed to ...
34348 (__x86_raw_data_cache_size): This.
34349 (__x86_64_data_cache_size_half): Renamed to ...
34350 (__x86_data_cache_size_half): This.
34351 (__x86_64_raw_data_cache_size_half): Renamed to ...
34352 (__x86_raw_data_cache_size_half): This.
34353 (__x86_64_shared_cache_size): Renamed to ...
34354 (__x86_shared_cache_size): This.
34355 (__x86_64_raw_shared_cache_size): Renamed to ...
34356 (__x86_raw_shared_cache_size): This.
34357 (__x86_64_shared_cache_size_half): Renamed to ...
34358 (__x86_shared_cache_size_half): This.
34359 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34360 (__x86_raw_shared_cache_size_half): This.
34361 * sysdeps/x86_64/memcpy.S: Updated.
34362 * sysdeps/x86_64/memset.S: Likewise.
34363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34366
0b3986d0
DM
343672013-01-04 David S. Miller <davem@davemloft.net>
34368
34369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34370
e47686e9
AS
343712013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34372
d643bac1
AS
34373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34374 1 to avoid redefinition warning.
34375 (__USE_GNU): Don't define.
34376 (init_signaling_nan): Protoize.
34377
e47686e9
AS
34378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34379
b18decba
SP
343802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34381
fffb407f
SP
34382 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34384 (__cpymn): Likewise.
34385 (norm): Remove commented code.
34386 (denorm): Likewise.
34387 (__mp_dbl): Likewise.
34388 (__inv): Likewise.
34389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34390 (__cpymn): Likewise.
34391 (norm): Remove commented code.
34392 (denorm): Likewise.
34393 (__mp_dbl): Likewise.
34394 (__inv): Likewise.
34395
b18decba
SP
34396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34397 mp_no value for 1.0 and 2.0.
34398 (norm): Use RADIXI instead of radixi.d.
34399 (denorm): Likewise.
34400 (__mul): Use 0.0 instead of zero.d.
34401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34402 mp_no value for 1.0 and 2.0.
34403 (norm): Use RADIXI instead of radixi.d.
34404 (denorm): Likewise.
34405 (__mul): Use 0.0 instead of zero.d.
34406
cdc1c96f
JM
344072013-01-04 Joseph Myers <joseph@codesourcery.com>
34408
34409 [BZ #14994]
34410 * math/s_casinh.c (__casinh): Reduce finite argument to first
34411 quadrant then set signs of results at the end.
34412 * math/s_casinhf.c (__casinhf): Likewise.
34413 * math/s_casinhl.c (__casinhl): Likewise.
34414 * math/libm-test.inc (casin_test): Add more tests.
34415 (casinh_test): Likewise.
34416 * sysdeps/i386/fpu/libm-test-ulps: Update.
34417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34418
302913e1
SP
344192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34420
6420d207
SP
34421 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34422
a9e48ab4
SP
34423 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34424
b7837264
SP
34425 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34426 declarations.
34427 (denorm): Likewise.
34428 (__mp_dbl): Likewise.
34429 (__inv): Likewise.
34430
f8af25d2
SP
34431 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34432 and adjust the header comment.
34433
302913e1
SP
34434 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34435 variable name from declaration.
34436
5d7dd1ca
L
344372013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34438
34439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34440 Initialize COMMON_CPUID_INDEX_7 element.
34441 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34442 (CPUID_RTM): Likewise.
34443 (HAS_RTM): Likewise.
34444 (COMMON_CPUID_INDEX_7): New enum.
34445
2f5f40f4
AS
344462013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34447
34448 [BZ #14981]
34449 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34450 size is zero, record memory as freed.
34451
4056f4a0
AJ
344522013-01-03 Andreas Jaeger <aj@suse.de>
34453
34454 * po/ia.po: Add new Interlingua translation.
34455
ab15736f 344562012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34457
34458 * locale/programs/localedef.c: Fix description of '--posix' flag.
34459
568035b7
JM
344602013-01-02 Joseph Myers <joseph@codesourcery.com>
34461
e6898b8d
JM
34462 * NEWS: Update dates in second copyright notice.
34463 * README: Update copyright dates in example.
34464 * manual/libc.texinfo: Update copyright dates.
34465 * scripts/test-installation.pl: Update copyright date in --version
34466 output.
34467
0e2f9562
JM
34468 * hurd/ctty-input.c: Fix copyright notice formatting.
34469 * hurd/ctty-output.c: Likewise.
34470 * hurd/dtable.c: Likewise.
34471 * hurd/hurd-raise.c: Likewise.
34472 * hurd/hurdprio.c: Likewise.
34473 * hurd/msgportdemux.c: Likewise.
34474 * misc/sys/file.h: Likewise.
34475 * misc/sys/ioctl.h: Likewise.
34476 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34477 * sysdeps/mach/hurd/chdir.c: Likewise.
34478 * sysdeps/mach/hurd/fchdir.c: Likewise.
34479 * sysdeps/mach/hurd/rename.c: Likewise.
34480 * sysdeps/mach/hurd/rmdir.c: Likewise.
34481 * sysdeps/mach/hurd/seekdir.c: Likewise.
34482 * sysdeps/mach/hurd/setsid.c: Likewise.
34483 * sysdeps/posix/wait3.c: Likewise.
34484
568035b7
JM
34485 * All files with FSF copyright notices: Update copyright dates
34486 using scripts/update-copyrights.
34487 * intl/plural.c: Regenerated.
34488 * locale/programs/charmap-kw.h: Likewise.
34489 * locale/programs/locfile-kw.h: Likewise.
34490
da08f647
SP
344912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34492
0f5477af
SP
34493 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34494 four values.
34495
44e0d4c2
SP
34496 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34497 calculation loop and add branch prediction.
34498
4d55b4e5
SP
34499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34500 check access beyond bounds of m1np.
34501
da08f647
SP
34502 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34503 MPTWO.
34504 (__inv): Remove local variable MPTWO to use the global
34505 constant.
34506 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34508 variable MPTWO.
34509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34510 MP3HALFS static const.
34511
8e051029
DM
345122013-01-01 David S. Miller <davem@davemloft.net>
34513
34514 * po/ca.po: Update from translation team.
34515
f4cf5f2d
JM
345162013-01-01 Joseph Myers <joseph@codesourcery.com>
34517
34518 * scripts/update-copyrights: New file.
34519 * Makeconfig: Reformat copyright notice.
34520 * ctype/ctype.h: Likewise.
34521 * debug/swprintf_chk.c: Likewise.
34522 * elf/dl-cache.c: Likewise.
34523 * elf/dl-debug.c: Likewise.
34524 * elf/dl-object.c: Likewise.
34525 * grp/initgroups.c: Likewise.
34526 * hurd/Makefile: Likewise.
34527 * hurd/hurd/signal.h: Likewise.
34528 * hurd/hurdfault.c: Likewise.
34529 * hurd/hurdioctl.c: Likewise.
34530 * hurd/hurdlookup.c: Likewise.
34531 * hurd/intr-msg.c: Likewise.
34532 * iconv/gconv_open.c: Likewise.
34533 * libio/swprintf.c: Likewise.
34534 * locale/lc-ctype.c: Likewise.
34535 * locale/nl_langinfo.c: Likewise.
34536 * mach/Machrules: Likewise.
34537 * mach/Makefile: Likewise.
34538 * malloc/obstack.h: Likewise.
34539 * manual/Makefile: Likewise.
34540 * manual/tsort.awk: Likewise.
34541 * misc/bits/stab.def: Likewise.
34542 * nis/nis_print_group_entry.c: Likewise.
34543 * nis/nis_table.c: Likewise.
34544 * nis/nss_compat/compat-pwd.c: Likewise.
34545 * nis/nss_compat/compat-spwd.c: Likewise.
34546 * po/Makefile: Likewise.
34547 * posix/fnmatch.c: Likewise.
34548 * posix/regex.h: Likewise.
34549 * resolv/Makefile: Likewise.
34550 * resolv/nss_dns/dns-network.c: Likewise.
34551 * resolv/res_hconf.c: Likewise.
34552 * scripts/gen-sorted.awk: Likewise.
34553 * soft-fp/soft-fp.h: Likewise.
34554 * stdio-common/printf.h: Likewise.
34555 * stdlib/monetary.h: Likewise.
34556 * stdlib/random.c: Likewise.
34557 * stdlib/random_r.c: Likewise.
34558 * sysdeps/generic/Makefile: Likewise.
34559 * sysdeps/gnu/Makefile: Likewise.
34560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34570 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34572 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34573 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34574 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34575 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34578 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34580 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34581 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34582 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34588 * sysdeps/mach/hurd/errnos.awk: Likewise.
34589 * sysdeps/mach/hurd/fork.c: Likewise.
34590 * sysdeps/mach/hurd/getcwd.c: Likewise.
34591 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34592 * sysdeps/mach/hurd/mmap.c: Likewise.
34593 * sysdeps/mach/hurd/utimes.c: Likewise.
34594 * sysdeps/mach/hurd/xmknod.c: Likewise.
34595 * sysdeps/posix/profil.c: Likewise.
34596 * sysdeps/posix/readdir_r.c: Likewise.
34597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34598 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34599 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34600 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34602 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34603 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34604 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34606 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34608 * sysdeps/pthread/lio_listio.c: Likewise.
34609 * sysdeps/sparc/dl-procinfo.h: Likewise.
34610 * sysdeps/unix/i386/sysdep.S: Likewise.
34611 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34612 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34613 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34614 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34616 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34617 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34618 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34619 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34620 * sysdeps/wordsize-32/divdi3.c: Likewise.
34621 * time/sys/time.h: Likewise.
34622 * wcsmbs/Makefile: Likewise.
34623
0549fbba
DM
346242013-01-01 David S. Miller <davem@davemloft.net>
34625
a141f1a7
DM
34626 * po/fr.po: Update from translation team.
34627
0549fbba
DM
34628 * catgets/gencat.c: Update copyright year.
34629 * csu/version.c: Likewise.
34630 * debug/catchsegv.sh: Likewise.
34631 * debug/pcprofiledump.c: Likewise.
34632 * debug/xtrace.sh: Likewise.
34633 * elf/ldconfig.c: Likewise.
34634 * elf/ldd.bash.in: Likewise.
34635 * elf/pldd.c: Likewise.
34636 * elf/sotruss.ksh: Likewise.
34637 * elf/sprof.c: Likewise.
34638 * iconv/iconv_prog.c: Likewise.
34639 * iconv/iconvconfig.c: Likewise.
34640 * locale/programs/locale.c: Likewise.
34641 * locale/programs/localedef.c: Likewise.
34642 * login/programs/pt_chown.c: Likewise.
34643 * malloc/memusage.sh: Likewise.
34644 * malloc/memusagestat.c: Likewise.
34645 * malloc/mtrace.pl: Likewise.
34646 * nscd/nscd.c: Likewise.
34647 * nss/getent.c: Likewise.
34648 * nss/makedb.c: Likewise.
34649 * posix/getconf.c: Likewise.
34650
18ea052c
SP
346512012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34652
34653 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34654 numbers.
34655
9c89fca6
MF
346562012-12-30 Mike Frysinger <vapier@gentoo.org>
34657
34658 * math/bits/mathcalls.h (modf): Use __nonnull.
34659
085ec079
SP
346602012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34661
34662 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34663 (split): Use macro CN instead of the bare value.
34664 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34665 could be used.
34666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34667 instead of the bare value.
34668 (power1): Likewise.
34669
6d9f97e1
SP
346702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34671
d63f73be
SP
34672 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34673 __ATAN_TWOM.
34674 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34675
6d9f97e1
SP
34676 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34677 their values.
34678 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34679 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34680 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34681 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34682
4c4febf5
AJ
346832012-12-28 Andreas Jaeger <aj@suse.de>
34684
af5843ef
AJ
34685 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34686 values are from Linux 3.7.
34687
4c4febf5
AJ
34688 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34689 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34690
99136f82
SP
346912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34692
2f216c3c 34693 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34694 TRUE case.
34695
99136f82
SP
34696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34697 (norm): Likewise.
34698 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34699 variables with preprocessor constants.
34700 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34701 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34703
7fffbdff
BH
347042012-12-27 Bruno Haible <bruno@clisp.org>
34705
34706 [BZ #14317]
34707 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34708 only if needed.
34709
b76eb5f0
SP
347102012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34711
31a7fe5c
SP
34712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34713 and use variable directly.
34714 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34715
b76eb5f0
SP
34716 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34717 MPONE.
34718 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34719 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34720 variable MPONE.
34721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34723 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34724 include directive. Remove local variable MPONE.
34725 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34726 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34728
2c8bfe7d
DM
347292012-12-25 David S. Miller <davem@davemloft.net>
34730
34731 * version.h (RELEASE): Set to "development".
34732 (VERSION): Set to "2.17.90".
34733 * NEWS: Add 2.18 section.
34734
147d03b0
DM
347352012-12-21 David S. Miller <davem@davemloft.net>
34736
34737 * po/hr.po: Update from translation team.
34738
a8ebb2b9
AK
347392012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34740
34741 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34742
95b4f1b6
SE
347432012-12-19 Steve Ellcey <sellcey@mips.com>
34744
b2d94007 34745 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34746
cedb2a90
MS
347472012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34748
34749 * manual/contrib.texi (Contributors): Spelling correction.
34750
bbf527d6
DM
347512012-12-15 David S. Miller <davem@davemloft.net>
34752
34753 * po/ru.po: Update from translation team.
34754
bc38c906
DM
347552012-12-13 David S. Miller <davem@davemloft.net>
34756
85429b1a
DM
34757 * NEWS: Mention IFUNC testsuite enhancements.
34758
d283e353
DM
34759 * po/pl.po: Update from translation team.
34760 * po/bg.po: Likewise.
34761
bc38c906
DM
34762 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34763 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34764
a181b0d7
DM
347652012-12-11 David S. Miller <davem@davemloft.net>
34766
4641d57e
DM
34767 * po/sv.po: Update from translation team.
34768
f7bc6495
DM
34769 * po/vi.po: Update from translation team.
34770
6fc9048f
DM
34771 * po/cs.po: Update from translation team.
34772
a181b0d7
DM
34773 * po/de.po: Update from translation team.
34774 * po/eo.po: Likewise.
34775 * po/nl.po: Likewise.
34776
f70bfe80
SP
347772012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34778
3c8b4190
SP
34779 [BZ #14246]
34780 * manual/argp.texi (Argp Helper Functions): Move node to follow
34781 Argp Parsing State.
34782
f70bfe80
SP
34783 [BZ #14872]
34784 * manual/conf.texi (Limits on File System Capacity): Mention if
34785 terminating null is included in the max size.
34786
188f0adf
AJ
347872012-12-10 Andreas Jaeger <aj@suse.de>
34788
34789 * po/cs.po: Update from translation team.
34790
56e7d3ad
SP
347912012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34792
34793 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34794 void pointer and cast to uintptr_t.
34795 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34796 path.
34797 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34798 * sysdeps/s390/s390-64/memset.S: Likewise.
34799
76f2d2ea 348002012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34801
34802 [BZ #14833]
34803 * menual/message.texi (Message Translation): Fix typos.
34804 (Helper programs for gettext): Likewise.
34805
67cbf9a2
AS
348062012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34807
34808 [BZ #14898]
34809 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34810 Change to -1.
34811
682d0e9a
DM
348122012-12-07 David S. Miller <davem@davemloft.net>
34813
34814 * po/libc.pot: Update.
34815
573cd484
RH
348162012-12-07 Richard Henderson <rth@redhat.com>
34817
7e9da188 34818 [BZ #10114]
573cd484
RH
34819 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34820 normal/normal case to before the switch.
34821 (_FP_DIV): Likewise.
34822
e933a943
MF
348232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34824 Mike Frysinger <vapier@gentoo.org>
34825
34826 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34827 check for __NR_fadvise64_64.
34828
82123268
CM
348292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34830
34831 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34832 0, not just to plain "0" as a statement.
34833 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34834 with cw.
34835
d9814526
JM
348362012-12-06 Joseph Myers <joseph@codesourcery.com>
34837
34838 * NEWS: Use sourceware.org in Bugzilla URL.
34839
7728c574
SP
348402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34841
f16946dd
SP
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34843 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34844
5704bbcb
SP
34845 * stdio-common/tst-put-error.c (do_test): Add newline to the
34846 padded test to ensure flush.
34847
17aa0516
JL
348482012-12-05 Jeff Law <law@redhat.com>
34849
34850 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34851
363313b5
JM
348522012-12-05 Joseph Myers <joseph@codesourcery.com>
34853
effbd42a
JM
34854 * README: Don't refer to ports add-on as distributed separately.
34855 Mention AArch64 in list of systems supported in the ports add-on.
34856
87600365
JM
34857 * LICENSES: Add more non-FSF copyright and license notices.
34858
a0d7066a
JM
34859 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34860 ((unused)).
34861
66ca5a5b
JM
34862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34863
363313b5
JM
34864 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34865 10000 as width of padded output.
34866
b37984ad
JM
348672012-12-04 Joseph Myers <joseph@codesourcery.com>
34868
9003570a
JM
34869 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34870
b37984ad
JM
34871 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34872 variable LX with __attribute__ ((unused)).
34873 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34874 Likewise.
34875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34878 with __attribute__ ((unused)).
34879
c8df52ec
DM
348802012-12-04 David S. Miller <davem@abraco.davemloft.net>
34881
34882 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34883
b3b099af
JM
348842012-12-04 Joseph Myers <joseph@codesourcery.com>
34885
c33aa6e3
JM
34886 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34887 (CFLAGS-nldbl-acos.c): New variable.
34888 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34889 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34890 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34891 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34892 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34893 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34894 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34895 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34896 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34897 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34898 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34899 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34900 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34901 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34902 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34903 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34904 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34905 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34906 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34907 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34908 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34909 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34910 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34911 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34912 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34913 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34914 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34915 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34916 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34917 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34918 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34919 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34920 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34921 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34922 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34923 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34924 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34925 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34926 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34927 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34928 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34929 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34930 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34931 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34932 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34933 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34934 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34935 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34936 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34937 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34958 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34959 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34960 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34961 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34962 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34985
20f0018d
JM
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34987 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34988
b3b099af
JM
34989 [BZ #14914]
34990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34991 whole low double instead of just low 47 bits when splitting values
34992 into two parts.
34993
029264d1
AM
349942012-12-03 Allan McRae <allan@archlinux.org>
34995
34996 * manual/stdio.texi (Predefined Printf Handlers): Remove
34997 @hsep and @vsep usage.
34998
c9d6789e
MF
349992012-12-03 Mike Frysinger <vapier@gentoo.org>
35000
35001 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35002 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35003
4b7634a5
JL
350042012-12-03 Jeff Law <law@redhat.com>
35005
35006 * time/sys/time.h (settimeofday): Do not mark TV argument
35007 as __nonnull.
35008
eb6cbd24
MF
350092012-12-01 Mike Frysinger <vapier@gentoo.org>
35010
35011 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35012 when currently writing and seek to current position when not.
35013 * libio/Makefile (tests): Remove bug-fclose1.
35014 * libio/bug-fclose1.c: Delete.
35015
f638872a
JM
350162012-12-01 Joseph Myers <joseph@codesourcery.com>
35017
35018 * manual/arith.texi (feenableexcept): Fix typo.
35019 (fedisableexcept): Likewise.
35020
48085d14
RM
350212012-11-30 Roland McGrath <roland@hack.frob.com>
35022
35023 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35024 second, differently-typed declaration, rather than a cast.
35025
1a538b9f
SP
350262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35027
35028 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35029 * include/rpc/svc.h: ... here.
35030
d07f2ff1 350312012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35032
35033 [BZ #13013]
35034 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35035 depending n and resplen2 to catch cases where answer
35036 equals answerp2.
35037
c93ec1f0
CD
350382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35039
35040 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35041 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35042
37db69de
MF
350432012-11-29 Mike Frysinger <vapier@gentoo.org>
35044
35045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35046
e10c4e4f
RM
350472012-11-29 Roland McGrath <roland@hack.frob.com>
35048
35049 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35050
2af1b328
JL
350512012-11-28 Jeff Law <law@redhat.com>
35052
35053 [BZ #13761]
35054 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35055 dataset_temporary. Track alloca usage into alloca_used.
35056 If dataset is large allocate and release it via malloc/free.
35057
111db5b1
FW
350582012-06-04 Florian Weimer <fweimer@redhat.com>
35059
f06cc227 35060 [BZ #14197]
111db5b1
FW
35061 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35062
dd694abd
DM
350632012-11-28 David S. Miller <davem@davemloft.net>
35064
35065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35066
9984dd01
JM
350672012-11-28 Joseph Myers <joseph@codesourcery.com>
35068
35069 [BZ #14803]
35070 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35071 of pi/2 rounded to nearest to 64 bits.
35072 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35073 nearest to 64 bits.
35074 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35075 bits.
35076
14bc93a9
JL
350772012-11-28 Jeff Law <law@redhat.com>
35078 Martin Osvald <mosvald@redhat.com>
35079
35080 [BZ #14889]
35081 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35082 * sunrpc/svc.c: Include time.h.
35083 (__svc_accept_failed): New function.
35084 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35085 any reason other than EINTR, call __svc_accept_failed.
35086 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35087 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35088
e3c6aa3a
AS
350892012-11-28 Andreas Schwab <schwab@suse.de>
35090
35091 * scripts/abilist.awk: Also handle indirect functions in .opd
35092 section.
35093
1bead169
JM
350942012-11-28 Joseph Myers <joseph@codesourcery.com>
35095
35096 [BZ #13881]
35097 * sysdeps/x86/fpu/powl_helper.c: New file.
35098 * sysdeps/x86/fpu/Makefile: Likewise.
35099 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35100 (p3): New object.
35101 (__ieee754_powl): Use __powl_helper for finite arguments except
35102 integer exponents below 8.
35103 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35104 (p3): New object.
35105 (__ieee754_powl): Use __powl_helper for finite arguments except
35106 integer exponents below 8.
35107 * math/libm-test.inc (pow_test): Add more tests and enable some
35108 previously disabled tests.
35109 * sysdeps/i386/fpu/libm-test-ulps: Update.
35110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35111
0817d63d
SP
351122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35113 Carlos O'Donell <carlos_odonell@mentor.com>
35114
35115 * nss/makedb.c (is_prime): Assert that input is odd and greater
35116 than 4. Note that fact in a comment too.
35117 (next_prime): Add 4 to input.
35118
de2fd463
SP
351192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35120
35121 [BZ #11741]
35122 * libio/Makefile (tests): Add test case tst-fwrite-error.
35123 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35124 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35125 * libio/tst-fwrite-error.c: New test case.
35126
c515fb51
L
351272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35128
35129 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35130 before casting to void *.
35131 * include/libc-internal.h (__pointer_type): New macro.
35132 (__integer_if_pointer_type_sub): Likewise.
35133 (__integer_if_pointer_type): Likewise.
35134 (cast_to_integer): Likewise.
35135 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35136 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35137 before casting to atomic64_t.
35138 (atomic_exchange_acq): Likewise.
35139 (__arch_exchange_and_add_body): Likewise.
35140 (__arch_add_body): Likewise.
35141 (atomic_add_negative): Likewise.
35142 (atomic_add_zero): Likewise.
35143
4cf77aa9
JM
351442012-11-26 Joseph Myers <joseph@codesourcery.com>
35145
35146 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35147 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35148 (add_fdes): Likewise.
35149 (linear_search_fdes): Likewise.
35150 (binary_search_unencoded_fdes): Likewise.
35151
d260b3b4
AS
351522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35153
35154 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35155
67060746
AC
351562012-11-24 Adam Conrad <adconrad@0c3.net>
35157
35158 * configure.in: Autodetect C++ header directories.
35159 * configure: Regenerated.
35160
800938a1
MF
351612012-11-23 Mike Frysinger <vapier@gentoo.org>
35162
35163 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35164
4e6e34e6
AS
351652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35166
35167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35168
7c7feb47
JM
351692012-11-22 Joseph Myers <joseph@codesourcery.com>
35170
7184dcdf
JM
35171 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35172 LDBL_MANT_DIG == 106]: Disable some tests.
35173 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35174 Likewise.
35175 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35176 Likewise.
35177
0a42601f
JM
35178 [BZ #14871]
35179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35180 input for small inputs. Return +/- pi/2 for large inputs.
35181 * math/libm-test.inc (atan_test): Add more tests.
35182
79c9b9fe
JM
35183 * sysdeps/generic/unwind-dw2-fde-glibc.c
35184 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35185 __attribute__ ((unused)).
35186
c60d3bf2
JM
35187 [BZ #14645]
35188 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35189 x * y if x and y are nonzero and z is zero.
35190
ef1e0867
JM
35191 [BZ #14811]
35192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35193 nonzero exponents with absolute value below 0x1p-117 to +/-
35194 0x1p-117.
35195
1468ded3
JM
35196 [BZ #14869]
35197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35198 up arguments below 2**-450, not just those below 2**-500.
35199 * math/libm-test.inc (hypot_test): Add another test.
35200
8e27e3cc
JM
35201 [BZ #14868]
35202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35203 Return a+b for ratio over 2**120, not 2**60.
35204 * math/libm-test.inc (hypot_test): Add another test.
35205
c9c0279b
JM
35206 * math/libm-test.inc (clog_test): Use
35207 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35208 (clog10_test): Likewise.
35209
7c7feb47
JM
35210 [BZ #6778]
35211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35212
fff1530e
AS
352132012-11-22 Andreas Schwab <schwab@suse.de>
35214
35215 * sysdeps/i386/fpu/libm-test-ulps: Update.
35216
94558d30
PT
352172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35218
35219 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35220 printf output with newline.
35221
7e1be741
L
352222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35223
6bfea974
L
35224 [BZ #14865]
35225 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35226 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35227 -z nodlopen, -z initfirst and -z execstack support.
35228 * configure: Regenerated.
35229
7e1be741
L
35230 * elf/elf.h (DF_1_NODIRECT): New macro.
35231 (DF_1_IGNMULDEF): Likewise.
35232 (DF_1_NOKSYMS): Likewise.
35233 (DF_1_NOHDR): Likewise.
35234 (DF_1_EDITED): Likewise.
35235 (DF_1_NORELOC): Likewise.
35236 (DF_1_SYMINTPOSE): Likewise.
35237 (DF_1_GLOBAUDIT): Likewise.
35238 (DF_1_SINGLETON): Likewise.
35239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35240 DT_1_SUPPORTED_MASK bits.
35241 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35242
105ce2ce
CD
352432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35244
35245 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35246
123be9de
TS
352472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35248
d072f3f7
TS
35249 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35250 macro.
35251
123be9de
TS
35252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35253 (sendmmsg): Move declarations...
35254 * socket/sys/socket.h: ... here.
35255 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35256 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35257 include it from...
35258 * socket/recvmmsg.c: ... this new file.
35259 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35260 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35261 definition of __sendmmsg hidden.
35262 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35263 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35264 Move ENOSYS stub into and include it from...
35265 * socket/sendmmsg.c: ... this new file.
35266 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35267 (sysdep_routines): Move recvmmsg and sendmmsg...
35268 * socket/Makefile (routines): ... here.
35269 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35270 (GLIBC_PRIVATE): Add __sendmmsg.
35271 * include/sys/socket.h (__sendmmsg): Add declarations.
35272 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35273 sendmmsg.
35274
cf9a5d18
JM
352752012-11-20 Joseph Myers <joseph@codesourcery.com>
35276
35277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35278 variable I1 with __attribute__ ((unused)).
35279 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35280
ecd4caf9
JM
352812012-11-19 Joseph Myers <joseph@codesourcery.com>
35282
be14d48f
JM
35283 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35284 DUMMY variables with __attribute__ ((unused)).
35285
ecd4caf9
JM
35286 * bits/byteswap.h: Include <bits/types.h>.
35287 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35288
986cab95
PT
352892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35290
35291 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35292 string_t. Do not manually set errno.
35293 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35294 length with __strnlen. Make sure to both set errno and return it on
35295 failure.
35296
6d33cc9d
DM
352972012-11-19 David S. Miller <davem@davemloft.net>
35298
35299 With help from Joseph Myers.
35300 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35301 very large arguments properly.
35302 * math/libm-test.inc (atan_test): New tests.
35303 (atan2_test): New tests.
35304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35306
ee663277
JM
353072012-11-19 Joseph Myers <joseph@codesourcery.com>
35308
877f2d8e
JM
35309 [BZ #14856]
35310 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35311 Define to 3.
35312
116fc08a
JM
35313 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35314 [POSIX] (EADDRNOTAVAIL): Likewise.
35315 [POSIX] (EAFNOSUPPORT): Likewise.
35316 [POSIX] (EALREADY): Likewise.
35317 [POSIX] (ECONNABORTED): Likewise.
35318 [POSIX] (ECONNREFUSED): Likewise.
35319 [POSIX] (ECONNRESET): Likewise.
35320 [POSIX] (EDESTADDRREQ): Likewise.
35321 [POSIX] (EDQUOT): Likewise.
35322 [POSIX] (EHOSTUNREACH): Likewise.
35323 [POSIX] (EIDRM): Likewise.
35324 [POSIX] (EISCONN): Likewise.
35325 [POSIX] (ELOOP): Likewise.
35326 [POSIX] (EMULTIHOP): Likewise.
35327 [POSIX] (ENETDOWN): Likewise.
35328 [POSIX] (ENETUNREACH): Likewise.
35329 [POSIX] (ENOBUFS): Likewise.
35330 [POSIX] (ENODATA): Likewise.
35331 [POSIX] (ENOLINK): Likewise.
35332 [POSIX] (ENOMSG): Likewise.
35333 [POSIX] (ENOPROTOOPT): Likewise.
35334 [POSIX] (ENOSR): Likewise.
35335 [POSIX] (ENOSTR): Likewise.
35336 [POSIX] (ENOTCONN): Likewise.
35337 [POSIX] (ENOTSOCK): Likewise.
35338 [POSIX] (EOPNOTSUPP): Likewise.
35339 [POSIX] (EOVERFLOW): Likewise.
35340 [POSIX] (EPROTO): Likewise.
35341 [POSIX] (EPROTONOSUPPORT): Likewise.
35342 [POSIX] (EPROTOTYPE): Likewise.
35343 [POSIX] (ESTALE): Likewise.
35344 [POSIX] (ETIME): Likewise.
35345 [POSIX] (ETXTBSY): Likewise.
35346 [POSIX] (EWOULDBLOCK): Likewise.
35347 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35348 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35349 [POSIX] (SEEK_CUR): Likewise.
35350 [POSIX] (SEEK_END): Likewise.
35351 [POSIX || UNIX98] (mode_t): Do not require.
35352 [POSIX] (off_t): Likewise.
35353 [POSIX] (pid_t): Likewise.
35354 [POSIX] (sys/stat.h): Do not allow header.
35355 [POSIX] (unistd.h): Likewise.
35356 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35357 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35358 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35359 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35360 require.
35361 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35362 sigevent): Specify elements.
35363 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35364 entry.
35365 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35366 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35367
a483863f
JM
35368 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35369 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35370 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35371 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35372 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35373 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35374 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35375 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35376 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35377 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35378 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35379 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35380 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35381 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35382 Likewise.
35383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35384 Likewise.
35385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35386 Likewise.
35387 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35388 Likewise.
35389 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35390 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35391 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35393 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35394 Specify lower bound on value.
35395 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35397 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35398 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35399 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35400 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35401 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35402 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35403 value.
35404 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35405 as optional.
35406 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35408 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35409 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35410 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35411 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35412 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35413 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35414 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35415 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35416 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35417 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35418 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35419 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35420 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35422 entry.
35423 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35424 optional.
35425 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35426 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35427 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35428 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35429 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35430 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35431 Likewise.
35432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35433 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35434 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35435 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35436 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35437 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35438 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35439 as optional.
35440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35443 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35444 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35445 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35446 specify as optional.
35447 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35448 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35450 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35451 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35452 [XPG3] (NL_LANGMAX): Likewise.
35453 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35454 [POSIX || XPG3] (NL_NMAX): Likewise.
35455 [POSIX || XPG3] (NL_SETMAX): Likewise.
35456 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35457 [XPG3] (NZERO): Likewise.
35458 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35459 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35460 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35461 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35462 (REG_ERANGE): Expect.
35463 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35464 optional-constant.
35465 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35466 Use (void) in prototype.
35467 [POSIX] (*_t): Allow.
35468 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35469 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35470 (WRDE_BADVAL): Expect.
35471
5ba924e3
JM
35472 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35473 expect.
35474 [XPG3 || XPG4] (O_RSYNC): Likewise.
35475 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35476 Likewise.
35477 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35478 [XPG3 || XPG4] (sigqueue): Likewise.
35479 [XPG3 || XPG4] (sigtimedwait): Likewise.
35480 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35481 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35482 [XPG3 || XPG4] (vsnprintf): Likewise.
35483 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35484 Likewise.
35485 [XPG3 || XPG4] (blksize_t): Likewise.
35486 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35487 Likewise.
35488 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35489 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35490 [XPG3 || XPG4] (struct itimerspec): Likewise.
35491 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35492 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35493 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35494 [XPG3 || XPG4] (clockid_t): Likewise.
35495 [XPG3 || XPG4] (timer_t): Likewise.
35496 [XPG3 || XPG4] (clock_getres): Likewise.
35497 [XPG3 || XPG4] (clock_gettime): Likewise.
35498 [XPG3 || XPG4] (clock_settime): Likewise.
35499 [XPG3 || XPG4] (nanosleep): Likewise.
35500 [XPG3 || XPG4] (timer_create): Likewise.
35501 [XPG3 || XPG4] (timer_delete): Likewise.
35502 [XPG3 || XPG4] (timer_gettime): Likewise.
35503 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35504 [XPG3 || XPG4] (timer_settime): Likewise.
35505 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35506 [XPG3 || XPG4] (getlogin_r): Likewise.
35507 [XPG3 || XPG4] (pread): Likewise.
35508 [XPG3 || XPG4] (pthread_atfork): Likewise.
35509 [XPG3 || XPG4] (pwrite): Likewise.
35510
ee663277
JM
35511 [BZ #14835]
35512 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35513 <bits/siginfo.h>.
35514
942caa16
PT
355152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35516
e19af380
PT
35517 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35518 finalizing MALLSTREAM.
35519
942caa16
PT
35520 * sysdeps/mach/hurd/syncfs.c: New file.
35521
cfde9b46
SP
355222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35523
35524 [BZ #14719]
35525 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35526 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35528 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35529 (_nss_dns_gethostbyname4_r): Likewise.
35530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35531 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35532
f6da27e5
PH
355332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35534
35535 [BZ #13763]
35536 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35537
6665d4a2
SM
355382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35539
1f51ee92
SM
35540 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35541 * elf/cache.c (print_entry): Print ",AArch64" for
35542 FLAG_AARCH64_LIB64
35543
6665d4a2
SM
35544 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35545 * elf/cache.c (print_entry): Print ",hard-float" for
35546 FLAG_ARM_LIBHF.
35547
05b227bd
DM
355482012-11-18 David S. Miller <davem@davemloft.net>
35549
35550 With help from Joseph Myers.
35551 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35552 cutoff to 2**-13.
35553 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35554 cutoff to 2**-25.
35555 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35556 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35557 small.
35558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35559 * math/libm-test.inc (y0_test): New tests.
35560 (y1_test): New tests.
35561 * sysdeps/i386/fpu/libm-test-ulps: Update.
35562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35564
786b0b67
AS
355652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35566
35567 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35568 64-bit targets.
35569 * configure: Regenerated.
35570
8e18b86d
DM
355712012-11-17 David S. Miller <davem@davemloft.net>
35572
35573 [BZ #14811]
35574 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35575 nonzero exponents with absolute value below 0x1p-128 to +/-
35576 0x1p-128.
35577
531f1ae0
JM
355782012-11-17 Joseph Myers <joseph@codesourcery.com>
35579
12df29e2
JM
35580 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35581
150dc1a0
JM
35582 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35583
531f1ae0
JM
35584 * posix/getconf-speclist.c: New file.
35585 * posix/posix-envs.def: Likewise.
35586 * posix/confstr.c (START_ENV_GROUP): New macro.
35587 (END_ENV_GROUP): Likewise.
35588 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35589 (KNOWN_PRESENT_ENV_STRING): Likewise.
35590 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35591 (UNKNOWN_ENVIRONMENT): Likewise.
35592 (confstr): Include posix-envs.def instead of handling
35593 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35594 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35595 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35596 (END_ENV_GROUP): Likewise.
35597 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35599 (UNKNOWN_ENVIRONMENT): Likewise.
35600 (__sysconf): Include posix-envs.def instead of handling associated
35601 cases directly here.
35602 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35603 preprocessing getconf-speclist.c rather than running getconf or
35604 generating empty file.
35605
a93f9cbc
PT
356062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35607
35608 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35609
d64d9f87
AL
356102012-11-16 Andrej Lajovic <natrij@gmail.com>
35611
35612 [BZ #14672]
35613 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35614
447885eb
DM
356152012-11-16 David S. Miller <davem@davemloft.net>
35616
35617 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35618 smaller than LDBL_EPSILON/2.0L, just return xm1.
35619
bcbf9830
L
356202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35621
35622 * elf/tst-array1.c (init): Set constructor priority to 1000.
35623 (fini): Set destructor priority to 1000.
35624 * elf/tst-array2dep.c: Likewise.
35625
2b766585
SP
356262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35627
35628 [BZ #11741]
35629 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35630 (_IO_new_file_xsputn): Also return EOF if none of the input
35631 data was written when overflow failed.
35632 * libio/iopadn.c (_IO_padn): Likewise.
35633 * libio/iowpadn.c (_IO_wpadn): Likewise.
35634 * stdio-common/tst-put-error.c: Add copyright notice.
35635 (do_test): Add case for printing padded string.
35636 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35637 _IO_padn returned error.
35638 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35639 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35640 return EOF.
35641
b1848fde
SP
356422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35643
35644 * libio/libioP.h: Add comment note that the references to C++
35645 bits are now obsolete.
35646
2fd89785
MS
356472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35648
35649 * math/libm-test.inc (check_complex): Use asprintf.
35650
e3ea5409
JM
356512012-11-14 Joseph Myers <joseph@codesourcery.com>
35652
35653 * debug/pcprofiledump.c (print_version): Update copyright year.
35654 * malloc/memusagestat.c (print_version): Likewise.
35655
2e64d265
L
356562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35657
35658 [BZ #14831]
35659 * elf/Makefile (tests): Add tst-audit8.
35660 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35661 ($(objpfx)tst-audit8.out): New target.
35662 (tst-audit8-ENV): New variable.
35663 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35664 audit if l_reloc_result is NULL.
35665 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35666 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35667 * elf/tst-audit8.c: New file.
35668
c485e4d2
MS
356692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35670
35671 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35672 * misc/Makefile (CFLAGS-select.c): Define.
35673 * posix/Makefile (CFLAGS-pause.c): Define.
35674
3a0d900a
DM
356752012-11-13 David S. Miller <davem@davemloft.net>
35676
35677 * crypt/Makefile: Move test targets after toplevel Rules
35678 inclusion. Grab any necessary sysdep routines when linking.
35679 * crypt/md5.c (md5_process_block): Remove define, we will always
35680 name it __md5_process_block.
35681 (md5_finish_ctx): Update md5_process_block call.
35682 (md5_stream): Likewise.
35683 (md5_process_bytes): Likewise.
35684 (md5_process_block): Rename to __md5_process_block and move to ...
35685 * crypt/md5-block.c: ... here.
35686 * crypt/sha256.c (sha256_process_block): Move to ...
35687 * crypt/sha256-block.c: ... here.
35688 * crypt/sha512.c (sha512_process_block): Move to ...
35689 * crypt/sha512-block.c: ... here.
35690 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35691 path.
35692 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35693 * sysdeps/sparc/sparc64/multiarch/Makefile
35694 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35695 crypt subdir.
35696 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35698 multiarch changes.
35699 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35700 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35701 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35702 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35703 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35704 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35705 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35706 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35708 file.
35709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35711 file.
35712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35713
8ca89318
JM
357142012-11-13 Joseph Myers <joseph@codesourcery.com>
35715
e27d476a
JM
35716 * timezone/tzselect.ksh: Update from tzcode git revision
35717 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35718 * timezone/zdump.c: Likewise.
35719 * timezone/zic.c: Likewise.
35720 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35721 in TZVERSION setting, not $(PKGVERSION).
35722 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35723 REPORT_BUGS_TO settings.
35724
8ca89318
JM
35725 [BZ #14838]
35726 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35727 macro.
35728
47594329
MS
357292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35730
35731 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35732 detection to immediately after _FP_ROUND().
35733 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35734 bits are 0.
35735
640ac3f1
DM
357362012-11-11 David S. Miller <davem@davemloft.net>
35737
35738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35739 inttypes.h
35740 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35741 __close rather than their public counterparts.
35742
3d2577bb
JM
357432012-11-10 Joseph Myers <joseph@codesourcery.com>
35744
35745 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35746 file.
35747 [UNIX98] (sem_timedwait): Do not expect.
35748 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35749 [XPG4 || UNIX98] (sockatmark): Do not expect.
35750 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35751 (clock_getcpuclockid): Do not expect.
35752 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35753 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35754 Do not expect.
35755 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35756 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35757 [UNIX98] (vwscanf): Likewise.
35758 [UNIX98] (vswscanf): Likewise.
35759
fb1ae1ee
JM
357602012-11-09 Joseph Myers <joseph@codesourcery.com>
35761
9ec6f8bd
JM
35762 * timezone/version.h: Remove file.
35763 * timezone/README: Do not refer to version.h.
35764 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35765 $(objpfx)version.h.
35766 ($(objpfx)zdump.o): Likewise.
c3f81911 35767 ($(objpfx)version.h): New target.
9ec6f8bd 35768
0aa8f8a1
JM
35769 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35770 2012i.
35771 * timezone/README: Don't mention modification to tzselect.ksh.
35772 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35773 work on unmodified tzselect.ksh. Substitute version numbers in
35774 tzselect.ksh.
35775
4e87147f
JM
35776 * Makefile (format-me): Remove.
35777 (INSTALL): Adjust indentation. Use commands directly instead of
35778 using $(format-me).
35779
8b748aed
JM
35780 * aclocal.m4 (ACX_PKGVERSION): New macro.
35781 (ACX_BUGURL): Likewise.
35782 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35783 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35784 (REPORT_BUGS_TO): Likewise.
35785 * configure: Regenerated.
35786 * config.h.in (PKGVERSION): New macro.
35787 (REPORT_BUGS_TO): Likewise.
35788 * config.make.in (PKGVERSION): New variable.
35789 (PKGVERSION_TEXI): Likewise.
35790 (REPORT_BUGS_TO): Likewise.
35791 (REPORT_BUGS_TEXI): Likewise.
35792 * Makefile (format-me): Use -I$(common-objpfx)manual.
35793 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35794 ($(common-objpfx)manual/%): New target.
35795 (manual/%): Remove target.
35796 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35797 (print_version): Use PKGVERSION.
35798 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35799 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35800 and REPORT_BUGS_TO.
35801 ($(objpfx)xtrace): Likewise.
35802 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35803 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35804 (print_version): Use PKGVERSION.
35805 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35806 (do_version): Use PKGVERSION.
35807 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35808 REPORT_BUGS_TO.
35809 (common-ldd-rewrite): Likewise.
35810 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35811 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35812 (print_version): Use PKGVERSION.
35813 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35814 * elf/pldd.c (argp_program_bug_address): Remove variable.
35815 (more_help): New function.
35816 (argp): Use more_help.
35817 (print_version): Use PKGVERSION.
35818 * elf/sln.c (main): Use PKGVERSION.
35819 (usage): Use REPORT_BUGS_TO.
35820 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35821 (top level): Use PKGVERSION.
35822 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35823 (print_version): Use PKGVERSION.
35824 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35825 (print_version): Use PKGVERSION.
35826 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35827 (print_version): Use PKGVERSION.
35828 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35829 (print_version): Use PKGVERSION.
35830 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35831 (print_version): Use PKGVERSION.
35832 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35833 (print_version): Use PKGVERSION.
35834 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35835 and BUGURL.
35836 ($(objpfx)memusage): Likewise.
35837 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35838 (do_version): Use PKGVERSION.
35839 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35840 (print_version): Use PKGVERSION.
35841 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35842 ($PKGVERSION): New variable.
35843 ($REPORT_BUGS_TO): Likewise.
35844 (usage): Use $REPORT_BUGS_TO.
35845 (top level): Use $PKGVERSION.
35846 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35847 ($(objpfx)pkgvers.texi): New rule.
35848 ($(objpfx)stamp-pkgvers): Likewise.
35849 * manual/install.texi: Include pkgvers.texi.
35850 (--with-pkgversion): Document new configure option.
35851 (--with-bugurl): Likewise.
35852 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35853 than necessarily for this particular distribution. Use
35854 REPORT_BUGS_TO for where to report bugs.
35855 * INSTALL: Regenerated.
35856 * manual/libc.texinfo: Include pkgvers.texi.
35857 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35858 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35859 (print_version): Use PKGVERSION.
35860 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35861 (print_version): Use PKGVERSION.
35862 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35863 (print_version): Use PKGVERSION.
35864 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35865 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35866 macro.
35867 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35868 (print_version): Use PKGVERSION.
35869 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35870 (print_version): Use PKGVERSION.
35871 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35872 and PKGVERSION.
35873
92e4b6a9
JM
35874 * timezone/checktab.awk: Update from tzcode 2012i.
35875 * timezone/ialloc.c: Likewise.
35876 * timezone/private.h: Likewise.
35877 * timezone/scheck.c: Likewise.
35878 * timezone/tzfile.h: Likewise.
35879 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35880 (TZVERSION): Hardcode tzcode version number.
35881 * timezone/zdump.c: Update from tzcode 2012i.
35882 * timezone/zic.c: Likewise.
35883 * timezone/version.h: New file.
35884 * timezone/README: Describe version.h. Update upstream location.
35885
9bde902c
JM
35886 [BZ #14824]
35887 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35888 (mktemp): Enable declaration.
35889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35893 Likewise.
35894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35895 Likewise.
35896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35897 Likewise.
35898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35899 Likewise.
35900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35901 Likewise.
35902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35903 Likewise.
35904
fb1ae1ee
JM
35905 [BZ #14821]
35906 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35907 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35908 for copies of such integer values.
35909 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35910 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35911
2c1adbcb
AJ
359122012-11-09 Andreas Jaeger <aj@suse.de>
35913
35914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35915 definitions and declarations that are provided by
35916 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35917
d0f8457e
AK
359182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35919
3a235abb 35920 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35921 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35922 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35923 definition.
35924
57241e26
MS
359252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35926
35927 * elf/elf.h: Update comment before AArch64 relocations.
35928
60e8270d
DM
359292012-11-07 David S. Miller <davem@davemloft.net>
35930
35931 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35933 (__start_context): Declare.
35934 (__makecontext_ret): Delete.
35935 (__makecontext): Hook up __start_context instead of
35936 __makecontext_ret.
35937 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35938 (sysdep_routines): Add __start_context when in stdlib.
35939
0fbb0fbc
JM
359402012-11-07 Joseph Myers <joseph@codesourcery.com>
35941
35942 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35943 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35944 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35945 hardcoded "nm".
35946 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35947 (READELF): New variable. Use it instead of hardcoded "readelf".
35948
eb48db7e
L
359492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35950
35951 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35952 * sysdeps/x86/Makefile: Here.
35953 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35954 * sysdeps/x86/tst-xmmymm.sh: This.
35955
05bcf62a
JM
359562012-11-07 Joseph Myers <joseph@codesourcery.com>
35957
c4b6cf53
JM
35958 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35959 expectations.
35960 [UNIX98] (pthread_barrier_t): Do not expect.
35961 [UNIX98] (pthread_barrierattr_t): Likewise.
35962 [UNIX98] (pthread_spinlock_t): Likewise.
35963 [UNIX98] (pthread_barrier_destroy): Likewise.
35964 [UNIX98] (pthread_barrier_init): Likewise.
35965 [UNIX98] (pthread_barrier_wait): Likewise.
35966 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35967 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35968 [UNIX98] (pthread_barrierattr_init): Likewise.
35969 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35970 [UNIX98] (pthread_getcpuclockid): Likewise.
35971 [UNIX98] (pthread_mutex_timedlock): Likewise.
35972 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35973 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35974 [UNIX98] (pthread_sigmask): Likewise.
35975 [UNIX98] (pthread_spin_destroy): Likewise.
35976 [UNIX98] (pthread_spin_init): Likewise.
35977 [UNIX98] (pthread_spin_lock): Likewise.
35978 [UNIX98] (pthread_spin_trylock): Likewise.
35979 [UNIX98] (pthread_spin_unlock): Likewise.
35980 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35981 Do not expect.
35982 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35984 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35985 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35986 [XPG3 || XPG4] (pthread_key_t): Likewise.
35987 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35988 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35989 [XPG3 || XPG4] (pthread_once_t): Likewise.
35990 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35991 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35993 [XPG3 || XPG4] (pthread_t): Likewise.
35994
cbe6e120
JM
35995 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35996 not expect.
35997 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35998
1b126443
JM
35999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36000 Change function return type to int.
36001
b961a573
JM
36002 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36003 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36004 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36005 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36006 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36007 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36008 [!POSIX] (posix_madvise): Likewise.
36009 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36010 && !UNIX98].
36011 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36012 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36013 (mode_t): Likewise.
36014 (posix_mem_offset): Likewise.
36015 (posix_typed_mem_get_info): Likewise.
36016 (posix_typed_mem_open): Likewise.
36017
9e188909
JM
36018 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36019 Change condition to [XOPEN2K8].
36020
05bcf62a
JM
36021 * conform/conformtest.pl: Preprocess allow-header data with -x c
36022 instead of from stdin.
36023 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36024 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36025 [C99-based standards] (cerfc): Likewise.
36026 [C99-based standards] (cexp2): Likewise.
36027 [C99-based standards] (cexpm1): Likewise.
36028 [C99-based standards] (clog10): Likewise.
36029 [C99-based standards] (clog1p): Likewise.
36030 [C99-based standards] (clog2): Likewise.
36031 [C99-based standards] (clgamma): Likewise.
36032 [C99-based standards] (ctgamma): Likewise.
36033 [C99-based standards] (cerff): Likewise.
36034 [C99-based standards] (cerfcf): Likewise.
36035 [C99-based standards] (cexp2f): Likewise.
36036 [C99-based standards] (cexpm1f): Likewise.
36037 [C99-based standards] (clog10f): Likewise.
36038 [C99-based standards] (clog1pf): Likewise.
36039 [C99-based standards] (clog2f): Likewise.
36040 [C99-based standards] (clgammaf): Likewise.
36041 [C99-based standards] (ctgammaf): Likewise.
36042 [C99-based standards] (cerfl): Likewise.
36043 [C99-based standards] (cerfcl): Likewise.
36044 [C99-based standards] (cexp2l): Likewise.
36045 [C99-based standards] (cexpm1l): Likewise.
36046 [C99-based standards] (clog10l): Likewise.
36047 [C99-based standards] (clog1pl): Likewise.
36048 [C99-based standards] (clog2l): Likewise.
36049 [C99-based standards] (clgammal): Likewise.
36050 [C99-based standards] (ctgammal): Likewise.
36051 * conform/data/inttypes.h-data [C99-based standards]: Include
36052 stdint.h-data. Remove all expectations for stdint.h contents.
36053 [C99-based standards] (PRI*): Do not allow.
36054 [C99-based standards] (SCN*): Likewise.
36055 [C99-based standards] (*_t): Likewise.
36056 [C99-based-standards] (PRId8): Expect macro.
36057 [C99-based-standards] (PRIi8): Likewise.
36058 [C99-based-standards] (PRIo8): Likewise.
36059 [C99-based-standards] (PRIu8): Likewise.
36060 [C99-based-standards] (PRIx8): Likewise.
36061 [C99-based-standards] (PRIX8): Likewise.
36062 [C99-based-standards] (SCNd8): Likewise.
36063 [C99-based-standards] (SCNi8): Likewise.
36064 [C99-based-standards] (SCNo8): Likewise.
36065 [C99-based-standards] (SCNu8): Likewise.
36066 [C99-based-standards] (SCNx8): Likewise.
36067 [C99-based-standards] (PRIdLEAST8): Likewise.
36068 [C99-based-standards] (PRIiLEAST8): Likewise.
36069 [C99-based-standards] (PRIoLEAST8): Likewise.
36070 [C99-based-standards] (PRIuLEAST8): Likewise.
36071 [C99-based-standards] (PRIxLEAST8): Likewise.
36072 [C99-based-standards] (PRIXLEAST8): Likewise.
36073 [C99-based-standards] (SCNdLEAST8): Likewise.
36074 [C99-based-standards] (SCNiLEAST8): Likewise.
36075 [C99-based-standards] (SCNoLEAST8): Likewise.
36076 [C99-based-standards] (SCNuLEAST8): Likewise.
36077 [C99-based-standards] (SCNxLEAST8): Likewise.
36078 [C99-based-standards] (PRIdFAST8): Likewise.
36079 [C99-based-standards] (PRIiFAST8): Likewise.
36080 [C99-based-standards] (PRIoFAST8): Likewise.
36081 [C99-based-standards] (PRIuFAST8): Likewise.
36082 [C99-based-standards] (PRIxFAST8): Likewise.
36083 [C99-based-standards] (PRIXFAST8): Likewise.
36084 [C99-based-standards] (SCNdFAST8): Likewise.
36085 [C99-based-standards] (SCNiFAST8): Likewise.
36086 [C99-based-standards] (SCNoFAST8): Likewise.
36087 [C99-based-standards] (SCNuFAST8): Likewise.
36088 [C99-based-standards] (SCNxFAST8): Likewise.
36089 [C99-based-standards] (PRId16): Likewise.
36090 [C99-based-standards] (PRIi16): Likewise.
36091 [C99-based-standards] (PRIo16): Likewise.
36092 [C99-based-standards] (PRIu16): Likewise.
36093 [C99-based-standards] (PRIx16): Likewise.
36094 [C99-based-standards] (PRIX16): Likewise.
36095 [C99-based-standards] (SCNd16): Likewise.
36096 [C99-based-standards] (SCNi16): Likewise.
36097 [C99-based-standards] (SCNo16): Likewise.
36098 [C99-based-standards] (SCNu16): Likewise.
36099 [C99-based-standards] (SCNx16): Likewise.
36100 [C99-based-standards] (PRIdLEAST16): Likewise.
36101 [C99-based-standards] (PRIiLEAST16): Likewise.
36102 [C99-based-standards] (PRIoLEAST16): Likewise.
36103 [C99-based-standards] (PRIuLEAST16): Likewise.
36104 [C99-based-standards] (PRIxLEAST16): Likewise.
36105 [C99-based-standards] (PRIXLEAST16): Likewise.
36106 [C99-based-standards] (SCNdLEAST16): Likewise.
36107 [C99-based-standards] (SCNiLEAST16): Likewise.
36108 [C99-based-standards] (SCNoLEAST16): Likewise.
36109 [C99-based-standards] (SCNuLEAST16): Likewise.
36110 [C99-based-standards] (SCNxLEAST16): Likewise.
36111 [C99-based-standards] (PRIdFAST16): Likewise.
36112 [C99-based-standards] (PRIiFAST16): Likewise.
36113 [C99-based-standards] (PRIoFAST16): Likewise.
36114 [C99-based-standards] (PRIuFAST16): Likewise.
36115 [C99-based-standards] (PRIxFAST16): Likewise.
36116 [C99-based-standards] (PRIXFAST16): Likewise.
36117 [C99-based-standards] (SCNdFAST16): Likewise.
36118 [C99-based-standards] (SCNiFAST16): Likewise.
36119 [C99-based-standards] (SCNoFAST16): Likewise.
36120 [C99-based-standards] (SCNuFAST16): Likewise.
36121 [C99-based-standards] (SCNxFAST16): Likewise.
36122 [C99-based-standards] (PRId32): Likewise.
36123 [C99-based-standards] (PRIi32): Likewise.
36124 [C99-based-standards] (PRIo32): Likewise.
36125 [C99-based-standards] (PRIu32): Likewise.
36126 [C99-based-standards] (PRIx32): Likewise.
36127 [C99-based-standards] (PRIX32): Likewise.
36128 [C99-based-standards] (SCNd32): Likewise.
36129 [C99-based-standards] (SCNi32): Likewise.
36130 [C99-based-standards] (SCNo32): Likewise.
36131 [C99-based-standards] (SCNu32): Likewise.
36132 [C99-based-standards] (SCNx32): Likewise.
36133 [C99-based-standards] (PRIdLEAST32): Likewise.
36134 [C99-based-standards] (PRIiLEAST32): Likewise.
36135 [C99-based-standards] (PRIoLEAST32): Likewise.
36136 [C99-based-standards] (PRIuLEAST32): Likewise.
36137 [C99-based-standards] (PRIxLEAST32): Likewise.
36138 [C99-based-standards] (PRIXLEAST32): Likewise.
36139 [C99-based-standards] (SCNdLEAST32): Likewise.
36140 [C99-based-standards] (SCNiLEAST32): Likewise.
36141 [C99-based-standards] (SCNoLEAST32): Likewise.
36142 [C99-based-standards] (SCNuLEAST32): Likewise.
36143 [C99-based-standards] (SCNxLEAST32): Likewise.
36144 [C99-based-standards] (PRIdFAST32): Likewise.
36145 [C99-based-standards] (PRIiFAST32): Likewise.
36146 [C99-based-standards] (PRIoFAST32): Likewise.
36147 [C99-based-standards] (PRIuFAST32): Likewise.
36148 [C99-based-standards] (PRIxFAST32): Likewise.
36149 [C99-based-standards] (PRIXFAST32): Likewise.
36150 [C99-based-standards] (SCNdFAST32): Likewise.
36151 [C99-based-standards] (SCNiFAST32): Likewise.
36152 [C99-based-standards] (SCNoFAST32): Likewise.
36153 [C99-based-standards] (SCNuFAST32): Likewise.
36154 [C99-based-standards] (SCNxFAST32): Likewise.
36155 [C99-based-standards] (PRId64): Likewise.
36156 [C99-based-standards] (PRIi64): Likewise.
36157 [C99-based-standards] (PRIo64): Likewise.
36158 [C99-based-standards] (PRIu64): Likewise.
36159 [C99-based-standards] (PRIx64): Likewise.
36160 [C99-based-standards] (PRIX64): Likewise.
36161 [C99-based-standards] (SCNd64): Likewise.
36162 [C99-based-standards] (SCNi64): Likewise.
36163 [C99-based-standards] (SCNo64): Likewise.
36164 [C99-based-standards] (SCNu64): Likewise.
36165 [C99-based-standards] (SCNx64): Likewise.
36166 [C99-based-standards] (PRIdLEAST64): Likewise.
36167 [C99-based-standards] (PRIiLEAST64): Likewise.
36168 [C99-based-standards] (PRIoLEAST64): Likewise.
36169 [C99-based-standards] (PRIuLEAST64): Likewise.
36170 [C99-based-standards] (PRIxLEAST64): Likewise.
36171 [C99-based-standards] (PRIXLEAST64): Likewise.
36172 [C99-based-standards] (SCNdLEAST64): Likewise.
36173 [C99-based-standards] (SCNiLEAST64): Likewise.
36174 [C99-based-standards] (SCNoLEAST64): Likewise.
36175 [C99-based-standards] (SCNuLEAST64): Likewise.
36176 [C99-based-standards] (SCNxLEAST64): Likewise.
36177 [C99-based-standards] (PRIdFAST64): Likewise.
36178 [C99-based-standards] (PRIiFAST64): Likewise.
36179 [C99-based-standards] (PRIoFAST64): Likewise.
36180 [C99-based-standards] (PRIuFAST64): Likewise.
36181 [C99-based-standards] (PRIxFAST64): Likewise.
36182 [C99-based-standards] (PRIXFAST64): Likewise.
36183 [C99-based-standards] (SCNdFAST64): Likewise.
36184 [C99-based-standards] (SCNiFAST64): Likewise.
36185 [C99-based-standards] (SCNoFAST64): Likewise.
36186 [C99-based-standards] (SCNuFAST64): Likewise.
36187 [C99-based-standards] (SCNxFAST64): Likewise.
36188 [C99-based-standards] (PRIdMAX): Likewise.
36189 [C99-based-standards] (PRIiMAX): Likewise.
36190 [C99-based-standards] (PRIoMAX): Likewise.
36191 [C99-based-standards] (PRIuMAX): Likewise.
36192 [C99-based-standards] (PRIxMAX): Likewise.
36193 [C99-based-standards] (PRIXMAX): Likewise.
36194 [C99-based-standards] (SCNdMAX): Likewise.
36195 [C99-based-standards] (SCNiMAX): Likewise.
36196 [C99-based-standards] (SCNoMAX): Likewise.
36197 [C99-based-standards] (SCNuMAX): Likewise.
36198 [C99-based-standards] (SCNxMAX): Likewise.
36199 [C99-based-standards] (PRIdPTR): Likewise.
36200 [C99-based-standards] (PRIiPTR): Likewise.
36201 [C99-based-standards] (PRIoPTR): Likewise.
36202 [C99-based-standards] (PRIuPTR): Likewise.
36203 [C99-based-standards] (PRIxPTR): Likewise.
36204 [C99-based-standards] (PRIXPTR): Likewise.
36205 [C99-based-standards] (SCNdPTR): Likewise.
36206 [C99-based-standards] (SCNiPTR): Likewise.
36207 [C99-based-standards] (SCNoPTR): Likewise.
36208 [C99-based-standards] (SCNuPTR): Likewise.
36209 [C99-based-standards] (SCNxPTR): Likewise.
36210 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36211 allow.
36212 * conform/data/stdint.h-data: Update comments to clarify
36213 requirements.
36214 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36215 type.
36216 [C99-based standards] (INT8_MAX): Likewise.
36217 [C99-based standards] (INT16_MIN): Likewise.
36218 [C99-based standards] (INT16_MAX): Likewise.
36219 [C99-based standards] (INT32_MIN): Likewise.
36220 [C99-based standards] (INT32_MAX): Likewise.
36221 [C99-based standards] (INT64_MIN): Likewise.
36222 [C99-based standards] (INT64_MAX): Likewise.
36223 [C99-based standards] (UINT8_MAX): Likewise.
36224 [C99-based standards] (UINT16_MAX): Likewise.
36225 [C99-based standards] (UINT32_MAX): Likewise.
36226 [C99-based standards] (UINT64_MAX): Likewise.
36227 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36228 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36229 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36230 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36231 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36232 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36233 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36234 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36235 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36236 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36237 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36238 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36239 [C99-based standards] (INT_FAST8_MIN): Likewise.
36240 [C99-based standards] (INT_FAST8_MAX): Likewise.
36241 [C99-based standards] (INT_FAST16_MIN): Likewise.
36242 [C99-based standards] (INT_FAST16_MAX): Likewise.
36243 [C99-based standards] (INT_FAST32_MIN): Likewise.
36244 [C99-based standards] (INT_FAST32_MAX): Likewise.
36245 [C99-based standards] (INT_FAST64_MIN): Likewise.
36246 [C99-based standards] (INT_FAST64_MAX): Likewise.
36247 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36248 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36249 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36250 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36251 [C99-based standards] (INTPTR_MIN): Likewise.
36252 [C99-based standards] (INTPTR_MAX): Likewise.
36253 [C99-based standards] (UINTPTR_MAX): Likewise.
36254 [C99-based standards] (INTMAX_MIN): Likewise.
36255 [C99-based standards] (INTMAX_MAX): Likewise.
36256 [C99-based standards] (UINTMAX_MAX): Likewise.
36257 [C99-based standards] (PTRDIFF_MIN): Likewise.
36258 [C99-based standards] (PTRDIFF_MAX): Likewise.
36259 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36260 [C99-based standards] (SIZE_MAX): Likewise.
36261 [C99-based standards] (WCHAR_MAX): Likewise.
36262 [C99-based standards] (WINT_MAX): Likewise.
36263 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36264 constraint on value.
36265 [C99-based standards] (WCHAR_MIN): Likewise.
36266 [C99-based standards] (WINT_MIN): Likewise.
36267 [C99-based standards] (*_t): Allow.
36268 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36269 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36270 Include math.h-data and complex.h-data. Remove all expectations
36271 of math.h and complex.h contents.
36272 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36273 at end of line.
36274 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36275 (struct tm): Expect tag.
36276 [C99-based-standards] (wcstof): Expect function.
36277 [C99-based-standards] (wcstold): Likewise.
36278 [C99-based-standards] (wcstoll): Likewise.
36279 [C99-based-standards] (wcstoull): Likewise.
36280 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36281 macro-int-constant. Specify type.
36282 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36283 constraint on value.
36284 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36285 Specify type.
36286 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36287 Specify value.
36288 [ISO C standards]: Do not allow headers.
36289 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36290 wcs[abcdefghijklmnopqrstuvwxyz]*.
36291 [ISO C standards] (*_t): Do not allow.
36292 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36293 Expect function.
36294 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36295 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36296 Specify type.
36297 [ISO C standards]: Do not allow headers.
36298 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36299 is[abcdefghijklmnopqrstuvwxyz]*.
36300 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36301 to[abcdefghijklmnopqrstuvwxyz]*.
36302 [ISO C standards] (*_t): Do not allow.
36303 * conform/data/stdalign.h-data: New file.
36304 * conform/data/stdbool.h-data: Likewise.
36305 * conform/data/stdnoreturn.h-data: Likewise.
36306
7514feb8
RM
363072012-11-07 Roland McGrath <roland@hack.frob.com>
36308
36309 [BZ #14815]
36310 * manual/filesys.texi (Directory Entries): Typo fix.
36311 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36312
19b2ecfc
MS
363132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36314
36315 * elf/elf.h (EM_AARCH64): New macro.
36316 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36317 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36318 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36319 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36320 (R_AARCH64_TLSDESC): Likewise.
36321 (NT_ARM_TLS): Likewise.
36322 (NT_ARM_HW_BREAK): Likewise.
36323 (NT_ARM_HW_WATCH): Likewise.
36324
60e235ee
JM
363252012-11-07 Joseph Myers <joseph@codesourcery.com>
36326
36327 [BZ #14811]
36328 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36329 (__ieee754_powl): Saturate nonzero exponents with absolute value
36330 below 0x1p-79 to +/- 0x1p-79.
36331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36332 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36333 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36334 nonzero exponents with absolute value below 0x1p-32 to +/-
36335 0x1p-32.
36336 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36337 (__ieee754_powl): Saturate nonzero exponents with absolute value
36338 below 0x1p-79 to +/- 0x1p-79.
36339 * math/libm-test.inc (pow_test): Add more tests.
36340
0ab234b7
AK
363412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36342
36343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36344 _dl_s390_cap_flags with kernel. Increase string length.
36345 (_dl_s390_platforms): Add z196 and zEC12.
36346
45832f74
JM
363472012-11-07 Joseph Myers <joseph@codesourcery.com>
36348
36349 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36350 Change XOPEN21K to XOPEN2K.
36351
19218757
MK
363522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36353
36354 * string/memmove.c: Use memcpy when possible.
36355
c5f45721
AJ
363562012-11-06 Andreas Jaeger <aj@suse.de>
36357
36358 * po/eo.po: Update from translation team.
36359
82477c28
JM
363602012-11-06 Joseph Myers <joseph@codesourcery.com>
36361
36362 [BZ #14793]
36363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36364 exponent and small x and y exponents, scale x or y up. Increase
36365 by 2 the exponent used in scaling up.
36366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36368 * math/libm-test.inc (fma_test): Add more tests.
36369 (fma_test_towardzero): Likewise.
36370 (fma_test_downward): Likewise.
36371 (fma_test_upward): Likewise.
36372
99252c8c
JM
363732012-11-05 Joseph Myers <joseph@codesourcery.com>
36374
acfa885f
JM
36375 [BZ #14805]
36376 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36377 fenv_t *.
36378
99252c8c
JM
36379 [BZ #14801]
36380 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36381 namespace for names of struct fields.
36382 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36383 fenv_t fields.
36384 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36385 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36386
d6d98dea
ST
363872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36388
36389 [BZ #3665]
36390 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36391
e10bb107
TS
363922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36393
36394 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36395 PTR_DEMANGLE.
36396
36397 [BZ #5246]
36398 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36399 PTR_DEMANGLE.
36400
a0c2940d
JM
364012012-11-04 Joseph Myers <joseph@codesourcery.com>
36402
36403 [BZ #14797]
36404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36405 definitely overflow as x * y not x * y + z.
36406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36408 * math/libm-test.inc (fma_test): Add more tests.
36409 (fma_test_towardzero): Likewise.
36410 (fma_test_downward): Likewise.
36411 (fma_test_upward): Likewise.
36412
b830319d
TS
364132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36414
36415 [BZ #157]
36416
36417 * include/stub-tag.h: Remove file.
36418 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36419 '#include' of it.
36420 * manual/maint.texi (Porting): Don't reference it.
36421 * Makerules ($(objpfx)stubs): Likewise.
36422 * dirent/closedir.c: Don't include <stub-tag.h>.
36423 * dirent/dirfd.c: Likewise.
36424 * dirent/fdopendir.c: Likewise.
36425 * dirent/getdents.c: Likewise.
36426 * dirent/getdents64.c: Likewise.
36427 * dirent/opendir.c: Likewise.
36428 * dirent/readdir.c: Likewise.
36429 * dirent/readdir64.c: Likewise.
36430 * dirent/readdir64_r.c: Likewise.
36431 * dirent/readdir_r.c: Likewise.
36432 * dirent/rewinddir.c: Likewise.
36433 * dirent/seekdir.c: Likewise.
36434 * dirent/telldir.c: Likewise.
36435 * gmon/profil.c: Likewise.
36436 * grp/setgroups.c: Likewise.
36437 * inet/if_index.c: Likewise.
36438 * io/access.c: Likewise.
36439 * io/chdir.c: Likewise.
36440 * io/chmod.c: Likewise.
36441 * io/chown.c: Likewise.
36442 * io/close.c: Likewise.
36443 * io/dup.c: Likewise.
36444 * io/dup2.c: Likewise.
36445 * io/dup3.c: Likewise.
36446 * io/euidaccess.c: Likewise.
36447 * io/faccessat.c: Likewise.
36448 * io/fchdir.c: Likewise.
36449 * io/fchmod.c: Likewise.
36450 * io/fchmodat.c: Likewise.
36451 * io/fchown.c: Likewise.
36452 * io/fchownat.c: Likewise.
36453 * io/fcntl.c: Likewise.
36454 * io/flock.c: Likewise.
36455 * io/fstatfs.c: Likewise.
36456 * io/fstatfs64.c: Likewise.
36457 * io/fstatvfs.c: Likewise.
36458 * io/fstatvfs64.c: Likewise.
36459 * io/futimens.c: Likewise.
36460 * io/fxstat.c: Likewise.
36461 * io/fxstat64.c: Likewise.
36462 * io/fxstatat.c: Likewise.
36463 * io/fxstatat64.c: Likewise.
36464 * io/getcwd.c: Likewise.
36465 * io/isatty.c: Likewise.
36466 * io/lchmod.c: Likewise.
36467 * io/lchown.c: Likewise.
36468 * io/link.c: Likewise.
36469 * io/linkat.c: Likewise.
36470 * io/lseek.c: Likewise.
36471 * io/lseek64.c: Likewise.
36472 * io/lxstat64.c: Likewise.
36473 * io/mkdir.c: Likewise.
36474 * io/mkdirat.c: Likewise.
36475 * io/mkfifo.c: Likewise.
36476 * io/mkfifoat.c: Likewise.
36477 * io/open.c: Likewise.
36478 * io/open64.c: Likewise.
36479 * io/openat.c: Likewise.
36480 * io/openat64.c: Likewise.
36481 * io/pipe.c: Likewise.
36482 * io/pipe2.c: Likewise.
36483 * io/poll.c: Likewise.
36484 * io/posix_fadvise.c: Likewise.
36485 * io/posix_fadvise64.c: Likewise.
36486 * io/posix_fallocate.c: Likewise.
36487 * io/posix_fallocate64.c: Likewise.
36488 * io/read.c: Likewise.
36489 * io/readlink.c: Likewise.
36490 * io/readlinkat.c: Likewise.
36491 * io/rmdir.c: Likewise.
36492 * io/sendfile.c: Likewise.
36493 * io/sendfile64.c: Likewise.
36494 * io/statfs.c: Likewise.
36495 * io/statfs64.c: Likewise.
36496 * io/statvfs.c: Likewise.
36497 * io/statvfs64.c: Likewise.
36498 * io/symlink.c: Likewise.
36499 * io/symlinkat.c: Likewise.
36500 * io/ttyname.c: Likewise.
36501 * io/ttyname_r.c: Likewise.
36502 * io/umask.c: Likewise.
36503 * io/unlink.c: Likewise.
36504 * io/unlinkat.c: Likewise.
36505 * io/utime.c: Likewise.
36506 * io/utimensat.c: Likewise.
36507 * io/write.c: Likewise.
36508 * io/xmknod.c: Likewise.
36509 * io/xmknodat.c: Likewise.
36510 * io/xstat.c: Likewise.
36511 * io/xstat64.c: Likewise.
36512 * login/getpt.c: Likewise.
36513 * login/grantpt.c: Likewise.
36514 * login/unlockpt.c: Likewise.
36515 * math/e_acoshl.c: Likewise.
36516 * math/e_acosl.c: Likewise.
36517 * math/e_asinl.c: Likewise.
36518 * math/e_atan2l.c: Likewise.
36519 * math/e_atanhl.c: Likewise.
36520 * math/e_coshl.c: Likewise.
36521 * math/e_expl.c: Likewise.
36522 * math/e_fmodl.c: Likewise.
36523 * math/e_gammal_r.c: Likewise.
36524 * math/e_hypotl.c: Likewise.
36525 * math/e_j0l.c: Likewise.
36526 * math/e_j1l.c: Likewise.
36527 * math/e_jnl.c: Likewise.
36528 * math/e_lgammal_r.c: Likewise.
36529 * math/e_log10l.c: Likewise.
36530 * math/e_log2l.c: Likewise.
36531 * math/e_logl.c: Likewise.
36532 * math/e_powl.c: Likewise.
36533 * math/e_rem_pio2l.c: Likewise.
36534 * math/e_sinhl.c: Likewise.
36535 * math/e_sqrtl.c: Likewise.
36536 * math/fclrexcpt.c: Likewise.
36537 * math/fedisblxcpt.c: Likewise.
36538 * math/feenablxcpt.c: Likewise.
36539 * math/fegetenv.c: Likewise.
36540 * math/fegetexcept.c: Likewise.
36541 * math/fegetround.c: Likewise.
36542 * math/feholdexcpt.c: Likewise.
36543 * math/fesetenv.c: Likewise.
36544 * math/fesetround.c: Likewise.
36545 * math/feupdateenv.c: Likewise.
36546 * math/fgetexcptflg.c: Likewise.
36547 * math/fraiseexcpt.c: Likewise.
36548 * math/fsetexcptflg.c: Likewise.
36549 * math/ftestexcept.c: Likewise.
36550 * math/k_cosl.c: Likewise.
36551 * math/k_rem_pio2l.c: Likewise.
36552 * math/k_sinl.c: Likewise.
36553 * math/k_tanl.c: Likewise.
36554 * math/s_asinhl.c: Likewise.
36555 * math/s_atanl.c: Likewise.
36556 * math/s_cbrtl.c: Likewise.
36557 * math/s_erfl.c: Likewise.
36558 * math/s_expm1l.c: Likewise.
36559 * math/s_log1pl.c: Likewise.
36560 * math/s_tanhl.c: Likewise.
36561 * misc/acct.c: Likewise.
36562 * misc/brk.c: Likewise.
36563 * misc/chflags.c: Likewise.
36564 * misc/chroot.c: Likewise.
36565 * misc/fchflags.c: Likewise.
36566 * misc/fgetxattr.c: Likewise.
36567 * misc/flistxattr.c: Likewise.
36568 * misc/fremovexattr.c: Likewise.
36569 * misc/fsetxattr.c: Likewise.
36570 * misc/fsync.c: Likewise.
36571 * misc/ftruncate.c: Likewise.
36572 * misc/futimes.c: Likewise.
36573 * misc/futimesat.c: Likewise.
36574 * misc/getdomain.c: Likewise.
36575 * misc/getdtsz.c: Likewise.
36576 * misc/gethostid.c: Likewise.
36577 * misc/gethostname.c: Likewise.
36578 * misc/getloadavg.c: Likewise.
36579 * misc/getpagesize.c: Likewise.
36580 * misc/getsysstats.c: Likewise.
36581 * misc/getxattr.c: Likewise.
36582 * misc/gtty.c: Likewise.
36583 * misc/ioctl.c: Likewise.
36584 * misc/lgetxattr.c: Likewise.
36585 * misc/listxattr.c: Likewise.
36586 * misc/llistxattr.c: Likewise.
36587 * misc/lremovexattr.c: Likewise.
36588 * misc/lsetxattr.c: Likewise.
36589 * misc/lutimes.c: Likewise.
36590 * misc/madvise.c: Likewise.
36591 * misc/mincore.c: Likewise.
36592 * misc/mlock.c: Likewise.
36593 * misc/mlockall.c: Likewise.
36594 * misc/mmap.c: Likewise.
36595 * misc/mprotect.c: Likewise.
36596 * misc/msync.c: Likewise.
36597 * misc/munlock.c: Likewise.
36598 * misc/munlockall.c: Likewise.
36599 * misc/munmap.c: Likewise.
36600 * misc/preadv.c: Likewise.
36601 * misc/preadv64.c: Likewise.
36602 * misc/ptrace.c: Likewise.
36603 * misc/pwritev.c: Likewise.
36604 * misc/pwritev64.c: Likewise.
36605 * misc/readv.c: Likewise.
36606 * misc/reboot.c: Likewise.
36607 * misc/remap_file_pages.c: Likewise.
36608 * misc/removexattr.c: Likewise.
36609 * misc/revoke.c: Likewise.
36610 * misc/select.c: Likewise.
36611 * misc/setdomain.c: Likewise.
36612 * misc/setegid.c: Likewise.
36613 * misc/seteuid.c: Likewise.
36614 * misc/sethostid.c: Likewise.
36615 * misc/sethostname.c: Likewise.
36616 * misc/setregid.c: Likewise.
36617 * misc/setreuid.c: Likewise.
36618 * misc/setxattr.c: Likewise.
36619 * misc/sstk.c: Likewise.
36620 * misc/stty.c: Likewise.
36621 * misc/swapoff.c: Likewise.
36622 * misc/swapon.c: Likewise.
36623 * misc/sync.c: Likewise.
36624 * misc/syncfs.c: Likewise.
36625 * misc/syscall.c: Likewise.
36626 * misc/truncate.c: Likewise.
36627 * misc/ualarm.c: Likewise.
36628 * misc/usleep.c: Likewise.
36629 * misc/ustat.c: Likewise.
36630 * misc/utimes.c: Likewise.
36631 * misc/vhangup.c: Likewise.
36632 * misc/writev.c: Likewise.
36633 * posix/_exit.c: Likewise.
36634 * posix/alarm.c: Likewise.
36635 * posix/execve.c: Likewise.
36636 * posix/fexecve.c: Likewise.
36637 * posix/fork.c: Likewise.
36638 * posix/fpathconf.c: Likewise.
36639 * posix/getaddrinfo.c: Likewise.
36640 * posix/getegid.c: Likewise.
36641 * posix/geteuid.c: Likewise.
36642 * posix/getgid.c: Likewise.
36643 * posix/getgroups.c: Likewise.
36644 * posix/getlogin.c: Likewise.
36645 * posix/getlogin_r.c: Likewise.
36646 * posix/getpgid.c: Likewise.
36647 * posix/getpid.c: Likewise.
36648 * posix/getppid.c: Likewise.
36649 * posix/getresgid.c: Likewise.
36650 * posix/getresuid.c: Likewise.
36651 * posix/getsid.c: Likewise.
36652 * posix/getuid.c: Likewise.
36653 * posix/glob64.c: Likewise.
36654 * posix/nanosleep.c: Likewise.
36655 * posix/pathconf.c: Likewise.
36656 * posix/pause.c: Likewise.
36657 * posix/posix_madvise.c: Likewise.
36658 * posix/pread.c: Likewise.
36659 * posix/pread64.c: Likewise.
36660 * posix/pwrite.c: Likewise.
36661 * posix/pwrite64.c: Likewise.
36662 * posix/sched_getaffinity.c: Likewise.
36663 * posix/sched_getp.c: Likewise.
36664 * posix/sched_gets.c: Likewise.
36665 * posix/sched_primax.c: Likewise.
36666 * posix/sched_primin.c: Likewise.
36667 * posix/sched_rr_gi.c: Likewise.
36668 * posix/sched_setaffinity.c: Likewise.
36669 * posix/sched_setp.c: Likewise.
36670 * posix/sched_sets.c: Likewise.
36671 * posix/sched_yield.c: Likewise.
36672 * posix/setgid.c: Likewise.
36673 * posix/setlogin.c: Likewise.
36674 * posix/setpgid.c: Likewise.
36675 * posix/setresgid.c: Likewise.
36676 * posix/setresuid.c: Likewise.
36677 * posix/setsid.c: Likewise.
36678 * posix/setuid.c: Likewise.
36679 * posix/sleep.c: Likewise.
36680 * posix/spawni.c: Likewise.
36681 * posix/sysconf.c: Likewise.
36682 * posix/times.c: Likewise.
36683 * posix/wait.c: Likewise.
36684 * posix/wait3.c: Likewise.
36685 * posix/wait4.c: Likewise.
36686 * posix/waitpid.c: Likewise.
36687 * resolv/gai_sigqueue.c: Likewise.
36688 * resource/getpriority.c: Likewise.
36689 * resource/getrlimit.c: Likewise.
36690 * resource/getrusage.c: Likewise.
36691 * resource/nice.c: Likewise.
36692 * resource/setpriority.c: Likewise.
36693 * resource/setrlimit.c: Likewise.
36694 * resource/ulimit.c: Likewise.
36695 * rt/aio_cancel.c: Likewise.
36696 * rt/aio_fsync.c: Likewise.
36697 * rt/aio_read.c: Likewise.
36698 * rt/aio_sigqueue.c: Likewise.
36699 * rt/aio_suspend.c: Likewise.
36700 * rt/aio_write.c: Likewise.
36701 * rt/clock_getres.c: Likewise.
36702 * rt/clock_gettime.c: Likewise.
36703 * rt/clock_nanosleep.c: Likewise.
36704 * rt/clock_settime.c: Likewise.
36705 * rt/lio_listio.c: Likewise.
36706 * rt/mq_close.c: Likewise.
36707 * rt/mq_getattr.c: Likewise.
36708 * rt/mq_notify.c: Likewise.
36709 * rt/mq_open.c: Likewise.
36710 * rt/mq_receive.c: Likewise.
36711 * rt/mq_send.c: Likewise.
36712 * rt/mq_setattr.c: Likewise.
36713 * rt/mq_timedreceive.c: Likewise.
36714 * rt/mq_timedsend.c: Likewise.
36715 * rt/mq_unlink.c: Likewise.
36716 * rt/shm_open.c: Likewise.
36717 * rt/shm_unlink.c: Likewise.
36718 * rt/timer_create.c: Likewise.
36719 * rt/timer_delete.c: Likewise.
36720 * rt/timer_getoverr.c: Likewise.
36721 * rt/timer_gettime.c: Likewise.
36722 * rt/timer_settime.c: Likewise.
36723 * setjmp/__longjmp.c: Likewise.
36724 * setjmp/setjmp.c: Likewise.
36725 * signal/kill.c: Likewise.
36726 * signal/killpg.c: Likewise.
36727 * signal/raise.c: Likewise.
36728 * signal/sigaction.c: Likewise.
36729 * signal/sigaltstack.c: Likewise.
36730 * signal/sigblock.c: Likewise.
36731 * signal/sigignore.c: Likewise.
36732 * signal/sigintr.c: Likewise.
36733 * signal/signal.c: Likewise.
36734 * signal/sigpause.c: Likewise.
36735 * signal/sigpending.c: Likewise.
36736 * signal/sigqueue.c: Likewise.
36737 * signal/sigreturn.c: Likewise.
36738 * signal/sigset.c: Likewise.
36739 * signal/sigsetmask.c: Likewise.
36740 * signal/sigstack.c: Likewise.
36741 * signal/sigsuspend.c: Likewise.
36742 * signal/sigtimedwait.c: Likewise.
36743 * signal/sigvec.c: Likewise.
36744 * signal/sigwait.c: Likewise.
36745 * signal/sigwaitinfo.c: Likewise.
36746 * signal/sysv_signal.c: Likewise.
36747 * socket/accept.c: Likewise.
36748 * socket/accept4.c: Likewise.
36749 * socket/bind.c: Likewise.
36750 * socket/connect.c: Likewise.
36751 * socket/getpeername.c: Likewise.
36752 * socket/getsockname.c: Likewise.
36753 * socket/getsockopt.c: Likewise.
36754 * socket/isfdtype.c: Likewise.
36755 * socket/listen.c: Likewise.
36756 * socket/recv.c: Likewise.
36757 * socket/recvfrom.c: Likewise.
36758 * socket/recvmsg.c: Likewise.
36759 * socket/send.c: Likewise.
36760 * socket/sendmsg.c: Likewise.
36761 * socket/sendto.c: Likewise.
36762 * socket/setsockopt.c: Likewise.
36763 * socket/shutdown.c: Likewise.
36764 * socket/sockatmark.c: Likewise.
36765 * socket/socket.c: Likewise.
36766 * socket/socketpair.c: Likewise.
36767 * stdio-common/ctermid.c: Likewise.
36768 * stdio-common/cuserid.c: Likewise.
36769 * stdio-common/remove.c: Likewise.
36770 * stdio-common/rename.c: Likewise.
36771 * stdio-common/renameat.c: Likewise.
36772 * stdio-common/tempname.c: Likewise.
36773 * stdlib/getcontext.c: Likewise.
36774 * stdlib/makecontext.c: Likewise.
36775 * stdlib/setcontext.c: Likewise.
36776 * stdlib/swapcontext.c: Likewise.
36777 * stdlib/system.c: Likewise.
36778 * streams/fattach.c: Likewise.
36779 * streams/fdetach.c: Likewise.
36780 * streams/getmsg.c: Likewise.
36781 * streams/getpmsg.c: Likewise.
36782 * streams/putmsg.c: Likewise.
36783 * streams/putpmsg.c: Likewise.
36784 * sysdeps/unix/bsd/getpt.c: Likewise.
36785 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36786 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36787 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36789 Likewise.
36790 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36791 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36792 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36793 * sysvipc/msgctl.c: Likewise.
36794 * sysvipc/msgget.c: Likewise.
36795 * sysvipc/msgrcv.c: Likewise.
36796 * sysvipc/msgsnd.c: Likewise.
36797 * sysvipc/semctl.c: Likewise.
36798 * sysvipc/semget.c: Likewise.
36799 * sysvipc/semop.c: Likewise.
36800 * sysvipc/semtimedop.c: Likewise.
36801 * sysvipc/shmat.c: Likewise.
36802 * sysvipc/shmctl.c: Likewise.
36803 * sysvipc/shmdt.c: Likewise.
36804 * sysvipc/shmget.c: Likewise.
36805 * termios/tcdrain.c: Likewise.
36806 * termios/tcflow.c: Likewise.
36807 * termios/tcflush.c: Likewise.
36808 * termios/tcgetattr.c: Likewise.
36809 * termios/tcgetpgrp.c: Likewise.
36810 * termios/tcsendbrk.c: Likewise.
36811 * termios/tcsetattr.c: Likewise.
36812 * termios/tcsetpgrp.c: Likewise.
36813 * time/adjtime.c: Likewise.
36814 * time/clock.c: Likewise.
36815 * time/getitimer.c: Likewise.
36816 * time/gettimeofday.c: Likewise.
36817 * time/setitimer.c: Likewise.
36818 * time/settimeofday.c: Likewise.
36819 * time/stime.c: Likewise.
36820 * time/time.c: Likewise.
36821
368222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36823
a20492cf
PT
36824 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36825 /usr/old/bin.
36826
72e182e3
PT
36827 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36828 instead of spaces.
36829 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36830
fbeafede
JM
368312012-11-03 Joseph Myers <joseph@codesourcery.com>
36832
5b5b04d6
JM
36833 [BZ #14796]
36834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36835 FE_TONEAREST before applying Dekker multiplication and Knuth
36836 addition. Clear inexact exceptions and check for exact zero
36837 results afterwards.
36838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36841 * math/libm-test.inc (fma_test): Add more tests.
36842 (fma_test_towardzero): Likewise.
36843 (fma_test_downward): Likewise.
36844 (fma_test_upward): Likewise.
36845 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36846 function.
36847 (libc_fesetround): New macro.
36848 (libc_fesetroundf): Likewise.
36849 (libc_fesetroundl): Likewise.
36850 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36851 function.
36852 (libc_fesetround_387): Likewise.
36853 (libc_fesetroundf): New macro.
36854 (libc_fesetround): Likewise.
36855 (libc_fesetroundl): Likewise.
36856 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36857 function.
36858 (libc_fesetroundf): New macro.
36859 (libc_fesetround): Likewise.
36860 (libc_fesetroundl): Likewise.
36861 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36862 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36863 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36864 libm_hidden_ver.
36865 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36866 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36867 libm_hidden_def.
36868 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36869 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36870 libm_hidden_ver.
36871 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36872 libm_hidden_def.
36873
fbeafede
JM
36874 [BZ #3439]
36875 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36876 integer constant usable in #if and use that to give value to enum
36877 constant.
36878 (FE_DIVBYZERO): Likewise.
36879 (FE_UNDERFLOW): Likewise.
36880 (FE_OVERFLOW): Likewise.
36881 (FE_INVALID): Likewise.
36882 (FE_INVALID_SNAN): Likewise.
36883 (FE_INVALID_ISI): Likewise.
36884 (FE_INVALID_IDI): Likewise.
36885 (FE_INVALID_ZDZ): Likewise.
36886 (FE_INVALID_IMZ): Likewise.
36887 (FE_INVALID_COMPARE): Likewise.
36888 (FE_INVALID_SOFTWARE): Likewise.
36889 (FE_INVALID_SQRT): Likewise.
36890 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36891 (FE_TONEAREST): Likewise.
36892 (FE_TOWARDZERO): Likewise.
36893 (FE_UPWARD): Likewise.
36894 (FE_DOWNWARD): Likewise.
36895 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36896 (FE_DIVBYZERO): Likewise.
36897 (FE_OVERFLOW): Likewise.
36898 (FE_UNDERFLOW): Likewise.
36899 (FE_INEXACT): Likewise.
36900 (FE_TONEAREST): Likewise.
36901 (FE_DOWNWARD): Likewise.
36902 (FE_UPWARD): Likewise.
36903 (FE_TOWARDZERO): Likewise.
36904 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36905 (FE_UNDERFLOW): Likewise.
36906 (FE_OVERFLOW): Likewise.
36907 (FE_DIVBYZERO): Likewise.
36908 (FE_INVALID): Likewise.
36909 (FE_TONEAREST): Likewise.
36910 (FE_TOWARDZERO): Likewise.
36911 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36912 (FE_OVERFLOW): Likewise.
36913 (FE_UNDERFLOW): Likewise.
36914 (FE_DIVBYZERO): Likewise.
36915 (FE_INEXACT): Likewise.
36916 (FE_TONEAREST): Likewise.
36917 (FE_TOWARDZERO): Likewise.
36918 (FE_UPWARD): Likewise.
36919 (FE_DOWNWARD): Likewise.
36920 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36921 (FE_DIVBYZERO): Likewise.
36922 (FE_OVERFLOW): Likewise.
36923 (FE_UNDERFLOW): Likewise.
36924 (FE_INEXACT): Likewise.
36925 (FE_TONEAREST): Likewise.
36926 (FE_DOWNWARD): Likewise.
36927 (FE_UPWARD): Likewise.
36928 (FE_TOWARDZERO): Likewise.
36929
105ca950
CM
369302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36931
36932 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36933
a542b389
AS
369342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36935
36936 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36937 commands. Quote $PWD.
36938 (blacklist_exports): Don't use remove_newlines. Replace "declare
36939 -x" by "export".
36940 (remove_newlines): Remove.
36941
f62c8abc
L
369422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36943
36944 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36945 * stdlib/stdlib.h (atof): Moved to ...
36946 * include/bits/stdlib-float.h: Here. New file.
36947 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36948 * stdlib/bits/stdlib-float.h: New file.
36949 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36950 -mno-sse -mno-mmx.
36951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36952 <xmmintrin.h>.
36953
0155d5b2
JM
369542012-11-02 Joseph Myers <joseph@codesourcery.com>
36955
a68d0680
JM
36956 * conform/conformtest.pl (@headers): Add fenv.h.
36957 * conform/data/fenv.h-data: New file.
36958 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36959 include of <math/fenv.h>.
36960
caf7f573
JM
36961 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36962 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36963 && !UNIX98]. Enables tests for XOPEN2K8.
36964 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36965 POSIX2008]: Likewise.
36966
6c073ad6
JM
36967 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36968 (struct rusage): Do not expect type or its members.
36969
0155d5b2
JM
36970 [BZ #3439]
36971 * math/math.h (FP_NAN): Define macro to integer constant usable in
36972 #if and use that to give value to enum constant.
36973 (FP_INFINITE): Likewise.
36974 (FP_ZERO): Likewise.
36975 (FP_SUBNORMAL): Likewise.
36976 (FP_NORMAL): Likewise.
36977
b5dcacb4
AS
369782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36979
36980 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36981 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36982 arguments.
36983
f7934be8
RM
369842012-11-02 Roland McGrath <roland@hack.frob.com>
36985
36986 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36987 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36988 autoconf-time if not.
36989 * configure.in: Remove AC_PREREQ.
36990
d7d08bde
TMQMF
369912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36992
36993 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36994 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36995 of the internal implementation.
36996
dcdae19a
JM
369972012-11-02 Joseph Myers <joseph@codesourcery.com>
36998
36999 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37000 except include of <misc/sys/syslog.h>.
37001
d6cffd3e
AS
370022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37003
37004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37005 function returns with a NULL context exit with zero.
37006
b3563932
TMQMF
370072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37008
37009 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37010
b288a93d
L
370112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37012
37013 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37014 (run_program_cmd): This.
37015 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37016 (tst_langinfo): New variable. Use it.
37017
a2421a68
SAS
370182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37019
37020 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37021 floating point opcodes.
37022
6f796e1b
TS
370232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37024
7402596b
TS
37025 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37026 variable.
37027
d0d4f868
TS
37028 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37029
6f796e1b
TS
37030 * sysdeps/mach/hurd/powerpc: Remove directory.
37031 * sysdeps/mach/powerpc: Likewise.
37032
4da224a2
AS
370332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37034
37035 * scripts/check-local-headers.sh: Ignore c++ headers.
37036
341dd673
TS
370372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37038
37039 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37040 __libc_cleanup_region_start argument.
37041
473611b2
JM
370422012-11-01 Joseph Myers <joseph@codesourcery.com>
37043
37044 [BZ #14784]
37045 [BZ #14785]
37046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37047 x * y using scaling, not as x * y + z.
37048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37050 * math/libm-test.inc (fma_test): Add more tests.
37051 (fma_test_towardzero): Likewise.
37052 (fma_test_downward): Likewise.
37053 (fma_test_upward): Likewise.
37054
4078da3d
TS
370552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37056
37057 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37058
903252aa
JM
370592012-10-31 Joseph Myers <joseph@codesourcery.com>
37060
37061 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37062 New variable.
37063
cbc818d0
TS
370642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37065
37066 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37067
5a03cb1e
AS
370682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37069
37070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37071 Fix sort order.
37072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37073 Likewise.
37074
90aff2ff
TMQMF
370752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37076
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37078 Fix the order of the list for glibc 2.17.
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37080 Likewise.
37081
1818fcb7
AS
370822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37083
37084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37085
ef82f4da
JM
370862012-10-31 Joseph Myers <joseph@codesourcery.com>
37087
16a0e2ec
JM
37088 [BZ #14610]
37089 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37090 for low part of x being zero before using __atanl (y).
37091 * math/libm-test.inc (atan2_test): Add another test.
37092
0eb69512
JM
37093 * manual/install.texi (Configuring and compiling): Document
37094 general use of test-wrapper and test-wrapper-env.
37095 * INSTALL: Regenerated.
37096
ef82f4da
JM
37097 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37098 (__fma): Do not extract and scale down low bits on after-rounding
37099 systems when result rounded to normal precision would have normal
37100 exponent.
37101 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37102 (__fmal): Do not extract and scale down low bits on after-rounding
37103 systems when result rounded to normal precision would have normal
37104 exponent.
37105 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37106 (__fmal): Do not extract and scale down low bits on after-rounding
37107 systems when result rounded to normal precision would have normal
37108 exponent.
37109 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37110 macro.
37111 (fma_test): Add more tests.
37112 (fma_test_towardzero): Likewise.
37113 (fma_test_downward): Likewise.
37114 (fma_test_upward): Likewise.
37115
954ef0d9
L
371162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37117
37118 * sysdeps/i386/tininess.h: Renamed to ...
37119 * sysdeps/x86/tininess.h: This.
37120 * sysdeps/x86_64/tininess.h: Removed.
37121
df61ffb2
JM
371222012-10-30 Joseph Myers <joseph@codesourcery.com>
37123
37124 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37125 input. Use $(build-program-cmd).
37126 ($(objpfx)tst-array1-static.out): Likewise.
37127 ($(objpfx)tst-array2.out): Likewise.
37128 ($(objpfx)tst-array3.out): Likewise.
37129 ($(objpfx)tst-array4.out): Likewise.
37130 ($(objpfx)tst-array5.out): Likewise.
37131 ($(objpfx)tst-array5-static.out): Likewise.
37132
01767843
CM
371332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37134
47cc1490
CM
37135 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37136 if defined.
37137
01767843
CM
37138 * nss/nsswitch.h (nss_interface_function): Provide new
37139 macro for use with NSS functions.
37140 * grp/initgroups.c: Use new macro.
37141 * nss/getXXbyYY.c: Likewise.
37142 * nss/getXXbyYY_r.c: Likewise.
37143 * nss/getXXent.c: Likewise.
37144 * nss/getXXent_r.c: Likewise.
37145 * sysdeps/posix/getaddrinfo.c: Likewise.
37146
8321aa97
AJ
371472012-10-30 Andreas Jaeger <aj@suse.de>
37148
37149 * po/ru.po: Update Russion translation from translation project.
37150
2a27fd6d
JM
371512012-10-30 Joseph Myers <joseph@codesourcery.com>
37152
8627a232
JM
37153 [BZ #14152]
37154 [BZ #14783]
37155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37156 result and shift together with sticky bit instead of replicating
37157 round-to-nearest rounding.
37158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37160 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37161 missing underflow exceptions.
37162 (fma_test_towardzero): Add more tests.
37163 (fma_test_downward): Likewise.
37164 (fma_test_upward): Likewise.
37165
2a27fd6d
JM
37166 [BZ #14047]
37167 * sysdeps/generic/tininess.h: New file.
37168 * sysdeps/i386/tininess.h: Likewise.
37169 * sysdeps/sh/tininess.h: Likewise.
37170 * sysdeps/x86_64/tininess.h: Likewise.
37171 * stdlib/tst-strtod-underflow.c: Likewise.
37172 * stdlib/tst-tininess.c: Likewise.
37173 * stdlib/strtod_l.c: Include <tininess.h>.
37174 (round_and_return): Do not set errno for exact underflow cases.
37175 Force an underflow exception when setting errno for underflow.
37176 Determine underflow based on rounding to normal precision if
37177 TININESS_AFTER_ROUNDING.
37178 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37179 ERANGE for exact underflow cases.
37180 * stdlib/Makefile (tests): Add tst-tininess and
37181 tst-strtod-underflow.
37182 ($(objpfx)tst-tininess): Use $(link-libm).
37183 ($(objpfx)tst-strtod-underflow): Likewise.
37184
e7170363
AJ
371852012-10-30 Andreas Jaeger <aj@suse.de>
37186
e5088dc6
AJ
37187 [BZ#14767]
37188 * elf/Makefile (tests): Remove conditional for have-initfini-array
37189 since this is now always required and the variable does not exist
37190 anymore.
37191 (tests-static): Likewise.
37192 (modules-names): Likewise.
37193
e7170363 37194 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37195
37196 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37197 merged with constructor/destructor.
37198 (init_array): Likewise.
37199 * elf/tst-array2dep.c (fini_array): Likewise.
37200 (init_array): Likewise.
37201
60457d8a
MF
372022012-10-29 Mike Frysinger <vapier@gentoo.org>
37203
37204 * manual/message.texi: Delete @cartouche tags.
37205
8bece752
PT
372062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37207
94ce799f
PT
37208 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37209 EOPNOTSUPP.
37210 * sysdeps/mach/hurd/fsync.c: Likewise.
37211
8bece752
PT
37212 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37213 [_POSIX_REALTIME_SIGNALS]: Change condition to
37214 [_POSIX_REALTIME_SIGNALS > 0].
37215
86ebe6b1
AJ
372162012-10-27 Andreas Jaeger <aj@suse.de>
37217
37218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37219 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37221 [__WORDSIZE != 64]: Likewise.
37222
54399c08
L
372232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37224
37225 * iconvdata/tst-table.sh: Remove ${SHELL}.
37226 * iconvdata/tst-tables.sh: Likewise.
37227
e2211bed
DM
372282012-10-25 David S. Miller <davem@davemloft.net>
37229
37230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37231 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37232 of strtoull.
37233
f303f97c
DM
37234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37235 ifunc-impl-list.c
37236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37237 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37238 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37239 file.
37240
1e9d84cd
RM
372412012-10-25 Roland McGrath <roland@hack.frob.com>
37242
37243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37244 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37245 __getdirentries.
37246
df381762
JM
372472012-10-25 Joseph Myers <joseph@codesourcery.com>
37248 Jim Blandy <jimb@codesourcery.com>
37249
37250 * scripts/cross-test-ssh.sh: New file.
37251 * manual/install.texi (Configuring and compiling): Document use of
37252 cross-test-ssh.sh.
37253 * INSTALL: Regenerated.
37254
bff64913
PT
372552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37256
37257 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37258 EOPNOTSUPP.
37259
25fe8932
JM
372602012-10-25 Joseph Myers <joseph@codesourcery.com>
37261
37262 * Makeconfig (run-program-prefix): Fix comment.
37263
cc1290d0
JM
372642012-10-24 Joseph Myers <joseph@codesourcery.com>
37265 Jim Blandy <jimb@codesourcery.com>
37266
37267 * Makeconfig (test-wrapper): New variable,
37268 (test-wrapper-env): Likewise.
37269 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37270 (run-built-tests): Define to yes.
37271 (run-program-prefix): Use $(test-wrapper).
37272 (built-program-cmd): Likewise.
37273 * Rules (make-test-out): Use $(test-wrapper-env) and
37274 $(host-built-program-cmd).
37275 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37276 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37277 tst-pathopt.sh.
37278 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37279 $(test-wrapper-env) to tst-rtld-load-self.sh.
37280 ($(objpfx)order2.out): Use $(test-wrapper).
37281 ($(objpfx)tst-initorder.out): Likewise.
37282 ($(objpfx)tst-initorder2.out): Likewise.
37283 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37284 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37285 (test_wrapper_env): New variable. Use it to run ld.so.
37286 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37287 Use it to run ld.so.
37288 (test_wrapper_env): Likewise.
37289 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37290 $(test-wrapper) to run-iconv-test.sh.
37291 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37292 (ICONV): Use $test_wrapper.
37293 * posix/Makefile ($(objpfx)globtest.out): Pass
37294 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37295 globtest.sh, not $(run-program-prefix).
37296 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37297 (test_wrapper): Likewise.
37298 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37299 set together with run_via_rtld_prefix.
37300 (run_program_prefix): Define in terms of test_wrapper and
37301 run_via_rtld_prefix.
37302
6e6249d0
RM
373032012-10-24 Roland McGrath <roland@hack.frob.com>
37304
37305 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37306 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37307 Targets removed.
37308
37309 [BZ #14743]
37310 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37311 Declare __clock_getres, __clock_gettime, __clock_settime,
37312 __clock_nanosleep, and __clock_getcpuclockid.
37313 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37314 Remove librt_hidden_def (clock_gettime).
37315 * sysdeps/unix/clock_gettime.c: Likewise.
37316 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37318 * rt/clock_getres.c: Define __clock_getres as an alias.
37319 * sysdeps/posix/clock_getres.c: Likewise.
37320 * rt/clock_settime.c: Define __clock_settime as an alias.
37321 * sysdeps/unix/clock_settime.c: Likewise.
37322 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37323 * sysdeps/unix/clock_nanosleep.c: Likewise.
37324 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37325 * rt/clock-compat.c: New file.
37326 * rt/Makefile (librt-routines): Add clock-compat and move
37327 $(clock-routines) to ...
37328 (routines): ... here, new variable.
37329 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37330 Don't add get_clockfreq here.
37331 * rt/Versions (libc: GLIBC_2.17): New version set.
37332 Add clock_* symbols here.
37333 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37335 (GLIBC_2.17): Add clock_* symbols.
37336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37340 Likewise.
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37342 Likewise.
37343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37347 * NEWS: Mention the move.
37348
37349 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37350 Use __open, __read, __close rather than their public counterparts.
37351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37352 (__get_clockfreq_via_cpuinfo): Likewise.
37353 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37354 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37355
37356 * config.h.in (HAVE_IFUNC): New #undef.
37357 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37358 was successful.
37359 * configure: Regenerated.
37360
0cae3f4b
MF
373612012-10-24 Mike Frysinger <vapier@gentoo.org>
37362
37363 * configure.in: Move READELF check to start of file.
37364 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37365 libc_cv_asm_gnu_indirect_function in the process.
37366 * configure: Regenerated.
37367
8175a253
MF
373682012-10-24 Mike Frysinger <vapier@gentoo.org>
37369
37370 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37371 send the output to /dev/null.
37372 (libc_cv_cc_with_libunwind): Likewise.
37373 (libc_cv_as_noexecstack): Likewise.
37374 * configure: Regenerate.
37375
0708a7d1
JM
373762012-10-24 Joseph Myers <joseph@codesourcery.com>
37377
10b40d85
JM
37378 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37379
0708a7d1
JM
37380 * posix/globtest.sh (TMPDIR): Do not set.
37381 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37382 (testout): Likewise.
37383
9fddec1a
AJ
373842012-10-24 Andreas Jaeger <aj@suse.de>
37385
3a8db22f
AJ
37386 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37387 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37388 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37389 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37390 posix_fadvise64, posix_fallocate64.
37391
9fddec1a
AJ
37392 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37393 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37394 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37395 Likewise.
37396 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37397 Likewise.
37398 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37399
37400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37401 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37402 <bits/fcntl-linux.h>.
37403 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37404
37405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37406 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37407 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37408 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37409 [__WORDSIZE != 64]: Likewise.
37410
ebfd1bbd
JM
374112012-10-23 Joseph Myers <joseph@codesourcery.com>
37412
03ac099f
JM
37413 * Makeconfig (run-built-tests): New variable.
37414 * Rules [$(cross-compiling) = yes]: Change condition to
37415 [$(run-built-tests) = no].
37416 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37417 to [$(run-built-tests) = yes].
37418 * elf/Makefile [$(cross-compiling) = no]: Likewise
37419 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37420 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37421 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37422 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37423 * io/Makefile [$(cross-compiling) = no]: Likewise.
37424 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37425 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37426 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37427 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37428 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37429 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37430 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37431 * string/Makefile [$(cross-compiling) = no]: Likewise.
37432
ebfd1bbd
JM
37433 * posix/Makefile ($(objpfx)globtest.out): Pass
37434 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37435 $(rtld-installed-name).
37436 * posix/globtest.sh (elf_objpfx): Remove variable.
37437 (rtld_installed_name): Likewise.
37438 (library_path): Likewise.
37439 (run_program_prefix): New variable. Use for running globtest
37440 binary.
37441
166bca24
JB
374422012-10-23 Jim Blandy <jimb@codesourcery.com>
37443 Joseph Myers <joseph@codesourcery.com>
37444
37445 * Makeconfig (host-built-program-cmd): New variable.
37446 * elf/Makefile (tst-stackguard1-ARGS): Use
37447 $(host-built-program-cmd).
37448 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37449 (tst-spawn-ARGS): Likewise.
37450 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37451
88866099
JM
374522012-10-23 Joseph Myers <joseph@codesourcery.com>
37453 Jim Blandy <jimb@codesourcery.com>
37454
37455 * Makeconfig (run-via-rtld-prefix): New variable.
37456 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37457 (built-program-cmd): Likewise.
37458
b4b4c296
AJ
374592012-10-22 Andreas Jaeger <aj@suse.de>
37460
37461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37462 __O_RSYNC if it exists, otherwise to O_SYNC.
37463
6fb54a22
JB
374642012-10-22 Jim Blandy <jimb@codesourcery.com>
37465 Joseph Myers <joseph@codesourcery.com>
37466
37467 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37468 /dev/null.
37469 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37470 from /dev/null
37471 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37472 /dev/null.
37473
481b90b9
AJ
374742012-10-22 Andreas Jaeger <aj@suse.de>
37475
2a0e2669
AJ
37476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37477 Define always.
37478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37479
76e38f9a
AJ
37480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37481 bits/fcntl-linux.h.
37482
7cd37b43
AJ
37483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37484 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37485
481b90b9
AJ
37486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37487 to __O_LARGEFILE.
37488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37489 to __O_LARGEFILE.
37490
aba75984
JB
374912012-10-21 Jim Blandy <jimb@codesourcery.com>
37492 Joseph Myers <joseph@codesourcery.com>
37493
37494 * config.make.in (NM): New variable.
37495
88d4247f
AJ
374962012-10-21 Andreas Jaeger <aj@suse.de>
37497
37498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37499 definitions and declarations that are provided by
37500 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37501
f2eed205
L
375022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37503
37504 [BZ #14683]
37505 * elf/Makefile (tests-static): Add tst-leaks1-static.
37506 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37507 ($(objpfx)tst-leaks1-static): New rule.
37508 ($(objpfx)tst-leaks1-static-mem): Likewise.
37509 (tst-leaks1-static-ENV): New macro.
37510 * elf/dl-open.c (dl_open_worker): Check the main application
37511 only if SHARED is defined.
37512 * elf/tst-leaks1-static.c: New file.
37513
335e6931
AJ
375142012-10-20 Andreas Jaeger <aj@suse.de>
37515
37516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37517 generic values for Linux.
37518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37519 and declarations that are provided by <bits/fcntl-linux.h> and
37520 include <bits/fcntl-linux.h>.
37521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37523
ac5c94d3
RM
375242012-10-20 Roland McGrath <roland@hack.frob.com>
37525
37526 * io/fcntl.h: Move include of <bits/types.h> to the top and
37527 include it unconditionally.
37528
de54b33a
L
375292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37530
228cfb01
L
37531 * wcsmbs/Makefile (tests-ifunc): New variable.
37532 (tests): Add $(tests-ifunc).
37533 * wcsmbs/test-wcschr-ifunc.c: New file.
37534 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37535 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37536 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37537 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37538 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37539
69f07e5f
L
37540 * string/Makefile (tests-ifunc): New variable.
37541 (tests): Add $(tests-ifunc).
37542 * string/test-memccpy.c (TEST_NAME): New macro.
37543 * string/test-memchr.c (TEST_NAME): Likewise.
37544 * string/test-memcmp.c (TEST_NAME): Likewise.
37545 * string/test-memcpy.c (TEST_NAME): Likewise.
37546 * string/test-memmem.c (TEST_NAME): Likewise.
37547 * string/test-memmove.c (TEST_NAME): Likewise.
37548 * string/test-memset.c (TEST_NAME): Likewise.
37549 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37550 * string/test-stpcpy.c (TEST_NAME): Likewise.
37551 * string/test-stpncpy.c (TEST_NAME): Likewise.
37552 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37553 * string/test-strcasestr.c (TEST_NAME): Likewise.
37554 * string/test-strcat.c (TEST_NAME): Likewise.
37555 * string/test-strchr.c (TEST_NAME): Likewise.
37556 * string/test-strcmp.c(TEST_NAME): Likewise.
37557 * string/test-strcpy.c (TEST_NAME): Likewise.
37558 * string/test-strcspn.c (TEST_NAME): Likewise.
37559 * string/test-strlen.c (TEST_NAME): Likewise.
37560 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37561 * string/test-strncmp.c (TEST_NAME): Likewise.
37562 * string/test-strncpy.c (TEST_NAME): Likewise.
37563 * string/test-strnlen.c (TEST_NAME): Likewise.
37564 * string/test-strpbrk.c (TEST_NAME): Likewise.
37565 * string/test-strrchr.c (TEST_NAME): Likewise.
37566 * string/test-strspn.c (TEST_NAME): Likewise.
37567 * string/test-strstr.c (TEST_NAME): Likewise.
37568 * string/test-bcopy-ifunc.c: New file.
37569 * string/test-bzero-ifunc.c: Likewise.
37570 * string/test-memccpy-ifunc.c: Likewise.
37571 * string/test-memchr-ifunc.c: Likewise.
37572 * string/test-memcmp-ifunc.c: Likewise.
37573 * string/test-memcpy-ifunc.c: Likewise.
37574 * string/test-memmem-ifunc.c: Likewise.
37575 * string/test-memmove-ifunc.c: Likewise.
37576 * string/test-mempcpy-ifunc.c: Likewise.
37577 * string/test-memset-ifunc.c: Likewise.
37578 * string/test-rawmemchr-ifunc.c: Likewise.
37579 * string/test-stpcpy-ifunc.c: Likewise.
37580 * string/test-stpncpy-ifunc.c: Likewise.
37581 * string/test-strcasecmp-ifunc.c: Likewise.
37582 * string/test-strcasestr-ifunc.c: Likewise.
37583 * string/test-strcat-ifunc.c: Likewise.
37584 * string/test-strchr-ifunc.c: Likewise.
37585 * string/test-strchrnul-ifunc.c: Likewise.
37586 * string/test-strcmp-ifunc.c: Likewise.
37587 * string/test-strcpy-ifunc.c: Likewise.
37588 * string/test-strcspn-ifunc.c: Likewise.
37589 * string/test-strlen-ifunc.c: Likewise.
37590 * string/test-strncasecmp-ifunc.c: Likewise.
37591 * string/test-strncat-ifunc.c: Likewise.
37592 * string/test-strncmp-ifunc.c: Likewise.
37593 * string/test-strncpy-ifunc.c: Likewise.
37594 * string/test-strnlen-ifunc.c: Likewise.
37595 * string/test-strpbrk-ifunc.c: Likewise.
37596 * string/test-strrchr-ifunc.c: Likewise.
37597 * string/test-strspn-ifunc.c: Likewise.
37598 * string/test-strstr-ifunc.c: Likewise.
37599
de54b33a
L
37600 * debug/Makefile (tests-ifunc): New variable.
37601 (tests): Add $(tests-ifunc).
37602 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37603 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37604 * debug/test-stpcpy_chk-ifunc.c: New file.
37605 * debug/test-strcpy_chk-ifunc.c: Likewise.
37606
88481c16
SP
376072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37608
37609 [BZ #13601]
37610 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37611 header is not read in.
37612
135948bd
JM
376132012-10-19 Joseph Myers <joseph@codesourcery.com>
37614
89f1c388
JM
37615 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37616 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37617 directly. Pass built executable to script as
37618 $(built-program-cmd).
37619 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37620 $testprogram without using LD_LIBRARY_PATH and $ldso.
37621
e40a0d21
JM
37622 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37623 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37624 $(rtld-installed-name).
37625 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37626 (rtld_installed_name): Likewise.
37627 (library_path): Likewise.
37628 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37629 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37630 $(run-program-prefix) to tst-tables.sh.
37631 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37632 it to run tst-table-from and tst-table-to.
37633 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37634 Pass it to tst-table.sh.
37635 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37636 $(run-program-prefix) to tst-gettext.sh.
37637 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37638 tst-translit.sh.
37639 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37640 tst-gettext2.sh.
37641 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37642 to run tst-gettext.
37643 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37644 to run tst-gettext2.
37645 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37646 to run tst-translit.
37647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37648 $(run-program-prefix) to tst-mtrace.sh.
37649 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37650 to run tst-mtrace.
37651 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37652 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37653 $(rtld-installed-name).
37654 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37655 (rtld_installed_name): Likewise.
37656 (run_program_prefix): New variable. Use it to run wordexp-test.
37657
728e272a
JM
37658 * Makeconfig (ARCH): Remove all definitions.
37659 (machine): Likewise.
37660 [ARCH]: Remove conditional code.
37661 [!objdir]: Give error.
37662 [!objdir] (objpfx): Remove.
37663 [!objdir] (common-objpfx): Likewise.
37664 [!objdir] (common-objdir): Likewise.
37665 * configure.in (config_makefile): Remove. Hardcode Makefile in
37666 AC_CONFIG_FILES call.
37667 * configure: Regenerated.
37668
d528cdcf
JM
37669 [BZ #13888]
37670 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37671 or TMPDIR.
37672 (testout): Likewise.
37673
135948bd
JM
37674 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37675 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37676 $(rtld-installed-name).
37677 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37678 (rtld_installed_name): Likwise.
37679 (runit): Remove function.
37680 (run_getconf): New variable, Use it for running getconf binary.
37681
38c78296
L
376822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37683
37684 [BZ #14716]
37685 * string/test-memmem.c (check_result): New function.
37686 (do_one_test): Use it.
37687 (check1): New function.
37688 (test_main): Use it.
37689
d077f65f
MT
376902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37691
37692 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37693
ced52c71
JM
376942012-10-18 Joseph Myers <joseph@codesourcery.com>
37695
37696 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37697 (_G_LSEEK64): Likewise.
37698 (_G_MMAP64): Likewise.
37699 (_G_FSTAT64): Likewise.
37700 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37701 (_G_LSEEK64): Likewise.
37702 (_G_MMAP64): Likewise.
37703 (_G_FSTAT64): Likewise.
37704 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37705 unconditional. Call __mmap64 directly.
37706 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37707 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37708 __lseek64 directly.
37709 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37710 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37711 __mmap64 directly.
37712 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37713 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37714 __lseek64 directly.
37715 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37716 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37717 __lseek64 directly.
37718 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37719 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37720 __lseek64 directly.
37721 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37722 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37723 __fxstat64 directly.
37724 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37725 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37726 unconditional.
37727 (freopen64) [!_G_OPEN64]: Remove conditional code.
37728 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37729 unconditional.
37730 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37731 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37732 unconditional.
37733 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37734 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37735 unconditional.
37736 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37737 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37738 unconditional.
37739 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37740 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37741 unconditional.
37742 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37743 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37744 unconditional.
37745 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37746 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37747 unconditional.
37748 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37749
b741de23
SP
377502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37751
37752 [BZ #12140]
37753 * manual/memory.texi (Malloc Tunable Parameters): Add note
37754 about free list pointers overwriting some perturb bytes.
37755 Wording suggested by Roland McGrath.
37756
f9b9d9c9
JM
377572012-10-17 Joseph Myers <joseph@codesourcery.com>
37758
37759 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37760 (lgamma_test): Likewise.
37761 (tgamma_test): Likewise.
37762
172a631a
FW
377632012-10-16 Florian Weimer <fweimer@redhat.com>
37764
37765 [BZ #14700]
37766 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37767 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37768
e9f37252
MK
377692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37770
37771 * NEWS: Mention BZ #14716.
37772 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37773 when removing AVAILABLE1_USES_J macro.
37774
d394eb74
L
377752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37776
37777 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37778 (__bswap_64): __uint64_t for unsigned 64-bit int.
37779
ca38dc17
AS
377802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37781
37782 * include/string.h (memmem): Declare libc hidden alias.
37783 * string/memmem.c (memmem): Define libc hidden alias.
37784 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37785 __read, __close instead of open, read, close.
37786
9a387d1f
L
377872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37788
ac49ecaf
L
37789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37790 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37791 global and hidden.
37792 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37793 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37794 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37795 Likewise.
37796 (__rawmemchr_sse2): Likewise.
37797 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37798 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37799 (__strchr_sse2): Likewise.
37800 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37801 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37802 (__strcasecmp_sse2): Likewise.
37803 (__strncasecmp_sse2): Likewise.
37804 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37805 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37806 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37807 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37808 (__strrchr_sse2): Likewise.
37809 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37810 ifunc-impl-list.c.
37811 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37812 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37813 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37814 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37815 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37816 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37817 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37818 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37819 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37820 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37821 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37823 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37824 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37825 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37826 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37827 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37828 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37829 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37830 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37831 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37832 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37833 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37834 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37835 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37837 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37838 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37839 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37840 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37841
b090e8ea
L
37842 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37843 global and hidden.
37844 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37845 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37846 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37847 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37848 Likewise.
37849 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37850 Likewise.
37851 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37852 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37853 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37854 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37855 ifunc-impl-list.c.
37856 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37874 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37882 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37886 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37897
11dd4af6
L
37898 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37899 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37900 * include/ifunc-impl-list.h: New file.
37901 * misc/ifunc-impl-list.c: Likewise.
37902 * misc/Makefile (routines): Add ifunc-impl-list.
37903 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37904 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37905 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37906 TEST_NAME]: New variables.
11dd4af6
L
37907 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37908 are defined.
37909 (test_init): Call __libc_ifunc_impl_list to initialize
37910 func_list if TEST_IFUNC and TEST_NAME are defined.
37911
9a387d1f
L
37912 * string/Makefile (strop-tests): Add bcopy and bzero.
37913 * string/test-bcopy.c: New file.
37914 * string/test-bzero.c: Likewise.
37915 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37916 defined.
37917 * string/test-memset.c: Support bzero test if TEST_BZERO is
37918 defined.
37919 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37920 __libc_memmove.
37921 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37922 __libc_memset.
37923 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37924 of memset.
37925
472371b9
JM
379262012-10-10 Joseph Myers <joseph@codesourcery.com>
37927
1e4a9536
JM
37928 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37929 * configure: Regenerated.
37930
d173d12e
JM
37931 * Makeconfig (+link-static-before-libc): Don't include
37932 $(link-static-libc).
37933
472371b9
JM
37934 * libio/libio.h (_IO_pos_t): Remove.
37935
89a3ad0b
AO
379362012-10-10 Alexandre Oliva <aoliva@redhat.com>
37937
37938 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37939 McGrath.
37940
e7451425
AO
379412012-10-10 Alexandre Oliva <aoliva@redhat.com>
37942
37943 * crypt/crypt-entry.c: Include fips-private.h.
37944 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37945 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37946 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37947 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37948
4ba74a35
AO
379492012-10-10 Alexandre Oliva <aoliva@redhat.com>
37950
37951 * crypt/crypt-private.h: Include stdbool.h.
37952 (_ufc_setup_salt_r): Return bool.
37953 * crypt/crypt-entry.c: Include errno.h.
37954 (__crypt_r): Return NULL with EINVAL for bad salt.
37955 * crypt/crypt_util.c (bad_for_salt): New.
37956 (_ufc_setup_salt_r): Check that salt is long enough and within
37957 the specified alphabet.
37958 * crypt/badsalttest.c: New file.
37959 * crypt/Makefile (tests): Add it.
37960 ($(objpfx)badsalttest): New.
37961
f96f1242
MK
379622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37963
37964 * NEWS: Add entry for BZ #14602.
37965
0e8e0c1c
JM
379662012-10-09 Joseph Myers <joseph@codesourcery.com>
37967
37968 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37969 type-generic.
37970 * math/libm-test.inc: Update comment listing what functions and
37971 macros are tested.
37972 (isgreater_test): New function.
37973 (isgreaterequal_test): Likewise.
37974 (isless_test): Likewise.
37975 (islessequal_test): Likewise.
37976 (islessgreater_test): Likewise.
37977 (isunordered_test): Likewise.
37978 (main): Call the new functions.
37979
273edc5e
RM
379802012-10-09 Roland McGrath <roland@hack.frob.com>
37981
b8493de0
RM
37982 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37983 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37984 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37985 * sysdeps/i386/configure: Regenerated.
37986 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37987 * sysdeps/mach/configure: Regenerated.
37988 * sysdeps/mach/hurd/configure: Regenerated.
37989 * sysdeps/powerpc/configure: Regenerated.
37990 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37991 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37992 * sysdeps/s390/s390-32/configure: Regenerated.
37993 * sysdeps/s390/s390-64/configure: Regenerated.
37994 * sysdeps/sh/configure: Regenerated.
37995 * sysdeps/sparc/configure: Regenerated.
37996 * sysdeps/unix/sysv/linux/configure: Regenerated.
37997 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37998 * sysdeps/x86_64/configure: Regenerated.
37999
273edc5e
RM
38000 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38001 defined. Don't check if MAP is NULL.
38002
c8450f70
JM
380032012-10-09 Joseph Myers <joseph@codesourcery.com>
38004
38005 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38006 (_G_stat64): Likewise.
38007 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38008 (_G_stat64): Likewise.
38009 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38010 instead of struct _G_stat64.
38011 * libio/fileops.c (mmap_remap_check): Likewise.
38012 (decide_maybe_mmap): Likewise.
38013 (_IO_new_file_seekoff): Likewise.
38014 (_IO_file_stat): Likewise.
38015 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38016 _G_off64_t.
38017 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38018 instead of struct _G_stat64.
38019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38020
57e605ba
MK
380212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38022
38023 [BZ #14602]
38024 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38025 Replace with ...
38026 (CHECK_EOL): New macro.
38027 (two_way_short_needle): Check beginning of haystack for EOL. Use
38028 CHECK_EOL.
38029 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38030 Replace with CHECK_EOL.
38031 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38032 Replace with CHECK_EOL.
38033
ef1bb361
JM
380342012-10-08 Joseph Myers <joseph@codesourcery.com>
38035
38036 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38037 type-generic.
38038 * math/libm-test.inc: Update comment listing what functions and
38039 macros are tested.
38040 (finite_test): New function.
38041 (isinf_test): Likewise.
38042 (isnan_test): Likewise.
38043 (fpclassify_test): Test subnormal input.
38044 (isfinite_test): Likewise.
38045 (isnormal_test): Likewise.
38046 (main): Call the new functions.
38047
55f11534
JN
380482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38049
38050 [BZ #14660]
38051 * Makerules (%.dynsym): Force C locale when running
38052 $(OBJDUMP) --dynamic-syms.
38053
1ab29350
AS
380542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38055
38056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38057 <stdint.h>.
38058
f1ecb7ef
DM
380592012-10-06 David S. Miller <davem@davemloft.net>
38060
38061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38062 upper 32-bits of the length value in %o2 since we use branch-on-register
38063 tests which consider the entire 64-bit register.
38064
5d41d91a
L
380652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38066
38067 * string/test-strstr.c (check2): Add a test for page boundary.
38068
3baddb72
DM
380692012-10-05 David S. Miller <davem@davemloft.net>
38070
38071 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38072 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38073 file.
38074 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38075 sysdep_routines.
38076 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38077 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38078 and bzero when HWCAP_SPARC_CRYPTO is present.
38079
9cee5585
L
380802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38081
d7e0dab9
L
38082 [BZ #14602]
38083 * string/test-strstr.c (check2): New function.
38084 (test_main): Call check2.
38085
03759f47
L
38086 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38087 and bug-strchr1.
38088 * string/bug-strcasestr1.c (do_test): Moved to ...
38089 * string/test-strcasestr.c (check1): Here. New function.
38090 (do_one_test): Break out result checking code into ...
38091 (check_result): This. New function.
38092 (do_one_test): Call check_result.
38093 (test_main): Call check1.
38094 * string/bug-strchr1.c (do_test): Moved to ...
38095 * string/test-strchr.c (check1): Here. New function.
38096 (do_one_test): Break out result checking code into ...
38097 (check_result): This. New function.
38098 (do_one_test): Call check_result.
38099 (test_main): Call check1.
38100 * string/bug-strstr1.c (main): Moved to ...
046f153e 38101 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38102 (do_one_test): Break out result checking code into ...
38103 (check_result): This. New function.
38104 (do_one_test): Call check_result.
38105 (test_main): Call check1.
38106 * string/bug-strcasestr1.c: Removed.
38107 * string/bug-strchr1.c: Likewise.
38108 * string/bug-strstr1.c: Likewise.
38109
53cea63e
L
38110 * elf/Makefile (dl-routines): Add hwcaps.
38111 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38112 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38113 (_dl_important_hwcaps): Moved to ...
38114 * elf/dl-hwcaps.c: Here. New file.
38115 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38116
9cee5585 38117 [BZ #14557]
bb859b06
L
38118 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38119 if IS_IN_rtld isn't defined.
38120
9cee5585
L
38121 * elf/dl-support.c (_dl_sysinfo_map): New.
38122 Include "get-dynamic-info.h" and "setup-vdso.h".
38123 (_dl_non_dynamic_init): Call setup_vdso.
38124 * elf/dynamic-link.h: Don't include <assert.h>.
38125 (elf_get_dynamic_info): Moved to ...
38126 * elf/get-dynamic-info.h: Here. New file.
38127 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38128 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38129 * elf/setup-vdso.h: Here. New file.
38130 * elf/rtld.c: Include "setup-vdso.h".
38131 (dl_main): Call setup_vdso.
38132
23c31b76
JM
381332012-10-05 Joseph Myers <joseph@codesourcery.com>
38134
28234b07
JM
38135 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38136 creal in comment listing functions tested. List finite, isinf,
38137 isnan, isless, islessequal, isgreater, isgreaterequal,
38138 islessgreater, isunordered, lgamma_r and pow10 as functions and
38139 macros not tested. Mention which functions not tested are aliases
38140 for other functions. Fix typo. Note that signs of NaNs are not
38141 tested.
38142
23c31b76
JM
38143 * scripts/config.guess: Update from config.git.
38144 * scripts/config.sub: Likewise.
38145
9043e228
RM
381462012-10-04 Roland McGrath <roland@hack.frob.com>
38147
38148 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38149 * misc/madvise.c (madvise): Renamed to __madvise.
38150 Make madvise a weak alias.
38151 * include/sys/mman.h: Declare __madvise.
38152 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38153 * sysdeps/unix/syscalls.list
38154 (madvise): Make __madvise the strong name, and madvise a weak alias.
38155 * sysdeps/unix/sysv/linux/syscalls.list
38156 (madvise, mmap): Remove redundant entries.
38157 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38158 * malloc/malloc.c (mtrim): Likewise.
38159 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38160
f57f8055
RM
381612012-10-03 Roland McGrath <roland@hack.frob.com>
38162
38163 * sysdeps/mach/hurd/dl-cache.c: File removed.
38164 * config.h.in (USE_LDCONFIG): New #undef.
38165 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38166 * configure: Regenerated.
38167 * elf/Makefile (dl-routines): Add dl-cache only under
38168 [$(use-ldconfig) = yes].
38169 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38170 cache on [USE_LDCONFIG].
38171 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38172 [USE_LDCONFIG].
38173 * elf/rtld.c (dl_main): Likewise.
38174
5bb0c10a
PT
381752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38176
38177 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38178 _SC_LEVEL4_CACHE_LINESIZE.
38179
010188c6
RM
381802012-10-03 Roland McGrath <roland@hack.frob.com>
38181
38182 * sysdeps/unix/bsd/confstr.h: File removed.
38183
b6c5ec07
AO
381842012-10-02 Alexandre Oliva <aoliva@redhat.com>
38185
38186 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38187 sys/sdt-config.h.
38188
408223d4
RM
381892012-10-02 Roland McGrath <roland@hack.frob.com>
38190
38191 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38192 Make 'mapoff' field ElfW(Off) rather than off_t.
38193
bb9510dc
DL
381942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38195
fc997c6e
DL
38196 * nscd/Makefile: Remove nscd-cflags and all its users.
38197 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38198 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38199
bb9510dc
DL
38200 [BZ #10631]
38201 * malloc.c (malloc_printerr): Clarify error message.
38202
05699367
L
382032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 [BZ #14648]
38206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38207 Set bit_FMA_Usable if FMA is supported.
38208 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38209 macro.
38210 (bit_FMA4_Usable): Updated.
38211 (index_FMA_Usable): New macro.
38212 (CPUID_FMA): Likewise
38213 (HAS_FMA): Defined with bit_FMA_Usable.
38214
51367701
RM
382152012-10-01 Roland McGrath <roland@hack.frob.com>
38216
38217 * bits/types.h (__swblk_t): Type removed.
38218 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38219 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38221 (__SWBLK_T_TYPE): Likewise.
38222 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38223 (__SWBLK_T_TYPE): Likewise.
38224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38225 (__SWBLK_T_TYPE): Likewise.
38226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38227 (__SWBLK_T_TYPE): Likewise.
38228
4d57bf63 382292012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38230 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38231
38232 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38233 (xdr_mapname): Use YPMAXMAP as maxsize.
38234 (xdr_peername): Use YPMAXPEER as maxsize.
38235 (xdr_keydat): Use YPAXRECORD as maxsize.
38236 (xdr_valdat): Use YPMAXRECORD as maxsize.
38237
93c65d43
RM
382382012-10-01 Roland McGrath <roland@hack.frob.com>
38239
497a03d6
RM
38240 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38241
93c65d43
RM
38242 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38243 * csu/init-first.c: ... here.
38244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38245 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38246 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38247 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38248 * sysdeps/i386/init-first.c: File removed.
38249 * sysdeps/sh/init-first.c: File removed.
38250
bec749fd
JM
382512012-10-01 Joseph Myers <joseph@codesourcery.com>
38252
38253 [BZ #14645]
38254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38255 if x * y might underflow to zero and z is zero.
38256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38258 * math/libm-test.inc (min_subnorm_value): New variable.
38259 (fma_test): Add more tests.
38260 (fma_test_towardzero): Likewise.
38261 (fma_test_downward): Likewise
38262 (fma_test_upward): Likewise.
38263 (initialize): Set min_subnorm_value.
38264
8ec5b013
JM
382652012-09-29 Joseph Myers <joseph@codesourcery.com>
38266
38267 [BZ #14638]
38268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38269 0 + 0.
38270 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38271 mode for addition resulting in exact zero.
38272 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38274 exact 0 + 0.
38275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38277 * math/libm-test.inc (fma_test): Add more tests.
38278 (fma_test_towardzero): New function.
38279 (fma_test_downward): Likewise.
38280 (fma_test_upward): Likewise.
38281 (main): Call the new functions.
38282
b1fa802e
DM
382832012-09-28 David S. Miller <davem@davemloft.net>
38284
38285 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38286
d3b9fd9e
RM
382872012-09-28 Roland McGrath <roland@hack.frob.com>
38288
ea4d37b3
RM
38289 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38290 instead of SIGALRM.
38291
ac51c949
RM
38292 * sysdeps/gnu/_G_config.h: Moved to ...
38293 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38294 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38295 * sysdeps/generic/_G_config.h: ... here.
38296
28c195f7
RM
38297 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38298
848917f9
RM
38299 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38300
6bacf05b
RM
38301 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38302 Conditionalize target on [libnss_test1.so-version].
38303
91363dbb
RM
38304 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38305
cc87f7d8
RM
38306 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38307 (elfobjdir): Move out of conditionals.
38308
b1c608fe
RM
38309 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38310 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38311 (__nss_lookup_function): Conditionalize label remove_from_tree on
38312 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38313
1d9a6d96
DM
383142012-09-28 David S. Miller <davem@davemloft.net>
38315
38316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38318 file.
38319 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38320 sysdep_routines.
38321 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38323 when HWCAP_SPARC_CRYPTO is present.
38324
72581615
PT
383252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38326
38327 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38328
715a900c
JL
383292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38330
38331 [BZ #6530]
38332 * stdio-common/vfprintf.c (process_string_arg): Revert
38333 2000-07-22 change.
38334
383352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38336
38337 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38338 for testcase.
38339 * stdio-common/tst-sprintf.c: Include <locale.h>
38340 (main): Test sprintf's handling of incomplete multibyte
38341 characters.
38342
9bac1d86
L
383432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38344
38345 * elf/dl-runtime.c (VERSYMIDX): Removed.
38346 * elf/dl-version.c (VERSYMIDX): Likewise.
38347 * elf/do-rel.h (VERSYMIDX): Likewise.
38348 (VALIDX): Likewise.
38349 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38350 * elf/rtld.c (VALIDX): Likewise.
38351 (ADDRIDX): Likewise.
9bac1d86
L
38352 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38353 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38354 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38355 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38356 (VALIDX): Likewise.
38357 (ADDRIDX): Likewise.
9bac1d86 38358
b31606c0
PT
383592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38360
38361 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38362
11541177
JL
383632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38364
38365 [BZ #11438]
38366 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38367 to global scope.
38368 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38369 addresses are in the same scope as 192.0.2/24.
38370 * posix/gai.conf: Document new scope table defaults.
38371
adb26fae
SP
383722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38373
38374 [BZ #5298]
38375 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38376 for ftell. Compute offsets from write pointers instead.
38377 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38378
4573c6b0
SP
383792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38380
38381 [BZ #14543]
38382 * libio/Makefile (tests): New test case tst-fseek.
38383 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38384 combination works in wide mode.
38385 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38386 state when the external buffer state changes.
38387
aa9bbfe6
DM
383882012-09-27 David S. Miller <davem@davemloft.net>
38389
38390 [BZ #14376]
38391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38392 pass reloc->r_addend in as the 'high' argument to
38393 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38394
784421e7
DM
38395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38396
c39bc8b8
PT
383972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38398
38399 * rt/tst-aio2.c: Include <pthread.h>.
38400 * rt/tst-aio3.c: Likewise.
38401
1ccc2399
SE
384022012-09-27 Steve Ellcey <sellcey@mips.com>
38403
38404 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38405
31ed4153
L
384062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38407
25f5f885
L
38408 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38409 contents on [SHARED].
31ed4153 38410
b7bfe116
MP
384112012-09-26 Marek Polacek <polacek@redhat.com>
38412
38413 [BZ #14530]
38414 [BZ #13741]
38415 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38416 for C++ and GCC <4.3 as well as for non GCC compilers.
38417
43c4edba
MT
384182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38419
38420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38421
6a1bf82f
RM
384222012-09-25 Roland McGrath <roland@hack.frob.com>
38423
38424 * Makefile.in (all, install): Declare with .PHONY.
38425 Reported by Michael Hope <michael.hope@linaro.org>.
38426
8ad11b9a
TMQMF
384272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38428
38429 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38430 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38431 system header.
38432 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38433 Likewise.
38434 (sydep_routines): Add the new and the internal functions.
38435 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38436 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38438 (GLIBC_2.17): Add the new function.
38439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38440 (GLIBC_2.17): Likewise.
38441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38442 (GLIBC_2.17): Likewise.
38443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38444 (GLIBC_2.17): Likewise.
38445 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38446
7e2fca8d
AM
384472012-09-25 Alan Modra <amodra@gmail.com>
38448
38449 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38450 Add release barrier before setting once_control to say
38451 initialisation is done. Add hints on lwarx. Use macro in
38452 place of isync.
38453 (clear_once_control): Add release barrier.
38454
b87c4b24
JM
384552012-09-25 Joseph Myers <joseph@codesourcery.com>
38456
d032e0d2
JM
38457 [BZ #13629]
38458 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38459 specially.
38460 * math/s_clog10.c (__clog10): Likewise.
38461 * math/s_clog10f.c (__clog10f): Likewise.
38462 * math/s_clog10l.c (__clog10l): Likewise.
38463 * math/s_clogf.c (__clogf): Likewise.
38464 * math/s_clogl.c (__clogl): Likewise.
38465 * math/Makefile (libm-calls): Add x2y2m1.
38466 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38467 (__x2y2m1): Likewise.
38468 (__x2y2m1l): Likewise.
38469 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38470 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38473 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38474 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38475 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38476 * sysdeps/i386/fpu/libm-test-ulps: Update.
38477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38478
b87c4b24
JM
38479 [BZ #14621]
38480 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38481 int as type of variable DEPTH.
38482 (glob): Use size_t instead of int as type of variables NEWCOUNT
38483 and OLD_PATHC.
38484
6d3bf199
LD
384852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38486
22bf5c17
LD
38487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38488 Add s_sincosf-sse2.
38489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38490 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38491 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38492 macros for using routine as __sincosf_ia32.
38493 Use macro for function declaration and weak_alias.
38494 * sysdeps/i386/fpu/libm-test-ulps: Update.
38495
38496 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38498
38499 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38500 subnormal argument.
38501 * math/s_cexpf.c (__cexpf): Likewise.
38502 * math/s_csinf.c (__csinf): Likewise.
38503 * math/s_csinhf.c (__csinhf): Likewise.
38504 * math/s_ctanf.c (__ctanf): Likewise.
38505 * math/s_ctanhf.c (__ctanhf): Likewise.
38506 * math/s_ccosh.c (__ccoshf): Likewise.
38507 * math/s_cexp.c (__cexpl): Likewise.
38508 * math/s_csin.c (__csin): Likewise.
38509 * math/s_csinh.c (__csinh): Likewise.
38510 * math/s_ctan.c (__ctan): Likewise.
38511 * math/s_ctanh.c (ctanh): Likewise.
38512 * math/s_ccoshl.c (__ccoshl): Likewise.
38513 * math/s_cexpl.c (__cexpl): Likewise.
38514 * math/s_csinl.c (__csinl): Likewise.
38515 * math/s_csinhl.c (__csinhl): Likewise.
38516 * math/s_ctanl.c (__ctanl): Likewise.
38517 * math/s_ctanhl.c (__ctanhl): Likewise.
38518
203e5603
JM
385192012-09-25 Joseph Myers <joseph@codesourcery.com>
38520
38521 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38522 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38523 (_IO_off_t): Define to __off_t, not _G_off_t.
38524 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38525 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38526 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38527 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38528 type of __dummy and __dummy2 fields.
38529 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38530 (_G_ssize_t): Likewise.
38531 (_G_off_t): Likewise.
38532 (_G_pid_t): Likewise.
38533 (_G_uid_t): Likewise.
38534 (_G_wchar_t): Likewise.
38535 (_G_wint_t): Likewise.
38536 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38537 (_G_ssize_t): Likewise.
38538 (_G_off_t): Likewise.
38539 (_G_pid_t): Likewise.
38540 (_G_uid_t): Likewise.
38541 (_G_wchar_t): Likewise.
38542 (_G_wint_t): Likewise.
38543 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38544 (_G_ssize_t): Likewise.
38545 (_G_off_t): Likewise.
38546 (_G_pid_t): Likewise.
38547 (_G_uid_t): Likewise.
38548 (_G_wchar_t): Likewise.
38549 (_G_wint_t): Likewise.
38550
9fab36eb
SP
385512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38552
38553 * malloc/arena.c: Include malloc-sysdep.h.
38554 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38555 is sufficient to shrink the heap or an unmap is needed.
38556 * sysdeps/generic/malloc-sysdep.h: New file. Define
38557 new function check_may_shrink_heap.
38558 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38559 new function check_may_shrink_heap.
38560
2b4f00d1
SP
385612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38562
38563 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38564 comments.
38565
9a9028b1
DL
385662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38567
57c69bef
DL
38568 * catgets/test-gencat.sh: Add "set -e".
38569 * elf/tst-pathopt.sh: Likewise.
38570 * grp/tst_fgetgrent.sh: Likewise.
38571 * iconvdata/run-iconv-test.sh: Likewise.
38572 * intl/tst-gettext.sh: Likewise.
38573 * intl/tst-gettext2.sh: Likewise.
38574 * intl/tst-gettext4.sh: Likewise.
38575 * intl/tst-gettext6.sh: Likewise.
38576 * intl/tst-translit.sh: Likewise.
38577 * io/ftwtest-sh: Likewise.
38578 * libio/test-freopen.sh: Likewise.
38579 * malloc/tst-mtrace.sh: Likewise.
38580 * posix/globtest.sh: Likewise.
38581 * posix/tst-getconf.sh: Likewise.
38582 * posix/wordexp-tst.sh: Likewise.
38583 * stdio-common/tst-printf.sh: Likewise.
38584 * stdio-common/tst-unbputc.sh: Likewise.
38585 * stdlib/tst-fmtmsg.sh: Likewise.
38586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38587 * catgets/Makefile: Do not specify -e option when running
38588 testsuite shell scripts.
38589 * elf/Makefile: Likewise.
38590 * grp/Makefile: Likewise.
38591 * iconvdata/Makefile: Likewise.
38592 * intl/Makefile: Likewise.
38593 * io/Makefile: Likewise.
38594 * libio/Makefile: Likewise.
38595 * malloc/Makefile: Likewise.
38596 * posix/Makefile: Likewise.
38597 * stdio-common/Makefile: Likewise.
38598 * stdlib/Makefile: Likewise.
38599 * sysdeps/x86_64/Makefile: Likewise.
38600
9a9028b1
DL
38601 * io/ftwtest-sh: Add copyright header.
38602 * posix/globtest.sh: Likewise.
38603 * posix/tst-getconf.sh: Likewise.
38604 * posix/wordexp-tst.sh: Likewise.
38605 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38606
ced6f16e
L
386072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38608
94b32c39
L
38609 [BZ #13679]
38610 * Makeconfig (+link): Defined as $(+link-static) if
38611 $(build-shared) isn't yes.
38612 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38613 isn't yes.
38614 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38615
189e935b
L
38616 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38617
ced6f16e
L
38618 [BZ #14562]
38619 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38620 new chunk size with MALLOC_ALIGN_MASK.
38621
a9f8e53a
JM
386222012-09-24 Joseph Myers <joseph@codesourcery.com>
38623
38624 [BZ #5044]
38625 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38626 <rounding-mode.h>.
38627 (__printf_fphex): Determine rounding using get_rounding_mode and
38628 round_away.
38629 * stdio-common/tst-printf-round.c (struct hex_test): New
38630 structure.
38631 (hex_tests): New variable.
38632 (test_hex_in_one_mode): New function.
38633 (do_test): Also run tests for hex float output.
38634
43153109
JM
386352012-09-21 Joseph Myers <joseph@codesourcery.com>
38636
38637 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38638 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38639 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38640 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38642 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38643 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38644 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38645
8a26625d
JM
386462012-09-20 Joseph Myers <joseph@codesourcery.com>
38647
38648 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38649 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38650 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38651 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38652
f3fd569c
DL
386532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38654
38655 [BZ #14579]
38656 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38657 mode only.
38658 * elf/tst-rtld-load-self.sh: New test.
38659 * elf/Makefile: Run it.
38660
63bbedd4
JM
386612012-09-18 Joseph Myers <joseph@codesourcery.com>
38662
38663 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38664 (tst-writev-ENV): Remove.
38665 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38666
626f8b6a
CM
386672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38668
38669 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38670
b7aaa4d6
JM
386712012-09-17 Joseph Myers <joseph@codesourcery.com>
38672
38673 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38674 unconditional.
38675 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38676 Likewise.
38677 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38678 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38680 Likewise.
38681
65513990
L
386822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38683
38684 [BZ #14587]
38685 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38686 * config.make.in (have-cpp-asm-debuginfo): Removed.
38687 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38688 * configure: Regenerated.
38689
784761be
JM
386902012-09-14 Joseph Myers <joseph@codesourcery.com>
38691
38692 [BZ #5044]
38693 * stdio-common/printf_fp.c: Include <stdbool.h> and
38694 <rounding-mode.h>.
38695 (___printf_fp): Determine rounding using get_rounding_mode and
38696 round_away.
38697 * stdio-common/tst-printf-round.c: New file.
38698 * stdio-common/Makefile (tests): Add tst-printf-round.
38699 (link-libm): New variable.
38700 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38701
9503345f
L
387022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38703
38704 [BZ #14576]
38705 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38706 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38707 Likewise.
38708 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38709 Likewise.
38710
ad35fc00
JM
387112012-09-13 Joseph Myers <joseph@codesourcery.com>
38712
38713 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38714 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38715 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38716 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38717
6c9b0f68
JM
387182012-09-12 Joseph Myers <joseph@codesourcery.com>
38719
38720 [BZ #14518]
38721 * include/rounding-mode.h: New file.
38722 * sysdeps/generic/get-rounding-mode.h: Likewise.
38723 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38724 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38725 (MAX_VALUE): New macro.
38726 (MIN_VALUE): Likewise.
38727 (overflow_value): New function.
38728 (underflow_value): Likewise.
38729 (round_and_return): Use overflow_value and underflow_value to
38730 determine return values in overflow and underflow cases. Use
38731 round_away to determine rounding depending on rounding mode.
38732 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38733 determine return values in overflow and underflow cases.
38734 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38735 (struct test_results): New structure.
38736 (struct test): Use struct test_results to store expected results
38737 for all rounding modes.
38738 (TEST): Include expected results for all rounding modes.
38739 (test_in_one_mode): New function.
38740 (do_test): Use test_in_one_mode to compute and check results.
38741 Check results for all rounding modes.
38742 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38743 $(link-libm).
38744
19fcedd5
AM
387452012-12-09 Allan McRae <allan@archlinux.org>
38746
1e9d84cd 38747 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38748
8bbfd2f1
JM
387492012-09-11 Joseph Myers <joseph@codesourcery.com>
38750
38751 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38752 (_G_int32_t): Likewise.
38753 (_G_uint16_t): Likewise.
38754 (_G_uint32_t): Likewise.
38755 (_G_HAVE_BOOL): Likewise.
38756 (_G_HAVE_ATEXIT): Likewise.
38757 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38758 (_G_HAVE_IO_FILE_OPEN): Likewise.
38759 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38760 (_G_int32_t): Likewise.
38761 (_G_uint16_t): Likewise.
38762 (_G_uint32_t): Likewise.
38763 (_G_HAVE_BOOL): Likewise.
38764 (_G_HAVE_ATEXIT): Likewise.
38765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38766 (_G_HAVE_IO_FILE_OPEN): Likewise.
38767 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38768 (_G_int32_t): Likewise.
38769 (_G_uint16_t): Likewise.
38770 (_G_uint32_t): Likewise.
38771 (_G_HAVE_BOOL): Likewise.
38772 (_G_HAVE_ATEXIT): Likewise.
38773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38774 (_G_HAVE_IO_FILE_OPEN): Likewise.
38775
b1dc5912
L
387762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38777
38778 * csu/libc-tls.c: Update copyright years.
38779
0e886ef9
JM
387802012-09-10 Joseph Myers <joseph@codesourcery.com>
38781
28361c5e
JM
38782 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38783 [!_G_USING_THUNKS]: Remove conditional code.
38784 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38785 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38786
0e886ef9
JM
38787 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38788 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38789 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38790 (_G_VTABLE_LABEL_PREFIX): Likewise.
38791 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38792 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38794 (_G_VTABLE_LABEL_PREFIX): Likewise.
38795 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38796 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38797 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38798 (_G_VTABLE_LABEL_PREFIX): Likewise.
38799 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38800
bcba7aa2
L
388012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38802
38803 * libio/Makefile: Include ../Makeconfig before tests.
38804 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38805 only if $(build-shared) is yes.
38806
06585ee8
L
38807 * iconv/gconv_db.c: Update copyright years.
38808
80ccd52c
LD
388092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38810
38811 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38812 unwind info if defined PIC. Fix special cases description.
38813 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38814
38815 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38816 DP_HI_MASK entry.
38817 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38818
691bc9c1
L
388192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38820
3d9b46b3
L
38821 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38822
de2139a9
L
38823 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38824 is NULL.
38825
5ca78dd0
L
38826 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38827 (LDLIBS-tst-chk4): This.
38828 (LDFLAGS-tst-chk5): Renamed to ...
38829 (LDLIBS-tst-chk5): This.
38830 (LDFLAGS-tst-chk6): Renamed to ...
38831 (LDLIBS-tst-chk6): This.
38832 (LDFLAGS-tst-lfschk4): Renamed to ...
38833 (LDLIBS-tst-lfschk4): This.
38834 (LDFLAGS-tst-lfschk5): Renamed to ...
38835 (LDLIBS-tst-lfschk5): This.
38836 (LDFLAGS-tst-lfschk6): Renamed to ...
38837 (LDLIBS-tst-lfschk6): This.
38838
691bc9c1
L
38839 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38840 on $(common-objpfx)soversions.mk.
38841
65cafb1c
JM
388422012-09-07 Joseph Myers <joseph@codesourcery.com>
38843
38844 [BZ #10014]
38845 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38846 example host name.
38847
c78ab094
SP
388482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38849
38850 * malloc/arena.c (arena_get_retry): New function that gets
38851 another arena for the caller to try its request on.
38852 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38853 current arena cannot fulfill the request.
38854 (__libc_memalign): Likewise.
38855 (__libc_memalign): Likewise.
38856 (__libc_pvalloc): Likewise.
38857 (__libc_calloc): Likewise.
38858
01f49f59
JT
388592012-09-05 John Tobey <john.tobey@gmail.com>
38860
38861 [BZ #13542]
38862 * manual/arith.texi (Operations on Complex): Fix description
38863 of carg branch cut.
38864
4c23fed5
JM
388652012-09-06 Joseph Myers <joseph@codesourcery.com>
38866
1d3c8572
JM
38867 [BZ #10014]
38868 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38869 host name.
38870
4c23fed5
JM
38871 [BZ #10038]
38872 * manual/memory.texi (Memory): Make order of menu items match
38873 order of sections.
38874
04570aaa
L
388752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38876
38877 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38878 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38879 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38880
b80af2f4
L
388812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 * csu/libc-tls.c (static_dtv): Renamed to ...
38884 (_dl_static_dtv): This. Make it global.
38885 (_dl_initial_dtv): Removed.
38886 (__libc_setup_tls): Updated.
38887 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38888 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38889 DL_INITIAL_DTV.
38890
2abe9f15
PM
388912012-09-06 Petr Machata <pmachata@redhat.com>
38892
38893 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38894 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38895 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38896 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38897
0948c3af
L
388982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38899
38900 [BZ #14545]
38901 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38902 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38903 freeing dtv[-1].
38904
a5055ad1
L
389052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38906
38907 [BZ #14544]
38908 * Makeconfig (link-static-before-libc): Replace $(+prector)
38909 with $(+prectorT).
38910 (link-static-after-libc): Replace $(+postctor) with
38911 $(+postctorT).
38912 (link-bounded): Replace $(+prector)/$(+postctor) with
38913 $(+prectorT)/$(+postctorT).
38914 (+prectorT): New macro.
38915 (+postctorT): Likewise.
38916
ed8c2ecd
JM
389172012-09-06 Joseph Myers <joseph@codesourcery.com>
38918
38919 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38920 (round_str): Handle values above the maximum for IBM long double
38921 as inexact.
38922 * stdlib/tst-strtod-round.c (tests): Regenerated.
38923
14c996c8
AK
389242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38925
38926 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38927 assembler flag.
38928 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38929 zarch_nohighgprs around the zarch optimized routines.
38930 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38931 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38933 for zarch.
38934
430d6ce6
DM
389352012-09-05 David S. Miller <davem@davemloft.net>
38936
38937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38938
57f41c40
AS
38939 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38940 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38941 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38943 entries.
38944
24d4e01b
AO
389452012-09-05 Alexandre Oliva <aoliva@redhat.com>
38946
38947 * malloc/arena.c: Fold copyright years.
38948 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38949
61d58174
AO
389502012-09-05 Alexandre Oliva <aoliva@redhat.com>
38951
38952 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38953
20196a5e
AO
389542012-09-05 Alexandre Oliva <aoliva@redhat.com>
38955
38956 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38957
5c447383
AO
389582012-09-05 Alexandre Oliva <aoliva@redhat.com>
38959
38960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38961 change internal state upon failure.
38962
fad64255
AO
389632012-09-05 Alexandre Oliva <aoliva@redhat.com>
38964
38965 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38966 * malloc/memusage.c (mmap): Likewise.
38967 (mmap64, mremap): Likewise. Adjust name in comment.
38968
1ffb8c90
SP
389692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38970
38971 * libio/fileops.c: Fix typos in comments.
38972 * libio/oldfileops.c: Likewise.
38973 * libio/wfileops.c: Likewise.
38974
6ef9cc37
SP
389752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38976
38977 [BZ #1349]
38978 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38979 (tst-malloc-usable-ENV): Set environment for test case.
38980 * malloc/hooks.c (malloc_check_get_size): New function to get
38981 requested size.
38982 * malloc/malloc.c (musable): Use malloc_check_get_size.
38983 * malloc/tst-malloc-usable.c: New test case.
38984
4d038ae3
AS
389852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38986
38987 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38988
c4e85184
AM
389892012-09-05 Allan McRae <allan@archlinux.org>
38990
b9dafc56 38991 [BZ #13966]
c4e85184
AM
38992 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38993 determine header location.
38994 * configure: Regenerated.
38995
e1343020
AS
389962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38997
38998 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38999 float format.
39000 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39001 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39002 format.
e1343020
AS
39003 (test): Regenerate.
39004
0a9f1987
DM
390052012-09-04 David S. Miller <davem@davemloft.net>
39006
39007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39009 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39010
29237804
FW
390112012-09-04 Florian Weimer <fweimer@redhat.com>
39012
39013 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39014 failures.
39015
edb3cb88
FW
39016 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39017
60160d83
JM
390182012-09-04 Joseph Myers <joseph@codesourcery.com>
39019
39020 [BZ #9914]
39021 * libio/iogetdelim.c: Include <limits.h>.
39022 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39023 + len + 1 would overflow.
39024
bcd6c8dc
AJ
390252012-09-03 Andreas Jaeger <aj@suse.de>
39026
39027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39028 * sysdeps/i386/fpu/libm-test-ulps: Update.
39029
4ffffbd2
LD
390302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39031
39032 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39033 Add s_sinf-sse2, s_conf-sse2.
39034
39035 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39036 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39037 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39038 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39039
39040 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39041 for using routine as __sinf_ia32.
39042 Use macro for function declaration and weak_alias.
39043 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39044 for using routine as __cosf_ia32.
39045 Use macro for function declaration and weak_alias.
39046
39047 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39048 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39049
39050 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39051 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39053
39054 * math/libm-test.inc (cos_test): Add more test cases.
39055 (sin_test): Likewise.
39056 (sincos_test): Likewise.
39057
511fa286
AK
390582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39059
39060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39061 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39062 hidden.
39063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39064
5f30cfec
L
390652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39066
39067 [BZ #14538]
39068 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39069 first element of the GOT.
39070 (elf_machine_load_address): Return the difference between
39071 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39072
0786794f
AM
390732012-09-01 Allan McRae <allan@archlinux.org>
39074
5f30cfec
L
39075 [BZ #13412]
39076 * configure.in (AWK): Require gawk version 3.0 or later.
39077 * configure: Regenerated.
0786794f 39078
26889eac
JM
390792012-09-01 Joseph Myers <joseph@codesourcery.com>
39080
39081 * sysdeps/unix/sysv/linux/kernel-features.h
39082 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39084 [__NR_clock_getres]: Make code unconditional.
39085 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39086 (clock_getcpuclockid): Remove code left unreachable by removal of
39087 conditionals.
39088 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39089 code unconditional.
39090 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39092 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39093 Make code unconditional.
39094 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39096 * sysdeps/unix/sysv/linux/clock_settime.c
39097 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39098 conditional code.
39099 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39100 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39101
d22e28b0
L
391022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 [BZ #14476]
39105 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39106 scripts/test-installation.pl.
39107
39108 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39109 and $ld_so_version if it is set.
39110
050af9c4
SP
391112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39112
39113 [BZ #14516]
39114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39115 failure if reading from procfs failed.
39116 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39117
ad845c0b
JM
391182012-08-27 Joseph Myers <joseph@codesourcery.com>
39119
39120 * sysdeps/unix/sysv/linux/kernel-features.h
39121 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39122 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39123 Remove conditional code.
39124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39125 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39126 Remove conditional code.
39127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39128 * sysdeps/unix/sysv/linux/i386/fxstat.c
39129 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39131 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39134 * sysdeps/unix/sysv/linux/i386/lxstat.c
39135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39137 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39138 Remove conditional code.
39139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39140 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39141 Remove conditional code.
39142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39143 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39144 <kernel-features.h>.
39145 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39146 Remove.
39147 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39148 Remove conditional code.
39149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39150 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39151 Remove conditional.
39152
5dbf56af
MF
391532012-08-27 Mike Frysinger <vapier@gentoo.org>
39154
39155 [BZ #5400]
39156 * NEWS: Add fixed bug number.
39157
d6e70f43
JM
391582012-08-27 Joseph Myers <joseph@codesourcery.com>
39159
7efb4737
JM
39160 [BZ #14519]
39161 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39162 underflowing exponent in case of negative sign.
39163 * stdlib/tst-strtod-round-data: Add more tests.
39164 * stdlib/tst-strtod-round.c (tests): Regenerated.
39165
af92131a
JM
39166 [BZ #3479]
39167 * stdlib/strtod_l.c (NDIG): Remove.
39168 (HEXNDIG): Likewise.
39169 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39170 smallest representable value.
39171 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39172 lie within an exact representation of 1/2 ulp of the result.
39173 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39174 unconditionally.
39175 (TENS_P9_IDX): Define unconditionally.
39176 (TENS_P9_SIZE): Likewise.
39177 (TENS_P10_IDX): Likewise.
39178 (TENS_P10_SIZE): Likewise.
39179 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39180 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39181 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39182 entries for 10^2^13 and 10^2^14.
39183 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39184 (TENS_P13_IDX): Define.
39185 (TENS_P13_SIZE): Likewise.
39186 (TENS_P14_IDX): Likewise.
39187 (TENS_P14_SIZE): Likewise.
39188 (_fpioconst_pow10): Change array size to
39189 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39190 unconditional.
39191 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39192 1024]: Add entries for 10^2^13 and 10^2^14.
39193 [LAST_POW10 > _LAST_POW10]: Remove #error.
39194 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39195 (_fpioconst_pow10): Change array size to
39196 FPIOCONST_POW10_ARRAY_SIZE.
39197 * stdlib/gen-fpioconst.c: New file.
39198 * stdlib/gen-tst-strtod-round.c: Likewise.
39199 * stdlib/tst-strtod-round-data: Likewise.
39200 * stdlib/tst-strtod-round.c: Likewise.
39201 * stdlib/Makefile (tests): Add tst-strtod-round.
39202
d6e70f43
JM
39203 [BZ #14459]
39204 * stdlib/strtod_l.c: Include <stdint.h>.
39205 (NDEBUG): Do not define.
39206 (round_and_return): Change EXPONENT parameter to type intmax_t.
39207 Rearrange calculations to avoid internal overflow possibilities.
39208 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39209 Rearrange calculations to avoid internal overflow possibilities.
39210 Assert that number fits inside MPNSIZE limbs.
39211 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39212 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39213 calculations and add assertions to avoid internal overflow
39214 possibilities. Add casts to avoid signed/unsigned operations.
39215 * stdlib/tst-strtod-overflow.c: New file.
39216 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39217
1f529f7d
MP
392182012-08-25 Marek Polacek <polacek@redhat.com>
39219
39220 * time/time.h: Fix some typos in comments.
39221
59a629f1
RM
392222012-08-23 Roland McGrath <roland@hack.frob.com>
39223
39224 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39225 * posix/tst-rfc3484-2.c: Likewise.
39226 * posix/tst-rfc3484-3.c: Likewise.
39227
d3bafbc9
SM
392282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39229
39230 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39231 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39232
4efcc022
JM
392332012-08-23 Joseph Myers <joseph@codesourcery.com>
39234
39235 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39236 #include of fxstatat64.c.
39237
3cc3ef96
RM
392382012-08-22 Roland McGrath <roland@hack.frob.com>
39239
f04e2132
RM
39240 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39241 * shadow/getspent_r.c: Likewise.
39242 * shadow/getspnam.c: Likewise.
39243 * shadow/getspnam_r.c: Likewise.
39244 * gshadow/getsgent.c: Likewise.
39245 * gshadow/getsgent_r.c: Likewise.
39246 * gshadow/getsgnam.c: Likewise.
39247 * gshadow/getsgnam_r.c: Likewise.
39248 * inet/getnetbyad.c: Likewise.
39249 * inet/getnetbyad_r.c: Likewise.
39250 * inet/getnetbynm.c: Likewise.
39251 * inet/getnetbynm_r.c: Likewise.
39252 * inet/getnetent.c: Likewise.
39253 * inet/getnetent_r.c: Likewise.
39254 * inet/getproto.c: Likewise.
39255 * inet/getproto_r.c: Likewise.
39256 * inet/getprtent.c: Likewise.
39257 * inet/getprtent_r.c: Likewise.
39258 * inet/getprtname.c: Likewise.
39259 * inet/getprtname_r.c: Likewise.
39260 * inet/getrpcbyname.c: Likewise.
39261 * inet/getrpcbyname_r.c: Likewise.
39262 * inet/getrpcbynumber.c: Likewise.
39263 * inet/getrpcbynumber_r.c: Likewise.
39264 * inet/getrpcent.c: Likewise.
39265 * inet/getrpcent_r.c: Likewise.
39266 * inet/getaliasent.c: Likewise.
39267 * inet/getaliasent_r.c: Likewise.
39268 * inet/getaliasname.c: Likewise.
39269 * inet/getaliasname_r.c: Likewise.
39270 * nscd/getgrgid_r.c: Likewise.
39271 * nscd/getgrnam_r.c: Likewise.
39272 * nscd/gethstbyad_r.c: Likewise.
39273 * nscd/gethstbynm3_r.c: Likewise.
39274 * nscd/getpwnam_r.c: Likewise.
39275 * nscd/getpwuid_r.c: Likewise.
39276 * nscd/getsrvbynm_r.c: Likewise.
39277 * nscd/getsrvbypt_r.c: Likewise.
39278 * nscd/gai.c: Likewise.
39279
c53d909c
RM
39280 * configure.in (build_nscd): New substituted variable, set
39281 by --disable-build-nscd and defaults to $use_nscd.
39282 * configure: Regenerated.
39283 * config.make.in (build-nscd): New substituted variable.
39284 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39285 Change conditional to require [$(build-nscd) = yes] as well.
39286 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39287
3cc3ef96
RM
39288 [BZ# 13696]
39289 * configure.in (use_nscd): New substituted variable, set by
39290 --disable-nscd. If enabled, define USE_NSCD.
39291 * configure: Regenerated.
39292 * config.h.in: Add USE_NSCD.
39293 * config.make.in (use-nscd): New substituted variable.
39294 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39295 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39296 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39297 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39298 (CFLAGS-getgrnam_r.c): Likewise.
39299 (CFLAGS-initgroups.c): Likewise.
39300 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39301 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39302 Variables removed.
39303 * inet/getnetgrent_r.c
39304 (nscd_setnetgrent): New function, broken out of ...
39305 (setnetgrent): ... here. Call it.
39306 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39307 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39308 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39309 * nscd/Makefile (routines, aux): Move definitions after include of
39310 Makeconfig. Conditionalize on [$(use-nscd) != no].
39311 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39312 Conditionalize on [USE_NSCD].
39313 (is_nscd, nscd_init_cb): Likewise.
39314 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39315 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39316 * nss/nss_db/db-init.c: Likewise.
39317 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39318 [USE_NSCD].
39319 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39320 (make_request): Use it.
39321 (cache_valid_p): New function.
39322 (__check_pf): Use it.
39323 * NEWS: Add item for --disable-nscd.
39324
07e51550
DL
393252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39326
39327 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39328 to support sed >= 4.2.1-20-ga9bf076.
39329 * configure: Regenerated.
39330
35a5b08b
RM
393312012-08-22 Roland McGrath <roland@hack.frob.com>
39332
39333 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39334 Conditionalize whole body on [IREL].
39335
8479f23a
JL
393362012-08-22 Jeff Law <law@redhat.com>
39337
39338 [BZ #14505]
39339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39340 if the family is PF_UNSPEC.
39341
48da0b21
MF
393422012-08-22 Mike Frysinger <vapier@gentoo.org>
39343
39344 * Makerules (lib-version): Rename from V.
39345 (install-lib-nosubdir): Change V to lib-version.
39346
15d0da8c
WS
393472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39348
39349 [BZ #14252]
39350 * powerpc32/power6/wcschr.c: New file.
39351 * powerpc32/power6/wcscpy.c: New file.
39352 * powerpc32/power6/wcsrchr.c: New file.
39353 * powerpc64/power6/wcschr.c: New file.
39354 * powerpc64/power6/wcscpy.c: New file.
39355 * powerpc64/power6/wcsrchr.c: New file.
39356
bcca0895
MK
393572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39358
39359 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39360 (two_way_short_needle): Use it.
5a4aaa33
RM
39361 * string/strstr.c (AVAILABLE1_USES_J): Define.
39362 * string/strcasestr.c: Likewise.
99677e57
MK
39363
39364 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39365 array references.
39366 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39367
400726de
MK
39368 [BZ #11607]
39369 * NEWS: Add an entry.
39370 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39371 define their defaults.
39372 (two_way_short_needle): Detect end-of-string on-the-fly.
39373 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39374 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39375 * string/bug-strcasestr1.c: New test.
39376 * string/Makefile: Run it.
39377
20a71f2c
MK
393782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39379
39380 [BZ #11607]
39381 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39382 the first character.
39383
21ad0558
RM
393842012-08-21 Roland McGrath <roland@hack.frob.com>
39385
39386 * csu/elf-init.c (__libc_csu_irel): Function removed.
39387 * csu/libc-start.c (apply_irel): New function.
39388 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39389
0e1d9911
JM
393902012-08-21 Joseph Myers <joseph@codesourcery.com>
39391
39392 * sysdeps/unix/sysv/linux/kernel-features.h
39393 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39395 <kernel-features.h>.
39396 [__NR_fadvise64_64]: Make code unconditional.
39397 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39398 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39399 !__NR_fadvise64_64)]: Likewise.
39400 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39401 !__NR_fadvise64_64))]: Likewise.
39402 [__NR_fadvise64]: Make code unconditional.
39403 [!__NR_fadvise64]: Remove conditional code.
39404 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39405 <kernel-features.h>.
39406 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39407 unconditional.
39408 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39409 conditional code.
39410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39411 not include <kernel-features.h>.
39412 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39413 unconditional.
39414 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39415 conditional code.
39416 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39417 include <kernel-features.h>.
39418 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39419 unconditional.
39420 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39421 conditional code.
39422
14a50c9d
WS
394232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39424
39425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39426 slight instruction rearrangements per scrollpipe analysis.
39427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39428
c0f4faf0
RM
394292012-08-20 Roland McGrath <roland@hack.frob.com>
39430
696da859
RM
39431 * manual/syslog.texi (syslog; vsyslog, closelog):
39432 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39433 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39434
c0f4faf0
RM
39435 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39436 DSOCAPS to match condition on defining it.
39437
348363b2
JM
394382012-08-20 Joseph Myers <joseph@codesourcery.com>
39439
a35cbf28
JM
39440 * sysdeps/unix/sysv/linux/kernel-features.h
39441 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39443 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39444 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39451
445f7ecd
JM
39452 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39453 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39454
348363b2
JM
39455 * sysdeps/unix/sysv/linux/kernel-features.h
39456 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39457 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39458 unconditional.
39459 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39460 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39461 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39462 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39463 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39464 Make code unconditional.
39465 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39466 (__mmap64) [!__NR_mmap2]: Likewise.
39467 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39468 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39469 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39471 [__NR_mmap2]: Make code unconditional.
39472 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39473 (__mmap64) [!__NR_mmap2]: Likewise.
39474
bc5bc0e5
AK
394752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39476
39477 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39478
88d506de
AJ
394792012-08-18 Andreas Jaeger <aj@suse.de>
39480
39481 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39482
493387d2
MF
394832012-08-18 Mike Frysinger <vapier@gentoo.org>
39484
39485 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39486 * include/unistd.h (__have_sock_cloexec): Likewise.
39487 (__have_pipe2): Likewise.
39488 (__have_dup3): Likewise.
39489
a277af22
MF
394902012-08-18 Mike Frysinger <vapier@gentoo.org>
39491
39492 [BZ #9685]
39493 * include/unistd.h (__have_pipe2): Change define into an extern int.
39494 (__have_dup3): Likewise.
39495 * socket/have_sock_cloexec.c: Include fcntl.h.
39496 (__have_pipe2): New variable.
39497 (__have_dup3): Likewise.
39498
fdab8fd3
MF
394992012-08-17 Mike Frysinger <vapier@gentoo.org>
39500
39501 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39502
31035e80
MP
395032012-08-17 Marek Polacek <polacek@redhat.com>
39504
39505 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39506 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39507
3bd9e993
RM
395082012-08-17 Roland McGrath <roland@hack.frob.com>
39509
c91c505f
RM
39510 * configure.in: Add AC_SUBST for sysheaders.
39511 * configure: Regenerated.
39512 * config.make.in (sysheaders): New substituted variable.
39513
7c6f9d53
RM
39514 * sysdeps/unix/mkfifo.c: Moved ...
39515 * sysdeps/posix/mkfifo.c: ... here.
39516 * sysdeps/unix/mkfifoat.c: Moved ...
39517 * sysdeps/posix/mkfifoat.c: ... here.
39518
39519 * sysdeps/unix/utime.c: Moved ...
39520 * sysdeps/posix/utime.c: ... here.
39521
39522 * sysdeps/unix/time.c: Moved ...
39523 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39524 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39525 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39526
39527 * sysdeps/unix/nice.c: Moved ...
39528 * sysdeps/posix/nice.c: ... here.
39529
39530 * sysdeps/unix/alarm.c: Moved ...
39531 * sysdeps/posix/alarm.c: ... here.
39532
3bd9e993
RM
39533 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39534
d1f09384
JL
395352012-08-17 Jeff Law <law@redhat.com>
39536
39537 * intl/Makefile (codeset_mo): New variable.
39538 ($(codeset_mo)): New target.
39539 (tst-codeset.out): Depend on that. Remove explicit rule.
39540 (tst-gettext3.out, tst-gettext5.out): Likewise.
39541 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39542 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39543 * intl/tst-codeset.sh: Remove.
39544 * intl/tst-gettext3.sh: Likewise.
39545 * intl/tst-gettext5.sh: Likewise.
39546
2ae1ae5c
RM
395472012-08-17 Roland McGrath <roland@hack.frob.com>
39548
c31fdb83
RM
39549 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39550 * sysdeps/unix/syscalls.list: ... here.
39551
a0844057
RM
39552 * sysdeps/posix/getaddrinfo.c
39553 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39554 (gaiconf_init, gaiconf_reload): Use them.
39555 [!_STATBUF_ST_NSEC]
39556 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39557 Define using time_t rather than struct timespec.
39558
750c1f2a
RM
39559 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39560 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39561 Macros removed.
39562 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39563 [!NO_THREADS].
39564 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39565 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39566 Likewise.
39567
2ae1ae5c
RM
39568 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39569 __libc_cleanup_push argument.
39570
e66a42f5
RM
39571 * bits/param.h: New file.
39572 * misc/sys/param.h: New file.
39573 * include/sys/param.h: New file.
39574 * misc/Makefile (headers): Add bits/param.h.
39575 * sysdeps/generic/sys/param.h: File removed.
39576 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39577 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39578 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39579 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39580
b7c08a66
RM
39581 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39582 last change.
39583
b2e1c562
RM
39584 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39585 [_IO_MTSAFE_IO].
39586 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39587 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39588 New macros.
39589
c75ccd4c
RM
39590 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39591 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39592 rather than -D_IO_MTSAFE_IO conditionally.
39593 * stdio-common/Makefile (CPPFLAGS): Likewise.
39594 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39595 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39596 Use $(libio-mtsafe).
39597 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39598 of -D_IO_MTSAFE_IO.
39599 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39600 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39601 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39602 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39603 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39604 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39605 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39606 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39607 (CFLAGS-fread_u_chk.c): Likewise.
39608 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39609 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39610 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39611 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39612 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39613 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39614 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39615 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39616 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39617
39618 * libio/Makefile: Test [$(libc-reentrant) = yes]
39619 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39620
39621 * Makeconfig
39622 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39623 * sysdeps/pthread/configure: File removed.
39624 * sysdeps/pthread/Makeconfig: New file.
39625 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39626 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39627
d9195db8
GB
396282012-08-16 Gary Benson <gbenson@redhat.com>
39629
39630 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39631 unmapping the first object in a namespace.
39632
86466cd9
RM
396332012-08-16 Roland McGrath <roland@hack.frob.com>
39634
39635 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39636 (__internal_setnetgrent): ... this. Add internal_function to
39637 definition. Add libc_hidden_def.
39638 (setnetgrent): Update caller.
39639 (internal_endnetgrent): Renamed to ...
39640 (__internal_endnetgrent): ... this. Add internal_function to
39641 definition. Add libc_hidden_def.
39642 (endnetgrent): Update caller.
39643 (internal_getnetgrent_r): Renamed to ...
39644 (__internal_getnetgrent_r): ... this. Add internal_function to
39645 definition. Add libc_hidden_def.
39646 (__getnetgrent_r): Update caller.
39647 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39648
c3c8283c
JM
396492012-08-16 Joseph Myers <joseph@codesourcery.com>
39650
39651 * stdlib/longlong.h: Update from GCC.
39652
db1ee0a8
RM
396532012-08-16 Roland McGrath <roland@hack.frob.com>
39654
39655 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39656 on _QL, which is set by umul_ppmm but never used.
39657 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39658 variables, which are set by GMP macros but never used.
39659 * stdio-common/_itowa.c (_itowa): Likewise.
39660 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39661 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39662
30f69637
CD
396632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39664
39665 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39666 struct La_sh_regs is not constant.
39667 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39668 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39669 and struct La_sparc64_regs are not constant.
39670
93a78ac4
JM
396712012-08-16 Joseph Myers <joseph@codesourcery.com>
39672
39673 * sysdeps/unix/sysv/linux/kernel-features.h
39674 (__ASSUME_POSIX_TIMERS): Remove.
39675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39677 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39678 Make code unconditional.
39679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39680 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39681 Make code unconditional.
39682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39683 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39684 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39686 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39687 Make code unconditional.
39688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39689 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39690 (__libc_missing_posix_timers): Remove.
39691
dd924cd7
RM
396922012-08-15 Roland McGrath <roland@hack.frob.com>
39693
4b4f2771
RM
39694 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39695 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39696
601c888b
RM
39697 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39698
176790a7
RM
39699 * elf/dl-sym.c: Include <stdlib.h>.
39700
329bc018
RM
39701 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39702 constants, which avoids warnings in 32-bit builds.
39703
e04e272d
RM
39704 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39705 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39706
952bf94a
RM
39707 * misc/lseek.c: File moved to ...
39708 * io/lseek.c: ... here.
39709
7c99b50a
RM
39710 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39711
dd924cd7
RM
39712 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39713 shifting LEN more than 31 bits at once.
39714
b3f479a8
LD
397152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39716
39717 [BZ #14195]
8c4ae0d4
RM
39718 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39719 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39720 * string/test-strncasecmp.c (check1): Renamed to...
39721 (bz12205): ...this.
39722 (bz14195): Add new testcase for two empty input strings and N > 0.
39723 (test_main): Call new testcase, adapt for renamed function.
39724
9c55864e
AJ
397252012-08-15 Andreas Jaeger <aj@suse.de>
39726
39727 [BZ #14090]
39728 * crypt/md5test2.c: New test, based on test supplied by Serge
39729 Belyshev <belyshev@depni.sinp.msu.ru>.
39730 * crypt/Makefile (xtests): Add md5test-giant..
39731 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39732
02dcb6c5
PE
397332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39734
39735 [BZ #14090]
39736 * crypt/md5.c (md5_process_block): Don't assume the buffer
39737 length is less than 2**32.
39738 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39739 length is less than 2**64.
39740
a3f95dcc
RM
397412012-08-15 Roland McGrath <roland@hack.frob.com>
39742
be75d758
RM
39743 * string/str-two-way.h: Include <sys/param.h>.
39744 (MAX): Macro removed.
39745
7312ca90
RM
39746 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39747 Move #define and #undef of memmove to just before and after
39748 including <string.h>.
39749
9a0a5486
RM
39750 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39751 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39752 and after including <string.h>. Move declarations of
39753 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39754 to before #include "string/memmove.c".
39755
67cc348d
RM
39756 * include/dirent.h: Declare __getdirentries.
39757
a3f95dcc
RM
39758 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39759 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39760
ca98e171
MF
397612012-08-14 Mike Frysinger <vapier@gentoo.org>
39762
39763 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39764 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39765 * sysdeps/i386/configure: Regenerated.
39766 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39767 STABS_CURRENT_FILE, and STABS_FUN.
39768 (END): Remove call to STABS_FUN_END.
39769 (STABS_CURRENT_FILE1): Delete.
39770 (STABS_CURRENT_FILE): Likewise.
39771 (STABS_FUN): Likewise.
39772 (STABS_FUN_END): Likewise.
39773 (STABS_FUN2): Likewise.
39774 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39775 * sysdeps/x86_64/configure: Regenerated.
39776
5908bf46
RM
397772012-08-14 Roland McGrath <roland@hack.frob.com>
39778
39779 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39780 * elf/dl-lookup.c: Likewise.
5908bf46 39781
f2c05b9e
JM
397822012-08-14 Joseph Myers <joseph@codesourcery.com>
39783
39784 * sysdeps/unix/sysv/linux/kernel-features.h
39785 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39786 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39787 unconditionally.
39788 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39789 unconditionally.
39790 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39791 condition on __ASSUME_CLONE_THREAD_FLAGS.
39792
e11f5155
AJ
397932012-08-14 Andreas Jaeger <aj@suse.de>
39794
39795 * sysdeps/i386/fpu/libm-test-ulps: Update.
39796
51a9ba86
MK
397972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39798
2fdd4f78
AJ
39799 * include/atomic.h (atomic_exchange_and_add): Split into ...
39800 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39801 New atomic macros.
51a9ba86 39802
ba6cba9e
MT
398032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39804
39805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39806
42443a47
JL
398072012-08-13 Jeff Law <law@redhat.com>
39808
39809 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39810 null byte in the output string.
39811
121dce05
JM
398122012-08-10 Joseph Myers <joseph@codesourcery.com>
39813
39814 * sysdeps/unix/sysv/linux/kernel-features.h
39815 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39816 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39817 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39818 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39819 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39820 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39821 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39822
bf51f568
JL
398232012-08-09 Jeff Law <law@redhat.com>
39824
39825 [BZ #13939]
39826 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39827 When avoid_arena is set, don't retry in the that arena. Pick the
39828 next one, whatever it might be.
39829 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39830 (arena_lock): Pass in new parameter to arena_get2.
39831 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39832 arena_get2.
39833 (__libc_malloc): Unify retrying after main arena failure with
39834 __libc_memalign version.
39835 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39836
f85fa270
L
398372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39838
39839 [BZ #14166]
39840 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39841 to __redirect_strstr.
39842 (__strstr_sse42): Use typeof __redirect_strstr.
39843 (__strstr_ia32): Likewise.
39844 (__libc_strstr): New prototype.
39845 (strstr): Renamed to ...
39846 (__libc_strstr): This.
39847 (strstr): New strong alias of __libc_strstr.
39848 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39849 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39850 __redirect_time.
39851 Include <time.h>.
39852 (__libc_time): New prototype.
39853 (time_ifunc): Replace time with __libc_time.
39854 (time): New strong alias and hidden definition of __libc_time.
39855 (__GI_time): Remove strong alias.
39856 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39857 Include <stddef.h>.
39858 (memmove): Redefined to __redirect_memmove.
39859 (__memmove_sse2): Use typeof __redirect_memmove.
39860 (__memmove_ssse3): Likewise.
39861 (__memmove_ssse3_back): Likewise.
39862 (__libc_memmove): New prototype.
39863 (memmove): Renamed to ...
39864 (__libc_memmove): This.
39865 (memmove): New strong alias of __libc_memmove.
39866
33b4a91e
MS
398672012-08-08 Mark Salter <msalter@redhat.com>
39868
39869 * elf/elf.h
39870 (R_MN10300_TLS_GD): Define.
39871 (R_MN10300_TLS_LD): Likewise.
39872 (R_MN10300_TLS_LDO): Likewise.
39873 (R_MN10300_TLS_GOTIE): Likewise.
39874 (R_MN10300_TLS_IE): Likewise.
39875 (R_MN10300_TLS_LE): Likewise.
39876 (R_MN10300_TLS_DTPMOD): Likewise.
39877 (R_MN10300_TLS_DTPOFF): Likewise.
39878 (R_MN10300_TLS_TPOFF): Likewise.
39879 (R_MN10300_SYM_DIFF): Likewise.
39880 (R_MN10300_ALIGN): Likewise.
39881 (R_MN10300_NUM): Update.
39882
b36137f1
JM
398832012-08-08 Joseph Myers <joseph@codesourcery.com>
39884
39885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39886 Remove.
39887
cdd915fd
RM
398882012-08-08 Roland McGrath <roland@hack.frob.com>
39889
a2433aac
RM
39890 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39891
cdd915fd
RM
39892 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39893 sysdeps/unix -> sysdeps/posix move.
39894 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39895
bf9b740a
AM
398962012-08-07 Allan McRae <allan@archlinux.org>
39897
39898 [BZ #14303]
39899 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39900 (SUNOS_CPP): Likewise.
39901 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39902 not found.
39903 (open_input): Call CPP using execvp.
39904
93df14ee
JM
399052012-08-07 Joseph Myers <joseph@codesourcery.com>
39906
39907 * sysdeps/unix/sysv/linux/kernel-features.h
39908 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39909 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39910 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39911 (__ASSUME_WAITID_SYSCALL): Likewise.
39912 * sysdeps/unix/sysv/linux/dl-execstack.c
39913 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39914 code unconditional.
39915 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39916 conditional code.
39917 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39918 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39919 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39920 code.
39921 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39922 unconditional.
39923 [__ASSUME_WAITID_SYSCALL]: Likewise.
39924 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39925
d34689de
RM
399262012-08-07 Roland McGrath <roland@hack.frob.com>
39927
a281decc
RM
39928 * sysdeps/unix/closedir.c: Renamed to ...
39929 * sysdeps/posix/closedir.c: ... here.
39930 * sysdeps/unix/dirfd.c: Renamed to ...
39931 * sysdeps/posix/dirfd.c: ... here.
39932 * sysdeps/unix/dirstream.h: Renamed to ...
39933 * sysdeps/posix/dirstream.h: ... here.
39934 * sysdeps/unix/fdopendir.c: Renamed to ...
39935 * sysdeps/posix/fdopendir.c: ... here.
39936 * sysdeps/unix/opendir.c: Renamed to ...
39937 * sysdeps/posix/opendir.c: ... here.
39938 * sysdeps/unix/readdir.c: Renamed to ...
39939 * sysdeps/posix/readdir.c: ... here.
39940 * sysdeps/unix/readdir_r.c: Renamed to ...
39941 * sysdeps/posix/readdir_r.c: ... here.
39942 * sysdeps/unix/rewinddir.c: Renamed to ...
39943 * sysdeps/posix/rewinddir.c: ... here.
39944 * sysdeps/unix/seekdir.c: Renamed to ...
39945 * sysdeps/posix/seekdir.c: ... here.
39946 * sysdeps/unix/telldir.c: Renamed to ...
39947 * sysdeps/posix/telldir.c: ... here.
39948 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39949 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39950 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39951 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39952
22895b47
RM
39953 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39954 * bits/fcntl.h: ... here.
39955
707a53b6
RM
39956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39957 not 0.
39958 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39959 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39960 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39961 (struct flock): Move l_start, l_len to the beginning.
39962 Use __pid_t for l_pid.
39963 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39964 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39965 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39966 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39967 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39968 [__USE_LARGEFILE64] (struct flock64): New type.
39969 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39970
f0bd3e25
RM
39971 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39972 * bits/dirent.h: ... here.
39973
d34689de
RM
39974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39975 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39976
6dad2c06
JM
399772012-08-07 Joseph Myers <joseph@codesourcery.com>
39978
39979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39980 Change from 2.6.0 to 2.6.16.
39981 * sysdeps/unix/sysv/linux/configure: Regenerated.
39982 * sysdeps/unix/sysv/linux/kernel-features.h
39983 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39984 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39985 version.
39986 (__ASSUME_UTIMES): Likewise.
39987 (__ASSUME_CLONE_STOPPED): Remove.
39988 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39989 architectures, not kernel version.
39990 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39993 (__ASSUME_WAITID_SYSCALL): Likewise.
39994 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39995 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39996 * README: State 2.6.16 as minimum Linux kernel version. Do not
39997 refer to older versions.
39998
03af9520
RM
399992012-08-06 Roland McGrath <roland@hack.frob.com>
40000
8e49df1d
RM
40001 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40002 Define alphasort64 as an alias.
40003 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40004 Define versionsort64 as an alias.
40005 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40006 Define scandir64 as an alias.
40007 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40008 Define scandirat64 as an alias.
40009 * dirent/alphasort64.c (alphasort64):
40010 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40011 * dirent/versionsort64.c: Likewise.
40012 * dirent/scandir64.c: Likewise.
40013 * dirent/scandirat64.c: Likewise.
40014 * sysdeps/wordsize-64/alphasort.c: File removed.
40015 * sysdeps/wordsize-64/alphasort64.c: File removed.
40016 * sysdeps/wordsize-64/scandir.c: File removed.
40017 * sysdeps/wordsize-64/scandir64.c: File removed.
40018 * sysdeps/wordsize-64/scandirat.c: File removed.
40019 * sysdeps/wordsize-64/scandirat64.c: File removed.
40020 * sysdeps/wordsize-64/versionsort.c: File removed.
40021 * sysdeps/wordsize-64/versionsort64.c: File removed.
40022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40029 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40030
40031 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40033 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40035 [defined __arch64__ || defined __sparcv9]
40036 (__INO_T_MATCHES_INO64_T): New macro.
40037 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40038 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40039 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40040 * sysdeps/unix/sysv/linux/bits/dirent.h
40041 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40042 (_DIRENT_MATCHES_DIRENT64): New macro.
40043
03af9520
RM
40044 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40045 Define lockf64 as an alias.
40046 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40047 Define fseeko64 as an alias.
40048 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40049 Define ftello64 as an alias.
40050 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40051 Define _IO_fgetpos64 and fgetpos64 as aliases.
40052 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40053 Define _IO_fsetpos64 and fsetpos64 as aliases.
40054 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40055 Conditionalize body on this.
40056 * libio/fseeko64.c: Likewise.
40057 * libio/ftello64.c: Likewise.
40058 * libio/iofgetpos64.c: Likewise.
40059 * libio/iofsetpos64.c: Likewise.
40060 * sysdeps/wordsize-64/lockf.c: File removed.
40061 * sysdeps/wordsize-64/lockf64.c: File removed.
40062 * sysdeps/wordsize-64/fseeko.c: File removed.
40063 * sysdeps/wordsize-64/fseeko64.c: File removed.
40064 * sysdeps/wordsize-64/ftello.c: File removed.
40065 * sysdeps/wordsize-64/ftello64.c: File removed.
40066 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40067 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40068 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40069 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40080
40081 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40083 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40085 [defined __arch64__ || defined __sparcv9]
40086 (__OFF_T_MATCHES_OFF64_T): New macro.
40087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40088 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40090 (__OFF_T_MATCHES_OFF64_T): New macro.
40091
c5757acd
L
400922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40093
40094 * stdlib/secure-getenv.c (__secure_getenv): Replace
40095 GLIBC_2_16 with GLIBC_2_17.
40096
3a31811e
L
400972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40098
40099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40100 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40101
faa2bccb
DM
401022012-08-03 David S. Miller <davem@davemloft.net>
40103
40104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40105
85fe1997
JM
401062012-08-03 Joseph Myers <joseph@codesourcery.com>
40107
40108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40109 Remove.
40110 (__ASSUME_CORRECT_SI_PID): Likewise.
40111 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40112 (__ASSUME_TMPFS_NAME): Likewise.
40113 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40114 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40115 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40116 (HAVE_AUX_SECURE): Make definition unconditional.
40117 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40118 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40119
4f75b7a0
RM
401202012-08-03 Roland McGrath <roland@hack.frob.com>
40121
40122 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40123 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40124 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40125 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40126 __eloop_threshold instead of SYMLOOP_MAX.
40127
40128 * sysdeps/generic/eloop-threshold.h: New file.
40129 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40130 of MAXSYMLINKS.
40131 * elf/chroot_canon.c (chroot_canon): Likewise.
40132
7aab07e4
JM
401332012-08-03 Joseph Myers <joseph@codesourcery.com>
40134
40135 [BZ #13717]
40136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40137 Change to 2.6.0 everywhere.
40138 * sysdeps/unix/sysv/linux/configure: Regenerated.
40139 * sysdeps/unix/sysv/linux/kernel-features.h
40140 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40141 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40142 kernel versions.
40143 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40144 (__ASSUME_FUTEX_REQUEUE): Remove.
40145 (__ASSUME_STATFS64): Define unconditionally.
40146 (__ASSUME_AT_SECURE): Likewise.
40147 (__ASSUME_CORRECT_SI_PID): Likewise.
40148 (__ASSUME_TGKILL): Define without depending on kernel version for
40149 i386.
40150 (__ASSUME_UTIMES): Likewise.
40151 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40152 kernel version.
40153 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40154 (__ASSUME_TMPFS_NAME): Likewise.
40155 * README: Update reference to Linux kernel versions.
40156
b67e9372
MP
401572012-08-02 Marek Polacek <polacek@redhat.com>
40158
1f529f7d 40159 [BZ# 14150]
b67e9372
MP
40160 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40161 libc_cv_asm_type_prefix with %.
40162 * configure: Regenerated.
d2441631
RM
40163 * include/libc-symbols.h: Remove comment about
40164 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40165 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40166 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40167 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40168 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40169 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40171 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40172 * elf/tst-unique2mod1.c: Likewise.
40173 * elf/tst-unique1mod2.c: Likewise.
40174 * elf/tst-unique1mod1.c: Likewise.
40175 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40176 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40177 Replace ASM_TYPE_DIRECTIVE with .type.
40178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40179 * sysdeps/i386/sysdep.h: Likewise.
40180 * sysdeps/x86_64/sysdep.h: Likewise.
40181 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40183 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40184 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40185 * sysdeps/powerpc/powerpc32/sysdep.h:
40186 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40187 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40188 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40189 * sysdeps/i386/fpu/e_powf.S: Likewise.
40190 * sysdeps/i386/fpu/e_expl.S: Likewise.
40191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40193 * sysdeps/i386/fpu/e_pow.S: Likewise.
40194 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40196 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40197 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40198 * sysdeps/i386/fpu/e_log2.S: Likewise.
40199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40200 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40201 * sysdeps/i386/fpu/e_powl.S: Likewise.
40202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40203 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40204 * sysdeps/i386/fpu/e_logl.S: Likewise.
40205 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40206 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40207 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40209 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40210 * sysdeps/i386/fpu/e_log.S: Likewise.
40211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40212 * sysdeps/i386/fpu/e_logf.S: Likewise.
40213 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40214 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40215 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40216 * sysdeps/i386/fpu/e_log10.S: Likewise.
40217 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40219 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40220 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40222 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40223 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40224 * sysdeps/i386/i686/strtok.S: Likewise.
40225 * sysdeps/i386/i386-mcount.S: Likewise.
40226 * sysdeps/i386/strtok.S: Likewise.
40227 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40228 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40231 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40233 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40234 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40235 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40236 * sysdeps/x86_64/_mcount.S: Likewise.
40237 * sysdeps/x86_64/strtok.S: Likewise.
40238 * sysdeps/sh/_mcount.S: Likewise.
40239
2747bf9a
RM
402402012-08-01 Roland McGrath <roland@hack.frob.com>
40241
40242 * libio/iofopen.c: Include <fcntl.h>.
40243 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40244 (_IO_fopen64, fopen64): Define as aliases.
40245 * libio/iofopen64.c: Include <fcntl.h>.
40246 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40247 Conditionalize body on this.
40248 * sysdeps/wordsize-64/iofopen.c: File removed.
40249 * sysdeps/wordsize-64/iofopen64.c: File removed.
40250
3fb791b8
MP
402512012-08-01 Marek Polacek <polacek@redhat.com>
40252
40253 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40254 Use dlfcn directly instead of a variable.
40255 (binfmt-subdir): Do not define.
40256 (dlfcn): Likewise.
40257
a9f1039f
JM
402582012-08-01 Joseph Myers <joseph@codesourcery.com>
40259
23bddc06
JM
40260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40261 Remove all definitions.
40262 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40263 <kernel-features.h>.
40264 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40265 (miss_F_GETOWN_EX): Remove all definitions.
40266 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40267 macro definition.
40268 [!__ASSUME_FCNTL64]: Remove conditional code.
40269 [__ASSUME_FCNTL64]: Make code unconditional.
40270 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40271 <kernel-features.h>.
40272 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40273 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40274 (lockf64) [__NR_fcntl64]: Make code unconditional.
40275 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40276
a9f1039f
JM
40277 * sysdeps/unix/sysv/linux/kernel-features.h
40278 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40279 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40280 Make code unconditional.
40281 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40282 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40284 [__NR_vfork]: Make code unconditional.
40285 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40286 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40288 [__NR_vfork]: Make code unconditional.
40289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40291
09c0ee5f
RM
402922012-08-01 Roland McGrath <roland@hack.frob.com>
40293
48aec5b9
RM
40294 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40295 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40296
cd97c966
RM
40297 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40298 Define mkstemp64 as an alias.
3f55550c
RM
40299 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40300 Define mkstemps64 as an alias.
cd97c966
RM
40301 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40302 Define mkostemp64 as an alias.
b8625cfc
RM
40303 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40304 Define mkostemps64 as an alias.
cd97c966
RM
40305 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40306 Conditionalize body on this.
40307 * misc/mkostemp64.c: Likewise.
b8625cfc 40308 * misc/mkostemps64.c: Likewise.
3f55550c 40309 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40310 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40311 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40312 * sysdeps/wordsize-64/mkostemp.c: File removed.
40313 * sysdeps/wordsize-64/mkstemp.c: File removed.
40314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40316 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40318
09c0ee5f
RM
40319 [BZ #14138]
40320 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40321 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40322 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40323 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40324
40325 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40326 compat_symbol macros from <shlib-compat.h> rather than the underlying
40327 default_symbol_version and symbol_version macros, so that DEFAULT
40328 lines in shlib-versions are respected.
40329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40330
7e66ee51
FW
403312012-08-01 Florian Weimer <fweimer@redhat.com>
40332
40333 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40334 Declare with warn_unused_result.
40335 (setgid, setregid, setegid, setresgid): Likewise.
40336 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40337 Likewise.
40338 * WUR-REPORT: Remove set*id functions.
40339
d2a54255
PT
403402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40341
40342 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40343
7ecdb005
RM
403442012-07-31 Roland McGrath <roland@hack.frob.com>
40345
b4180a5e 40346 [BZ #10191]
789bd351
RM
40347 * include/sys/socket.h (__libc_accept, __libc_accept4):
40348 Add attribute_hidden.
40349 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40350
40ce302d
RM
40351 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40352 use of PTR_MANGLE.
40353 * inet/getnetgrent_r.c (setup): Likewise.
40354
7ecdb005
RM
40355 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40356
e2eabb2c
DM
403572012-07-31 David S. Miller <davem@davemloft.net>
40358
40359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40360
d0419dbf
JM
403612012-07-31 Joseph Myers <joseph@codesourcery.com>
40362
40363 [BZ #13629]
40364 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40365 value between 1.0 and 2.0 and smaller part has absolute value less
40366 than 1.0.
40367 * math/s_clog10.c (__clog10): Likewise.
40368 * math/s_clog10f.c (__clog10f): Likewise.
40369 * math/s_clog10l.c (__clog10l): Likewise.
40370 * math/s_clogf.c (__clogf): Likewise.
40371 * math/s_clogl.c (__clogl): Likewise.
40372 * math/libm-test.inc (clog_test): Add more tests.
40373 (clog10_test): Likewise.
40374 * sysdeps/i386/fpu/libm-test-ulps: Update.
40375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40376
2bc13872
FW
403772012-07-31 Florian Weimer <fweimer@redhat.com>
40378
40379 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40380 Exit with zero in case no suitable GID is found, and write a
40381 message to standard error.
40382
bea9b193
RM
403832012-07-30 Roland McGrath <roland@hack.frob.com>
40384
40385 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40386 rather than to 1.
40387 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40388 (MAXPATHLEN): Removed.
40389 (NOGROUP, NODEV): New macros.
40390 (setbit, clrbit, isset, isclr): New macros.
40391 (howmany, roundup, powerof2): New macros.
40392 (DEV_BSIZE): New macro.
40393
40394 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40395 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40396
40397 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40398 definition on [!__NO_LONG_DOUBLE_MATH].
40399
40400 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40401 PTR_MANGLE and PTR_DEMANGLE.
40402
40403 * socket/accept4.c (accept4): Rename to __libc_accept4.
40404 Define accept4 as a weak alias.
40405
40406 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40407 on [_DIRENT_HAVE_D_TYPE].
40408 * io/ftw.c (ftw_dir): Likewise.
40409
40410 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40411
40412 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40413
40414 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40415 Use the BSD numbers rather than the arbitrary ones we had.
40416 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40417 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40418 (SIGXCPU, SIGXFSZ): New macros.
40419 (_NSIG): Now 32.
40420
40421 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40422 initializer on [_LIBC_REENTRANT].
40423
40424 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40425 definitions inside [_POSIX_MAPPED_FILES].
40426
40427 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40428
40429 * dirent/opendir.c: Include <fcntl.h>.
40430
40431 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40432 (__libc_getspecific): Likewise.
40433 (__libc_key_create): Likewise.
40434
40435 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40436 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40437 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40438 (tmpfile64): Define as alias.
40439 * sysdeps/wordsize-64/tmpfile.c: File removed.
40440 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40443
40444 * stdio-common/vfscanf.c: Include <stdbool.h>.
40445 * nss/makedb.c: Likewise.
40446 * stdio-common/_i18n_number.h: Likewise.
40447 * argp/argp-help.c: Likewise.
40448 * posix/wordexp.c: Likewise.
40449 * sysdeps/posix/spawni.c: Likewise.
40450 * nss/nss_files/files-initgroups.c: Likewise.
40451 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40452 * nss/nss_files/files-initgroups.c: Likewise.
40453 * nss/nss_db/db-netgrp.c: Likewise.
40454 * nss/nss_db/db-initgroups.c: Likewise.
40455 * io/fchmodat.c: Include <sys/stat.h>.
40456
40457 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40458 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40459
40460 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40461 [HAVE_MMAP].
40462
40463 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40464 Add multiple inclusion protection.
40465
e5abc686
DM
404662012-07-27 David S. Miller <davem@davemloft.net>
40467
40468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40469
815e6fa3
GB
404702012-07-27 Gary Benson <gbenson@redhat.com>
40471
40472 [BZ #14298]
40473 * elf/rtld.c: Include <stap-probe.h>.
40474 (dl_main): Added static probes "init_start" and "init_complete".
40475 * elf/dl-load.c: Include <stap-probe.h>.
40476 (lose): Take new parameter "nsid".
40477 Added static probe "map_failed".
40478 (_dl_map_object_from_fd): Pass namespace id to lose.
40479 Added static probe "map_start".
40480 (open_verify): Pass namespace id to lose.
40481 * elf/dl-open.c: Include <stap-probe.h>.
40482 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40483 and "reloc_complete".
40484 * elf/dl-close.c: Include <stap-probe.h>.
40485 (_dl_close_worker): Added static probes "unmap_start" and
40486 "unmap_complete".
40487 * elf/rtld-debugger-interface.txt: New file documenting the above.
40488
9f98c16c
RM
404892012-07-26 Roland McGrath <roland@hack.frob.com>
40490
40491 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40492 rather than a string variable.
40493 * sunrpc/rpc_main.c (h_output): Likewise.
40494 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40495
f3c22df3
PT
404962012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40497
40498 * inet/check_native.c: New file.
40499
3129cfc6
JM
405002012-07-26 Joseph Myers <joseph@codesourcery.com>
40501
da865e95
JM
40502 [BZ #13629]
40503 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40504 if larger part has absolute value 1.0.
40505 * math/s_clog10.c (__clog10): Likewise.
40506 * math/s_clog10f.c (__clog10f): Likewise.
40507 * math/s_clog10l.c (__clog10l): Likewise.
40508 * math/s_clogf.c (__clogf): Likewise.
40509 * math/s_clogl.c (__clogl): Likewise.
40510 * math/libm-test.inc (clog_test): Add more tests.
40511 (clog10_test): Likewise.
40512 * sysdeps/i386/fpu/libm-test-ulps: Update.
40513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40514
3129cfc6
JM
40515 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40516 (pltexit): Likewise.
40517 (La_regs): Likewise.
40518 (La_retval): Likewise.
40519 (int_retval): Likewise.
40520 Update #error for removed macros to refer only to definitions in
40521 tst-audit.h.
40522 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40523 macro.
40524 (pltexit): Likewise.
40525 (La_regs): Likewise.
40526 (La_retval): Likewise.
40527 (int_retval): Likewise.
40528 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40529 macro.
40530 (pltexit): Likewise.
40531 (La_regs): Likewise.
40532 (La_retval): Likewise.
40533 (int_retval): Likewise.
40534 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40535 macro.
40536 (pltexit): Likewise.
40537 (La_regs): Likewise.
40538 (La_retval): Likewise.
40539 (int_retval): Likewise.
40540 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40541 macro.
40542 (pltexit): Likewise.
40543 (La_regs): Likewise.
40544 (La_retval): Likewise.
40545 (int_retval): Likewise.
40546 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40547 macro.
40548 (pltexit): Likewise.
40549 (La_regs): Likewise.
40550 (La_retval): Likewise.
40551 (int_retval): Likewise.
40552 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40553 macro.
40554 (pltexit): Likewise.
40555 (La_regs): Likewise.
40556 (La_retval): Likewise.
40557 (int_retval): Likewise.
40558 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40559 macro definitions in tst-audit.h.
40560 * sysdeps/i386/tst-audit.h: New file.
40561 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40562 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40563 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40564 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40565 * sysdeps/sh/tst-audit.h: Likewise.
40566 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40567 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40568 * sysdeps/x86_64/tst-audit.h: Likewise.
40569
bfc07087
AJ
405702012-07-26 Andreas Jaeger <aj@suse.de>
40571
b1b2aaf8
AJ
40572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40573 ptrace.
40574
40575 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40576 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40577 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40578 PTRACE_O_MASK.
40579 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40580 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40581 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40582
bfc07087
AJ
40583 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40584 value.
40585
40586 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40587 _sigsys.
40588 (si_call_addr, si_syscall, si_arch): Define new macro.
40589 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40590 _sigsys.
40591 (si_call_addr, si_syscall, si_arch): Define new marcro.
40592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40593 _sigsys.
40594 (si_call_addr, si_syscall, si_arch): Define new macro.
40595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40596 _sigsys.
40597 (si_call_addr, si_syscall, si_arch): Define new macro.
40598
89b4b02f
JM
405992012-07-25 Joseph Myers <joseph@codesourcery.com>
40600
40601 [BZ #13717]
40602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40603 Change to 2.4.21 where previously 2.4.1.
40604 * sysdeps/unix/sysv/linux/configure: Regenerated.
40605 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40606 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40607 Linux kernel version.
40608 (__ASSUME_STD_AUXV): Remove.
40609 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40610 kernel version.
40611 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40612 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40613 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40614 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40615 (__ASSUME_NETLINK_SUPPORT): Likewise.
40616 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40617 (__no_netlink_support): Remove conditional definition.
40618 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40619 Remove.
40620 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40621 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40622 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40623 (if_nameindex_ioctl): Remove.
40624 (if_nameindex_netlink): Do not handle __no_netlink_support.
40625 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40626 code.
40627 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40628 Remove conditional code.
40629 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40630 code.
40631 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40632 unconditional.
40633 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40634 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40635 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40636 Remove.
40637 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40638 [!__ASSUME_STD_AUXV]: Remove conditional code.
40639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40640 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40641 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40643 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40644 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40645 code.
40646 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40648 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40649 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40650 conditional code.
40651 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40653 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40654 code.
40655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40656 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40657 conditional code.
40658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40659 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40660 code unconditional.
40661 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40662 conditional code.
40663 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40664 unconditional.
40665 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40666 conditional code.
40667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40668 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40669 unconditional.
40670 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40671 conditional code.
40672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40673 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40674 code unconditional.
40675 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40676 conditional code.
40677 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40678 unconditional.
40679 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40680 conditional code.
40681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40682 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40683 code unconditional.
40684 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40685 conditional code.
40686 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40687 unconditional.
40688 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40689 conditional code.
40690
842a39cd
AS
406912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40692
40693 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40694 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40695 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40696 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40697 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40698 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40699 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40700 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40701 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40702 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40703 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40704 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40705 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40706 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40708 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40709 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40711 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40713 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40714 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40715 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40716
84b3fd84
FW
407172012-07-25 Florian Weimer <fweimer@redhat.com>
40718
40719 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40720 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40721 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40722 Introduce __libc_secure_getenv.
0c7936d5
FW
40723 * stdlib/Versions (2.17): Add secure_getenv
40724 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40725 * stdlib/secure-getenv.c: Rename __secure_getenv to
40726 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40727 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40728 * stdlib/tst-secure-getenv.c: New.
40729 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40730 * manual/startup.texi (Environment Access): Document
40731 secure_getenv.
84b3fd84
FW
40732 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40733 __libc_secure_getenv.
40734 * inet/ruserpass.c (ruserpass): Likewise.
40735 * malloc/mtrace.c (mtrace): Likewise.
40736 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40737 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40738 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40739 * sysdeps/posix/tempname.c: Likewise. Evaluate
40740 HAVE_SECURE_GETENV.
40741 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40742 __secure_getenv to __libc_secure_getenv.
84b3fd84 40743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40745 Likewise.
40746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40747 Likewise.
40748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40755
56e49b71
JM
407562012-07-25 Joseph Myers <joseph@codesourcery.com>
40757
40758 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40759 (struct La_i86_retval): Likewise.
40760 (struct La_x86_64_regs): Likewise.
40761 (struct La_x86_64_retval): Likewise.
40762 (struct La_x32_regs): Likewise.
40763 (struct La_x32_retval): Likewise.
40764 (struct La_ppc32_regs): Likewise.
40765 (struct La_ppc32_retval): Likewise.
40766 (struct La_ppc64_regs): Likewise.
40767 (struct La_ppc64_retval): Likewise.
40768 (struct La_sh_regs): Likewise.
40769 (struct La_sh_retval): Likewise.
40770 (struct La_s390_32_regs): Likewise.
40771 (struct La_s390_32_retval): Likewise.
40772 (struct La_s390_64_regs): Likewise.
40773 (struct La_s390_64_retval): Likewise.
40774 (struct La_sparc32_regs): Likewise.
40775 (struct La_sparc32_retval): Likewise.
40776 (struct La_sparc64_regs): Likewise.
40777 (struct La_sparc64_retval): Likewise.
40778 (struct audit_ifaces): Remove architecture-specific pltenter and
40779 pltexit members.
40780 * sysdeps/i386/ldsodefs.h: New file.
40781 * sysdeps/powerpc/ldsodefs.h: Likewise.
40782 * sysdeps/s390/ldsodefs.h: Likewise.
40783 * sysdeps/sh/ldsodefs.h: Likewise.
40784 * sysdeps/sparc/ldsodefs.h: Likewise.
40785 * sysdeps/x86_64/ldsodefs.h: Likewise.
40786
354691b7
MP
407872012-07-25 Marek Polacek <polacek@redhat.com>
40788
40789 [BZ #6808]
40790 * math/libm-test.inc (yn_test): Add another test.
40791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40792 to ERANGE when the result is +-Inf.
40793 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40795 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40797
bf9e2071
JM
407982012-07-24 Joseph Myers <joseph@codesourcery.com>
40799
40800 * conform/data/time.h-data (NULL): Use macro-constant. Require
40801 equal to 0.
40802 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40803 clock_t.
40804 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40805
57633811
TS
408062012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40807
40808 * configure.in <sysdeps resolving>: Correct printing
40809 Implies_before.
40810 * configure: Regenerate.
40811
c23c33b0
TS
408122012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40813
40814 * math/w_ilogb.c: Include <limits.h>.
40815 * math/w_ilogbl.c: Likewise.
40816
b5982523
JM
408172012-07-20 Joseph Myers <joseph@codesourcery.com>
40818
40819 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40820 va_copy. Document allowing for unavailable va_copy only as
40821 pre-C99 compatibility.
40822 * manual/string.texi (Copying and Concatenation): Use va_copy
40823 instead of __va_copy in concat example.
40824
ac4ea442
PT
408252012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40826
40827 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40828 (__sendto): Use create_address_port. Initialize APORT and deallocate
40829 it if not null.
40830
f98eafbd
PT
40831 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40832 with O_NOLINK passed to __file_name_lookup.
40833
898c7aab
PT
40834 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40835 with O_NOLINK passed to __file_name_lookup.
40836
0ced335a
PT
40837 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40838 negative N or less than NGIDS.
40839
b3404dbd
PT
40840 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40841 type to string_t. Set ERANGE as errno and return it if NAME is not big
40842 enough. Use memcpy instead of strncpy.
40843
0f48659e
JM
408442012-07-20 Joseph Myers <joseph@codesourcery.com>
40845
40846 * elf/Makefile (check-data): Remove.
40847 (localplt.data): New vpath directive.
40848 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40849 instead of $(check-data).
40850 * scripts/data/localplt-generic.data: Move to ...
40851 * sysdeps/generic/localplt.data: ... here.
40852 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40853 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40854 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40856 ... here.
40857 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40859 ... here.
40860 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40862 ... here.
40863 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40865 ... here.
40866 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40868 ... here.
40869 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40871 ... here.
40872
d37cbdaa
AZ
408732012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40874
40875 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40876 PPC32 and PPC64 files.
40877 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40878 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40879
46f85fc2
AK
408802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40881
40882 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40883 __makecontext_ret to ...
40884 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40885 ... here and call exit if uc_link is NULL. New file.
40886 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40887 __makecontext_ret.S.
40888 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40889 __makecontext_ret to ...
40890 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40891 ... here and call exit if uc_link is NULL. New file.
40892 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40893 __makecontext_ret.S.
40894
08f43f9b
AK
408952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40896
40897 * elf/elf.h (R_390_IRELATIVE): New definition.
40898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40899 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40900 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40902 (elf_machine_lazy_rel): Likewise.
40903 * sysdeps/s390/dl-irel.h: New file.
40904 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40905 * sysdeps/s390/s390-64/memset.S: New asm code.
40906 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40907 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40908 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40909 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40910 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40911 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40913 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40914 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40915 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40916 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40917 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40918 * sysdeps/s390/s390-32/memset.S: New asm code.
40919 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40920
3b05db33
MP
409212012-07-17 Marek Polacek <polacek@redhat.com>
40922
40923 [BZ #14349]
40924 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40925 * sysdeps/s390/s390-64/configure.in: Likewise.
40926 * sysdeps/sparc/configure.in: Likewise.
40927 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40928 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40929 * sysdeps/i386/configure.in: Likewise.
40930 * sysdeps/x86_64/configure.in: Likewise.
40931 * sysdeps/sh/configure.in: Likewise.
40932 * sysdeps/s390/s390-32/configure: Regenerated.
40933 * sysdeps/s390/s390-64/configure: Likewise.
40934 * sysdeps/x86_64/configure: Likewise.
40935 * sysdeps/sh/configure: Likewise.
40936 * sysdeps/powerpc/powerpc64/configure: Likewise.
40937 * sysdeps/powerpc/powerpc32/configure: Likewise.
40938 * sysdeps/sparc/configure: Likwise.
40939 * sysdeps/i386/configure: Likewise.
40940
a66877c6
MP
40941 * elf/dl-open.c: Comment fixes.
40942
cfc82fd8
JM
409432012-07-17 Joseph Myers <joseph@codesourcery.com>
40944
bd29910a
JM
40945 * Makefile [CXX] (check-data): Remove.
40946 [CXX] (c++-types.data): New vpath directive.
40947 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40948 vpath. Do not allow for C++ type data being missing.
40949 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40950 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40951 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40952 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40953 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40954 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40955 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40957 ... here.
40958 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40960 ... here.
40961 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40963 ... here.
40964 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40966 ... here.
40967 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40969 ... here.
40970 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40972 ... here.
40973 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40975 ... here.
40976 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40978
cfc82fd8
JM
40979 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40980 definitions to architecture-specific files.
40981 (TLS_IE): Likewise.
40982 (TLS_LD): Likewise.
40983 (TLS_GD): Likewise.
40984 * sysdeps/i386/tls-macros.h: New file.
40985 * sysdeps/powerpc/tls-macros.h: Likewise.
40986 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40987 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40988 * sysdeps/sh/tls-macros.h: Likewise.
40989 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40990 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40991 * sysdeps/x86_64/tls-macros.h: Likewise.
40992
f7db3170
TS
409932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40994
07cbfc23
TS
40995 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40996 zero value for regular exit case.
40997
f7db3170
TS
40998 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40999 (__start_context): Preserve zero value for regular exit case.
41000
dc97c227
TS
410012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41002 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41003
41004 * manual/setjmp.texi (setcontext): Clarify normal process
41005 termination when uc_link is the null pointer.
41006 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41007 exit call.
41008
d0cd7d02
AS
410092012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41010
41011 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41012 preprocessor. Test for each exception mask separately.
41013
dd318934
AJ
410142012-07-16 Andreas Jaeger <aj@suse.de>
41015
41016 * po/ru.po: Update from translation team.
41017
8048311a
JM
410182012-07-15 Joseph Myers <joseph@codesourcery.com>
41019
41020 * conform/data/string.h-data (NULL): Use macro-constant. Require
41021 equal to 0.
41022 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41023 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41024 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41025 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41027
b637d46e
AJ
410282012-07-13 Andreas Jaeger <aj@suse.de>
41029
41030 * po/fr.po: Update from translation team.
41031
541428fe
MP
410322012-07-12 Marek Polacek <polacek@redhat.com>
41033
41034 [BZ #14173]
41035 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41037 loop condition.
41038
ec332e94
JM
410392012-07-12 Joseph Myers <joseph@codesourcery.com>
41040
41041 [BZ #13717]
41042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41043 Change to 2.4.1 where previously 2.4.0.
41044 * sysdeps/unix/sysv/linux/configure: Regenerated.
41045 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41046 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41047 version.
41048 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41049 (__ASSUME_AT_CLKTCK): Remove.
41050 (__ASSUME_AT_PAGESIZE): Likewise.
41051 (__ASSUME_AT_XID): Likewise.
41052 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41053 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41054 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41055 unconditionally.
41056 (HAVE_AUX_PAGESIZE): Likewise.
41057 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41058 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41059 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41060
7b6e99be
JB
410612012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41062
41063 [BZ #14307]
41064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41065 the temporary buffer used to invoke __gethostbyname2_r,
41066 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41067 host_data / struct gaih_addrtuple.
41068 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41069 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41070 header file nss/nsswitch.h.
41071 * nss/nsswitch.h (global scope): Add definition of implementation
41072 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41073 resolv/nss_dns/dns-host.c).
41074
608404eb
AJ
410752012-07-11 Andreas Jaeger <aj@suse.de>
41076
41077 * po/fr.po: Update from translation team.
41078
71220aca
AJ
41079 * po/sv.po: Update from translation team
41080 * po/fr.po: Another update from translation team.
41081
28cfe843
AZ
410822012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41083
41084 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41085 for subnormals or multiply small sinh result by itself.
41086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41088
6b90f981
DM
410892012-07-11 David S. Miller <davem@davemloft.net>
41090
41091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41092
c6825772
AS
410932012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41094
41095 [BZ #14347]
41096 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41097 (INTERNAL_MARK): Shift it here.
41098
7b8e0d49
MP
410992012-07-10 Marek Polacek <polacek@redhat.com>
41100
41101 [BZ #14151]
41102 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41103 libc_cv_asm_global_directive with .globl.
41104 * configure: Regenerated.
41105 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41106 with .globl.
41107 * sysdeps/i386/configure: Regenerated.
41108 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41109 with .globl.
41110 * sysdeps/x86_64/configure: Regenerated.
41111 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41112 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41113 * elf/tst-unique2mod2.c: Likewise.
41114 * elf/tst-unique2mod1.c: Likewise.
41115 * elf/tst-unique1mod2.c: Likewise.
41116 * elf/tst-unique1mod1.c: Likewise.
41117 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41118 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41120 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41121 * sysdeps/mach/sysdep.h: Likewise.
41122 * sysdeps/i386/sysdep.h: Likewise.
41123 * sysdeps/i386/i386-mcount.S: Likewise.
41124 * sysdeps/x86_64/_mcount.S: Likewise.
41125 * sysdeps/x86_64/sysdep.h: Likewise.
41126 * sysdeps/sh/_mcount.S: Likewise.
41127 * sysdeps/sh/sysdep.h: Likewise.
41128 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41129 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41130 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41132 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41133 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41134 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41135 * locale/localeinfo.h: Likewise.
41136 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41137 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41138
6c55cda3
RM
411392012-07-09 Roland McGrath <roland@hack.frob.com>
41140
41141 [BZ #14336]
41142 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41143 system".
41144 * manual/message.texi (The Uniforum approach): Likewise.
41145 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41146 (glibc iconv Implementation): Likewise.
41147
638a572e
JM
411482012-07-09 Joseph Myers <joseph@codesourcery.com>
41149
41150 [BZ #14337]
41151 * math/s_clog.c (__clog): Avoid scaling a value down where that
41152 could result in underflow.
41153 * math/s_clog10.c (__clog10): Likewise.
41154 * math/s_clog10f.c (__clog10f): Likewise.
41155 * math/s_clog10l.c (__clog10l): Likewise.
41156 * math/s_clogf.c (__clogf): Likewise.
41157 * math/s_clogl.c (__clogl): Likewise.
41158 * math/libm-test.inc (clog_test): Add more tests.
41159 (clog10_test): Likewise.
41160 * sysdeps/i386/fpu/libm-test-ulps: Update.
41161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41162
261f4859
AS
411632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41164
0abaf3e4
AS
41165 [BZ #14283]
41166 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41167 by 7 not 8 to examine high bit of fractional part.
41168
261f4859
AS
41169 [BZ #14042]
41170 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41171 for call to __mcount_internal.
41172 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41173 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41174 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41175
f17ac40d
JM
411762012-07-06 Joseph Myers <joseph@codesourcery.com>
41177
9ad63c23
JM
41178 [BZ #14154]
41179 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41180 approximation for values within 0x1p-13f of an odd multiple of
41181 pi/4.
41182 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41183 exception. Add more tests.
41184 * sysdeps/i386/fpu/libm-test-ulps: Update.
41185
f17ac40d
JM
41186 [BZ #6778]
41187 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41188 inputs and return -1 for them. Do not check for +Inf in case not
41189 reachable for +Inf.
41190 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41191 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41193 and return -1 for them. Do not check for +Inf in case not
41194 reachable for +Inf.
41195 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41196 define.
41197 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41198 and return -1 for them. Do not check for +Inf in case not
41199 reachable for +Inf.
41200 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41201 spurious underflow.
41202 * sysdeps/i386/fpu/libm-test-ulps: Update.
41203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41204
fb21f89b
MF
412052012-07-06 Mike Frysinger <vapier@gentoo.org>
41206
41207 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41208
cdfe2c5e
JM
412092012-07-05 Joseph Myers <joseph@codesourcery.com>
41210
41211 [BZ #14157]
41212 [BZ #14331]
41213 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41214 could result in spurious underflow. Scale down values above
41215 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41216 * math/s_csqrtf.c (__csqrtf): Likewise.
41217 * math/s_csqrtl.c (__csqrtl): Likewise.
41218 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41219 spurious underflow.
41220 * sysdeps/i386/fpu/libm-test-ulps: Update.
41221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41222
70d35b67
AS
412232012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41224
704bc459
AS
41225 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41226 xopen-msg.sed.
41227 * catgets/xopen-msg.awk: New file.
41228 * catgets/xopen-msg.sed: Removed.
41229
70d35b67
AS
41230 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41231 po2text.sed.
41232 * intl/po2test.awk: New file.
41233 * intl/po2test.sed: Removed.
41234
ca61cf32
JM
412352012-07-04 Joseph Myers <joseph@codesourcery.com>
41236
41237 [BZ #14328]
41238 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41239 or multiply small sinh result by itself.
41240 * math/s_ctanf.c (__ctanf): Likewise.
41241 * math/s_ctanh.c (__ctanh): Likewise.
41242 * math/s_ctanhf.c (__ctanhf): Likewise.
41243 * math/s_ctanhl.c (__ctanhl): Likewise.
41244 * math/s_ctanl.c (__ctanl): Likewise.
41245 * math/libm-test.inc (ctan_test_tonearest): New function.
41246 (ctan_test_towardzero): Likewise.
41247 (ctan_test_downward): Likewise.
41248 (ctan_test_upward): Likewise.
41249 (ctanh_test_tonearest): Likewise.
41250 (ctanh_test_towardzero): Likewise.
41251 (ctanh_test_downward): Likewise.
41252 (ctanh_test_upward): Likewise.
41253 (main): Call these new functions.
41254 * sysdeps/i386/fpu/libm-test-ulps: Update.
41255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41256
ca48a46a
MF
412572012-07-03 Mike Frysinger <vapier@gentoo.org>
41258
41259 * .gitignore: Delete /ports entry.
41260
9d63d37d
AJ
412612012-07-03 Andreas Jaeger <aj@suse.de>
41262
41263 * po/bg.po: Update from translation team.
41264 * po/cs.po: Likewise.
41265 * po/de.po: Likewise.
41266 * po/hr.po: Likewise.
41267 * po/nl.pl: Likewise.
41268 * po/pl.po: Likewise.
41269 * po/vi.po: Likewise.
41270
370ca3d2
JM
412712012-07-03 Joseph Myers <joseph@codesourcery.com>
41272
95f5a9a8
JM
41273 * Makeconfig [!+link] (+link-before-libc): New variable.
41274 [!+link] (+link-after-libc): Likewise.
41275 [!+link] (+link-tests): Likewise.
41276 [!+link] (+link): Define in terms of $(+link-before-libc) and
41277 $(+link-after-libc).
41278 [!+link-static] (+link-static-before-libc): New variable.
41279 [!+link-static] (+link-static-after-libc): Likewise.
41280 [!+link-static] (+link-static-tests): Likewise.
41281 [!+link-static] (+link-static): Define in terms of
41282 $(+link-static-before-libc) and $(+link-static-after-libc).
41283 [build-shared] (link-libc-before-gnulib): New variable.
41284 [build-shared] (link-libc-tests): Likewise.
41285 [build-shared] (link-libc): Define in terms of
41286 $(link-libc-before-gnulib).
41287 [!build-shared] (link-libc-tests): New variable.
41288 (link-libc-static-tests): New variable.
41289 [!gnulib] (gnulib-arch): New variable.
41290 [!gnulib] (gnulib-tests): Likewise.
41291 [!gnulib] (static-gnulib-arch): Likewise.
41292 [!gnulib] (static-gnulib-tests): Likewise.
41293 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41294 Define with "=" instead of ":=".
41295 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41296 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41297 * Rules (binaries-all-notests): New variable.
41298 (binaries-all-tests): Likewise.
41299 (binaries-static-notests): Likewise.
41300 (binaries-static-tests): Likewise.
41301 (binaries-all): Define using $(binaries-all-notests) and
41302 $(binaries-all-tests).
41303 (binaries-static): Define using $(binaries-static-notests) and
41304 $(binaries-static-tests).
41305 (binaries-shared-tests): New variable.
41306 (binaries-shared-notests): Likewise.
41307 (binaries-shared): Remove variable.
41308 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41309 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41310 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41311 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41312 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41313 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41314 * elf/Makefile (sln-modules): New variable.
41315 (extra-objs): Add $(sln-modules:=.o).
41316 (ldconfig-modules): Add static-stubs.
41317 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41318 * elf/static-stubs.c: New file.
41319
7a845b2c
JM
41320 [BZ #14283]
41321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41322 by 7 not 8 to examine high bit of fractional part. Use volatile
41323 variables when splitting into final array of floats if
41324 __FLT_EVAL_METHOD__ != 0.
41325 * math/libm-test.inc (cos_test): Add another test.
41326 (sin_test): Likewise.
41327 * sysdeps/i386/fpu/libm-test-ulps: Update.
41328
e2283f38
JM
41329 [BZ #14273]
41330 * math/libm-test.inc (cosh_test): Add more tests.
41331
370ca3d2
JM
41332 * version.h (RELEASE): Set to "development".
41333 (VERSION): Set to "2.16.90".
41334
ee9247c3
CD
413352012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41336
41337 * NEWS: Update copyright. Remove last-updated date.
41338 Mention math library bug fixes and timezone data changes.
41339 * README: Mention GNU/Hurd, x32, and HPPA support status.
41340
4648c381
TS
413412012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41342
41343 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41344
aac78a43
AJ
413452012-06-27 Andreas Jaeger <aj@suse.de>
41346
41347 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41348
ed3dbfad
AJ
413492012-06-25 Andreas Jaeger <aj@suse.de>
41350
41351 * sysdeps/s390/fpu/libm-test-ulps: Update.
41352
4d0ee855
AS
413532012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41354 Thomas Schwinge <thomas@codesourcery.com>
41355
41356 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41357 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41359 fanotify_mark.
41360
af1bce34
TS
413612012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41362
a9fa33ba
TS
41363 * sysdeps/mach/start.c: Remove file.
41364 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41365 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41366 * sysdeps/sh/init-first.c: Likewise.
41367
58f902b8
TS
41368 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41369 registers for frame unwinding purposes, add CFI directives.
41370 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41372 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41373 Likewise.
41374
1518f58b
TS
41375 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41376 __fortify_fail returning.
41377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41378
db9b5059
TS
41379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41380 sysdeps/sh/____longjmp_chk.S.
41381 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41382 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41383 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41384 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41385
967705fe
TS
41386 * sysdeps/sh/abort-instr.h: New file.
41387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41388 process in case exit returns.
41389
a9def8c4
TS
41390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41391 initialize the GOT register before use.
41392
2a649725
TS
41393 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41394 calculation of ARGC > 4.
41395
af1bce34
TS
41396 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41397 meaningful names to some local labels.
41398
d230f50a
KK
413992012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41400 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41401
41402 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41403 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41404 (__arch_compare_and_exchange_val_16_acq): Likewise.
41405 (__arch_compare_and_exchange_val_32_acq): Likewise.
41406 (atomic_exchange_and_add): Fix gUSA sequence.
41407 (atomic_add): Likewise.
41408 (atomic_add_negative): Likewise.
41409 (atomic_add_zero): Likewise.
41410 (atomic_bit_test_set): Likewise.
41411
0479b305
AS
414122012-06-22 Andreas Schwab <schwab@redhat.com>
41413
41414 [BZ #13579]
41415 * include/link.h (struct link_map): Add l_free_initfini.
41416 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41417 l_initfini.
41418 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41419 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41420 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41421 set.
41422
0e3933b9
CD
414232012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41424
41425 * configure.in: Use AC_LANG_SOURCE.
41426 * configure: Regenerate.
41427
4248b1b1
RM
414282012-06-22 Roland McGrath <roland@hack.frob.com>
41429
41430 * configure.in (libc_cv_localstatedir): New substituted variable.
41431 * configure: Regenerated.
41432 * config.make.in (localstatedir): New variable, substituted from
41433 libc_cv_localstatedir.
41434 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41435 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41436 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41437 * sysdeps/gnu/configure: Regenerated.
41438
006dd861
JL
414392012-06-21 Jeff Law <law@redhat.com>
41440
41441 [BZ #14277]
41442 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41443 free. Simplify list management for _LIBC case.
41444
79662d42
JM
414452012-06-21 Joseph Myers <joseph@codesourcery.com>
41446
b7abb4bf
JM
41447 [BZ #14273]
41448 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41449 Clear sign bit of 64-bit integer value before comparing against
41450 overflow value.
41451
79662d42
JM
41452 * sysdeps/mach/configure: Regenerated.
41453
1f150908
L
414542012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41455
41456 [BZ #14278]
41457 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41458
28363bbf
JL
414592012-06-21 Jeff Law <law@redhat.com>
41460
41461 [BZ #13882]
41462 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41463 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41464 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41465 * elf/dl-open.c (dl_open_worker): Likewise.
41466
09615db4
CD
414672012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41468
41469 * scripts/list-sources.sh: Scan PORTS for translations.
41470 * po/libc.pot: Regenerated.
41471
2174c6dd
AJ
414722012-06-21 Andreas Jaeger <aj@suse.de>
41473
41474 [BZ #12194]
41475 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41476 warning.
41477 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41478 * bits/byteswap-16.h (__bswap_16): Likewise.
41479 * bits/byteswap.h (__bswap_constant_16): Likewise.
41480
3ee947b1
L
414812012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41482
41483 [BZ #14117]
a2f34833
L
41484 * sysdeps/i386/fpu_control.h: Removed.
41485 * sysdeps/x86_64/fpu_control.h: Moved to ...
41486 * sysdeps/x86/fpu_control.h: Here.
41487
3ee947b1
L
41488 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41489 (_FPU_SETCW): Likewise.
41490
ed1825f8
L
414912012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41492
25f1282a
L
41493 [BZ #14117]
41494 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41495 * sysdeps/x86/fpu/bits/mathinline.h: This.
41496 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41497
ed1825f8
L
41498 [BZ #14050]
41499 [BZ #14117]
41500 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41501 functions if __x86_64__ is defined.
41502
36d54b74
CLT
415032012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41504
41505 * string/endian.h: Add !__ASSEMBLER__ condition for including
41506 conversion interfaces.
41507
10285c21
JM
415082012-06-15 Joseph Myers <joseph@codesourcery.com>
41509
41510 [BZ #14241]
41511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41512 of ABS(x) in calculating zero to negative powers other than odd
41513 integers.
41514 * math/libm-test.inc (pow_test): Add more tests.
41515
06c5abbd
AJ
415162012-06-15 Andreas Jaeger <aj@suse.de>
41517
41518 * manual/contrib.texi (Contributors): Update entry of Liubov
41519 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41520 Machado Filho.
41521
a3aeac40
CH
415222012-06-15 Cyril Hrubis <metan@ucw.cz>
41523
41524 * string/string.h: Add __wur to GNU version of strerror_r.
41525
49bdf4c1
L
415262012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41527
41528 [BZ #14229]
41529 * string/Makefile (tests): Add tst-strtok_r.
41530 * string/tst-strtok_r.c: New file.
41531 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41532 RAX_LP/RDX_LP on SAVE_PTR.
41533
834f9b8d
RM
415342012-06-14 Roland McGrath <roland@hack.frob.com>
41535
41536 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41537
75fa1921
JM
415382012-06-14 Joseph Myers <joseph@codesourcery.com>
41539
41540 * libm_test.inc (csqrt_test): Allow more spurious underflow
41541 exceptions.
41542 (j0_test): Likewise.
41543 (j1_test): Likewise.
41544 (y0_test): Likewise.
41545 (y1_test): Likewise.
41546
771766df
CD
415472012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41548
41549 * po/Makefile (libc.pot): Use UTF-8 charset.
41550
ceb9e56b
PP
415512012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41552
41553 [BZ #14210]
41554 Suppress sign-conversion warning from FD_SET.
41555 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41556 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41557 not unsigned long int.
41558 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41559
ddb28975
L
415602012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41561
41562 [BZ #14050]
41563 [BZ #14117]
41564 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41565 __extern_always_inline instead of __extern_inline.
41566 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41567 (__signbit): Likewise.
41568 (__signbitl): Support C++ namespace.
41569 (lrintf): New inline function.
41570 (lrint): Likewise.
41571 (llrintf): Likewise.
41572 (llrint): Likewise.
41573 (fmaxf): Likewise.
41574 (fmax): Likewise.
41575 (fminf): Likewise.
41576 (fmin): Likewise.
41577 (rint): Likewise.
41578 (rintf): Likewise.
41579 (ceil): Likewise.
41580 (ceilf): Likewise.
41581 (floor): Likewise.
41582 (floorf): Likewise.
41583 (nearbyint): Likewise.
41584 (nearbyintf): Likewise.
41585
d7b4fb26
TS
415862012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41587
41588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41589 non-default versions.
41590
eb55f5c2
RM
415912012-06-11 Roland McGrath <roland@hack.frob.com>
41592
41593 [BZ #14218]
41594 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41595
366af02c
TS
415962012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41597
99ff6e5c
TS
41598 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41599 (FE_UPWARD, FE_DOWNWARD): Don't define.
41600 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41601 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41602
366af02c
TS
41603 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41604 reading it.
41605 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41606 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41607
793ea851
KK
416082012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41609
41610 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41613 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41614
a728a38f
L
416152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41616
41617 [BZ #14117]
c08010c7
L
41618 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41619 * sysdeps/i386/fpu/Implies: New file.
41620 * sysdeps/x86_64/fpu/Implies: Likewise.
41621 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41622 * sysdeps/x86/fpu/bits/fenv.h: This.
41623
a728a38f
L
41624 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41625 __SSE_MATH__.
41626
6e230d11
SP
416272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41628
41629 [BZ #14134]
41630 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41631 character 0xffff that matches the last element of the
41632 conversion table.
41633
1b671feb
AZ
416342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41635
41636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41637 fmodl commit.
41638
6043738b
AZ
416392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41640
41641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41642 values higher than 25.6283.
41643
34ae0b32
AZ
416442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41645
41646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41647 subnormal exponent extraction and add some __builtin_expect.
41648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41649 Fix for subnormal mantissa calculation.
41650
1214ec8f
MF
416512012-06-04 Mike Frysinger <vapier@gentoo.org>
41652
41653 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41654 cpu2 is -1 and errno is not ENOSYS.
41655
f3d1f93c
L
416562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41657
41658 [BZ #14117]
0e4a3cd7
L
41659 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41660 * sysdeps/x86/bits/string.h: This.
41661 * sysdeps/x86_64/bits/string.h: Removed.
41662
6704c645
L
41663 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41664 if not compiling for x86-64, but compiling for >= i486.
41665
48495318
L
41666 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41667 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41668
14adcbfc
L
41669 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41670 New macro from Linux kernel 3.4.0.
41671 (FP_XSTATE_MAGIC2): Likewise.
41672 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41673 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41674 (struct _fpx_sw_bytes): New struct.
41675 (struct _xsave_hdr): Likewise.
41676 (struct _ymmh_state): Likewise.
41677 (struct _xstate): Likewise.
41678
68e408ab
L
41679 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41680 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41682 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41683 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41684 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41685
f3d1f93c
L
41686 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41687 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41688 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41689 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41690 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41691 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41692
d9dc34cd
TMQMF
416932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41694
41695 [BZ #13743]
41696 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41697 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41698 (sysdep_headers): Include sys/platform/ppc.h.
41699 * sysdeps/powerpc/test-gettimebase.c: Test for
41700 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41701 * manual/Makefile (appendices): Include platform.texi.
41702 * manual/contrib.texi (Contributors): Update @node pointers.
41703 * manual/maint.texi (Maintenance): Likewise.
41704 (Platform): New node.
41705 * manual/platform.texi: New file. Document the new features.
41706
4af3879c
SP
417072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41708 Jakub Jelinek <jakub@redhat.com>
41709
41710 [BZ #14188]
41711 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41712 where __builtin_expect is unavailable.
41713
2fd6ff13
DM
417142012-06-03 David S. Miller <davem@davemloft.net>
41715
41716 * stdlib/longlong.h: Updated from GCC.
41717
173f7220
AS
417182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41719
41720 [BZ #14042]
41721 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41722 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41723 __mcount_internal.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41725 (GLIBC_2.16): Likewise.
41726
f34a1c6f
L
417272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41730
88a4576f
JM
417312012-06-01 Joseph Myers <joseph@codesourcery.com>
41732
ea32bcdd
JM
41733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41734 (default-abi): New variable.
41735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41736 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41737 variable.
41738 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41739 Likewise.
41740 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41741 Likewise.
41742 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41743 Likewise.
41744
88a4576f
JM
41745 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41746 definition. Document in comment.
41747
402fe938
DM
417482012-06-01 David S. Miller <davem@davemloft.net>
41749
41750 * stdlib/longlong.h: Updated from GCC.
41751
3553723f
L
417522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 [BZ #14117]
3bd872c4
L
41755 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41756 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41757 sys/debugreg.h sys/io.h here.
41758 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41759 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41760 sys/io.h.
41761 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41762 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41763 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41764 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41765 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41766 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41767
3553723f
L
41768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41769 Define only if __x86_64__ is defined.
41770
4842e4fe
JM
417712012-06-01 Joseph Myers <joseph@codesourcery.com>
41772
c5bfe3d5
JM
41773 [BZ #14048]
41774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41775 Use int64_t for variable i.
41776 * math/libm-test.inc (fmod_test): Add more tests.
41777
4842e4fe
JM
41778 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41779 z computation is not scheduled after fetestexcept.
41780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41781 Use math_force_eval instead of asm to ensure calculation scheduled
41782 before exception test.
41783 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41784 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41785
efb73488
AJ
417862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41787
41788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41789 computation is not scheduled after fetestexcept.
41790
29bcce7c
L
417912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41792
41793 [BZ #14117]
41794 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41795 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41796
73a68f94
AZ
417972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41798
41799 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41801
67b6df78
L
418022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41803
edf2933a 41804 [BZ #14117]
ebc64a18
L
41805 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41806 <bits/wordsize.h>.
41807 (__WCHAR_MIN): Support __WORDSIZE == 64.
41808 (__WCHAR_MAX): Likewise.
41809
edf2933a
L
41810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41811 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41812
57c6cf40
L
41813 [BZ #14183]
41814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41815 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41816
67b6df78 41817 [BZ #14117]
8eb6281e
L
41818 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41820
aac639f4
L
41821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41822 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41823
67b6df78
L
41824 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41825 Defined to 1 if __x86_64__ isn't defined.
41826 (_STAT_VER_LINUX_OLD): New.
41827 (st_atime): Remove duplicate.
41828 (st_mtime): Likewise.
41829 (st_ctime): Likewise.
41830
1c2cfe81
DM
418312012-05-31 David S. Miller <davem@davemloft.net>
41832
41833 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41834 entries.
41835
5be8418c
AS
418362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41837
e7725326
AS
41838 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41839 gen-libm-test.pl.
41840
5be8418c
AS
41841 [BZ #14132]
41842 * elf/dl-reloc.c: Include <_itoa.h>.
41843 (_dl_reloc_bad_type): Remove use of INTUSE.
41844 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41845 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41846 * stdio-common/psiginfo.c (psiginfo): Likewise.
41847 * stdio-common/psignal.c (psignal): Likewise.
41848 * string/strsignal.c (strsignal): Likewise.
41849 * include/signal.h (_sys_siglist): Declare hidden proto.
41850 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41851 INTVARDEF with libc_hidden_data_def.
41852 * stdio-common/itoa-udigits.c: Likewise.
41853 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41854 (_itoa_lower_digits_internal): Remove declaration.
41855 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41856 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41857 (_sys_sigabbrev_internal): Remove aliases.
41858 (_sys_siglist): Define hidden alias.
41859
507352f1
MT
418602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41861
41862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41863 bits/sysctl.h.
41864
42bbb1c3
L
418652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41866
41867 [BZ #14117]
6bd784b6
L
41868 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41869 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41870
8bca20f0
L
41871 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41872 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41873 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41874 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41875 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41876 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41877
f9e890a9
L
41878 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41880 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41881
471101a1
L
41882 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41883 with __addr.
41884 (insw): Likewise.
41885 (insl): Likewise.
41886 (outsb): Likewise.
41887 (outsw): Likewise.
41888 (outsl): Likewise.
41889
6451c862
L
41890 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41891 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41892 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41893
a254b8c9
L
41894 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41895 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41896 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41897 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41898 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41899 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41900
b8dfdd92
L
41901 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41902 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41903
578cd270
L
41904 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41905 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41906
de662f5f
L
41907 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41910
25653439
L
41911 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41912 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41913 to ...
41914 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41915
6bad24a0
L
41916 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41917 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41918 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41919
42bbb1c3
L
41920 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41921 for x86-64.
41922 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41923
2d10d547
JM
419242012-05-31 Joseph Myers <joseph@codesourcery.com>
41925
41926 * math/math.h (M_El): Use two more decimal places.
41927 (M_LOG2El): Likewise.
41928 (M_LOG10El): Likewise.
41929 (M_LN2l): Likewise.
41930 (M_LN10l): Likewise.
41931 (M_PIl): Likewise.
41932 (M_PI_2l): Likewise.
41933 (M_PI_4l): Likewise.
41934 (M_1_PIl): Likewise.
41935 (M_2_PIl): Likewise.
41936 (M_2_SQRTPIl): Likewise.
41937 (M_SQRT2l): Likewise.
41938 (M_SQRT1_2l): Likewise.
41939
f230c29b
DM
419402012-05-31 David S. Miller <davem@davemloft.net>
41941
41942 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41943 values between float registers.
41944 * sysdeps/sparc/sparc64/memset.S: Likewise.
41945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41946
fed806c3
MF
419472012-05-31 Mike Frysinger <vapier@gentoo.org>
41948
41949 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41950 -D_FORTIFY_SOURCE=1.
41951 (CPPFLAGS-tst-longjmp_chk.c): Define.
41952 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41953 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41954 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41955 CFLAGS-tst-wchar-h.c.
41956
30917259
MP
419572012-05-31 Marek Polacek <polacek@redhat.com>
41958
41959 [BZ #14132]
41960 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41961 __endmntent_internal): Remove declaration.
41962 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41963 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41964 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41965
1c58d5dc
DM
419662012-05-30 David S. Miller <davem@davemloft.net>
41967
41968 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41969 (___Q_simulate_exceptions): Use real FP ops rather than writing
41970 into the %fsr.
41971 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41972 Likewise.
41973
7dc00e0d
L
419742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41975
41976 [BZ #14117]
0bd53985
L
41977 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41978 * sysdeps/x86/bits/xtitypes.h: This.
41979
3a257e66
L
41980 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41981 * sysdeps/x86/bits/wordsize.h: This.
41982
62f62904
L
41983 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41984 * sysdeps/x86/bits/huge_vall.h: This.
41985
404fe9d9
L
41986 * sysdeps/i386/bits/select.h: Removed.
41987 * sysdeps/x86_64/bits/select.h: Renamed to ...
41988 * sysdeps/x86/bits/select.h: This.
41989
d48d0446
L
41990 * sysdeps/i386/bits/setjmp.h: Removed.
41991 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41992 * sysdeps/x86/bits/setjmp.h: This.
41993
7dc00e0d
L
41994 * sysdeps/i386/bits/mathdef.h: Removed.
41995 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41996 * sysdeps/x86/bits/mathdef.h: This.
41997
03277f8f
AS
419982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41999
42000 [BZ #14132]
42001 * include/sys/socket.h (__connect_internal)
42002 (__libc_sa_len_internal): Remove declaration.
42003 (__connect, __libc_sa_len): Declare hidden_proto.
42004 (SA_LEN): Remove use of INTUSE.
42005 * socket/connect.c: Add libc_hidden_def.
42006 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42007 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42008 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42009 alias.
42010 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42011 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42012 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42013 of adding _internal alias.
42014
13764867
L
420152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42016
42017 [BZ #14117]
6bd97696
L
42018 * sysdeps/i386/bits/link.h: Removed.
42019 * sysdeps/i386/bits/linkmap.h: Likewise.
42020 * sysdeps/x86_64/bits/link.h: Renamed to ...
42021 * sysdeps/x86/bits/link.h: This.
42022 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42023 * sysdeps/x86/bits/linkmap.h: This.
42024
f726f0bb
L
42025 * sysdeps/i386/bits/endian.h: Removed.
42026 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42027 * sysdeps/x86/bits/endian.h: This.
42028
13764867
L
42029 * sysdeps/i386/bits/byteswap.h: Removed.
42030 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42031 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42032 * sysdeps/x86/bits/byteswap.h: This.
42033 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42034 * sysdeps/x86/bits/byteswap-16.h: This.
42035 * sysdeps/i386/Implies: Add x86.
42036 * sysdeps/x86_64/Implies: Likewise.
42037
ae251b0b
DM
420382012-05-30 David S. Miller <davem@davemloft.net>
42039
42040 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42041 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42042 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42043 (FP_TRAPPING_EXCEPTIONS): Define.
42044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42045 (FP_TRAPPING_EXCEPTIONS): Define.
42046 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42047 subnormals only when inexact has been signalled or underflow
42048 exceptions are enabled.
42049 (_FP_PACK_CANONICAL): Likewise.
42050
d5c90867
L
420512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42052
42053 [BZ #14183]
42054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42055 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42056
63f1549e
RH
420572012-05-30 Richard Henderson <rth@twiddle.net>
42058
8d8f2279
RH
42059 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42060 with #ifndef NOT_IN_libc.
42061
63f1549e
RH
42062 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42063 marked to avoid plt entry.
42064
0ab0291b
L
420652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42066
42067 [BZ #14112]
42068 * Makeconfig (default-abi): New macro.
42069 (abi-includes): Likewise.
42070 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42071 $(abi-$(default-abi)-lib-soname) for soname if defined.
42072 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42073 abi-variants.
42074 * Makefile (installed-stubs): Likewise.
42075 * include/stubs-biarch.h: Removed.
42076 * scripts/lib-names.awk: Only handle one library at a time.
42077 * scripts/soversions.awk: Remove WORDSIZE support.
42078 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42079 entries.
42080 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42081 Removed.
42082 (syscall-list-default-condition): Likewise.
42083 (syscall-list-default-condition): Likewise.
42084 (syscall-list-includes): Likewise.
42085 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42086 syscall-list-* with abi-*. Handle undefined abi-variants.
42087 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42088 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42089 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42090 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42091 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42092 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42093 Removed.
42094 (syscall-list-32-options): Likewise.
42095 (syscall-list-32-condition): Likewise.
42096 (syscall-list-64-options): Likewise.
42097 (syscall-list-64-condition): Likewise.
42098 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42099 macro.
42100 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42101 Renamed to ...
42102 (abi-*): This.
42103 (abi-64-ld-soname): New macro.
42104 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42105 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42106 Renamed to ...
42107 (abi-*): This.
42108 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42109 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42110
4da0431d
JM
421112012-05-30 Joseph Myers <joseph@codesourcery.com>
42112
3a85279c
JM
42113 * sysdeps/unix/sysv/linux/kernel-features.h
42114 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42115 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42116 include <kernel-features.h>.
42117 [!__NR_ftruncate64]: Remove conditional code.
42118 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42119 [__NR_ftruncate64]: Make code unconditional.
42120 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42121 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42122 include <kernel-features.h>.
42123 [!__NR_ftruncate64]: Remove conditional code.
42124 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42125 [__NR_ftruncate64]: Make code unconditional.
42126 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42128 include <kernel-features.h>.
42129 [!__NR_ftruncate64]: Remove conditional code.
42130 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42131 [__NR_ftruncate64]: Make code unconditional.
42132 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42134 include <kernel-features.h>.
42135 [!__NR_ftruncate64]: Remove conditional code.
42136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42137 [__NR_ftruncate64]: Make code unconditional.
42138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42139
4da0431d
JM
42140 * configure.in (libc_cv_fpie): Weaken to a compile test using
42141 LIBC_TRY_CC_OPTION.
42142 * configure: Regenerated.
42143
11ef492c
AK
421442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42145
42146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42150 Refreshed.
42151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42157 Refreshed.
42158
d66ef399
DM
421592012-05-27 David S. Miller <davem@davemloft.net>
42160
42161 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42162 (___Q_zero): New.
42163 (__Q_simulate_exceptions): Return void. Change to simulate
42164 exceptions by writing into the %fsr.
42165 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42166 (__Qp_handle_exceptions): Likewise.
42167 (numbers): Delete.
42168 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42169 __Qp_handle_exceptions.
42170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42171 __Qp_handle_exceptions.
42172 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42173 as unused and give dummy FP_RND_NEAREST initializer.
42174 (FP_INHIBIT_RESULTS): Define.
42175 (___Q_simulate_exceptions): Update declaration.
42176 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42177 formatting.
42178 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42179 as unused and give dummy FP_RND_NEAREST initializer.
42180 (__Qp_handle_exceptions): Update declaration.
42181 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42182 formatting.
42183
04fb54b5
TS
421842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42185
42186 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42187 the temporary FPU control word.
42188 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42189 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42191 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42192 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42193 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42194 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42195 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42196 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42197 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42198 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42199
3f99608f
KK
422002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42201
42202 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42203 fields.
42204
65a4de4e
CLT
422052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42206
42207 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42208 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42209 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42210 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42211 Likewise.
42212 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42213 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42214 Likewise.
42215
15749d40
UD
422162012-05-27 Ulrich Drepper <drepper@gmail.com>
42217
42218 * po/h.po: Update from translation team.
42219
25dbcb27
AS
422202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42221
3d3f8e55
AS
42222 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42223
25dbcb27
AS
42224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42225 handling of denormals.
42226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42227 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42229 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42233 Likewise.
42234
7ad47a80 422352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42236
42237 [BZ #14152]
42238 * math/libm-test.inc (fma_test): Don't always expect underflow
42239 exception.
42240
9c6ea9fa
SP
422412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42242
42243 [BZ #12416]
42244 * elf/tst-execstack.c: Include stackinfo.h.
42245 (do_test): Adjust test case to ensure that pthread_getattr_np
42246 behaviour remains the same after marking stack executable.
42247
a8239222
JM
422482012-05-25 Joseph Myers <joseph@codesourcery.com>
42249
42250 * sysdeps/unix/sysv/linux/kernel-features.h
42251 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42252 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42253 kernel-features.h.
42254 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42255 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42256 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42257 kernel-features.h.
42258 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42259 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42260
918b5606
L
422612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42262
42263 * configure.in: Define the default includes to being none.
42264 * configure: Regenerated.
42265
3a097cc7
RM
422662012-05-25 Roland McGrath <roland@hack.frob.com>
42267
8422c9a5
RM
42268 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42269 * sysdeps/x86_64/setjmp.S: Likewise.
42270 * sysdeps/i386/bsd-setjmp.S: Likewise.
42271 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42272 * sysdeps/i386/setjmp.S: Likewise.
42273 * sysdeps/i386/__longjmp.S: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42276
3a097cc7
RM
42277 * include/stap-probe.h: New file.
42278 * configure.in: Handle --enable-systemtap.
42279 * configure: Regenerated.
42280 * config.h.in (USE_STAP_PROBE): New #undef.
42281 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42282 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42283 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42284
21708942
JM
422852012-05-25 Joseph Myers <joseph@codesourcery.com>
42286
42287 [BZ #13717]
42288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42289 to 2.4.0 where earlier.
42290 * sysdeps/unix/sysv/linux/configure: Regenerated.
42291 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42292 <kernel-features.h>.
42293 [__ASSUME_32BITUIDS]: Make code unconditional.
42294 [!__ASSUME_32BITUIDS]: Remove conditional code.
42295 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42296 <kernel-features.h>.
42297 [__ASSUME_32BITUIDS]: Make code unconditional.
42298 [!__ASSUME_32BITUIDS]: Remove conditional code.
42299 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42300 [__ASSUME_32BITUIDS]: Make code unconditional.
42301 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42302 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42303 <kernel-features.h>.
42304 [__ASSUME_32BITUIDS]: Make code unconditional.
42305 [!__ASSUME_32BITUIDS]: Remove conditional code.
42306 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42307 <kernel-features.h>.
42308 [__ASSUME_32BITUIDS]: Make code unconditional.
42309 [!__ASSUME_32BITUIDS]: Remove conditional code.
42310 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42311 <kernel-features.h>.
42312 [__ASSUME_32BITUIDS]: Make code unconditional.
42313 [!__ASSUME_32BITUIDS]: Remove conditional code.
42314 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42315 <kernel-features.h>.
42316 [__ASSUME_32BITUIDS]: Make code unconditional.
42317 [!__ASSUME_32BITUIDS]: Remove conditional code.
42318 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42319 <kernel-features.h>.
42320 [__ASSUME_32BITUIDS]: Make code unconditional.
42321 [!__ASSUME_32BITUIDS]: Remove conditional code.
42322 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42323 <kernel-features.h>.
42324 [__ASSUME_32BITUIDS]: Make code unconditional.
42325 [!__ASSUME_32BITUIDS]: Remove conditional code.
42326 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42327 <kernel-features.h>.
42328 [__ASSUME_32BITUIDS]: Make code unconditional.
42329 [!__ASSUME_32BITUIDS]: Remove conditional code.
42330 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42331 <kernel-features.h>.
42332 [__ASSUME_32BITUIDS]: Make code unconditional.
42333 [!__ASSUME_32BITUIDS]: Remove conditional code.
42334 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42335 <kernel-features.h>.
42336 [__ASSUME_32BITUIDS]: Make code unconditional.
42337 [!__ASSUME_32BITUIDS]: Remove conditional code.
42338 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42339 <kernel-features.h>.
42340 [__ASSUME_32BITUIDS]: Make code unconditional.
42341 [!__ASSUME_32BITUIDS]: Remove conditional code.
42342 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42343 <kernel-features.h>.
42344 [__NR_setresgid] (__setresgid): Do not declare.
42345 [__ASSUME_32BITUIDS]: Make code unconditional.
42346 [!__ASSUME_32BITUIDS]: Remove conditional code.
42347 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42348 <kernel-features.h>.
42349 [__NR_setresuid] (__setresuid): Do not declare.
42350 [__ASSUME_32BITUIDS]: Make code unconditional.
42351 [!__ASSUME_32BITUIDS]: Remove conditional code.
42352 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42353 <kernel-features.h>.
42354 [__ASSUME_32BITUIDS]: Make code unconditional.
42355 [!__ASSUME_32BITUIDS]: Remove conditional code.
42356 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42357 <kernel-features.h>.
42358 [__ASSUME_32BITUIDS]: Make code unconditional.
42359 [!__ASSUME_32BITUIDS]: Remove conditional code.
42360 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42361 <kernel-features.h>.
42362 [__ASSUME_32BITUIDS]: Make code unconditional.
42363 [!__ASSUME_32BITUIDS]: Remove conditional code.
42364 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42365 <kernel-features.h>.
42366 [__ASSUME_32BITUIDS]: Make code unconditional.
42367 [!__ASSUME_32BITUIDS]: Remove conditional code.
42368 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42369 <kernel-features.h>.
42370 [__ASSUME_32BITUIDS]: Make code unconditional.
42371 [!__ASSUME_32BITUIDS]: Remove conditional code.
42372 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42373 <kernel-features.h>.
42374 [__ASSUME_32BITUIDS]: Make code unconditional.
42375 [!__ASSUME_32BITUIDS]: Remove conditional code.
42376 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42377 <kernel-features.h>.
42378 [__ASSUME_32BITUIDS]: Make code unconditional.
42379 [!__ASSUME_32BITUIDS]: Remove conditional code.
42380 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42381 <kernel-features.h>.
42382 [__ASSUME_32BITUIDS]: Make code unconditional.
42383 [!__ASSUME_32BITUIDS]: Remove conditional code.
42384 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42385 <kernel-features.h>.
42386 [__ASSUME_32BITUIDS]: Make code unconditional.
42387 [!__ASSUME_32BITUIDS]: Remove conditional code.
42388 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42389 <kernel-features.h>.
42390 [__ASSUME_32BITUIDS]: Make code unconditional.
42391 [!__ASSUME_32BITUIDS]: Remove conditional code.
42392 * sysdeps/unix/sysv/linux/kernel-features.h
42393 (__ASSUME_SETRESUID_SYSCALL): Remove.
42394 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42395 (__ASSUME_32BITUIDS): Likewise.
42396 (__ASSUME_LDT_WORKS): Likewise.
42397 (__ASSUME_O_DIRECTORY): Likewise.
42398 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42399 architecture but not kernel version.
42400 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42401 (__ASSUME_MMAP2_SYSCALL): Likewise.
42402 (__ASSUME_STAT64_SYSCALL): Likewise.
42403 (__ASSUME_IPC64): Likewise.
42404 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42405 <kernel-features.h>.
42406 [__ASSUME_32BITUIDS]: Make code unconditional.
42407 [!__ASSUME_32BITUIDS]: Remove conditional code.
42408 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42409 <kernel-features.h>.
42410 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42411 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42412 132096]: Remove conditional code.
42413 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42414 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42415 <kernel-features.h>.
42416 [__ASSUME_32BITUIDS]: Make code unconditional.
42417 [!__ASSUME_32BITUIDS]: Remove conditional code.
42418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42419 <kernel-features.h>.
42420 [__ASSUME_32BITUIDS]: Make code unconditional.
42421 [!__ASSUME_32BITUIDS]: Remove conditional code.
42422 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42423 <kernel-features.h>.
42424 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42425 unconditional.
42426 (__setresgid): Do not declare.
42427 [__ASSUME_32BITUIDS]: Make code unconditional.
42428 [!__ASSUME_32BITUIDS]: Remove conditional code.
42429 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42430 <kernel-features.h>.
42431 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42432 unconditional.
42433 (__setresuid): Do not declare.
42434 [__ASSUME_32BITUIDS]: Make code unconditional.
42435 [!__ASSUME_32BITUIDS]: Remove conditional code.
42436 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42437 <kernel-features.h>.
42438 [__ASSUME_32BITUIDS]: Make code unconditional.
42439 [!__ASSUME_32BITUIDS]: Remove conditional code.
42440 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42441 <kernel-features.h>.
42442 [__ASSUME_32BITUIDS]: Make code unconditional.
42443 [!__ASSUME_32BITUIDS]: Remove conditional code.
42444
a386f1cc
RH
424452012-05-25 Richard Henderson <rth@twiddle.net>
42446
42447 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42448 dl_hwcap to ifunc resolver.
42449 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42450 elf_ifunc_invoke.
42451 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42452 dl_hwcap to ifunc resolver.
42453 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42454
b6550497
JM
424552012-05-24 Joseph Myers <joseph@codesourcery.com>
42456
42457 [BZ #14153]
42458 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42459 for |x| <= 2**-26, not 2**-57.
42460 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42461 exception.
42462
b0bc23a1
JL
424632012-05-24 Jeff Law <law@redhat.com>
42464
42465 * stdio-common/Makefile (tests): Add bug25.
42466 * stdio-common/bug25.c: New test.
42467
347c92e9
L
424682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42469
42470 [BZ #13576]
42471 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42472 multiple of MALLOC_ALIGNMENT in size.
42473 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42474
6bcc8b3f
JM
424752012-05-24 Joseph Myers <joseph@codesourcery.com>
42476
42477 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42478 Require >= 256.
42479 (FILENAME_MAX): Use macro-int-constant.
42480 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42481 (_IOFBF): Use macro-int-constant.
42482 (_IOLBF): Likewise.
42483 (_IONBF): Likewise.
42484 (SEEK_CUR): Likewise.
42485 (SEEK_END): Likewise.
42486 (SEEK_SET): Likewise.
42487 (TMP_MAX): Likewise.
42488 (EOF): Use macro-int-constant. Require < 0.
42489 (NULL): Use macro-constant. Require == 0.
42490 (stdin): Require type to be FILE *.
42491 (stdout): Likewise.
42492 (stderr): Likewise.
42493 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42494 macro-int-constant.
42495 (EXIT_SUCCESS): Likewise.
42496 (NULL): Use macro-constant. Require == 0.
42497 (RAND_MAX): Use macro-int-constant.
42498 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42499 [C99-based standards] (strtof): Require function.
42500 [C99-based standards] (strtold): Likewise.
42501 [C99-based standards] (strtoll): Likewise.
42502 [C99-based standards] (strtoull): Likewise.
42503 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42504 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42505 [ISO || ISO99 || ISO11] (math.h): Likewise.
42506 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42507 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42509
d18ea0c5
AS
425102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42511
42512 [BZ #14132]
56d25bb8
AS
42513 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42514 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42515 * intl/dgettext.c (DCGETTEXT): Likewise.
42516 * intl/gettext.c (DCGETTEXT): Likewise.
42517 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42518 * posix/regex_internal.h (gettext): Likewise.
42519 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42520 Remove declaration.
42521 * include/argz.h (__argz_count_internal)
42522 (__argz_stringify_internal): Remove declaration.
42523 (__argz_count, __argz_stringify): Declare hidden proto.
42524 * intl/dcgettext.c: Remove use of INTDEF.
42525 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42526 * string/argz-stringify.c: Likewise.
42527 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42528 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42529 Declare hidden proto.
d18ea0c5
AS
42530 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42531 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42532 Declare hidden proto.
42533 * include/stdio.h (__asprintf_internal): Don't declare.
42534 (__asprintf): Don't define as macro. Declare hidden proto.
42535 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42536 (__fsetlocking): Declare hidden proto.
42537 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42538 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42539 hidden proto.
42540 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42541 (_IO_setlinebuf): Remove use of INTUSE.
42542 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42543 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42544 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42545 Remove declaration.
42546 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42547 (_IO_do_flush): Remove use of INTUSE.
42548 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42549 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42550 (_IO_adjust_column, _IO_least_wmarker)
42551 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42552 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42553 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42554 (_IO_default_doallocate, _IO_wdefault_doallocate)
42555 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42556 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42557 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42558 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42559 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42560 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42561 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42562 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42563 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42564 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42565 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42566 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42567 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42568 proto.
42569 (_IO_flush_all_internal, _IO_adjust_column_internal)
42570 (_IO_default_uflow_internal, _IO_default_finish_internal)
42571 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42572 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42573 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42574 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42575 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42576 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42577 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42578 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42579 (_IO_file_close_internal, _IO_file_close_it_internal)
42580 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42581 (_IO_file_init_internal, _IO_file_attach_internal)
42582 (_IO_file_fopen_internal, _IO_file_read_internal)
42583 (_IO_file_sync_internal, _IO_file_seek_internal)
42584 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42585 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42586 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42587 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42588 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42589 (_IO_list_all_internal, _IO_link_in_internal)
42590 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42591 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42592 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42593 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42594 (_IO_do_write_internal, _IO_padn_internal)
42595 (_IO_getline_info_internal, _IO_getline_internal)
42596 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42597 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42598 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42599 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42600 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42601 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42602 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42603 with libc_hidden_ver, remove use of INTUSE.
42604 * libio/genops.c: Likewise.
42605 * libio/freopen.c: Likewise.
42606 * libio/freopen64.c: Likewise.
42607 * libio/iofclose.c: Likewise.
42608 * libio/iofdopen.c: Likewise.
42609 * libio/iofflush.c: Likewise.
42610 * libio/iofflush_u.c: Likewise.
42611 * libio/iofgets.c: Likewise.
42612 * libio/iofgets_u.c: Likewise.
42613 * libio/iofopen.c: Likewise.
42614 * libio/iofopncook.c: Likewise.
42615 * libio/iofread.c: Likewise.
42616 * libio/iofread_u.c: Likewise.
42617 * libio/ioftell.c: Likewise.
42618 * libio/iofwrite.c: Likewise.
42619 * libio/iogetline.c: Likewise.
42620 * libio/iogets.c: Likewise.
42621 * libio/iogetwline.c: Likewise.
42622 * libio/iopadn.c: Likewise.
42623 * libio/iopopen.c: Likewise.
42624 * libio/ioseekoff.c: Likewise.
42625 * libio/ioseekpos.c: Likewise.
42626 * libio/iosetbuffer.c: Likewise.
42627 * libio/iosetvbuf.c: Likewise.
42628 * libio/ioungetc.c: Likewise.
42629 * libio/ioungetwc.c: Likewise.
42630 * libio/iovdprintf.c: Likewise.
42631 * libio/iovsprintf.c: Likewise.
42632 * libio/iovsscanf.c: Likewise.
42633 * libio/memstream.c: Likewise.
42634 * libio/obprintf.c: Likewise.
42635 * libio/oldfileops.c: Likewise.
42636 * libio/oldiofclose.c: Likewise.
42637 * libio/oldiofdopen.c: Likewise.
42638 * libio/oldiofopen.c: Likewise.
42639 * libio/oldiopopen.c: Likewise.
42640 * libio/oldstdfiles.c: Likewise.
42641 * libio/putc.c: Likewise.
42642 * libio/setbuf.c: Likewise.
42643 * libio/setlinebuf.c: Likewise.
42644 * libio/stdfiles.c: Likewise.
42645 * libio/strops.c: Likewise.
42646 * libio/vasprintf.c: Likewise.
42647 * libio/vscanf.c: Likewise.
42648 * libio/vsnprintf.c: Likewise.
42649 * libio/vswprintf.c: Likewise.
42650 * libio/wfiledoalloc.c: Likewise.
42651 * libio/wfileops.c: Likewise.
42652 * libio/wgenops.c: Likewise.
42653 * libio/wmemstream.c: Likewise.
42654 * libio/wstrops.c: Likewise.
42655 * libio/__fpurge.c: Likewise.
42656 * libio/__fsetlocking.c: Likewise.
42657 * assert/assert.c: Likewise.
42658 * debug/fgets_chk.c: Likewise.
42659 * debug/fgets_u_chk.c: Likewise.
42660 * debug/fread_chk.c: Likewise.
42661 * debug/fread_u_chk.c: Likewise.
42662 * debug/gets_chk.c: Likewise.
42663 * debug/obprintf_chk.c: Likewise.
42664 * debug/vasprintf_chk.c: Likewise.
42665 * debug/vdprintf_chk.c: Likewise.
42666 * debug/vsnprintf_chk.c: Likewise.
42667 * debug/vsprintf_chk.c: Likewise.
42668 * malloc/mtrace.c: Likewise.
42669 * misc/error.c: Likewise.
42670 * misc/syslog.c: Likewise.
42671 * stdio-common/asprintf.c: Likewise.
42672 * stdio-common/fxprintf.c: Likewise.
42673 * stdio-common/getw.c: Likewise.
42674 * stdio-common/isoc99_fscanf.c: Likewise.
42675 * stdio-common/isoc99_scanf.c: Likewise.
42676 * stdio-common/isoc99_vfscanf.c: Likewise.
42677 * stdio-common/isoc99_vscanf.c: Likewise.
42678 * stdio-common/isoc99_vsscanf.c: Likewise.
42679 * stdio-common/printf-prs.c: Likewise.
42680 * stdio-common/printf_fp.c: Likewise.
42681 * stdio-common/printf_fphex.c: Likewise.
42682 * stdio-common/printf_size.c: Likewise.
42683 * stdio-common/putw.c: Likewise.
42684 * stdio-common/scanf.c: Likewise.
42685 * stdio-common/sprintf.c: Likewise.
42686 * stdio-common/tmpfile.c: Likewise.
42687 * stdio-common/vfprintf.c: Likewise.
42688 * stdio-common/vfscanf.c: Likewise.
42689 * stdlib/strfmon_l.c: Likewise.
42690 * sunrpc/openchild.c: Likewise.
42691 * sunrpc/xdr_stdio.c: Likewise.
42692 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42693 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42694
d6c33fda
RM
426952012-05-24 Roland McGrath <roland@hack.frob.com>
42696
c1487492
RM
42697 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42698
42699 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42700 in the third column, to generate for the shared library an IFUNC
42701 that uses _dl_vdso_vsym.
42702 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42703 * Makeconfig (object-suffixes-noshared): New variable.
42704
42705 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42706 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42707 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42708 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42709
d6c33fda
RM
42710 [BZ #14132]
42711 * include/sys/time.h (__gettimeofday): Remove macro.
42712 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42713 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42714 Remove INTDEF.
42715 (__gettimeofday): Add libc_hidden_def.
42716 (gettimeofday): Add libc_hidden_weak.
42717 * sysdeps/mach/gettimeofday.c: Likewise.
42718 * sysdeps/posix/gettimeofday.c: Likewise.
42719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42720 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42722 (__gettimeofday_internal): Remove strong_alias.
42723 (__gettimeofday): Add libc_hidden_def.
42724 (gettimeofday): Add libc_hidden_weak.
42725 * sysdeps/unix/syscalls.list (gettimeofday):
42726 Remove __gettimeofday_internal alias.
42727
b5a2bbe6
L
427282012-05-24 Daniel Jacobowitz <drow@false.org>
42729 H.J. Lu <hongjiu.lu@intel.com>
42730
42731 [BZ #12495]
42732 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42733 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42734 (largebin_index_32_big): New.
42735 (largebin_index): Use it for 16-byte alignment.
42736 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42737 correction with front_misalign.
42738
cfba4fda
L
427392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42740
7f907421
L
42741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42743 Likewise.
42744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42745 Likewise.
42746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42747 Likewise.
42748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42749 Likewise.
42750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42751 Likewise.
42752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42753 Likewise.
42754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42755 Likewise.
42756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42757 Likewise.
42758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42759 Likewise.
42760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42761 Likewise.
42762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42763 Likewise.
42764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42765 Likewise.
42766
cfba4fda
L
42767 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42768 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42769
80bad0cc
JM
427702012-05-24 Joseph Myers <joseph@codesourcery.com>
42771
7a25eb06
JM
42772 [BZ #10846]
42773 [BZ #14036]
42774 * math/libm-test.inc (exp_test): Add test from bug 14036.
42775 (pow_test): Add test from bug 10846.
42776
795405f9
JM
42777 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42778 and other flags.
42779 (special_function): Do not include flags in test name.
42780 (parse_args): Likewise.
42781 * sysdeps/i386/fpu/libm-test-ulps: Update.
42782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42783 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42786
80bad0cc
JM
42787 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42788 exceptions.
42789 * math/libm-test.inc ("Philosophy"): Update comment about
42790 exception testing.
42791 (UNDERFLOW_EXCEPTION): New macro.
42792 (UNDERFLOW_EXCEPTION_OK): Likewise.
42793 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42794 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42795 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42796 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42797 (INVALID_EXCEPTION_OK): Update value.
42798 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42799 (OVERFLOW_EXCEPTION_OK): Likewise.
42800 (IGNORE_ZERO_INF_SIGN): Likewise.
42801 (test_exceptions): Handle underflow exceptions.
42802 (acos_test): Update for underflow exception expectations.
42803 (cexp_test): Likewise.
42804 (clog_test): Likewise.
42805 (clog10_test): Likewise.
42806 (csqrt_test): Likewise.
42807 (ctan_test): Likewise.
42808 (ctanh_test): Likewise.
42809 (exp_test): Likewise.
42810 (exp10_test): Likewise.
42811 (exp2_test): Likewise.
42812 (expm1_test): Likewise.
42813 (fma_test): Likewise.
42814 (j0_test): Likewise.
42815 (jn_test): Likewise.
42816 (nexttoward_test): Likewise.
42817 (pow_test): Likewise.
42818 (scalbn_test): Likewise.
42819 (scalbln_test): Likewise.
42820 (tan_test): Likewise.
42821 (y1_test): Likewise.
42822 * sysdeps/i386/fpu/libm-test-ulps: Update.
42823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42824
9e0e3d0b
DM
428252012-05-23 David S. Miller <davem@davemloft.net>
42826
42827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42828 (__libc_sigaction): Remove unused local variables.
42829
ccd0a08f
L
428302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42831
42832 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42833
62bdf9a6
PE
428342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42835
f8591f80
PE
42836 mktime: avoid signed integer overflow
42837 * time/mktime.c (__mktime_internal): Do not mishandle the case
42838 where diff == INT_MIN.
42839
94c7d826
PE
42840 mktime: simplify computation of average
42841 * time/mktime.c (ranged_convert): Use new time_t_avg function
42842 instead of rolling our own (probably-slower) code.
42843
ce73d683
PE
42844 mktime: do not assume signed right shift propagates sign bit
42845 * time/mktime.c (isdst_differ): New static function.
42846 (__mktime_internal): No need to normalize tm_isdst now.
42847 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42848 tm_isdst values.
42849
72a22e59
PE
42850 mktime: merge another wrapv change from gnulib
42851 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42852 from some compilers.
42853
68605433
PE
42854 mktime: remove incorrect attempt at unusual arithmetics
42855 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42856 The code didn't really work on such machines anyway.
42857 (TYPE_MINIMUM): Assume two's complement.
42858 (twos_complement_arithmetic): Verify that long_int and time_t
42859 are two's complement (or unsigned, in the latter case).
42860
03cf7fe3
PE
42861 mktime: check signed shifts on long_int and time_t, too
42862 * time/mktime.c (SHR): Check that shifts work as desired
42863 on the types long_int and time_t too, as SHR is used on
42864 such types.
42865
f04dfbc2
PE
42866 mktime: do not assume 'long' is wide enough
42867 * time/mktime.c (verify): Move decl up.
42868 (long_int): New type.
42869 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42870 to remove assumption in the code that 'long' is wide enough to
42871 store year values. This assumption is not true on x32 and on
42872 some non-glibc platforms.
42873
62bdf9a6
PE
42874 mktime: merge wrapv change from gnulib
42875 * time/mktime.c (WRAPV): New macro.
42876 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42877 (guess_time_tm, __mktime_internal): Do not assume that signed
42878 integer overflow wraps around; modern compilers generate code
42879 where this assumption is no longer valid.
42880
5e292e4f
L
428812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42882
42883 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42884 Replace "jmp L(pseudo_end)" with "ret".
42885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42886 Likewise.
42887
8caf8c87
AJ
428882012-05-23 Andreas Jaeger <aj@suse.de>
42889
42890 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42891 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42892
1a09dc56
AJ
428932012-05-23 Andreas Jaeger <aj@suse.de>
42894 Maximilian Attems <max@stro.at>
42895
42896 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42897 New macros.
42898
1c87aba0
L
428992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42900
42901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42902 code so that pseudo_end is just ret and the stack pointer is
42903 correct also for static library in error case.
42904
40e45bd5
JM
429052012-05-23 Joseph Myers <joseph@codesourcery.com>
42906
c2670533
JM
42907 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42908 move to syscalls.list.
42909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42913
40e45bd5
JM
42914 * manual/install.texi (Running make install): Do not mention Linux
42915 kernel version for which pt_chown is not needed.
42916 (Linux): Do not mention problems with nscd with 2.0 kernels.
42917 * INSTALL: Regenerated.
42918
be08eda5
AJ
429192012-05-23 Andreas Jaeger <aj@suse.de>
42920
42921 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42922 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42923 macro.
42924 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42926 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42928 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42934 * sysdeps/unix/sysv/linux/bits/in.h
42935 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42936
a6a056bb
RM
429372012-05-22 Roland McGrath <roland@hack.frob.com>
42938
42939 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42940 (PREPARE_VERSION): Just use assert instead, it will be elided
42941 under [NDEBUG] anyway.
42942
c9009328
L
429432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42944
42945 * sysdeps/unix/sysv/linux/Makefile: Include
42946 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42947 (sysdep_routines): Remove sysctl.
c9009328
L
42948 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42949 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42950 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42951 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42952 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42953
73338355
AJ
429542012-05-22 Andreas Jaeger <aj@suse.de>
42955
42956 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42957 that pseudo_end is just ret and the stack pointer is correct also
42958 for static library in error case.
42959
d44638b0
PP
429602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42961
42962 [BZ #14122]
42963 * nss/nsswitch.c (defconfig_entries): New variable.
42964 (__nss_database_lookup): Don't leak defconfig entries.
42965 (nss_parse_service_list): Don't leak on error paths.
42966 (free_database_entries): New function.
42967 (free_defconfig): New function.
42968 (free_mem): Move common code to free_database_entries.
42969
31a39bd8
L
429702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42971
da0331a8
L
42972 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42973 Add arch_prctl.
42974 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42975
31a39bd8
L
42976 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42977 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42979 New macro.
42980 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42981 (INTERNAL_SYSCALL_TYPES): Likewise.
42982 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42983 (LOAD_REGS_TYPES_[1-6]): Likewise.
42984 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42985 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42986
45470df3
AZ
429872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42988
42989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42990 copysignl for GLIBC_2_0.
42991 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42992 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42994 logbl for GLIBC_2_0.
42995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42996 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42997
98a61bcb
L
429982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42999
a4f6e481
L
43000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43001 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43002
f63d5db6
L
43003 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43004 Use "neg %eax".
43005
98a61bcb
L
43006 * time/mktime.c: Update copyright years.
43007
95770f14
PE
430082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43009
6226efbd
PE
43010 mktime: merge comment-quoting-style change from gnulib
43011 * time/mktime.c: Quote 'like this' in comments.
43012 The GNU coding standards suggest that we no longer quote `like this',
43013 as "`" and "'" are typically rendered asymmetrically nowadays.
43014 The typical gnulib style is to quote 'like this' when quoting
43015 code, and "like this" when quoting English.
43016
b99e4f78
PE
43017 * time/mktime.c (compile-command): Add "-I.".
43018
643e01e6
PE
43019 mktime: merge mktime-internal.h change from gnulib
43020 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43021
2554247d
PE
43022 mktime: merge time_r change from gnulib
43023 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43024
826dd0ab
PE
43025 mktime: merge DEBUG change from gnulib
43026 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43027 case system <time.h> has a #define.
43028
bd83aabe
PE
43029 mktime: merge <sys/types.h> change from gnulib
43030 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43031 since <time.t> is now guaranteed to define time_t.
43032
95770f14
PE
43033 mktime: merge HAVE_CONFIG_H change from gnulib
43034 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43035
5e1a27a9
L
430362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43037
0e44a77e
L
43038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43039 Use "neg %eax".
43040
5e1a27a9
L
43041 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43042 __rlim_t cast.
43043 (struct rusage): Use anonymous union to pad each field to
43044 __syscall_slong_t.
43045
46259bec
DM
430462012-05-21 David S. Miller <davem@davemloft.net>
43047
43048 * Makefules (o-iterator): Remove .s cases.
43049 (compile-command.s): Delete.
43050 (COMPILE.s): Delete.
43051 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43052
59f0c22e
JM
430532012-05-21 Joseph Myers <joseph@codesourcery.com>
43054
43055 * configure.in (libc_cv_predef_stack_protector): Only consider
43056 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43057 * configure: Regenerated.
43058
20c07380
L
430592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43060
bbb3154b
L
43061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43062 New macro. Use R*LP on int and pointer.
43063 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43064 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43065 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43066 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43067
20c07380
L
43068 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43069 [__WORDSIZE_TIME64_COMPAT32] instead of
43070 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43071 (struct utmp): Likewise.
43072 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43073 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43074 Renamed to ...
43075 (__WORDSIZE_TIME64_COMPAT32): This.
43076 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43077 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43078 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43079 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43080 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43081 (__WORDSIZE_TIME64_COMPAT32): New macro.
43082
d8d1017e
AJ
430832012-05-21 Andreas Jaeger <aj@suse.de>
43084
43085 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43086 only if [SHARED]. Add prototype for __wcschr_ia32.
43087
6c7fb145
RM
430882012-05-21 Roland McGrath <roland@hack.frob.com>
43089
43090 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43091 of %rbp unmolested in the jmp_buf while mangling the low bits.
43092 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43093 unmolested high bits of %rbp while demangling the low bits.
43094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43095
66274218
AJ
430962012-05-21 Andreas Jaeger <aj@suse.de>
43097
07c58f8f
AJ
43098 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43099 * sunrpc/svc_simple.c: Use it for registerrpc.
43100 * sunrpc/xcrypt.c: Use it for passwd2des.
43101
66274218
AJ
43102 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43103
61f65140
L
431042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43105
43106 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43107 Don't define if [__SYSCALL_WORDSIZE != 32].
43108 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43109 New macro.
43110
5fefb436
AJ
431112012-05-21 Bruno Haible <bruno@clisp.org>
43112 Andreas Jaeger <aj@suse.de>
43113
43114 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43115 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43116 inptr and inend for must_buffer_ch.
43117 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43118 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43119 * stdio-common/Makefile (tests): Remove bug15.
43120 (bug15-ENV): Remove macro.
43121 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43122 anymore.
43123
d8e272ab
AJ
431242012-05-19 Andreas Jaeger <aj@suse.de>
43125 Roland McGrath <roland@hack.frob.com>
43126
43127 * manual/contrib.texi: Completely rewritten. It contains now an
43128 alphabetical list of contributors and their contributions.
43129
4a56a162
RH
431302012-05-21 Richard Henderson <rth@twiddle.net>
43131
43132 * misc/getauxval.c (__getauxval): Use unsigned long int.
43133 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43134 (getauxval): Use unsigned long int.
43135
d024d23c
L
431362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43137
43138 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43139
cbc00a03
RM
431402012-05-21 Roland McGrath <roland@hack.frob.com>
43141
43142 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43143 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43144 __alignof__ (long double).
43145
478143fa
AZ
431462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43147
43148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43149
c7683a6d
RH
431502012-05-20 Richard Henderson <rth@twiddle.net>
43151
43152 * misc/getauxval.c: New file.
43153 * misc/sys/auxv.h: New file.
43154 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43155 (routines): Add getauxval.
43156 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43157 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43158 * elf/dl-sysdep.c (_dl_auxv): Remove.
43159 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43160 * elf/dl-support.c (_dl_auxv): New variable.
43161 (_dl_aux_init): Initialize it.
43162 * manual/startup.texi (Auxiliary Vector): New node.
43163 * sysdeps/generic/bits/hwcap.h: New file.
43164 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43165 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43166 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43167 * sysdeps/sparc/sysdep.h: ... here. Include it.
43168 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43171 Update.
c7683a6d
RH
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43175 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43180
a6f1845d
AZ
431812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43182
43183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43184
cbcbe830
DM
431852012-05-19 David S. Miller <davem@davemloft.net>
43186
43187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43188
e0b16cc2
JM
431892012-05-19 Joseph Myers <joseph@codesourcery.com>
43190
43191 [BZ #14123]
43192 * math/s_ccosh.c: Include <float.h>
43193 (__ccosh): Avoid internal overflow calculating sinh and cosh
43194 values before multiplying by sin and cos values.
43195 * math/s_ccoshf.c: Likewise.
43196 * math/s_ccoshl.c: Likewise.
43197 * math/s_csin.c: Likewise.
43198 * math/s_csinf.c: Likewise.
43199 * math/s_csinl.c: Likewise.
43200 * math/s_csinh.c: Likewise.
43201 * math/s_csinhf.c: Likewise.
43202 * math/s_csinhl.c: Likewise.
43203 * math/libm-test.inc (ccos_test): Add more tests.
43204 (ccosh_test): Likewise.
43205 (csin_test): Likewise.
43206 (csinh_test): Likewise.
43207 * sysdeps/i386/fpu/libm-test-ulps: Update.
43208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43209
6ad13e08
L
432102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43211
f66f0ce8
L
43212 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43213 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43214
6ad13e08
L
43215 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43216
b1d072a7
JM
432172012-05-19 Joseph Myers <joseph@codesourcery.com>
43218
43219 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43220 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43221 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43222 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43223 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43224 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43225 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43226 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43227 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43228 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43229 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43230 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43231 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43232 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43233 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43234 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43235 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43236 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43237 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43238 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43239 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43240 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43241 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43242 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43243 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43244 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43245 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43246 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43247 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43248 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43249 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43250
9eae47cb
AJ
432512012-05-18 Andreas Jaeger <aj@suse.de>
43252
43253 * csu/.gitignore: Delete.
43254
bb07f69f
L
432552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43256
43257 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43258 (timex): Use __syscall_slong_t.
43259
e6bdb741
AJ
432602012-05-18 Andreas Jaeger <aj@suse.de>
43261 Carlos O'Donell <carlos_odonell@mentor.com>
43262
43263 * manual/install.texi (Configuring and compiling): Update
43264 description about files modified in the source directory.
d6c33fda 43265 * INSTALL: Regenerated.
e6bdb741 43266
1b74487e
L
432672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43268
43269 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43270 value. Use "or" to set return value to -1.
43271 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43272 negate return value.
43273
a88b64b9
TMQMF
432742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43275
57f41c40
AS
43276 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43277 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43278 failure if the compiler has Graphite support disabled.
43279 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43280 Likewise.
57f41c40
AS
43281 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43282 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43283 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43284 Likewise.
43285
3707636e
L
432862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43287
610b8622
L
43288 * sysdeps/x86_64/x32/_itoa.h: New file.
43289
7cd195df
L
43290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43291 getdents system call only if kernel and user dirents have the
43292 same d_ino and d_off.
43293
94b07d20
L
43294 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43295 LLONG_MAX != LONG_MAX.
43296 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43297 (_fitoa_word): Likewise.
43298
18298070
L
43299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43300 years.
43301 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43304
553c7ea4
L
43305 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43306 include <bits/wordsize.h>. Check __x86_64__ instead of
43307 __WORDSIZE.
43308 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43309 if __x86_64__ is defined. Use anonymous union on fpstate.
43310
3707636e
L
43311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43312 anonymous union.
43313
b53ef01a
AS
433142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43315
37fb1dc0
AS
43316 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43317 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43318 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43319 Refer to _rtld_local_ro instead of _rtld_global_ro.
43320 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43321 Likewise.
43322 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43323 Likewise.
43324 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43325 Likewise.
43326 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43327 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43328 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43329
b53ef01a
AS
43330 * sysdeps/powerpc/powerpc32/dl-machine.c
43331 (__elf_machine_runtime_setup) [PROF]: Don't reference
43332 _dl_prof_resolve.
43333
7a185db2
AJ
433342012-05-18 Andreas Jaeger <aj@suse.de>
43335
43336 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43337 function only available for GCCs before 3.4 since GCC 3.4
43338 introduced a builtin.
43339 (lrint): Likewise.
43340 (llrintf): Likewise.
43341 (llrint): Likewise.
43342 (fmaxf): Likewise.
43343 (fmax): Likewise.
43344 (fminf): Likewise.
43345 (fmin): Likewise.
43346 (rint): Likewise.
43347 (rintf): Likewise.
43348 (nearbyint): Likewise.
43349 (nearbyintf): Likewise.
43350 (ceil): Likewise.
43351 (ceilf): Likewise.
43352 (floor): Likewise.
43353 (floorf): Likewise.
43354
3e5aef87
L
433552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43356
428bd707
L
43357 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43358 on both fields and cast pointer to __syscall_ulong_t.
43359
3e5aef87
L
43360 * bits/types.h (__fsword_t): New type.
43361 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43362 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43364 (__FSWORD_T_TYPE): Likewise.
43365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43366 (__FSWORD_T_TYPE): Likewise.
43367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43368 (__FSWORD_T_TYPE): Likewise.
43369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43370 (__FSWORD_T_TYPE): Likewise.
43371 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43372 __SWORD_TYPE with __fsword_t.
43373 (statfs64): Likewise.
43374
1ba7c3dc
DM
433752012-05-17 David S. Miller <davem@davemloft.net>
43376
43377 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43378
59910343
AJ
433792012-05-17 Andreas Jaeger <aj@suse.de>
43380
43381 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43382 warning.
43383
2e4c1e9e
L
433842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43385
43386 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43387
de7f5ce7
AJ
433882012-05-17 Andreas Jaeger <aj@suse.de>
43389
43390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43391 when it is used.
43392
286abc3d
CM
433932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43394
43395 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43396
477cc68e
L
433972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43398
43399 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43400 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43401
1a0994f5
CD
434022012-05-17 Andreas Jaeger <aj@suse.de>
43403 Carlos O'Donell <carlos_odonell@mentor.com>
43404
43405 [BZ #14059]
43406 * sysdeps/x86_64/multiarch/init-arch.h
43407 (bit_YMM_Usable): Rename to...
43408 (bit_AVX_Usable): ... this.
43409 (bit_FMA4_Usable): New macro.
43410 (bit_XMM_state): New macro.
43411 (bit_YMM_state): New macro.
43412 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43413 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43414 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43415 (CPUID_OSXSAVE): New macro.
43416 (CPUID_AVX): New macro.
43417 (CPUID_FMA4): New macro.
43418 (index_YMM_Usable): Rename to...
43419 (index_AVX_Usable): ... this.
43420 (HAS_AVX): Use HAS_ARCH_FEATURE.
43421 (HAS_FMA4): Likewise.
43422 (HAS_YMM_USABLE): Remove.
43423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43424 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43425 are present.
43426 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43427 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43428 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43429 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43430 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43431
0af797de
CM
434322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43433
43434 * math/libm-test.c: Support platforms without multiple rounding modes.
43435 * math/bug-nextafter.c: Support platforms without FP exceptions.
43436 * math/bug-nexttoward.c: Likewise.
43437 * math/test-fenv.c: Likewise.
43438 * math/test-misc.c: Likewise.
43439 * stdlib/bug-getcontext.c: Likewise.
43440
e39745ff
AJ
434412012-05-17 Andreas Jaeger <aj@suse.de>
43442
43443 * manual/examples/search.c (critter_cmp): Change signature to
43444 avoid warnings.
43445 * manual/string.texi (Collation Functions): Likewise.
43446
48970aba
L
434472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43448
43449 * bits/types.h: Fold copyright years.
43450 * bits/typesizes.h: Likewise.
43451 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43455 * time/time.h: Likewise.
43456
bedee953
PP
434572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43458
43459 [BZ #208]
43460 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43461 in instead of returning them. Return void.
43462 (__libc_mallinfo): Accumulate over all arenas.
43463 (__malloc_stats): Adjust for change in int_mallinfo interface.
43464
61653dfb
RM
434652012-05-16 Roland McGrath <roland@hack.frob.com>
43466
30b99d79
RM
43467 [BZ #10375]
43468 * configure.in (NM): Add AC_CHECK_TOOL for it.
43469 (libc_extra_cflags): New substituted variable.
43470 Check for -fstack-protector being used implicitly.
43471 * configure: Regenerated.
43472 * config.make.in (config-extra-cflags): New variable,
43473 gets @libc_extra_cflags@.
43474 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43475
61653dfb
RM
43476 [BZ #10375]
43477 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43478 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43479 * configure: Regenerated.
43480 * config.make.in (CPPUNDEFS): New substituted variable.
43481 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43482 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43483 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43484
661768bb
L
434852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43486
43487 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43488 (mq_attr): Use __syscall_slong_t.
43489
d4261567
L
434902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43491
43492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43493 Check __x86_64__ instead of __WORDSIZE.
43494 (_STAT_VER_LINUX): Likewise.
43495 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43496 __syscall_ulong_t and __syscall_slong_t.
43497 (stat64): Likewise.
43498
cf3ff365
L
434992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43500
43501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43502
76cf3e4d
L
435032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43504
43505 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43506
a637753a
L
435072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43508
43509 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43510 __syscall_ulong_t.
43511
d5e05119
L
43512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43513 include <bits/wordsize.h>. Check __x86_64__ instead of
43514 __WORDSIZE.
43515 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43516 defined.
43517 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43518
f62ee380
L
43519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43520 include <bits/wordsize.h>. Check __x86_64__ instead of
43521 __WORDSIZE.
43522 (user_regs_struct): Use "__extension__ unsigned long long"
43523 instead of "unsigned long" if __x86_64__ is defined.
43524 (user): Likewise. Pad after pointer field if __ILP32__ is
43525 defined.
43526
4e124ced
JM
435272012-05-16 Joseph Myers <joseph@codesourcery.com>
43528
6a3951a0
JM
43529 * configure.in (makeinfo): Require version 4.5 or later. Allow
43530 versions 5 to 9.
43531 * configure: Regenerated.
43532 * manual/install.texi (texinfo): Increase version requirement to
43533 4.5 or later.
43534 * INSTALL: Regenerated.
43535
4e124ced
JM
43536 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43537
953ca31a
L
435382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43539
43540 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43541
617aca05
L
43542 * sysdeps/x86_64/x32/ffs.c: New file.
43543
5762f7ae
L
43544 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43545 __syscall_ulong_t.
43546 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43547 defined. Use __syscall_ulong_t.
43548 (shminfo): Use __syscall_ulong_t.
43549 (shm_info): Likewise.
43550
a26b6856
L
43551 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43552 __syscall_ulong_t.
43553
cb2b9ef7
L
43554 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43555 <bits/wordsize.h>.
43556 (msgqnum_t): Use __syscall_ulong_t.
43557 (msglen_t): Likewise.
43558 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43559 __syscall_ulong_t.
43560
34683bb0
L
43561 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43563
84a68786
L
43564 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43565
48baa5f1
L
43566 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43567 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43568
180be88b
L
43569 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43570 __syscall_slong_t.
43571
5e90c8ad
L
43572 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43573 include <bits/wordsize.h>. Check __x86_64__ instead of
43574 __WORDSIZE.
43575
23dfb58b
L
43576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43577 "unsigned long long int" if __x86_64__ is defined.
43578 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43579
ce5d54b0
L
43580 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43581 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43582 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43583
13dc9eac
L
43584 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43585 <stdint.h>.
43586 (GET_PC): Cast to uintptr_t first.
43587 (GET_FRAME): Likewise.
43588 (GET_STACK): Likewise.
43589
a7895d15
L
43590 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43592 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43593 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43594 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43595 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43596 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43597 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43598 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43615 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43619
656416c9
AS
436202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43621
5bd66283
AS
43622 * Makerules (+depfiles): Also collect depfiles from .oS in
43623 $(extra-objs).
43624 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43625 .oS, $(libnldbl-routines)).
43626
656416c9
AS
43627 * Makerules (native-compile-mkdep-flags): Define.
43628 * sunrpc/Makefile (extra-objs): Add $(addprefix
43629 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43630 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43631 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43632 calling $(make-target-directory).
43633
a46f2169
L
436342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43635
43636 * bits/types.h (__snseconds_t): Removed.
43637 * time/time.h (struct timespec): Replace __snseconds_t with
43638 __syscall_slong_t.
43639 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43640 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43641 Likewise.
43642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43643 (__SNSECONDS_T_TYPE): Likewise.
43644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43645 (__SNSECONDS_T_TYPE): Likewise.
43646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43647 (__SNSECONDS_T_TYPE): Likewise.
43648
6af6528b
L
436492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43650
43651 * sysdeps/mach/hurd/bits/typesizes.h
43652 (__SYSCALL_SLONG_TYPE): New macro.
43653 (__SYSCALL_ULONG_TYPE): Likewise.
43654
de986b56
L
436552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43656
43657 * bits/types.h (__syscall_slong_t): New type.
43658 (__syscall_ulong_t): Likewise.
43659
43660 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43661 (__SYSCALL_ULONG_TYPE): Likewise.
43662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43663 (__SYSCALL_SLONG_TYPE): Likewise.
43664 (__SYSCALL_ULONG_TYPE): Likewise.
43665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43666 (__SYSCALL_SLONG_TYPE): Likewise.
43667 (__SYSCALL_ULONG_TYPE): Likewise.
43668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43669 (__SYSCALL_SLONG_TYPE): Likewise.
43670 (__SYSCALL_ULONG_TYPE): Likewise.
43671
85736dc7
L
436722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43673
43674 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43675 Add sigaltstack-offsets.sym.
43676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43677 <sigaltstack-offsets.h>.
43678 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43679 longjmp_msg pointer.
43680 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43681 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43682 signal stack.
43683 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43684
cc03b296
JM
436852012-05-15 Joseph Myers <joseph@codesourcery.com>
43686
a9538892
JM
43687 * elf/stackguard-macros.h: Remove file.
43688 * sysdeps/generic/stackguard-macros.h: New file.
43689 * sysdeps/i386/stackguard-macros.h: Likewise.
43690 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43691 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43692 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43693 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43694 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43695 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43696 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43697 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43698 <elf/stackguard-macros.h>.
43699
cc03b296
JM
43700 [BZ #14109]
43701 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43702 __aligned__ in attribute.
43703 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43704 (gregset_t): Likewise.
43705
93171016
L
437062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43709 * sysdeps/x86_64/64/Implies-after: Here. New file.
43710 * sysdeps/x86_64/x32/Implies-after: New file.
43711
d86813a0
L
437122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43713
43714 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43715 and access return value for _dl_profile_fixup. Use R10_LP to
43716 load frame size.
43717
2953ec75
L
437182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43719
43720 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43721
3b550e9e
L
437222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43723
43724 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43725 * sysdeps/x86_64/x32/sysdep.h: New file.
43726
eda41706
L
437272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43728
43729 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43730 * sysdeps/x86_64/setjmp.S: Likewise.
43731
9ea01d93
AZ
437322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43733
43734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43736 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43738 remove unused global constant.
43739
02a91938
CM
437402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43741
43742 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43743 include of <not-cancel.h>.
43744
6540185f
RM
437452012-05-15 Roland McGrath <roland@hack.frob.com>
43746
43747 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43748
509072a0
AJ
437492012-05-15 Jeff Law <law@redhat.com>
43750 Andreas Jaeger <aj@suse.de>
43751
43752 [BZ #13594]
43753 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43754 out from...
43755 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43756 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43757 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43758 code changing __hst_map_handle.map.
43759
ba75122d
RM
437602012-05-15 Roland McGrath <roland@hack.frob.com>
43761
43762 * configure.in (sysnames): Look for Implies-before and Implies-after
43763 files.
43764 * configure: Regenerated.
43765
890d8bd8
L
437662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43767
43768 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43769 8-byte data alignment with LP_SIZE alignment.
43770
f6ee6623
L
437712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43774 into R10_LP.
43775
ea2626f6
L
437762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43777
43778 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43779
085f715e
L
437802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43781
43782 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43783 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43785 Likewise.
43786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43787
be8498fc
L
437882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43789
43790 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43791 (stackinfo_sub_sp): Likewise.
43792
70bc83b9
L
437932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43794
43795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43796 RAX_LP.
43797
9bc0b730
L
437982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43799
43800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43801 into R*_LP.
43802
6d2850e7
L
438032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43804
43805 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43806 sizes into R*_LP.
43807
3cb84561
L
438082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43809
43810 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43811
54e2ed81
L
438122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43813
43814 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43815 into R11_LP and load __x86_64_shared_cache_size_half into
43816 R8_LP.
43817
8a17f349
L
438182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43819
43820 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43821 R8_LP.
43822
777b1eea
AZ
438232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43824
43825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43826 logb for POWER7.
43827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43828 logbf for POWER7.
43829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43830 logbl for POWER7.
43831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43832 powerpc32/power7/fpu/s_logb.c via #include.
43833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43834 powerpc32/power7/fpu/s_logbf.c via #include.
43835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43836 powerpc32/power7/fpu/s_logbl.c via #include.
43837
d20d4ac2
JM
438382012-05-15 Joseph Myers <joseph@codesourcery.com>
43839
43840 * README.libm: Remove file.
43841
6cdef1ab
L
438422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43843
43844 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43845 count for x32. Use R*_LP and omit operand-size suffix.
43846
0b254d8f
L
438472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43848
43849 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43850 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43851 * sysdeps/x86_64/x32/shlib-versions: New file.
43852
ceb809dc
RM
438532012-05-14 Roland McGrath <roland@hack.frob.com>
43854
43855 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43856 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43857 Use _dl_fatal_printf instead.
43858
37f1abd4
JM
438592012-05-14 Joseph Myers <joseph@codesourcery.com>
43860
43861 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43862 set if not set by the user. Do not allow for being unset.
43863 * sysdeps/unix/sysv/linux/configure: Regenerated.
43864
11de3a33
L
438652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43866
43867 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43868 the `q' suffix from lea and replace .quad with ASM_ADDR.
43869
e02f153a
L
438702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43871
43872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43873 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43874 instead of $17.
43875 (PTR_DEMANGLE): Likewise.
43876
520ae0fd
L
438772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43878
43879 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43880 (LP_OP): Likewise.
43881 (ASM_ADDR): Likewise.
43882 (RAX_LP): Likewise.
43883 (RBP_LP): Likewise.
43884 (RBX_LP): Likewise.
43885 (RCX_LP): Likewise.
43886 (RDI_LP): Likewise.
43887 (RSI_LP): Likewise.
43888 (RSP_LP): Likewise.
43889 (R8_LP): Likewise.
43890 (R9_LP): Likewise.
43891 (R10_LP): Likewise.
43892 (R10_LP): Likewise.
43893 (R11_LP): Likewise.
43894 (R12_LP): Likewise.
43895 (R13_LP): Likewise.
43896 (R14_LP): Likewise.
43897 (R15_LP): Likewise.
43898
b985be81
L
438992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43900
43901 * sysdeps/x86_64/x32/dl-machine.h: New file.
43902
6a4888ff
AJ
439032012-05-14 Andreas Jaeger <aj@suse.de>
43904
43905 * manual/Makefile (subdir): Remove export of subdir.
43906 (all): Remove target.
43907 (.PHONY): Remove all from list.
43908 (mkinstalldirs): Remove.
43909 (.PHONY): Remove installdirs from list.
43910 ($(inst_infodir)/libc.info): Use make-target-directory.
43911 (installdirs): Remove.
43912 (subdir_%): Remove.
43913 (glibc-targets): Remove.
43914 (lib): Remove.
43915 (stubs): Remove.
43916 ($(objpfx)stubs ../po/manual.pot): Remove.
43917 ($(objpfx)stamp%): Remove.
43918 (make-target-directory): Remove.
43919 (subdir_install): Remove.
43920 (routines): Remove.
43921 (aux): Remove.
43922 (sources): Remove.
43923 (objects): Remove.
43924 (headers): Remove.
43925
43926 [BZ #13750]
43927 * manual/.gitignore: Remove, it's not needed anymore.
43928 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43929 all files in it.
43930 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43931 directory.
43932 (texis): Renamed to $(objpfx)texis.
43933 (texis-path): New, contains path to generated files.
43934 (chapters.%): Use texis-path for complete path, add extra argument
43935 libc-texinfo.sh.
43936 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43937 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43938 (summary,texi, stamp-summary): Use complete path of
43939 files. Generate files in build dir.
43940 (dir-add.texi): Build in build dir.
43941 (libm-err.texi,stamp-libm-err): Likewise.
43942 (version.texi, stamp-version): Likewise.
43943 (.%c.texi): Likewise.
43944 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43945 (mostlyclean): Remove target.
43946 (realclean): Remove target.
43947 (generated): Add new variable with contents from mostlyclean and
43948 realclean, remove entries duplicated in common-mostlyclean, add
43949 stamp-libm-err and stamp-version.
43950 (generated-dirs): Add libc directory.
43951 ($(inst_infodir)/libc.info): Install files from build dir.
43952
43953 * manual/install.texi (Configuring and compiling): Adjust since
43954 the info files are not part of the tar ball anymore.
43955
7ac77294
AJ
439562012-05-14 Andreas Jaeger <aj@suse.de>
43957
43958 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43959 variable.
43960
ffb7875d
JM
439612012-05-14 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #13717]
43964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43965 to 2.2.0 where earlier.
43966 * sysdeps/unix/sysv/linux/configure: Regenerated.
43967 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43968 Remove conditional code.
43969 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43970 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43971 Remove conditional code.
43972 [!__NR_lchown]: Likewise.
43973 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43974 [__NR_lchown]: Likewise.
43975 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43976 comment referencing __ASSUME_LCHOWN_SYSCALL.
43977 * sysdeps/unix/sysv/linux/i386/sigaction.c
43978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43980 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43981 Remove conditional code.
43982 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43983 (__protocol_available): Remove #if 0 code.
43984 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43985 conditional code.
43986 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43987 * sysdeps/unix/sysv/linux/kernel-features.h
43988 (__ASSUME_GETCWD_SYSCALL): Don't define.
43989 (__ASSUME_REALTIME_SIGNALS): Likewise.
43990 (__ASSUME_PREAD_SYSCALL): Likewise.
43991 (__ASSUME_PWRITE_SYSCALL): Likewise.
43992 (__ASSUME_POLL_SYSCALL): Likewise.
43993 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43994 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43995 non-SPARC.
43996 (__ASSUME_SIOCGIFNAME): Don't define.
43997 (__ASSUME_MSG_NOSIGNAL): Likewise.
43998 (__ASSUME_SENDFILE): Define unconditionally.
43999 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44000 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44001 conditional code.
44002 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44003 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44005 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44006 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44007 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44008 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44033 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44034 Remove conditional code.
44035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44036 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44037 Remove conditional code.
44038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44039 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44040 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44041 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44042 Remove conditional code.
44043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44045 Remove conditional code.
44046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44047 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44048 Remove conditional code.
44049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44050 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44051 Remove conditional code.
44052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44053 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44054 Remove conditional code.
44055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44056 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44057 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44059 * sysdeps/unix/sysv/linux/sigaction.c
44060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44062 * sysdeps/unix/sysv/linux/sigpending.c
44063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44065 * sysdeps/unix/sysv/linux/sigprocmask.c
44066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44068 * sysdeps/unix/sysv/linux/sigsuspend.c
44069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44072 (__libc_missing_rt_sigs): Remove.
44073 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44074 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44075 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44076 Remove conditional code.
44077 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44078 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44079 return 1.
44080 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44081 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44082 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44083 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44084
1bfb7291
AJ
440852012-05-14 Andreas Jaeger <aj@suse.de>
44086
caae5a81
AJ
44087 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44088 it's not used in glibc.
44089 (__coshm1): Likewise.
44090 (__acosh1p): Likewise.
44091 (__sgn): Likewise.
44092
1bfb7291
AJ
44093 * manual/string.texi (Copying and Concatenation): Add missing
44094 variable in concat example.
44095 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44096
c044d724
L
440972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44098
144c5467 44099 [BZ #14103]
c044d724
L
44100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44101 __builtin_clzl with __builtin_clzll.
44102
2523c62b
L
441032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44104
44105 [BZ #14104]
44106 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44107 libc_freeres_ptr.
44108
d7bb4c42
LD
441092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44110
44111 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44112 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44113 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44114 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44115
9dc4e1fb
MF
441162012-05-14 Mike Frysinger <vapier@gentoo.org>
44117
44118 * NEWS: Update ia64 info.
44119
c7df0112
AS
441202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44121
44122 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44123 used as bcopy.
44124
dc70356c
TS
441252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44126
44127 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44128 * sysdeps/unix/syscalls.list (dup3): Likewise.
44129 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44130 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44131
9fb1a21f
L
441322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44133
44134 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44135 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44136
4822a2a5
L
441372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44138
44139 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44140 thread pointer.
44141 (TLS_IE): Use mov/add instead of movq/addq to load thread
44142 pointer.
44143 (TLS_GD_PREFIX): New.
44144 (TLS_GD): Use it.
44145
842b81d6
DM
441462012-05-11 David S. Miller <davem@davemloft.net>
44147
44148 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44149 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44150 (_FPU_SETCW): Likewise.
44151
1cf463cd
L
441522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44153
44154 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44155 is 32-byte aligned.
44156
60cc4a18
AS
441572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44158
44159 [BZ #11837]
44160 * iconvdata/gb18030.c: Update tables.
44161 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44162 characters specially.
44163 (BODY for TO_LOOP): Add encoding of missing ranges.
44164
febb44a4
TS
441652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44166
44167 [BZ #13673]
44168 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44169 * sysdeps/mach/hurd/dup3.c: Likewise.
44170 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44171 * sysdeps/powerpc/memmove.c:: Likewise.
44172
0a10fb9e
L
441732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44174
44175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44176 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44177
df8a552f
L
441782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44179
44180 * elf/elf.h (R_X86_64_RELATIVE64): New.
44181 (R_X86_64_NUM): Updated.
44182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44183 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44184 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44185 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44186 tst-quad1pie tst-quad2pie
44187 (modules-names): Add tst-quadmod1 tst-quadmod2.
44188 ($(objpfx)tst-quad1): New dependency.
44189 ($(objpfx)tst-quad2): Likewise.
44190 ($(objpfx)tst-quad1pie): Likewise.
44191 ($(objpfx)tst-quad2pie): Likewise.
44192 * sysdeps/x86_64/tst-quad1.c: New file.
44193 * sysdeps/x86_64/tst-quad1pie.c: New file.
44194 * sysdeps/x86_64/tst-quad2.c: Likewise.
44195 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44196 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44197 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44198 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44199 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44200
f34d6f84
ST
442012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44202
f42d41d1
ST
44203 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44204 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44205 * streams/stropts.h (t_scalar_t): Define type.
44206
3c3571fc
ST
44207 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44208 (_PATH_PRESERVE): Set to "/var/lib".
44209 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44210
61f06bd3
ST
44211 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44212 instead of int.
44213
918d4d71
ST
44214 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44215 if __dir_mkfile succeeded.
44216
f34d6f84
ST
44217 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44218 checking for _hurd_dtablesize. Unlock it right after having
44219 finished _hurd_dtable allocation.
44220
10589b4a
TS
442212012-05-10 Thomas Schwinge <thomas@schwinge.name>
44222
674cdbc7
TS
44223 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44224 * sysdeps/mach/hurd/configure: Regenerated.
44225 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44226 special-casing to...
44227 * sysdeps/gnu/configure.in: ... this new file.
44228 * sysdeps/unix/sysv/linux/configure: Regenerated.
44229 * sysdeps/gnu/configure: New generated file.
44230
8e41b99f
TS
44231 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44232 for Linux: use nsec instead of usec, as well as:
44233 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44234 members of type struct timespec.
44235 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44236 New macros.
44237 (struct stat64): Likewise.
44238 (_STATBUF_ST_NSEC): New macro.
44239 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44240
10589b4a
TS
44241 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44242 __strtoul_internal rather than strtoul.
44243
63643c85
PT
442442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44245
44246 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44247 and reject them.
44248
3faebe6a
ST
442492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44250
44251 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44252 which preserves existing values.
44253 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44254
c6474b07
PT
442552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44256
44257 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44258 TIMEOUT values. Return EINVAL for NFDS values either negative or
44259 greater than FD_SETSIZE.
44260
1043890b
ST
442612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44262
44263 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44264 allocated, call __vm_protect to finish enabling the existing space, and
44265 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44266 allocate the remainder.
44267
37ed8b9b
PT
442682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44269
44270 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44271 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44272
db653660
ST
442732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44274
37ed8b9b
PT
44275 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44276 sysdeps/mach/hurd/readlink.c.
b29d4053 44277
db653660
ST
44278 * posix/tst-sysconf.c (posix_options): Only use
44279 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44280 _POSIX_SYNCHRONIZED_IO when they are defined
44281 * sysdeps/mach/hurd/bits/posix_opt.h:
44282 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44283 (_XOPEN_REALTIME): Undefine macro.
44284 (_XOPEN_REALTIME_THREADS): Undefine macro.
44285 (_XOPEN_SHM): Undefine macro.
44286 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44287 macro to -1.
44288 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44289 macro to -1.
44290 (_POSIX_ASYNC_IO): Undefine macro.
44291 (_POSIX_PRIORITIZED_IO): Undefine macro.
44292 (_POSIX_SPIN_LOCKS): Define macro to -1.
44293
ee16e894
ST
44294 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44295 SA_NODEFER, SA_RESETHAND.
44296 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44297 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44298 F_DUPFD_CLOEXEC.
44299
6103ae3b
TS
443002012-05-10 Thomas Schwinge <thomas@schwinge.name>
44301
44302 * elf/Makefile (pldd-modules): Define unconditionally.
44303
80b4e5f3
TS
443042012-05-10 Thomas Schwinge <thomas@schwinge.name>
44305
44306 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44307
edadcbd6
ST
443082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44309
44310 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44311 Return ENOENT when name is empty.
44312 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44313
80694780
TS
443142012-05-10 Thomas Schwinge <thomas@schwinge.name>
44315
1792c087
TS
44316 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44317
80694780
TS
44318 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44319
6b645f0d
ST
443202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44321
80694780
TS
44322 Fix mlock in all cases except non-readable pages.
44323 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44324 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44325
6b645f0d
ST
44326 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44327 (__mkdir): When path is `/', just fail with EEXIST.
44328 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44329
e468f8a3
TS
443302012-05-10 Thomas Schwinge <thomas@schwinge.name>
44331
44332 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44333 <sys/uio.h> (for writev).
44334 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44335 and <sys/param.h> (for MIN).
44336
a4186cff
PT
443372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44338
44339 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44340 REQUESTED_TIME. Properly set the remaining time and return EINTR
44341 if interrupted.
44342
510bbf14
TS
443432012-05-10 Thomas Schwinge <thomas@schwinge.name>
44344
44345 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44346 Depend on against $(link-rpcuserlibs).
44347
5d5722e8
ST
443482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44349
a4186cff
PT
44350 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44351 (__libc_stack_end): Do not use attribute_relro.
44352 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44353 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44354 to libthread-provided value.
a4186cff
PT
44355 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44356 attribute_relro.
5d5722e8 44357
37233df9
TS
443582012-05-10 Thomas Schwinge <thomas@schwinge.name>
44359
be971a2b
TS
44360 [BZ #3748]
44361 * bits/libc-lock.h (__libc_once_get): New macro.
44362 * sysdeps/mach/bits/libc-lock.h: Likewise.
44363 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44365 instead of using implementation details.
44366
37233df9
TS
44367 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44368 * libio/freopen.c: Likewise.
44369 * libio/freopen64.c: Likewise.
44370 * misc/syslog.c: Likewise.
44371 * nscd/connections.c: Likewise.
44372 * nscd/netgroupcache.c: Likewise.
44373 * sysdeps/posix/getcwd.c: Likewise.
44374
38de94a5
RM
443752012-05-10 Roland McGrath <roland@hack.frob.com>
44376
44377 * math/w_ilogbf.c: Add #include <limits.h>.
44378
67530489
ST
443792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44380
a4186cff 44381 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44382 path instead of returning without unlocking.
44383
67530489
ST
44384 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44385 immediate-write ioctls.
44386 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44387
5aa3a74a
TS
443882012-05-10 Thomas Schwinge <thomas@schwinge.name>
44389
18bad2ae
TS
44390 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44391 __builtin_frame_address instead of making assumptions about the
44392 location of the return address relative to DATA. Force early load of
44393 the return address.
44394 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44395 __builtin_frame_address.
44396
5aa3a74a
TS
44397 dup3 for GNU Hurd.
44398 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44399 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44400 implement dup3 and do some further code clean-ups.
44401 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44402 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44403
ecd0de9a
ST
444042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44405
cd9fa985
ST
44406 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44407
a4186cff
PT
44408 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44409 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44410 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44411 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44412 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44413 d->port.lock.
802ca5a5 44414
a4186cff
PT
44415 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44416 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44417 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44418
bcf55240
TS
444192012-05-10 Thomas Schwinge <thomas@schwinge.name>
44420
6960eb42
TS
44421 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44422 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44423 definitions.
44424
eb43375f
TS
44425 accept4 for GNU Hurd.
44426 * include/sys/socket.h (__libc_accept4): New prototype.
44427 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44428 to implement __libc_accept4.
44429 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44430 __libc_accept4.
44431 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44432
bcf55240
TS
44433 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44434 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44435 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44436 signal-defines.sym.
44437
6178c55b
ST
444382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44439
a4186cff 44440 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44441
6f080c2f
TS
444422012-05-10 Thomas Schwinge <thomas@schwinge.name>
44443
44444 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44445 assertion on O_CLOEXEC flag.
44446 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44447 * hurd/intern-fd.c: Likewise.
44448 * hurd/port2fd.c: Likewise.
44449
bcfe3a54
ST
444502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44451
44452 [BZ #3906]
44453 * bits/in.h (IPV6_PKTINFO): Define new macro.
44454 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44455
89c9aa49
AZ
444562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44457
44458 [BZ #13954]
44459 [BZ #13955]
44460 [BZ #13956]
44461 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44463 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44464 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44466 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44467 * math/libm-test.inc (logb_test) : Additional logb tests.
44468
021db4be
AJ
444692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44470 Andreas Jaeger <aj@suse.de>
44471
44472 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44473 * configure: Regenerated.
44474 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44475 * config.make.in (link-obsolete-rpc): New substituted variable.
44476 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44477 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44478 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44479 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44480 so that libc.a contains the symbols.
44481 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44482 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44483 * sunrpc/auth_none.c: Likewise.
44484 * sunrpc/auth_unix.c: Likewise.
44485 * sunrpc/authdes_prot.c: Likewise.
44486 * sunrpc/authuxprot.c: Likewise.
44487 * sunrpc/clnt_gen.c: Likewise.
44488 * sunrpc/clnt_perr.c: Likewise.
44489 * sunrpc/clnt_raw.c: Likewise.
44490 * sunrpc/clnt_simp.c: Likewise.
44491 * sunrpc/clnt_tcp.c: Likewise.
44492 * sunrpc/clnt_udp.c: Likewise.
44493 * sunrpc/clnt_unix.c: Likewise.
44494 * sunrpc/des_crypt.c: Likewise.
44495 * sunrpc/des_soft.c: Likewise.
44496 * sunrpc/get_myaddr.c: Likewise.
44497 * sunrpc/key_call.c: Likewise.
44498 * sunrpc/key_prot.c: Likewise.
44499 * sunrpc/netname.c: Likewise.
44500 * sunrpc/pm_getmaps.c: Likewise.
44501 * sunrpc/pm_getport.c: Likewise.
44502 * sunrpc/pmap_clnt.c: Likewise.
44503 * sunrpc/pmap_prot.c: Likewise.
44504 * sunrpc/pmap_prot2.c: Likewise.
44505 * sunrpc/pmap_rmt.c: Likewise.
44506 * sunrpc/publickey.c: Likewise.
44507 * sunrpc/rpc_cmsg.c: Likewise.
44508 * sunrpc/rpc_common.c: Likewise.
44509 * sunrpc/rpc_dtable.c: Likewise.
44510 * sunrpc/rpc_prot.c: Likewise.
44511 * sunrpc/rpc_thread.c: Likewise.
44512 * sunrpc/rtime.c: Likewise.
44513 * sunrpc/svc.c: Likewise.
44514 * sunrpc/svc_auth.c: Likewise.
44515 * sunrpc/svc_raw.c: Likewise.
44516 * sunrpc/svc_run.c: Likewise.
44517 * sunrpc/svc_tcp.c: Likewise.
44518 * sunrpc/svc_udp.c: Likewise.
44519 * sunrpc/svc_unix.c: Likewise.
44520 * sunrpc/svcauth_des.c: Likewise.
44521 * sunrpc/xcrypt.c: Likewise.
44522 * sunrpc/xdr.c: Likewise.
44523 * sunrpc/xdr_array.c: Likewise.
44524 * sunrpc/xdr_float.c: Likewise.
44525 * sunrpc/xdr_intXX_t.c: Likewise.
44526 * sunrpc/xdr_mem.c: Likewise.
44527 * sunrpc/xdr_rec.c: Likewise.
44528 * sunrpc/xdr_ref.c: Likewise.
44529 * sunrpc/xdr_sizeof.c: Likewise.
44530 * sunrpc/xdr_stdio.c: Likewise.
44531
b5c086a2
RM
445322012-05-10 Roland McGrath <roland@hack.frob.com>
44533
44534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44535 change. Update copyright years.
44536
6d74dd09
JM
445372012-05-10 Joseph Myers <joseph@codesourcery.com>
44538
44539 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44540
28e72501
MK
445412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44542 Joseph Myers <joseph@codesourcery.com>
44543 Paul Pluzhnikov <ppluzhnikov@google.com>
44544
44545 [BZ #14012]
44546 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44547 requiring rpcgen.
44548 [cross-compiling] (extra-libs): Likewise.
44549 [cross-compiling] (extra-libs-others): Likewise.
44550 [cross-compiling] (librpcsvc-routines): Likewise.
44551 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44552 [cross-compiling] (omit-deps): Likewise.
44553 (sunrpc-CPPFLAGS): New variable.
44554 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44555 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44556 (cross-rpcgen-objs): New variable.
44557 (extra-objs): Append $(cross-rpcgen-objs).
44558 ($(cross-rpcgen-objs)): New rule.
44559 ($(objpfx)cross-rpcgen): Likewise.
44560 (rpcgen-cmd): Define to use $(built-program-file). Expand
44561 comment.
44562 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44563 ($(objpfx)x%.stmp): Likewise.
44564 * sunrpc/proto.h [IS_IN_build] (_): Define.
44565 [IS_IN_build] (_libc_intl_domainname): Likewise.
44566
c8c59454
L
445672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44568
44569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44570 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44571 and R_X86_64_TPOFF64.
44572
6f27cd16
JM
445732012-05-10 Joseph Myers <joseph@codesourcery.com>
44574
44575 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44576 sysdeps/unix/sysv/syscalls.list.
44577 (stime): Likewise.
44578 (utime): Likewise.
44579 * sysdeps/unix/sysv/syscalls.list: Remove file.
44580
02467e1c
PE
445812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44582
44583 [BZ #3440]
44584 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44585 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44586 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44587 (__LC_IDENTIFICATION): Make these macros useful in #if
44588 expressions, as required by C99.
44589
da392631
AS
445902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44591
44592 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44593 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44594 after this.
44595
8115f29b
L
445962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44597
44598 * stdlib/longlong.h: Updated from GCC.
44599
bdd74070
AJ
446002012-05-09 Andreas Jaeger <aj@suse.de>
44601
edfe0dbe
AJ
44602 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44603 default is first entry.
44604 (run_mode): Set type.
44605 (main): Remove informal message about syslog.
44606 (options): Fix typo.
44607
bcfe3a54
ST
44608 [BZ #14053]
44609 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44610 to asm.
bcfe3a54
ST
44611 (lrint): Likewise.
44612 (llrintf): Likewise.
44613 (llrint): Likewise.
44614 (rint): Likewise.
44615 (rintf): Likewise.
44616 (nearbyint): Likewise.
44617 (nearbyintf): Likewise.
bdd74070 44618
91d8d69e
AJ
446192012-05-09 Andreas Jaeger <aj@suse.de>
44620 Pedro Alves <palves@redhat.com>
44621
44622 * nscd/nscd.c (run_mode): Use enum.
44623 (main): Cleanup coding style issue.
44624
bb90b80b
AJ
446252012-05-09 Alexandre Oliva <aoliva@redhat.com>
44626 Andreas Jaeger <aj@suse.de>
44627
bcfe3a54
ST
44628 * nscd/nscd.c (go_background): Replaced with...
44629 (run_mode): ... this.
bb90b80b 44630 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44631 (options): Add -F --foreground.
44632 (main): Implement it.
44633 (parse_opt): Parse it.
bb90b80b 44634
1a4b75a1
AJ
446352012-05-09 Andreas Jaeger <aj@suse.de>
44636
44637 [BZ #14083]
44638 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44639 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44640 -Wconversion warning.
44641 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44642 Likewise.
44643
b1cc2472
JM
446442012-05-09 Joseph Myers <joseph@codesourcery.com>
44645
44646 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44647 == 0.
44648 (LC_ALL): Use macro-int-constant.
44649 (LC_COLLATE): Likewise.
44650 (LC_CTYPE): Likewise.
44651 (LC_MESSAGES): Likewise.
44652 (LC_MONETARY): Likewise.
44653 (LC_NUMERIC): Likewise.
44654 (LC_TIME): Likewise.
44655 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44656 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44658 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44659 Specify type.
44660 [C99-based standards] (float_t): Expect type.
44661 [C99-based standards] (double_t): Expect type.
44662 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44663 type.
44664 [C99-based standards] (HUGE_VALL): Likewise.
44665 [C99-based standards] (INFINITY): Likewise.
44666 [C99-based standards] (NAN): Likewise.
44667 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44668 [C99-based standards] (FP_NAN): Likewise.
44669 [C99-based standards] (FP_NORMAL): Likewise.
44670 [C99-based standards] (FP_SUBNORMAL): Likewise.
44671 [C99-based standards] (FP_ZERO): Likewise.
44672 [C99-based standards] (FP_FAST_FMA): Use
44673 optional-macro-int-constant. Specify type. Require == 1.
44674 [C99-based standards] (FP_FAST_FMAF): Likewise.
44675 [C99-based standards] (FP_FAST_FMAL): Likewise.
44676 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44677 [C99-based standards] (FP_ILOGBNAN): Likewise.
44678 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44679 Specify type.
44680 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44681 [C99-based standards] (math_errhandling): Specify type.
44682 [ISO99 || ISO11] (signgam): Do not allow.
44683 [non-C99-based standards] (copysignf): Do not allow.
44684 [non-C99-based standards] (exp2f): Likewise.
44685 [non-C99-based standards] (log2f): Likewise.
44686 [non-C99-based standards] (modff): Allow.
44687 [non-C99-based standards] (erff): Do not allow.
44688 [non-C99-based standards] (erfcf): Likewise.
44689 [non-C99-based standards] (gammaf): Likewise.
44690 [non-C99-based standards] (hypotf): Likewise.
44691 [non-C99-based standards] (j0f): Likewise.
44692 [non-C99-based standards] (j1f): Likewise.
44693 [non-C99-based standards] (jnf): Likewise.
44694 [non-C99-based standards] (lgammaf): Likewise.
44695 [non-C99-based standards] (tgammaf): Likewise.
44696 [non-C99-based standards] (y0f): Likewise.
44697 [non-C99-based standards] (y1f): Likewise.
44698 [non-C99-based standards] (ynf): Likewise.
44699 [non-C99-based standards] (isnanf): Likewise.
44700 [non-C99-based standards] (acoshf): Likewise.
44701 [non-C99-based standards] (asinhf): Likewise.
44702 [non-C99-based standards] (atanhf): Likewise.
44703 [non-C99-based standards] (cbrtf): Likewise.
44704 [non-C99-based standards] (expm1f): Likewise.
44705 [non-C99-based standards] (ilogbf): Likewise.
44706 [non-C99-based standards] (log1pf): Likewise.
44707 [non-C99-based standards] (logbf): Likewise.
44708 [non-C99-based standards] (nextafterf): Likewise.
44709 [non-C99-based standards] (remainderf): Likewise.
44710 [non-C99-based standards] (rintf): Likewise.
44711 [non-C99-based standards] (scalbf): Likewise.
44712 [non-C99-based standards] (copysignl): Likewise.
44713 [non-C99-based standards] (exp2l): Likewise.
44714 [non-C99-based standards] (log2l): Likewise.
44715 [non-C99-based standards] (modfl): Allow.
44716 [non-C99-based standards] (erfl): Do not allow.
44717 [non-C99-based standards] (erfcl): Likewise.
44718 [non-C99-based standards] (gammal): Likewise.
44719 [non-C99-based standards] (hypotl): Likewise.
44720 [non-C99-based standards] (j0l): Likewise.
44721 [non-C99-based standards] (j1l): Likewise.
44722 [non-C99-based standards] (jnl): Likewise.
44723 [non-C99-based standards] (lgammal): Likewise.
44724 [non-C99-based standards] (tgammal): Likewise.
44725 [non-C99-based standards] (y0l): Likewise.
44726 [non-C99-based standards] (y1l): Likewise.
44727 [non-C99-based standards] (ynl): Likewise.
44728 [non-C99-based standards] (isnanl): Likewise.
44729 [non-C99-based standards] (acoshl): Likewise.
44730 [non-C99-based standards] (asinhl): Likewise.
44731 [non-C99-based standards] (atanhl): Likewise.
44732 [non-C99-based standards] (cbrtl): Likewise.
44733 [non-C99-based standards] (expm1l): Likewise.
44734 [non-C99-based standards] (ilogbl): Likewise.
44735 [non-C99-based standards] (log1pl): Likewise.
44736 [non-C99-based standards] (logbl): Likewise.
44737 [non-C99-based standards] (nextafterl): Likewise.
44738 [non-C99-based standards] (remainderl): Likewise.
44739 [non-C99-based standards] (rintl): Likewise.
44740 [non-C99-based standards] (scalbl): Likewise.
44741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44742 [non-C99-based standards] (FP_*): Do not allow.
44743 [C99-based standards] (FP_*): Change to
44744 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44745 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44746 allow.
44747 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44748 (SIG_ERR): Likewise.
44749 [X/Open-based standards] (SIG_HOLD): Likewise.
44750 (SIG_IGN): Likewise.
44751 (SIGABRT): Use macro-int-constant. Specify type. Require
44752 positive value.
44753 (SIGFPE): Likewise.
44754 (SIGILL): Likewise.
44755 (SIGINT): Likewise.
44756 (SIGSEGV): Likewise.
44757 (SIGTER): Likewise.
44758 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44759 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44760 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44761 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44762 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44763 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44764 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44765 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44766 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44767 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44768 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44769 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44770 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44771 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44772 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44773 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44774 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44775 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44776 [X/Open-based standards] (SIGTRAP): Likewise.
44777 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44778 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44779 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44780 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44781 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44782 allow.
44783
b9f1922d
IW
447842012-05-08 Ian Wienand <ianw@vmware.com>
44785
44786 [BZ #14080]
44787 * time/tzset.c (__tzset_parse_tz): Update default rules for
44788 daylight time changes in the Energy Policy Act of 2005.
44789
1db86e88
AJ
447902012-05-09 Andreas Jaeger <aj@suse.de>
44791
44792 [BZ #13983]
44793 * elf/ldconfig.c (parse_conf): Change string to make clear that
44794 ldconfig only issued a warning if ld.so.conf does not exist.
44795
dee4a4e3
DM
447962012-05-08 David S. Miller <davem@davemloft.net>
44797
ee0db190
DM
44798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44799 movxtod instead of popping the value on the stack.
44800
dee4a4e3
DM
44801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44802
6a43ec98
CD
448032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44804
44805 * config.h.in: Add HAVE_ARM_PCS_VFP.
44806
05c2c961
RMG
448072012-05-08 Roland Mc Grath <roland@hack.frob.com>
44808
bcfe3a54
ST
44809 [BZ #13979]
44810 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44811 checking but the checks are disabled for any reason.
05c2c961 44812
4b30f61a
L
448132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44814
44815 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44816 and ELF64_R_TYPE with ELFW(R_TYPE).
44817
eee2bc67
JM
448182012-05-08 Joseph Myers <joseph@codesourcery.com>
44819
7ea5391a
JM
44820 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44821 (ulimit): Likewise.
44822
eee2bc67
JM
44823 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44824 (settimeofday): Likewise.
44825
abb66a67
MF
448262012-05-08 Mike Frysinger <vapier@gentoo.org>
44827
44828 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44829 a struct th_u2 inside the union, and move tu_block/tu_code into
44830 a new th_u3 union of tu_block/tu_code inside of that. Move
44831 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44832 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44833 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44834 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44835 (th_stuff): Change to th_u1.tu_stuff.
44836 (th_data): Define.
44837 (th_msg): Change to th_u1.th_u2.tu_data.
44838
7f18b530
DM
448392012-05-07 David S. Miller <davem@davemloft.net>
44840
05760585
DM
44841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44842
7f18b530
DM
44843 [BZ #14074]
44844 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44845 (SETUP_PIC_REG): Use it.
44846 (SETUP_PIC_REG_LEAF): Use it.
44847
495fd99f
JM
448482012-05-07 Joseph Myers <joseph@codesourcery.com>
44849
44850 [BZ #13885]
44851 [BZ #13923]
44852 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44853 USE_AS_EXPM1L.
44854 (EXPL_FINITE): Likewise.
44855 (FLDLOG): Likewise.
44856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44857 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44858 e_expl.S.
44859 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44860 USE_AS_EXPM1L.
44861 (EXPL_FINITE): Likewise.
44862 (FLDLOG): Likewise.
44863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44864 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44865 e_expl.S.
44866 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44867 test of -max_value argument for long double.
44868 * sysdeps/i386/fpu/libm-test-ulps: Update.
44869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44870
6693d694
DM
448712012-05-06 David S. Miller <davem@davemloft.net>
44872
44873 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44874 quad soft-float symbols whose references which are compiler
44875 generated.
44876 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44877
6c23e11c
JM
448782012-05-06 Joseph Myers <joseph@codesourcery.com>
44879
d8b82cad
JM
44880 [BZ #13884]
44881 [BZ #13914]
44882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44883 USE_AS_EXP10L.
44884 (EXPL_FINITE): Likewise.
44885 (FLDLOG): Likewise.
44886 (c0): Likewise.
44887 (c1): Likewise.
44888 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44889 Adjust comments for base varying.
44890 (__expl_finite): Change alias to EXPL_FINITE.
44891 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44892 e_expl.S.
44893 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44894 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44895 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44896 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44898 USE_AS_EXP10L.
44899 (EXPL_FINITE): Likewise.
44900 (FLDLOG): Likewise.
44901 (c0): Likewise.
44902 (c1): Likewise.
44903 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44904 Adjust comments for base varying.
44905 (__expl_finite): Change alias to EXPL_FINITE.
44906 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44907 tests for bugs.
44908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44909
6c23e11c
JM
44910 [BZ #14064]
44911 * math/libm-test.inc (check_float_internal): Correct ulp
44912 calculation for subnormal expected results.
44913
29ba805c
AJ
449142012-05-06 Andreas Jaeger <aj@suse.de>
44915
44916 * Makeconfig (+math-flags): New, set to -frounding-math.
44917 (+cflags): Add +math-flags so that all of glibc gets compiled with
44918 it.
44919
44920 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44921
7b17aeda
JM
449222012-05-05 Joseph Myers <joseph@codesourcery.com>
44923
5779f134
JM
44924 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44925 Disable one test.
44926
41498f4d
JM
44927 [BZ #13787]
44928 [BZ #13922]
44929 [BZ #14036]
44930 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44931 (__ieee754_expl): Allow for and saturate large arguments.
44932 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44933 (u_threshold): Likewise.
44934 (__exp): Call __ieee754_exp before checking for overflow and
44935 underflow.
44936 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44937 (u_threshold): Likewise.
44938 (__expf): Call __ieee754_expf before checking for overflow and
44939 underflow.
44940 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44941 (u_threshold): Likewise.
44942 (__expl): Call __ieee754_expl before checking for overflow and
44943 underflow.
44944 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44945 (__ieee754_expl): Allow for and saturate large arguments.
44946 * math/libm-test.inc (exp_test): Add another test. Do not allow
44947 missing overflow exception on overflow.
44948 (expm1_test): Do not allow missing overflow exception on overflow.
44949
6698b8bf
JM
44950 * sysdeps/i386/fpu/e_expl.c: Move to ...
44951 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44952 rather than using inline asm.
44953 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44954 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44955 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44956
7b17aeda
JM
44957 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44958 (nice): Likewise.
44959 (poll): Likewise.
44960 (signal): Likewise.
44961 (time): Likewise.
44962 (times): Likewise.
44963
f7c85819
JM
449642012-05-04 Joseph Myers <joseph@codesourcery.com>
44965
44966 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44967 sysdeps/unix/common/syscalls.list.
44968 (fchmod): Likewise.
44969 (fchown): Likewise.
44970 (ftruncate): Likewise.
44971 (getrusage): Likewise.
44972 (gettimeofday): Likewise.
44973 (setpgid): Likewise.
44974 (setregid): Likewise.
44975 (setreuid): Likewise.
44976 (sigaction): Likewise.
44977 (truncate): Likewise.
44978 (vhangup): Likewise.
44979 * sysdeps/unix/common/syscalls.list: Remove file.
44980 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44981 * sysdeps/unix/sysv/linux/Implies: Likewise.
44982
336270d0
L
449832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44984
44985 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44987 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44988 Moved to ...
44989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44990 Here.
44991 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44992 to ...
44993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44994 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44995 to ...
44996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44997 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44998 to ...
44999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45000 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45001 to ...
45002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45003 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45004 to ...
45005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45006 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45007 to ...
45008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45009 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45010 to ...
45011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45012 Here.
45013 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45014 to ...
45015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45016 Here.
45017 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45018 to ...
45019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45020 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45021 Moved to ...
45022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45023 Here.
45024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45025 to ...
45026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45027
d128e450
JM
450282012-05-04 Joseph Myers <joseph@codesourcery.com>
45029
fa8ee516
JM
45030 * sysdeps/unix/common/bits/dirent.h: Remove file.
45031 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45032
d128e450
JM
45033 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45034 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45035 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45036 * sysdeps/unix/bsd/isatty.c: Likewise.
45037 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45038 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45039 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45040
ff8faaf0 450412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45042
62881be4 45043 [BZ #13563]
31dc8730
AZ
45044 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45045 long double comparison inaccuracies.
45046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45048
6fef930c
AS
450492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45050
45051 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45053
8f203e6c
JM
450542012-05-04 Joseph Myers <joseph@codesourcery.com>
45055
45056 [BZ #14049]
45057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45058 nonzero digits before rounding a hex value.
45059 * stdlib/tst-strtod.c (tests): Add another test.
45060
5197d9c2
AK
450612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45062
45063 * sysdeps/s390/fpu/libm-test-ulps: Update.
45064
f0c1dedf
AJ
450652012-05-03 Andreas Jaeger <aj@suse.de>
45066
45067 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45068 does not get optimized out.
45069 (malloc_opt_barrier): New.
45070
a65ef2ae 450712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45072 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45073
2b942cb7 45074 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45075 intermediate file deletion.
2b942cb7 45076 (generated): Add .symlist files.
a65ef2ae 45077
54b71e02
JM
450782012-05-03 Joseph Myers <joseph@codesourcery.com>
45079
45080 [BZ #13775]
45081 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45082 Redirect under this condition.
45083 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45084 [__USE_GNU] (__dprintf_chk): Not under this condition.
45085 [__USE_GNU] (__vdprintf_chk): Likewise.
45086 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45087 under this condition.
45088 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45089 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45090 [__USE_XOPEN2K8] (vdprintf): Likewise.
45091 [__USE_GNU] (__dprintf_chk): Not under this condition.
45092 [__USE_GNU] (__vdprintf_chk): Likewise.
45093 [__USE_GNU] (dprintf): Likewise.
45094 [__USE_GNU] (vdprintf): Likewise.
45095
d3dfcc41
RM
450962012-05-03 Roland McGrath <roland@hack.frob.com>
45097
45098 * elf/Makefile (common-generated): Set this instead of generated for
45099 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45100 $(all-built-dso)-derived lists.
45101
7ac30cc5
AJ
451022012-05-03 Andreas Jaeger <aj@suse.de>
45103
0c51e550
AJ
45104 * sysdeps/i386/fpu/libm-test-ulps: Update.
45105
7ac30cc5
AJ
45106 * FAQ: Removed.
45107 * FAQ.in: Likewise.
45108 * scripts/gen-FAQ.pl: Likewise.
45109 * manual/install.texi (Installation): Point to online location of
45110 FAQ.
45111 * Makefile (files-for-dist): Remove FAQ.
45112 (FAQ): Remove.
45113
d4c2917f
AM
451142012-05-02 Allan McRae <allan@archlinux.org>
45115
45116 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45117 (LDFLAGS-reldepmod5.so): Likewise.
45118 (LDFLAGS-reldep6mod1.so): Likewise.
45119 (LDFLAGS-reldep6mod4.so): Likewise.
45120 (LDFLAGS-reldep8mod3.so): Likewise.
45121 (LDFLAGS-unload4mod1.so): Likewise.
45122 (LDFLAGS-unload4mod2.so): Likewise.
45123 (LDFLAGS-tst-initorder): Likewise.
45124 (LDFLAGS-tst-initordera2.so): Likewise.
45125 (LDFLAGS-tst-initordera3.so): Likewise.
45126 (LDFLAGS-tst-initordera4.so): Likewise.
45127 (LDFLAGS-tst-initorderb2.so): Likewise.
45128 (LDFLAGS-noload): Likewise.
45129 (LDFLAGS-next): Likewise.
45130 (LDFLAGS-order2mod1.so): Likewise.
45131 (LDFLAGS-order2mod2.so): Likewise.
45132 (LDFLAGS-tst-initorder2): Likewise.
45133 (LDFLAGS-tst-initorder2a.so): Likewise.
45134 (LDFLAGS-tst-initorder2b.so): Likewise.
45135 (LDFLAGS-tst-initorder2c.so): Likewise.
45136 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45137
d77f993f
DM
451382012-05-02 David S. Miller <davem@davemloft.net>
45139
45140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45141
171a70b4
PP
451422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45143
45144 [BZ #14055]
45145 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45146
0be196ad
AJ
451472012-05-02 Andreas Jaeger <aj@suse.de>
45148
45149 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45150 since we manipulate rounding mode.
45151 (CPPFLAGS-test-idouble.c): Likewise.
45152 (CPPFLAGS-test-ifloat.c): Likewise.
45153 (CFLAGS-test-ldouble.c): Likewise.
45154 (CFLAGS-test-double.c): Likewise.
45155 (CFLAGS-test-float.c): Likewise.
45156 (CFLAGS-test-misc.c): Likewise.
45157 (CFLAGS-test-test-fenv.c): Likewise.
45158
4f9d04aa
AZ
451592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45160
2b942cb7
RM
45161 [BZ #2550]
45162 [BZ #2570]
45163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45164 comparisons to determine direction to adjust input.
4f9d04aa 45165
82a79e7d
RM
451662012-05-01 Roland McGrath <roland@hack.frob.com>
45167
f5a01ca9
RM
45168 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45169 output to the target.
45170
90fe4186
RM
45171 * scripts/localplt.awk: New file.
45172 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45173 (check-localplt-CFLAGS): Variable removed.
45174 ($(all-built-dso:=.jmprel)): New static pattern rule.
45175 (generated): Add those targets.
45176 (localplt-built-dso): New variable.
45177 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45178
45179 * elf/check-localplt.c: File removed.
45180
82397ed6
RM
45181 * scripts/check-execstack.awk: New file.
45182 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45183 (check-execstack-CFLAGS): Variable removed.
45184 ($(objpfx)check-execstack.h): Target removed.
45185 ($(objpfx)execstack-default): New target.
45186 (generated): Add that instead of check-execstack.h.
45187 ($(all-built-dso:=.phdr)): New static pattern rule.
45188 (generated): Add those targets.
45189 * elf/check-execstack.c: File removed.
45190
82a79e7d
RM
45191 * scripts/check-textrel.awk: New file.
45192 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45193 (check-textrel-CFLAGS): Variable removed.
45194 (all-built-dso): Use := to define.o
45195 ($(all-built-dso:=.dyn)): New static pattern rule.
45196 (generated): Add those targets.
45197 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45198 * config.make.in (READELF): New substituted variable.
45199 * elf/check-textrel.c: File removed.
45200
62fde54f 452012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45202
615605c9
JM
45203 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45204 allow.
45205 * conform/data/ctype.h-data [C99-based standards] (isblank):
45206 Expect function.
45207 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45208 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45210 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45211 Specify type. Require positive value.
45212 (EILSEQ): Likewise.
45213 (ERANGE): Likewise.
45214 [ISO || POSIX] (EILSEQ): Do not expect.
45215 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45216 Specify type. Require positive value.
45217 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45218 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45219 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45220 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45221 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45222 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45223 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45224 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45225 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45226 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45227 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45228 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45229 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45230 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45231 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45232 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45233 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45234 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45235 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45236 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45237 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45238 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45239 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45240 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45241 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45242 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45243 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45244 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45245 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45246 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45247 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45248 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45249 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45250 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45251 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45252 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45253 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45254 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45255 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45258 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45264 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45265 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45266 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45278 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45283 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45284 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45285 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45286 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45287 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45288 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45289 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45290 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45291 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45292 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45293 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45294 Require >= 2.
45295 (FLT_ROUNDS): Expect as macro, not constant.
45296 (FLT_MANT_DIG): Use macro-int-constant.
45297 (DBL_MANT_DIG): Likewise.
45298 (LDBL_MANT_DIG): Likewise.
45299 (FLT_DIG): Likewise.
45300 (DBL_DIG): Likewise.
45301 (LDBL_DIG): Likewise.
45302 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45303 (DBL_MIN_EXP): Likewise.
45304 (LDBL_MIN_EXP): Likewise.
45305 (FLT_MAX_EXP): Use macro-int-constant.
45306 (DBL_MAX_EXP): Likewise.
45307 (LDBL_MAX_EXP): Likewise.
45308 (FLT_MAX_10_EXP): Likewise.
45309 (DBL_MAX_10_EXP): Likewise.
45310 (LDBL_MAX_10_EXP): Likewise.
45311 (FLT_MAX): Use macro-constant.
45312 (DBL_MAX): Likewise.
45313 (LDBL_MAX): Likewise.
45314 (FLT_EPSILON): Use macro-constant. Give upper bound.
45315 (DBL_EPSILON): Likewise.
45316 (LDBL_EPSILON): Likewise.
45317 (FLT_MIN): Likewise.
45318 (DBL_MIN): Likewise.
45319 (LDBL_MIN): Likewise.
45320 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45321 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45322 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45323 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45324 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45325 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45326 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45327 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45328 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45329 [ISO11] (FLT_TRUE_MIN): Likewise.
45330 [ISO11] (LDBL_TRUE_MIN): Likewise.
45331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45332 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45333 (SCHAR_MIN): Use macro-int-constant. Specify type.
45334 (SCHAR_MAX): Likewise.
45335 (UCHAR_MAX): Likewise.
45336 (CHAR_MIN): Likewise.
45337 (CHAR_MAX): Likewise.
45338 (MB_LEN_MAX): Use macro-int-constant.
45339 (SHRT_MIN): Use macro-int-constant. Specify type.
45340 (SHRT_MAX): Likewise.
45341 (USHRT_MAX): Likewise.
45342 (INT_MAX): Likewise.
45343 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45344 bound negative.
45345 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45346 bound with "U".
45347 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45348 bound with "L".
45349 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45350 bound negative. Suffix upper bound with "L".
45351 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45352 bound with "UL".
45353 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45354 Specify type.
45355 [C99-based standards] (LLONG_MAX): Likewise.
45356 [C99-based standards] (ULLONG_MAX): Likewise.
45357 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45358 == 0.
45359 [ISO11] (max_align_t): Require type.
45360 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45361
c9140a62
JM
45362 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45363 from $CFLAGS, without defining away __attribute__ calls.
45364 (checknamespace): Use $CFLAGS_namespace.
45365
9af0bf29
JM
45366 * conform/conformtest.pl (@keywords): Only include C99 keywords
45367 for standards based on C99 or C11.
45368
343222a2
JM
45369 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45370 Disable tests.
45371 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45372 UNIX98]: Likewise.
45373
661f8cf0
JM
45374 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45375 usability of symbols in #if.
45376
ee74b9cb
JM
45377 * conform/conformtest.pl: If macro or constant types start
45378 "promoted:", expect the symbol to be of the following type
45379 promoted by the integer promotions.
62fde54f 45380
aafc49b3
JM
45381 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45382 in one place. Also handle "macro-constant".
45383
fefdf574
JM
45384 * conform/conformtest.pl: Only accept expected macro values with
45385 "==". Parse all "macro" lines in one place.
45386 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45387
f2d922fe
JM
45388 * conform/conformtest.pl: Handle braced types on "constant" lines
45389 instead of handling "typed-constant".
45390 * conform/data/signal.h-data: Use "constant" instead of
45391 "typed-constant".
45392
d22956c9
JM
45393 * conform/conformtest.pl: Handle "optional-" at start of lines in
45394 one place rather than duplicating several cases. Handle each
45395 format of "macro" line with initial "optional-".
45396
028e2e38
JM
45397 * conform/conformtest.pl: Only accept expected constant or
45398 optional-constant values with "==". Parse all "constant" lines in
45399 one place. Parse all "optional-constant" lines in one place.
45400 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45401 * conform/data/fmtmsg.h-data: Likewise.
45402 * conform/data/netinet/in.h-data: Likewise.
45403 * conform/data/tar.h-data: Likewise.
45404 * conform/data/limits.h-data: Use "==" form on "constant" and
45405 "optional-constant" lines.
45406
1b8f2850
JM
45407 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45408 Use -std=c99 for XOPEN2K.
45409 (@knownproblems): Remove.
45410 (newtoken): Don't check %isknown.
45411
a05a144b
JM
45412 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45413 Do not expect macro.
45414 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45415 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45416 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45417 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45418 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45419 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45420 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45421 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45422 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45423 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45424 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45425 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45426 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45427 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45428 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45429 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45430 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45431 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45432 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45433 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45434 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45438 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45439 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45440 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45441 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45442 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45443 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45444 [XPG3] (acosh): Likewise.
45445 [XPG3] (asinh): Likewise.
45446 [XPG3] (atanh): Likewise.
45447 [XPG3] (cbrt): Likewise.
45448 [XPG3] (expm1): Likewise.
45449 [XPG3] (ilogb): Likewise.
45450 [XPG3] (log1p): Likewise.
45451 [XPG3] (logb): Likewise.
45452 [XPG3] (nextafter): Likewise.
45453 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45454 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45455 [XPG3] (remainder): Likewise.
45456 [XPG3] (rint): Likewise.
45457 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45458 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45459 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45460 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45463 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45464 [UNIX98 || XOPEN2K] (scalb): Expect.
45465 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45466 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45472 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45473 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45476 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45485 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45486 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45487 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45602
73c5ebe3
JM
45603 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45604 _XOPEN_SOURCE_EXTENDED for XPG4.
45605
39c33b6c
JM
45606 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45607
62fde54f
JM
45608 * Makeconfig (localtime): Remove variable.
45609 (inst_localtime-file): Likewise.
45610
0741d64c
AS
456112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45612
45613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45614 Update.
45615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45616 Update.
45617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45618 Update.
45619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45620 Update.
45621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45622 Update.
45623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45624 Update.
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45626 Update.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45628 Update.
45629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45630 Update.
45631
7cb029ee
JM
456322012-05-01 Joseph Myers <joseph@codesourcery.com>
45633
45634 [BZ #2550]
45635 [BZ #2570]
45636 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45637 comparisons to determine direction to adjust input.
45638 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45639 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45641 Likewise.
45642 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45643 Likewise.
45644 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45645 Likewise.
45646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45648 Likewise.
45649 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45650 Likewise.
45651 * math/libm-test.inc (nexttoward_test): Add more tests.
45652
412bd966
AS
456532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45654
45655 [BZ #14040]
45656 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45657 in version GLIBC_2.1, not GLIBC_2.0.
45658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45659 Likewise.
45660
9568c0c2
JM
456612012-04-30 Joseph Myers <joseph@codesourcery.com>
45662
adfbc8ac
JM
45663 [BZ #13942]
45664 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45665 (1 - x) * (1 + x).
45666 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45667 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45668 * math/libm-test.inc (acos_test): Add more tests.
45669 (asin_test): Likewise.
45670 * sysdeps/i386/fpu/libm-test-ulps: Update.
45671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45672
5ba3cc69
JM
45673 [BZ #14034]
45674 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45675 of square root.
45676 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45677 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45678 * math/libm-test.inc (acos_test_tonearest): New function.
45679 (acos_test_towardzero): Likewise.
45680 (acos_test_downward): Likewise.
45681 (acos_test_upward): Likewise.
45682 (asin_test_tonearest): Likewise.
45683 (asin_test_towardzero): Likewise.
45684 (asin_test_downward): Likewise.
45685 (asin_test_upward): Likewise.
45686 (main): Call the new functions.
45687 * sysdeps/i386/fpu/libm-test-ulps: Update.
45688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45689
9568c0c2
JM
45690 [BZ #13884]
45691 [BZ #13924]
45692 * math/e_exp10.c: Include <float.h>.
45693 (__ieee754_exp10): Handle underflow here rather than multiplying
45694 large negative argument by M_LN10.
45695 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45696 of __ieee754_expf.
45697 * math/e_exp10l.c: Include <float.h>.
45698 (__ieee754_exp10l): Handle underflow here rather than multiplying
45699 large negative argument by M_LN10l.
45700 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45701 spurious overflow exception on underflow.
45702
5ac3ea17
MP
457032012-04-29 Marek Polacek <polacek@redhat.com>
45704
45705 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45706 (__fortify_function): New macro.
45707 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45708 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45709 __extern_always_inline.
45710 * libio/bits/stdio2.h: Likewise.
45711 * libio/bits/stdio.h: Likewise.
45712 * string/string.h: Likewise.
45713 * string/bits/string3.h: Likewise.
45714 * include/stdio.h: Likewise.
45715 * stdlib/bits/stdlib.h: Likewise.
45716 * stdlib/stdlib.h: Likewise.
45717 * rt/bits/mqueue2.h: Likewise.
45718 * rt/mqueue.h: Likewise.
45719 * posix/bits/unistd.h: Likewise.
45720 * posix/unistd.h: Likewise.
45721 * io/bits/poll2.h: Likewise.
45722 * io/bits/fcntl2.h: Likewise.
45723 * io/fcntl.h: Likewise.
45724 * io/sys/poll.h: Likewise.
45725 * misc/bits/syslog.h: Likewise.
45726 * misc/bits/syslog-ldbl.h: Likewise.
45727 * misc/sys/syslog.h: Likewise.
45728 * socket/bits/socket2.h: Likewise.
45729 * socket/sys/socket.h: Likewise.
45730 * debug/tst-chk1.c: Likewise.
45731 * wcsmbs/bits/wchar2.h: Likewise.
45732 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45733 * wcsmbs/wchar.h: Likewise.
45734
ecf0ebfb
AJ
457352012-04-29 Andreas Jaeger <aj@suse.de>
45736
45737 * Makerules (tests): Remove enable-check-abi protection.
45738 (check-abi-warn): Remove.
45739 (check-abi-%): Remove check-abi-warn usage.
45740
45741 * configure.in: Remove check-abi configure option.
45742 * configure: Regenerated.
45743 * config.make.in (enable-check-abi): Remove.
45744
6d5c57fa
AS
457452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45746
24c5d07e 45747 [BZ #14033]
ded5180a
AS
45748 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45749 double functions to double *_finite functions.
45750
7e0d315d
AS
45751 [BZ #13941]
45752 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45753 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45754 LDBL_MIN_EXP.
45755 * stdio-common/Makefile (tests): Add tst-sprintf3.
45756 * stdio-common/tst-sprintf3.c: New file.
45757
6d5c57fa
AS
45758 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45759 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45760
0749ff8b
JM
457612012-04-28 Joseph Myers <joseph@codesourcery.com>
45762
45763 * conform/conformtest.pl: Remove duplicate typed-constant
45764 handling.
45765
8dbd5d7b
DM
457662012-04-28 David S. Miller <davem@davemloft.net>
45767
45768 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45769 (check-abi-%): Remove AWK script prerequisite and explicit
45770 abilist directory.
45771 (check-abi): Rewrite to just diff the symlist with the abilist.
45772 (config-tls, config-abi-config): Delete, no longer used.
45773 (update-abi-%): Remove AWK script and explicit abilist directory.
45774 (update-abi): Rewrite to simply compare and conditionally copy the
45775 symlist and the sysdep abilist file. Remove update-abi-config
45776 checks.
45777 * abilist/ld.abilist: Remove.
45778 * abilist/libBrokenLocale.abilist: Remove.
45779 * abilist/libanl.abilist: Remove.
45780 * abilist/libcrypt.abilist: Remove.
45781 * abilist/libdl.abilist: Remove.
45782 * abilist/librt.abilist: Remove.
45783 * abilist/libthread_db.abilist: Remove.
45784 * abilist/libutil.abilist: Remove.
45785 * scripts/extract-abilist.awk: Remove.
45786 * scripts/merge-abilist.awk: Remove.
45787 * sysdeps/generic/libcidn.abilist: New file.
45788 * sysdeps/generic/libnss_compat.abilist: New file.
45789 * sysdeps/generic/libnss_db.abilist: New file.
45790 * sysdeps/generic/libnss_dns.abilist: New file.
45791 * sysdeps/generic/libnss_files.abilist: New file.
45792 * sysdeps/generic/libnss_hesiod.abilist: New file.
45793 * sysdeps/generic/libnss_nis.abilist: New file.
45794 * sysdeps/generic/libnss_nisplus.abilist: New file.
45795 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45796 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45797 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45798 file.
45799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45800 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45801 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45802 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45803 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45804 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45805 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45806 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45807 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45808 file.
45809 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45810 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45811 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45812 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45813 file.
45814 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45815 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45817 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45818 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45819 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45820 file.
45821 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45822 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45823 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45824 file.
45825 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45827 New file.
45828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45829 New file.
45830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45831 New file.
45832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45833 New file.
45834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45835 New file.
45836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45837 New file.
45838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45839 New file.
45840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45841 New file.
45842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45843 New file.
45844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45845 New file.
45846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45847 New file.
45848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45849 New file.
45850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45851 New file.
45852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45853 file.
45854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45855 New file.
45856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45857 New file.
45858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45859 file.
45860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45861 New file.
45862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45863 New file.
45864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45865 file.
45866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45867 New file.
45868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45869 New file.
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45871 New file.
45872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45873 New file.
45874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45875 New file.
45876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45877 New file.
45878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45880 file.
45881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45882 New file.
45883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45884 file.
45885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45886 file.
45887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45888 file.
45889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45890 file.
45891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45892 file.
45893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45894 New file.
45895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45896 file.
45897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45898 file.
45899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45900 New file.
45901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45902 file.
45903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45905 file.
45906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45907 New file.
45908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45909 file.
45910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45911 file.
45912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45913 file.
45914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45915 file.
45916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45917 file.
45918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45919 New file.
45920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45921 file.
45922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45923 file.
45924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45925 New file.
45926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45927 file.
45928 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45929 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45930 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45931 file.
45932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45933 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45934 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45935 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45936 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45937 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45938 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45939 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45940 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45941 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45944 file.
45945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45946 New file.
45947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45948 file.
45949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45950 file.
45951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45952 file.
45953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45954 file.
45955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45956 file.
45957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45958 New file.
45959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45960 New file.
45961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45962 file.
45963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45964 New file.
45965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45966 file.
45967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45969 file.
45970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45971 New file.
45972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45973 file.
45974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45975 file.
45976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45977 file.
45978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45979 file.
45980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45981 file.
45982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45983 New file.
45984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45985 New file.
45986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45987 file.
45988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45989 New file.
45990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45991 file.
45992
41d73a1b
JM
459932012-04-28 Joseph Myers <joseph@codesourcery.com>
45994
45995 * conform/conformtest.pl: Fix typo in handling typed-constant from
45996 allow-header.
45997
28aeeda4
JM
459982012-04-27 Joseph Myers <joseph@codesourcery.com>
45999
adae8f5e
JM
46000 * README: Cut down references to pre-2.6 Linux kernels and
46001 Linuxthreads. Update lists of configurations in libc and ports
46002 and sort alphabetically. Say "or newer" with Linux kernel version
46003 requirements.
46004
28aeeda4
JM
46005 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46006
a462cb63
RA
460072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46008
46009 [BZ #887]
46010 * math/libm-test.inc (logb_test_downward): New test to expose
46011 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46012 rounding mode.
46013
6ad3493e
JM
460142012-04-27 Joseph Myers <joseph@codesourcery.com>
46015
46016 [BZ #14027]
46017 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46018 to be done.
46019 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46020 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46021
2ce4f015
JM
460222012-04-26 Joseph Myers <joseph@codesourcery.com>
46023
5aeb141a
JM
46024 * sysdeps/unix/i386/brk.S: Remove file.
46025 * sysdeps/unix/i386/dl-brk.S: Likewise.
46026 * sysdeps/unix/i386/pipe.S: Likewise.
46027 * sysdeps/unix/i386/sigreturn.S: Likewise.
46028 * sysdeps/unix/i386/syscall.S: Likewise.
46029 * sysdeps/unix/i386/vfork.S: Likewise.
46030 * sysdeps/unix/i386/wait.S: Likewise.
46031
7143acae
JM
46032 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46033 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46034
2ce4f015
JM
46035 * configure.in (arm*-none*): Do not allow without
46036 --enable-hacker-mode.
46037 (netbsd*): Remove case setting base_os.
46038 (386bsd*): Likewise.
46039 (freebsd*): Likewise.
46040 (bsdi*): Likewise.
46041 (osf*): Likewise.
46042 (sunos*): Likewise.
46043 (ultrix*): Likewise.
46044 (newsos*): Likewise.
46045 (dynix*): Likewise.
46046 (*bsd*): Likewise.
46047 (sysv*): Likewise.
46048 (isc*): Likewise.
46049 (esix*): Likewise.
46050 (sco*): Likewise.
46051 (minix*): Likewise.
46052 (irix4*): Likewise.
46053 (irix6*): Likewise.
46054 (solaris[2-9]*): Likewise.
46055 (none): Likewise.
46056 * configure: Regenerated.
46057
0ac229c8
AZ
460582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46059
46060 [BZ #11521]
46061 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46062 overflow or cancellation in calculating denominator.
46063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46065 down expression to avoid unexpected rounding in newer GCCs.
46066 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46067
33f244f4
DM
460682012-04-26 David S. Miller <davem@davemloft.net>
46069
46070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46071 long-double compat symbols.
46072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46085
cfa1f3e8
DM
460862012-04-25 David S. Miller <davem@davemloft.net>
46087
46088 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46089 HWCAP_* values only after the memory barriers have been defined.
46090 (atomic_full_barrier): Define.
46091 (atomic_read_barrier): Define.
46092 (atomic_write_barrier): Define.
46093
6e236b92
SP
460942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46095
46096 * shlib-versions: Add libgcc_s version information.
46097 * sysdeps/generic/libgcc_s.h: Remove.
46098 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46099 libgcc_s.h.
46100 * sysdeps/gnu/unwind-resume.c: Likewise.
46101 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46102
aab39a09
DM
461032012-04-25 David S. Miller <davem@davemloft.net>
46104
46105 * sysdeps/unix/sparc/brk.S: Delete.
46106 * sysdeps/unix/sparc/dl-brk.S: Delete.
46107 * sysdeps/unix/sparc/pipe.S: Delete.
46108 * sysdeps/unix/sparc/sysdep.S: Delete.
46109 * sysdeps/unix/sparc/sysdep.h: Delete.
46110 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46111 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46112 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46114 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46115 (JUMPTARGET): Remove.
46116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46117 sysdeps/unix/sparc/sysdep.h
46118 (ENTRY, END): Remove.
46119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46120
a3cc4f48
JM
461212012-04-25 Joseph Myers <joseph@codesourcery.com>
46122
2ed8cda2
JM
46123 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46124 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46125 -DIS_IN_build.
46126
35d76d59
JM
46127 * timezone/README: Update upstream location and email address for
46128 tzcode and tzdata.
46129 * timezone/zdump.c: Update from tzcode 2012b.
46130 * timezone/zic.c: Likewise.
46131
a3cc4f48
JM
46132 * configure.in (libc_cv_as_needed): Remove test.
46133 * configure: Regenerated.
46134 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46135 conditional definition.
46136 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46137 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46138 * config.make.in (have-as-needed): Remove variable.
46139
ceab42c3
SP
461402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46141 Paul Pluzhnikov <ppluzhnikov@google.com>
46142
46143 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46144 strings correctly.
46145
3ce2865f
CLT
461462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46147
46148 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46149 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46150 * sysdeps/sh/strlen.S: Likewise.
46151
f37e0d68
JM
461522012-04-24 Joseph Myers <joseph@codesourcery.com>
46153
ae186e9a
JM
46154 * sysdeps/unix/fork.S: Remove file.
46155 * sysdeps/unix/i386/fork.S: Likewise.
46156 * sysdeps/unix/sparc/fork.S: Likewise.
46157
b96914af
JM
46158 * sysdeps/unix/system.c: Remove file.
46159 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46160
f37e0d68
JM
46161 * sysdeps/unix/getegid.S: Remove file.
46162 * sysdeps/unix/geteuid.S: Likewise.
46163
87ef29ca
RM
461642012-04-24 Roland McGrath <roland@hack.frob.com>
46165
83bcd236
RM
46166 * scripts/check-localplt.awk: New file.
46167 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46168 of diff.
46169 * scripts/data/localplt-generic.data: Add a comment.
46170
87ef29ca
RM
46171 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46172 NODE when __dir_mkfile failed.
46173 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46174 Reported by Ludovic Courtès <ludo@gnu.org>.
46175
e5a6e567
AJ
461762012-04-24 Andreas Jaeger <aj@suse.de>
46177
46178 * Makerules (common-clean): Also remove gen-as-const-headers
46179 files.
46180
c1820385
JM
461812012-04-24 Joseph Myers <joseph@codesourcery.com>
46182
46183 * Makerules (native-compile): Do not change working directory for
46184 build. Use $(OUTPUT_OPTION) in command.
46185 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46186
94e02fc4
AZ
461872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46188
46189 [BZ #13886]
46190 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46191 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46192 * math/libm-test.inc (floor_test): Add more tests.
46193 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46194
3a533ca3
JM
461952012-04-24 Joseph Myers <joseph@codesourcery.com>
46196
940ab4b3
JM
46197 * sysdeps/unix/getdents.c: Remove file.
46198 * sysdeps/unix/sysv/getdents.c: Likewise.
46199 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46200
90e037bd
JM
46201 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46202 sysdeps/unix/mman/syscalls.list.
46203 (mmap): Likewise.
46204 (mprotect): Likewise.
46205 (msync): Likewise.
46206 (munmap): Likewise.
46207 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46208 * sysdeps/unix/mman/syscalls.list: Remove.
46209 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46210
3a533ca3
JM
46211 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46212 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46213 * configure: Regenerated.
46214 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46215 $(libgcc_s_suffix).
46216 * config.make.in (libgcc_s_suffix): Remove variable.
46217
1ad743de
JM
462182012-04-23 Joseph Myers <joseph@codesourcery.com>
46219
4ad451e2
JM
46220 * sysdeps/unix/sysv/gethostname.c: Move to ...
46221 * sysdeps/posix/gethostname.c: ... here.
46222
5e37ce39
JM
46223 * sysdeps/unix/execve.S: Remove file.
46224
1ad743de
JM
46225 * sysdeps/unix/_exit.S: Remove file.
46226
4e681b5b
AJ
462272012-04-23 Andreas Jaeger <aj@suse.de>
46228
46229 [BZ #13739]
46230 * manual/Makefile: Remove make dist support, there's no
46231 need for a stand-alone documentation tar ball.
46232 (TEXI2DVI): Define always, it's not in Makeconfig.
46233 (dist): Removed.
46234 (tar-it): Removed.
46235 (edition): Removed.
46236 (glibc-doc-$(edition).tar): Removed
46237 (%.Z): Removed.
46238 (%.gz): Removed.
46239 (%.uu): Removed.
46240 (ETAGS): Remove, it's in Makeconfig.
46241 (move-if-change): Remove, it's in Makeconfig.
46242
38686a03 462432012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46244
46245 [BZ #13970]
46246 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46247 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46248 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46249 (strtod_l, strtof_l, strtold_l): Remove __wur.
46250 It is not necessarily an error to ignore strtol's return value.
46251 One can reliably look at the stored endptr to decide whether
46252 the number had valid syntax.
46253
7c0616fa
AJ
462542012-04-21 Andreas Jaeger <aj@suse.de>
46255
803cb6b7 46256 [BZ #13739]
7c0616fa
AJ
46257 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46258
b0fe253f
JM
462592012-04-21 Joseph Myers <joseph@codesourcery.com>
46260
46261 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46262 * sysdeps/unix/sysv/Versions: Remove file.
46263
8280f22d
MT
462642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46265
46266 [BZ #13927]
46267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46268
75ce411f 462692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46270
46271 [BZ #7064]
46272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46273 version from __vm86.
46274
097d59fa
JM
462752012-04-20 Joseph Myers <joseph@codesourcery.com>
46276
a90f3bcb
JM
46277 * sysdeps/unix/common/lxstat.c: Remove file.
46278 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46279
edc7ea78
JM
46280 * sysdeps/unix/sysv/Makefile: Remove file.
46281
cb78c221
JM
46282 * sysdeps/unix/sysv/direct.h: Remove file.
46283
efa6a45f
JM
46284 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46285 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46286 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46287 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46288 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46289 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46290 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46291
9c9f2d0c
JM
46292 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46293
4541c83b
JM
46294 * sysdeps/unix/xmknod.c: Remove file.
46295 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46296
f5d153a0
JM
46297 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46298
aa746595
JM
46299 * sysdeps/unix/sysv/i386/time.S: Remove file.
46300
cce5905e
JM
46301 * sysdeps/unix/fxstat.c: Remove file.
46302 * sysdeps/unix/xstat.c: Likewise.
46303 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46304
37fa3841
JM
46305 * sysdeps/unix/sysv/sigaction.c: Remove file.
46306
ff1962a3
JM
46307 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46308 (sysdep_headers): Remove variable.
46309 [termio.h not in sysdep_headers] (generated): Likewise.
46310 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46311 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46312 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46313 * sysdeps/unix/sysv/tcflow.c: Likewise.
46314 * sysdeps/unix/sysv/tcflush.c: Likewise.
46315 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46316 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46317 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46318 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46319 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46320
e7740d31
JM
46321 * sysdeps/unix/siglist.c: Remove file.
46322
ee06f18b
JM
46323 * sysdeps/unix/getppid.S: Remove file.
46324
097d59fa
JM
46325 * sysdeps/unix/mkdir.c: Remove file.
46326 * sysdeps/unix/rmdir.c: Likewise.
46327
ff3d51ec
AS
463282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46329
46330 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46331 ERR_MAX value.
46332 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46333 errlist-compat value.
46334
50f81fd7
DM
463352012-04-18 David S. Miller <davem@davemloft.net>
46336
46337 * sysdeps/generic/memcopy.h (reg_char): Delete.
46338 * debug/strcat_chk.c: Use char, not reg_char.
46339 * debug/strcpy_chk.c: Likewise.
46340 * debug/strncat_chk.c: Likewise.
46341 * debug/strncpy_chk.c: Likewise.
46342 * string/memchr.c: Likewise.
46343 * string/memrchr.c: Likewise.
46344 * string/rawmemchr.c: Likewise.
46345 * string/strcat.c: Likewise.
46346 * string/strchr.c: Likewise.
46347 * string/strchrnul.c: Likewise.
46348 * string/strcmp.c: Likewise.
46349 * string/strcpy.c: Likewise.
46350 * string/strncat.c: Likewise.
46351 * string/strncmp.c: Likewise.
46352 * string/strncpy.c: Likewise.
46353
8ff41c46
WS
463542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46355
46356 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46357 __builtin_memcopy is called when src and dest ranges are known to not
46358 overlap.
46359
6b652f46
WS
463602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46361
46362 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46363 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46364 fwd_align_merge macro call.
46365 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46366 bwd_align_merge macro call.
46367 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46368
b282631e
WS
463692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46370
46371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46372 bwd_align_merge macros.
46373 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46374 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46376
95aa737c
DM
463772012-04-18 David S. Miller <davem@davemloft.net>
46378
46379 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46380
7a99a614
AJ
463812012-04-18 Andreas Jaeger <aj@suse.de>
46382
46383 [BZ# 6794]
46384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46385 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46386 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46387
46388 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46389 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46390 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46391
46392 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46393 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46394 Adjust for changed ldbl-128 files.
46395
46396 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46397 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46399
e5270c23
DM
464002012-04-17 David S. Miller <davem@davemloft.net>
46401
46402 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46403
fb5e92c9
AS
464042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46405
46406 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46407 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46408 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46409 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46410 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46411 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46412
76da7265
AZ
464132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46414
46415 [BZ #6794]
46416 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46417 * math/libm-test.inc: Add ilogb errno and exception tests.
46418 * math/w_ilogb.c: New file: ilogb wrapper.
46419 * math/w_ilogbf.c: New file: ilogbf wrapper.
46420 * math/w_ilogbl.c: New file: ilogbl wrapper.
46421 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46422 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46423 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46424 exception being thrown with 0.0 as argument.
46425 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46426 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46427 exception being thrown with 0.0 as argument.
46428 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46429 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46430 exception being thrown with 0.0 as argument.
46431 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46432 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46433 exception being thrown with 0.0 as argument.
46434 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46435 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46437 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46439 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46440 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46441 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46442 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46443
0396e69d
PB
464442012-04-17 Petr Baudis <pasky@ucw.cz>
46445
46446 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46447 with altivec.
46448
750b5926
MP
464492012-04-16 Marek Polacek <polacek@redhat.com>
46450
46451 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46452
751728a1
MP
464532012-04-16 Marek Polacek <polacek@redhat.com>
46454
46455 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46456 operands of fdivp instruction.
46457
34a27407
L
464582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46459
46460 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46461 * elf/tst-auditmod3b.c: Likewise.
46462 * elf/tst-auditmod4b.c: Likewise.
46463 * elf/tst-auditmod5b.c: Likewise.
46464 * elf/tst-auditmod6b.c: Likewise.
46465 * elf/tst-auditmod6c.c: Likewise.
46466 * elf/tst-auditmod7b.c: Likewise.
46467 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46468 * sysdeps/x86_64/preconfigure.in: Likewise.
46469 * sysdeps/x86_64/preconfigure: Regenerated.
46470
7e73e17d
L
464712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46472
46473 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46474 __ILP32__.
46475
c7a6ab72
AB
464762012-04-13 Antoine Balestrat <merkil33@gmail.com>
46477
46478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46479 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46480
a9e8e0e0
CL
464812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46482
46483 [BZ #13973]
46484 * locale/iso-639.def: Fix gl language name. Spotted by
46485 Yaron Shahrabani.
46486
ec98af7d
RM
464872012-04-12 Roland McGrath <roland@hack.frob.com>
46488
46489 [BZ #2074]
46490 * libio/libio.h (__io_write_fn): Update comment.
46491
247c3ede
PB
464922012-04-12 Petr Baudis <pasky@ucw.cz>
46493
46494 [BZ #2074]
46495 * stdio.texi (Hook Functions): The user provided writer function
46496 is not allowed to return -1.
46497
55939d6d
DM
464982012-04-11 David S. Miller <davem@davemloft.net>
46499
46500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46501
90020f5a
MF
465022012-04-11 Mike Frysinger <vapier@gentoo.org>
46503
46504 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46505 Add a leading slash to rtkaio.
46506
288f9098
JM
465072012-04-11 Jim Meyering <meyering@redhat.com>
46508
90020f5a
MF
46509 [BZ #11959]
46510 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46511 It is not necessarily an error to ignore fwrite's return
46512 value. One can reliably use ferror to test for errors after
46513 the fact.
288f9098 46514
4be2b570
L
465152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46516
46517 * bits/types.h (__snseconds_t): New type.
46518 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46519
46520 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46522 (__SNSECONDS_T_TYPE): Likewise.
46523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46524 (__SNSECONDS_T_TYPE): Likewise.
46525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46526 (__SNSECONDS_T_TYPE): Likewise.
46527
288f9098 465282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46529
46530 [BZ #2636]
46531 * manual/time.texi (Processor Time): Return type of times is
46532 elapsed real time since an arbitrary point in the past.
46533 (CPU Time): Move CLK_TCK from here...
46534 (Processor Time): ...to here. Correct description.
46535 * manual/conf.texi (Constants for Sysconf): Correct description of
46536 _SC_CLK_TCK.
46537
d7dd4413
DM
465382012-04-10 David S. Miller <davem@davemloft.net>
46539
46540 [BZ #13967]
46541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46542 where the is a gap between DT_REL(A) and DT_JMPREL.
46543
b46068fc
L
465442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46545
46546 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46549
73d65cc3
SP
465502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46551
46552 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46553 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46554 (dl_main): Handle --inhibit-cache.
46555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46556 _dl_inhibit_cache.
46557 * elf/dl-load.c (_dl_map_object): Use it.
46558 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46559
bcc8d661
JM
465602012-04-09 Joseph Myers <joseph@codesourcery.com>
46561
8f9a2fae
JM
46562 [BZ #13872]
46563 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46564 (__ieee754_powl): Saturate large exponents rather than testing for
46565 overflow of y*log2(x).
46566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46567 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46568 exceptions.
46569
bcc8d661
JM
46570 [BZ #11521]
46571 * math/s_ctan.c: Include <float.h>.
46572 (__ctan): Avoid internal overflow or cancellation in calculating
46573 denominator.
46574 * math/s_ctanf.c: Likewise.
46575 * math/s_ctanl.c: Likewise.
46576 * math/s_ctanh.c: Likewise.
46577 * math/s_ctanhf.c: Likewise.
46578 * math/s_ctanhl.c: Likewise.
46579 * math/libm-test.inc (ctan_test): Add more tests.
46580 (ctanh_test): Likewise.
46581 * sysdeps/i386/fpu/libm-test-ulps: Update.
46582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46583
823fbbb4
AJ
465842012-04-09 Andreas Jaeger <aj@suse.de>
46585
03879793
AJ
46586 [BZ #6894]
46587 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46588 is an optional BSD extension.
46589
823fbbb4
AJ
46590 [BZ #10254]
46591 * manual/stdio.texi (Opening Streams): Document additional fopen
46592 parameters.
46593
8de131cb
RM
465942012-04-09 Roland McGrath <roland@hack.frob.com>
46595
46596 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46597 %eax without telling the compiler.
46598
c0ed9d7d
CD
465992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46600
46601 [BZ # 13963]
46602 * manual/install.texi: Use sourceware.org.
46603
c483f6b4
JM
466042012-04-09 Joseph Myers <joseph@codesourcery.com>
46605
d7dd9453
JM
46606 [BZ #13873]
46607 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46608 (__ieee754_pow): Generate overflow and underflow using huge*huge
46609 and tiny*tiny rather than just returning constant infinity or zero
46610 for large exponents.
46611 * math/libm-test.inc (pow_test): Require overflow exceptions for
46612 applicable cases of large exponents.
46613
c483f6b4
JM
46614 [BZ #706]
46615 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46616 (__ieee754_pow): Use iterative multiplication algorithm only for
46617 integer exponents with absolute value below 1024. Check for odd
46618 integer exponents when using algorithm for real exponents.
46619 * math/libm-test.inc (pow_test): Add more tests.
46620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46621
d2de7579
JM
466222012-04-08 Joseph Myers <joseph@codesourcery.com>
46623
46624 [BZ #13705]
46625 * math/libm-test.inc (exp_test): Do not allow overflow exception
46626 on underflow test.
46627
f77f1232
AJ
466282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46629
46630 [BZ #13705]
46631 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46632 instead of __kernel_standard_f.
46633
3884932b
MF
466342012-04-08 Mike Frysinger <vapier@gentoo.org>
46635
46636 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46637 * sysdeps/x86_64/memset_chk.S: Likewise.
46638
54472e9c
AJ
466392012-04-08 Andreas Jaeger <aj@suse.de>
46640
6ab0fbfc
AJ
46641 [BZ #10153]
46642 * manual/startup.texi (Environment Access): Describe return value
46643 for putenv and setenv.
46644
61efba8c
AJ
46645 [BZ #6895]
46646 * manual/filesys.texi (Directory Entries): Add description for
46647 DT_LNK.
46648
95c3f29a
AJ
46649 [BZ #6890]
46650 * manual/filesys.texi (Directory Entries): Clarify that it's file
46651 system not operating system in the description of DT_UNKNOWN.
46652
54472e9c
AJ
46653 [BZ #6578]
46654 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46655
624254b1
SC
466562012-04-08 Stephen Compall <s11@member.fsf.org>
46657
46658 [BZ #6649]
46659 * manual/llio.texi (Opening and Closing Files): Add cross
46660 reference to explain mode argument.
46661
1e4920e0
MF
466622012-04-07 Mike Frysinger <vapier@gentoo.org>
46663
46664 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46665 * sysdeps/x86_64/memset_chk.S: Likewise.
46666
5ed848f3
DM
466672012-04-07 David S. Miller <davem@davemloft.net>
46668
46669 * elf/elf.h (R_SPARC_WDISP10): Define.
46670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46671 R_SPARC_SIZE32.
46672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46673 R_SPARC_SIZE64 and R_SPARC_H34.
46674
96154cd8
CD
466752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46676
46677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46678 conditions and remove no longer applicable assertion.
46679
9904dc47
L
466802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46681
46682 * bits/byteswap.h: Include <features.h>.
46683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46685
f8887d0a
L
466862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46687
46688 * bits/byteswap.h (__bswap_16): Removed.
46689 Include <bits/byteswap-16.h> to get __bswap_16.
46690 * sysdeps/i386/bits/byteswap.h: Likewise.
46691 * sysdeps/s390/bits/byteswap.h: Likewise.
46692 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46693 * bits/byteswap-16.h: New file.
46694 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46695 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46696 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46697 * string/Makefile (headers): Add bits/byteswap-16.h.
46698
62470f60
PP
466992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46700
46701 [BZ #13895]
46702 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46703 extra indirection.
46704 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46705 * nss/tst-nss-static.c: New.
46706
4dad7bab
RM
467072012-04-06 Robert Millan <rmh@gnu.org>
46708
46709 [BZ #6486]
46710 * manual/llio.texi (File Position Primitive): lseek
46711 refers to WHENCE when it really means OFFSET.
46712
e9142a17
AJ
467132012-04-06 Andreas Jaeger <aj@suse.de>
46714
2c040eff
AJ
46715 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46716 strncmp declarations.
46717
e9142a17
AJ
46718 * abilist/libc.abilist: Add __poll and __ppoll.
46719
ff9f1c5f
DM
467202012-04-05 David S. Miller <davem@davemloft.net>
46721
dcd2ae90
DM
46722 * scripts/check-local-headers.sh: Accept a host triplet in the
46723 path matched by the exclude regexp.
46724
993eb054
DM
46725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46726 definition.
46727 * sysdeps/powerpc/powerpc32/dl-machine.h
46728 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46729 * sysdeps/s390/s390-32/dl-machine.h
46730 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46731 * sysdeps/sparc/sparc32/dl-machine.h
46732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46733 * sysdeps/sparc/sparc64/dl-machine.h
46734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46735
ff9f1c5f
DM
46736 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46737 lazy binding.
48e2e132 46738 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46739 undefined symbol errors.
46740
48e2e132 46741 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46742 DT_NEEDED entries.
46743
e80d6f94
MM
467442012-04-05 Michael Matz <matz@suse.de>
46745
46746 [BZ #13592]
46747 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46748
349fa79f
AJ
467492012-04-05 Andreas Jaeger <aj@suse.de>
46750
46751 [BZ #13908]
46752 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46753 comment.
46754
f402708f
KK
467552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46756
46757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46758 which ROUND is no valid rounding mode.
46759
2ecccfc9
KK
467602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46761
46762 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46763 read again.
46764 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46765
8a53f50f
KK
467662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46767
46768 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46769 an exception using FPU order intentionally.
46770
467712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46772
46773 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46774 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46775 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46776 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46777
d653abb7
SJ
467782012-04-05 Simon Josefsson <simon@josefsson.org>
46779
46780 [BZ #12340]
46781 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46782 EINVAL when BUFLEN is too smal.
46783
c3b1bf7d
TS
467842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46785
46786 [BZ #13553]
46787 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46788 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46789
b1aa60f3
AJ
467902012-04-03 Andreas Jaeger <aj@suse.de>
46791
c3b1bf7d 46792 [BZ #13938]
67f60a26
AJ
46793 * manual/setjmp.texi (System V contexts): Fix sentence.
46794
b1aa60f3
AJ
46795 [BZ #13926]
46796 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46797 New macro for this case.
46798 [!__GNUC__] (__bswap_64): New inline function for this case.
46799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46800 * bits/byteswap.h: Likewise.
46801 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46802 ull, guard with __GLIBC_HAVE_LONG_LONG.
46803
46804 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46805 __GLIBC_HAVE_LONG_LONG.
46806
46807 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46808 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46809
39c59c35
TMQMF
468102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46811
46812 [BZ #13691]
46813 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46814 inptr and inend, rather than using last_ch.
46815
135ffda8
DM
468162012-04-02 David S. Miller <davem@davemloft.net>
46817
46818 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46819 * stdio-common/printf-parse.h (read_int): Change return type to
46820 'int', return -1 on INT_MAX overflow.
46821 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46822 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46823 overflows INT_MAX. Check for overflow of in-format-string precision
46824 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46825 SIZE_MAX not INT_MAX for integer overflow test.
46826 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46827 skip the construct in the format string but do not record anything.
46828 * stdio-common/bug22.c: Adjust to test both width/prevision
46829 INT_MAX overflow as well as total length INT_MAX overflow. Check
46830 explicitly for proper errno values.
46831
228c019e
TS
468322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46833
302cadd3
TS
46834 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46835 CHAR_MAX.
46836 * string/test-strcmp.c [! WIDE]: Likewise.
46837 * time/tst-mktime2.c: Likewise for INT_MAX.
46838 * string/test-string.h: #include <sys/param.h> for MIN.
46839
228c019e
TS
46840 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46841 * sysdeps/i386/init-first.c (init): Likewise.
46842 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46843 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46844 * sysdeps/sh/init-first.c (init): Likewise.
46845
cfa633f5
UD
468462012-04-01 Ulrich Drepper <drepper@gmail.com>
46847
46848 * po/ru.po: Update from translation team.
d1635ef8 46849 * po/vi.po: Likewise.
cfa633f5 46850
6cd0a5ea
SP
468512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46852
46853 * resolv/nss_dns/dns-host.c: Merge copyright years.
46854
4b43400f
LD
468552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46856
46857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46858 Optimize memcpy with prefetch if
46859 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46860 src, dst pointers have unequal 16 byte alignments.
46861
48c41d04
SP
468622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46863
46864 [BZ #13928]
46865 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46866 from a CNAME entry and return the minimum ttl for the query.
46867 (gaih_getanswer_slice): Likewise.
46868
b8dc394d
JL
468692012-03-30 Jeff Law <law@redhat.com>
46870
46871 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46872 due to long keys.
46873 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46874 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46875
2f5a5ed0
JL
46876 * resolv/nss_dns/dns-host.c: Update copyright year.
46877
1d39e359
UD
468782012-03-30 Ulrich Drepper <drepper@gmail.com>
46879
c030f70c 46880 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46881 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46882
1d39e359
UD
46883 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46884 comments for sendmmsg.
46885
468862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46887
46888 [BZ #13691]
46889 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46890 with only 1 character between 0x0041 and 0x01b0.
46891 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46892 * wcsmbs/tst-mbsnrtowcs.c: New file.
46893
20fde227
DM
468942012-03-29 David S. Miller <davem@davemloft.net>
46895
46896 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46897 small copies by hand.
46898
984a4237
JL
468992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46900
46901 [BZ #13761]
57f41c40
AS
46902 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46903 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46904 group memberships.
984a4237 46905
18c9d62b
DM
469062012-03-28 David S. Miller <davem@davemloft.net>
46907
88d85d4f
DM
46908 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46909 that branches into memcpy.
46910 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46913 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46915 bits.
46916 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46917 implementation too.
46918 * sysdeps/sparc/mempcpy.S: New file.
46919
e5aa83e1
DM
46920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46921 the IFUNC routine in the libc case.
46922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46923
88570753
DM
46924 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46925 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46926 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46927 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46928 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46929 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46930 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46931 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46932
249d7567
DM
46933 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46934 loop to 256 bytes instead of 64 bytes and fix test signedness.
46935
18c9d62b
DM
46936 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46937 * sysdeps/sparc/sparc32/Makefile: rather than here...
46938 * sysdeps/sparc/sparc64/Makefile: and here.
46939
05f3d1f6
UD
469402012-03-28 Ulrich Drepper <drepper@gmail.com>
46941
46942 * malloc/mallocbug.c: Avoid warnings about unused variables.
46943
86ae07a8
JL
469442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46945
46946 [BZ #13760]
46947 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46948 in the right place. Discard and retry query if response is
46949 larger than input buffer size.
46950
41bf21a1
JM
469512012-03-28 Joseph Myers <joseph@codesourcery.com>
46952
d6270972
JM
46953 [BZ #369]
46954 [BZ #2678]
46955 [BZ #3866]
46956 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46957 x for large integer exponent.
46958 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46959 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46960 sign of result as needed afterwards.
46961 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46963 result for underflowing pow the same as for overflow.
46964 (__kernel_standard_l): Handle powl overflow and underflow here
46965 rather than calling __kernel_standard.
46966 * math/libm-test.inc (pow_test): Add more tests.
46967
414fca03 46968 [BZ #3868]
41bf21a1
JM
46969 [BZ #13879]
46970 [BZ #13910]
46971 [BZ #13911]
46972 [BZ #13912]
46973 [BZ #13913]
46974 [BZ #13915]
46975 [BZ #13916]
46976 [BZ #13917]
46977 [BZ #13918]
46978 [BZ #13919]
46979 [BZ #13920]
46980 [BZ #13921]
46981 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46982 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46983 (__kernel_standard_l): New function.
46984 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46985 __kernel_standard.
46986 * math/w_acosl.c (__acosl): Likewise.
46987 * math/w_asinl.c (__asinl): Likewise.
46988 * math/w_atan2l.c (__atan2l): Likewise.
46989 * math/w_atanhl.c (__atanhl): Likewise.
46990 * math/w_coshl.c (__coshl): Likewise.
46991 * math/w_exp10l.c (__exp10l): Likewise.
46992 * math/w_exp2l.c (__exp2l): Likewise.
46993 * math/w_fmodl.c (__fmodl): Likewise.
46994 * math/w_hypotl.c (__hypotl): Likewise.
46995 * math/w_j0l.c (__j0l, __y0l): Likewise.
46996 * math/w_j1l.c (__j1l, __y1l): Likewise.
46997 * math/w_jnl.c (__jnl, __ynl): Likewise.
46998 * math/w_lgammal.c (__lgammal): Likewise.
46999 * math/w_log10l.c (__log10l): Likewise.
47000 * math/w_log2l.c (__log2l): Likewise.
47001 * math/w_logl.c (__logl): Likewise.
47002 * math/w_powl.c (__powl): Likewise.
47003 * math/w_remainderl.c (__remainderl): Likewise.
47004 * math/w_scalbl.c (sysv_scalbl): Likewise.
47005 * math/w_sinhl.c (__sinhl): Likewise.
47006 * math/w_sqrtl.c (__sqrtl): Likewise.
47007 * math/w_tgammal.c (__tgammal): Likewise.
47008 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47009 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47010 * math/libm-test.inc (acos_test): Add more tests.
47011 (acosh_test): Likewise.
47012 (asin_test): Likewise.
47013 (atanh_test): Likewise.
47014 (exp_test): Likewise.
47015 (exp10_test): Likewise.
47016 (exp2_test): Likewise.
47017 (expm1_test): Likewise.
47018 (lgamma_test): Likewise.
47019 (log_test): Likewise.
47020 (log10_test): Likewise.
47021 (log1p_test): Likewise.
47022 (log2_test): Likewise.
47023 (pow_test): Do not allow some spurious overflow exceptions.
47024 (sqrt_test): Add more tests.
47025 (tgamma_test): Likewise.
47026 (y0_test): Likewise.
47027 (y1_test): Likewise.
47028 (yn_test): Likewise.
47029
dd62fda6
AB
470302012-03-27 Anton Blanchard <anton@samba.org>
47031
47032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47033 MAP_HUGETLB.
47034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47035 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47037
1e3cdfda
AJ
470382012-03-27 David S. Miller <davem@davemloft.net>
47039
b855ab85
DM
47040 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47041
1e3cdfda
AJ
47042 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47043 have-as-vis3 check.
47044
470452012-03-27 Andreas Jaeger <aj@suse.de>
47046
47047 * sysdeps/x86_64/elf/configure.in: Moved to ...
47048 * sysdeps/x86_64/configure.in: ... here.
47049 * sysdeps/x86_64/elf/start.S: Moved to ...
47050 * sysdeps/x86_64/start.S: ... here.
47051 * sysdeps/x86_64/elf/configure: Delete.
47052
47053 * sysdeps/x86_64/configure.in: Merge contents from
47054 sysdeps/i386/configure.in (without i686 check).
47055
47056 * sysdeps/i386/elf/Versions: Merge into ...
47057 * sysdeps/i386/Versions: ... this.
47058 * sysdeps/i386/elf/Versions: Delete file.
47059 * sysdeps/i386/elf/start.S: Moved to ...
47060 * sysdeps/i386/start.S: ...here.
47061 * sysdeps/i386/elf/configure.in: Merge into...
47062 * sysdeps/i386/configure.in: ...here.
47063 * sysdeps/i386/elf/configure.in: Delete file.
47064 * sysdeps/i386/elf/configure: Delete file.
47065
47066 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47067 * debug/backtracesyms.c: ... here.
47068 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47069 * debug/backtracesymsfd.c: ... here.
47070 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47071 * sysdeps/generic/ifunc-sel.h: ... here.
47072
47073 * sysdeps/unix/i386/start.c: Delete file.
47074 * sysdeps/unix/sparc/start.c: Delete file.
47075 * sysdeps/unix/start.c: Delete file.
47076
47077 * sysdeps/sh/elf/configure.in: Moved to ...
47078 * sysdeps/sh/configure.in: ... here.
47079 * sysdeps/sh/elf/start.S: Moved to ...
47080 * sysdeps/sh/start.S: ... here.
47081 * sysdeps/sh/elf/configure: Delete file.
47082
47083 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47084 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47085 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47086 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47087 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47088 * sysdeps/powerpc/powerpc64/start.S: here.
47089 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47090 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47091 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47092 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47093 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47094
47095 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47096 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47097 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47098 * sysdeps/powerpc/powerpc32/start.S: ... here.
47099 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47100 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47101 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47102
47103 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47104 * sysdeps/powerpc/ifunc-sel.h: ... here.
47105 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47106 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47107
47108 * sysdeps/sparc/elf/configure.in: Moved to ...
47109 * sysdeps/sparc/configure.in: ... here.
47110 * sysdeps/sparc/elf/configure: Delete file.
47111 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47112 * sysdeps/sparc/sparc32/start.S: ... here.
47113 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47114 * sysdeps/sparc/sparc64/start.S: ... here.
47115 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47116 * sysdeps/sparc/sparc32/Makefile: ... this.
47117 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47118 * sysdeps/sparc/sparc64/Makefile: ... this.
47119
47120 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47121 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47122 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47123 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47124 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47125 * sysdeps/s390/s390-32/setjmp.S: ... here.
47126 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47127 * sysdeps/s390/s390-32/configure.in: ... here.
47128 * sysdeps/s390/s390-32/elf/configure: Delete file.
47129 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47130 * sysdeps/s390/s390-32/start.S: ... here.
47131
47132 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47133 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47134 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47135 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47136 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47137 * sysdeps/s390/s390-64/setjmp.S: ... here.
47138 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47139 * sysdeps/s390/s390-64/configure.in: ... here
47140 * sysdeps/s390/s390-64/elf/configure: Delete file.
47141 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47142 * sysdeps/s390/s390-64/start.S: ... here.
47143 * sysdeps/s390/s390-64/elf/configure: Delete.
47144
47145 * configure.in: Remove support for elf directories in sysdeps.
47146
47147 * configure: Regenerated.
47148 * sysdeps/i386/configure: Regenerated.
47149 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47150 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47151 * sysdeps/s390/s390-32/configure: Regenerated.
47152 * sysdeps/s390/s390-64/configure: Regenerated.
47153 * sysdeps/sh/configure: Regenerated.
47154 * sysdeps/sparc/configure: Regenerated.
47155 * sysdeps/x86_64/configure: Regenerated.
47156
a3f61311
AS
471572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47158
c876e002
AS
47159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47160
a3f61311
AS
47161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47162 denormal result into account.
47163
ac4c54f0
RM
471642012-03-25 Roland McGrath <roland@hack.frob.com>
47165
47166 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47167 Reported by Allan McRae <allan@archlinux.org>.
47168
6a9b9c02
JL
471692012-03-23 Jeff Law <law@redhat.com>
47170
47171 * nss/getnssent.c (__nss_getent): Fix typo.
47172
4c42a0c1
DM
471732012-03-23 David S. Miller <davem@davemloft.net>
47174
47175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47176
1532c7ac
L
471772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47178
47179 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47180 to pad to uint64_t for each field.
47181 (dl_tls_index): Replace unsigned long with uint64_t.
47182
3ff42526
PP
471832012-03-23 Daniel Jacobowitz <dmj@google.com>
47184 Paul Pluzhnikov <ppluzhnikov@google.com>
47185
47186 [BZ #6528]
47187 * grp/Makefile (otherlibs): Don't set it.
47188 * inet/Makefile (otherlibs): Likewise.
47189 * login/Makefile (otherlibs): Likewise.
47190 * nscd/Makefile (otherlibs): Likewise.
47191 * posix/Makefile (otherlibs): Likewise.
47192 * pwd/Makefile (otherlibs): Likewise.
47193 * rt/Makefile (otherlibs): Likewise.
47194 * sunrpc/Makefile (otherlibs): Likewise.
47195 * nss/Makefile (otherlibs): Likewise.
47196 Add libnss_files to routines and static-only-routines.
47197 ($(objpfx)getent): Remove rule.
47198 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47199 static-only-routines.
47200
7c69cd14
JM
472012012-03-22 Joseph Myers <joseph@codesourcery.com>
47202
47203 [BZ #13892]
47204 * math/s_cexp.c: Include <float.h>.
47205 (__cexp): Handle exp result overflowing not necessarily
47206 overflowing both real and imaginary parts of result.
47207 * math/s_cexpf.c: Likewise.
47208 * math/s_cexpl.c: Likewise.
47209 * math/libm-test.inc (cexp_test): Add more tests.
47210 * sysdeps/i386/fpu/libm-test-ulps: Update.
47211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47212
81b035fe
L
472132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47214
47215 * include/link.h (ELFW): New macro.
47216 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47217 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47218
1da7940c
L
472192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47220
47221 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47222 with uint64_t.
47223
b749dbb9
L
472242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47225
47226 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47227 declaration.
47228 (struct La_x32_retval): Likewise.
47229
2ff87f3f
L
472302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47231
47232 * sysdeps/x86_64/preconfigure.in: New file.
47233 * sysdeps/x86_64/preconfigure: New generated file.
47234
c0df8e69
JM
472352012-03-22 Joseph Myers <joseph@codesourcery.com>
47236
48e44791
JM
47237 [BZ #13824]
47238 * math/e_exp2l.c: Include <float.h>.
47239 (__ieee754_exp2l): Handle overflow and underflow cases
47240 separately. Only pass fractional part of argument to
47241 __ieee754_expl.
47242 * math/libm-test.inc (exp2_test): Add more tests.
47243
c0df8e69
JM
47244 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47245 negating x to take absolute value.
47246 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47247 Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47250 Likewise.
47251 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47252 computing low part if x was negated.
47253 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47254
c8e43ba7
L
472552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47256
47257 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47258 la_x32_gnu_pltexit.
47259 (pltexit): Cast int_retval to ptrdiff_t.
47260 * elf/tst-auditmod3b.c: Likewise.
47261 * elf/tst-auditmod4b.c: Likewise.
47262 * elf/tst-auditmod5b.c: Likewise.
47263 * elf/tst-auditmod6b.c: Likewise.
47264 * elf/tst-auditmod6c.c: Likewise.
47265 * elf/tst-auditmod7b.c: Likewise.
47266
47267 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47268 and x32_gnu_pltexit.
47269
47270 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47271 __ELF_NATIVE_CLASS.
47272 (La_x32_regs): New macro.
47273 (La_x32_retval): Likewise.
47274 (la_x32_gnu_pltenter): New function prototype.
47275 (la_x32_gnu_pltexit): Likewise.
47276
7998fa78
AS
472772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47278
dcb33988
AS
47279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47280 exponent.
47281
233fc563
AS
47282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47283
7998fa78
AS
47284 * configure.in (libc_cv_cc_nofma): Check for option to disable
47285 generation of FMA instructions.
47286 * configure: Regenerate.
47287 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47288 * sysdeps/ieee754/dbl-64/Makefile: New file.
47289 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47290 Remove brandred-fma4.
47291 (CFLAGS-brandred-fma4.c): Remove.
47292 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47293 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47294 define.
47295 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47296 define.
47297
8e95c99a
L
472982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47299
47300 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47301 LLONG_MAX != LONG_MAX.
47302 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47303 (_fitoa_word): Likewise.
47304 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47305 LLONG_MAX != LONG_MAX.
47306 * stdio-common/_itowa.h: Include <_itoa.h>.
47307 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47308 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47309 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47310 only if not defined.
47311 (_ITOA_WORD_TYPE): Likewise.
47312 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47313 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47314
6f4db457
DM
473152012-03-21 David S. Miller <davem@davemloft.net>
47316
47317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47318
7785fe5a
L
473192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47320
47321 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47322 of x86_64 when setting libc_cv_slibdir, libdir and
47323 libc_cv_localedir.
47324 * sysdeps/unix/sysv/linux/configure: Regenerated.
47325
4535cd55
JM
473262012-03-21 Joseph Myers <joseph@codesourcery.com>
47327
47328 * manual/lang.texi (Old Varargs): Remove section.
47329 (How Variadic): Update menu.
47330 (va_start): Do not mention varargs.h.
47331
17228132
TS
473322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47333 Joseph Myers <joseph@codesourcery.com>
47334
47335 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47336 link test.
47337 * configure: Regenerated.
47338
8149f976
TS
473392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47340
05f3d1f6
UD
47341 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47342 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47343 conformtest.pl
8149f976 47344
1a4ac776
JM
473452012-03-21 Joseph Myers <joseph@codesourcery.com>
47346
be22ce65
JM
47347 * NOTES: Remove.
47348 * Makefile (files-for-dist): Remove NOTES.
47349 (NOTES): Remove rule.
47350 * README: Don't refer to NOTES.
47351 * manual/creature.texi: Don't include macros.texi.
47352 * manual/intro.texi (creature.texi): Remove comment referring to
47353 NOTES.
47354
40b601fb
JM
47355 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47356 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47357 * configure: Regenerated.
47358 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47359 LIBC_TRY_CC_OPTION.
47360 (libc_cv_as_i686): Likewise.
47361 (libc_cv_cc_avx): Likewise.
47362 (libc_cv_cc_sse2avx): Likewise.
47363 (libc_cv_cc_fma4): Likewise.
47364 (libc_cv_cc_novzeroupper): Likewise.
47365 * sysdeps/i386/configure: Regenerated.
47366
1a4ac776
JM
47367 [BZ #13883]
47368 * sysdeps/i386/fpu/s_cexp.S: Remove.
47369 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47370 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47371 * math/libm-test.inc (cexp_test): Add more tests.
47372 * sysdeps/i386/fpu/libm-test-ulps: Update.
47373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47374
a458e7fe
AM
473752012-03-21 Allan McRae <allan@archlinux.org>
47376
47377 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47378
0cb7efc5
JM
473792012-03-21 Joseph Myers <joseph@codesourcery.com>
47380
47381 [BZ #13871]
47382 * math/w_exp2.c: Do not include <float.h>.
47383 (o_threshold, u_threshold): Remove.
47384 (__exp2): Calculate result before checking finiteness and calling
47385 __kernel_standard.
47386 * math/w_exp2f.c: Likewise.
47387 * math/w_exp2l.c: Likewise.
47388 * math/libm-test.inc (exp2_test): Require overflow exception for
47389 1e6 input.
2460d3aa
JM
47390
47391 [BZ #3866]
47392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47393 range of signed 64-bit integers before using fistpll. Remove
47394 checks for whether integers fit in mantissa bits.
47395 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47396 the range of signed 32-bit integers before using fistpl. Remove
47397 checks for whether integers fit in mantissa bits.
47398 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47399 (__ieee754_powl): Test for y outside the range of signed 64-bit
47400 integers before using fistpll. Reduce 64-bit values to 63-bit
47401 ones as needed.
47402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47403 divide-by-zero is raised for zero to large negative powers.
47404 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47405 (__ieee754_powl): Test for y outside the range of signed 64-bit
47406 integers before using fistpll. Reduce 64-bit values to 63-bit
47407 ones as needed.
47408 * math/libm-test.inc (pow_test): Add more tests.
47409
eb96ffb0
L
474102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47411
47412 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47413 <stdio-common/_itoa.h>.
47414 * debug/segfault.c: Likewise.
47415 * elf/dl-cache.c: Likewise.
47416 * elf/dl-minimal.c: Likewise.
47417 * elf/dl-misc.c: Likewise.
47418 * elf/dl-sysdep.c: Likewise.
47419 * elf/dl-version.c: Likewise.
47420 * elf/rtld.c: Likewise.
47421 * hurd/hurdsock.c: Likewise.
47422 * hurd/lookup-retry.c: Likewise.
47423 * malloc/malloc.c: Likewise.
47424 * malloc/mtrace.c: Likewise.
47425 * nscd/nscd_getgr_r.c: Likewise.
47426 * nscd/nscd_getpw_r.c: Likewise.
47427 * nscd/nscd_getserv_r.c: Likewise.
47428 * posix/getopt_init.c: Likewise.
47429 * posix/wordexp.c: Likewise.
47430 * stdio-common/_itoa.c: Likewise.
47431 * stdio-common/printf_fphex.c: Likewise.
47432 * stdio-common/vfprintf.c: Likewise.
47433 * string/_strerror.c: Likewise.
47434 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47435 * sysdeps/i386/i686/hp-timing.h: Likewise.
47436 * sysdeps/mach/_strerror.c: Likewise.
47437 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47438 * sysdeps/mach/hurd/sethostid.c: Likewise.
47439 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47440 * sysdeps/mach/xpg-strerror.c: Likewise.
47441 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47443 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47444 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47445 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47446 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47447 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47448 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47449 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47450 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47451 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47452 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47453 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47454 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47455 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47456 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47457 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47458 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47459 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47460 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47461 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47462
47463 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47464
47465 * stdio-common/_itoa.h: Moved to ...
47466 * sysdeps/generic/_itoa.h: Here.
47467
47468 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47469
47470 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47471 instead of "_itoa.h" and "_itowa.h".
47472 * stdio-common/vfprintf.: Likewise.
47473
d1af992d
L
474742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47475
47476 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47477 <bits/wordsize.h>.
47478 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47479 (__signbit): Likwise.
47480 (llrintf): Likwise.
47481 (llrint): Likwise.
47482
114883e0
L
474832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47484
47485 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47486 __WORDSIZE != 64.
47487
c135cc1b
JM
474882012-03-20 Joseph Myers <joseph@codesourcery.com>
47489
47490 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47491 OVERFLOW_EXCEPTION_OK.
47492 * math/libm-test.inc ("Philosophy"): Update comment about
47493 exception testing.
47494 (OVERFLOW_EXCEPTION): Define.
47495 (OVERFLOW_EXCEPTION_OK): Likewise.
47496 (INVALID_EXCEPTION_OK): Renumber.
47497 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47498 (IGNORE_ZERO_INF_SIGN): Likewise.
47499 (test_exceptions): Handle FE_OVERFLOW.
47500 (exp10_test): Expect overflow exceptions.
47501 (exp2_test): Likewise.
47502 (expm1_test): Likewise.
47503 (nextafter_test): Likewise.
47504 (pow_test): Likewise.
47505 (scalbn_test): Likewise.
47506 (scalbln_test): Likewise.
47507
95443d88
L
475082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47509
47510 * sysdeps/x86_64/bits/atomic.h
47511 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47512 64bit integer.
47513 (atomic_exchange_acq): Likewise.
47514 (__arch_exchange_and_add_body): Likewise.
47515 (__arch_add_body): Likewise.
47516 (atomic_add_negative): Likewise.
47517 (atomic_add_zero): Likewise.
47518
490df6c4
L
475192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47520
c2722551 47521 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47522 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47523
5e52b189
L
475242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47525
47526 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47527 Check __x86_64__ instead of __WORDSIZE.
47528
a9879d4c
L
475292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47530
47531 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47532
5df98260
DM
475332012-03-19 David S. Miller <davem@davemloft.net>
47534
e1497744
DM
47535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47536
5df98260
DM
47537 * sysdeps/sparc/fpu/fenv_private.h: New file.
47538 * sysdeps/sparc/fpu/math_private.h: Use it.
47539 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47540 Remove.
57f41c40 47541 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47542 (libc_feholdexcept_setroundl): Remove.
47543 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47544 Remove.
47545 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47546 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47547
b4c35121
L
475482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47549
47550 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47551 int64_t instead of long int.
47552 (INSERT_WORDS64): Likwise.
47553
56965fd7
L
475542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47555
47556 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47557 _Unwind_GetCFA return to _Unwind_Ptr first.
47558
83d1aec8
JM
475592012-03-19 Joseph Myers <joseph@codesourcery.com>
47560
1897ad44
JM
47561 [BZ #13629]
47562 * math/s_clog.c: Include <float.h>.
47563 (__clog): Scale large or subnormal inputs.
47564 * math/s_clogf.c: Likewise.
47565 * math/s_clogl.c: Likewise.
47566 * math/s_clog10.c: Include <float.h>.
47567 (M_LOG10_2): Define.
47568 (__clog10): Scale large or subnormal inputs.
47569 * math/s_clog10f.c: Likewise.
47570 * math/s_clog10l.c: Likewise.
47571 * math/libm-test.inc (clog_test): Add more tests.
47572 (clog10_test): Likewise.
47573 * sysdeps/i386/fpu/libm-test-ulps: Update.
47574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47575
7726d6a9
JM
47576 [BZ #11451]
47577 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47578 x and y.
47579 * math/libm-test.inc (atan2_test): Add another test.
47580
83d1aec8
JM
47581 * Makerules (common-objdir-compile): Remove.
47582 * sysdeps/unix/Makefile (config-generated): Do not add
47583 $(unix-generated) to variable.
47584 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47585 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47586 Remove rule.
47587 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47588 Likewise.
47589 [generic bits/local_lim.h] (before-compile): Do not append to
47590 variable.
47591 [generic bits/local_lim.h] (common-generated): Likewise.
47592 [generic sys/param.h] (before-compile): Do not append to variable.
47593 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47594 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47595 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47596 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47597 include.
47598 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47599 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47600 [generic sys/param.h] ($(addprefix
47601 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47602 [generic sys/param.h] (common-generated): Do not append to
47603 variable.
47604 [generic sys/param.h] (sysdep_headers): Likewise.
47605 [generic bits/errno.h] (before-compile): Do not append to
47606 variable.
47607 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47608 rule.
47609 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47610 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47611 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47612 [generic bits/errno.h] (common-generated): Do not append to
47613 variable.
47614 [generic bits/ioctls.h] (before-compile): Do not append to
47615 variable.
47616 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47617 rule.
47618 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47619 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47620 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47621 rule.
47622 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47623 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47624 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47625 [generic bits/ioctls.h] (common-generated): Do not append to
47626 variable.
47627 [generic sys/syscall.h] (syscall.h): Remove variable.
47628 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47629 rule.
47630 [generic sys/syscall.h] (before-compile): Do not append to
47631 variable.
47632 [generic sys/syscall.h] (common-generated): Likewise.
47633 * sysdeps/unix/errnos-tmpl.c: Remove file.
47634 * sysdeps/unix/errnos.awk: Likewise.
47635 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47636 * sysdeps/unix/ioctls.awk: Likewise.
47637 * sysdeps/unix/mk-local_lim.c: Likewise.
47638 * sysdeps/unix/snarf-ioctls: Likewise.
47639
4851a949
RH
476402012-03-19 Richard Henderson <rth@twiddle.net>
47641
bd37f2ee
RH
47642 * sysdeps/i386/fpu/fenv_private.h: New file.
47643 * sysdeps/i386/fpu/math_private.h: Use it.
47644 (math_opt_barrier, math_force_eval): Remove.
47645 (libc_feholdexcept_setround_53bit): Remove.
47646 (libc_feupdateenv_53bit): Remove.
47647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47648 (math_opt_barrier, math_force_eval): Remove.
47649 (libc_feholdexcept): Remove.
47650 (libc_feholdexcept_setround): Remove.
47651 (libc_fetestexcept, libc_fesetenv): Remove.
47652 (libc_feupdateenv_test): Remove.
47653 (libc_feupdateenv, libc_feholdsetround): Remove.
47654 (libc_feresetround): Remove.
47655
d0adc922
RH
47656 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47657 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47658
0fe0f1f8
RH
47659 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47660 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47661 (libc_feupdateenv_testl): New.
47662 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47663 (libc_feupdateenv_testf): New.
47664 (libc_feupdateenv): Use libc_feupdateenv_test.
47665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47666 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47667
eb92c487
RH
47668 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47669 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47670 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47671 (libc_feresetround_noex): New.
47672 (libc_feresetround_noexf): New.
47673 (libc_feresetround_noexl): New.
47674 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47675 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47676 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47677 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47678 SET_RESTORE_ROUND.
47679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47681 (__cos): Likewise.
47682 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47683 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47684 SET_RESTORE_ROUND_NOEX.
47685 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47686 SET_RESTORE_ROUND_NOEXF.
47687 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47688 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47689 (libc_feholdsetroundf): New.
47690 (libc_feresetround, libc_feresetroundf): New.
47691
7d2e8012
RH
47692 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47693 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47694 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47695
b4dabbb4
RH
47696 * sysdeps/generic/math_private.h: Include <fenv.h>.
47697 (default_libc_feholdexcept): New.
47698 (default_libc_feholdexcept_setround): New.
47699 (default_libc_fesetenv, default_libc_feupdateenv): New.
47700 (libc_feholdexcept): Only define if undefined.
47701 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47702 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47703 (libc_feholdexcept_setroundl): Likewise.
47704 (libc_feholdexcept_setround_53bit): Likewise.
47705 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47706 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47707 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47708 (libc_feupdateenv_53bit): Likewise.
47709 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47710 (libc_feholdexcept): Convert from macro to inline function.
47711 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47712 (libc_fesetenv, libc_feupdateenv): Likewise.
47713
4851a949
RH
47714 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47715 not previously defined.
47716 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47717 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47718 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47719 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47720 * sysdeps/ieee754/flt-32/math_private.h: New file.
47721 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47722 math_private.h below SET_FLOAT_WORD.
47723 (__isnan, __isinf_ns, __finite): Remove.
47724 (__isnanf, __isinf_nsf, __finitef): Remove.
47725
e79d442e
AS
477262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47727
47728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47729
90b80344
DM
477302012-03-17 David S. Miller <davem@davemloft.net>
47731
47732 [BZ #6471]
47733 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47734 for 2.16.
47735
edc21804
DM
477362012-03-16 David S. Miller <davem@davemloft.net>
47737
77e927af
DM
47738 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47739 warnings.
47740
374976dd
DM
47741 [BZ #6471]
47742 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47743 properly.
47744 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47745 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47746 sysdep_routines when subdir is sysvipc.
47747 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47748 __getshmlba helper.
47749
edc21804
DM
47750 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47751
473c3ef3
L
477522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47753
47754 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47755 [__LP64__].
47756
eb0f39b6
L
477572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47758
47759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47760 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47761 (__lround): Renamed to ...
47762 (__llround): This. Replace long int with long long int.
47763 Define lround functions as aliases of llround functions.
47764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47765
6b6cd74b
L
477662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47767
47768 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47769 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47770 adresses to uintptr_t. Replace "long int" and "unsigned long
47771 int" with "greg_t" on va_arg.
47772
f1a77b01
L
477732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47774
47775 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47776 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47777
47778 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47779 Move e_machine check before EI_CLASS check. Handle x32
47780 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47781 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47782 SKIP_EM_IA_64 and include
47783 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47784
47785 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47786 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47787 (add_system_dir): New macro.
47788
47789 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47790 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47791
11b90b9f
JM
477922012-03-16 Joseph Myers <joseph@codesourcery.com>
47793
c36e1d23
JM
47794 [BZ #2551]
47795 [BZ #2552]
47796 [BZ #2553]
47797 [BZ #2554]
47798 [BZ #2562]
47799 [BZ #2563]
47800 [BZ #2565]
47801 [BZ #2566]
47802 [BZ #2576]
47803 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47804 (y0): Likewise.
47805 * math/w_j0f.c (j0f): Likewise.
47806 (y0f): Likewise.
47807 * math/w_j0l.c (__j0l): Likewise.
47808 (__y0l): Likewise.
47809 * math/w_j1.c (j1): Likewise.
47810 (y1): Likewise.
47811 * math/w_j1f.c (j1f): Likewise.
47812 (y1f): Likewise.
47813 * math/w_j1l.c (__j1l): Likewise.
47814 (__y1l): Likewise.
47815 * math/w_jn.c (jn): Likewise.
47816 (yn): Likewise.
47817 * math/w_jnf.c (jnf): Likewise.
47818 (ynf): Likewise.
47819 * math/w_jnl.c (__jnl): Likewise.
47820 (__ynl): Likewise.
47821 * math/libm-test.inc (j0_test): Add more tests.
47822 (j1_test): Likewise.
47823 (jn_test): Likewise. Add trailing semicolon to existing test.
47824 (y0_test): Likewise.
47825 (y1_test): Likewise.
47826 * sysdeps/i386/fpu/libm-test-ulps: Update.
47827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47828
11b90b9f
JM
47829 [BZ #13851]
47830 [BZ #13854]
47831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47832 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47833 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47834 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47835 (__tanl): Set errno for infinite argument.
47836 * sysdeps/i386/fpu/mptan.c: Remove.
47837 * sysdeps/i386/fpu/s_tan.S: Likewise.
47838 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47839 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47840 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47841 * math/libm-test.inc (tan_test): Add more tests and enable more
47842 tests for double and long double.
47843 * sysdeps/i386/fpu/libm-test-ulps: Update.
47844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47845
6a1bd2a1
JK
478462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47847
47848 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47849 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47850
10a803e0
RM
478512012-03-16 Roland McGrath <roland@hack.frob.com>
47852
47853 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47854 * configure.in: Use it for both main tree and add-ons.
47855 * configure: Regenerated.
47856
f196c7f7
L
478572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47858
47859 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47860
8848d99d
JM
478612012-03-16 Joseph Myers <joseph@codesourcery.com>
47862
96cbe7f4
JM
47863 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47864 in comment.
47865
8848d99d
JM
47866 [BZ #13851]
47867 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47868 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47869 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47870 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47871 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47872 infinite argument.
47873 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47875 != 0 for prec == 2.
47876 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47877 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47878 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47879 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47880 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47881 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47882 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47883 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47884 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47885 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47886 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47887 * math/libm-test.inc (cos_test): Add more tests and enable more
47888 tests for long double.
47889 (sin_test): Likewise.
47890 (sincos_test): Likewise.
47891 * sysdeps/i386/fpu/libm-test-ulps: Update.
47892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47893
dd7f4703
DM
478942012-03-16 David S. Miller <davem@davemloft.net>
47895
47896 * sysdeps/sparc/fpu/math_private.h: New file.
47897
006f1daa
DM
478982012-03-15 David S. Miller <davem@davemloft.net>
47899
c0c83bc8
DM
47900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47901 file.
e6a62e18 47902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47904 file.
e6a62e18
DM
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47911 sysdep routines.
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47913
88cb87d9
DM
47914 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47915 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47916
006f1daa 47917 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47919 sparc-ifunc.h
006f1daa 47920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47922 Likewise.
47923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47924 Likewise.
006f1daa
DM
47925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47929 Likewise.
006f1daa
DM
47930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47935 Likewise.
47936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47937 Likewise.
006f1daa
DM
47938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47962
11e0098e
AS
479632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47964
47965 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47966 scaling.
47967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47968
e85b09d0
AJ
479692012-03-15 Andreas Jaeger <aj@suse.de>
47970
47971 [BZ #13852]
47972 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47973 ieee754/flt-32 implementation for sin, cos and sincos.
47974 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47975 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47976 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47977 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47978 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47979 ieee754/flt-32 implementation for tan.
47980
47981 * math/libm-test.inc (cos_test): Enable some large input tests for
47982 float as well
47983 (sin_test): Likewise.
47984 (sincos_test): Likewise.
47985 (tan_test): Add tests for large input.
47986
47987 * sysdeps/i386/fpu/libm-test-ulps: Update.
47988
81c64153
AJ
479892012-03-15 Andreas Jaeger <aj@suse.de>
47990
47991 [BZ #13658]
47992 * math/libm-test.inc (cos_test): Add more test cases.
47993 (sin_test): Likewise.
47994 (sincos_test): Likewise.
47995
7bbfa5c6
AJ
479962012-03-15 Andreas Jaeger <aj@suse.de>
47997
47998 [BZ #13837]
47999 * math/libm-test.inc (cos_test): Add a test case for large input
48000 value.
48001 (sin_test): Likewise.
48002 (sincos_test): Likewise.
48003
57f41c40
AS
480042012-03-15 Andreas Jaeger <aj@suse.de>
48005 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48006
48007 [BZ #13658]
0671f479 48008 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48009 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48010 * sysdeps/i386/fpu/branred.c: Likewise.
48011 * sysdeps/i386/fpu/dosincos.c: Likewise.
48012 * sysdeps/i386/fpu/mpa.c: Likewise.
48013 * sysdeps/i386/fpu/s_cos.S: Likewise.
48014 * sysdeps/i386/fpu/s_sin.S: Likewise.
48015 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48016 * sysdeps/i386/fpu/sincos32.c: Likewise.
48017
48018 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48019 Define.
48020 (libc_feupdateenv_53bit): Define.
48021 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48022 Define.
48023 (libc_feupdateenv_53bit): Define.
48024
48025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48026 53 bit (without extend i386 double precision).
48027
48028 * math/libm-test.inc (sincos_test): Add tests for large input.
48029 (sin): Likewise.
48030 (cos): Likewise.
48031
48032 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48033
9cad04ea
AS
480342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48035
48036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48037
f7062b9a
DM
480382012-03-15 David S. Miller <davem@davemloft.net>
48039
48040 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48041 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48042 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48043 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48056 file.
f7062b9a 48057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48059 file.
f7062b9a 48060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48062 file.
f7062b9a 48063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48065 file.
f7062b9a
DM
48066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48068 fmin/fmax sysdep routines.
48069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48070
7bd951ff
DM
480712012-03-14 David S. Miller <davem@davemloft.net>
48072
559398ab
DM
48073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48102 routines.
48103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48104 file.
559398ab 48105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48107 file.
559398ab 48108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48110 file.
559398ab 48111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48113 file.
559398ab 48114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48116 file.
559398ab 48117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48119 file.
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48121 file.
48122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48123 file.
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48125 file.
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48127 New file.
48128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48129 file.
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48131 file.
559398ab 48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48134 file.
559398ab 48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48137 file.
559398ab 48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48140 file.
559398ab 48141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48143 VIS3 routines.
559398ab
DM
48144
48145 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48146 New file.
48147
5a1c1e32
DM
48148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48149
eae47a36
DM
48150 * sysdeps/sparc/configure.in: New file.
48151 * sysdeps/sparc/configure: Generate.
48152 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48153 * configure: Regenerate.
48154 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48155 * config.make.in (have-as-vis3): New.
48156 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48157 available use -Av9d instead of -Av9a.
48158 * sysdeps/sparc/sparc64/Makefile: Likewise.
48159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48161 New file.
48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48163 file.
48164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48165 New file.
48166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48167 file.
eae47a36
DM
48168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48173
c0c83bc8
DM
48174 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48175 fzeros/fnegs to load 0x80000000 into a float register instead of
48176 using the stack.
7bd951ff
DM
48177 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48178
bd951ccb
JM
481792012-03-14 Joseph Myers <joseph@codesourcery.com>
48180
48181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48182 bits/syscall.h.
48183 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48184 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48185 ($(inst_includedir)/bits/syscall.h): Remove rule.
48186 ($(objpfx)bits/syscall.d): Include instead of
48187 $(objpfx)syscall-list.d.
48188 (generated): Change syscall-list.h and syscall-list.d to
48189 bits/syscall.h and bits/syscall.d.
48190
bb4e6db2
RM
481912012-03-14 Roland McGrath <roland@hack.frob.com>
48192
48193 [BZ #13846]
48194 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48195
aa4a2ae1
JM
481962012-03-14 Joseph Myers <joseph@codesourcery.com>
48197
e456826d
JM
48198 [BZ #13841]
48199 * math/s_csqrt.c: Include <float.h>.
48200 (__csqrt): Scale large or subnormal inputs.
48201 * math/s_csqrtf.c: Likewise.
48202 * math/s_csqrtl.c: Likewise.
48203 * math/libm-test.inc (csqrt_test): Add more tests.
48204 * sysdeps/i386/fpu/libm-test-ulps: Update.
48205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48206
aa4a2ae1
JM
48207 [BZ #13840]
48208 * math/libm-test.inc (hypot_test): Add more tests.
48209
7c10fd35
DM
482102012-03-13 David S. Miller <davem@davemloft.net>
48211
48212 [BZ #13840]
48213 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48214 double-precision for the calculation instead of scaling.
48215
f453b98b
JM
482162012-03-13 Joseph Myers <joseph@codesourcery.com>
48217
48218 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48219 manipulate bits before adding and subtracting TWO52[sx].
48220 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48222 Likewise.
48223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48224
09a3453f
DM
482252012-03-13 David S. Miller <davem@davemloft.net>
48226
8e59da90
DM
48227 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48228 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48230 rtld-global-offsets.h
48231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48232
2a8ab7f2
DM
48233 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48234 large parameters.
48235
10f62770
DM
48236 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48237
5f0bdb18
DM
48238 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48239 'err' in the ifdef scope in which it is actually used.
48240
09a3453f
DM
48241 * nss/nss_db/db-init.c: Include string.h
48242
b4b2eb5e
DM
482432012-03-12 David S. Miller <davem@davemloft.net>
48244
98bb2f1c
DM
48245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48246 masking out of the most significant byte of random value used.
48247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48248 Fix coding style in previous change.
48249
b4b2eb5e
DM
48250 * sysdeps/unix/sysv/linux/kernel-features.h
48251 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48252 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48253 expression.
48254 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48255 later.
48256
6e226b09
DM
482572012-03-11 David S. Miller <davem@davemloft.net>
48258
a1bcbd40
DM
48259 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48260 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48262 for 'resultvar' otherwise things get truncated on 64-bit.
48263
cb9d6174
DM
48264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48265 Fix masking out of the most significant byte of random value used.
48266
6e226b09
DM
48267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48268
058c132d
AS
482692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48270
48271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48272
2d2cd515
DM
482732012-03-09 David S. Miller <davem@davemloft.net>
48274
48275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48276 variables with appropriate CPP guards.
57f41c40
AS
48277 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48278 from the frame pointer, not the stack pointer. Correct layout
48279 comments. Fix test on resulting framesize and the management of
48280 the outregs buffer for pltexit. Preserve floating point return
48281 values across _dl_call_pltexit call.
2d2cd515
DM
48282 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48283 framesize and the management of the outregs buffer for pltexit.
48284 Preserve floating point return values across _dl_call_pltexit
48285 call.
57f41c40
AS
48286 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48287 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48288 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48289 (print_exit): Fix format string for return register value.
48290
9a07f9d0
JM
482912012-03-10 Joseph Myers <joseph@codesourcery.com>
48292
48293 * sunrpc/Makefile (others): Add rpcgen.
48294 ($(objpfx)rpcgen): Remove special build rule and dependency on
48295 libc.
48296 * sunrpc/rpcgen.c: New file.
48297
547b5e30
PE
482982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48299
c524201a
PE
48300 [BZ #13673]
48301 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48302 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48303 * sysdeps/i386/crti.S: Likewise.
48304 * sysdeps/i386/crtn.S: Likewise.
48305 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48306 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48307 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48308 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48309 * sysdeps/sh/crti.S: Likewise.
48310 * sysdeps/sh/crtn.S: Likewise.
48311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48312
7b6235f2
PE
48313 [BZ #13673]
48314 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48315 with URL.
48316 * locale/programs/locfile-kw.gperf: Likewise.
48317 * locale/programs/charmap-kw.h: Regenerated.
48318 * locale/programs/locfile-kw.h: Likewise.
48319
547b5e30
PE
48320 [BZ #13673]
48321 * intl/plural.y: Replace FSF snail mail address with URL.
48322 * intl/plural.c: Regenerated.
48323
5f0a5dae
RH
483242012-03-09 Richard Henderson <rth@twiddle.net>
48325
48326 * include/math_private.h: Remove file.
48327 * math/math_private.h: Move file ...
48328 * sysdeps/generic/math_private.h: ... here.
48329
b8c03620
RH
48330 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48331 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48333
4e234f5d 48334 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48335 and <math_private.h>.
48336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48341 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48369 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48444 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48460 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48463 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48466 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48470 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48473 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48474 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48477 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48479 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48480 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48484 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48485 * sysdeps/ieee754/k_standard.c: Likewise.
48486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48635 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48646 * sysdeps/ieee754/s_lib_version.c: Likewise.
48647 * sysdeps/ieee754/s_matherr.c: Likewise.
48648 * sysdeps/ieee754/s_signgam.c: Likewise.
48649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48652 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48653 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48655 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48656 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48657 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48658 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48659 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48660 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48663 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48665 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48667 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48670
1991fa03
JM
486712012-03-09 Joseph Myers <joseph@codesourcery.com>
48672
48673 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48674 * sunrpc/rpc_main.c: Likewise.
48675 * sunrpc/rpc_svcout.c: Likewise.
48676
60d6f5a6
DM
486772012-03-09 David S. Miller <davem@davemloft.net>
48678
48679 * include/math_private.h: New file.
48680
4962050e
JM
486812012-03-09 Joseph Myers <joseph@codesourcery.com>
48682
02a6f887
JM
48683 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48684 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48685 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48686 from <bits/socket_type.h>.
48687 (enum __socket_type): Don't define here.
48688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48690 bits/socket_type.h.
48691
c6e013c1
JM
48692 [BZ #13566]
48693 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48694 checking __USE_GNU.
48695
4962050e
JM
48696 * Makerules ($(inst_includedir)/%.h): New rule.
48697 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48698 (install-others): Remove variable setting.
48699 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48700
38842f45
RH
487012012-03-08 Richard Henderson <rth@twiddle.net>
48702
67bb6da6
RH
48703 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48704 from macro to inline function; merge with the
48705 !__LIBC_INTERNAL_MATH_INLINES version.
48706 (__ieee754_sqrtf): Likewise.
48707
15194b4b
RH
48708 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48709 to inline function.
48710 (__rintf, __floor, __floorf): Likewise.
48711
64e21ede
RH
48712 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48713 macro to inline function.
48714 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48715
38842f45
RH
48716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48717 not <math/math_private.h>.
48718
c64bf5fe
DM
487192012-03-08 David S. Miller <davem@davemloft.net>
48720
48721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48722 copyright year.
48723 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48724
82d86f28
TS
487252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48726
48727 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48728 normalization.
48729 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48731
aea5d727
UD
487322012-03-08 Ulrich Drepper <drepper@gmail.com>
48733
48734 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48735 be defined individually, they must be defined as a block. Define
48736 S for printing a string instead of hidint the different by using a
48737 macro for adding the 'l'.
48738 * stdio-common/tst-fphex-wide.c: Adjust.
48739
70bca0a3
MP
487402012-03-07 Marek Polacek <polacek@redhat.com>
48741
48742 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48743
65b81130
MP
487442012-03-08 Marek Polacek <polacek@redhat.com>
48745
48746 [BZ #13806]
48747 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48748 * stdio-common/tst-fphex.c: Define a few macros to make the
48749 test reusable. Use them.
48750 * stdio-common/tst-fphex-wide.c: New file.
48751
07037eeb
JM
487522012-03-08 Joseph Myers <joseph@codesourcery.com>
48753
a7a93d50
JM
48754 [BZ #6911]
48755 * manual/macros.texi (gnusystems): New macro.
48756 (nongnusystems): Likewise.
48757 (gnulinuxhurdsystems): Likewise.
48758 (gnuhurdsystems): Likewise..
48759 (gnulinuxsystems): Likewise.
48760 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48761 variants of the GNU system, not "GNU system".
48762 * manual/conf.texi: Likewise.
48763 * manual/errno.texi: Likewise. Update example of errno macro
48764 expansion.
48765 * manual/filesys.texi: Likewise.
48766 (getumask): Document as specific to GNU/Hurd.
48767 * manual/install.texi: Likewise. Reword some references to
48768 GNU/Linux.
48769 * manual/intro.texi: Likewise.
48770 * manual/io.texi: Likewise.
48771 (File Name Portability): Detail which constraints are inapplicable
48772 to all GNU systems and which are only inapplicable to GNU/Hurd.
48773 * manual/job.texi: Likewise.
48774 * manual/llio.texi: Likewise.
48775 (O_NOCTTY): Document as present on GNU/Linux.
48776 * manual/maint.texi: Likewise.
48777 * manual/memory.texi: Likewise.
48778 * manual/pattern.texi: Likewise.
48779 * manual/pipe.texi: Likewise.
48780 * manual/process.texi: Likewise.
48781 * manual/resource.texi: Likewise.
48782 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48783 child on GNU/Hurd.
48784 * manual/setjmp.texi: Likewise.
48785 * manual/signal.texi: Likewise.
48786 * manual/startup.texi: Likewise.
48787 * manual/stdio.texi: Likewise.
48788 * manual/terminal.texi: Likewise.
48789 (ONLCR): Document as POSIX.
48790 (OXTABS): Document availability on GNU/Linux as XTABS.
48791 (ONOEOT): Document availability separately from other bits.
48792 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48793 * manual/time.texi: Likewise.
48794 * manual/users.texi: Likewise.
48795 * INSTALL: Regenerated.
48796 * sysdeps/gnu/errlist.c: Regenerated.
48797
07037eeb
JM
48798 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48799 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48800 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48801 puts.
48802 * configure: Regenerated.
48803
d1d3431a
JM
488042012-03-07 Joseph Myers <joseph@codesourcery.com>
48805
af6a1e37
JM
48806 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48807 default includes instead of AC_HEADER_CHECK.
48808 * sysdeps/i386/configure: Regenerated.
48809
d1d3431a
JM
48810 [BZ #10716]
48811 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48812 * math/s_cacoshf.c (__cacoshf): Likewise.
48813 * math/s_cacoshl.c (__cacoshl): Likewise.
48814 * math/s_casinh.c (__casinh): Set signs of result from argument.
48815 * math/s_casinhf.c (__casinhf): Likewise.
48816 * math/s_casinhl.c (__casinhl): Likewise.
48817 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48818 (casinh_test): Add more tests.
48819 * sysdeps/i386/fpu/libm-test-ulps: Update.
48820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48821
482ff4da
UD
488222012-03-07 Ulrich Drepper <drepper@gmail.com>
48823
872fda05
UD
48824 * po/zh_TW.po: Update from translation team.
48825
a4300c7a
UD
48826 * login/Makefile (distribute): Remove variable.
48827 * catgets/Makefile: Likewise.
48828 * mach/Makefile: Likewise.
48829 * malloc/Makefile: Likewise.
48830 * misc/Makefile: Likewise.
48831 * iconv/Makefile: Likewise.
48832 * nscd/Makefile: Likewise.
48833 * hurd/Makefile: Likewise.
48834 * manual/Makefile: Likewise.
48835 * locale/Makefile: Likewise.
48836 * intl/Makefile: Likewise.
48837 * conform/Makefile: Likewise.
48838 * nss/Makefile: Likewise.
48839 * time/Makefile: Likewise.
48840 * soft-fp/Makefile: Likewise.
48841 * dirent/Makefile: Likewise.
48842 * gmon/Makefile: Likewise.
48843 * po/Makefile: Likewise.
48844 * rt/Makefile: Likewise.
48845 * socket/Makefile: Likewise.
48846 * math/Makefile: Likewise.
48847 * signal/Makefile: Likewise.
48848 * debug/Makefile: Likewise.
48849 * elf/Makefile: Likewise.
48850 * timezone/Makefile: Likewise.
48851 * stdlib/Makefile: Likewise.
48852 * iconvdata/Makefile: Likewise.
48853 * sunrpc/Makefile: Likewise.
48854 * io/Makefile: Likewise.
48855 * argp/Makefile: Likewise.
48856 * inet/Makefile: Likewise.
48857 * hesiod/Makefile: Likewise.
48858 * grp/Makefile: Likewise.
48859 * csu/Makefile: Likewise.
48860 * wctype/Makefile: Likewise.
48861 * crypt/Makefile: Likewise.
48862 * libio/Makefile: Likewise.
48863 * string/Makefile: Likewise.
48864 * nis/Makefile: Likewise.
48865 * resolv/Makefile: Likewise.
48866 * stdio-common/Makefile: Likewise.
48867 * wcsmbs/Makefile: Likewise.
48868 * dlfcn/Makefile: Likewise.
48869 * posix/Makefile: Likewise.
48870
3b7c4e74 48871 [BZ #6959]
482ff4da
UD
48872 * timezone/Makefile: Don't install timezone files, just the programs
48873 and scripts.
48874
f72ed77d
UD
488752012-03-06 Ulrich Drepper <drepper@gmail.com>
48876
a000466f
UD
48877 * nss/databases.def: Add missing gshadow entry.
48878
f72ed77d
UD
48879 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48880
a53b7a4e
MP
488812012-03-06 Marek Polacek <polacek@redhat.com>
48882
48883 [BZ #13726]
48884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48886 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48887 * stdio-common/tst-long-dbl-fphex.c: New file.
48888
e9258400
DM
488892012-03-06 David S. Miller <davem@davemloft.net>
48890
48891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48892 (set_obp_int): New function.
48893 (get_obp_int): New function.
48894 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48896 Avoid unused variable warnings on 'val' and use builtin_expect.
48897 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48898 __builtin_expect.
e9258400
DM
48899 (INLINE_CLONE_SYSCALL): Likewise.
48900
3bd2c723
DM
489012012-03-05 David S. Miller <davem@davemloft.net>
48902
48903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48904
bbb78d03
AS
489052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48906
884c5db4
AS
48907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48908
bbb78d03
AS
48909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48910 only for |x| >= 40.
48911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48912
1c9f702a 489132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48914
48915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48916 Replace gettimeofday with __vdso_gettimeofday.
48917
7be16f82
RM
48918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48919 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48920 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48921
48922 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48923 time with __vdso_time.
48924
ed58a00f
JM
489252012-03-05 Joseph Myers <joseph@codesourcery.com>
48926
48927 * manual/lang.texi (size_t): Note types to which size_t may be
48928 equivalent with the GNU C Library, but do not describe when
48929 differences between them are significant.
48930
30ee4ced
AJ
489312012-03-05 Andreas Jaeger <aj@suse.de>
48932
48933 * sysdeps/i386/fpu/libm-test-ulps: Update.
48934
b7cd39e8
JM
489352012-03-05 Joseph Myers <joseph@codesourcery.com>
48936
48937 [BZ #3976]
48938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48939 (__ieee754_pow): Save and restore rounding mode and use
48940 round-to-nearest for main computations.
48941 * math/libm-test.inc (pow_test_tonearest): New function.
48942 (pow_test_towardzero): Likewise.
48943 (pow_test_downward): Likewise.
48944 (pow_test_upward): Likewise.
48945 (main): Call the new functions.
48946 * sysdeps/i386/fpu/libm-test-ulps: Update.
48947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48948
48949 [BZ #3976]
48950 * math/libm-test.inc (cosh_test_tonearest): New function.
48951 (cosh_test_towardzero): Likewise.
48952 (cosh_test_downward): Likewise.
48953 (cosh_test_upward): Likewise.
48954 (sinh_test_tonearest): Likewise.
48955 (sinh_test_towardzero): Likewise.
48956 (sinh_test_downward): Likewise.
48957 (sinh_test_upward): Likewise.
48958 (main): Call the new functions.
48959 * sysdeps/i386/fpu/libm-test-ulps: Update.
48960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48961
6c6a98c9
TV
489622012-03-05 Tom de Vries <tom@codesourcery.com>
48963
48964 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48965 default stack guard is set in last bytes.
48966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48967
21bb2d2e 489682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48969
21bb2d2e 48970 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48971
21bb2d2e
AJ
48972 [BZ #13656]
48973 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48974 possibly allocate from heap instead of stack.
48975 * stdio-common/bug-vfprintf-nargs.c: New file.
48976 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48977
c6922934
AS
489782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48979
48980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48981
bc957d53
MP
489822012-03-03 Marek Polacek <polacek@redhat.com>
48983
48984 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48985 * math/math_private.h: Likewise.
48986 * stdlib/tst-strtod.c: Likewise.
48987 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48988 * sysdeps/x86_64/bits/atomic.h: Likewise.
48989
6358490d
DM
489902012-03-02 David S. Miller <davem@davemloft.net>
48991
48992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48996 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48997 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48998 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48999 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49000
01ae168d
RM
490012012-03-02 Roland McGrath <roland@hack.frob.com>
49002
d9a17c07
RM
49003 [BZ #13792]
49004 * manual/examples/README: New file, says the example source files
49005 can be used under GPL>=2.
49006 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49007 line containing just "*/".
49008 * manual/examples/add.c: Add copyright header (GPL>=2).
49009 * manual/examples/argp-ex1.c: Likewise.
49010 * manual/examples/argp-ex2.c: Likewise.
49011 * manual/examples/argp-ex3.c: Likewise.
49012 * manual/examples/argp-ex4.c: Likewise.
49013 * manual/examples/atexit.c: Likewise.
49014 * manual/examples/db.c: Likewise.
49015 * manual/examples/dir.c: Likewise.
49016 * manual/examples/dir2.c: Likewise.
49017 * manual/examples/execinfo.c: Likewise.
49018 * manual/examples/filecli.c: Likewise.
49019 * manual/examples/filesrv.c: Likewise.
49020 * manual/examples/fmtmsgexpl.c: Likewise.
49021 * manual/examples/genpass.c: Likewise.
49022 * manual/examples/inetcli.c: Likewise.
49023 * manual/examples/inetsrv.c: Likewise.
49024 * manual/examples/isockad.c: Likewise.
49025 * manual/examples/longopt.c: Likewise.
49026 * manual/examples/memopen.c: Likewise.
49027 * manual/examples/memstrm.c: Likewise.
49028 * manual/examples/mkfsock.c: Likewise.
49029 * manual/examples/mkisock.c: Likewise.
49030 * manual/examples/mygetpass.c: Likewise.
49031 * manual/examples/pipe.c: Likewise.
49032 * manual/examples/popen.c: Likewise.
49033 * manual/examples/rprintf.c: Likewise.
49034 * manual/examples/search.c: Likewise.
49035 * manual/examples/select.c: Likewise.
49036 * manual/examples/setjmp.c: Likewise.
49037 * manual/examples/sigh1.c: Likewise.
49038 * manual/examples/sigusr.c: Likewise.
49039 * manual/examples/stpcpy.c: Likewise.
49040 * manual/examples/strdupa.c: Likewise.
49041 * manual/examples/strftim.c: Likewise.
49042 * manual/examples/strncat.c: Likewise.
49043 * manual/examples/subopt.c: Likewise.
49044 * manual/examples/swapcontext.c: Likewise.
49045 * manual/examples/termios.c: Likewise.
49046 * manual/examples/testopt.c: Likewise.
49047 * manual/examples/testpass.c: Likewise.
49048 * manual/examples/timeval_subtract.c: Likewise.
49049
01ae168d
RM
49050 [BZ #13792]
49051 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49052 function to ...
49053 * manual/timeval_subtract.c.texi: ... here, new file.
49054
49efa33d
DM
490552012-03-02 David S. Miller <davem@davemloft.net>
49056
49057 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49058
28afd92d
JM
490592012-03-02 Joseph Myers <joseph@codesourcery.com>
49060
804360ed
JM
49061 [BZ #3976]
49062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49063 (__sin): Save and restore rounding mode and use round-to-nearest
49064 for all computations.
49065 (__cos): Save and restore rounding mode and use round-to-nearest
49066 for all computations.
49067 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49068 <fenv.h>.
49069 (tan): Save and restore rounding mode and use round-to-nearest for
49070 all computations.
49071 * math/libm-test.inc (cos_test_tonearest): New function.
49072 (cos_test_towardzero): Likewise.
49073 (cos_test_downward): Likewise.
49074 (cos_test_upward): Likewise.
49075 (sin_test_tonearest): Likewise.
49076 (sin_test_towardzero): Likewise.
49077 (sin_test_downward): Likewise.
49078 (sin_test_upward): Likewise.
49079 (tan_test_tonearest): Likewise.
49080 (tan_test_towardzero): Likewise.
49081 (tan_test_downward): Likewise.
49082 (tan_test_upward): Likewise.
49083 (main): Call the new functions.
49084 * sysdeps/i386/fpu/libm-test-ulps: Update.
49085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49086
a6d06d7b
JM
49087 [BZ #10135]
49088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49089 small n, then large n, before computing and testing k+n.
49090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49092 Likewise.
49093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49094 Likewise.
49095 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49096 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49103 * math/libm-test.inc (scalbn_test): Add more tests.
49104 (scalbln_test): Likewise.
49105
07e12bb3
JM
49106 * manual/filesys.texi (mode_t): Describe constraints on size and
49107 signedness, not exact equivalence to a particular type.
49108 (ino_t): Likewise.
49109 (ino64_t): Likewise.
49110 (dev_t): Likewise.
49111 (nlink_t): Likewise.
49112 (blkcnt_t): Likewise.
49113 (blkcnt64_t): Likewise.
49114 * manual/llio.texi (off_t): Likewise.
49115
28afd92d
JM
49116 [BZ #3976]
49117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49118 (__ieee754_exp): Save and restore rounding mode and use
49119 round-to-nearest for all computations.
49120 * math/libm-test.inc (exp_test_tonearest): New function.
49121 (exp_test_towardzero): Likewise.
49122 (exp_test_downward): Likewise.
49123 (exp_test_upward): Likewise.
49124 (main): Call the new functions.
49125 * sysdeps/i386/fpu/libm-test-ulps: Update.
49126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49127
b1eeb65d
CD
491282012-03-01 Chris Demetriou <cgd@google.com>
49129
49130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49131 have predictable order.
49132
53362a4b
DM
491332012-03-01 David S. Miller <davem@davemloft.net>
49134
3c969083
DM
49135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49136
759707de
DM
49137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49141
dfdb8ff2
DM
49142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49151
ead89f96
DM
49152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49153
7f66bd07
DM
49154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49157
53362a4b
DM
49158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49176 * sysdeps/sparc/elf/configure: Regenerated.
49177
7b1902cb
JM
491782012-03-01 Joseph Myers <joseph@codesourcery.com>
49179
bec039bc
JM
49180 * configure.in (AS, LD): Require binutils 2.20 or later.
49181 * configure: Regenerated.
49182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49183 as required minimum version.
49184 * INSTALL: Regenerated.
49185
7b1902cb
JM
49186 [BZ #2541]
49187 [BZ #4108]
49188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49189 before squaring exponent.
49190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49191 bottom long double and 27 bits of top long double before squaring
49192 exponent.
49193 * math/libm-test.inc (erfc_test): Add more tests.
49194 * sysdeps/i386/fpu/libm-test-ulps: Update.
49195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49197
f775c276
KT
491982012-03-01 Kai Tietz <ktietz@redhat.com>
49199
49200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49202 containing bit-fields.
49203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49204 * soft-fp/single.h (_FP_UNION_S): Likewise.
49205 * soft-fp/double.h (_FP_UNION_D): Likewise.
49206
5b8a4d4a
JM
492072012-02-29 Joseph Myers <joseph@codesourcery.com>
49208
0bab47b6
JM
49209 [BZ #13786]
49210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49211 not include ../strcmp.S.
49212 [USE_AS_STRNCASECMP_L]: Likewise.
49213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49216 (__strncasecmp_l_ia32): Define as alias to
49217 __strncasecmp_l_nonascii.
49218
0fcad3e2
JM
49219 [BZ #5794]
49220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49221 * sysdeps/i386/fpu/libm-test-ulps: Update.
49222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49223
5b8a4d4a
JM
49224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49226
8fdceb2e
JL
492272012-02-29 Jeff Law <law@redhat.com>
49228
49229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49230 out of bounds read.
49231
1f393a11
MP
492322012-02-29 Marek Polacek <polacek@redhat.com>
49233
49234 [BZ #13706]
49235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49236 * elf/Makefile: Add rules to run tst-unused-dep.out.
49237
8847f037
DM
492382012-02-28 David S. Miller <davem@davemloft.net>
49239
49240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49246
169d7f11
JM
492472012-02-29 Joseph Myers <joseph@codesourcery.com>
49248
49249 * math/libm-test.inc (llround_test): Move one test from
49250 lround_test. Use TEST_f_L in moved test.
49251 (lround_test): Move misplaced test to llround_test. Add testcase
49252 from bug 2561.
49253
39adf059
UD
492542012-02-28 Ulrich Drepper <drepper@gmail.com>
49255
49256 * sysdeps/x86_64/fpu/e_expf.S: New file.
49257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49258
71b5d1c5
SB
492592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49260
49261 [BZ #13637]
49262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49263 of remain_len that may cause incomplete multi-byte character and
49264 false match.
49265 * posix/bug-regex33.c: New file.
49266 * posix/Makefile (tests): Add bug-regex33.
49267
1f77f049
JM
492682012-02-28 Joseph Myers <joseph@codesourcery.com>
49269
49270 * manual/macros.texi: New file.
49271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49272 * manual/libc.texinfo: Include macros.texi.
49273 * manual/creatute.texi: Likewise.
49274 * manual/install.texi: Likewise.
49275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49276 @glibcadj{} in references to the GNU C Library.
49277 * manual/charset.texi: Likewise.
49278 * manual/conf.texi: Likewise.
49279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49280 when not using those macros.
49281 * manual/creature.texi: Likewise.
49282 * manual/crypt.texi: Likewise.
49283 * manual/errno.texi: Likewise.
49284 * manual/filesys.texi: Likewise.
49285 * manual/header.texi: Likewise.
49286 * manual/install.texi: Likewise.
49287 * manual/intro.texi: Likewise.
49288 * manual/io.texi: Likewise.
49289 * manual/job.texi: Likewise.
49290 * manual/lang.texi: Likewise.
49291 * manual/libc.texiinfo: Likewise.
49292 * manual/llio.texi: Likewise.
49293 * manual/locale.texi: Likewise.
49294 * manual/maint.texi: Likewise.
49295 * manual/math.texi: Likewise.
49296 * manual/memory.texi: Likewise.
49297 * manual/message.texi: Likewise.
49298 * manual/nss.texi: Likewise.
49299 * manual/pattern.texi: Likewise.
49300 * manual/process.texi: Likewise.
49301 * manual/resource.texi: Likewise.
49302 * manual/search.texi: Likewise.
49303 * manual/setjmp.texi: Likewise.
49304 * manual/signal.texi: Likewise.
49305 * manual/socket.texi: Likewise.
49306 * manual/startup.texi: Likewise.
49307 * manual/stdio.texi: Likewise.
49308 * manual/string.texi: Likewise.
49309 * manual/sysinfo.texi: Likewise.
49310 * manual/syslog.texi: Likewise.
49311 * manual/terminal.texi: Likewise.
49312 * manual/time.texi: Likewise.
49313 * manual/users.texi: Likewise.
49314 * INSTALL: Regenerated.
49315 * NOTES: Regenerated.
d40c5d54 49316 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49317
450bf206
AS
493182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49319
49320 * include/dirent.h: Include <dirstream.h> before
49321 <dirent/dirent.h>.
49322
741a235b
DM
493232012-02-28 David S. Miller <davem@davemloft.net>
49324
49325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49329
d6b5aa58
DM
493302012-02-27 David S. Miller <davem@davemloft.net>
49331
1aff59a3
DM
49332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49336
d6b5aa58
DM
49337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49338 frame pointer instead of stack pointer relative arg slot.
49339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49342
433f48bf
CD
493432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49344
49345 [BZ #3992]
49346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49347
d674b76d
DM
493482012-02-27 David S. Miller <davem@davemloft.net>
49349
49350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49358
0e7727f7
JM
493592012-02-27 Joseph Myers <joseph@codesourcery.com>
49360
49361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49362 later. Allow versions 5-9.
43be4ca2 49363 * configure: Regenerated.
0e7727f7
JM
49364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49365 required minimum version and 4.6 as recommended version. Do not
49366 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49367 * INSTALL: Regenerated.
0e7727f7 49368
a78bc654
DM
493692012-02-27 David S. Miller <davem@davemloft.net>
49370
428d5830
DM
49371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49379
a78bc654
DM
49380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49381 manipulate bits before adding and subtracting TWO112[sx].
49382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49383
4579f81c
RM
493842012-02-27 Roland McGrath <roland@hack.frob.com>
49385
36c8acb4
RM
49386 [BZ #13775]
49387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49390 being in POSIX, because they are in 1003.1-2008.
49391
84ad622b
RM
49392 * rt/tst-aio.c: Include <fcntl.h>.
49393 * rt/tst-aio7.c: Likewise.
49394 * rt/tst-aio64.c: Likewise.
49395
4579f81c
RM
49396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49397
abd923db
JM
493982012-02-27 Joseph Myers <joseph@codesourcery.com>
49399
49400 * manual/install.texi (--with-headers): Describe headers as
49401 interface headers, not private headers.
49402 (Specific advice for GNU/Linux systems): Describe use of headers
49403 from "make headers_install", not private headers from older
49404 kernels.
43be4ca2 49405 * INSTALL: Regenerated.
abd923db
JM
49406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49407 Change to 2.6.19.
49408 * sysdeps/unix/sysv/linux/configure: Regenerated.
49409
6664049b
JM
49410 * manual/llio.texi (fclean): Remove documentation.
49411
bb8b6697
JM
49412 * manual/Makefile (libc-texi-generated): New variable. Include
49413 version.texi.
49414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49415 $(libc-texi-generated), not duplicated list of files.
49416 (version.texi, stamp-version): New rules.
49417 (realclean): Remove $(libc-texi-generated), not individual files
49418 from that list. Do not remove dir-add.texinfo.
49419 * manual/libc.texinfo: Comment out uses of edition numbers and
49420 references to printed manual. Remove last-updated dates.
49421 (EDITION): Comment out.
49422 (ISBN): Likewise.
49423 (VERSION, UPDATED): Remove.
49424 (version.texi): Include.
49425
12e5c3b9
AS
494262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49427
49428 * sysdeps/posix/spawni.c: Include <signal.h>.
49429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49430 * sysdeps/pthread/aio_fsync.c: Likewise.
49431
4efeffc1 494322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49433
ba63ba08
UD
49434 * conform/Makefile (tests): Run only when not cross-compiling and
49435 when fast-check is not defined.
49436
d94a4670
UD
49437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49438 * conform/data/limits.h-data: Fixes for POSIX2008.
49439 * conform/run-conformtest.sh: Run all tests.
49440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49441 headers.
49442 * include/bits/dlfcn.h: Likewise.
49443 * include/langinfo.h: Likewise.
49444 * include/monetary.h: Likewise.
49445 * include/sys/poll.h: Likewise.
49446
49447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49448 for __USE_GNU.
49449 * posix/spawn.h: Define __need_sigset_t.
49450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49453 to get sigevent_t only.
49454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49455 only for __USE_GNU.
49456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49458 process_vm_writev only for __USE_GNU.
49459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49460
49461 * conform/Makefile: For now ignore errors from run-conformtest.
49462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49463 POSIX to avoid namespace pollution. Don't prepend headers.
49464 * conform/data/aio.h-data: Fixes for POSIX testing.
49465 * conform/data/fcntl.h-data: Likewise.
49466 * conform/data/glob.h-data: Likewise.
49467 * conform/data/grp.h-data: Likewise.
49468 * conform/data/pthread.h-data: Likewise.
49469 * conform/data/pwd.h-data: Likewise.
49470 * conform/data/signal.h-data: Likewise.
49471 * conform/data/spawn.h-data: Likewise.
49472 * conform/data/stdio.h-data: Likewise.
49473 * conform/data/stdlib.h-data: Likewise.
49474 * conform/data/stropts.h-data: Likewise.
49475 * conform/data/sys/mman.h-data: Likewise.
49476 * conform/data/sys/stat.h-data: Likewise.
49477 * conform/data/sys/types.h-data: Likewise.
49478 * conform/data/sys/wait.h-data: Likewise.
49479 * conform/data/time.h-data: Likewise.
49480 * conform/data/unistd.h-data: Likewise.
49481 * conform/data/utime.h-data: Likewise.
49482
49483 * io/sys/stat.h: fchmod was always in POSIX.
49484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49486 * rt/aio.h: Define __need_timespec before including <time.h>.
49487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49488 struct. Add forward declaration of pthread_attr_t and use it in
49489 sigevent.
49490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49493 always remove CLK_TCK definition.
49494
c20105c3
AS
494952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49496
49497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49498
7a270350
UD
494992012-02-25 Ulrich Drepper <drepper@gmail.com>
49500
31341567
UD
49501 * conform/run-conformtest.sh: New file.
49502 * conform/Makefile: Run run-conformtest for tests.
49503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49504 support.
49505
49506 * conform/data/uchar.h-data: New file.
49507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49508 * conform/data/arpa/inet.h-data: Likewise.
49509 * conform/data/assert.h-data: Likewise.
49510 * conform/data/complex.h-data: Likewise.
49511 * conform/data/cpio.h-data: Likewise.
49512 * conform/data/ctype.h-data: Likewise.
49513 * conform/data/dirent.h-data: Likewise.
49514 * conform/data/dlfcn.h-data: Likewise.
49515 * conform/data/errno.h-data: Likewise.
49516 * conform/data/fcntl.h-data: Likewise.
49517 * conform/data/float.h-data: Likewise.
49518 * conform/data/fmtmsg.h-data: Likewise.
49519 * conform/data/fnmatch.h-data: Likewise.
49520 * conform/data/ftw.h-data: Likewise.
49521 * conform/data/glob.h-data: Likewise.
49522 * conform/data/grp.h-data: Likewise.
49523 * conform/data/iconv.h-data: Likewise.
49524 * conform/data/inttypes.h-data: Likewise.
49525 * conform/data/langinfo.h-data: Likewise.
49526 * conform/data/libgen.h-data: Likewise.
49527 * conform/data/limits.h-data: Likewise.
49528 * conform/data/locale.h-data: Likewise.
49529 * conform/data/math.h-data: Likewise.
49530 * conform/data/monetary.h-data: Likewise.
49531 * conform/data/mqueue.h-data: Likewise.
49532 * conform/data/ndbm.h-data: Likewise.
49533 * conform/data/net/if.h-data: Likewise.
49534 * conform/data/netdb.h-data: Likewise.
49535 * conform/data/netinet/in.h-data: Likewise.
49536 * conform/data/nl_types.h-data: Likewise.
49537 * conform/data/poll.h-data: Likewise.
49538 * conform/data/pthread.h-data: Likewise.
49539 * conform/data/pwd.h-data: Likewise.
49540 * conform/data/regex.h-data: Likewise.
49541 * conform/data/sched.h-data: Likewise.
49542 * conform/data/search.h-data: Likewise.
49543 * conform/data/semaphore.h-data: Likewise.
49544 * conform/data/setjmp.h-data: Likewise.
49545 * conform/data/signal.h-data: Likewise.
49546 * conform/data/spawn.h-data: Likewise.
49547 * conform/data/stdarg.h-data: Likewise.
49548 * conform/data/stdio.h-data: Likewise.
49549 * conform/data/stdlib.h-data: Likewise.
49550 * conform/data/string.h-data: Likewise.
49551 * conform/data/strings.h-data: Likewise.
49552 * conform/data/stropts.h-data: Likewise.
49553 * conform/data/sys/ipc.h-data: Likewise.
49554 * conform/data/sys/mman.h-data: Likewise.
49555 * conform/data/sys/msg.h-data: Likewise.
49556 * conform/data/sys/resource.h-data: Likewise.
49557 * conform/data/sys/select.h-data: Likewise.
49558 * conform/data/sys/sem.h-data: Likewise.
49559 * conform/data/sys/shm.h-data: Likewise.
49560 * conform/data/sys/socket.h-data: Likewise.
49561 * conform/data/sys/stat.h-data: Likewise.
49562 * conform/data/sys/statvfs.h-data: Likewise.
49563 * conform/data/sys/time.h-data: Likewise.
49564 * conform/data/sys/timeb.h-data: Likewise.
49565 * conform/data/sys/times.h-data: Likewise.
49566 * conform/data/sys/types.h-data: Likewise.
49567 * conform/data/sys/uio.h-data: Likewise.
49568 * conform/data/sys/un.h-data: Likewise.
49569 * conform/data/sys/utsname.h-data: Likewise.
49570 * conform/data/sys/wait.h-data: Likewise.
49571 * conform/data/syslog.h-data: Likewise.
49572 * conform/data/tar.h-data: Likewise.
49573 * conform/data/termios.h-data: Likewise.
49574 * conform/data/utime.h-data: Likewise.
49575 * conform/data/utmpx.h-data: Likewise.
49576 * conform/data/varargs.h-data: Likewise.
49577 * conform/data/wchar.h-data: Likewise.
49578 * conform/data/wctype.h-data: Likewise.
49579 * conform/data/wordexp.h-data: Likewise.
49580
49581 * include/stropts.h: New file.
49582 * include/uchar.h: New file.
49583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49584 * include/assert.h: Likewise.
49585 * include/ctype.h: Likewise.
49586 * include/dirent.h: Likewise.
49587 * include/dlfcn.h: Likewise.
49588 * include/fcntl.h: Likewise.
49589 * include/fnmatch.h: Likewise.
49590 * include/glob.h: Likewise.
49591 * include/grp.h: Likewise.
49592 * include/libio.h: Likewise.
49593 * include/locale.h: Likewise.
49594 * include/math.h: Likewise.
49595 * include/net/if.h: Likewise.
49596 * include/netdb.h: Likewise.
49597 * include/netinet/in.h: Likewise.
49598 * include/pthread.h: Likewise.
49599 * include/pwd.h: Likewise.
49600 * include/regex.h: Likewise.
49601 * include/sched.h: Likewise.
49602 * include/search.h: Likewise.
49603 * include/setjmp.h: Likewise.
49604 * include/signal.h: Likewise.
49605 * include/stdio.h: Likewise.
49606 * include/stdlib.h: Likewise.
49607 * include/string.h: Likewise.
49608 * include/sys/cdefs.h: Likewise.
49609 * include/sys/mman.h: Likewise.
49610 * include/sys/msg.h: Likewise.
49611 * include/sys/resource.h: Likewise.
49612 * include/sys/select.h: Likewise.
49613 * include/sys/socket.h: Likewise.
49614 * include/sys/stat.h: Likewise.
49615 * include/sys/statvfs.h: Likewise.
49616 * include/sys/time.h: Likewise.
49617 * include/sys/times.h: Likewise.
49618 * include/sys/uio.h: Likewise.
49619 * include/sys/utsname.h: Likewise.
49620 * include/sys/wait.h: Likewise.
49621 * include/termios.h: Likewise.
49622 * include/time.h: Likewise.
49623 * include/ulimit.h: Likewise.
49624 * include/unistd.h: Likewise.
49625 * include/utime.h: Likewise.
49626 * include/wchar.h: Likewise.
49627 * include/wctype.h: Likewise.
49628 * include/wordexp.h: Likewise.
49629
49630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49631
7a270350
UD
49632 * time/time.h: TIME_UTC must be a macro.
49633 Make timespec_get available for ISO C11 only as well.
49634
7724defc
UD
496352012-02-24 Ulrich Drepper <drepper@gmail.com>
49636
49637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49639
6b1d1d46
JM
496402012-02-24 Joseph Myers <joseph@codesourcery.com>
49641
49642 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49643
0f8bbd69
JM
496442012-02-24 Joseph Myers <joseph@codesourcery.com>
49645
49646 * manual/texinfo.tex: Update to version 2012-01-19.16.
49647
66ab80bc
JM
496482012-02-24 Joseph Myers <joseph@codesourcery.com>
49649
49650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49651
74981cc5
RM
496522012-02-24 Roland McGrath <roland@hack.frob.com>
49653
ee968201
RM
49654 [BZ #13738]
49655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49656 * manual/fdl-1.3.texi: New file.
49657 * manual/fdl-1.1.texi: File removed.
49658
74981cc5
RM
49659 [BZ #13738]
49660 * manual/libc.texinfo (FDL_VERSION): New @set.
49661 Use it for mention of FDL in cover text.
49662 (Documentation License): Use it in @include file name.
49663
7bb764bc
JM
496642012-02-22 Joseph Myers <joseph@codesourcery.com>
49665 Roland McGrath <roland@hack.frob.com>
49666
49667 [BZ #5461]
57f41c40
AS
49668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49669 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49672 name.
49673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49674
6cbeae47
JM
496752012-02-22 Joseph Myers <joseph@codesourcery.com>
49676
49677 [BZ #2547]
49678 [BZ #11365]
49679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49680 manipulate bits before adding and subtracting TWO23[sx].
49681 * math/libm-test.inc (nearbyint_test): Add more tests.
49682
fe45ce09
JM
496832012-02-22 Joseph Myers <joseph@codesourcery.com>
49684
49685 [BZ #2548]
49686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49687 bits before adding and subtracting TWO23[sx].
49688 * math/libm-test.inc (rint_test): Add more tests.
49689 (rint_test_tonearest): Likewise.
49690 (rint_test_towardzero): Likewise.
49691 (rint_test_downward): Likewise.
49692 (rint_test_upward: Likewise.
49693
ff3b3d82
JM
496942012-02-22 Joseph Myers <joseph@codesourcery.com>
49695
49696 [BZ #10110]
49697 * include/stdc-predef.h: New file. Extracted from features.h.
49698 * include/features.h: Include stdc-predef.h.
49699 * Makefile (headers): Add stdc-predef.h.
49700 * CONFORMANCE (Compiler limitations): Update.
49701
ef0aab35
JM
497022012-02-22 Joseph Myers <joseph@codesourcery.com>
49703
49704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49705
58639409
DM
497062012-02-21 David S. Miller <davem@davemloft.net>
49707
49708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49710
c0e70b25
DM
497112012-02-20 David S. Miller <davem@davemloft.net>
49712
49713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49714 using a normal save/restore sequence, rather than allocating a
49715 dummy stack frame just to store a frame pointer and restore.
49716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49717
fb06851d
JM
497182012-02-21 Joseph Myers <joseph@codesourcery.com>
49719
49720 * manual/install.texi: Fix stray word in line-wrapped comment.
49721
7a8b71c3
DM
497222012-02-20 David S. Miller <davem@davemloft.net>
49723
d510c123
DM
49724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49725 both binutils and gcc support GOTDATA.
49726
0722d7c2
DM
49727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49728 "rd %pc" in the PIC register setup sequences.
49729
3d2b3019
DM
49730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49739 (SYSCALL_ERROR_HANDLER): Likewise.
49740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49743 (SYSCALL_ERROR_HANDLER): Likewise.
49744
c80098a9
DM
49745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49746 (HAVE_GCC_GOTDATA): New.
49747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49748 relocation support in both binutils and gcc.
49749 * sysdeps/sparc/elf/configure: Regenerate.
49750
3a2545a0
DM
49751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49752 * sysdeps/sparc/sparc32/elf/configure: Delete.
49753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49754 * sysdeps/sparc/sparc64/elf/configure: Delete.
49755 * sysdeps/sparc/elf/configure.in: New file.
49756 * sysdeps/sparc/elf/configure: Generate.
49757
7a8b71c3
DM
49758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49763
f1e86fca
JM
497642012-02-21 Joseph Myers <joseph@codesourcery.com>
49765
49766 * manual/install.texi: Do not mention specific glibc version
49767 numbers.
49768 * manual/libc.texinfo (VERSION, UPDATED): Update.
49769 (@copying): Use @copyright{} and range of years.
49770
0e7dfaef
JM
497712012-02-21 Joseph Myers <joseph@codesourcery.com>
49772
49773 [BZ #13695]
49774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49775 [crti.S not in sysdirs] (generated): Do not append.
49776 [crti.S not in sysdirs] (omit-deps): Likewise.
49777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49782 Likewise.
49783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49786 * csu/defs.awk: Remove file.
49787 * sysdeps/generic/initfini.c: Likewise.
49788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49789 variable.
49790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49791 Likewise.
49792
599af3ca
JM
497932012-02-20 Joseph Myers <joseph@codesourcery.com>
49794
49795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49801 <bits/epoll.h>.
49802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49803 (__EPOLL_PACKED): Define to empty if not defined by
49804 <bits/epoll.h>.
49805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49807 bits/epoll.h.
49808
0e499750
JM
498092012-02-20 Joseph Myers <joseph@codesourcery.com>
49810
49811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49815 <bits/timerfd.h>.
49816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49818 bits/timerfd.h.
49819
5ad91f6e
JM
498202012-02-20 Joseph Myers <joseph@codesourcery.com>
49821
49822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49823 in C locale.
49824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49828
06b99b02
AJ
498292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49830
49831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49833
7638c0fd
AS
498342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49835
49836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49838 defined.
49839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49840 Likewise.
49841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49842 entry for 2.16.
49843
92221550
AJ
498442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49845
49846 * math/w_acos.c: Use non-signaling floating-point comparisons.
49847 * math/w_acosf.c: Likewise.
49848 * math/w_acosh.c: Likewise.
49849 * math/w_acoshf.c: Likewise.
49850 * math/w_acoshl.c: Likewise.
49851 * math/w_acosl.c: Likewise.
49852 * math/w_asin.c: Likewise.
49853 * math/w_asinf.c: Likewise.
49854 * math/w_asinl.c: Likewise.
49855 * math/w_atanh.c: Likewise.
49856 * math/w_atanhf.c: Likewise.
49857 * math/w_atanhl.c: Likewise.
49858 * math/w_exp2.c: Likewise.
49859 * math/w_exp2f.c: Likewise.
49860 * math/w_exp2l.c: Likewise.
49861 * math/w_j0.c: Likewise.
49862 * math/w_j0f.c: Likewise.
49863 * math/w_j0l.c: Likewise.
49864 * math/w_j1.c: Likewise.
49865 * math/w_j1f.c: Likewise.
49866 * math/w_j1l.c: Likewise.
49867 * math/w_jn.c: Likewise.
49868 * math/w_jnf.c: Likewise.
49869 * math/w_log.c: Likewise.
49870 * math/w_log10.c: Likewise.
49871 * math/w_log10f.c: Likewise.
49872 * math/w_log10l.c: Likewise.
49873 * math/w_log2.c: Likewise.
49874 * math/w_log2f.c: Likewise.
49875 * math/w_log2l.c: Likewise.
49876 * math/w_logf.c: Likewise.
49877 * math/w_logl.c: Likewise.
49878 * math/w_sqrt.c: Likewise.
49879 * math/w_sqrtf.c: Likewise.
49880 * math/w_sqrtl.c: Likewise.
49881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49886
ebaf36eb
JM
498872012-02-19 Joseph Myers <joseph@codesourcery.com>
49888
49889 [BZ #9739]
49890 * manual/string.texi (strnlen): Use correct parameter name in
49891 equivalent expression.
49892
71c254a6
JM
498932012-02-19 Joseph Myers <joseph@codesourcery.com>
49894
49895 [BZ #11174]
49896 * manual/users.texi (seteuid): Consistently use neweuid for
49897 argument name.
49898
16d2c631
JM
498992012-02-19 Joseph Myers <joseph@codesourcery.com>
49900
49901 [BZ #13704]
49902 * manual/nss.texi (Services in the NSS configuration): Correct
49903 list of services in example configuration file.
49904
cd837b09
NB
499052012-02-19 Nick Bowler <nbowler@draconx.ca>
49906
49907 [BZ #11322]
49908 * manual/arith.texi: Remove statements about negative zero
49909 behaving identically to zero.
49910
02c4bbad
JM
499112012-02-18 Joseph Myers <joseph@codesourcery.com>
49912
49913 [BZ #5993]
49914 * manual/install.texi: Do not document upgrading from libc5.
49915
366842e7
JM
499162012-02-18 Joseph Myers <joseph@codesourcery.com>
49917
49918 [BZ #4596]
49919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49920
dd54084d
DM
499212012-02-18 David S. Miller <davem@davemloft.net>
49922
49923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49925 %o7 across the call.
49926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49927 instead.
49928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49929 SETUP_PIC_REG_LEAF.
49930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49932 * sysdeps/sparc/crtn.S: Likewise.
49933
2bcc53a3
UD
499342012-02-17 Ulrich Drepper <drepper@gmail.com>
49935
49936 * aout/Makefile: Remove.
49937
09c093b5
RK
499382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49939
49940 [BZ #13058]
49941 * manual/examples/argp-ex1.c (main): Format definition in GNU
49942 style.
49943 * manual/examples/argp-ex2.c (main): Likewise.
49944 * manual/examples/argp-ex3.c (main): Likewise.
49945 * manual/examples/argp-ex4.c (main): Likewise.
49946 * manual/examples/longopt.c (main): Use new-style prototype
49947 definition.
49948 * manual/examples/strncat.c (main): Specify return type and use
49949 (void) for arguments.
49950 * manual/examples/subopt.c (main): Use char **argv argument.
49951
2ee633a2
JM
499522012-02-17 Joseph Myers <joseph@codesourcery.com>
49953
49954 [BZ #5077]
49955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49956 rounding modes.
49957
0520adde
FB
499582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49959
49960 [BZ #6907]
49961 * manual/string.texi (strchr): Change when strchrnul is
49962 recommended.
49963
3f4081cd
DGM
499642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49965
49966 [BZ #174]
49967 * manual/locale.texi (setlocale): Document LOCPATH.
49968
d1b10e78
JM
499692012-02-17 Joseph Myers <joseph@codesourcery.com>
49970
49971 [BZ #10210]
49972 * manual/process.texi (execle): Move @dots{} before last argument.
49973
79c6869c
PB
499742012-02-17 Paul Bolle <pebolle@tiscali.nl>
49975
49976 [BZ #12047]
49977 * manual/charset.texi (Generic Charset Conversion): Fix typo
49978 (LC_TYPE -> LC_CTYPE).
49979
cc6e48bc
NB
499802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49981
49982 [BZ #5805]
49983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49984 (scalbnf): Likewise.
49985 (scalbnl): Likewise.
49986 (scalbln): Likewise.
49987 (scalblnf): Likewise.
49988 (scalblnl): Likewise.
49989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49990 (vwarnx): Likewise.
49991 (verr): Likewise.
49992 (verrx): Likewise.
49993 * manual/filesys.texi (telldir): Use braces around return type.
49994 * manual/llio.texi (mmap): Add space after comma.
49995 (mmap64): Likewise.
49996 * manual/math.texi (jn): Use @var{} on parameter names.
49997 (jnf): Likewise.
49998 (jnl): Likewise.
49999 (yn): Likewise.
50000 (ynf): Likewise.
50001 (ynl): Likewise.
50002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50003 line.
50004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50005 "...".
50006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50007 (sched_get_priority_max): Likewise.
50008 * manual/signal.texi (sigvec): Add space after comma.
50009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50010 names.
50011 (if_indextoname): Likewise.
50012 (if_freenameindex): Likewise.
50013 (sendto): Use ',' instead of '.' in prototype.
50014 * manual/startup.texi (syscall): Use @dots{} instead of literal
50015 "...".
50016 * manual/stdio.texi (__fpending): Separate initial words of
50017 paragraph from @deftypefun line.
50018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50019 "...".
50020 (vsyslog): Use @var{} on parameter names.
50021 * manual/terminal.texi (stty): Use @var{} on parameter names.
50022 * manual/users.texi (getutmp): Use @var{} on parameter names.
50023 (getutmpx): Likewise.
50024
5b23062f
JM
500252012-02-17 Joseph Myers <joseph@codesourcery.com>
50026
50027 [BZ #6884]
50028 * manual/stdio.texi (fopen): Fix typos in description of
50029 ",ccs=STRING".
50030
8dee4833
AJ
500312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50032
50033 [BZ #4026]
50034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50035 get clock_id definition.
50036
9078ce93
TS
500372012-02-17 Thomas Schwinge <thomas@schwinge.name>
50038
50039 [BZ #4822]
50040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50041 (madvise): Cast every argument to void on its own.
50042
3835c55f
JM
500432012-02-17 Joseph Myers <joseph@codesourcery.com>
50044
50045 [BZ #9902]
50046 * manual/startup.texi (Exit Status): Fix typo.
50047
35c47e37
JM
500482012-02-17 Joseph Myers <joseph@codesourcery.com>
50049
50050 [BZ #10140]
50051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50052 * manual/examples/argp-ex2.c: Likewise.
50053 * manual/examples/argp-ex3.c: Likewise.
50054
e3b69ca7
RH
500552012-02-16 Richard Henderson <rth@redhat.com>
50056
50057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50058 * sysdeps/s390/s390-32/initfini.c: Remove.
50059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50060 * sysdeps/s390/s390-64/initfini.c: Remove.
50061
df83af67
KK
500622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50063
50064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50065 compiler output for sysdeps/generic/initfini.c.
50066 * sysdeps/sh/elf/initfini.c: Remove file.
50067
f63f3380
DM
500682012-02-16 David S. Miller <davem@davemloft.net>
50069
fb59b3a4
DM
50070 [BZ #11494]
50071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50072
f63f3380
DM
50073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50074 * sysdeps/sparc/crti.S: New file.
50075 * sysdeps/sparc/crtn.S: New file.
50076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50077 * sysdeps/sparc/sparc64/Makefile: Likewise.
50078
df6a4a4a
MF
500792012-02-15 Mike Frysinger <vapier@gentoo.org>
50080
6dd8f3dc 50081 [BZ #3335]
df6a4a4a
MF
50082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50083
1cac7236
RM
500842012-02-15 Roland McGrath <roland@hack.frob.com>
50085
d2c736f8
RM
50086 [BZ #4822]
50087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50088
1cac7236
RM
50089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50090 (write, read, close): Likewise.
50091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50092
8e475601
JM
500932012-02-15 Joseph Myers <joseph@codesourcery.com>
50094
50095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50099 <bits/signalfd.h>.
50100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50102 bits/signalfd.h.
50103
ed656b40
MP
501042012-02-14 Marek Polacek <polacek@redhat.com>
50105
50106 * sysdeps/x86_64/crti.S: New file.
50107 * sysdeps/x86_64/crtn.S: New file.
50108 * sysdeps/x86_64/elf/initfini.c: Remove file.
50109
2a979d3a
JM
501102012-02-13 Joseph Myers <joseph@codesourcery.com>
50111
50112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50116 <bits/inotify.h>.
50117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50119 bits/inotify.h.
50120
2a418ac3
JM
501212012-02-13 Joseph Myers <joseph@codesourcery.com>
50122
50123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50127 <bits/eventfd.h>.
50128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50130 bits/eventfd.h.
50131
fb779be7
TS
501322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50133
e19e83c5
RM
50134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50135 __feraiseexcept instead of feraiseexcept.
7c35ffed 50136
fb779be7
TS
50137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50138 nanosleep invocations.
50139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50140 strings, and add error checking for a nanosleep invocations.
50141
59ba27a6
PE
501422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50143
50144 Replace FSF snail mail address with URLs, as per GNU coding standards.
50145 Most of the snail mail addresses were wrong anyway, and omitting
50146 them makes the source code easier to maintain. Almost all of the
50147 changes are to license notices and to locale LC_IDENTIFICATION
50148 addresses, except for this one:
50149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50150 not its snail mail address.
50151
57b957eb
RH
501522012-02-09 Richard Henderson <rth@twiddle.net>
50153
af850b1c
RH
50154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50155 of kernel-features.h.
50156
57b957eb
RH
50157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50158
6b73181a
MP
501592012-02-08 Marek Polacek <polacek@redhat.com>
50160
50161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50163 * sysdeps/gnu/_G_config.h: Likewise.
50164 * sysdeps/generic/_G_config.h: Likewise.
50165
26ecc33a
AS
501662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50167
6c6dbc63
AS
50168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50169 tests.
50170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50171
e216c012
AS
50172 * sysdeps/powerpc/powerpc32/crti.S: New file.
50173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50174 * sysdeps/powerpc/powerpc64/crti.S: New file.
50175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50176
26ecc33a
AS
50177 * Makeconfig (have-initfini): Don't set.
50178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50179 * configure.in (nopic_initfini): Don't substitute.
50180 * config.h.in (HAVE_INITFINI): Don't #undef.
50181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50183
3add8e13
JM
501842012-02-08 Joseph Myers <joseph@codesourcery.com>
50185
50186 Support crti.S and crtn.S provided directly by architectures.
50187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50188 [crti.S in sysdirs] (omit-deps): Likewise.
50189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50198 compiler output for sysdeps/generic/initfini.c.
50199 * sysdeps/i386/elf/Makefile: Remove file.
50200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50201
a22f12b4
MP
502022012-02-07 Marek Polacek <polacek@redhat.com>
50203
50204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50205 * sysdeps/gnu/_G_config.h: Likewise.
50206 * sysdeps/mach/hurd/_G_config.h: Likewise.
50207
148cf100
MP
502082012-02-07 Marek Polacek <polacek@redhat.com>
50209
50210 * math/Makefile (tests): Add tst-CMPLX2.
50211 * math/tst-CMPLX2.c: New file.
50212
cfdc0dd7
AS
502132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50214
84ba42c4
AS
50215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50216
cfdc0dd7
AS
50217 * math/libm-test.inc (jn_test): Add missing L suffix.
50218
622c86f4
MP
502192012-02-06 Marek Polacek <polacek@redhat.com>
50220
50221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50222 * sysdeps/i386/fpu/e_powf.S: Likewise.
50223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50226 * sysdeps/i386/fpu/e_pow.S: Likewise.
50227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50231 * sysdeps/i386/fpu/e_log2.S: Likewise.
50232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50234 * sysdeps/i386/fpu/e_powl.S: Likewise.
50235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50238 * sysdeps/i386/fpu/e_logl.S: Likewise.
50239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50245 * sysdeps/i386/fpu/e_log.S: Likewise.
50246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50249 * sysdeps/i386/fpu/e_logf.S: Likewise.
50250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50255 * sysdeps/i386/fpu/e_log10.S: Likewise.
50256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50262 * sysdeps/i386/asm-syntax.h: Likewise.
50263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50272 * sysdeps/powerpc/sysdep.h: Likewise.
50273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50275
d4a54ac6
JM
502762012-02-06 Joseph Myers <joseph@codesourcery.com>
50277
50278 [BZ #411]
50279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50280
314054ea
JM
502812012-02-06 Joseph Myers <joseph@codesourcery.com>
50282
50283 * sysdeps/i386/sysdep.h: Include <features.h>.
50284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50285 version.
50286
d8e0ca50
JM
502872012-02-05 Joseph Myers <joseph@codesourcery.com>
50288
50289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50290 Define.
50291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50292 LOAD_PIC_REG_STR.
50293
b1da7dd9
JM
502942012-02-03 Joseph Myers <joseph@codesourcery.com>
50295
50296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50297 (SETUP_PIC_REG): Use GET_PC_THUNK.
50298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50299 macro.
50300
9a1d9254
JM
503012012-02-03 Joseph Myers <joseph@codesourcery.com>
50302
50303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50304 for non-PIC compilation.
50305 (SETUP_PIC_REG): Add .p2align directive.
50306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50347
65dc3b75
JM
503482012-02-03 Joseph Myers <joseph@codesourcery.com>
50349
50350 * math/tst-CMPLX.c: Include <stdio.h>.
50351
d55bf177
JM
503522012-01-31 Joseph Myers <joseph@codesourcery.com>
50353
50354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50355 float.
50356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50357 * sysdeps/sparc/bits/mathdef.h: Likewise.
50358
69db4f8f
MP
503592012-01-31 Marek Polacek <polacek@redhat.com>
50360
50361 * libio/libio.h: Don't define _PARAMS.
50362 * locale/programs/config.h: Don't define PARAMS.
50363 * stdlib/strtol_l.c: Likewise.
50364 (__strtol_l): Remove PARAMS from the prototype.
50365
41b81892
UD
503662012-01-31 Ulrich Drepper <drepper@gmail.com>
50367
3b49edc0
UD
50368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50369 names. Just use the correct names. Remove unnecessary wrapper
50370 functions.
50371 * malloc/arena.c: Likewise.
50372 * malloc/hooks.c: Likewise.
50373
41b81892
UD
50374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50375 ARENA_TEST says not to. Simplify test for creation of a new arena.
50376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50377
27a25b6e
UD
503782012-01-30 Ulrich Drepper <drepper@gmail.com>
50379
50380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50381 into tail calls.
50382 (update_get_addr): New function.
50383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50384 GET_ADDR_MODULE parameter.
50385
c8a89e7d
JM
503862012-01-30 Joseph Myers <joseph@codesourcery.com>
50387
50388 * crypt/cert.c: Remove __STDC__ conditionals.
50389 * crypt/crypt-entry.c: Likewise.
50390 * crypt/crypt_util.c: Likewise.
50391 * libio/filedoalloc.c: Likewise.
50392 * libio/fileops.c: Likewise.
50393 * libio/genops.c: Likewise.
50394 * libio/iofclose.c: Likewise.
50395 * libio/iofdopen.c: Likewise.
50396 * libio/iofopen.c: Likewise.
50397 * libio/iofopen64.c: Likewise.
50398 * libio/iogetdelim.c: Likewise.
50399 * libio/iopopen.c: Likewise.
50400 * libio/obprintf.c: Likewise.
50401 * libio/oldfileops.c: Likewise.
50402 * libio/oldiofclose.c: Likewise.
50403 * libio/oldiofdopen.c: Likewise.
50404 * libio/oldiofopen.c: Likewise.
50405 * libio/oldiopopen.c: Likewise.
50406 * libio/wfiledoalloc.c: Likewise.
50407 * libio/wgenops.c: Likewise.
50408 * locale/programs/xmalloc.c: Likewise.
50409 * misc/syslog.c: Likewise.
50410 * stdio-common/xbug.c: Likewise.
50411 * string/memchr.c: Likewise.
50412 * string/memcmp.c: Likewise.
50413 * string/memrchr.c: Likewise.
50414 * string/rawmemchr.c: Likewise.
50415 * sysdeps/posix/getcwd.c: Likewise.
50416 * time/strftime_l.c: Likewise.
50417
3b100462
JM
504182012-01-30 Joseph Myers <joseph@codesourcery.com>
50419
50420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50421 * config.make.in (config-cflags-sse2avx): Define.
50422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50423 Fix typo.
50424
607998af
CM
504252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50426
50427 * scripts/config.guess: Update from upstream config git repository.
50428 * scripts/config.sub: Likewise.
50429
3601428f
CM
504302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50431
3ac8b282
CM
50432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50433 (EM_NUM): Update.
50434 (R_TILEPRO_*, R_TILEGX_*): New macros.
50435
e034841e
CM
50436 * scripts/firstversions.awk: Fix bug in version range handling.
50437
540d7568
CM
50438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50439
3601428f
CM
50440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50441
463de862
CM
50442 * include/sys/epoll.h: New file.
50443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50444 libc_hidden_def.
50445
73139a76
UD
504462012-01-28 Ulrich Drepper <drepper@gmail.com>
50447
96bc5b45
UD
50448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50449 Avoid unnecessary __WORDSIZE == 64 test.
50450 (fmaxf): Use VEX format if possible.
50451 (fmax): Likewise.
50452 (fminf): Likewise.
50453 (fmin): Likewise.
50454
56f6f6a2
UD
50455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50456 * math/math_private.h: Remove libc_fegetround* and
50457 libc_fesetround*.
50458 * sysdeps/i386/configure.in: Check for -msse2avx.
50459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50460 also if SSE2AVX is defined.
50461 Remove libc_fegetround* and libc_fesetround*.
50462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50465 of HAS_YMM_USABLE.
50466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50471
73139a76
UD
50472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50473
d73f93a4
AZ
504742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50475
50476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50477 size is not set.
50478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50479
6ee65ed6
UD
504802012-01-27 Ulrich Drepper <drepper@gmail.com>
50481
50482 [BZ #13618]
50483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50484 relocation.
50485 * Makeconfig (libm): Define.
50486 * elf/Makefile: Add rules to build and run tst-relsort1.
50487 * elf/tst-relsort1.c: New file.
50488 * elf/tst-relsort1mod1.c: New file.
50489 * elf/tst-relsort1mod2.c: New file.
50490
8db21882
JM
504912012-01-27 Joseph Myers <joseph@codesourcery.com>
50492
50493 * math/s_ldexp.c: Remove __STDC__ conditionals.
50494 * math/s_ldexpf.c: Likewise.
50495 * math/s_ldexpl.c: Likewise.
50496 * math/s_nextafter.c: Likewise.
50497 * math/s_nexttowardf.c: Likewise.
50498 * math/s_significand.c: Likewise.
50499 * math/s_significandf.c: Likewise.
50500 * math/s_significandl.c: Likewise.
50501 * math/w_jnl.c: Likewise.
50502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50542 * sysdeps/ieee754/k_standard.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50622 * sysdeps/ieee754/s_matherr.c: Likewise.
50623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50627
965a54a4
JM
506282012-01-26 Joseph Myers <joseph@codesourcery.com>
50629
50630 * crypt/md5.h: Remove __STDC__ conditionals.
50631 * libio/libioP.h: Likewise.
50632 * locale/programs/config.h: Likewise.
50633 * sysdeps/generic/sysdep.h: Likewise.
50634 * sysdeps/i386/asm-syntax.h: Likewise.
50635 * sysdeps/s390/asm-syntax.h: Likewise.
50636 * sysdeps/unix/sysdep.h: Likewise.
50637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50639
7071ad79
JM
506402012-01-26 Joseph Myers <joseph@codesourcery.com>
50641
50642 * libio/libio.h: Remove __STDC__ conditionals.
50643 * malloc/obstack.h: Likewise.
50644 * math/complex.h: Likewise.
50645 * math/math.h: Likewise.
50646 * sysdeps/generic/_G_config.h: Likewise.
50647 * sysdeps/gnu/_G_config.h: Likewise.
50648 * sysdeps/mach/hurd/_G_config.h: Likewise.
50649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50651 * sysdeps/sparc/bits/mathdef.h: Likewise.
50652
afc5ed09
UD
506532012-01-26 Ulrich Drepper <drepper@gmail.com>
50654
50655 [BZ #13583]
50656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50657 Clean up HAS_* macros.
afc5ed09 50658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50660 possible.
50661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50662 HAS_AVX.
50663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50668
bdb6de1d
JM
506692012-01-25 Joseph Myers <joseph@codesourcery.com>
50670
50671 * elf/tst-unique3.cc (gets): Remove declaration.
50672 * elf/tst-unique3lib.cc (gets): Likewise.
50673 * elf/tst-unique3lib2.cc (gets): Likewise.
50674 * elf/tst-unique4.cc (gets): Likewise.
50675
b15549e6
UD
506762012-01-24 Ulrich Drepper <drepper@gmail.com>
50677
50678 * include/stdio.h: Add C++ protection. Add gets declarations and
50679 definitions.
50680 * debug/tst-chk1.c: Don't declare gets here.
50681 * stdio-common/tst-gets.c: Likewise.
50682
a037381f
JM
506832012-01-24 Joseph Myers <joseph@codesourcery.com>
50684
50685 * posix/glob: Remove directory.
50686
f1d4aa75
JM
506872012-01-24 Joseph Myers <joseph@codesourcery.com>
50688
50689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50690
81c0c964
PT
506912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50692
50693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50694 of the non-standard EPFNOSUPPORT.
50695
0ea698ae
ST
506962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50697
50698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50701
d220b117
UD
507022012-01-21 Ulrich Drepper <drepper@gmail.com>
50703
50704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50705
3e1aa84e
UD
507062012-01-20 Ulrich Drepper <drepper@gmail.com>
50707
50708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50709 transient errors.
50710 * nscd/grpcache.c (cache_addgr): Likewise.
50711 * nscd/hstcache.c (cache_addhst): Likewise.
50712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50713 * nscd/pwdcache.c (cache_addpw): Likewise.
50714 * nscd/servicescache.c (cache_addserv): Likewise.
50715
400aa020
UD
507162012-01-16 Ulrich Drepper <drepper@gmail.com>
50717
d77e7869
UD
50718 * malloc/malloc.c: Various cleanups.
50719 * malloc/hooks.c: Likewise.
50720
400aa020
UD
50721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50722 * stdlib/bug-fmtmsg1.c: New file.
50723
50724 * stdlib/fmtmsg.c (init): Add missing unlock.
50725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50726
e0a309cf
MP
507272012-01-12 Marek Polacek <polacek@redhat.com>
50728
50729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50730 and _GNU_SOURCE.
50731
929d11c7
WS
507322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50733
50734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50736 macro to ensure uniqueness of label name.
50737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50739
41d0e869
UD
507402012-01-11 Ulrich Drepper <drepper@gmail.com>
50741
0cc5ed3b
UD
50742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50743
41d0e869
UD
50744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50748
a47a831a
UD
507492012-01-10 Ulrich Drepper <drepper@gmail.com>
50750
daa891c0
UD
50751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50752
50753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50756
e58ef0f2
UD
50757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50758
a47a831a 50759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50763
50764 * math/bits/math-finite.h: Add ldexp support.
50765
a0bfc9c7
MP
507662012-01-10 Marek Polacek <polacek@redhat.com>
50767
50768 * locale/programs/localedef.h (show_archive_content): Add noreturn
50769 attribute.
50770
d6e97a1d
UD
507712012-01-09 Ulrich Drepper <drepper@gmail.com>
50772
50773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50774
d5835c26
UD
507752012-01-08 Ulrich Drepper <drepper@gmail.com>
50776
e5f484c6
UD
50777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50778
d5835c26
UD
50779 * io/Makefile (headers): Add bits/poll2.h.
50780
d1f741e9
WS
507812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50782
50783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50784 typo #include statement.
50785
ec09c1c4
UD
507862012-01-08 Ulrich Drepper <drepper@gmail.com>
50787
50788 * include/sys/cdefs.h: Define __attribute_alloc_size.
50789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50791 * elf/pldd.c: Likewise.
50792 * iconv/iconv_charmap.c: Likewise.
50793 * iconv/iconvconfig.c: Likewise.
50794 * iconv/strtab.c: Likewise.
50795 * locale/programs/locale.c: Likewise.
50796 * locale/programs/localedef.h: Likewise.
50797 * locale/programs/simple-hash.c: Likewise.
50798 * nscd/nscd.h: Likewise.
50799 * nss/makedb.c: Likewise.
50800 * sysdeps/generic/ldconfig.h: Likewise.
50801 * locale/programs/localedef.c: Remove xmalloc prototype.
50802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50803
20b38e03
PP
508042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50805
50806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50807 appropriate.
50808
a0da5fe1
UD
508092012-01-08 Ulrich Drepper <drepper@gmail.com>
50810
1d5a644a 50811 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50812 * math/tst-CMPLX.c: New file.
1d5a644a 50813
8784a6db
UD
50814 * math/complex.h (CMPLXL): Fix typo.
50815
d9a216c0
UD
50816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50818 GLIBC_2.16.
50819 * debug/tst-chk1.c: Add poll and ppoll tests.
50820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50821 * include/sys/poll.h: Add hidden proto for ppoll.
50822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50823 * sysdeps/mach/hurd/ppoll.c: Likewise.
50824 * io/ppoll.c: Likewise.
50825 * debug/poll_chk.c: New file.
50826 * debug/ppoll_chk.c: New file.
50827 * include/bits/poll2.h: New file.
50828 * io/bits/poll2.h: New file.
50829
ac097f5c
UD
50830 [BZ #1350]
50831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50832
2119dcfa
UD
50833 * configure.in: static is always set to yes. Remove.
50834 * config.make.in: Don't set build-static.
50835 * Makeconfig: Remove use of build-static.
50836 * dlfcn/Makefile: Likewise.
50837 * elf/Makefile: Likewise.
50838 * math/Makefile: Likewise.
50839 * misc/Makefile: Likewise.
50840 * nptl/Makefile: Likewise.
50841 * sysdeps/mach/hurd/Makefile: Likewise.
50842
121766a9
UD
50843 * configure.in: PWD_P is not used anymore.
50844 * config.make.in: Remove PWD_P entry.
50845
51a1d39c 50846 * configure.in: Remove last remnants of RANLIB.
8720d066 50847 No need to check for signed size_t anymore.
215f4bdc
UD
50848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50849 and IA-64.
3857022a 50850 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50851 * aclocal.m4: Likewise.
50852
d3ed7225
UD
50853 * wcsmbs/mbrtoc16.c: Implement using towc function.
50854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50855 * wcsmbs/wcsmbsload.c: Likewise.
50856 * iconv/gconv_simple.c: Likewise.
50857 * iconv/gconv_int.h: Likewise.
50858 * iconv/gconv_builtin.h: Likewise.
50859 * iconv/iconv_prog.c: Remove CHAR16 handling.
50860
50861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50862
50863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50864
a0da5fe1
UD
50865 * configure.in: Remove --with-elf and --enable-bounded options.
50866 Dont set base_machine for ia64. More non-ELF conditions removed.
50867 Remove testing and setting of leading underscore information.
50868 * config.make.in (build-bounded): Set to no.
50869 * config.h.in: Remove NO_UNDERSCORES entry.
50870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50871 them.
50872 * csu/start.c: Remove !NO_UNDERSCORE code.
50873 * locale/localeinfo.h: Likewise.
50874 * sysdeps/generic/machine-gmon.h: Likewise.
50875 * sysdeps/generic/sysdep.h: Likewise.
50876 * sysdeps/i386/sysdep.h: Likewise.
50877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50878 * sysdeps/mach/sysdep.h: Likewise.
50879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50881 * sysdeps/sh/sysdep.h: Likewise.
50882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50883 * sysdeps/unix/i386/sysdep.S: Likewise.
50884 * sysdeps/unix/sparc/start.c: Likewise.
50885 * sysdeps/unix/sparc/sysdep.S: Likewise.
50886 * sysdeps/unix/sparc/sysdep.h: Likewise.
50887 * sysdeps/unix/start.c: Likewise.
50888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50889 * sysdeps/x86_64/sysdep.h: Likewise.
50890
df78418a
UD
508912012-01-07 Ulrich Drepper <drepper@gmail.com>
50892
a784e502
UD
50893 [BZ #13553]
50894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50895 for non-gcc.
50896 * argp/argp-fmtstream.h: Use const instead __const.
50897 * argp/argp.h: Likewise.
50898 * assert/assert.h: Likewise.
50899 * bits/fenv.h: Likewise.
50900 * bits/sched.h: Likewise.
50901 * bits/sigset.h: Likewise.
50902 * bits/sigthread.h: Likewise.
50903 * catgets/nl_types.h: Likewise.
50904 * conform/data/pthread.h-data: Likewise.
50905 * crypt/crypt-private.h: Likewise.
50906 * crypt/crypt.h: Likewise.
50907 * crypt/crypt_util.c: Likewise.
50908 * ctype/ctype.h: Likewise.
50909 * debug/execinfo.h: Likewise.
50910 * debug/mbsnrtowcs_chk.c: Likewise.
50911 * debug/mbsrtowcs_chk.c: Likewise.
50912 * debug/wcsnrtombs_chk.c: Likewise.
50913 * debug/wcsrtombs_chk.c: Likewise.
50914 * debug/wcstombs_chk.c: Likewise.
50915 * dirent/dirent.h: Likewise.
50916 * dlfcn/dlfcn.h: Likewise.
50917 * elf/neededtest4.c: Likewise.
50918 * grp/grp.h: Likewise.
50919 * gshadow/gshadow.h: Likewise.
50920 * iconv/gconv.h: Likewise.
50921 * iconv/gconv_int.h: Likewise.
50922 * iconv/gconv_simple.c: Likewise.
50923 * iconv/iconv.h: Likewise.
50924 * iconv/loop.c: Likewise.
50925 * iconv/skeleton.c: Likewise.
50926 * include/aio.h: Likewise.
50927 * include/aliases.h: Likewise.
50928 * include/argz.h: Likewise.
50929 * include/arpa/inet.h: Likewise.
50930 * include/assert.h: Likewise.
50931 * include/dirent.h: Likewise.
50932 * include/dlfcn.h: Likewise.
50933 * include/execinfo.h: Likewise.
50934 * include/fcntl.h: Likewise.
50935 * include/fenv.h: Likewise.
50936 * include/glob.h: Likewise.
50937 * include/grp.h: Likewise.
50938 * include/libintl.h: Likewise.
50939 * include/mntent.h: Likewise.
50940 * include/netdb.h: Likewise.
50941 * include/pwd.h: Likewise.
50942 * include/rpc/netdb.h: Likewise.
50943 * include/sched.h: Likewise.
50944 * include/search.h: Likewise.
50945 * include/shadow.h: Likewise.
50946 * include/signal.h: Likewise.
50947 * include/stdio.h: Likewise.
50948 * include/stdlib.h: Likewise.
50949 * include/string.h: Likewise.
50950 * include/sys/socket.h: Likewise.
50951 * include/sys/stat.h: Likewise.
50952 * include/sys/statfs.h: Likewise.
50953 * include/sys/statvfs.h: Likewise.
50954 * include/sys/syslog.h: Likewise.
50955 * include/sys/time.h: Likewise.
50956 * include/sys/uio.h: Likewise.
50957 * include/time.h: Likewise.
50958 * include/unistd.h: Likewise.
50959 * include/utmp.h: Likewise.
50960 * include/wchar.h: Likewise.
50961 * include/wctype.h: Likewise.
50962 * inet/aliases.h: Likewise.
50963 * inet/arpa/inet.h: Likewise.
50964 * inet/netinet/ether.h: Likewise.
50965 * inet/netinet/in.h: Likewise.
50966 * intl/libintl.h: Likewise.
50967 * io/bits/fcntl2.h: Likewise.
50968 * io/fcntl.h: Likewise.
50969 * io/ftw.h: Likewise.
50970 * io/sys/poll.h: Likewise.
50971 * io/sys/stat.h: Likewise.
50972 * io/sys/statfs.h: Likewise.
50973 * io/sys/statvfs.h: Likewise.
50974 * io/utime.h: Likewise.
50975 * libio/bits/stdio.h: Likewise.
50976 * libio/bits/stdio2.h: Likewise.
50977 * libio/libio.h: Likewise.
50978 * libio/libioP.h: Likewise.
50979 * libio/stdio.h: Likewise.
50980 * locale/lc-ctype.c: Likewise.
50981 * locale/locale.h: Likewise.
50982 * login/utmp.h: Likewise.
50983 * malloc/arena.c: Likewise.
50984 * malloc/malloc.c: Likewise.
50985 * malloc/malloc.h: Likewise.
50986 * malloc/mcheck.c: Likewise.
50987 * malloc/mtrace.c: Likewise.
50988 * math/bits/mathcalls.h: Likewise.
50989 * math/fenv.h: Likewise.
50990 * math/math_private.h: Likewise.
50991 * misc/bits/error.h: Likewise.
50992 * misc/bits/syslog.h: Likewise.
50993 * misc/err.h: Likewise.
50994 * misc/error.h: Likewise.
50995 * misc/fstab.h: Likewise.
50996 * misc/mntent.h: Likewise.
50997 * misc/regexp.h: Likewise.
50998 * misc/search.h: Likewise.
50999 * misc/sgtty.h: Likewise.
51000 * misc/sys/mman.h: Likewise.
51001 * misc/sys/syslog.h: Likewise.
51002 * misc/sys/uio.h: Likewise.
51003 * misc/sys/xattr.h: Likewise.
51004 * misc/ttyent.h: Likewise.
51005 * nis/rpcsvc/ypclnt.h: Likewise.
51006 * nss/nss.h: Likewise.
51007 * posix/bits/unistd.h: Likewise.
51008 * posix/fnmatch.h: Likewise.
51009 * posix/glob.h: Likewise.
51010 * posix/sched.h: Likewise.
51011 * posix/spawn.h: Likewise.
51012 * posix/sys/wait.h: Likewise.
51013 * posix/unistd.h: Likewise.
51014 * posix/wordexp.h: Likewise.
51015 * pwd/pwd.h: Likewise.
51016 * resolv/netdb.h: Likewise.
51017 * resource/sys/resource.h: Likewise.
51018 * rt/aio.h: Likewise.
51019 * rt/bits/mqueue2.h: Likewise.
51020 * rt/mqueue.h: Likewise.
51021 * shadow/shadow.h: Likewise.
51022 * signal/signal.h: Likewise.
51023 * socket/send.c: Likewise.
51024 * socket/sendto.c: Likewise.
51025 * socket/sys/socket.h: Likewise.
51026 * stdio-common/printf.h: Likewise.
51027 * stdlib/bits/stdlib.h: Likewise.
51028 * stdlib/fmtmsg.h: Likewise.
51029 * stdlib/monetary.h: Likewise.
51030 * stdlib/stdlib.h: Likewise.
51031 * stdlib/ucontext.h: Likewise.
51032 * streams/stropts.h: Likewise.
51033 * string/argz.h: Likewise.
51034 * string/bits/string2.h: Likewise.
51035 * string/string.h: Likewise.
51036 * string/strings.h: Likewise.
51037 * sunrpc/rpc/auth.h: Likewise.
51038 * sunrpc/rpc/auth_des.h: Likewise.
51039 * sunrpc/rpc/clnt.h: Likewise.
51040 * sunrpc/rpc/netdb.h: Likewise.
51041 * sunrpc/rpc/pmap_clnt.h: Likewise.
51042 * sunrpc/rpc/xdr.h: Likewise.
51043 * sysdeps/generic/inttypes.h: Likewise.
51044 * sysdeps/generic/net/if.h: Likewise.
51045 * sysdeps/generic/sys/swap.h: Likewise.
51046 * sysdeps/gnu/net/if.h: Likewise.
51047 * sysdeps/gnu/utmpx.h: Likewise.
51048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51049 * sysdeps/i386/i486/bits/string.h: Likewise.
51050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51051 * sysdeps/s390/bits/string.h: Likewise.
51052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51083 * sysvipc/sys/ipc.h: Likewise.
51084 * sysvipc/sys/msg.h: Likewise.
51085 * sysvipc/sys/sem.h: Likewise.
51086 * sysvipc/sys/shm.h: Likewise.
51087 * termios/termios.h: Likewise.
51088 * time/sys/time.h: Likewise.
51089 * time/time.h: Likewise.
51090 * wcsmbs/bits/wchar2.h: Likewise.
51091 * wcsmbs/uchar.h: Likewise.
51092 * wcsmbs/wchar.h: Likewise.
51093 * wctype/wctype.h: Likewise.
51094
0269750c
UD
51095 [BZ #13551]
51096 * Makeconfig: Remove all but ELF support including AIX support.
51097 * Makerules: Likewise.
51098 * config.h.in: Likewise.
51099 * config.make.in: Likewise.
51100 * configure: Likewise.
51101 * configure.in: Likewise.
51102 * csu/Makefile: Likewise.
51103 * csu/version.c: Likewise.
51104 * debug/Makefile: Likewise.
51105 * dlfcn/Makefile: Likewise.
51106 * elf/Makefile: Likewise.
51107 * extra-lib.mk: Likewise.
51108 * iconv/Makefile: Likewise.
51109 * include/libc-symbols.h: Likewise.
51110 * include/shlib-compat.h: Likewise.
51111 * resolv/Makefile: Likewise.
51112 * resolv/res_libc.c: Likewise.
51113 * rt/Makefile: Likewise.
51114 * sysdeps/i386/asm-syntax.h: Likewise.
51115 * sysdeps/i386/sysdep.h: Likewise.
51116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51117 * sysdeps/mach/sysdep.h: Likewise.
51118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51120 * sysdeps/s390/asm-syntax.h: Likewise.
51121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51123 * sysdeps/sh/sysdep.h: Likewise.
51124 * sysdeps/unix/sparc/sysdep.h: Likewise.
51125 * sysdeps/wordsize-32/divdi3.c: Likewise.
51126 * sysdeps/x86_64/sysdep.h: Likewise.
51127
00bbd29b
UD
51128 * argp/Versions: Remove _argp_unlock_xxx.
51129
51130 [BZ #13559]
51131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51132 * abilist/libBrokenLocale.abilist: Likewise.
51133 * abilist/libanl.abilist: Likewise.
51134 * abilist/libc.abilist: Likewise.
51135 * abilist/libcrypt.abilist: Likewise.
51136 * abilist/libdl.abilist: Likewise.
51137 * abilist/libm.abilist: Likewise.
51138 * abilist/libnsl.abilist: Likewise.
51139 * abilist/libpthread.abilist: Likewise.
51140 * abilist/libresolv.abilist: Likewise.
51141 * abilist/librt.abilist: Likewise.
51142 * abilist/libthread_db.abilist: Likewise.
51143 * abilist/libutil.abilist: Likewise.
51144 * abilist/libnss_db.abilist: New file.
51145
51146 * scripts/abilist.awk: Add support for indirect functions.
51147
a2693a0e
UD
51148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51149
3f05895f
UD
51150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51151
ecb6fb48
UD
51152 * shlib-versions: Remove entries for ports architectures.
51153
664f8cb9
UD
51154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51155 files in ports.
51156 * elf/stackguard-macros.h: Remove support for IA-64.
51157 * elf/tst-auditmod1.c: Likewise.
51158 * sysdeps/generic/ldsodefs.h: Likewise.
51159
7ae81d88
UD
51160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51162 configure files.
51163
bdeba135
UD
51164 [BZ #13552]
51165 * configure.in: Remove --enable-omitfp support.
51166 * FAQ.in: Adjust.
51167 * config.make.in: Likewise.
51168 * Makeconfig: Likewise.
51169 * manual/install.texi: Likewise.
51170
d75a0a62
UD
51171 In case anyone cares, the IA-64 architecture could move to ports.
51172 * sysdeps/ia64/*: Removed.
51173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51175
dcc9756b
UD
51176 [BZ #13555]
51177 * configure.in: Remove entries for unsupported architectures.
51178
d3761ebc 51179 [BZ #13533]
9954432e
UD
51180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51182 routines.
51183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51186 fall back to using wcrtomb.
51187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51189 renaming.
51190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51191 * wcsmbs/tst-c16c32-1.c: New file.
51192
51193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51194 local variable.
51195
c3a87236
UD
51196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51197
28926a1b
UD
51198 * elf/tst-unique3.cc: Add explicit declaration of gets.
51199 * elf/tst-unique3lib.cc: Likewise.
51200 * elf/tst-unique3lib2.cc: Likewise.
51201 * elf/tst-unique4.cc: Likewise.
51202
df78418a
UD
51203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51204
8ecd6b2a
JM
512052012-01-06 Joseph Myers <joseph@codesourcery.com>
51206
51207 [BZ #13566]
51208 * assert/assert.h (static_assert): Don't define for C++.
51209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51211
9f115170
UD
512122012-01-03 Ulrich Drepper <drepper@gmail.com>
51213
5e0d0300
UD
51214 * iconv/loop.c (single loop): Fix assertion in storing of
51215 remaining bytes.
51216
9f115170
UD
51217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51218
81fb02b0
UD
512192012-01-01 Ulrich Drepper <drepper@gmail.com>
51220
51221 * posix/getconf.c: Update copyright year.
51222 * nss/getent.c: Likewise.
a316c1f6 51223 * nss/makedb.c: Likewise.
81fb02b0
UD
51224 * iconv/iconvconfig.c: Likewise.
51225 * iconv/iconv_prog.c: Likewise.
51226 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51227 * elf/pldd.c: Likewise.
51228 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51229 * catgets/gencat.c: Likewise.
51230 * csu/version.c: Likewise.
51231 * elf/ldd.bash.in: Likewise.
51232 * elf/sprof.c (print_version): Likewise.
51233 * locale/programs/locale.c: Likewise.
51234 * locale/programs/localedef.c: Likewise.
a316c1f6 51235 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51236 * nscd/nscd.c (print_version): Likewise.
51237 * debug/xtrace.sh: Likewise.
51238 * malloc/memusage.sh: Likewise.
51239 * malloc/mtrace.pl: Likewise.
51240 * debug/catchsegv.sh: Likewise.
51241
2ba92745
JJ
512422011-12-30 Jakub Jelinek <jakub@redhat.com>
51243
51244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51245 pure attribute.
51246
dadebdae
UD
512472011-12-24 Ulrich Drepper <drepper@gmail.com>
51248
d3761ebc 51249 [BZ #13533]
db6af3eb
UD
51250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51252 transformations.
51253 * iconv/gconv_int.h: Likewise.
51254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51256 from libc for GLIBC_2.16.
51257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51259 * wcsmbs/uchar.h: Really define mbstate_t.
51260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51261 * wcsmbs/c16rtomb.c: New file.
51262 * wcsmbs/mbrtoc16.c: New file.
51263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51264 for C/POSIX locale.
51265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51267
dadebdae
UD
51268 * wcsmbs/wchar.h: Add missing __restrict.
51269
67371b56
UD
512702011-12-23 Ulrich Drepper <drepper@gmail.com>
51271
74033a25
UD
51272 [BZ #13532]
51273 * time/Makefile (routines): Add timespec_get.
51274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51276 timespec for ISO C11.
51277 * time/timespec_get.c: New file.
51278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51280
380d7e87
UD
51281 [BZ #13531]
51282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51283 * stdlib/stdlib.h: Declare aligned_alloc.
51284 * Versions.def: Add GLIBC_2.16 for libc.
51285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51286
4e9e7a35
UD
51287 [BZ 13527]
51288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51289 ISO C11.
51290
380d7e87 51291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51292 code.
51293
03a71829
UD
51294 [BZ #13528]
51295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51296
839e283e
UD
51297 [BZ #13529]
51298 * assert/assert.h (static_assert): Define.
51299
ce5294e2 51300 * version.h: Update for 2.16 development version.
90fa7312 51301
8d44e150 51302 [BZ #13526]
d7809905
UD
51303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51304 _ISOC11_SOURCE.
51305
c0da14cd
UD
51306 * version.h (RELEASE): Bump for 2.15 release.
51307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51308
530a3249
MP
51309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51310 Patch by Marek Polacek <mpolacek@redhat.com>.
51311
67371b56
UD
51312 * bits/byteswap.h: Protect long long constants with __extension__.
51313 * sysdeps/i386/bits/byteswap.h: Likewise.
51314 * sysdeps/ia64/bits/byteswap.h: Likewise.
51315 * sysdeps/s390/bits/byteswap.h: Likewise.
51316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51317
15db4de1
LD
513182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51319
51320 [BZ #13540]
bbe315ea
LD
51321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51322 destination buffer.
15db4de1
LD
51323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51324
2b2596b1
MP
513252011-12-23 Marek Polacek <polacek@redhat.com>
51326
51327 * elf/dl-addr.c (determine_info): Add inline keyword.
51328 * elf/tst-auditmod4b.c (check_avx): Likewise.
51329 * elf/tst-auditmod6b.c (check_avx): Likewise.
51330 * elf/tst-auditmod6c.c (check_avx): Likewise.
51331 * elf/tst-auditmod7b.c (check_avx): Likewise.
51332
70c6c246
UD
513332011-12-23 Ulrich Drepper <drepper@gmail.com>
51334
51335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51336 !__SSE_MATH__.
51337
c044cf14
LD
513382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51339
15db4de1 51340 [BZ #13540]
c044cf14
LD
51341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51342 processing for last bytes.
51343
6b13d9d9
BH
513442011-08-06 Bruno Haible <bruno@clisp.org>
51345
d455f537
BH
51346 [BZ #13061]
51347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51348 U+0385, not to U+1FEE.
51349
6b13d9d9
BH
51350 [BZ #13062]
51351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51352 entry for U+00A5 U+0301.
51353
db910efd
UD
513542011-12-22 Ulrich Drepper <drepper@gmail.com>
51355
27deeafc
UD
51356 [BZ #13166]
51357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51358 buffer for the output is too small.
51359
aed9d171
UD
51360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51361 optimization.
51362
db910efd
UD
51363 [BZ #13185]
51364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51365 SSE flags if possible.
51366
2bd779ae
LD
513672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51368
e7f9dac3 51369 [BZ #13540]
2bd779ae
LD
51370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51371 processing for last bytes.
51372
154bfc16
JM
513732011-12-22 Joseph Myers <joseph@codesourcery.com>
51374
51375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51376 (syscall-list-default-options, syscall-list-default-condition)
51377 (syscall-list-includes): Define.
51378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51379 list of ABIs and options and #if conditions for each ABI. Do not
51380 handle common syscalls between ABIs specially.
51381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51382 Remove.
51383 (syscall-list-variants, syscall-list-32bit-options)
51384 (syscall-list-32bit-condition, syscall-list-64bit-options)
51385 (syscall-list-64bit-condition): Define.
51386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51387 (syscall-list-variants, syscall-list-32bit-options)
51388 (syscall-list-32bit-condition, syscall-list-64bit-options)
51389 (syscall-list-64bit-condition): Define.
51390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51391 Remove.
51392 (syscall-list-variants, syscall-list-32bit-options)
51393 (syscall-list-32bit-condition, syscall-list-64bit-options)
51394 (syscall-list-64bit-condition): Define.
51395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51396 Remove.
51397 (syscall-list-variants, syscall-list-32bit-options)
51398 (syscall-list-32bit-condition, syscall-list-64bit-options)
51399 (syscall-list-64bit-condition): Define.
51400
21eaf3a5
UD
514012011-12-22 Ulrich Drepper <drepper@gmail.com>
51402
16c6f992
UD
51403 * locale/iso-639.def: Add brx entry.
51404
41043168
UD
51405 [BZ #13328]
51406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51408
21eaf3a5
UD
51409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51410 __feraiseexcept_renamed.
51411
e3a851a2
UD
514122011-12-21 Ulrich Drepper <drepper@gmail.com>
51413
4920765e
UD
51414 [BZ #13538]
51415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51416 EPOLLET with unsigned values.
51417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51419
e3a851a2
UD
51420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51421 to large cancellation.
51422 * math/s_cacoshf.c: Likewise.
51423 * math/s_cacoshl.c: Likewise.
51424
b27e24b8
RK
514252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51426
51427 [BZ #13305]
aebefeee 51428 [BZ #12786]
b27e24b8
RK
51429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51430 * math/s_cacoshf.c: Likewise.
51431 * math/s_cacoshl.c: Likewise.
51432
ee190f67
UD
514332011-12-21 Ulrich Drepper <drepper@gmail.com>
51434
51435 [BZ #13439]
51436 * iconv/gconv.h: Define __GCONV_SWAP.
51437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51438 * iconvdata/utf-16.c: Likewise.
51439 * iconvdata/utf-32.c: Likewise.
51440
707f25df
AS
514412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51442
51443 [BZ #13524]
51444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51445 numerator after shifting it by one limb.
51446
d2daaa1e
RÁE
514472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51448
51449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51450 under [__USE_EXTERN_INLINES].
51451
a4647e72
UD
514522011-12-17 Ulrich Drepper <drepper@gmail.com>
51453
51454 [BZ #13446]
51455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51456
f0b264f1
AZ
514572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51458
51459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51461 optimized code.
51462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51466 for strncasecmp/strncasecmp_l compilation.
51467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51469
8ef4f244
MP
514702011-12-08 Marek Polacek <mpolacek@redhat.com>
51471
51472 [BZ #13484]
51473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51474 of __asm__.
51475
97ac2654
UD
514762011-12-17 Ulrich Drepper <drepper@gmail.com>
51477
51478 [BZ #13506]
51479 * time/tzfile.c (__tzfile_read): Check values from file header.
51480
91d2a845
WS
514812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51482
51483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51485 * powerpc/powerpc32/dl-start.S: Likewise.
51486 * powerpc/powerpc32/elf/start.S: Likewise.
51487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51500 * powerpc/powerpc32/memset.S: Likewise.
51501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51514
a1267ba1
AZ
515152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51516
51517 * math/libm-test.inc: Added more nearbyint tests.
51518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51522
ad8ac1bd
RL
515232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51524
51525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51526 FD_CLOEXEC.
51527
1d3e4b61
UD
515282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51529
51530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51531 Add wcscpy-ssse3 wcscpy-c.
51532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51535 * sysdeps/x86_64/wcschr.S: New file.
51536 * sysdeps/x86_64/wcsrchr.S: New file.
51537 * string/test-strcmp.c: Remove checking of wcscmp function for
51538 wrong alignments.
51539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51541 wcsrchr-sse2 wcsrchr-c.
51542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51551 * wcsmbc/wcschr.c (WCSCHR): New macro.
51552
5b330a2d
UD
515532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51554
51555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51556 * wcsmbs/test-wcsrchr.c: New file.
51557 * string/test-strrchr.c: Add wcsrchr support.
51558 (WIDE): New macro.
51559 * wcsmbs/test-wcscpy.c: New file.
51560 * string/test-strcpy.c: Add wcscpy support.
51561 (WIDE): New macro.
26428b7c 51562
f039c043
UD
515632011-12-10 Ulrich Drepper <drepper@gmail.com>
51564
51565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51566 the inner loop.
51567
850fb039
AS
515682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51569
51570 [BZ #13472]
51571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51572
4efbd5cb
UD
515732011-12-04 Ulrich Drepper <drepper@gmail.com>
51574
52ff5dd0 51575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51576 Minor optimizations.
52ff5dd0 51577
4efbd5cb
UD
51578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51581
8a426e12
UD
515822011-12-03 Ulrich Drepper <drepper@gmail.com>
51583
aff2453d
UD
51584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51587 for gcc to avoid warnings.
51588 * inet/Makefile (tests): Add tst-checks.
51589 * inet/tst-checks.c: New file.
51590
51591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51592 warning.
51593
51594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51595 __wmemcmp_sse2.
51596
51597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51599
8a426e12
UD
51600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51601
9bea3473
UD
516022011-12-02 Ulrich Drepper <drepper@gmail.com>
51603
3a965496
UD
51604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51605 problem.
51606
9bea3473
UD
51607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51608
f101631b
UD
516092011-11-29 Joseph Myers <joseph@codesourcery.com>
51610
51611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51612 conditional on GCC version.
51613 (__arch_compare_and_exchange_val_8_acq)
51614 (__arch_compare_and_exchange_val_16_acq)
51615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51618
a98275aa
UD
516192011-12-02 Joseph Myers <joseph@codesourcery.com>
51620
51621 * sysdeps/sh/backtrace.c: New file.
51622
d4cc29a2
AS
516232011-12-02 Andreas Schwab <schwab@redhat.com>
51624
51625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51626 parenthesis.
51627
6257af2d
AS
516282011-12-01 Andreas Schwab <schwab@redhat.com>
51629
51630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51631 falling back to utime.
51632
b5f44c1a
AS
516332011-11-30 Andreas Schwab <schwab@redhat.com>
51634
51635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51636 expectations for float.
51637
f3a6cc0a
AS
516382011-11-29 Andreas Schwab <schwab@redhat.com>
51639
51640 * locale/weight.h (findidx): Add parameter len.
51641 * locale/weightwc.h (findidx): Likewise.
51642 * posix/fnmatch_loop.c (FCT): Adjust caller.
51643 * posix/regcomp.c (build_equiv_class): Likewise.
51644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51645 * posix/regexec.c (check_node_accept_bytes): Likewise.
51646 * string/strcoll_l.c (STRCOLL): Likewise.
51647 * string/strxfrm_l.c (STRXFRM): Likewise.
51648
9d65ea3a
UD
516492011-11-17 Ulrich Drepper <drepper@gmail.com>
51650
51651 * Makefile.in: Remove CVSOPT handling.
51652 * configure.in: Remove use of AC_REVISION.
51653 * iconvdata/Makefile (distribute): No need to filter out CVS.
51654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51655 handling.
51656
5583a086
AS
516572011-11-16 Andreas Schwab <schwab@redhat.com>
51658
51659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51661 [USE_AS_STRNCASECMP_L]: Likewise.
51662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51663 NO_TLS_DIRECT_SEG_REFS.
51664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51665 Fix argument offsets for non-PIC.
51666 [USE_AS_STRNCASECMP_L]: Likewise.
51667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51668 NO_TLS_DIRECT_SEG_REFS.
51669
d62a8200
UD
516702011-11-15 Ulrich Drepper <drepper@gmail.com>
51671
9d65ea3a 51672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51673 O_CLOEXEC.
51674 * locale/loadlocale.c (_nl_load_locale): Likewise.
51675
09f93bd3
AS
516762011-11-15 Andreas Schwab <schwab@redhat.com>
51677
446514f9
AS
51678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51681 (SYSCALL_GETTIME): Set errno on error.
51682
09f93bd3
AS
51683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51684 count references to noai6ai_cached.
51685
312be3f9
UD
516862011-11-15 Ulrich Drepper <drepper@gmail.com>
51687
51688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51689
51690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51691 FD_CLOEXEC for /proc/self/maps.
51692
51693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51694 FD_CLOEXEC for /proc/meminfo.
51695
51696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51697 gai.conf.
51698
51699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51700 FD_CLOEXEC for given file.
51701
51702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51703
51704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51705 FD_CLOEXEC for /etc/hosts.
51706 (_gethtent): Likewise.
51707
51708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51709
51710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51711 cancellation and set FD_CLOEXEC for /etc/netgroup.
51712
51713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51714 reading /etc/publickey.
51715
51716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51717 allow cancellation when reading /etc/group.
51718
51719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51720 cancellation.
51721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51722
51723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51724 when using data file.
51725
51726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51727
51728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51729 (write_nis_obj): Use "c" and "e" in fopen.
51730
51731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51732
51733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51734
51735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51736
51737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51738
51739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51740 locale.alias.
51741
51742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51743
51744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51745
51746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51747
51748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51749 file parsing and set FD_CLOEXEC.
51750
82af0fa8
UD
517512011-11-14 Ulrich Drepper <drepper@gmail.com>
51752
51753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51754
a5fb313c
AS
517552011-11-14 Andreas Schwab <schwab@redhat.com>
51756
51757 * malloc/arena.c (arena_get2): Don't call reused_arena when
51758 _int_new_arena failed.
51759
6abf3465
UD
517602011-11-14 Ulrich Drepper <drepper@gmail.com>
51761
51762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51768 to compile strcasecmp and strncasecmp.
51769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51771
51772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51773
76e3966e
UD
517742011-11-13 Ulrich Drepper <drepper@gmail.com>
51775
51776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51777 locale-defines.sym to gen-as-const-headers.
51778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51781 to compile strcasecmp and strncasecmp.
51782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51783 strcasecmp_l and strncasecmp_l.
51784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51795
ab26144e
UD
517962011-11-12 Ulrich Drepper <drepper@gmail.com>
51797
7edb22ef
UD
51798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51799 result of SYSDEP_GETTIME_CPU to retval.
51800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51801 parameter list to macro. Remove trailing semicolon. Adjust users.
51802
9694fc44
UD
51803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51804 variable.
51805
8ad89ef8
UD
51806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51807 mantissa words.
51808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51809
0c822ef9
UD
51810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51811 from unused variable.
51812
874e0564
UD
51813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51814 DWARF definitions.
51815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51816 for assembling.
51817
3a2edc79
UD
51818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51819 over namespaces.
51820
f3c2577f
UD
51821 * sunrpc/rpc_prot.c (rejected): Fix case value.
51822
294ce126
UD
51823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51824 unsigned long long int to avoid warnings in shift.
51825
5e2b63c6
UD
51826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51827 of use of trans.
51828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51829 variable tmp.
51830
e7f4b08e
UD
51831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51834
ab26144e
UD
51835 * nis/nis_table.c (nis_list): Use variable of correct type for
51836 result of __follow_path call.
51837
8a6d5255
AZ
518382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51839
51840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51841 of math functions ceil, trunc, floor, round, and sqrt, when
51842 avaliable on the platform.
51843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51844 name clash.
51845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51848
aaddc98c
MP
518492011-10-30 Marek Polacek <mpolacek@redhat.com>
51850
51851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51853
95b7042b
RM
518542011-11-11 Roland McGrath <roland@hack.frob.com>
51855
51856 * include/unistd.h: Fix __readlink return type.
51857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51858
57769839
UD
518592011-11-11 Ulrich Drepper <drepper@gmail.com>
51860
51861 * stdlib/ucontext.h: Undo last change for makecontext.
51862
edc5984d
AS
518632011-11-11 Andreas Schwab <schwab@redhat.com>
51864
98591e58
AS
51865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51866
edc5984d
AS
51867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51868 * setjmp/setjmp.h: Mark functions as non-leaf.
51869 * setjmp/bits/setjmp2.h: Likewise.
51870 * stdlib/ucontext.h: Likewise.
51871
77cdc054
AS
518722011-11-10 Andreas Schwab <schwab@redhat.com>
51873
51874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51875 (reused_arena): Don't check arena limit.
51876 (arena_get2): Atomically check arena limit.
51877
fe72eebd
UD
518782011-11-08 Ulrich Drepper <drepper@gmail.com>
51879
5f078c32
UD
51880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51882
fe72eebd
UD
51883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51884 instructions.
51885
ae1bc2fa
AS
518862011-11-07 Andreas Schwab <schwab@redhat.com>
51887
7583a88d
AS
51888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51889 handler when locking.
51890
ae1bc2fa
AS
51891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51892 Fix size of allocated buffer.
51893
10fb0bfa
AS
518942011-11-04 Andreas Schwab <schwab@redhat.com>
51895
998832a4
AS
51896 [BZ #10103]
51897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51898 declarations for long double functions.
51899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51900
10fb0bfa
AS
51901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51902
3d7ba52b
AS
519032011-11-03 Andreas Schwab <schwab@redhat.com>
51904
a9ae54a1
AS
51905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51906 installed.
51907
3d7ba52b
AS
51908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51909 is disabled.
51910
bc8db248
ST
519112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51912
51913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51914
45b96dd6
AS
519152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51916
647776f6
AS
51917 * include/alloca.h (stackinfo_alloca_round): Define.
51918 (extend_alloca): Use it.
51919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51921 here.
51922
d91a8b93
AS
51923 * scripts/check-local-headers.sh: Ignore libaudit.h.
51924
45b96dd6
AS
51925 * nscd/Makefile (extra-objs): Make recursively expanded.
51926
432d41ce
UD
519272011-11-01 Ulrich Drepper <drepper@gmail.com>
51928
34372fc6
UD
51929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51931
fadb59f8
UD
51932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51933 * posix/tst-rfc3484-2.c: Likewise.
51934 * posix/tst-rfc3484-3.c: Likewise.
51935
78239589
UD
51936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51937 process_vm_writev.
51938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51939 process_vm_writev.
51940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51941 process_vm_writev from libc using GLIBC_2.15 version.
51942
432d41ce
UD
51943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51944
02f9c6cf
PP
519452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51946
51947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51948 stack usage.
51949
3a2c0242
UD
519502011-10-31 Ulrich Drepper <drepper@gmail.com>
51951
f4ec4833
UD
51952 [BZ #13367]
51953 * nss/getent.c (initgroups_keys): Show error message in case no group
51954 names are given.
51955
3a2c0242
UD
51956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51958 __bump_nl_timestamp.
51959 * nscd/connections (nscd_init): When host database is served open
51960 netlink socket and request notification about configuration changes.
51961 (main_loop_poll): Track netlink file descriptor and bump timestamp
51962 in case data becomes available.
51963 (main_loop_epoll): Likewise.
51964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51965 (database_pers_head): Add extra_data fileds.
51966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51969 Adjust caller.
51970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51971 in6ai data, call __free_in6ai.
51972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51973 Add -DHAVE_NETLINK.
51974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51975 interface information. Reuse previous data if netlink timestamp
51976 is not changed.
51977 (__bump_nl_timestamp): New function.
51978 (__free_in6ai): New function.
51979
636064eb
UD
519802011-10-30 Ulrich Drepper <drepper@gmail.com>
51981
51982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51983 close_not_cancel_no_status here.
51984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51985
9beb2334
UD
519862011-10-29 Ulrich Drepper <drepper@gmail.com>
51987
6ef76f3b
UD
51988 [BZ #13276]
51989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51990 return value.
51991
0ffc4f3e 51992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51995
cb95113e
UD
519962011-07-03 Andreas Jaeger <aj@suse.de>
51997
51998 [BZ #10709]
51999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52001 * math/libm-test.inc (sin_test): Add test case.
52002
a1b560ff
UD
520032011-10-29 Ulrich Drepper <drepper@gmail.com>
52004
c9aaface
UD
52005 [BZ #13337]
52006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52008
d272e7f1
UD
52009 * elf/chroot_canon.c (chroot_canon): Cleanups.
52010
1bc33071
UD
52011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52012
1760874d
TJ
52013 [BZ #13335]
52014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52016
51d91b18
UD
52017 * string/test-strchr.c: Make usable for strchrnul testing.
52018 * string/test-strchrnul.c: New file.
52019 * string/Makefile (strop-tests): Add strchrnul.
52020
a1b560ff 52021 * po/it.po: Update from translation team.
b611fb81 52022 * po/es.po: Likewise.
a1b560ff 52023
a5b81e1f
UD
520242011-10-28 Ulrich Drepper <drepper@gmail.com>
52025
fd52bc6d
UD
52026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52027 the three constants needed as parameters. Drop the others.
52028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52029 __m128i_strloadu_tolower.
52e4b9eb
UD
52030 Create and initialize variable zero and use it in all the places
52031 where _mm_setzero_si128 was used.
fd52bc6d 52032
a5b81e1f
UD
52033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52037 anymore.
52038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52043 __mpranred, __mptan.
52044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52053
b4343346
AS
520542011-10-28 Andreas Schwab <schwab@redhat.com>
52055
0c92d8a8
AS
52056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52057 redefine if SHARED.
52058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52059
b4343346
AS
52060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52061 wide char related routines to wcsmbs subdir.
52062
3871f58f
AS
520632011-10-27 Andreas Schwab <schwab@redhat.com>
52064
52065 [BZ #13344]
52066 * misc/sys/cdefs.h (__THROWNL): Define.
52067 * posix/unistd.h: Use __THREADNL instead of __THREAD
52068 for memory synchronization functions.
52069
94d44d9f
RM
520702011-10-26 Roland McGrath <roland@hack.frob.com>
52071
21b64b15 52072 [BZ #13349]
94d44d9f
RM
52073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52074 doesn't exist.
52075 * manual/stdio.texi (Obstack Streams): Node removed.
52076
f6ce9294
AS
520772011-10-26 Andreas Schwab <schwab@redhat.com>
52078
80479147
AS
52079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52082
f6ce9294
AS
52083 * math/math_private.h (math_force_eval): Allow non-addressable
52084 arguments.
52085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52086
618280a1
UD
520872011-10-25 Ulrich Drepper <drepper@gmail.com>
52088
e0016b11
UD
52089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52090 file is not needed.
52091
52092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52100 Add AVX variants.
52101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52120
52121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52123
618280a1
UD
52124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52125 place. Use VEX encoding when compiling for AVX.
52126
37822576
AS
521272011-10-25 Andreas Schwab <schwab@redhat.com>
52128
1f1e1947
AS
52129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52131
37822576
AS
52132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52133
31ea014d
UD
521342011-10-25 Ulrich Drepper <drepper@gmail.com>
52135
d7826aa1 52136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52137 useless if() expression.
d7826aa1
UD
52138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52157
31ea014d
UD
52158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52159
16437fec
AS
521602011-10-25 Andreas Schwab <schwab@redhat.com>
52161
52162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52163 condition.
52164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52165
31d3cc00
UD
521662011-10-25 Ulrich Drepper <drepper@gmail.com>
52167
52168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52169 .text section. Avoid duplicate constants.
52170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52215
58985aa9
UD
522162011-10-24 Ulrich Drepper <drepper@gmail.com>
52217
202c9deb
UD
52218 * sysdeps/x86_64/dla.h: Move to ...
52219 * sysdeps/x86_64/fpu/dla.h: ...here.
52220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52221 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52222
af968f62
UD
52223 * config.make.in: Add have-mfma4 entry.
52224 * configure.in: Substitute libc_cv_cc_fma4.
52225 * math/Makefile (dbl-only-routines): Add sincostab.
52226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52227 Use __sincostab not sincos.
52228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52229 name is a macro.
52230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52234 using __copysign.
52235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52239 and __inv.
52240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52242 __copysign.
52243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52244 define aliases when function name is a macro.
52245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52246 sysdeps/ieee754/dbl-64/sincos.tbl.
52247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52248 fma4-enabled routines.
52249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52279
58985aa9
UD
52280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52281 rename.
52282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52290
a201fbcf
AS
522912011-10-24 Andreas Schwab <schwab@redhat.com>
52292
52293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52294
fc2ee42a
LD
522952011-10-23 Ulrich Drepper <drepper@gmail.com>
52296
bb3129bd
UD
52297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52298
0275fff8
UD
52299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52300 prediction.
52301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52302
2fa2ae85
UD
52303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52304 Remove unused variable magic_bits.
52305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52306
fc2ee42a
LD
52307 * string/strnlen.c: Define and use STRNLEN macro.
52308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52311 * wcsmbs/wcslen.c: Define and use WCSLEN.
52312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52319
ce7dd29f
LD
523202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52321
52322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52323 strnlen-sse2-no-bsf.
52324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52327 Add strnlen support.
52328 (USE_AS_STRNLEN): New macro.
52329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52332 * sysdeps/x86_64/wcslen.S: New file.
52333
979c70a3
MZ
523342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52335
52336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52337 XMM-moves are used for copying on small sizes.
52338
2d09f82f
LD
523392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52340
52341 * wcsmbs/Makefile (strop-tests): Add wcschr.
52342 * wcsmbs/test-wcschr.c: New file.
52343 * string/test-strchr.c: Update.
52344 Add wcschr support.
52345 (WIDE): New macro.
52346
619fccca
LD
523472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52348
2d09f82f 52349 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52350 * wcsmbs/test-wcslen.c: New file.
52351 * string/test-strlen.c: Update.
52352 Add wcslen support.
52353 (WIDE): New macro.
52354
09f699ea
UD
523552011-10-23 Ulrich Drepper <drepper@gmail.com>
52356
52357 * po/it.po: Update from translation team.
52358
95584d3b
LD
523592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52360
52361 * sysdeps/x86_64/wcscmp.S: Update.
52362 Fix wrong comparison semantics.
52363 wcscmp shall use signed comparison not unsigned.
52364 Don't use substraction to avoid overflow bug.
52365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52366 * wcsmbc/wcscmp.c: Likewise.
52367 * string/test-strcmp.c: Likewise.
52368 Add new tests to check cases with negative values.
52369
c8b3296b
UD
523702011-10-23 Ulrich Drepper <drepper@gmail.com>
52371
52372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52373 * sysdeps/x86_64/dla.h: ...here. New file.
52374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52383
246ad57a
AS
523842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52385
52386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52387 __ynl_finite aliases.
52388
a1a87169
UD
523892011-10-22 Ulrich Drepper <drepper@gmail.com>
52390
0d355eb7
UD
52391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52392
a1a87169
UD
52393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52394 define DLA_FMA.
52395 [DLA_FMA] (EMULV): Use DLA_FMA.
52396 [DLA_FMA] (MUL12): Use EMULV.
52397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52398 that are not needed.
52399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52406
ee2aafe0
AS
524072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52408
52409 * math/s_nan.c: Undef __nan.
52410 * math/s_nanf.c: Undef __nanf.
52411 * math/s_nanl.c: Undef __nanl.
52412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52413 "math_private.h".
52414
bc62c2fb
UD
524152011-10-22 Ulrich Drepper <drepper@gmail.com>
52416
77425c63
UD
52417 * math/s_catan.c: Add branch predictions.
52418 * math/s_catanf.c: Likewise.
52419 * math/s_catanh.c: Likewise.
52420 * math/s_catanhf.c: Likewise.
52421 * math/s_catanhl.c: Likewise.
52422 * math/s_catanl.c: Likewise.
52423 * math/s_cexp.c: Likewise.
52424 * math/s_cexpf.c: Likewise.
52425 * math/s_cexpl.c: Likewise.
52426 * math/s_clog.c: Likewise.
52427 * math/s_clog10.c: Likewise.
52428 * math/s_clog10f.c: Likewise.
52429 * math/s_clog10l.c: Likewise.
52430 * math/s_clogf.c: Likewise.
52431 * math/s_clogl.c: Likewise.
52432 * math/s_csqrt.c: Likewise.
52433 * math/s_csqrtf.c: Likewise.
52434 * math/s_csqrtl.c: Likewise.
52435 * math/s_ctanf.c: Likewise.
52436 * math/s_ctanh.c: Likewise.
52437 * math/s_ctanhf.c: Likewise.
52438 * math/s_ctanhl.c: Likewise.
52439 * math/s_ctanl.c: Likewise.
52440
bc62c2fb
UD
52441 * math/math_private.h: Define __nan, __nanf, __nanl.
52442 * math/s_cacosh.c: Include <math_private.h>.
52443 * math/s_cacoshl.c: Likewise.
52444 * math/s_casinh.c: Likewise.
52445 * math/s_casinhf.c: Likewise.
52446 * math/s_casinhl.c: Likewise.
52447 * math/s_ccos.c: Rely entire on ccosh.
52448 * math/s_ccosf.c: Rely entire on ccoshf.
52449 * math/s_ccosl.c: Rely entirely on ccoshl.
52450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52451 Remove tests for FE_INVALID.
52452 * math/s_ccoshf.c: Likewise.
52453 * math/s_ccoshl.c: Likewise.
52454 * math/s_csin.c: Likewise.
52455 * math/s_csinf.c: Likewise.
52456 * math/s_csinh.c Likewise.
52457 * math/s_csinhf.c: Likewise.
52458 * math/s_csinhl.c: Likewise.
52459 * math/s_csinl.c: Likewise.
52460 * math/s_ctan.c: Likewise.
52461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52464
8ec250a4
UD
524652011-10-21 Ulrich Drepper <drepper@gmail.com>
52466
c196fed8
UD
52467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52468 compilation problems.
52469
8ec250a4
UD
52470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52471 __builtin_expect.
52472
8d4f46c6
UD
524732011-10-20 Ulrich Drepper <drepper@gmail.com>
52474
ed72b654
UD
52475 * sysdeps/i386/configure.in: Test for -mfma4 option.
52476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52478 COMMON_CPUID_INDEX_80000001.
52479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52481 use it if FMA3 is not supported.
52482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52483
8d4f46c6
UD
52484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52486
d45c60c2
AS
524872011-10-20 Andreas Schwab <schwab@redhat.com>
52488
52489 [BZ #12892]
52490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52491 it would create a cycle with a link time dependency.
52492
d9a4d2ab
UD
524932011-10-19 Ulrich Drepper <drepper@gmail.com>
52494
855d1560
UD
52495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52496 instruction.
52497 * string/Makefile (strop-tests): Add rawmemchr.
52498 * string/test-rawmemchr.c: New file.
52499
d9a4d2ab
UD
52500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52503 when compiling str{,n}casecmp and when AVX is available. Hook up
52504 new optimized code in initializers.
52505
8f3b1ffe
AS
525062011-10-19 Andreas Schwab <schwab@redhat.com>
52507
52508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52509 __feraiseexcept instead of feraiseexcept.
52510
d38f1dba
UD
525112011-10-18 Ulrich Drepper <drepper@gmail.com>
52512
d9a8d0ab
UD
52513 * math/math_private.h: Define defaults for libc_fetestexcept and
52514 libc_feupdateenv.
52515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52521 libc_fetestexcept and libc_feupdateenv.
52522
4855e3dd
UD
52523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52527 libc_feholdexcept_setround.
52528
581d30e3
UD
52529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52530 Add s_nearbyint-c and s_nearbyintf-c.
52531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52532 nearbyintf inlines.
52533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52537
d38f1dba
UD
52538 * math/math_private.h: Define defaults for libc_fegetround,
52539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52544 standard functions.
52545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52546 Remove comments and hacks for old compiler versions.
52547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52549 libc_feholdexceptl.
52550
caa6c9d8
AS
525512011-10-18 Andreas Schwab <schwab@redhat.com>
52552
52553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52554 (__feraiseexcept_renamed): Add __NTH.
52555 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52556 namespace violations.
52557
97c066e6
UD
525582011-10-17 Ulrich Drepper <drepper@gmail.com>
52559
99ce7b04
UD
52560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52561
1004d182
UD
52562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52563
228a984d
UD
52564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52565 recently added interfaces.
52566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52567
c8553a6a
UD
52568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52569 about macro parameter expansion.
52570
ed22dcf6
UD
52571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52572 __NO_MATH_INLINES is defined. Cleanups.
52573
52574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52575 and __floorf is target has SSE4.1.
52576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52580
b171c137
UD
52581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52582 name.
52583 (floorf): Likewise.
52584
97c066e6
UD
52585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52586
629f62ef
AS
525872011-10-17 Andreas Schwab <schwab@redhat.com>
52588
49a43d80
AS
52589 * misc/sys/cdefs.h: Fix last change.
52590
629f62ef
AS
52591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52592 database lookup.
52593
e453f6cd
UD
525942011-10-16 Ulrich Drepper <drepper@gmail.com>
52595
aa78043a
UD
52596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52597
ad0f5cad
UD
52598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52620
52621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52622 ceil, ceilf, floor, floorf.
52623
52624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52625 Perform IRELATIVE relocations last.
52626
e453f6cd
UD
52627 * elf/do-rel.h: Add another parameter nrelative, replacing the
52628 local variable with the same name. Change name of the function
52629 to end in Rel or Rela (uppercase).
52630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52632 elf_dynamic_do_##reloc function.
52633
fd5bdc09
UD
526342011-10-15 Ulrich Drepper <drepper@gmail.com>
52635
79b195b5
UD
52636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52637 is sufficient, at least on modern CPUs.
52638
d4a28569
UD
52639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52640
b61099b5
UD
52641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52643
bcf01e6d
UD
52644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52645 __expl_finite.
52646 * math/bits/math-finite.h: Add entries for exp.
52647 * math/e_expl.c: Add __*_finite alias.
52648 * sysdeps/i386/fpu/e_exp.S: Likewise.
52649 * sysdeps/i386/fpu/e_expf.S: Likewise.
52650 * sysdeps/i386/fpu/e_expl.c: Likewise.
52651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52658
ba1a0d59
UD
52659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52660 is sufficient, at least on modern CPUs.
52661
fd5bdc09
UD
52662 * ctype/ctype-info.c (__ctype_init): Define.
52663 * include/ctype.h (__ctype_init): Declare.
52664 (__ctype_b_loc): The variable is always initialized.
52665 (__ctype_toupper_loc): Likewise.
52666 (__ctype_tolower_loc): Likewise.
52667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52669
7872cfb0
AS
526702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52671
b468825a
AS
52672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52673
7872cfb0
AS
52674 * configure.in: Also look in $cxxmachine/include for C++ system
52675 headers.
52676
be13f7bf
LD
526772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52678
52679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52684 (USE_AS_WMEMCMP): New macro.
52685 Fixing indents.
52686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52697 (USE_AS_WMEMCMP): New macro.
52698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52699 * sysdeps/string/test-memcmp.c: Update.
52700 Fix simple_wmemcmp.
52701 Add new tests.
52702 * wcsmbs/wmemcmp.c: Update.
52703 (WMEMCMP): New macro.
52704 Fix overflow bug.
52705
556a2007
AJ
527062011-10-12 Andreas Jaeger <aj@suse.de>
52707
52708 [BZ #13268]
52709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52710
538faaa7
UD
527112011-10-15 Ulrich Drepper <drepper@gmail.com>
52712
ab6737ff
UD
52713 * libio/iofwide.c (do_length): Avoid warning.
52714
538faaa7
UD
52715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52716
396a21b1
UD
527172011-10-14 Ulrich Drepper <drepper@gmail.com>
52718
cdf2901f
UD
52719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52720
38ad40ce
UD
52721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52724 * sysdeps/i386/i686/fpu/e_log.S: New file.
52725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52727
396a21b1
UD
52728 * ctype/ctype.h: Add support for inlined isXXX functions when
52729 compiling C++ code.
52730
6b1f68c9
AS
527312011-10-14 Andreas Schwab <schwab@redhat.com>
52732
349290c0
AS
52733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52734
6b1f68c9
AS
52735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52736
f2282d42
RM
527372011-10-13 Roland McGrath <roland@hack.frob.com>
52738
52739 [BZ #13291]
52740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52741
5298ffa8
AS
527422011-10-13 Andreas Schwab <schwab@redhat.com>
52743
714fad23
AS
52744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52746 feraiseexcept.
52747
81dcc7fb
AS
52748 * sysdeps/x86_64/memrchr.S: Check for zero size.
52749
5298ffa8
AS
52750 * string/stratcliff.c: Add memrchr tests.
52751
951fbcec
LD
527522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52753
52754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52756 rawmemchr-sse2 rawmemchr-sse2-bsf.
52757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52767 * string/memrchr.c (MEMRCHR): New macro.
52768
0ac5ae23
UD
527692011-10-12 Ulrich Drepper <drepper@gmail.com>
52770
52771 Add integration with gcc's -ffinite-math-only and optimize wrapper
52772 functions in libm.
52773 * Versions.def: Define GLIBC_2.15 version for libm.
52774 * math/Makefile (headers): Add bits/math-finite.h.
52775 * math/bits/math-finite.h: New file.
52776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52778 * math/e_acoshl.c: Add __*_finite alias.
52779 * math/e_acosl.c: Likewise.
52780 * math/e_asinl.c: Likewise.
52781 * math/e_atan2l.c: Likewise.
52782 * math/e_atanhl.c: Likewise.
52783 * math/e_coshl.c: Likewise.
52784 * math/e_exp10.c: Likewise.
52785 * math/e_exp10f.c: Likewise.
52786 * math/e_exp10l.c: Likewise.
52787 * math/e_exp2l.c: Likewise.
52788 * math/e_fmodl.c: Likewise.
52789 * math/e_gammal_r.c: Likewise.
52790 * math/e_hypotl.c: Likewise.
52791 * math/e_j0l.c: Likewise.
52792 * math/e_j1l.c: Likewise.
52793 * math/e_jnl.c: Likewise.
52794 * math/e_lgammal_r.c: Likewise.
52795 * math/e_log10l.c: Likewise.
52796 * math/e_log2l.c: Likewise.
52797 * math/e_logl.c: Likewise.
52798 * math/e_powl.c: Likewise.
52799 * math/e_sinhl.c: Likewise.
52800 * math/e_sqrtl.c: Likewise.
52801 * math/e_scalb.c: Completely rewritten and optimized.
52802 * math/e_scalbf.c: Likewise.
52803 * math/e_scalbl.c: Likewise.
52804 * math/w_acos.c: Likewise.
52805 * math/w_acosf.c: Likewise.
52806 * math/w_acosl.c: Likewise.
52807 * math/w_acosh.c: Likewise.
52808 * math/w_acoshf.c: Likewise.
52809 * math/w_acoshl.c: Likewise.
52810 * math/w_asin.c: Likewise.
52811 * math/w_asinf.c: Likewise.
52812 * math/w_asinl.c: Likewise.
52813 * math/w_atan2.c: Likewise.
52814 * math/w_atan2f.c: Likewise.
52815 * math/w_atan2l.c: Likewise.
52816 * math/w_atanh.c: Likewise.
52817 * math/w_atanhf.c: Likewise.
52818 * math/w_atanhl.c: Likewise.
52819 * math/w_exp10.c: Likewise.
52820 * math/w_exp10f.c: Likewise.
52821 * math/w_exp10l.c: Likewise.
52822 * math/w_fmod.c: Likewise.
52823 * math/w_fmodf.c: Likewise.
52824 * math/w_fmodl.c: Likewise.
52825 * math/w_j0.c: Likewise.
52826 * math/w_j0f.c: Likewise.
52827 * math/w_j0l.c: Likewise.
52828 * math/w_j1.c: Likewise.
52829 * math/w_j1f.c: Likewise.
52830 * math/w_j1l.c: Likewise.
52831 * math/w_jn.c: Likewise.
52832 * math/w_jnf.c: Likewise.
52833 * math/w_log.c: Likewise.
52834 * math/w_logf.c: Likewise.
52835 * math/w_logl.c: Likewise.
52836 * math/w_log10.c: Likewise.
52837 * math/w_log10f.c: Likewise.
52838 * math/w_log10l.c: Likewise.
52839 * math/w_log2.c: Likewise.
52840 * math/w_log2f.c: Likewise.
52841 * math/w_log2l.c: Likewise.
52842 * math/w_pow.c: Likewise.
52843 * math/w_powf.c: Likewise.
52844 * math/w_powl.c: Likewise.
52845 * math/w_remainder.c: Likewise.
52846 * math/w_remainderf.c: Likewise.
52847 * math/w_remainderl.c: Likewise.
52848 * math/w_scalb.c: Likewise.
52849 * math/w_scalbf.c: Likewise.
52850 * math/w_scalbl.c: Likewise.
52851 * math/w_sqrt.c: Likewise.
52852 * math/w_sqrtf.c: Likewise.
52853 * math/w_sqrtl.c: Likewise.
52854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52856 used.
52857 * math/math_private.h: Declare __kernel_standard_f.
52858 * math/w_cosh.c: Remove cruft and optimize a bit.
52859 * math/w_coshf.c: Likewise.
52860 * math/w_coshl.c: Likewise.
52861 * math/w_exp2.c: Likewise.
52862 * math/w_exp2f.c: Likewise.
52863 * math/w_exp2l.c: Likewise.
52864 * math/w_hypot.c: Likewise.
52865 * math/w_hypotf.c: Likewise.
52866 * math/w_hypotl.c: Likewise.
52867 * math/w_lgamma.c: Likewise.
52868 * math/w_lgamma_r.c: Likewise.
52869 * math/w_lgammaf.c: Likewise.
52870 * math/w_lgammaf_r.c: Likewise.
52871 * math/w_lgammal.c: Likewise.
52872 * math/w_lgammal_r.c: Likewise.
52873 * math/w_sinh.c: Likewise.
52874 * math/w_sinhf.c: Likewise.
52875 * math/w_sinhl.c: Likewise.
52876 * math/w_tgamma.c: Likewise.
52877 * math/w_tgammaf.c: Likewise.
52878 * math/w_tgammal.c: Likewise.
52879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52882 Minor optimizations. Pretty printing. Remove cruft.
52883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52888 * sysdeps/i386/fpu/e_asin.S: Likewise.
52889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52907 * sysdeps/i386/fpu/e_log.S: Likewise.
52908 * sysdeps/i386/fpu/e_log10.S: Likewise.
52909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52911 * sysdeps/i386/fpu/e_log2.S: Likewise.
52912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52914 * sysdeps/i386/fpu/e_logf.S: Likewise.
52915 * sysdeps/i386/fpu/e_logl.S: Likewise.
52916 * sysdeps/i386/fpu/e_pow.S: Likewise.
52917 * sysdeps/i386/fpu/e_powf.S: Likewise.
52918 * sysdeps/i386/fpu/e_powl.S: Likewise.
52919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53041 (__isnanf): Likewise.
53042 (__isinf_ns): Likewise.
53043 (__isinf_nsf): Likewise.
53044 (__finite): Likewise.
53045 (__finitef): Likewise.
53046 (__ieee754_sqrt): Define as macro.
53047 (__ieee754_sqrtf): Define as macro.
53048 (__ieee754_sqrtl): Define as macro.
53049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53050 inlined copy.
53051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53052 __FINITE_MATH_ONLY__ consistent.
53053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53054
12cc2fcd
AS
530552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53056
a843a204
AS
53057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53058 of rawmemchr.
53059
12cc2fcd
AS
53060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53061
c853acd5
UD
530622011-10-09 Ulrich Drepper <drepper@gmail.com>
53063
53064 * po/ja.po: Update from translation team.
53065
c658d255
RM
530662011-10-08 Roland McGrath <roland@hack.frob.com>
53067
110946e4
RM
53068 * locale/programs/locarchive.c (prepare_address_space): New function.
53069 (create_archive, enlarge_archive, open_archive): Use it.
53070
50604220
RM
53071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53072 inside [SHARED], where it is used.
53073
c658d255
RM
53074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53075
53076 * nss/getent.c (netgroup_keys): Remove unused variable.
53077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53078
6a621eb7
UD
530792011-10-08 Ulrich Drepper <drepper@gmail.com>
53080
7edb55ce
UD
53081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53087 * math/Makefile (libm-calls): Add s_isinf_ns.
53088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53089 * math/multc3.c: Likewise.
53090 * math/s_casin.c: Likewise.
53091 * math/s_casinf.c: Likewise.
53092 * math/s_casinl.c: Likewise.
53093 * math/s_ccos.c: Likewise.
53094 * math/s_ccosf.c: Likewise.
53095 * math/s_ccosl.c: Likewise.
53096 * math/s_ctan.c: Likewise.
53097 * math/s_ctanf.c: Likewise.
53098 * math/s_ctanh.c: Likewise.
53099 * math/s_ctanhf.c: Likewise.
53100 * math/s_ctanhl.c: Likewise.
53101 * math/s_ctanl.c: Likewise.
53102 * math/w_fmod.c: Likewise.
53103 * math/w_fmodf.c: Likewise.
53104 * math/w_fmodl.c: Likewise.
53105 * math/w_remainder.c: Likewise.
53106 * math/w_remainderf.c: Likewise.
53107 * math/w_remainderl.c: Likewise.
53108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53116
187da0ae
UD
53117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53118 of the number.
53119 * stdio-common/printf_fphex.c: Likewise.
53120 * stdio-common/printf_size.c: Likewise.
53121
9277c064
UD
53122 * math/e_exp10.c: Include math_private.h using <...> not "...".
53123 * math/e_exp10f.c: Likewise.
53124 * math/e_exp10l.c: Likewise.
53125 * math/e_exp2l.c: Likewise.
53126 * math/e_j0l.c: Likewise.
53127 * math/e_j1l.c: Likewise.
53128 * math/e_jnl.c: Likewise.
53129 * math/e_lgammal_r.c: Likewise.
53130 * math/e_rem_pio2l.c: Likewise.
53131 * math/e_scalb.c: Likewise.
53132 * math/e_scalbf.c: Likewise.
53133 * math/e_scalbl.c: Likewise.
53134 * math/k_cosl.c: Likewise.
53135 * math/k_sinl.c: Likewise.
53136 * math/k_tanl.c: Likewise.
53137 * math/s_cacoshf.c: Likewise.
53138 * math/s_catan.c: Likewise.
53139 * math/s_catanf.c: Likewise.
53140 * math/s_catanh.c: Likewise.
53141 * math/s_catanhf.c: Likewise.
53142 * math/s_catanhl.c: Likewise.
53143 * math/s_catanl.c: Likewise.
53144 * math/s_ccosh.c: Likewise.
53145 * math/s_ccoshf.c: Likewise.
53146 * math/s_ccoshl.c: Likewise.
53147 * math/s_cexp.c: Likewise.
53148 * math/s_cexpf.c: Likewise.
53149 * math/s_cexpl.c: Likewise.
53150 * math/s_clog.c: Likewise.
53151 * math/s_clog10.c: Likewise.
53152 * math/s_clog10f.c: Likewise.
53153 * math/s_clog10l.c: Likewise.
53154 * math/s_clogf.c: Likewise.
53155 * math/s_clogl.c: Likewise.
53156 * math/s_csin.c: Likewise.
53157 * math/s_csinf.c: Likewise.
53158 * math/s_csinh.c: Likewise.
53159 * math/s_csinhf.c: Likewise.
53160 * math/s_csinhl.c: Likewise.
53161 * math/s_csinl.c: Likewise.
53162 * math/s_csqrt.c: Likewise.
53163 * math/s_csqrtf.c: Likewise.
53164 * math/s_csqrtl.c: Likewise.
53165 * math/s_ctan.c: Likewise.
53166 * math/s_ctanf.c: Likewise.
53167 * math/s_ctanh.c: Likewise.
53168 * math/s_ctanhf.c: Likewise.
53169 * math/s_ctanhl.c: Likewise.
53170 * math/s_ctanl.c: Likewise.
53171 * math/s_ldexp.c: Likewise.
53172 * math/s_ldexpf.c: Likewise.
53173 * math/s_ldexpl.c: Likewise.
53174 * math/s_significand.c: Likewise.
53175 * math/s_significandf.c: Likewise.
53176 * math/s_significandl.c: Likewise.
53177 * math/w_acos.c: Likewise.
53178 * math/w_acosf.c: Likewise.
53179 * math/w_acosh.c: Likewise.
53180 * math/w_acoshf.c: Likewise.
53181 * math/w_acoshl.c: Likewise.
53182 * math/w_acosl.c: Likewise.
53183 * math/w_asin.c: Likewise.
53184 * math/w_asinf.c: Likewise.
53185 * math/w_asinl.c: Likewise.
53186 * math/w_atan2.c: Likewise.
53187 * math/w_atan2f.c: Likewise.
53188 * math/w_atan2l.c: Likewise.
53189 * math/w_atanh.c: Likewise.
53190 * math/w_atanhf.c: Likewise.
53191 * math/w_atanhl.c: Likewise.
53192 * math/w_cosh.c: Likewise.
53193 * math/w_coshf.c: Likewise.
53194 * math/w_coshl.c: Likewise.
53195 * math/w_dremf.c: Likewise.
53196 * math/w_exp10.c: Likewise.
53197 * math/w_exp10f.c: Likewise.
53198 * math/w_exp10l.c: Likewise.
53199 * math/w_exp2.c: Likewise.
53200 * math/w_exp2f.c: Likewise.
53201 * math/w_fmod.c: Likewise.
53202 * math/w_fmodf.c: Likewise.
53203 * math/w_fmodl.c: Likewise.
53204 * math/w_hypot.c: Likewise.
53205 * math/w_hypotf.c: Likewise.
53206 * math/w_hypotl.c: Likewise.
53207 * math/w_j0.c: Likewise.
53208 * math/w_j0f.c: Likewise.
53209 * math/w_j0l.c: Likewise.
53210 * math/w_j1.c: Likewise.
53211 * math/w_j1f.c: Likewise.
53212 * math/w_j1l.c: Likewise.
53213 * math/w_jn.c: Likewise.
53214 * math/w_jnf.c: Likewise.
53215 * math/w_jnl.c: Likewise.
53216 * math/w_lgamma.c: Likewise.
53217 * math/w_lgamma_r.c: Likewise.
53218 * math/w_lgammaf.c: Likewise.
53219 * math/w_lgammaf_r.c: Likewise.
53220 * math/w_lgammal.c: Likewise.
53221 * math/w_lgammal_r.c: Likewise.
53222 * math/w_log.c: Likewise.
53223 * math/w_log10.c: Likewise.
53224 * math/w_log10f.c: Likewise.
53225 * math/w_log10l.c: Likewise.
53226 * math/w_log2.c: Likewise.
53227 * math/w_log2f.c: Likewise.
53228 * math/w_log2l.c: Likewise.
53229 * math/w_logf.c: Likewise.
53230 * math/w_logl.c: Likewise.
53231 * math/w_pow.c: Likewise.
53232 * math/w_powf.c: Likewise.
53233 * math/w_powl.c: Likewise.
53234 * math/w_remainder.c: Likewise.
53235 * math/w_remainderf.c: Likewise.
53236 * math/w_remainderl.c: Likewise.
53237 * math/w_scalb.c: Likewise.
53238 * math/w_scalbf.c: Likewise.
53239 * math/w_scalbl.c: Likewise.
53240 * math/w_sinh.c: Likewise.
53241 * math/w_sinhf.c: Likewise.
53242 * math/w_sinhl.c: Likewise.
53243 * math/w_sqrt.c: Likewise.
53244 * math/w_sqrtf.c: Likewise.
53245 * math/w_sqrtl.c: Likewise.
53246 * math/w_tgamma.c: Likewise.
53247 * math/w_tgammaf.c: Likewise.
53248 * math/w_tgammal.c: Likewise.
53249
6a621eb7
UD
53250 * po/ja.po: Update from translation team.
53251
bf582445
AJ
532522011-09-29 Andreas Jaeger <aj@suse.de>
53253
f9efbf3a
AJ
53254 [BZ #13179]
53255 * sunrpc/netname.c (netname2host): Fix logic.
53256
bf582445
AJ
53257 [BZ #6779]
53258 [BZ #6783]
53259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53260 correctly.
53261 * math/w_remainder.c (__remainder): Likewise.
53262 * math/w_remainderf.c (__remainderf): Likewise.
53263 * math/libm-test.inc (remainder_test): Add test cases.
53264
48693bea
AK
532652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53266
53267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53268 sdiv_qrnnd.
53269
42622229
LD
532702011-10-07 Ulrich Drepper <drepper@gmail.com>
53271
53272 * string/test-memcmp.c: Avoid unncessary #defines.
53273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53274
093ecf92
LD
532752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53276
53277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53278 Use new sse2 version for core i3 - i7 as it's faster
53279 than sse42 version.
53280 (bit_Prefer_PMINUB_for_stringop): New.
53281 * sysdeps/x86_64/rawmemchr.S: Update.
53282 Replace with faster SSE2 version.
53283 * sysdeps/x86_64/memrchr.S: New file.
53284 * sysdeps/x86_64/memchr.S: Update.
53285 Replace with faster SSE2 version.
53286
fde56e5c
MP
532872011-09-12 Marek Polacek <mpolacek@redhat.com>
53288
53289 * elf/dl-load.c (lose): Add cast to avoid warning.
53290
21fd49a9
UD
532912011-10-07 Ulrich Drepper <drepper@gmail.com>
53292
5a06e643
UD
53293 * po/ca.po: Update from translation team.
53294
684ae515
UD
53295 * inet/getnetgrent_r.c: Hook up nscd.
53296 * nscd/Makefile (routines): Add nscd_netgroup.
53297 (nscd-modules): Add netgroupcache.
53298 (CFLAGS-netgroupcache.c): Define.
53299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53300 (cache_search): Add const to second parameter.
53301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53302 INNETGR.
53303 (dbs): Add netgrdb entry.
53304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53305 (verify_persistent_db): Handle netgrdb.
53306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53308 GETFDNETGR.
53309 (netgroup_response_header): Define.
53310 (innetgroup_response_header): Define.
53311 (datahead): Add netgroup_response_header and innetgroup_response_header
53312 elements.
53313 * nscd/nscd.conf: Add entries for netgroup cache.
53314 * nscd/nscd.h (dbtype): Add netgrdb.
53315 (_PATH_NSCD_NETGROUP_DB): Define.
53316 (netgroup_iov_disabled): Declare.
53317 (xmalloc, xcalloc, xrealloc): Move declarations here.
53318 (cache_search): Adjust prototype.
53319 Add netgroup-related prototypes.
53320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53322 (__nscd_innetgr): Declare.
53323 * nscd/selinux.c (perms): Use access_vector_t as element type and
53324 add netgroup-related initializers.
53325 * nscd/netgroupcache.c: New file.
53326 * nscd/nscd_netgroup.c: New file.
53327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53329 For four parameters use innetgr.
53330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53334
21fd49a9
UD
53335 * nscd/connections.c (register_traced_file): Don't register file
53336 for disabled databases.
53337
054c0457
UD
533382011-10-06 Ulrich Drepper <drepper@gmail.com>
53339
32b63198
UD
53340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53341
054c0457
UD
53342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53343 from tree and freeing node.
53344
64031225
JO
533452011-09-25 Jiri Olsa <jolsa@redhat.com>
53346
53347 * nss/nsswitch.c (__nss_database_lookup): Handle
53348 nss_parse_service_list out of memory case.
53349
0490345c
JO
533502011-09-15 Jiri Olsa <jolsa@redhat.com>
53351
53352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53353 out of memory case.
53354
3a62d00d
AS
533552011-10-04 Andreas Schwab <schwab@redhat.com>
53356
53357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53359 pass it down.
53360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53361 elf_machine_rela, elf_machine_lazy_rel.
53362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53363 (ELF_DYNAMIC_DO_REL): Likewise.
53364 (ELF_DYNAMIC_DO_RELA): Likewise.
53365 (ELF_DYNAMIC_RELOCATE): Likewise.
53366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53367 to ELF_DYNAMIC_DO_REL.
53368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53371 elf_machine_rela.
53372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53373 skip_ifunc, don't call ifunc function if non-zero.
53374 (elf_machine_rela): Likewise.
53375 (elf_machine_lazy_rel): Likewise.
53376 (elf_machine_lazy_rela): Likewise.
53377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53378 (elf_machine_lazy_rel): Likewise.
53379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53380 Likewise.
53381 (elf_machine_lazy_rel): Likewise.
53382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53383 Likewise.
53384 (elf_machine_lazy_rel): Likewise.
53385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53386 (elf_machine_lazy_rel): Likewise.
53387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53388 (elf_machine_lazy_rel): Likewise.
53389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53390 (elf_machine_lazy_rel): Likewise.
53391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53392 (elf_machine_lazy_rel): Likewise.
53393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53394 (elf_machine_lazy_rel): Likewise.
53395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53396 (elf_machine_lazy_rel): Likewise.
53397
68577918
UD
533982011-09-28 Ulrich Drepper <drepper@gmail.com>
53399
53400 * nss/nss_files/files-init.c (_nss_files_init): Use static
53401 initialization for all the *_traced_file variables.
53402
68822d74
AS
534032011-09-28 Andreas Schwab <schwab@redhat.com>
53404
53405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53406
2056100b
RM
534072011-09-27 Roland McGrath <roland@hack.frob.com>
53408
53409 [BZ #13226]
53410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53411
32c76b63
AS
534122011-09-27 Andreas Schwab <schwab@redhat.com>
53413
53414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53415 Reread the line before reparsing it.
53416
bf972c9d
AS
534172011-09-26 Andreas Schwab <schwab@redhat.com>
53418
53419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53420
e057a1b5
JM
534212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53422 Maxim Kuvyrkov <maxim@codesourcery.com>
53423 Joseph Myers <joseph@codesourcery.com>
53424
53425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53426 if needed for __stack_chk_guard.
53427
bc7e1c36
RM
534282011-09-19 Roland McGrath <roland@hack.frob.com>
53429
ecb1482f
RM
53430 * sysdeps/posix/spawni.c (script_execute): Always define it.
53431 It will be optimized away if unused.
53432 (maybe_script_execute): New function.
53433 (__spawni): Call it.
53434
bc7e1c36
RM
53435 * Makerules: Don't include tls.make.
53436 (config-tls): Always set to thread.
53437 * tls.make.c: File removed.
53438
1c3b002b
MF
534392011-09-19 Mike Frysinger <vapier@gentoo.org>
53440
53441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53442 * config.make.in (CPPFLAGS-config): New substituted variable.
53443
2840865d
UD
534442011-09-15 Ulrich Drepper <drepper@gmail.com>
53445
88738eb6
UD
53446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53447
cbf645a6 53448 [BZ #13192]
2840865d
UD
53449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53451
b402e91a
RM
534522011-09-15 Roland McGrath <roland@hack.frob.com>
53453
53454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53457 (CALL_FAIL): Likewise.
53458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53459 (CALL_FAIL): Macro removed.
53460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53461
4c1a1f71
UD
534622011-09-15 Ulrich Drepper <drepper@gmail.com>
53463
53464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53465 for __FINITE_MATH_ONLY__ == 1.
53466
edc121be
AS
534672011-09-15 Andreas Schwab <schwab@redhat.com>
53468
53469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53470 __ieee754_sqrt instead of sqrt.
53471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53472 __ieee754_sqrtf instead of sqrtf.
53473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53474 __floorf instead of floorf.
53475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53476 __floorf, __truncf instead of floorf, truncf.
53477
cd205654
UD
534782011-09-14 Ulrich Drepper <drepper@gmail.com>
53479
ee4d0315
UD
53480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53481
cd205654
UD
53482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53483 __extern_always_inline.
53484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53485 32-bit.
53486
48b67d71
AS
534872011-09-14 Andreas Schwab <schwab@redhat.com>
53488
53489 * elf/rtld.c (dl_main): Also relocate in dependency order when
53490 doing symbol dependency testing.
53491
1ae12c75
AS
534922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53493
53494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53495 Always define `refsym'.
53496
995a80df
AS
534972011-09-13 Andreas Schwab <schwab@redhat.com>
53498
e529793b
AS
53499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53500 (__FD_ELT): Renamed from __FDELT.
53501 * misc/bits/select2.h (__FD_ELT): Likewise.
53502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53503 __FD_MASK instead of __FDELT, __FDMASK.
53504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53505 Likewise.
53506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53507 Likewise.
53508
52d4fef8
AS
53509 * elf/Makefile (gen-ldd): Fix pattern.
53510
995a80df
AS
53511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53512 (init_tls): Likewise.
53513
8682f8b0
UD
535142011-09-12 Ulrich Drepper <drepper@gmail.com>
53515
53516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53517
de82006d
AS
535182011-09-12 Andreas Schwab <schwab@redhat.com>
53519
a7c8e6a1
AS
53520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53521 `struct cmsghdr *' instead of `void *'.
53522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53523 Likewise.
53524
0f31fe77
AS
535252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53526
53527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53528 if non-absolute.
53529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53530 ldd_rewrite_script.
0f31fe77 53531
32b4c839
UD
535322011-09-11 Ulrich Drepper <drepper@gmail.com>
53533
83cd1420
UD
53534 * configure.in: Remove --with-tls option.
53535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53537 out in case it is missing.
53538 * sysdeps/ia64/elf/configure.in: Likewise.
53539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53543 * sysdeps/sh/elf/configure.in: Likewise.
53544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53546 * sysdeps/x86_64/elf/configure.in: Likewise.
53547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53548 * sysdeps/mach/hurd/tls.h: Likewise.
53549
633f745d
UD
53550 [BZ #13067]
53551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53552
f318beb8
UD
53553 [BZ #13090]
53554 * configure.in: Fix use of AC_INIT.
53555
32b4c839
UD
53556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53557
3ce1f295
UD
535582011-09-10 Ulrich Drepper <drepper@gmail.com>
53559
bb016596
UD
53560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53561 __set_errno.
8e58439c
UD
53562 * malloc/hooks.c: Likewise.
53563
aebae053 53564 [BZ #11929]
02d46fc4
UD
53565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53566 variables statically.
53567 (narenas): Initialize.
53568 (list_lock): Initialize.
bb016596
UD
53569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53570 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53573 Add initializers to main_arena and mp_.
53574 (malloc_state): Remove pagesize member. Change all users to use
53575 GLRO(dl_pagesize).
53576
53577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53579 is always initialized.
53580
22a89187
UD
53581 * malloc/malloc.c: Removed unused configurations and dead code.
53582 * malloc/arena.c: Likewise.
53583 * malloc/hooks.c: Likewise.
02d46fc4 53584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53585
d063d164
UD
53586 * include/tls.h: Removed. USE___THREAD must always be defined.
53587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53588 * elf/dl-libc.c: Likewise.
53589 * elf/dl-tsd.c: Likewise.
53590 * include/errno.h: Likewise.
53591 * include/netdb.h: Likewise.
53592 * include/resolv.h: Likewise.
53593 * inet/herrno-loc.c: Likewise.
53594 * inet/herrno.c: Likewise.
53595 * malloc/arena.c: Likewise.
53596 * malloc/hooks.c: Likewise.
53597 * malloc/malloc.c: Likewise.
53598 * resolv/res-state.c: Likewise.
53599 * resolv/res_libc.c: Likewise.
53600 * sysdeps/i386/dl-machine.h: Likewise.
53601 * sysdeps/ia64/dl-machine.h: Likewise.
53602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53606 * sysdeps/sh/dl-machine.h: Likewise.
53607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53609 * sysdeps/unix/i386/sysdep.S: Likewise.
53610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53621 * sysdeps/x86_64/dl-machine.h: Likewise.
53622 * tls.make.c: Likewise.
53623
3ce1f295
UD
53624 * configure.in: Remove --with-__thread option. Make tests for
53625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53626 tls_model attribute fail if no support is available. Remove
53627 USE_IN_LIBIO.
53628 * Makeconfig: Adjust for dropped configure option. All features are
53629 now mandatory.
53630 * Makerules: Likewise.
53631 * Versions.def: Likewise.
53632 * argp/argp-fmtstream.c: Likewise.
53633 * argp/argp-fmtstream.h: Likewise.
53634 * argp/argp-help.c: Likewise.
53635 * assert/assert.c: Likewise.
53636 * config.h.in: Likewise.
53637 * config.make.in: Likewise.
53638 * configure: Likewise.
53639 * configure.in: Likewise.
53640 * csu/Versions: Likewise.
53641 * csu/init.c: Likewise.
53642 * elf/tst-audit2.c: Likewise.
53643 * elf/tst-tls10.c: Likewise.
53644 * elf/tst-tls10.h: Likewise.
53645 * elf/tst-tls11.c: Likewise.
53646 * elf/tst-tls12.c: Likewise.
53647 * elf/tst-tls14.c: Likewise.
53648 * elf/tst-tlsmod11.c: Likewise.
53649 * elf/tst-tlsmod12.c: Likewise.
53650 * elf/tst-tlsmod13.c: Likewise.
53651 * elf/tst-tlsmod13a.c: Likewise.
53652 * elf/tst-tlsmod14a.c: Likewise.
53653 * elf/tst-tlsmod15b.c: Likewise.
53654 * elf/tst-tlsmod16a.c: Likewise.
53655 * elf/tst-tlsmod16b.c: Likewise.
53656 * elf/tst-tlsmod7.c: Likewise.
53657 * elf/tst-tlsmod8.c: Likewise.
53658 * elf/tst-tlsmod9.c: Likewise.
53659 * gmon/gmon.c: Likewise.
53660 * grp/fgetgrent_r.c: Likewise.
53661 * grp/putgrent.c: Likewise.
53662 * hurd/fopenport.c: Likewise.
53663 * include/libc-symbols.h: Likewise.
53664 * include/tls.h: Likewise.
53665 * intl/gettextP.h: Likewise.
53666 * intl/loadinfo.h: Likewise.
53667 * locale/global-locale.c: Likewise.
53668 * locale/localeinfo.h: Likewise.
53669 * mach/devstream.c: Likewise.
53670 * malloc/arena.c: Likewise.
53671 * malloc/set-freeres.c: Likewise.
53672 * misc/err.c: Likewise.
53673 * misc/getttyent.c: Likewise.
53674 * misc/mntent_r.c: Likewise.
53675 * posix/getopt.c: Likewise.
53676 * posix/wordexp.c: Likewise.
53677 * pwd/fgetpwent_r.c: Likewise.
53678 * resolv/Versions: Likewise.
53679 * resolv/res_hconf.c: Likewise.
53680 * shadow/fgetspent_r.c: Likewise.
53681 * shadow/putspent.c: Likewise.
53682 * stdio-common/printf_fphex.c: Likewise.
53683 * stdio-common/tmpfile.c: Likewise.
53684 * stdlib/abort.c: Likewise.
53685 * stdlib/fmtmsg.c: Likewise.
53686 * sunrpc/auth_unix.c: Likewise.
53687 * sunrpc/clnt_perr.c: Likewise.
53688 * sunrpc/clnt_tcp.c: Likewise.
53689 * sunrpc/clnt_udp.c: Likewise.
53690 * sunrpc/clnt_unix.c: Likewise.
53691 * sunrpc/openchild.c: Likewise.
53692 * sunrpc/svc_simple.c: Likewise.
53693 * sunrpc/svc_tcp.c: Likewise.
53694 * sunrpc/svc_udp.c: Likewise.
53695 * sunrpc/svc_unix.c: Likewise.
53696 * sunrpc/xdr.c: Likewise.
53697 * sunrpc/xdr_array.c: Likewise.
53698 * sunrpc/xdr_rec.c: Likewise.
53699 * sunrpc/xdr_ref.c: Likewise.
53700 * sunrpc/xdr_stdio.c: Likewise.
53701
1248c1c4
PB
537022011-09-09 Ulrich Drepper <drepper@gmail.com>
53703
53704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53705
537062011-07-03 Andreas Jaeger <aj@suse.de>
53707
53708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53710 regenerate with gen-libm-tests.pl.
53711
537122010-05-12 Petr Baudis <pasky@suse.cz>
53713
53714 [BZ #11589]
53715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53716 around j0() zero points by switching to j1().
53717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53721
f22e1074
UD
537222011-09-09 Ulrich Drepper <drepper@gmail.com>
53723
f19009c1
UD
53724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53725 instead of 0.
53726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53727 instead of 0.
f19009c1
UD
53728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53729 Patch in part by Pavel Roskin <proski@gnu.org>.
53730
3f8cc204
UD
53731 [BZ #13138]
53732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53733 realloc.
53734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53735 Free memory block if necessary.
53736
f22e1074
UD
53737 [BZ #12847]
53738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53739 be NULL. Don't lock in this case.
53740
0a2349f9
RM
537412011-09-09 Roland McGrath <roland@hack.frob.com>
53742
53743 * elf/elf.h (ELFOSABI_GNU): New macro.
53744 (ELFOSABI_LINUX): Define to that.
53745
f3cdd467
DZ
537462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53747
53748 * string/strncat.c (strncat): Undef the symbol in case it has been
53749 defined in bits/string.h.
53750
74718d13
UD
537512011-09-09 Ulrich Drepper <drepper@gmail.com>
53752
633e9e0f
UD
53753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53754
0a2349f9 53755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53756 link map.
53757
f9924780
AJ
537582011-08-17 Andreas Jaeger <aj@suse.de>
53759
53760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53761
7f5517aa
PP
537622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53763 Ian Lance Taylor <iant@google.com>
53764
53765 * math/libm-test.inc (lround_test): New testcase.
53766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53767
762011fe
UD
537682011-09-08 Ulrich Drepper <drepper@gmail.com>
53769
92963737
UD
53770 * Makefile: Remove support for automatic cvs check-ins.
53771 * Makerules: Likewise.
53772 * config.make.in: Likewise.
53773 * configure.in: Likewise.
53774 * intl/Makefile: Likewise.
53775 * locale/Makefile: Likewise.
53776 * po/Makefile: Likewise.
53777 * posix/Makefile: Likewise.
53778 * sysdeps/gnu/Makefile: Likewise.
53779 * sysdeps/mach/hurd/Makefile: Likewise.
53780 * sysdeps/sparc/sparc32/Makefile: Likewise.
53781
b0727fd8
JS
53782 [BZ #13118]
53783 * posix/Makefile (bug-regex32-ENV): Define.
53784 Patch by John Stanley <jpsinthemix@verizon.net>.
53785
a0f33f99
UD
53786 * misc/Makefile (headers): Add bits/select2.h.
53787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53788 * misc/bits/select2.h: New file.
53789 * include/bits/select2.h: New file.
53790 * debug/Makefile (routines): Add fdelt_chk.
53791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53793 FD_ISSET.
53794 * debug/fdelt_chk.c: New file.
53795
762011fe
UD
53796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53797 * wcsmbs/test-wmemcmp.c: Likewise.
53798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53800
538012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53802
53803 * string/Makefile (strop-tests): Add memcmp.
53804 * string/test-wmemcmp.c: New file.
53805 * string/test-memcmp.c: Add wmemcmp support.
53806
7f513ec8
RM
538072011-09-08 Roland McGrath <roland@hack.frob.com>
53808
0442afb4
RM
53809 [BZ #13153]
53810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53811 2011-07-19 change.
53812
7f513ec8
RM
53813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53814 garbage value in a __mach_port_mod_refs call in the cases of the
53815 task-self and thread-self ports.
53816
a12b2239
ST
538172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53818
53819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53820
610f9ab4
AS
538212011-09-08 Andreas Schwab <schwab@redhat.com>
53822
7f513ec8 53823 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53824
48882a1a
LD
538252011-09-07 Ulrich Drepper <drepper@gmail.com>
53826
b49865be
UD
53827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53828
fdc86bc9
UD
53829 * elf/dl-libc.c (dlerror_run): Pass back error code from
53830 dl_catch_error.
53831
c966526a
UD
53832 [BZ #13123]
53833 * elf/dl-load.c (lose): Free l_origin if it is valid.
53834
48882a1a
LD
53835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53836 names.
53837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53843
77a2a8b4
AZ
538442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53845
53846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53856
24f579d8
AM
538572011-08-15 Alan Modra <amodra@gmail.com>
53858
53859 [BZ #13092]
53860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53863 ppc_mcount to static-only-routines.
53864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53865 __mcount_internal.
53866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53868
3d4837df
UD
538692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53870
53871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53872 for finite and infinity parameters.
53873
22700377
WS
538742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53875
53876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53877 and add nop instructions for throughput optimization.
53878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53879
5025581e
WS
538802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53881
53882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53883 aligned copy for power7 with vector-scalar instructions.
53884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53885
08a300c9
L
538862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53887
53888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53889 AVX check.
53890
59178ef9
AS
538912011-09-07 Andreas Schwab <schwab@redhat.com>
53892
53893 [BZ #13144]
53894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53895 last change.
53896
e38ba7ab
UD
538972011-09-07 Ulrich Drepper <drepper@gmail.com>
53898
53899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53903 clock_gettime.
53904
d53a73ac
UD
539052011-09-06 Ulrich Drepper <drepper@gmail.com>
53906
fc8bffcc
UD
53907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53908 Forgot to demangle the pointer.
53909
ceaa0c5d
UD
53910 * sysdeps/i386/sysdep.h: Define atom_text_section.
53911 * sysdeps/x86_64/sysdep.h: Likewise.
53912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53913 section with atom_text_section.
53914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53919
a77d3c17
UD
53920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53922 already be defined. Change to take two parameters and don't assign
53923 result to variable. Adjust all users.
53924 Define INTERNAL_GETTIME if not already defined.
53925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53926 call.
53927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53928 HAVE_CLOCK_GETTIME_VSYSCALL.
53929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53930
d53a73ac
UD
53931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53932 gettimeofday vsyscall, just use time.
53933
a8f84144
AS
539342011-09-06 Andreas Schwab <schwab@redhat.com>
53935
53936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53937 <errno.h>.
53938
ef606249
UD
539392011-09-06 Ulrich Drepper <drepper@gmail.com>
53940
53941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53942 syscall on x86-64.
53943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53944 syscall.
53945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53947 syscall if possible.
53948
6585cb60
UD
539492011-09-05 Ulrich Drepper <drepper@gmail.com>
53950
53951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53952 e_ident. Don't pass to find_mapsXX.
53953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53954
a5f524e4
LD
539552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53956
53957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53959 * sysdeps/x86_64/multiarch/strchr.S: Update.
53960 Check bit_slow_BSF bit.
53961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53964
554881ef
UD
539652011-09-05 Ulrich Drepper <drepper@gmail.com>
53966
d96de963
UD
53967 [BZ #13134]
53968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53969 before glibc 2.15.
53970 (tryshell): Define.
53971 (__spawni): Change last parameter to be flag. Test
53972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53975 * posix/spawni.c: Likewise.
53976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53977 * posix/spawnp.c: Likewise. Change normal version to use
53978 SPAWN_XFLAGS_USE_PATH.
53979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53980 SPAWN_XFLAGS_TRY_SHELL.
53981
d48e5868
UD
53982 [BZ #13150]
53983 * posix/glob.h: Remove gcc 1.x support.
53984
554881ef
UD
53985 [BZ #13068]
53986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53987
693fb948
LD
539882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53989
53990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53992 strrchr-sse2-bsf
53993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53999
1b48c537
UD
540002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54001
49d42c37
UD
54002 * sysdeps/x86_64/wcscmp.S: New file.
54003
1b48c537
UD
54004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54005 wcscmp-c wcscmp-sse2
54006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54009 * wcsmbs/wcscmp.c: Allow renaming.
54010
15c95c5d
DM
540112011-09-05 David S. Miller <davem@davemloft.net>
54012
54013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54014 stack slot, rather than the struct return pointer slot.
54015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54019
2f0ad8f3
UD
540202011-09-05 Ulrich Drepper <drepper@gmail.com>
54021
d88ae418
UD
54022 * po/ja.po: Update from translation team.
54023
2f0ad8f3
UD
54024 [BZ #13144]
54025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54026 kernel in 64-bit binaries.
54027
5f4318d1
DM
540282011-09-01 David S. Miller <davem@davemloft.net>
54029
54030 * elf/elf.h (HWCAP_SPARC_*): Move to..
54031 * sysdeps/sparc/sysdep.h: this new file and add new values.
54032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54034 _DL_HWCAP_COUNT to 24.
54035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54036 entries.
54037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54041 instead of magic constants.
54042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54043
3ba57516
DM
540442011-08-31 David S. Miller <davem@davemloft.net>
54045
54046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54048 Reimplement to do errno handling inline.
54049 (SYSCALL_ERROR_HANDLER): New macro.
54050 (__SYSCALL_STRING): Do not do errno handling in asm.
54051 (__CLONE_SYSCALL_STRING): Delete.
54052 (__INTERNAL_SYSCALL_STRING): Delete.
54053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54055 (PSEUDO): Reimplement to do errno handling inline.
54056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54057 (SYSCALL_ERROR_HANDLER): New macro.
54058 (__SYSCALL_STRING): Do not do errno handling in asm.
54059 (__CLONE_SYSCALL_STRING): Delete.
54060 (__INTERNAL_SYSCALL_STRING): Delete.
54061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54063 i386.
54064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54065 (inline_syscall*): Add 'err' argument.
54066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54070
54071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54073
2bc17433
AS
540742011-08-30 Andreas Schwab <schwab@redhat.com>
54075
54076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54077
fbeb5f4d
JO
540782011-08-29 Jiri Olsa <jolsa@redhat.com>
54079
54080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54081 directive.
54082
ad69cc26
DM
540832011-08-24 David S. Miller <davem@davemloft.net>
54084
54085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54086
39dd69df
AS
540872011-08-24 Andreas Schwab <schwab@redhat.com>
54088
54089 * elf/Makefile: Add rules to build and run unload8 test.
54090 * elf/unload8.c: New file.
54091 * elf/unload8mod1.c: New file.
54092 * elf/unload8mod1x.c: New file.
54093 * elf/unload8mod2.c: New file.
54094 * elf/unload8mod3.c: New file.
54095
54096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54097 it wasn't used.
54098
2c0b250a
DM
540992011-08-23 David S. Miller <davem@davemloft.net>
54100
54101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54102 subtract stack bias.
54103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54104 %sp not %fp in calculations.
54105 (_JMPBUF_UNWINDS_ADJ): Likewise.
54106
22044b48
DM
54107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54108 (aio_suspend): Call it to force an exception region around the
54109 AIO_MISC_WAIT() invocation.
54110
2cae4995
AS
541112011-08-23 Andreas Schwab <schwab@redhat.com>
54112
54113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54114 backslash.
54115
873a772e
AJ
541162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54117
54118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54119 protection macro.
54120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54121 and <dl-machine.h>.
54122 (Elf64_FuncDesc): Remove.
54123
25ad0df1
DM
541242011-08-22 David S. Miller <davem@davemloft.net>
54125
54126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54127 sigaltstack check, add missing cfi directives.
54128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54129 missing cfi directives, and sigaltstack handling.
54130
e888bcbe
AS
541312011-08-16 Andreas Schwab <schwab@redhat.com>
54132
54133 [BZ #11724]
54134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54135 object is seen twice.
54136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54137
54138 * elf/Makefile (distribute): Add tst-initorder2.c.
54139 (tests): Add tst-initorder2.
54140 (modules-names): Add tst-initorder2a tst-initorder2b
54141 tst-initorder2c tst-initorder2d. Add rules to build them.
54142 ($(objpfx)tst-initorder2.out): New rule.
54143 * elf/tst-initorder2.c: New file.
54144 * elf/tst-initorder2.exp: New file.
54145
87162f46
AS
541462011-08-22 Andreas Schwab <schwab@redhat.com>
54147
70538b7f
AS
54148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54149
f55ffe58
AS
54150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54151 dependencies back to end of function.
54152
87162f46
AS
54153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54154 $(elfobjdir)/ld.so.
54155
91b392a4
UD
541562011-08-21 Ulrich Drepper <drepper@gmail.com>
54157
54158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54163 of __vdso_gettimeofday.
54164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54166 attribute_hidden.
54167 (_libc_vdso_platform_setup): Remove initialization of
54168 __vdso_gettimeofday and __vdso_time.
54169
5c43483f
UD
541702011-08-20 Ulrich Drepper <drepper@gmail.com>
54171
775a77e7
UD
54172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54173 and fgetc_unlocked.
54174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54175 getc_unlocked.
89f447ed 54176
49c74ba9
UD
54177 * elf/dl-open.c (add_to_global): Report additions to the global scope
54178 for LD_DEBUG=scopes.
54179 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54180 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54181
5c43483f
UD
54182 [BZ #13114]
54183 * stdio-common/Makefile (tests): Add bug24.
54184 * stdio-common/bug24.c: New file.
54185
a101b025
AJ
541862011-08-19 Andreas Jaeger <aj@suse.de>
54187
54188 [BZ #13114]
54189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54190 non-existant file when using close-on-exec mode.
54191
c88f1766
UD
541922011-08-20 Ulrich Drepper <drepper@gmail.com>
54193
0276a718
UD
54194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54195 the very first instruction.
54196
c88f1766
UD
54197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54198 the CFI state in the end.
54199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54200 inclusion of dl-trampoline.h.
54201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54202
51ccffa0
AS
542032011-08-19 Andreas Schwab <schwab@redhat.com>
54204
94d7165f
AS
54205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54206 expectations for long double.
54207
51ccffa0
AS
54208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54210
fd708658 542112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54212
54213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54214 artificual limit depends upon the system page size.
54215
44f0a71e
UD
542162011-08-17 Ulrich Drepper <drepper@gmail.com>
54217
54218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54219 * resolv/Makefile: Define CFLAGS-libresolv.
54220
8de79a24
AS
542212011-08-17 Andreas Schwab <schwab@redhat.com>
54222
54223 * nss/makedb.c (compute_tables): Make variables used in nested
54224 function static.
54225
27724598
UD
542262011-08-17 Ulrich Drepper <drepper@gmail.com>
54227
c5305d88
UD
54228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54230 if buffer was too small.
54231
27724598
UD
54232 * elf/pldd.c (main): Attach to all threads in the process.
54233 Rewrite /proc handling to use *at functions.
54234
076fe015
UD
542352011-08-16 Ulrich Drepper <drepper@gmail.com>
54236
174baab3
UD
54237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54238 specifies first scope to show.
54239 (dl_open_worker): Update callers. Move printing scope of new
54240 object to before the relocation.
44f0a71e 54241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54242 * sysdeps/generic/ldsodefs.h: Update declaration.
54243
076fe015
UD
54244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54245 string for the scope number.
54246
a60df2c3
UD
542472011-08-14 Ulrich Drepper <drepper@gmail.com>
54248
54249 * nscd/servicescache.c (cache_addserv): Make sure written is always
54250 initialized.
54251
5e4287d1
RM
542522011-08-14 Roland McGrath <roland@hack.frob.com>
54253
85ae0589
RM
54254 * sysdeps/i386/i486/bits/atomic.h
54255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54256 statement expression, so as to suppress "set but not used" warning.
54257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54258
69f63097
RM
54259 * string/strncat.c (STRNCAT): Use prototype definition.
54260
675456ef
RM
54261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54263 -Iprograms here.
54264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54265 (localedef-modules): Add localedef.
54266 (locale-modules): Add locale.
54267
5e4287d1
RM
54268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54270 to avoid a warning.
54271
9c96ff23
DM
542722011-08-14 David S. Miller <davem@davemloft.net>
54273
54274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54276
f9ddf089
UD
542772011-08-13 Ulrich Drepper <drepper@gmail.com>
54278
44f0a71e 54279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54281 * elf/rtld.c (dl_main): Set l_name of vDSO.
54282 Call _dl_show_scope when DL_DEBUG_SCOPES.
54283 (process_dl_debug): Recognize scopes flag and also set it for all.
54284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54285 Declare _dl_show_scope.
54286
1dc27704
UD
54287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54288 (do_dlopen): Pass caller_dlopen to dl_open.
54289 (__libc_dlopen_mode): Initialize caller_dlopen.
54290
f9ddf089
UD
54291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54292 of libc. Make tolower call locale-independent. Optimize a bit by
54293 using isdigit instead of isalnum.
54294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54295
9ac533d3
UD
542962011-08-12 Ulrich Drepper <drepper@gmail.com>
54297
54298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54299 was a dependency or dynamically loaded.
54300
89edf2e9
UD
543012011-08-11 Ulrich Drepper <drepper@gmail.com>
54302
8e999d29
UD
54303 * intl/l10nflist.c: Allow architecture-specific pop function.
54304 * sysdeps/x86_64/l10nflist.c: New file.
54305
89edf2e9
UD
54306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54307 classification.
54308
14d96785
AS
543092011-08-10 Andreas Schwab <schwab@redhat.com>
54310
54311 * include/dirent.h: Add libc_hidden_proto for scandirat and
54312 scandirat64. Don't declare __scandirat64.
54313 * dirent/scandirat.c: Add libc_hidden_def.
54314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54316
6761ac04
DM
543172011-08-10 David S. Miller <davem@davemloft.net>
54318
54319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54320 enum.
54321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54324
c55fbd1e
UD
543252011-08-09 Ulrich Drepper <drepper@gmail.com>
54326
54327 * Versions.def [libc]: Add GLIBC_2.15.
54328 * dirent/Makefile (routines): Add scandirat and scandirat64.
54329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54330 GLIBC_2.15.
54331 * dirent/dirent.h: Declare scandirat and scandirat64.
54332 * dirent/scandirat.c: New file.
54333 * dirent/scandirat64.c: New file.
54334 * sysdeps/wordsize-64/scandirat.c: New file.
54335 * sysdeps/wordsize-64/scandirat64.c: New file.
54336 * dirent/opendir.c: Define opendirat.
54337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54338 using scandirat.
54339 * dirent/scandir64.c: Adjust for scandir.c change.
54340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54341 __scandirat64, and __scandir_cancel_handler.
54342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54343 additional parameter and use openat instead of open (outside of ld.so).
54344 Add new __opendir as wrapper around __opendirat.
54345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54346 here without requiring old scandirat implementation.
54347
879165f2
UD
543482011-08-08 Ulrich Drepper <drepper@gmail.com>
54349
54350 * dirent/scandir.c (cancel_handler): Renamed to
54351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54352 defined. Adjust users.
54353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54355
cb7e923b
UD
543562011-08-04 Ulrich Drepper <drepper@gmail.com>
54357
16292edd
UD
54358 * string/test-string.h (IMPL): Use __STRING to expand name and then
54359 stringify it.
54360
cb7e923b
UD
54361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54362 of cleanups.
54363
cff82933
LD
543642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54365
54366 * string/Makefile: Update.
54367 (strop-tests): Append strncat.
54368 * string/test-wcscmp.c: New file.
54369 New comprehensive test for wcscmp.
54370 * string/test-strcmp.c: Update.
54371 (WIDE): New define.
54372
9be9bfcc
AS
543732011-07-22 Andreas Schwab <schwab@redhat.com>
54374
54375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54376 line.
54377
2e96f1c7
AS
543782011-07-26 Andreas Schwab <schwab@redhat.com>
54379
54380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54381 encoding to ACE if AI_IDN.
54382
85188888
JJ
543832011-08-01 Jakub Jelinek <jakub@redhat.com>
54384
54385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54387
5fa16e9b
LD
543882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54389
54390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54391 Fix overflow bug in strncat.
54392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54393
54394 * string/test-strncat.c: Update.
54395 Add new tests for checking overflow bugs.
54396
543972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54398
54399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54408
54409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54410 (USE_AS_STRCAT): Define.
54411 Add strcat and strncat support.
54412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54413
8c1a459f
AS
544142011-07-25 Andreas Schwab <schwab@redhat.com>
54415
54416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54417 __n bigger than INT_MAX+1.
54418 (__strncmp_g): Likewise.
54419
bba33c28
UD
544202011-07-23 Ulrich Drepper <drepper@gmail.com>
54421
798be72d
UD
54422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54423 * libio/stido.h: Likewise.
54424
8accd4dc
UD
54425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54426 (AF_NFC): Define.
54427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54428 (AF_NFC): Define.
54429
cbff0d96
UD
54430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54435
9191c04a
UD
54436 [BZ #13021]
54437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54438 installed.
54439
bba33c28
UD
54440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54441 typo.
54442 (_dl_x86_64_save_sse): Likewise.
54443
90f139dd
UD
544442011-07-22 Ulrich Drepper <drepper@gmail.com>
54445
1aae088a
UD
54446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54447 OSXSAVE.
54448 (_dl_x86_64_save_sse): Likewise.
54449
8e2045f5
UD
54450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54451
90f139dd
UD
54452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54453
1d002f25
AS
544542011-07-21 Andreas Schwab <schwab@redhat.com>
54455
54456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54457 change.
54458 (_dl_x86_64_save_sse): Use correct AVX check.
54459
21137f89
UD
544602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54461
54462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54463 bug in strncpy/strncat.
54464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54465
a65c0b7a
UD
544662011-07-21 Ulrich Drepper <drepper@gmail.com>
54467
54468 * string/tester.c (test_strcat): Add tests for different alignments
54469 of source and destination.
54470 (test_strncat): Likewise.
54471
6986b98a
UD
544722011-07-20 Ulrich Drepper <drepper@gmail.com>
54473
90bb2039
UD
54474 [BZ #12852]
54475 * posix/glob.c (glob): Check passed in values before using them in
54476 expressions to avoid some overflows.
54477 (glob_in_dir): Likewise.
54478
5644ef54
UD
54479 [BZ #13007]
54480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54481 check for AVX enablement so that we don't crash with old kernels and
54482 new hardware.
54483 * elf/tst-audit4.c: Add same checks here.
54484 * elf/tst-audit6.c: Likewise.
54485
54486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54487
bfc9dc9b
AS
544882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54489
54490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54491
702e64bb
UD
544922011-07-20 Ulrich Drepper <drepper@gmail.com>
54493
54494 * po/cs.po: Update from translation team.
54495 * po/bg.po: Likewise.
54496
295e904f
MP
544972011-07-12 Marek Polacek <mpolacek@redhat.com>
54498
54499 * misc/sys/cdefs.h: Add support for const attribute.
54500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54501 to gnu_dev_{major,minor,makedev} functions.
54502
3ff94596
MP
545032011-07-20 Marek Polacek <mpolacek@redhat.com>
54504
54505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54506
28b59fca
AS
545072011-07-20 Andreas Schwab <schwab@redhat.com>
54508
54509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54510 strlen results.
54511
19df733e
AK
545122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54513
54514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54516 register in order to avoid conflicts with the soft frame pointer
54517 being held in r11 when necessary.
54518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54519 (INTERNAL_VSYSCALL_NCS): Likewise.
54520
c8835729
MP
545212011-07-14 Marek Polacek <mpolacek@redhat.com>
54522
54523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54524 * elf/dl-fini.c (_dl_fini): Adjust caller.
54525 * elf/dl-close.c (_dl_close_worker): Likewise.
54526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54527
b902330c
MP
545282011-07-15 Marek Polacek <mpolacek@redhat.com>
54529
8991e135
MP
54530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54531 "aux_cache->nlibs < 0".
54532
b902330c
MP
54533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54534 in the reload-count case.
54535
99710781
LD
545362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54537
54538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54542 * sysdeps/x86_64/multiarch/strcat.S: New file.
54543 * sysdeps/x86_64/multiarch/strncat.S: New file.
54544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54549 (USE_AS_STRCAT): Define.
54550 Add strcat and strncat support.
54551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54554 * string/strncat.c: Update.
54555 (USE_AS_STRNCAT): Define.
54556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54558 and i7.
54559 * sysdeps/x86_64/multiarch/init-arch.h
54560 (bit_Prefer_PMINUB_for_stringop): New.
54561 (index_Prefer_PMINUB_for_stringop): Likewise.
54562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54563 bit_Prefer_PMINUB_for_stringop.
54564
7dc6bd90
UD
545652011-07-19 Ulrich Drepper <drepper@gmail.com>
54566
54567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54568 buffer64.
54569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54570 of casting of buffer.
54571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54572 buffer32 and buffer64.
54573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54574 writes instead of casting of buffer.
54575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54576 buffer32.
54577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54578 casting of buffer.
54579
e0e72284
AS
545802011-07-19 Andreas Schwab <schwab@redhat.com>
54581
54582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54583
feb1eb0b
UD
545842011-07-19 Ulrich Drepper <drepper@gmail.com>
54585
54586 * nscd/nscd.c (termination_handler): Don't do anything for a database
54587 if it has not yet been initialized.
54588
298711ff
UD
545892011-07-18 Ulrich Drepper <drepper@gmail.com>
54590
54591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54592
545932011-07-15 Marek Polacek <mpolacek@redhat.com>
54594
54595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54596
f9d68389
UD
545972011-07-18 Ulrich Drepper <drepper@gmail.com>
54598
54599 * po/nl.po: Update from translation team.
54600 * po/sv.po: Likewise.
54601
db290cf5
RM
546022011-07-16 Roland McGrath <roland@hack.frob.com>
54603
54604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54605 now disallowed by GCC.
5c550700 54606
fd5e21c7
RM
54607 * configure.in (use-default-link): Default to yes if a test -shared
54608 link meets our qualifications.
54609 * configure: Regenerated.
54610
5c550700
RM
54611 * config.make.in (output-format): New variable.
54612 * configure.in: Check for ld --print-output-format support.
54613 * configure: Regenerated.
54614 * Makerules ($(common-objpfx)format.lds)
54615 [$(output-format) != unknown]: Just use $(output-format),
54616 instead of the linker-script munging.
54617
9fa2c032
RM
546182011-07-14 Roland McGrath <roland@hack.frob.com>
54619
a6928d51
RM
54620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54621 of $(common-objpfx)shlib.lds.
54622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54623
661607b3
RM
54624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54626
9fa2c032
RM
54627 * configure.in (-z relro check): Adjust test code to add a large
54628 writable data section after it.
54629 * configure: Regenerated.
54630
defe9061
RM
546312011-07-11 Roland McGrath <roland@hack.frob.com>
54632
54633 * configure.in (-z relro check): Fix test code to make the variable
54634 truly const.
54635 * configure: Regenerated.
54636
319b9ad4
UD
546372011-07-11 Ulrich Drepper <drepper@gmail.com>
54638
54639 * nscd/nscd.h (struct traced_file): Define.
54640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54641 elements. Add traced_files.
54642 (inotify_fd): Declare.
54643 (register_traced_file): Declare.
54644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54645 (inotify_fd): Export.
54646 (resolv_conf_descr): Remove.
54647 (nscd_init): Move inotify descriptor creation to main.
54648 Don't register files for notification here.
54649 (register_traced_file): New function.
54650 (invalidate_cache): Don't use reset_res to determine whether to call
54651 res_init, go through the list of registered files.
54652 (main_loop_poll): The inotify descriptors are now stored in the
54653 structures for the traced files.
54654 (main_loop_epoll): Likewise
54655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54656 to __nss_disable_nscd.
54657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54658 for a database anymore. Check the records for all the registered
54659 files instead.
54660 * nss/Makefile (libnss_files-routines): Add files-init.
54661 (libnss_db-routines): Add db-init.
54662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54664 * nss/nss_db/db-init.c: New file.
54665 * nss/nss_files/files-init.c: New file.
54666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54667 __nss_lookup_function.
54668 (__nss_lookup_function): Call nss_load_library.
54669 (nss_load_all_libraries): New function.
54670 (__nss_disable_nscd): Take parameter with callback function for files
54671 to register. Set is_nscd. Load all the DSOs for the NSS modules
54672 used for the cached services.
54673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54675 options for features to all the files in nscd.
54676
54677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54678
23bee3e8
RM
546792011-07-10 Roland McGrath <roland@hack.frob.com>
54680
54681 * csu/elf-init.c (__libc_csu_init): Comment typo.
54682
46a5b7f0
UD
546832011-07-09 Ulrich Drepper <drepper@gmail.com>
54684
54685 * po/pl.po: Update from translation team.
54686 * po/ja.po: Likewise.
54687 * po/ru.po: Likewise.
54688 * po/ko.po: Likewise.
54689 * po/fr.po: Likewise.
54690
d30cf5bb
RM
546912011-07-09 Roland McGrath <roland@hack.frob.com>
54692
113ddea4
RM
54693 * configure.in (.ctors/.dtors header and trailer check):
54694 Use an empirical test on a built program.
54695 * configure: Regenerated.
54696
574920b4
RM
54697 * configure.in (-z relro check): Use an empirical test on a built DSO.
54698 Detect, but do not require, on ia64.
54699 * configure: Regenerated.
54700
d30cf5bb
RM
54701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54702 Update tests that use readelf to use $READELF instead.
54703 * configure: Regenerated.
54704
8538fdb3
UD
547052011-07-08 Ulrich Drepper <drepper@gmail.com>
54706
54707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54708 if the result is not used.
54709
04d08991
AJ
547102011-07-05 Andreas Jaeger <aj@suse.de>
54711
54712 [BZ#9696]
54713 * stdlib/tst-strtod.c: Add testcase.
54714
de283087
AD
547152011-07-07 Ulrich Drepper <drepper@gmail.com>
54716
4e5f31c8 54717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54719 The latter has a higher limit. Take additional parameter to pass to
54720 the new function.
54721 (__pathconf): Pass file to __statfs_link_max.
54722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54723 __statfs_link_max.
54724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54725 __statfs_link_max.
54726
de283087
AD
54727 [BZ #12868]
54728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54730 Handle Lustre.
54731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54732 (__statfs_filesize_max): Likewise.
54733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54734
c75fa153
AJ
547352011-07-05 Andreas Jaeger <aj@suse.de>
54736
54737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54738
1a544854
UD
547392011-07-06 Marek Polacek <mpolacek@redhat.com>
54740
54741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54742 `status' variable.
54743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54744 Likewise.
54745
6f0eec67
UD
547462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54747
54748 * Makefile (strop-tests): Add strncat.
54749 * string/test-strncat.c: New file.
54750
aae30307
UD
547512011-06-30 Marek Polacek <mpolacek@redhat.com>
54752
54753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54754
c0cfb5eb
UD
547552011-06-21 Andreas Jaeger <aj@suse.de>
54756
54757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54758 Copy rule from iconvdata/Makefile.
54759
01636b21
UD
547602011-07-06 Ulrich Drepper <drepper@gmail.com>
54761
54762 [BZ #12922]
54763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54764 but no long options are defined, just return 'W'.
54765
9895c8bc
UD
547662011-06-22 Marek Polacek <mpolacek@redhat.com>
54767
54768 [BZ #9696]
54769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54770
5d4cf042
UD
547712011-07-06 Ulrich Drepper <drepper@gmail.com>
54772
54773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54774 netgroups to read.
960e5535 54775 (innetgr): Likewise.
5d4cf042 54776
751eb97e
RM
547772011-07-05 Roland McGrath <roland@hack.frob.com>
54778
54779 * config.make.in (install_root): Default to $(DESTDIR).
54780
f15f1e45
UD
547812011-07-05 Ulrich Drepper <drepper@gmail.com>
54782
54783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54784
4e34ac6a
RM
547852011-07-02 Roland McGrath <roland@hack.frob.com>
54786
5e9b6af4
RM
54787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54788
84f9ea0f
RM
54789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54790 containing directory rather than embedding absolute directory names.
54791
ea5ee9f7
RM
54792 * scripts/check-local-headers.sh: Rewritten using awk.
54793 Match by word, not by line. Print error messages for matches.
54794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54795
1b74661a
RM
54796 * Makerules [shlib-lds-flags empty]:
54797 ($(common-objpfx)libc_pic.opts): New target.
54798 ($(common-objpfx)libc_pic.os.clean): New target.
54799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54800
54801 * config.make.in (OBJCOPY): New variable.
54802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54803 * configure: Regenerated.
54804
f781ef40
RM
54805 * config.make.in (use-default-link): New variable.
54806 * configure.in (use_default_link): Grok --with-default-link to set it.
54807 * configure: Regenerated.
54808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54809 (shlib-lds, shlib-lds-flags): Define to empty.
54810
2d4fa81e
RM
54811 * Makerules (shlib-lds): New variable.
54812 (shlib-lds-flags): New variable.
54813 (build-shlib, build-moduile, build-module-asneeded): Use it.
54814 ($(common-objpfx)libc.so): Use $(shlib-lds).
54815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54817
31fffa6b
RM
54818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54819 DT_FLAGS/DT_FLAGS_1 with zero flags.
54820
4e34ac6a
RM
54821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54822 linker script munging.
54823
fcfc776b
UD
548242011-07-02 Ulrich Drepper <drepper@gmail.com>
54825
54826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54827 as 128-bit value.
54828 * crypt/sha512.c (sha512_process_block): Perform total addition using
54829 128-bit if possible.
54830 (__sha512_finish_ctx): Likewise.
54831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54832 as 64-bit value.
54833 * crypt/sha256.c (SWAP64): Define.
54834 (sha256_process_block): Perform total addition using 64-bit if
54835 possible.
54836 (__sha256_finish_ctx): Likewise.
54837
99231d9a
UD
548382011-07-01 Ulrich Drepper <drepper@gmail.com>
54839
54840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54842 * nscd/hstcache.c (cache_addhst): Likewise.
54843 * nscd/grpcache.c (cache_addgr): Likewise.
54844 * nscd/aicache.c (addhstaiX): Likewise
54845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54846
445b4a53
TK
548472011-07-01 Thorsten Kukuk <kukuk@suse.de>
54848
54849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54851 * nscd/hstcache.c (cache_addhst): Likewise.
54852 * nscd/grpcache.c (cache_addgr): Likewise.
54853 * nscd/aicache.c (addhstaiX): Likewise
54854
6d4d8e8e
AS
548552011-07-01 Andreas Schwab <schwab@redhat.com>
54856
54857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54858 domain only when needed.
54859
89f654c5
AS
548602011-06-30 Andreas Schwab <schwab@redhat.com>
54861
54862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54863 is always restored.
54864
cf3b23ff
UD
548652011-06-29 Ulrich Drepper <drepper@gmail.com>
54866
54867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54868 are re-adding the entry.
54869 * nscd/servicescache.c (cache_addserv): Likewise.
54870
751626f9
AJ
548712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54872
54873 * sysdeps/generic/dl-irel.h: fix protection against multiple
54874 inclusions.
54875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54876
9113ea1f
UD
548772011-06-28 Ulrich Drepper <drepper@gmail.com>
54878
5c0b8d90
UD
54879 [BZ #12935]
54880 * malloc/memusage.sh: Fix quoting in message.
54881 * debug/xtrace.sh: Likewise.
54882
9113ea1f
UD
54883 * configure.in: Remove support for --experimental-malloc option, make
54884 it the default.
54885 * config.make.in: Likewise.
54886 * malloc/Makefile: Likewise.
54887
a4172181
AS
548882011-06-27 Andreas Schwab <schwab@redhat.com>
54889
54890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54891 two-byte characters.
54892
78a7eee7
RM
548932011-06-27 Roland McGrath <roland@hack.frob.com>
54894
62bede13
RM
54895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54896 AC_CACHE_CHECK invocation.
54897 * configure: Regenerated.
54898
78a7eee7
RM
54899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54900
5ce33a62
UD
549012011-06-27 Ulrich Drepper <drepper@gmail.com>
54902
034807a9
UD
54903 [BZ #12350]
54904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54905 bit from old_res_options.
54906
4902da17
UD
54907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54908
5ce33a62
UD
54909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54910 value type for setfct.
54911
c2344f56
L
549122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54913
54914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54915 __gettimeofday instead of gettimeofday.
54916
68468076
UD
549172011-06-26 Ulrich Drepper <drepper@gmail.com>
54918
54919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54920
acb0d739
L
549212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54922
54923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54924
54925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54926 info.
54927
8912479f
L
549282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54929
54930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54932 strcpy-sse2-unaligned strncpy-sse2-unaligned
54933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54943 (STRCPY): Support SSE2 and SSSE3 versions.
54944
d5495a11
UD
549452011-06-24 Ulrich Drepper <drepper@gmail.com>
54946
54947 [BZ #12874]
54948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54950 kernels which artificially limit size of requests.
54951
0b1cbaae
L
549522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54953
54954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54970 Enable unaligned load optimization for Intel Core i3, i5 and i7
54971 processors.
54972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54973 Define.
54974 (index_Fast_Unaligned_Load): Define.
54975 (HAS_FAST_UNALIGNED_LOAD): Define.
54976
07f494a0
MP
549772011-06-23 Marek Polacek <mpolacek@redhat.com>
54978
54979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54980
fa3fc0fe
UD
549812011-06-22 Ulrich Drepper <drepper@gmail.com>
54982
54983 [BZ #12907]
54984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54985 until it is clear that the information is realy needed.
54986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54987
e12df166
AS
549882011-06-22 Andreas Schwab <schwab@redhat.com>
54989
54990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54991
852eb34d
UD
549922011-06-22 Ulrich Drepper <drepper@gmail.com>
54993
84e2a551
UD
54994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54995 /sys/devices/system/cpu/online if it is usable.
54996
852eb34d
UD
54997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54998 reading the information from the /proc filesystem to once a second.
54999
6e502e19
UD
550002011-06-21 Andreas Jaeger <aj@suse.de>
55001
55002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55003 NULL after inclusion of kernel headers.
55004
75d39ff2
UD
550052011-06-21 Ulrich Drepper <drepper@gmail.com>
55006
51f9aa6a
UD
55007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55008 calls to internal_setent.
55009
c0244a9d
UD
55010 [BZ #12885]
55011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55012 addresses using gethostbyname4_r ignore IPv4 addresses.
55013
c5e3c2ae
UD
55014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55016
75d39ff2
UD
55017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55018
42675c6f
DM
550192011-06-20 David S. Miller <davem@davemloft.net>
55020
55021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55022 inclusions.
55023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55024
55025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55026 (elf_irel): Use it.
55027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55031 * sysdeps/x86_64/dl-irel.h: Likewise.
55032
55033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55034 * elf/dl-sym.c: Likewise.
55035
57912a71
UD
550362011-06-15 Ulrich Drepper <drepper@gmail.com>
55037
55038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55039 need to dereference resplen2.
55040
ee22793d
AS
550412011-06-14 Andreas Schwab <schwab@redhat.com>
55042
55043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55044
a9e836b0
UD
550452011-06-15 Ulrich Drepper <drepper@gmail.com>
55046
77fb9117
UD
55047 * Makeconfig: Define vardbdir and inst_vardbdir.
55048 * nss/Makefile: Add rules to install db-Makefile.
55049
40c1b22c
UD
55050 * nss/nss_db/db-XXX.c: Cleanup.
55051
9f2da732
UD
55052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55054 GLIBC_PRIVATE.
55055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55056 * nss/makedb.c: Implement -g option to specify that value strings
55057 are generated and should not be added to table iterated over for
55058 get*ent calls.
55059 * nss/nss_db/db-initgroups.c: New file.
55060
82e9a1f7
UD
55061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55062 interface.
55063
c41af17e
UD
55064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55065 (internal_getgrouplist): Adjust to name change.
55066 Update use_initgroups_entry if this is not the first call.
55067 * nss/databases.def: Add initgroups entry.
55068
a9e836b0
UD
55069 * nss/makedb.c (compute_tables): Check result of multiple hash table
55070 sizes to minimize maximum chain length.
55071
2666d441
UD
550722011-06-14 Ulrich Drepper <drepper@gmail.com>
55073
55074 * Versions.def: Add entry for libnss_db.
55075 * shlib-versions: Likewise.
55076 * nss/Makefile: Add rules to build libnss_db.
55077 * nss/Versions: Add libnss_db information. Organize libnss_files
55078 entries better.
55079 * nss/db-Makefile: Add gshadow support. Change rules for the new
55080 makedb progra. Some minor improvements to generate smaller files.
55081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55082 here from...
55083 * nss/makedb.c: ...here.
55084 Improve database format to be smaller and require less memory at
55085 runtime.
55086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55087 db anymore.
55088 * nss/nss_db/db-netgrp.c: Likewise.
55089 * nss/nss_db/db-open.c: Likewise.
55090 * nss/nss_files/flies-XXX.x: Adjust comments.
55091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55092 * nss/nss_files/files-grp.c: Likewise.
55093 * nss/nss_files/files-hosts.c: Likewise.
55094 * nss/nss_files/files-network.c: Likewise.
55095 * nss/nss_files/files-proto.c: Likewise.
55096 * nss/nss_files/files-pwd.c: Likewise.
55097 * nss/nss_files/files-rpc.c: Likewise.
55098 * nss/nss_files/files-service.c: Likewise.
55099 * nss/nss_files/files-sgrp.c: Likewise.
55100 * nss/nss_files/files-spwd.c: Likewise.
55101 * nss/nss_db/db-alias.c: Removed.
55102 * nss/nss_db/dummy-db.h: Removed.
55103
9ee76b5a
UD
551042011-06-02 Ulrich Drepper <drepper@gmail.com>
55105
55106 * nss/makedb.c: Rewritten to not use database library.
55107 * nss/Makefile: Update to build new makedb program.
55108
c71ca1f8
AJ
551092011-06-14 Andreas Jaeger <aj@suse.de>
55110
55111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55112 memset declaration.
55113
3154bfb8
UD
551142011-06-10 Andreas Schwab <schwab@redhat.com>
55115
55116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55117 tmpbuf.
55118
b350afab
RM
551192011-06-10 Roland McGrath <roland@hack.frob.com>
55120
decd4e50
RM
55121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55122 * elf/Makefile ($(objpfx)ld.so): Likewise.
55123
5615eaf2
RM
55124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55125 Don't list ld.so twice in dependencies.
55126
55127 * posix/bug-regex31.c: Include <stdlib.h>.
55128
55129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55130
55131 * nis/nss_compat/compat-spwd.c
55132 (getspent_next_nss_netgr): Remove unused variable.
55133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55134
55135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55136 nonmembers" output to use the right array.
55137
55138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55139
55140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55141
55142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55144 * catgets/gencat.c (read_input_file): Likewise.
55145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55146
55147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55148 variable definition inside #if's controlling its use.
55149
55150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55151
55152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55153
55154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55155
55156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55157 unreachable code.
55158
55159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55160
b68e08db
RM
55161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55162 * configure: Regenerated.
55163
b350afab
RM
55164 * Makerules: Revert last change.
55165 * elf/Makefile: Likewise.
55166
28368601
RM
551672011-06-09 Roland McGrath <roland@hack.frob.com>
55168
55169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55171 (reloc-link): Likewise.
55172
11988f8f
UD
551732011-06-09 Ulrich Drepper <drepper@gmail.com>
55174
55175 * elf/Makefile: Add rules to build pldd.
55176 * elf/pldd.c: New file.
55177 * elf/pldd-xx.c: New file.
55178
e80fab37
UD
551792011-06-07 Ulrich Drepper <drepper@gmail.com>
55180
55181 * version.h: Update for 2.15 development version.
55182
9b849836
DM
551832011-06-07 David S. Miller <davem@davemloft.net>
55184
55185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55186 ifuncs.
55187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55188 elf_machine_lazy_rel): Likewise.
55189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55191 elf_machine_lazy_rel): Likewise.
55192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55193 dl_hwcap via passed in argument.
55194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55195 Likewise.
55196
5a31b283
AK
551972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55198
55199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55200
069e52f8
RM
552012011-06-06 Roland McGrath <roland@hack.frob.com>
55202
55203 [BZ #12849]
55204 * manual/fdl-1.1.texi: New file, verbatim from:
55205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55206 * manual/lgpl-2.1.texi: New file, verbatim from:
55207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55208 * manual/Makefile (licenses): New variable, list those new file names.
55209 (texis): Use it.
55210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55211
55212 * manual/fdl.texi: File removed.
55213 * manual/lesser.texi: File removed.
55214 * manual/libc.texinfo (Copying, Documentation License):
55215 Use new @include file names, put @appendix directive before @include.
55216
f16846a5
JJ
552172011-06-04 Jakub Jelinek <jakub@redhat.com>
55218
55219 [BZ #12841]
55220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55222 (mq_open): Add __NTH.
55223
3d29045b
L
552242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55225
55226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55227 Assume Intel Core i3/i5/i7 processor if AVX is available.
55228
8c297311
UD
552292011-05-31 Ulrich Drepper <drepper@gmail.com>
55230
55231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55232 typo.
55233
c8fc0c91
UD
552342011-05-31 Andreas Schwab <schwab@redhat.com>
55235
55236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55237 memory. Use alloca_account. Fix memory leak when retrying.
55238
5b27a807
UD
552392011-05-31 Ulrich Drepper <drepper@gmail.com>
55240
356f8bc6
UD
55241 * version.h (RELEASE): Bump for 2.14 release.
55242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55243
5b27a807
UD
55244 * config.make.in (RANLIB): Remove entry.
55245
01f16ab0
UD
552462011-05-30 Ulrich Drepper <drepper@gmail.com>
55247
41fce8bd
UD
55248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55249 (libc.pot): Work around missing support for .ksh extension in xgettext.
55250
4769ae77
UD
55251 [BZ #12684]
55252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55253 if both request failed.
55254 (send_dg): In case of server errors clear resplen or *resplen2.
55255
6b1e7d19
UD
55256 [BZ #12454]
55257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55258 when there are multiple maps.
55259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55260 (_dl_fini): Remove test here.
55261
01f16ab0
UD
55262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55263
b1ebd700
UD
552642011-05-29 Ulrich Drepper <drepper@gmail.com>
55265
7ae22829
UD
55266 [BZ #12350]
55267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55268 bit from old_res_options.
55269 (gaih_inet): Likewise.
55270
553149f6 55271 [BZ #11099]
18a84741 55272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55273 as signed.
55274
652ffab1
UD
55275 * resolv/res_init.c (res_setoptions): Make the code more compact.
55276
16985fd0
UD
55277 [BZ #11558]
55278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55279 set RES_USEVC.
55280
0464f746
UD
55281 [BZ #11634]
55282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55283
7d17596c
UD
55284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55285
cf6bbbd7
UD
55286 [BZ #11781]
55287 * malloc/malloc.h: Declare malloc hook variables as volatile.
55288
13f1ab36
UD
55289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55290 in last patch.
55291
b1ebd700
UD
55292 [BZ #11799]
55293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55294 raise in the comment.
80e2212d
UD
55295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55298
ce67228d
UD
552992011-05-28 Ulrich Drepper <drepper@gmail.com>
55300
8887a920
UD
55301 [BZ #12811]
55302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55303 grow the buffers more if it already has to be sufficient.
55304 (build_wcs_upper_buffer): Likewise.
55305 * posix/regexec.c (check_matching): Likewise.
55306 (clean_state_log_if_needed): Likewise.
55307 (extend_buffers): Don't enlarge buffers beyond size of the input
55308 buffer.
55309 Patches mostly by Emil Wojak <emil@wojak.eu>.
55310 * posix/bug-regex32.c: New file.
55311 * posix/Makefile (tests): Add bug-regex32.
55312
4f031072
UD
55313 * locale/findlocale.c (_nl_find_locale): Return right away if
55314 _nl_explode_name failed.
55315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55316
d0478f0c
UD
55317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55318
de81b246
UD
55319 * debug/xtrace.sh: Unify messages.
55320 * malloc/memusage.sh: Likewise.
55321
c738465a
UD
55322 [BZ #12813]
55323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55324 time symbol from vDSO. Substitute with vsyscall if not available.
55325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55326 __vdso_time.
55327
f1f929d7
UD
55328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55331 Add sendmmsg and internal_sendmmsg.
55332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55335
ce67228d
UD
55336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55339
e57420c6
UD
553402011-05-27 Ulrich Drepper <drepper@gmail.com>
55341
a8509ca5
UD
55342 [BZ #12813]
55343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55345 available.
55346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55347 __vdso_getcpu.
55348
e57420c6
UD
55349 [BZ #12814]
55350 * iconvdata/Makefile (tests): Add bug-iconv9.
55351 * iconvdata/bug-iconv9.c: New file.
55352
4d07db15
AS
553532011-05-27 Andreas Schwab <schwab@redhat.com>
55354
55355 [BZ #12814]
55356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55357
ea486f69
JJ
553582011-05-25 Jakub Jelinek <jakub@redhat.com>
55359
55360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55361 (struct user_regs_struct): Change intcs field back to cs.
55362
6f038433
UD
553632011-05-25 Ulrich Drepper <drepper@gmail.com>
55364
55365 * po/ja.po: Update from translation team.
55366
67f86a25
UD
553672011-05-23 Ulrich Drepper <drepper@gmail.com>
55368
55369 [BZ #12795]
55370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55372
def7fbd6
AS
553732011-05-20 Andreas Schwab <schwab@redhat.com>
55374
55375 * stdlib/longlong.h: Update from GCC.
55376
f50ef8f1
AS
553772011-05-23 Andreas Schwab <schwab@redhat.com>
55378
55379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55380 parameter name.
55381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55382 Add parameter name.
55383 (__sysconf): Pass it down.
55384
de7ce8f1
UD
553852011-05-22 Ulrich Drepper <drepper@gmail.com>
55386
f2962a71
UD
55387 [BZ #12671]
55388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55389 some situations.
55390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55392 add in in __libc_use_alloca calls. Adjust callers.
55393 (glob): Use malloc in some situations.
55394
de7ce8f1
UD
55395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55397 pltexit.
55398
aec84f53
UD
553992011-05-21 Ulrich Drepper <drepper@gmail.com>
55400
05bb4a68
UD
55401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55402 and CLOCK_BOOTTIME_ALARM.
55403
7ea72f99
UD
55404 [BZ #12782]
55405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55406 is returned.
55407
7e4afad5
UD
55408 * string/_strerror.c (__strerror_r): Print negative errors as signed
55409 numbers.
55410
8e211fec
UD
55411 [BZ #12777]
55412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55415
f7d82dc9
UD
55416 * configure.in: Fix typo in redirection and correct removal of test
55417 files in two cases.
55418
cc9e536d
UD
55419 [BZ #12788]
55420 * locale/setlocale.c (new_composite_name): Fix test to check for
55421 identical name of all categories.
55422
aec84f53
UD
55423 [BZ #12792]
55424 * libio/filedoalloc.c (local_isatty): New function.
55425 (_IO_file_doallocate): Use local_isatty.
55426 * stdio-common/perror.c (perror): In case a new stream is used
55427 forward the stream error.
55428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55429 error flag.
55430
78e64fdc
RT
554312011-05-20 Ulrich Drepper <drepper@gmail.com>
55432
34a9094f
UD
55433 [BZ #11869]
55434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55435 alloca.
55436 * include/alloca.h (extend_alloca_account): Define.
55437
78e64fdc
RT
55438 [BZ #11857]
55439 * posix/regex.h: Fix comments with documentation of user-accessible
55440 fields after compilation and describe correct free'ing of pattern
55441 after re_compile_pattern.
55442 Patch by Reuben Thomas <rrt@sc3d.org>.
55443
457bddfc
RA
554442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55445
55446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55447 and -mno-altivec to prevent the compiler from using Altivec and/or
55448 VSX instructions when the corresponding registers are not available.
55449
a4527b51
AS
554502011-05-19 Andreas Schwab <schwab@redhat.com>
55451
55452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55453
ed690b2f
UD
554542011-05-19 Ulrich Drepper <drepper@gmail.com>
55455
55456 * libio/freopen.c (freopen): Use __dup2, not dup2.
55457 * libio/freopen64.c (freopen64): Likewise.
55458
8db73634
L
554592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55460
55461 [BZ #12775]
55462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55463 * math/Makefile (tests): Add test-powl.
55464 (CFLAGS-test-powl.c): Define.
55465 * math/test-powl.c: New file.
55466
0a197a9d
L
554672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55468
55469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55470
ee30c380
UD
554712011-05-17 Ulrich Drepper <drepper@gmail.com>
55472
55473 [BZ #11837]
55474 * iconvdata/gb18030.c: Update to GB18020-2005.
55475
6ce75379
UD
554762011-05-16 Ulrich Drepper <drepper@gmail.com>
55477
a4b89fd8
AR
55478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55480 Patch by Aharon Robbins <arnold@skeeve.com>.
55481
ea389b12
UD
55482 [BZ #11892]
55483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55484 on the stack.
55485
68a3f91f
UD
55486 [BZ #11895]
55487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55488 through underflows.
55489
15cc7dd1
UD
55490 [BZ #12766]
55491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55492 point to strings before performing equality test for error_one_per_line
55493 mode.
55494
f3799213
UD
55495 [BZ #11697]
55496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55497
d79a9c94
UD
55498 [BZ #11820]
55499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55500 (struct user_fpregs_struct): Avoid __uint*_t types.
55501
56e5eb46
UD
55502 [BZ #6420]
55503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55504 symbol info. Use it instead of calling _dl_addr locally.
55505 (lock_and_info): New function.
55506 (tr_freehook): Call lock_and_info and pass symbol info as additional
55507 parameter to tr_where.
55508 (tr_mallochook): Likewise.
55509 (tr_reallochook): Likewise.
55510 (tr_memalignhook): Likewise.
55511
6ce75379
UD
55512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55513 used and couldn't be at all thread-safe.
55514
f8a3b5bf
UD
555152011-05-15 Ulrich Drepper <drepper@gmail.com>
55516
94b7cc37
UD
55517 * libio/freopen.c (freopen): Don't close old file descriptor
55518 before the new one is opened. Instead dup the new file descriptor
55519 to the old one after the new stream is created.
55520 * libio/freopen64.c (freopen64): Likewise.
55521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55522 * libio/fileops.c (_IO_new_file_close_it): Handle new
55523 _IO_FLAGS2_NOCLOSE flag.
55524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55527 _IO_FLAGS2_NOCLOSE flag.
55528 * include/unistd.h: Add hidden_proto for dup3.
55529 Define __have_dup3.
55530 * io/dup3.c: Define hidden symbol.
55531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55532
bd25564e
UD
55533 [BZ #7101]
55534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55535 when an incomplete long option is used.
55536 * posix/tst-getopt_long1.c: New file.
55537 * posix/Makefile (tests): Add tst-getopt_long1.
55538
c84cfef4
UD
55539 [BZ #10138]
55540 * scripts/config.guess: Update from autoconf-2.68.
55541 * scripts/config.sub: Likewise.
55542
3b85df27
UD
55543 [BZ #10157]
55544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55545 tests into ...
55546 (has_cpuclock): ...this. New function.
55547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55548 macro here based on has_cpuclock code.
55549
15a856b1
UD
55550 [BZ #10149]
55551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55552 First byte (not low byte) is now always NUL.
55553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55554
05f399e6
UD
55555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55556 Use non-cancelable interfaces.
55557
10a52685 55558 [BZ #9809]
94ecc67d
UD
55559 * locale/iso-639.def: Add entry for Sorani.
55560
f8a3b5bf
UD
55561 [BZ #11901]
55562 * include/stdlib.h: Move include protection to the right place.
55563 Define abort_msg_s. Declare __abort_msg with it.
55564 * stdlib/abort.c (__abort_msg): Adjust type.
55565 * assert/assert.c (__assert_fail_base): New function. Majority
55566 of code from __assert_fail. Allocate memory for __abort_msg with
55567 mmap.
55568 (__assert_fail): Now call __assert_fail_base.
55569 * assert/assert-perr.c: Remove bulk of implementation. Use
55570 __assert_fail_base.
55571 * include/assert.hL Declare __assert_fail_base.
55572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55573 mmap.
55574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55575
1af4e298
UD
555762011-05-14 Ulrich Drepper <drepper@gmail.com>
55577
f8a3b5bf 55578 [BZ #11952]
d26dfc60
MG
55579 [BZ #12453]
55580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55581 until all modules are registered in the DTV.
55582 * elf/Makefile: Add rules to build and run tst-tls19.
55583 * elf/tst-tls19.c: New file.
55584 * elf/tst-tls19mod1.c: New file.
55585 * elf/tst-tls19mod2.c: New file.
55586 * elf/tst-tls19mod3.c: New file.
55587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55588
2fc54d6f
UD
55589 [BZ #12083]
55590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55591 correctly.
55592
98d76b46
UD
55593 [BZ #12601]
55594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55595 two-byte sequence errors.
55596 * iconvdata/Makefile (tests): Add bug-iconv8.
55597 * iconvdata/bug-iconv8.c: New file.
55598
da3c19ef
UD
55599 [BZ #12626]
55600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55601 buf2 definition.
55602
ca408c15
UD
55603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55604
d6f67f7d
UD
55605 [BZ #12432]
55606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55607 (dummy_getcfa): New function.
55608 (init): Get _Unwind_GetCFA address, use dummy if not found.
55609 (backtrace_helper): In recursion check, also check whether CFA changes.
55610 (__backtrace): Completely initialize arg.
55611
1af4e298 55612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55613 storing incomplete byte sequence in state object. Avoid testing for
55614 guaranteed too small input if we know there is enough data available.
1af4e298 55615
da62f81b
AS
556162011-05-11 Andreas Schwab <schwab@redhat.com>
55617
55618 * Makeconfig (+link-pie): Indent.
55619 * Rules (binaries-pie): Define if $(have-fpie) and
55620 $(build-shared).
55621 (binaries-shared): Also filter out $(binaries-pie).
55622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55623 * nscd/Makefile (others-pie): Add nscd.
55624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55625 ($(objpfx)nscd): Remove command override.
55626 * login/Makefile (others-pie): Add pt_chown.
55627 ($(objpfx)pt_chown): Remove command override.
55628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55629 remove command overrides.
55630
fcabc0f8
UD
556312011-05-13 Ulrich Drepper <drepper@gmail.com>
55632
20030ae6
UD
55633 * libio/tst_putwc.c: Fix error messages.
55634
fcabc0f8
UD
55635 [BZ #12724]
55636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55637 currently writing and seek to current position when not.
55638 * libio/Makefile (tests): Add bug-fclose1.
55639 * libio/bug-fclose1.c: New file.
55640
320a5dc0
PB
556412011-05-12 Ulrich Drepper <drepper@gmail.com>
55642
55643 [BZ #12511]
55644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55645 don't set DF_1_NODELETE here.
55646 (do_lookup_x): When entering new entry test for copy relocation
55647 and if necessary set DF_1_NODELETE flag.
55648 * elf/tst-unique4.cc: New file.
55649 * elf/tst-unique4.h: New file.
55650 * elf/tst-unique4lib.cc: New file.
55651 * elf/Makefile: Add rules to build and run tst-unique4.
55652 Patch by Piotr Bury <pbury@goahead.com>.
55653
22836f52
UD
556542011-05-11 Ulrich Drepper <drepper@gmail.com>
55655
f574184a
UD
55656 [BZ #12052]
55657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55658
e1fb097f
UD
55659 [BZ #12625]
55660 * misc/mntent_r.c (addmntent): Flush the stream after the output
55661
22836f52
UD
55662 [BZ #12393]
55663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55664 (is_trusted_path_normalize): Skip initial colon. Append slash
55665 to empty buffer. Duplicate is_trusted_path code but allow
55666 constructed patch to be prefix.
55667 (is_dst): Allow $ORIGIN followed by /.
55668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55669 Correct testing of result of is_trusted_path_normalize
55670 (decompose_rpath): Fix warning.
55671
7b3b0b2a
UD
556722011-05-10 Ulrich Drepper <drepper@gmail.com>
55673
55674 [BZ #11257]
55675 * grp/initgroups.c (internal_getgrouplist): When we found the service
55676 list through the initgroups entry in nsswitch.conf do not always
55677 continue on a successful lookup. Don't always use the
eac80ce2 55678 __nss_group_database value if it is set.
7b3b0b2a
UD
55679 * nss/nsswitch.conf (initgroups): Change action for successful db
55680 lookup to continue for compatibility.
55681
2a81eaa5
UD
556822011-05-09 Ulrich Drepper <drepper@gmail.com>
55683
be97a69e
UD
55684 [BZ #11532]
55685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55686 and CP774 modules.
55687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55688 and CP774 modules.
55689 * iconvdata/tst-tables.sh: Likewise.
55690 * iconvdata/cp770.c: New file.
55691 * iconvdata/cp771.c: New file.
55692 * iconvdata/cp772.c: New file.
55693 * iconvdata/cp773.c: New file.
55694 * iconvdata/cp774.c: New file.
55695 * iconvdata/testdata/CP770: New file.
55696 * iconvdata/testdata/CP770..UTF8: New file.
55697 * iconvdata/testdata/CP771: New file.
55698 * iconvdata/testdata/CP771..UTF8: New file.
55699 * iconvdata/testdata/CP772: New file.
55700 * iconvdata/testdata/CP772..UTF8: New file.
55701 * iconvdata/testdata/CP773: New file.
55702 * iconvdata/testdata/CP773..UTF8: New file.
55703 * iconvdata/testdata/CP774: New file.
55704 * iconvdata/testdata/CP774..UTF8: New file.
55705
55706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55707 END CHARMAP line.
55708 * iconvdata/gen-8bit-gap.sh: Likewise.
55709 * iconvdata/gen-8bit.sh: Likewise.
55710
c1e9e399
UD
55711 * locale/iso-639.def: Add ary entry.
55712
24c55fb3 55713 [BZ #11258]
96b4b1b0
UD
55714 * locale/C-translit.h.in: Add U20A1 transliteration.
55715
bdc2f971
KB
55716 [BZ #12178]
55717 * locale/iso-639.def: Add wae entry.
55718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55719
2952b117
UD
55720 [BZ #12545]
55721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55722 for n.
55723
2a81eaa5
UD
55724 [BZ #12711]
55725 * locale/C-translit.h.in: Add entry for U20B9.
55726 Patch by pravin.d.s@gmail.com.
55727
28377d1b
UD
557282011-05-08 Ulrich Drepper <drepper@gmail.com>
55729
7fb90fb8
UD
55730 [BZ #12713]
55731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55732 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55734 in rtld. Use *stat64.
7fb90fb8 55735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55742 __fstatat64 macros.
7fb90fb8
UD
55743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55744 * dirent/rewinddir.c: Add libc_hidden_def.
55745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55747
28377d1b
UD
55748 * include/dirent.h (__alloc_dir): Add flags parameter.
55749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55751 __alloc_dir.
55752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55753 from fdopendir if O_CLOEXEC is already set.
55754
66bdbaa4
AM
557552011-03-15 Alan Modra <amodra@gmail.com>
55756
55757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55758 l_tls_firstbyte_offset non-zero. Save padding offset in
55759 l_tls_firstbyte_offset for later use.
55760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55761 freeing static tls block.
55762
95721191
JN
557632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55764
55765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55766 where #ifdef was intended. The intent is to prevent ARG_MAX from
55767 being defined by the kernel headers.
55768
f87dfb1f
UD
557692011-05-07 Ulrich Drepper <drepper@gmail.com>
55770
55771 [BZ #12734]
55772 * resolv/resolv.h: Define RES_NOTLDQUERY.
55773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55774 no-tld-query and set RES_NOTLDQUERY.
55775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55777 modern BIND to search name as TLD unless forbidden.
55778
47c3cd7a
UD
557792011-05-07 Petr Baudis <pasky@suse.cz>
55780 Ulrich Drepper <drepper@gmail.com>
55781
55782 [BZ #12393]
55783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55784 (is_trusted_path): ...to here.
c1e9ea35 55785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55787 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55788
8a35c912
PP
557892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55790
55791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55792 __BEGIN/__END_DECLS.
55793
acd41f47
UD
557942011-05-06 Ulrich Drepper <drepper@gmail.com>
55795
55796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55797 NSS_STATUS_NOTFOUND if no record was found.
55798
597df647
AS
557992011-05-05 Andreas Schwab <schwab@redhat.com>
55800
55801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55802 (headers-not-in-tirpc): Remove rpc/netdb.h
55803 * resolv/netdb.h: Revert last change.
55804
b9af1301
PP
558052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55806
55807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55808 circular dependency between libgcc.a and libc.a.
55809
4e34d5f5
AS
558102011-05-05 Andreas Schwab <schwab@redhat.com>
55811
55812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55813 * nis/Makefile: Don't install rpcsvc/*.
55814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55815 instead of <rpc/types.h>.
55816 (MAXHOSTNAMELEN): Define.
55817
00ee369c
AS
558182011-05-03 Andreas Schwab <schwab@redhat.com>
55819
55820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55821
0b592a30
MB
558222011-04-28 Maciej Babinski <mbabinski@google.com>
55823
55824 [BZ #12714]
55825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55826 gethostbyname4_r when IPv6 results are possible.
55827
6e04cbbe
UD
558282011-05-02 Ulrich Drepper <drepper@gmail.com>
55829
55830 [BZ #12723]
55831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55832 _PC_PIPE_BUF handling.
55833
e4ecafe0
BH
558342011-04-30 Bruno Haible <bruno@clisp.org>
55835
55836 [BZ #12717]
55837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55839 to 'int'.
55840 * inet/getnameinfo.c (getnameinfo): Likewise.
55841
125ee683
UD
558422011-04-29 Ulrich Drepper <drepper@gmail.com>
55843
55844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55845 to groups setting in database lookup.
55846 * nss/nsswitch.conf: Add initgroups entry.
55847
b722481a
EB
558482011-04-22 Ulrich Drepper <drepper@gmail.com>
55849
55850 [BZ #12685]
55851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55852 mode string.
55853 Patch by Eric Blake <eblake@redhat.com>.
55854
4df46dbd
L
558552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55856
55857 * sunrpc/Makefile (need-export-routines): Add svc_run.
55858 (routines): Remove svc_run.
55859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55861 * sunrpc/svc_run.c (svc_run): Likewise.
55862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55863
e84142d2
UD
558642011-04-21 Ulrich Drepper <drepper@gmail.com>
55865
55866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55867 problem in reallocation in last patch.
55868
877175d8
UD
558692011-04-20 Ulrich Drepper <drepper@gmail.com>
55870
55871 * sunrpc/Makefile: Move inclusion of Rules.
55872
ab8eed78
UD
558732011-04-19 Ulrich Drepper <drepper@gmail.com>
55874
55875 * nss/nss_files/files-initgroups.c: New file.
55876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55878 _nss_files_initgroups_dyn.
55879
e3d8f584
RS
558802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55881
55882 * elf/elf.h (R_ARM_IRELATIVE): Define.
55883
af190f45
UD
558842011-04-19 Ulrich Drepper <drepper@gmail.com>
55885
55886 * po/ru.po: Update from translation team.
55887
53cf59ef
UD
558882011-04-17 Ulrich Drepper <drepper@gmail.com>
55889
55890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55891 dependencies.
55892
4c559bcd
MF
558932011-02-06 Mike Frysinger <vapier@gentoo.org>
55894
55895 [BZ #12653]
55896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55901
4420675c
AS
559022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55903
55904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55905 differing bytes.
55906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55909
75ea32ab
UD
559102011-04-17 Ulrich Drepper <drepper@gmail.com>
55911
55912 [BZ #12420]
55913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55914 storing it.
55915 * stdlib/bug-getcontext.c: New file.
55916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55917
27390476
AK
559182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55919
55920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55921 instructions into .machine "z9-109".
55922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55924
10442705
AK
559252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55926
55927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55928 between environment variables and auxiliary vector.
55929
7b57bfe5
UD
559302011-04-16 Ulrich Drepper <drepper@gmail.com>
55931
55932 * Makefile: Add rules to build linkobj/libc.so.
55933 * include/libc-symbols.h: Define libc_hidden_nolink.
55934 * include/rpc/auth.h: Mark functions which are to be hidden.
55935 * include/rpc/auth_des.h: Likewise.
55936 * include/rpc/auth_unix.h: Likewise.
55937 * include/rpc/clnt.h: Likewise.
55938 * include/rpc/des_crypt.h: Likewise.
55939 * include/rpc/key_prot.h: Likewise.
55940 * include/rpc/pmap_clnt.h: Likewise.
55941 * include/rpc/pmap_prot.h: Likewise.
55942 * include/rpc/pmap_rmt.h: Likewise.
55943 * include/rpc/rpc_msg.h: Likewise.
55944 * include/rpc/svc.h: Likewise.
55945 * include/rpc/svc_auth.h: Likewise.
55946 * include/rpc/xdr.h: Likewise.
55947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55948 * nss/Makefile: Likewise.
55949 * sunrpc/Makefile: Don't install headers. Build library with normal
55950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55952 for the compat linking library. Remove use of INTDEF/INTUSE.
55953 * sunrpc/auth_none.c: Likewise.
55954 * sunrpc/auth_unix.c: Likewise.
55955 * sunrpc/authdes_prot.c: Likewise.
55956 * sunrpc/authuxprot.c: Likewise.
55957 * sunrpc/clnt_gen.c: Likewise.
55958 * sunrpc/clnt_perr.c: Likewise.
55959 * sunrpc/clnt_raw.c: Likewise.
55960 * sunrpc/clnt_simp.c: Likewise.
55961 * sunrpc/clnt_tcp.c: Likewise.
55962 * sunrpc/clnt_udp.c: Likewise.
55963 * sunrpc/clnt_unix.c: Likewise.
55964 * sunrpc/des_crypt.c: Likewise.
55965 * sunrpc/des_soft.c: Likewise.
55966 * sunrpc/get_myaddr.c: Likewise.
55967 * sunrpc/key_call.c: Likewise.
55968 * sunrpc/key_prot.c: Likewise.
55969 * sunrpc/netname.c: Likewise.
55970 * sunrpc/pm_getmaps.c: Likewise.
55971 * sunrpc/pm_getport.c: Likewise.
55972 * sunrpc/pmap_clnt.c: Likewise.
55973 * sunrpc/pmap_prot.c: Likewise.
55974 * sunrpc/pmap_prot2.c: Likewise.
55975 * sunrpc/pmap_rmt.c: Likewise.
55976 * sunrpc/publickey.c: Likewise.
55977 * sunrpc/rpc_cmsg.c: Likewise.
55978 * sunrpc/rpc_common.c: Likewise.
55979 * sunrpc/rpc_dtable.c: Likewise.
55980 * sunrpc/rpc_prot.c: Likewise.
55981 * sunrpc/rpc_thread.c: Likewise.
55982 * sunrpc/rtime.c: Likewise.
55983 * sunrpc/svc.c: Likewise.
55984 * sunrpc/svc_auth.c: Likewise.
55985 * sunrpc/svc_authux.c: Likewise.
55986 * sunrpc/svc_raw.c: Likewise.
55987 * sunrpc/svc_run.c: Likewise.
55988 * sunrpc/svc_simple.c: Likewise.
55989 * sunrpc/svc_tcp.c: Likewise.
55990 * sunrpc/svc_udp.c: Likewise.
55991 * sunrpc/svc_unix.c: Likewise.
55992 * sunrpc/svcauth_des.c: Likewise.
55993 * sunrpc/xcrypt.c: Likewise.
55994 * sunrpc/xdr.c: Likewise.
55995 * sunrpc/xdr_array.c: Likewise.
55996 * sunrpc/xdr_float.c: Likewise.
55997 * sunrpc/xdr_intXX_t.c: Likewise.
55998 * sunrpc/xdr_mem.c: Likewise.
55999 * sunrpc/xdr_rec.c: Likewise.
56000 * sunrpc/xdr_ref.c: Likewise.
56001 * sunrpc/xdr_sizeof.c: Likewise.
56002 * sunrpc/xdr_stdio.c: Likewise.
56003
e6c61494
UD
560042011-04-10 Ulrich Drepper <drepper@gmail.com>
56005
56006 [BZ #12650]
56007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56008 * sysdeps/ia64/dl-tls.h: Likewise.
56009 * sysdeps/powerpc/dl-tls.h: Likewise.
56010 * sysdeps/s390/dl-tls.h: Likewise.
56011 * sysdeps/sh/dl-tls.h: Likewise.
56012 * sysdeps/sparc/dl-tls.h: Likewise.
56013 * sysdeps/x86_64/dl-tls.h: Likewise.
56014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56015
34fe483e
AS
560162011-03-14 Andreas Schwab <schwab@redhat.com>
56017
56018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56019 rpath element also skip the following colon.
56020 (expand_dynamic_string_token): Add is_path parameter and pass
56021 down to DL_DST_REQUIRED and _dl_dst_substitute.
56022 (decompose_rpath): Call expand_dynamic_string_token with
56023 non-zero is_path. Ignore empty rpaths.
56024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56025 with zero is_path.
56026
f12a32e6
AS
560272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56028
56029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56030 Make cancelable.
56031
38a7d692
UD
560322011-04-09 Ulrich Drepper <drepper@gmail.com>
56033
56034 [BZ #12655]
56035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56036 Patch by Filipe David Manana <fdmanana@apache.org>.
56037
e451d22b
AS
560382011-04-07 Andreas Schwab <schwab@redhat.com>
56039
56040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56041 Maintain aligned stack.
56042 (CHECK_RSP): Remove unused macro.
56043
dedc7c7b
UD
560442011-04-03 Ulrich Drepper <drepper@gmail.com>
56045
56046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56048
94521213
UD
560492011-04-02 Ulrich Drepper <drepper@gmail.com>
56050
56051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56052
8cb700c0 56053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56054
0354e355
L
560552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56056
56057 [BZ #12518]
56058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56060 * sysdeps/x86_64/memmove.c: New file.
56061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56062 (memcpy): Renamed to ...
56063 (__new_memcpy): This.
56064 (memcpy): Provide GLIBC_2_14 memcpy.
56065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56066 (memcpy): Provide GLIBC_2_2_5 memcpy.
56067
8593482f
UD
560682011-04-01 Ulrich Drepper <drepper@gmail.com>
56069
56070 [BZ #12631]
56071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56072
81a5726b
AS
560732011-03-30 Andreas Schwab <schwab@redhat.com>
56074
56075 * misc/syncfs.c: New file.
56076 * misc/Makefile (routines): Add syncfs.
56077 * posix/unistd.h: Declare syncfs.
56078 * sysdeps/unix/syscalls.list: Add syncfs.
56079
00e5419f
AS
560802011-04-01 Andreas Schwab <schwab@redhat.com>
56081
56082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56083 open_by_handle_at.
56084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56091
748876bf
UD
560922011-04-01 Ulrich Drepper <drepper@gmail.com>
56093
658e451d
UD
56094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56101
748876bf
UD
56102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56103 sync_file_range.c with -fexceptions.
56104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56111 sync_file_range as cancellation point
56112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56113 now a wrapper around __call_sync_file_range with cancellation handling.
56114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56116 function name to __call_sync_file_range.
56117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56118 Add call_sync_file_range.
748876bf 56119
6e63d5e1
AS
561202011-04-01 Andreas Schwab <schwab@redhat.com>
56121
56122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56123 bits/timex.h.
6e63d5e1 56124
46998f74
UD
561252011-04-01 Ulrich Drepper <drepper@gmail.com>
56126
4c1423ed
UD
56127 * iconv/iconv.h: Fix typo in comment.
56128 * io/fcntl.h: Likewise.
56129 * libio/stdio.h: Likewise.
56130 * posix/spawn.h: Likewise.
56131 * posix/unistd.h: Likewise.
56132 * stdlib/stdlib.h: Likewise.
56133 * time/time.h: Likewise.
56134 * wcsmbs/wchar.h: Likewise.
56135
158648c0
UD
56136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56137 open_by_handle): Add.
56138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56140 Augment a few comments.
56141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56147 open_by_handle.
56148
46998f74
UD
56149 * io/fcntl.h (AT_EMPTY_PATH): Define.
56150
83fe108b
UD
561512011-03-30 Ulrich Drepper <drepper@gmail.com>
56152
56153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56156 to...
56157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56158 * Versions.def: Add GLIBC_2.14.
56159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56160 Export.
83fe108b 56161
bb242059
UD
561622011-03-22 Ulrich Drepper <drepper@gmail.com>
56163
56164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56165 round counter.
56166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56167
c97a1282
L
561682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56169
56170 [BZ #12597]
56171 * string/test-strncmp.c (do_page_test): New function.
56172 (check2): Likewise.
56173 (test_main): Call check2.
56174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56175
2a115601
UD
561762011-03-20 Ulrich Drepper <drepper@gmail.com>
56177
56178 [BZ #12587]
56179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56180 Handle cache information in CPU leaf 4.
56181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56182
8126d904
UD
561832011-03-18 Ulrich Drepper <drepper@gmail.com>
56184
042c49c6 56185 [BZ #12583]
8126d904
UD
56186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56187 character representation.
56188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56189
ccfe366e
RA
561902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56191
56192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56193 END(__isnan) to END(__isnanf) to match function entry point/label
56194 EALIGN(__isnanf,...).
56195
c6e13027
JJ
561962011-03-10 Jakub Jelinek <jakub@redhat.com>
56197
56198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56199
33f85a3f
UD
562002011-03-10 Ulrich Drepper <drepper@gmail.com>
56201
028478fa
UD
56202 [BZ #12510]
56203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56204 copy from the symbol referenced in the relocation to initialize the
56205 used variable.
56206 Patch by Piotr Bury <pbury@goahead.com>.
56207 * elf/Makefile: Add rules to build and tst-unique3.
56208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56209 * elf/tst-unique3.cc: New file.
56210 * elf/tst-unique3.h: New file.
56211 * elf/tst-unique3lib.cc: New file.
56212 * elf/tst-unique3lib2.cc: New file.
56213
33f85a3f
UD
56214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56215
03592fc7
MF
562162011-03-10 Mike Frysinger <vapier@gentoo.org>
56217
56218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56220 to _start.
03592fc7 56221
6a5ee102
UD
562222011-03-06 Ulrich Drepper <drepper@gmail.com>
56223
56224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56225 to-be-loaded object along a path to loader is ld.so.
56226
7e4ba49c
HJ
562272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56228 Ulrich Drepper <drepper@gmail.com>
56229
56230 * sysdeps/x86_64/memset.S: After aligning destination, code
56231 branches to different locations depending on the value of
56232 misalignment, when multiarch is enabled. Fix this.
56233
562342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56235
56236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56237 Set _x86_64_preferred_memory_instruction for AMD processsors.
56238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56239 Set bit_Prefer_SSE_for_memop for AMD processors.
56240
13a804de
UD
562412011-03-04 Ulrich Drepper <drepper@gmail.com>
56242
56243 * libio/fmemopen.c (fmemopen): Optimize a bit.
56244
9d25c392
AS
562452011-03-03 Andreas Schwab <schwab@redhat.com>
56246
56247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56248
a5543c6a
RM
562492011-03-03 Roland McGrath <roland@redhat.com>
56250
56251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56252
012d35f7
DM
562532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56254
7e4ba49c 56255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56256 __bzero_ultra1 instead of __memset_ultra1.
56257
4bff6e01
AS
562582011-02-23 Andreas Schwab <schwab@redhat.com>
56259 Ulrich Drepper <drepper@gmail.com>
56260
56261 [BZ #12509]
56262 * include/link.h (struct link_map): Add l_orig_initfini.
56263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56264 returning unsuccessfully.
56265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56266 close of a file loaded at startup, restore the original l_initfini
56267 list.
56268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56269 list, store the pointer.
56270 * elf/Makefile ($(objpfx)noload-mem): New rule.
56271 (noload-ENV): Define.
56272 (tests): Add $(objpfx)noload-mem.
56273 * elf/noload.c: Include <memcheck.h>.
56274 (main): Call mtrace. Close all opened handles.
56275
f2092faf
AS
562762011-02-17 Andreas Schwab <schwab@redhat.com>
56277
56278 [BZ #12454]
56279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56280 dependencies are missing.
56281
6c8a2e88
ST
562822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56283
f2092faf 56284 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56285 Hurd needs munmap.
56286 * sysdeps/mach/hurd/ifreq.h: New file.
56287
84a42118
PB
562882011-01-27 Petr Baudis <pasky@suse.cz>
56289 Ulrich Drepper <drepper@gmail.com>
56290
071f805e 56291 [BZ 12445]#
84a42118
PB
56292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56293 to extend_alloca().
56294 * stdio-common/bug23.c: New file.
56295 * stdio-common/Makefile (tests): Add bug23.
56296
e23fe25b
AS
562972010-09-28 Andreas Schwab <schwab@redhat.com>
56298 Ulrich Drepper <drepper@gmail.com>
56299
56300 [BZ #12489]
56301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56302 before performing relro protection. At old place add assertion
56303 to make sure nothing changed.
56304
d3f02e10
NS
563052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56306 Glauber de Oliveira Costa <glommer@gmail.com>
56307
56308 * elf/elf.h: Add new ARM TLS relocs.
56309
d55fd7a5
RA
563102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56311
56312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56314 cast from r3.
56315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56316 'tests' variable.
56317 * sysdeps/wordsize-64/tst-writev.c: New file.
56318
2206397e
RA
563192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56320
56321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56323 insns in _dl_start to prevent a TOC reference before relocs are
56324 resolved.
56325
e9433893
UD
563262011-02-15 Ulrich Drepper <drepper@gmail.com>
56327
56328 [BZ #12469]
56329 * Makeconfig: Remove RANLIB definition.
56330 * Makerules: Don't use RANLIB.
56331 * aclocal.m4: Remove ranlib test.
56332 * configure.in: No need to check for ranlib.
56333 * elf/rtld-Rules: Don't use RANLIB.
56334
f75286c6
ST
563352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56336
8e31c82d
ST
56337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56338 protection macro.
56339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56340 inclusion protection macro.
56341
f75286c6
ST
56342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56343 SIGRTMIN and SIGRTMAX and print information in that case only when
56344 SIGRTMIN is defined.
56345
c1d0e639
JJ
563462011-02-11 Jakub Jelinek <jakub@redhat.com>
56347
56348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56349 arginfo fn returning -1.
56350
56351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56352 and thousands string is zero terminated.
56353
edf9294e
AS
563542011-02-03 Andreas Schwab <schwab@redhat.com>
56355
56356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56357 sysdeps/unix/sysv/linux/bits/socket.h.
56358
2b7e92df
ST
563592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56360
edf9294e
AS
56361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56362 (__CPU_COUNT): Remove old macros.
56363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56365 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56366 (__sched_cpualloc, __sched_cpufree): Add declarations.
56367
a4c7ea7b
UD
563682011-02-05 Ulrich Drepper <drepper@gmail.com>
56369
56370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56373 (readdhstai): Return value of addhstaiX call.
56374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56375 (addgrbyX): Return value returned by cache_addgr.
56376 (readdgrbyname): Return value returned by addgrbyX.
56377 (readdgrbygid): Likewise.
56378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56379 (addpwbyX): Return value returned by cache_addpw.
56380 (readdpwbyname): Return value returned by addhstbyX.
56381 (readdpwbyuid): Likewise.
56382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56383 (addservbyX): Return value returned by cache_addserv.
56384 (readdservbyname): Return value returned by addservbyX:
56385 (readdservbyport): Likewise.
56386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56387 (addhstbyX): Return value returned by cache_addhst.
56388 (readdhstbyname): Return value returned by addhstbyX.
56389 (readdhstbyaddr): Likewise.
56390 (readdhstbynamev6): Likewise.
56391 (readdhstbyaddrv6): Likewise.
56392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56393 (readdinitgroups): Return value returned by addinitgroupsX.
56394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56395 (prune_cache): Keep track of timeout value of re-added entries.
56396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56397 * nscd/nscd.h: Adjust prototypes of readd* functions.
56398
a0bf67cc
RM
563992011-02-04 Roland McGrath <roland@redhat.com>
56400
56401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56402 (nis_stats): Likewise.
56403 * nis/nis_modify.c (nis_modify): Likewise.
56404 * nis/nis_remove.c (nis_remove): Likewise.
56405 * nis/nis_add.c (nis_add): Likewise.
56406
56407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56408
56409 * posix/fnmatch_loop.c: Add some consts.
56410
56411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56412
435b95eb
L
564132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56414
56415 [BZ #12460]
56416 * config.make.in (config-cflags-novzeroupper): Define.
56417 * configure.in: Substitute libc_cv_cc_novzeroupper.
56418 * elf/Makefile (AVX-CFLAGS): Define.
56419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56420 (CFLAGS-tst-auditmod4a.c): Likewise.
56421 (CFLAGS-tst-auditmod4b.c): Likewise.
56422 (CFLAGS-tst-auditmod6b.c): Likewise.
56423 (CFLAGS-tst-auditmod6c.c): Likewise.
56424 (CFLAGS-tst-auditmod7b.c): Likewise.
56425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56426
8517b15e
UD
564272011-02-02 Ulrich Drepper <drepper@gmail.com>
56428
56429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56430 function to the callback.
56431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56432
10a656fe
AS
564332011-02-02 Andreas Schwab <schwab@redhat.com>
56434
56435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56436 of errno.
56437
968dad0a
UD
564382011-01-19 Ulrich Drepper <drepper@gmail.com>
56439
9f94d2ea 56440 [BZ #11724]
968dad0a
UD
56441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56442 of constructors.
56443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56444 of destructors.
56445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56446
56447 [BZ #11724]
56448 * elf/Makefile: Add rules to build and run new test.
56449 * elf/tst-initorder.c: New file.
56450 * elf/tst-initorder.exp: New file.
56451 * elf/tst-initordera1.c: New file.
56452 * elf/tst-initordera2.c: New file.
56453 * elf/tst-initordera3.c: New file.
56454 * elf/tst-initordera4.c: New file.
56455 * elf/tst-initorderb1.c: New file.
56456 * elf/tst-initorderb2.c: New file.
56457 * elf/tst-order-a1.c: New file.
56458 * elf/tst-order-a2.c: New file.
56459 * elf/tst-order-a3.c: New file.
56460 * elf/tst-order-a4.c: New file.
56461 * elf/tst-order-b1.c: New file.
56462 * elf/tst-order-b2.c: New file.
56463 * elf/tst-order-main.c: New file.
56464 New test case by George Gensure <werkt0@gmail.com>.
56465
86e92359
UD
564662010-10-01 Andreas Schwab <schwab@redhat.com>
56467
56468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56469 decoding ACE if AI_CANONIDN.
56470
5d5732b0
UD
564712011-01-18 Ulrich Drepper <drepper@gmail.com>
56472
56473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56474
a77e8cbc
UD
564752011-01-17 Ulrich Drepper <drepper@gmail.com>
56476
6392473f
UD
56477 * version.h (RELEASE): Bump for 2.13 release.
56478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56479
620a0529
UD
56480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56481
18ba70a5
UD
56482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56483 MADV_NOHUGEPAGE.
32465c3e
UD
56484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56490
c0dafcf1
UD
56491 * posix/getconf.c: Update copyright year.
56492 * catgets/gencat.c: Likewise.
56493 * csu/version.c: Likewise.
56494 * debug/catchsegv.sh: Likewise.
56495 * debug/xtrace.sh: Likewise.
56496 * elf/ldconfig.c: Likewise.
56497 * elf/ldd.bash.in: Likewise.
56498 * elf/sprof.c (print_version): Likewise.
56499 * iconv/iconv_prog.c: Likewise.
56500 * iconv/iconvconfig.c: Likewise.
56501 * locale/programs/locale.c: Likewise.
56502 * locale/programs/localedef.c: Likewise.
56503 * malloc/memusage.sh: Likewise.
56504 * malloc/mtrace.pl: Likewise.
56505 * nscd/nscd.c (print_version): Likewise.
56506 * nss/getent.c: Likewise.
56507
a77e8cbc
UD
56508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56509 PF_CAIF, and PF_ALG.
56510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56511
77e8bddf
AS
565122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56513
1f20b93a
AS
56514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56515 (modules-names): Use them.
56516 (ifunc-test-modules, ifunc-pie-tests): Define.
56517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56519 (test-extras): Likewise.
56520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56521 $(compile-command.c).
56522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56523 (all-built-dso): Define.
56524 (check-textrel.out, check-execstack.out): Depend on it.
56525
77e8bddf
AS
56526 * configure.in: Don't override --enable-multi-arch.
56527
bc425b33
UD
565282011-01-15 Ulrich Drepper <drepper@gmail.com>
56529
56530 [BZ #6812]
56531 * nscd/hstcache.c (tryagain): Define.
56532 (cache_addhst): Return tryagain not notfound for temporary errors.
56533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56534 failed.
56535
794c3ad3
UD
565362011-01-14 Ulrich Drepper <drepper@gmail.com>
56537
70181fdd
UD
56538 [BZ #10563]
56539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56540 to make the syscall.
56541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56542
794c3ad3
UD
56543 [BZ #12378]
56544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56545 and fall back to matching as normal character if the string ends before
56546 the matching ']' is found. This is what POSIX requires.
56547 * posix/testfnm.c: Adjust test result.
56548 * posix/globtest.sh: Adjust test result. Add new test.
56549 * posix/tst-fnmatch.input: Likewise.
56550 * posix/tst-fnmatch2.c: Add new test.
56551
68dc9497
AS
565522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56553
56554 * elf/Makefile (check-execstack): Revert last change. Depend on
56555 check-execstack.h.
56556 (check-execstack.h): New target.
56557 (generated): Add check-execstack.h.
56558 * elf/check-execstack.c: Include "check-execstack.h".
56559 (main): Revert last change.
56560 (handle_file): Return zero if GNU_STACK is absent and
56561 DEFAULT_STACK_PERMS doesn't include PF_X.
56562
451f001b
UD
565632011-01-13 Ulrich Drepper <drepper@gmail.com>
56564
cfa28e56
UD
56565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56566 in child fails because the descriptor is already closed.
8cf8ce17
UD
56567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56570
1086d70d
UD
56571 [BZ #12397]
56572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56573 syscall.
56574
451f001b
UD
56575 [BZ #10484]
56576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56577 temporary buffer used to handle multi lookups locally.
a85b5cb4 56578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56579
08769175
UD
565802011-01-12 Ulrich Drepper <drepper@gmail.com>
56581
56582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56583 loader is ld.so.
56584
5e49c52e
UD
565852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56586
56587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56588 alignment for SSE2.
56589
60522a5f
UD
565902011-01-12 Ulrich Drepper <drepper@gmail.com>
56591
56592 [BZ #12394]
56593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56594 characters. When rounding increased number of integer digits recompute
56595 number of groups.
56596 * stdio-common/tst-grouping.c: New file.
56597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56598
f257bbd7
UD
565992011-01-09 Ulrich Drepper <drepper@gmail.com>
56600
56601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56603
56604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56605 void.
56606 * bits/select.h: Likewise.
56607
fa9c15cb
UD
566082011-01-08 Ulrich Drepper <drepper@gmail.com>
56609
56610 * po/ja.po: Update from translation team.
56611
16c2895f
DM
566122011-01-04 David S. Miller <davem@sunset.davemloft.net>
56613
56614 [BZ #11155]
56615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56616 implementation just like for lxstat, fxstatat, et al.
56617
2543fef2
JM
566182010-12-27 Jim Meyering <meyering@redhat.com>
56619
56620 [BZ #12348]
56621 * posix/regexec.c (build_trtable): Return failure indication upon
56622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56623
98727dbe
UD
566242010-12-25 Ulrich Drepper <drepper@gmail.com>
56625
5bd6dc5c
UD
56626 [BZ #12201]
56627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56631
97983464
UD
56632 [BZ #12207]
56633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56634
98727dbe
UD
56635 [BZ #12204]
56636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56638
4a531bb0
L
566392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56640
56641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56643 script has SORT_BY_INIT_PRIORITY.
56644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56645 NO_CTORS_DTORS_SECTIONS is defined.
56646 * elf/soinit.c: Likewise.
56647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56648 NO_CTORS_DTORS_SECTIONS is defined.
56649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56651 * sysdeps/sh/init-first.c: Likewise.
56652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56653
07eb4b71
UD
566542010-12-24 Ulrich Drepper <drepper@gmail.com>
56655
56656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56657 always use the slow path.
56658
30950a5f
RA
566592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56660
56661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56662 similar rule which adds the sysdep directories to the header search in
56663 order to pick up the correct platform stackinfo.h.
56664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56665 perform test if it is, otherwise return successfully without testing.
56666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56667 DEFAULT_STACK_PERMS define in stackinfo.h.
56668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56669 defined in stackinfo.h.
56670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56671 DEFAULT_STACK_PERMS defined in stackinfo.h.
56672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56673 * sysdeps/ia64/stackinfo.h: Likewise.
56674 * sysdeps/s390/stackinfo.h: Likewise.
56675 * sysdeps/sh/stackinfo.h: Likewise.
56676 * sysdeps/sparc/stackinfo.h: Likewise.
56677 * sysdeps/x86_64/stackinfo.h: Likewise.
56678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56679 PF_X for powerpc64. Retain PF_X for powerpc32.
56680
db753e2c
UD
566812010-12-19 Ulrich Drepper <drepper@gmail.com>
56682
14b697f7
UD
56683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56684 accurately.
db753e2c
UD
56685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56686 GETDENTS_64BIT_ALIGNED.
56687
28300719
UD
566882010-12-14 Ulrich Drepper <dreper@gmail.com>
56689
14b697f7 56690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56691
4f197237
AS
566922010-12-10 Andreas Schwab <schwab@redhat.com>
56693
dbb0472f
AS
56694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56695 _GNU_SOURCE.
56696
4f197237
AS
56697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56699 Remove __restrict.
56700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56702
fb88ac72
UD
567032010-12-09 Ulrich Drepper <drepper@gmail.com>
56704
56705 [BZ #11655]
56706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56707 are initialized.
56708
42acbb92
JJ
567092010-12-09 Jakub Jelinek <jakub@redhat.com>
56710
56711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56712
c038d98d
UD
567132010-12-03 Ulrich Drepper <drepper@gmail.com>
56714
56715 * po/it.po: Update from translation team.
56716
3a4a2499
L
567172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56718
56719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56720 unused codes.
56721
1e24cf6e
UD
567222010-11-30 Ulrich Drepper <drepper@gmail.com>
56723
56724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56725
a7690819
AS
567262010-11-24 Andreas Schwab <schwab@redhat.com>
56727
56728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56729 specially.
56730 (gaih_getanswer_slice): Likewise.
56731
3bf8d1b1
JJ
567322010-10-20 Jakub Jelinek <jakub@redhat.com>
56733
56734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56735
6db52fbb
PB
567362010-05-31 Petr Baudis <pasky@suse.cz>
56737
56738 [BZ #11149]
56739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56740 silently even in the chroot mode.
56741
eaca7569
UD
567422010-11-22 Ulrich Drepper <drepper@gmail.com>
56743
56744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56745 last patch a bit. Pretty printing
56746
3056dcdb
UD
567472010-05-31 Petr Baudis <pasky@suse.cz>
56748
56749 [BZ #10085]
56750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56751 initialization of skip_initgroups_dyn.
56752
cf7c9078
UD
567532010-11-19 Ulrich Drepper <drepper@gmail.com>
56754
56755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56757
a1fb5e3e
UD
567582010-11-16 Ulrich Drepper <drepper@gmail.com>
56759
56760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56761
3540d66b
AS
567622010-11-11 Andreas Schwab <schwab@redhat.com>
56763
56764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56767 ($(objpfx)tst-fnmatch-mem): New rule.
56768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56769 * posix/tst-fnmatch.c (main): Call mtrace.
56770
13b69574
L
567712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56772
56773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56774 Support Intel processor model 6 and model 0x2c.
56775
da93d214
LM
567762010-11-10 Luis Machado <luisgpm@br.ibm.com>
56777
56778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56779 signed comparison.
56780
8ca52c6e
L
567812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56782
56783 [BZ #12205]
56784 * string/test-strncasecmp.c (check_result): New function.
56785 (do_one_test): Use it.
56786 (check1): New function.
56787 (test_main): Use it.
56788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56789 Support strcasecmp and strncasecmp.
56790
69da074d
UD
567912010-11-08 Ulrich Drepper <drepper@gmail.com>
56792
56793 [BZ #12194]
56794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56796
ff02d528
L
567972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56798
56799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56800 IFUNC support.
56801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56802 memset-x86-64.
56803 * sysdeps/x86_64/multiarch/bzero.S: New file.
56804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56806 * sysdeps/x86_64/multiarch/memset.S: New file.
56807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56809 Set bit_Prefer_SSE_for_memop for Intel processors.
56810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56811 Define.
56812 (index_Prefer_SSE_for_memop): Define.
56813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56814
344d0b54
LM
568152010-11-04 Luis Machado <luisgpm@br.ibm.com>
56816
56817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56819
c0dde15b
UD
568202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56821
56822 [BZ #12191]
56823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56824 (__x86_64_raw_data_cache_size_half): Likewise.
56825 (__x86_64_raw_shared_cache_size): Likewise.
56826 (__x86_64_raw_shared_cache_size_half): Likewise.
56827
56828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56829 (__x86_64_raw_data_cache_size_half): Likewise.
56830 (__x86_64_raw_shared_cache_size): Likewise.
56831 (__x86_64_raw_shared_cache_size_half): Likewise.
56832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56834 and __x86_64_raw_shared_cache_size_half. Round
56835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56837 to multiple of 256 bytes.
56838
0e516e0e
MS
568392010-11-03 Ulrich Drepper <drepper@gmail.com>
56840
56841 [BZ #12167]
56842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56843 of inacessible symlinks. Verify result of symlink before returning it.
56844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56846
0e012e87
ER
568472010-10-28 Erich Ritz <erichritz@gmail.com>
56848
56849 * math/math.h (isinf): Fix typo in comment.
56850
de0ff7bc
UD
568512010-11-01 Ulrich Drepper <drepper@gmail.com>
56852
56853 * po/da.po: Update from translation team.
56854
fa41c84d
UD
568552010-10-26 Ulrich Drepper <drepper@gmail.com>
56856
56857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56858 is added to the list.
56859
f0967738
AK
568602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56861 Ulrich Drepper <drepper@gmail.com>
56862
56863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56864 the global list here. Move code to...
56865 (_dl_add_to_namespace_list): ...here. New function.
56866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56868 * elf/dl-load.c (lose): Don't remove the element from the list.
56869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56870 (_dl_map_object): Likewise.
56871
568722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56873
56874 [BZ #12159]
56875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56876 into all bytes of SSE register.
56877 Patch by Richard Li <richardpku@gmail.com>.
56878
f0967738 568792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56880
56881 [BZ #12140]
56882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56883 perturbing.
56884
d0b9e94f
MB
568852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56886
56887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56892 submachine.
56893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56894
8e9f92e9
AS
568952010-10-22 Andreas Schwab <schwab@redhat.com>
56896
56897 * include/dlfcn.h (__RTLD_SECURE): Define.
56898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56899 mode & __RTLD_SECURE instead.
56900 (open_path): Rename preloaded parameter to secure.
56901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56903 * elf/dl-deps.c (openaux): Likewise.
56904 * elf/rtld.c (struct map_args): Remove is_preloaded.
56905 (map_doit): Don't use it.
56906 (dl_main): Likewise.
56907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56909
bc96fbda
AS
569102010-09-09 Andreas Schwab <schwab@redhat.com>
56911
56912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56913 (sysd-rules-targets): Remove duplicates.
56914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56915 rtld-%.$o dependency.
56916
22cd1c9b
AS
569172010-10-18 Andreas Schwab <schwab@redhat.com>
56918
56919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56920 _dl_map_object do it.
56921
18edac48
UD
569222010-10-19 Ulrich Drepper <drepper@gmail.com>
56923
56924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56925 fast fma builtins, define the macros in the C99 standard.
56926 (FP_FAST_FMAF): Likewise.
56927 (FP_FAST_FMAL): Likewise.
56928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56929
56930 * bits/mathdef.h: Update copyright year.
56931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56932
d2050124
MM
569332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56934
56935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56936 builtins, define the macros in the C99 standard.
56937 (FP_FAST_FMAF): Likewise.
56938 (FP_FAST_FMAL): Likewise.
56939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56940 multiply/add.
56941 (FP_FAST_FMAF): Likewise.
56942
475facd1
JJ
569432010-10-15 Jakub Jelinek <jakub@redhat.com>
56944
56945 [BZ #3268]
56946 * math/libm-test.inc (fma_test): Some new testcases.
56947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56949 y and infinite z. Do multiplication by C already in long double.
56950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56952 y and infinite z. Do bitwise or of inexact bit into u.d.
56953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56955 * sysdeps/i386/fpu/s_fma.S: Removed.
56956 * sysdeps/i386/fpu/s_fmal.S: Removed.
56957
7c08a05c
JJ
569582010-10-16 Jakub Jelinek <jakub@redhat.com>
56959
56960 [BZ #3268]
56961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56963 computation is not scheduled after fetestexcept. Fix value
56964 of minimum denormal long double.
56965
f3f7372d
JJ
569662010-10-14 Jakub Jelinek <jakub@redhat.com>
56967
56968 [BZ #3268]
56969 * math/libm-test.inc (fma_test): Add some more tests.
56970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56971 correctly.
56972
14d43591
AS
569732010-10-15 Andreas Schwab <schwab@redhat.com>
56974
56975 * scripts/data/localplt-s390-linux-gnu.data: New file.
56976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56977
5e908464
JJ
569782010-10-13 Jakub Jelinek <jakub@redhat.com>
56979
56980 [BZ #3268]
56981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56983 instead of dbl-64.
56984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56985 inlines.
56986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56988 if one of x and y is very large and the other is subnormal.
56989 * sysdeps/s390/fpu/s_fmaf.c: New file.
56990 * sysdeps/s390/fpu/s_fma.c: New file.
56991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56992 * sysdeps/powerpc/fpu/s_fma.S: New file.
56993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56996
569972010-10-12 Jakub Jelinek <jakub@redhat.com>
56998
56999 [BZ #3268]
57000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57001 fma tests.
57002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57009
b833d51f
UD
570102010-10-12 Ulrich Drepper <drepper@redhat.com>
57011
57012 [BZ #12078]
57013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57014 * posix/bug-regex31.input: Add test case.
57015
1751705d
UD
570162010-10-11 Ulrich Drepper <drepper@gmail.com>
57017
e9b9cbf5
UD
57018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57019 * posix/bug-regex31.input: New file.
57020
57021 [BZ #12078]
57022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57023 (parse_sub_exp): Fix last change, use postorder.
57024
ef06edbe
UD
57025 * posix/bug-regex31.c: New file.
57026 * posix/Makefile: Add rules to build and run bug-regex31.
57027
a129c80d
UD
57028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57029
57030 [BZ #12078]
57031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57032
b76b818e
UD
57033 [BZ #12108]
57034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57035 to have entries in sys_siglist.
57036
1751705d
UD
57037 [BZ #12093]
57038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57039 be NULL.
57040
9ff8d36f
JJ
570412010-10-07 Jakub Jelinek <jakub@redhat.com>
57042
57043 [BZ #3268]
57044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57057 * math/ftestexcept.c (fetestexcept): Likewise.
57058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57065
af325969
UD
570662010-10-11 Ulrich Drepper <drepper@gmail.com>
57067
c579b202 57068 [BZ #12107]
af325969
UD
57069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57070 newline.
57071
67a67b95
UD
570722010-10-06 Ulrich Drepper <drepper@gmail.com>
57073
57074 * string/bug-strstr1.c: New file.
57075 * string/Makefile: Add rules to build and run bug-strstr1.
57076
5fb308bc
EB
570772010-10-05 Eric Blake <eblake@redhat.com>
57078
57079 [BZ #12092]
57080 * string/str-two-way.h (two_way_long_needle): Always clear memory
57081 when skipping input due to the shift table.
57082
45db99c7
UD
570832010-10-03 Ulrich Drepper <drepper@gmail.com>
57084
3b111893
UD
57085 [BZ #12005]
57086 * malloc/mcheck.c: Handle large requests.
57087
45db99c7
UD
57088 [BZ #12077]
57089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57090 for strncmp and strncasecmp.
57091 * string/stratcliff.c: Add tests for strcmp and strncmp.
57092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57093
cf7a1eb8
NI
570942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57095
57096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57097 __set_fpscr.
57098
6484ba5e
AJ
570992010-09-30 Andreas Jaeger <aj@suse.de>
57100
57101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57102 (CGROUP_SUPER_MAGIC): Define.
57103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57104 Handle btrfs and cgroup file systems.
57105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57106 Likewise.
57107
91c42559
LM
571082010-09-27 Luis Machado <luisgpm@br.ibm.com>
57109
57110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57112
87a97932
AK
571132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57114
57115 [BZ #12067]
57116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57117 trying to locate the ELF header.
57118
c21cc9bc
AS
571192010-09-27 Andreas Schwab <schwab@redhat.com>
57120
57121 [BZ #11611]
57122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57123 Mask out sign-bit copies when constructing f_fsid.
57124
315970f6
PB
571252010-09-24 Petr Baudis <pasky@suse.cz>
57126
57127 * debug/stack_chk_fail_local.c: Add missing licence exception.
57128 * debug/warning-nop.c: Likewise.
57129
1ac7a2c7
JM
571302010-09-15 Joseph Myers <joseph@codesourcery.com>
57131
57132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57133 implementing getdents64 using getdents syscall, set d_type if
57134 __ASSUME_GETDENTS32_D_TYPE.
57135
56801c50
AS
571362010-09-16 Andreas Schwab <schwab@redhat.com>
57137
57138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57140
dda51327
UD
571412010-09-21 Ulrich Drepper <drepper@redhat.com>
57142
57143 [BZ #12037]
57144 * posix/unistd.h: Undo change of feature selection for ftruncate from
57145 2010-01-11.
57146
8ffcee4a
UD
571472010-09-20 Ulrich Drepper <drepper@redhat.com>
57148
a545ecd9 57149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57150 detection.
57151
e24f0a8b
AS
571522010-09-20 Andreas Schwab <schwab@redhat.com>
57153
57154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57155 fanotify_mark.
57156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57157
7291c56f
AS
571582010-09-14 Andreas Schwab <schwab@redhat.com>
57159
57160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57161 variables after CHECK_SP call.
57162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57163
bc5fb037
AS
571642010-09-13 Andreas Schwab <schwab@redhat.com>
57165 Ulrich Drepper <drepper@redhat.com>
57166
57167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57168 re-relocationg ld.so.
57169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57170 _dl_init_paths call.
57171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57172 here anymore.
57173
e66e7419
UD
571742010-09-14 Ulrich Drepper <drepper@redhat.com>
57175
57176 * resolv/res_init.c (__res_vinit): Count the default server we added.
57177
c044aa75
CLT
571782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57179 Ulrich Drepper <drepper@redhat.com>
57180
57181 [BZ #11968]
57182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57183 (____longjmp_chk): Use %ebx for saving value across system call.
57184 Add unwind info.
57185
32cf4069
AS
571862010-09-06 Andreas Schwab <schwab@redhat.com>
57187
57188 * manual/Makefile: Don't mix pattern rules with normal rules.
57189
817328ee
AS
571902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57191
57192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57193 operation.
57194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57199 Likewise.
57200
29fddf61
UD
572012010-09-04 Ulrich Drepper <drepper@redhat.com>
57202
57203 [BZ #11979]
57204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57206
0959ffc9
UD
572072010-09-02 Ulrich Drepper <drepper@redhat.com>
57208
57209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57210 * sysdeps/x86_64/addmul_1.S: Likewise.
57211 * sysdeps/x86_64/lshift.S: Likewise.
57212 * sysdeps/x86_64/mul_1.S: Likewise.
57213 * sysdeps/x86_64/rshift.S: Likewise.
57214 * sysdeps/x86_64/sub_n.S: Likewise.
57215 * sysdeps/x86_64/submul_1.S: Likewise.
57216
ece29840
ST
572172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57218
0959ffc9
UD
57219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57220 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57221 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57222 * bits/sched.h [__need_schedparam]
ece29840 57223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57225 (__defined_schedparam): Define to 1.
ece29840
ST
57226 (__sched_param): New structure, identical to sched_param.
57227 (__need_schedparam): Undefine.
57228
e53a31fe
MF
572292010-08-31 Mike Frysinger <vapier@gentoo.org>
57230
fdc0c10d
MF
57231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57232 (epoll_create1): Declare.
57233
e53a31fe
MF
57234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57235
a726d796
AS
572362010-08-31 Andreas Schwab <schwab@redhat.com>
57237
57238 [BZ #7066]
57239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57240 shifting retval into place.
57241
2f3e3dc7
UD
572422010-09-01 Ulrich Drepper <drepper@redhat.com>
57243
f2933da9
UD
57244 * nis/rpcsvc/nis.h: Update copyright notice.
57245 * nis/rpcsvc/nis.x: Likewise.
57246 * nis/rpcsvc/nis_callback.h: Likewise.
57247 * nis/rpcsvc/nis_callback.x: Likewise.
57248 * nis/rpcsvc/nis_object.x: Likewise.
57249 * nis/rpcsvc/nis_tags.h: Likewise.
57250 * nis/rpcsvc/yp.h: Likewise.
57251 * nis/rpcsvc/yp.x: Likewise.
57252 * nis/rpcsvc/ypupd.h: Likewise.
57253 * nis/yp_xdr.c: Likewise.
57254 * nis/ypupdate_xdr.c: Likewise.
57255
2f3e3dc7
UD
57256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57257 mainly the body of pmap_getport. Add parameters to specify timeouts.
57258 (pmap_getport): Use __libc_rpc_getport.
57259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57262
f3dcc2f9
AS
572632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57264
57265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57266 fanotify_mark.
57267
6d34eb5b
RM
572682010-08-27 Roland McGrath <roland@redhat.com>
57269
57270 * sysdeps/i386/i686/multiarch/Makefile
57271 (CFLAGS-varshift.c): New variable.
57272
9ea3de11
UD
572732010-08-27 Ulrich Drepper <drepper@redhat.com>
57274
c96d23fc
UD
57275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57277
9ea3de11
UD
57278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57279
57280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57281
623aac7f
L
572822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57283
57284 * sysdeps/x86_64/strlen.S: Unroll the loop.
57285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57286 strlen-sse2 strlen-sse2-bsf.
57287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57288 __strlen_no_bsf if bit_Slow_BSF is set.
57289 (__strlen_sse42): Removed.
57290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57292
8b2b7715
RM
572932010-08-25 Roland McGrath <roland@redhat.com>
57294
57295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57296 * sysdeps/x86_64/multiarch/varshift.c: New file.
57297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57301
e73015f2
L
573022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57303
57304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57305 strlen-sse2 strlen-sse2-bsf.
57306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57308 (__strlen_sse2): Removed.
57309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57312 bit_Slow_BSF for Atom.
57313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57314 (index_Slow_BSF): Define.
57315 (HAS_SLOW_BSF): Define.
57316
df24a73e
UD
573172010-08-25 Ulrich Drepper <drepper@redhat.com>
57318
57319 [BZ #10851]
57320 * resolv/res_init.c (__res_vinit): When no server address at all
57321 is given default to loopback.
57322
f2ac4868
RM
573232010-08-24 Roland McGrath <roland@redhat.com>
57324
09055553
RM
57325 * configure.in: Remove config-name.h generation.
57326 * configure: Regenerated.
57327 * config-name.in: File removed.
57328 * scripts/config-uname.sh: New file.
57329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57330 ($(objdir)config-name.h): New target.
57331
f2ac4868
RM
57332 * sunrpc/rpc_parse.h: Avoid nested comment.
57333
73f27d5e
RH
573342010-08-24 Richard Henderson <rth@redhat.com>
57335 Ulrich Drepper <drepper@redhat.com>
57336 H.J. Lu <hongjiu.lu@intel.com>
57337
57338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57342 _mm_alignr_epi8 with _mm_loadu_si128.
57343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57345 (__m128i_shift_right): Removed.
57346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57348 * sysdeps/x86_64/multiarch/varshift.h: New file.
57349 * sysdeps/x86_64/multiarch/varshift.S: New file.
57350
84b9230c
MF
573512010-08-21 Mike Frysinger <vapier@gentoo.org>
57352
57353 * configure.in: Move assembler checks to before sysdep dir checking.
57354
9bbd0ddc
PB
573552010-08-20 Petr Baudis <pasky@suse.cz>
57356
57357 * LICENSES: Sync the sunrpc license.
57358
9da4bb31
UD
573592010-08-19 Ulrich Drepper <drepper@redhat.com>
57360
a7ab6ec8
UD
57361 * sunrpc/auth_des.c: Update copyright notice once again.
57362 * sunrpc/auth_none.c: Likewise.
57363 * sunrpc/auth_unix.c: Likewise.
57364 * sunrpc/authdes_prot.c: Likewise.
57365 * sunrpc/authuxprot.c: Likewise.
57366 * sunrpc/bindrsvprt.c: Likewise.
57367 * sunrpc/clnt_gen.c: Likewise.
57368 * sunrpc/clnt_perr.c: Likewise.
57369 * sunrpc/clnt_raw.c: Likewise.
57370 * sunrpc/clnt_simp.c: Likewise.
57371 * sunrpc/clnt_tcp.c: Likewise.
57372 * sunrpc/clnt_udp.c: Likewise.
57373 * sunrpc/clnt_unix.c: Likewise.
57374 * sunrpc/des_crypt.c: Likewise.
57375 * sunrpc/des_soft.c: Likewise.
57376 * sunrpc/get_myaddr.c: Likewise.
57377 * sunrpc/getrpcport.c: Likewise.
57378 * sunrpc/key_call.c: Likewise.
57379 * sunrpc/key_prot.c: Likewise.
57380 * sunrpc/openchild.c: Likewise.
57381 * sunrpc/pm_getmaps.c: Likewise.
57382 * sunrpc/pm_getport.c: Likewise.
57383 * sunrpc/pmap_clnt.c: Likewise.
57384 * sunrpc/pmap_prot.c: Likewise.
57385 * sunrpc/pmap_prot2.c: Likewise.
57386 * sunrpc/pmap_rmt.c: Likewise.
57387 * sunrpc/rpc/auth.h: Likewise.
57388 * sunrpc/rpc/auth_unix.h: Likewise.
57389 * sunrpc/rpc/clnt.h: Likewise.
57390 * sunrpc/rpc/des_crypt.h: Likewise.
57391 * sunrpc/rpc/key_prot.h: Likewise.
57392 * sunrpc/rpc/netdb.h: Likewise.
57393 * sunrpc/rpc/pmap_clnt.h: Likewise.
57394 * sunrpc/rpc/pmap_prot.h: Likewise.
57395 * sunrpc/rpc/pmap_rmt.h: Likewise.
57396 * sunrpc/rpc/rpc.h: Likewise.
57397 * sunrpc/rpc/rpc_des.h: Likewise.
57398 * sunrpc/rpc/rpc_msg.h: Likewise.
57399 * sunrpc/rpc/svc.h: Likewise.
57400 * sunrpc/rpc/svc_auth.h: Likewise.
57401 * sunrpc/rpc/types.h: Likewise.
57402 * sunrpc/rpc/xdr.h: Likewise.
57403 * sunrpc/rpc_clntout.c: Likewise.
57404 * sunrpc/rpc_cmsg.c: Likewise.
57405 * sunrpc/rpc_common.c: Likewise.
57406 * sunrpc/rpc_cout.c: Likewise.
57407 * sunrpc/rpc_dtable.c: Likewise.
57408 * sunrpc/rpc_hout.c: Likewise.
57409 * sunrpc/rpc_main.c: Likewise.
57410 * sunrpc/rpc_parse.c: Likewise.
57411 * sunrpc/rpc_parse.h: Likewise.
57412 * sunrpc/rpc_prot.c: Likewise.
57413 * sunrpc/rpc_sample.c: Likewise.
57414 * sunrpc/rpc_scan.c: Likewise.
57415 * sunrpc/rpc_scan.h: Likewise.
57416 * sunrpc/rpc_svcout.c: Likewise.
57417 * sunrpc/rpc_tblout.c: Likewise.
57418 * sunrpc/rpc_util.c: Likewise.
57419 * sunrpc/rpc_util.h: Likewise.
57420 * sunrpc/rpcinfo.c: Likewise.
57421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57422 * sunrpc/rpcsvc/key_prot.x: Likewise.
57423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57424 * sunrpc/rpcsvc/mount.x: Likewise.
57425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57427 * sunrpc/rpcsvc/rex.x: Likewise.
57428 * sunrpc/rpcsvc/rstat.x: Likewise.
57429 * sunrpc/rpcsvc/rusers.x: Likewise.
57430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57431 * sunrpc/rpcsvc/spray.x: Likewise.
57432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57433 * sunrpc/rtime.c: Likewise.
57434 * sunrpc/svc.c: Likewise.
57435 * sunrpc/svc_auth.c: Likewise.
57436 * sunrpc/svc_authux.c: Likewise.
57437 * sunrpc/svc_raw.c: Likewise.
57438 * sunrpc/svc_run.c: Likewise.
57439 * sunrpc/svc_simple.c: Likewise.
57440 * sunrpc/svc_tcp.c: Likewise.
57441 * sunrpc/svc_udp.c: Likewise.
57442 * sunrpc/svc_unix.c: Likewise.
57443 * sunrpc/svcauth_des.c: Likewise.
57444 * sunrpc/xcrypt.c: Likewise.
57445 * sunrpc/xdr.c: Likewise.
57446 * sunrpc/xdr_array.c: Likewise.
57447 * sunrpc/xdr_float.c: Likewise.
57448 * sunrpc/xdr_mem.c: Likewise.
57449 * sunrpc/xdr_rec.c: Likewise.
57450 * sunrpc/xdr_ref.c: Likewise.
57451 * sunrpc/xdr_sizeof.c: Likewise.
57452 * sunrpc/xdr_stdio.c: Likewise.
57453
9da4bb31
UD
57454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57455 handling.
57456
bdaa77bc
AS
574572010-08-19 Andreas Schwab <schwab@redhat.com>
57458
57459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57460
fe2f79db
LM
574612010-08-19 Luis Machado <luisgpm@br.ibm.com>
57462
57463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57477
b9b42ee0
AB
574782010-07-26 Anton Blanchard <anton@samba.org>
57479
57480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57481 * malloc/arena.c (heap_trim): Likewise.
57482
1c06ba31
UD
574832010-08-16 Ulrich Drepper <drepper@redhat.com>
57484
57485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57486 here. Not...
57487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57489
f8392f40
L
574902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57491
57492 * sysdeps/i386/elf/Makefile: New file.
57493
3162f12e
AS
574942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57495
57496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57497 from fanotify_init.
57498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57500
28c90b2c
UD
575012010-08-15 Ulrich Drepper <drepper@redhat.com>
57502
57503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57504 of strncasecmp_l.
1feccb6c 57505 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57506
ca6bb004
UD
575072010-08-14 Ulrich Drepper <drepper@redhat.com>
57508
e9f82e0d
UD
57509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57510 strncase_l-nonascii.
57511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57512 Add strncase_l-ssse3.
57513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57514 * sysdeps/x86_64/strcmp.S: Likewise.
57515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57517 * sysdeps/x86_64/strncase.S: New file.
57518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57519 * sysdeps/x86_64/strncase_l.S: New file.
57520 * string/Makefile (strop-tests): Add strncasecmp.
57521 * string/test-strncasecmp.c: New file.
57522
57523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57524 warning.
57525
ca6bb004
UD
57526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57528
052fa7b3
AS
575292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57530
57531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57532
962dba78
UD
575332010-08-12 Ulrich Drepper <drepper@redhat.com>
57534
57535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57538
bebff237
AM
575392010-05-01 Alan Modra <amodra@gmail.com>
57540
57541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57546 tidying. Don't tail-call __sigjmp_save for static lib.
57547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57548 save location.
57549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57550 (CALL_MCOUNT): Add eh info, and nop after bl.
57551 (TAIL_CALL_SYSCALL_ERROR): New macro.
57552 (PSEUDO_RET): Use it.
57553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57554 Correct save location of integer regs and cr.
57555 (_dl_profile_resolve): Correct cr save location. Delete nops
57556 after bl when SHARED. Reduce cfi size a little by better
57557 placement of cfi directives.
57558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57559 make a stack frame. Instead use parm save area as a temp.
57560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57563 Don't make a stack frame for parent, use parm save area.
57564 Increase child stack frame to 112 bytes. Don't save unused reg,
57565 and adjust reg usage. Set up cfi on error recovery and
57566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57568 (__makecontext): Add dummy nop after jump to exit.
57569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57570 Use correct parm save area and cr save, reduce stack frame.
57571 Correct cfi for possible PSEUDO_RET frame setup.
57572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57573 Branch to local label emitted by PSEUDO_RET rather than
57574 __syscall_error.
57575
02637374
AS
575762010-08-12 Andreas Schwab <schwab@redhat.com>
57577
57578 [BZ #11904]
57579 * locale/programs/locale.c (print_assignment): New function.
57580 (show_locale_vars): Use it.
57581
c3e2f19b
UD
575822010-08-11 Ulrich Drepper <drepper@redhat.com>
57583
3cdaa6ad
UD
57584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57585 field.
57586 (struct statfs64): Likewise.
57587 (_STATFS_F_FLAGS): Define.
57588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57591 (ST_VALID): Define locally.
57592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57593 __statvfs_getflags, use the provided value.
57594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57595 __ASSUME_STATFS_F_FLAGS.
57596
754f7da3
UD
57597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57598
10b3bedc
UD
57599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57600 Add sys/fanotify.h.
57601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57602 fanotify_mask for GLIBC_2.13.
57603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57604 fanotify_init and fanotify_mark.
57605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57607
c08fb0d7
UD
57608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57609 Add prlimit.
57610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57611 prlimit64 for GLIBC_2.13.
57612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57613 prlimit64.
57614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57615 syscall.
57616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57621 add prlimit alias.
57622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57623
15bac72b
UD
57624 [BZ #11903]
57625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57627
c3e2f19b
UD
57628 * nss/Makefile: Add rules to build and run tst-nss-test1.
57629 * shlib-versions: Add entry for libnss_test1.
57630 * nss/nss_test1.c: New file.
57631 * nss/tst-nss-test1.c: New file.
57632
57633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57634 (__nss_configure_lookup): Set appropriate entry in
57635 __nss_configure_lookup to true.
57636 * nss/nsswitch.h: Define enum with indeces of databases in
57637 databases and __nss_database_custom arrays. Declare
57638 __nss_database_custom.
57639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57640 to avoid using nscd when custom rules are installed.
57641 * nss/getXXbyYY_r.c: Likewise.
57642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57643
57644 * nss/nss_files/files-parse.c: Whitespace fixes.
57645
f15ce4d8
UD
576462010-08-09 Ulrich Drepper <drepper@redhat.com>
57647
57648 [BZ #11883]
57649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57650 * posix/fnmatch_loop.c: Likewise.
57651
d22e4cc9
AK
576522010-07-17 Andi Kleen <ak@linux.intel.com>
57653
57654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57657 * Versions.def [GLIBC_2.13]: Add.
57658
805bc17d
UD
576592010-08-06 Ulrich Drepper <drepper@redhat.com>
57660
57661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57662 Also fail if tpwd after pwuid call is NULL.
57663
5a42321d
ST
576642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57665
57666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57667 when converting to ms.
57668
fd3ebeda
ST
576692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57670
57671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57672 EOPNOTSUPP errors with ENOTTY.
57673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57674 EOPNOTSUPP errors with ENOTTY.
57675
73507d3a
UD
576762010-07-31 Ulrich Drepper <drepper@redhat.com>
57677
57678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57679 Add strcasecmp_l-ssse3.
57680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57681 strcasecmp.
57682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57685
fe36dd02
UD
576862010-07-30 Ulrich Drepper <drepper@redhat.com>
57687
66f6765a
UD
57688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57689
42e08a54
UD
57690 * string/Makefile (strop-tests): Add strcasecmp.
57691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57692 strcasecmp_l-nonascii.
57693 (gen-as-const-headers): Add locale-defines.sym.
57694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57695 * sysdeps/x86_64/strcasecmp.S: New file.
57696 * sysdeps/x86_64/strcasecmp_l.S: New file.
57697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57698 * sysdeps/x86_64/locale-defines.sym: New file.
57699 * string/test-strcasecmp.c: New file.
57700
fe36dd02
UD
57701 * string/test-strcasestr.c: Test both ends of the range of characters.
57702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57703
48cbc0d6
RM
577042010-07-29 Roland McGrath <roland@redhat.com>
57705
76e6d6bc 57706 [BZ #11856]
48cbc0d6
RM
57707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57708
880113d9
UD
577092010-07-27 Ulrich Drepper <drepper@redhat.com>
57710
57711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57712 for ld.so.
57713
deb9cabb
AS
577142010-07-27 Andreas Schwab <schwab@redhat.com>
57715
57716 * manual/memory.texi (Malloc Tunable Parameters): Document
57717 M_PERTURB.
57718
1c7570ff
RM
577192010-07-26 Roland McGrath <roland@redhat.com>
57720
57721 [BZ #11840]
57722 * configure.in (-fgnu89-inline check): Set and substitute
57723 gnu89_inline, not libc_cv_gnu89_inline.
57724 * configure: Regenerated.
57725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57726
24fb0f88
UD
577272010-07-26 Ulrich Drepper <drepper@redhat.com>
57728
57729 * string/test-strnlen.c: New file.
57730 * string/Makefile (strop-tests): Add strnlen.
57731 * string/tester.c (test_strnlen): Add a few more test cases.
57732 * string/tst-strlen.c: Better error reporting.
57733
57734 * sysdeps/x86_64/strnlen.S: New file.
57735
8e96b93a
UD
577362010-07-24 Ulrich Drepper <drepper@redhat.com>
57737
57738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57739 lower-latency instructions.
57740
dbc676d4
UD
577412010-07-23 Ulrich Drepper <drepper@redhat.com>
57742
57743 * string/test-strcasestr.c: New file.
57744 * string/test-strstr.c: New file.
57745 * string/Makefile (strop-tests): Add strstr and strcasestr.
57746 * string/str-two-way.h: Don't undefine MAX.
57747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57748
f6a31e0e
AS
577492010-07-21 Andreas Schwab <schwab@redhat.com>
57750
57751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57752 strcasestr-nonascii.
57753 (CFLAGS-strcasestr-nonascii.c): Define.
57754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57756 Remove unused attribute.
57757
5dbc3b6c
RM
577582010-07-20 Roland McGrath <roland@redhat.com>
57759
57760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57762 ld.so.cache was broken. With it, there is no way to disable dsocaps
57763 like LD_HWCAP_MASK can disable hwcaps.
57764
23d101d8
EPM
577652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57766
57767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57768
cc9f2e47
UD
577692010-07-16 Ulrich Drepper <drepper@redhat.com>
57770
57771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57772 call in strcasestr.
57773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57774 __strcasestr_sse42_nonascii.
57775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57776 strcasestr-nonascii.c.
57777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57778
77c1b069
LM
577792010-06-15 Luis Machado <luisgpm@br.ibm.com>
57780
57781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57785
440566c3
UD
577862010-07-09 Ulrich Drepper <drepper@redhat.com>
57787
57788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57789 fcntl.
57790
5be9d05d
AS
577912010-07-06 Andreas Schwab <schwab@redhat.com>
57792
c30b7ee2 57793 [BZ #11577]
5be9d05d
AS
57794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57795 dl_signal_cerror.
57796
8a492a67
UD
577972010-07-06 Ulrich Drepper <drepper@redhat.com>
57798
57799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57800 _PC_PIPE_BUF using F_GETPIPE_SZ.
57801
713df3d5
RM
578022010-07-05 Roland McGrath <roland@redhat.com>
57803
57804 * manual/arith.texi (Rounding Functions): Fix rint description
57805 implicit in round description.
57806
702e8f14
UD
578072010-07-02 Ulrich Drepper <drepper@redhat.com>
57808
57809 * elf/Makefile: Fix linking for a few tests to make recent linker
57810 happy.
57811
52ed8be9
AS
578122010-06-30 Andreas Schwab <schwab@redhat.com>
57813
57814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57815 $(common-objpfx)libc_nonshared.a.
57816
f47c9a11
LM
578172010-06-21 Luis Machado <luisgpm@br.ibm.com>
57818
57819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57867
6fb8cbcb
L
578682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57869
57870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57872 * string/memmove.c (memmove): Renamed to ...
57873 (MEMMOVE): ...this. Default to memmove.
57874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57876 (END_CHK): Define.
57877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57879 mempcpy-ssse3-back memmove-ssse3-back.
57880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57887 * sysdeps/x86_64/multiarch/memmove.c: New file.
57888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57894 Define.
57895 (index_Fast_Copy_Backward): Define.
57896 (HAS_ARCH_FEATURE): Define.
57897 (HAS_FAST_REP_STRING): Define.
57898 (HAS_FAST_COPY_BACKWARD): Define.
57899
4e733bac 579002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57901
57902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57903 Restore proper fallback handling.
57904
63c4ed22
UD
579052010-06-19 Ulrich Drepper <drepper@redhat.com>
57906
ac2b484c
UD
57907 [BZ #11701]
57908 * posix/group_member.c (__group_member): Correct checking loop.
57909
63c4ed22
UD
57910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57911 OOM in getpwuid_r correctly. Return error number when the caller
57912 should return, otherwise -1.
57913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57914 call returning > 0 value.
57915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57916
765ade4b
AS
579172010-06-07 Andreas Schwab <schwab@redhat.com>
57918
57919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57920 libc_nonshared.a from targets in modules-names.
57921
80da2e09
KS
579222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57923
57924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57925 requires it.
57926
158db122
LM
579272010-06-10 Luis Machado <luisgpm@br.ibm.com>
57928
57929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57933
caa78cf8
AS
579342010-06-02 Andreas Schwab <schwab@redhat.com>
57935
57936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57937
b2ef2c01
UD
579382010-06-14 Ulrich Drepper <drepper@redhat.com>
57939
57940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57941 and F_GETPIPE_SZ.
57942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57948
fbd643b6
RM
579492010-06-14 Roland McGrath <roland@redhat.com>
57950
57951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57952
f32f2869
JJ
579532010-06-07 Jakub Jelinek <jakub@redhat.com>
57954
57955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57956 __REDIRECT followed by __THROW.
57957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57958 * posix/getopt.h (getopt): Likewise.
57959
2a50c078
EPM
579602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57961
57962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57965 in AT_FLAGS.
57966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57968
eb5ad2eb
LM
579692010-05-28 Luis Machado <luisgpm@br.ibm.com>
57970
57971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57972
3c88fe1e
L
579732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57974
57975 [BZ #11640]
57976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57977 Properly check family and model.
57978
d2f73151
TY
579792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57980
57981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57982
ebd2e13d
LM
579832010-05-24 Luis Machado <luisgpm@br.ibm.com>
57984
57985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57986
b32b8b45
UD
579872010-05-21 Ulrich Drepper <drepper@redhat.com>
57988
57989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57990 symbol reference.
57991
9acbe24d
AS
579922010-05-19 Andreas Schwab <schwab@redhat.com>
57993
57994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57995 symbol reference.
57996
f0ccf6ea
AS
579972010-05-21 Andreas Schwab <schwab@redhat.com>
57998
3d04ff3a
AS
57999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58000 and internal_recvmmsg.
58001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58005
f0ccf6ea
AS
58006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58009
5b08ac57
AS
580102010-05-20 Andreas Schwab <schwab@redhat.com>
58011
58012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58013
4828935d
LM
580142010-05-17 Luis Machado <luisgpm@br.ibm.com>
58015
58016 POWER7 optimizations.
58017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58019
373d545e
UD
580202010-05-19 Ulrich Drepper <drepper@redhat.com>
58021
58022 * version.h: Update for 2.13 development version.
58023
21a2b1ae
AS
580242010-05-12 Andrew Stubbs <ams@codesourcery.com>
58025
58026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58027 exceptions. Return 0.
58028
3f7dcb2b
RM
580292010-05-07 Roland McGrath <roland@redhat.com>
58030
58031 * elf/ldconfig.c (main): Add a const.
58032
5f24d53a 580332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58034
a160f8d8
UD
58035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58036 (args_options): Add no-idn option.
58037 (ahosts_keys_int): Add idn_flags to ai_flags.
58038 (parse_option): Handle 'i' option to clear idn_flags.
58039
5f24d53a
UD
58040 * malloc/malloc.c (_int_free): Possible race in the most recently
58041 added check. Only act on the data if no current modification
58042 happened.
265bb1ce
UD
58043
58044See ChangeLog.17 for earlier changes.